Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
brundolf
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
60 ms
·
871.
▲
by
brundolf
4y ago
I worked at a company where we did this for some endpoints and it worked great. Our client app had to request enormous time-series datasets and using CSV cut a significant percentage off of the payload size. I recommend it if you have simil
872.
▲
by
brundolf
4y ago
Yeah- its open extensions model was a neat idea, but in practice it made it slow, buggy, and complicated to configure (extensions would have dependencies on other extensions, etc). I really tried to stick with it, but as soon as I tried VSC
873.
▲
by
brundolf
4y ago
Rust is the only mainstream language I know of that's memory-safe without the overhead of GC or reference-counting. Doing that is really hard, and compromises the dev experience, so I'm not sure I'd call it "the macro tr
874.
▲
by
brundolf
4y ago
> We're talking about compiler, right? Yes, and Zig's compiler is now written in Zig Zig operates at a low level where it cares about things like manual memory-management. Compiling it to target the JVM instead of webassembly (
875.
▲
by
brundolf
4y ago
From my understanding, the JVM is much more opinionated than webassembly (it has built-in GC, and I've heard it even has a notion of classes and related concepts at the bytecode level). Particularly for a low-level C-like language like
876.
▲
by
brundolf
4y ago
TypeScript has unchecked exceptions too, but null-safety is my #1 motivator for using TypeScript over JavaScript You're speaking from a place of general philosophy, but in practice (at least in my experience), the great majority of unc
877.
▲
by
brundolf
4y ago
Does it simplify the build/ship process compared with React Native? The latter has a good coding experience (and real native UIs), but the housekeeping is a lot to keep up with. But at least some of that is intrinsic to the mobile plat
878.
▲
by
brundolf
4y ago
I've had some bubbling thoughts about no-code that I think just congealed: No-code is subject to simplicity vs easiness just like code is ( https://www.infoq.com/presentations/Simple-Made-Easy/ ). No-code tools
879.
▲
by
brundolf
4y ago
CPUs are the "chips" the average person is aware of, so it makes sense as a headline for a mainstream article
880.
▲
by
brundolf
4y ago
I assumed separate checksums are made from the file name and the contents. Though even if not, it would seem useful for eg. syncing between devices ("does file X already exist so we don't need to download it?")
881.
▲
by
brundolf
4y ago
Activists could always salt their own files by adding some junk content to the end (or cropping images by one pixel, cropping video clips by a fraction of a second, etc)
882.
▲
by
brundolf
4y ago
I'm assuming these are normal checksums (bitwise hashes), whereas before they were doing a hand-wavy AI-based thing that they called "checksums" but weren't really. The latter captured rough visual qualities of the image
883.
▲
by
brundolf
4y ago
Hahah. You didn't forget and leave it in "opposite day" mode or something, did you?
884.
▲
by
brundolf
4y ago
Yes, I have in mind people that I know quite well (several of whom I've worked with) The biggest predictor I've seen for political tolerance is exposure (or lack of) to those they disagree with (in non-political contexts). It'
885.
▲
by
brundolf
4y ago
Seeing a lot of self-congratulatory nodding here I'll just say, this doesn't necessarily line up with my experience. The extremely intelligent people I know are every bit as likely to be politically intolerant as the less-intellig
886.
▲
by
brundolf
4y ago
I think it's more that it's a game of whack-a-mole. There are an infinite number of possible scenarios you could warn about, and each one carries a small cost to implement, a small cost to maintain, and a risk of false-positives.
887.
▲
by
brundolf
4y ago
Is there a tl;dr anywhere of what this is? Is it just another for-fun tech demo of putting an OS-like GUI in a web browser?
888.
▲
by
brundolf
4y ago
> The only explanation I can think of is the sheer number of models in a pokemon game may be much higher than those games, but I am not sure. I don't really think that would play into the technical issues. The models themselves look
889.
▲
by
brundolf
4y ago
I just feel like they're digging the antitrust hole deeper and deeper. How do they see this ending?
890.
▲
by
brundolf
4y ago
Mostly new code. They've rewritten some core, high-importance pieces. But any mature OS is a massive codebase, so it just wouldn't be feasible to systematically rewrite the entire thing indiscriminately
891.
▲
Memory Safe Languages in Android 13
(security.googleblog.com)
618 points
by
brundolf
4y ago
|
594 comments
892.
▲
by
brundolf
4y ago
And on top of that- more and more web content (especially dubious content) is going to start being generated by these kinds of models, which will bring down the quality of Google results too Maybe Google starts filtering down more aggress
893.
▲
by
brundolf
4y ago
Some people work on making the metaverse more addicting, others work on improving instagram's accessibility, others work on abstracted computer science problems that only happen to be under the umbrella of the same corporation that mak
894.
▲
by
brundolf
4y ago
Length not being modified during iteration sure, but not the exact length. It's not possible in the general case to determine the exact length of a Vec at compile time, whereas Rust arrays can never change length so their exact lengt
895.
▲
by
brundolf
4y ago
You could preserve that information and still have the same native struct, since it only becomes relevant when iterating the keys
896.
▲
by
brundolf
4y ago
Yeah, I wondered about those too. Less straightforward than pure iterator usage but still plausible
897.
▲
by
brundolf
4y ago
One thing that I assume reduces this problem even further is the prevalent use of iterators in Rust. I almost never index an array or vector directly, which means it's impossible for me to use an out of bounds index, and I'd be
898.
▲
by
brundolf
4y ago
Very glad I only need to print something about once a year these days. Everything about the industry feels like a race to the bottom
899.
▲
by
brundolf
4y ago
I'm very surprised the property ordering would matter. Seems like the JS engine itself could easily fix that, no? Silently re-order the properties to fit its own optimization Do you have a source for the above info? (both because I
900.
▲
by
brundolf
4y ago
And I wouldn't fault a senior engineer's competency for not being familiar with JS profiling. Like I said, you could easily have a decade's worth of front-end jobs without it ever becoming relevant.
More ›