Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
fl0ki
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
17 ms
·
151.
▲
by
fl0ki
2y ago
I agree with all of this, but even this is overlooking a simpler point: the software probably wasn't perfect in the first place. Even a few-line algorithm, isolated from any APIs or IO, can have subtle bugs. Remember the headlines when
152.
▲
by
fl0ki
2y ago
If every test assumes the same invariant, then no test ever covers cases where the invariant doesn't hold. I've seen mature teams get this wrong even for basic things. For example, they had a factor option, but all of their tests
153.
▲
by
fl0ki
2y ago
I love a good rant, it's like watching a well-choreographed fight scene where you get multiple short cycles of tense setup and visceral payoff, building to a final climax that resolves the specific fight decisively whether or not it ma
154.
▲
by
fl0ki
2y ago
This was a really weird complaint. I'm actually curious what language the author considered superior in this regard. Almost every language has agreed that string slicing is important enough that it's worth the slight impedance mis
155.
▲
by
fl0ki
2y ago
If I can suggest, the next big breakthrough in this space would be generalizing niche filling optimization. Every thread about this seems to fizzle out, to the point that I couldn't even find which one is the latest any more. Today mos
156.
▲
by
fl0ki
2y ago
The ML media cycle is so unhinged that I've seen people simply assume out of hand that MLIR stands for Machine Learning Intermediate Representation.
157.
▲
by
fl0ki
2y ago
> Also, why aren't we size-sorting fields already? We are for struct/enum fields. https://camlorn.net/posts/April%202017/rust-struct-field-reo... There's even an unstable flag to help catch incor
158.
▲
by
fl0ki
2y ago
It's only fair to point out that Swift's approach has runtime costs. It would be good to have more supported options for this tradeoff in Rust, including but not limited to https://github.com/rust-lang/rfcs&#x
159.
▲
by
fl0ki
2y ago
I've been doing this for years in projects internal to my employers. It's nice to see it catching on, because it'll be easier to explain to people if I can point to a blog post saying the same thing. Other tips worth trying:
160.
▲
by
fl0ki
2y ago
> So the fastest you’ll see with your Intel Mac’s Thunderbolt ports is up to 3 GB/s, while a suitable USB4 enclosure running from any Apple silicon Mac should comfortably exceed that if it really does support USB 40Gbps. One of the
161.
▲
by
fl0ki
3y ago
I like this, but it makes me sad: there would be no point to this if RSS was still widely supported by both the publications and clients. You could subscribe to the ones you want and read them with the local formatting you want. That was th
162.
▲
by
fl0ki
3y ago
If the flickering is intentional it should come with a warning. If it's not intentional it should perhaps have been tested before being widely announced.
163.
▲
by
fl0ki
3y ago
My problem is that if you're an actual C superset, you're carrying a lot of baggage that will permanently compromise the best case of what you can ever become. These days, with C standards back on a regular cadence, the thing you
164.
▲
by
fl0ki
3y ago
I'll just put this over here with the rest of the C supersets.
165.
▲
by
fl0ki
3y ago
I'll take this bait in good faith: What about glibc is so bad that you'd rather use the slower, buggier, less compatible, less throughly reviewed musl in production? If I had to pick something, it'd be that glibc is behind mu
166.
▲
by
fl0ki
3y ago
It looks manageable to most of us because we don't know who was targeted and what would have happened if they weren't. We don't even know what whistleblowers were caught before they could publish their information, and we don
167.
▲
by
fl0ki
3y ago
A lot of people who don't like musl just prefer not to have the slowest memory allocator on the planet, especially when multiple threads are involved which they usually are in modern code. I've watched release-optimized builds wit
168.
▲
by
fl0ki
3y ago
If we can credit physicists like Albert Einstein for being the ones to discover fundamental facts about the universe that someone was going to discover sooner or later anyway, we can credit business founders for creating businesses a certai
169.
▲
by
fl0ki
3y ago
And just like that, the server forfeited his tip.
170.
▲
by
fl0ki
3y ago
The fact that there were 40M people in that ecosystem and only one Steve Jobs is exactly the point. Yes it took an environment like that to make it possible, but it also took a certain person to make it actually happen. (A deeply flawed per
171.
▲
by
fl0ki
3y ago
I was replying to a comment about epilepsy, not rice. Not everyone who eats carbs will suffer epilepsy just like not everyone who smokes will get lung cancer. A medication mitigating that effect doesn't invalidate concerns around the t
172.
▲
by
fl0ki
3y ago
This doesn't point in the direction you are suggesting. Imagine we had a pill that prevented lung cancer risk from smoking cigarettes. Would we say that preferring fresh air over cigarette smoke is "a fad, promoted as a cure-all f
173.
▲
by
fl0ki
3y ago
Not to mention that Hong Kong tops the list of both meat consumption and life expectancy, despite similar demographics, genetics, urbanization, and economic development to modern mainland China. https://www.ncbi.nlm.nih.gov/
174.
▲
by
fl0ki
3y ago
I would really appreciate if people would stop referencing this book as evidence for anything. If it was written as a literature review paper and subjected to peer review, it would have been torn to shreds, not published and endorsed by a s
175.
▲
by
fl0ki
3y ago
Only if it's backed by security-reviewed and fuzzed asm. Go's gzip implementation is slow enough that klauspost is worth importing, following that pattern, I would probably still use klauspost's zstd even if Go had a slow ref
176.
▲
by
fl0ki
3y ago
I stan zstd hard. Hopefully now that browsers support it, HTTP middleware libraries will finally support it too. I already use it everywhere else.
177.
▲
by
fl0ki
3y ago
You just reinvented the "it's open source but we charge for support" model which has been so well known for so long that it was a line in the movie Antitrust (2001).
178.
▲
by
fl0ki
3y ago
I was excited for this because the premise made a lot of sense, but I think the examples demonstrate why we don't already do this in the ways listed. (Stick around because I'll list examples where we already do this in far more us
179.
▲
by
fl0ki
3y ago
Slack's Mac app release notes [1] rotate a few copy pastes, here's the one that shits me the most. > We tuned up the engine and gave the interiors a thorough clean. Everything is now running smoothly again. Yeah nah mate, if ev
180.
▲
by
fl0ki
3y ago
I inherited a troubled project using MongoDB and learned a lot about what is, and isn't, really a problem with MongoDB [for this kind of project]. BSON is a terrible format, but I genuinely like that I can use the same schema all the w
More ›