Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
o11c
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
23 ms
·
421.
▲
by
o11c
1y ago
If there's one thing we should know from the computer world, it is that doing something frequently makes it easier to automate.
422.
▲
by
o11c
1y ago
Salt is only bad for you if you don't drink water.
423.
▲
by
o11c
1y ago
I mean things like: beyond city scale, you can't assume all the technology has been tested together, you can't assume you actually know where other trains are, etc.
424.
▲
by
o11c
1y ago
Important note: this applies to city trains, which operate in a much more predictable environment than trains that cross large areas of the country.
425.
▲
by
o11c
1y ago
Quite a bit of "Silicon Valley" was founded on outright theft from competitors. Now that the American industry is entrenched and "protect intellectual property" dominates over "improvement", falling behind othe
426.
▲
by
o11c
1y ago
I remember when the biggest gripe I had with Google was that when I searched for Java documentation (by class name), it defaulted to showing me the version for 1.4 instead of 6.
427.
▲
by
o11c
1y ago
Other things that matter (some overlap): * Is the file userland-compressed, filesystem-or-device-compressed, or uncompressed? * What are you going to do about secret keys? * Is the file immutable, replace-only (most files), append-only (not
428.
▲
by
o11c
1y ago
Same, but I had to look. I wonder how badly this affects muscle memory?
429.
▲
by
o11c
1y ago
I wouldn't call that "buffered", since `write` is guaranteed to appear immediately from the view of other processes that can see the same mount. It's only the disk that needs to be informed to really pick up (could we
430.
▲
by
o11c
1y ago
"Buffer" just means it is used between input and output. It does not imply mutability, and many buffers indeed only take their state at construction time and are not mutable. In my experience, the only functions a mutable string
431.
▲
by
o11c
1y ago
That one must be defended, since it was abuse of real people happening at scale and with full knowledge thereof, and PornHub's status-quo response was at best "do nothing and hope it goes away". Mind, the Justice Departme
432.
▲
by
o11c
1y ago
Yup. It's a lot saner in C++, but people who refuse to use C++ for political reasons can do it the ugly way using C11 or GNU C.
433.
▲
by
o11c
1y ago
Hm, this implementation seems allergic to passing types by value, which eliminates half of the allocations. It also makes the mistake of being mutable-first, and provides some fundamentally-inefficient operations. The main mistake that this
434.
▲
by
o11c
1y ago
That's a whole lot of twisting to avoid admitting "it usually doesn't work, and even when it does work, it's usually not cost-effective even at the heavily-subsidized prices." Or maybe it's more about refusing
435.
▲
by
o11c
1y ago
Trees really aren't a good example of convergent evolution. The evidence tends more toward "all plants have woodiness genes, and sometimes those genes can be activated/deactivated". Fruits are, though.
436.
▲
by
o11c
1y ago
Hm, I am assuming that paid compilers were largely gone before the whole "must have this dongle attached to computer" industry? Because for software that uses those, "I paid for it" absolutely does not guarantee "I
437.
▲
by
o11c
1y ago
My point is: the chemical-attack portion of perfumes can far exceed the scent component. So even a modest application that most people can't even smell still counts as a targeted assault against some of us. If I have my inhaler at
438.
▲
by
o11c
1y ago
It's never about the smell. There are many unpleasant scents out there that do not count as a chemical attack. And when specific flowers count as a chemical attack, their scent is still pleasant (and proportional). I'm aware of pe
439.
▲
by
o11c
1y ago
Cyanide is probably a better example.
440.
▲
by
o11c
1y ago
"Reverse the problem" is severely overstated. Admittedly it can be useful for people with potentially-fatal allergies, but otherwise it's often the equivalent of building scar tissue.
441.
▲
by
o11c
1y ago
For me at least, most of the other debilitating chemicals appear in predictable and semi-avoidable contexts. Traffic chemicals appear strongest on busy motorways with stagnant air, where people outside of cars don't spend much time. Fl
442.
▲
by
o11c
1y ago
It really wasn't. Itanium was a gamble that hard-coding static parallelism into the ISA would beat dynamic OoO. And just like architectural delay slots, it inevitably failed - using a few more transistors isn't that expensive si
443.
▲
by
o11c
1y ago
> I still don't know why apps think a device I carry in the streets is safer [...] Because MFA requirements have never been about security, only security theater. It's the modern version of the "you must change your pass
444.
▲
by
o11c
1y ago
Wide characters are best avoided even on platforms where it doesn't mean UTF-16. It's better to stay in UTF-8 mode, and only verify that it's well-formed.
445.
▲
by
o11c
1y ago
Have you considered making your lexer operate in push mode instead? This does mean you have to worry about partial tokens ... but if you limit yourself to feeding full lines that mostly goes away. Besides, for reasonable-size workloads, &qu
446.
▲
by
o11c
1y ago
Unfortunately, operating a byte at a time means there's a hard limit on performance. A truly performant lexer needs to jump ahead as far as possible. This likely involves SIMD (or SWAR) since unfortunately the C library fails to provid
447.
▲
by
o11c
1y ago
Windowing systems these days tend to spam the GPU in the name of performance, unfortunately.
448.
▲
by
o11c
1y ago
> For a while developers could stop that with autocomplete="off" and then Chromium deliberately put in code to ignore it. To be fair, websites with a horrible misunderstanding of security kept on using that for "this passw
449.
▲
by
o11c
1y ago
`_t` should not be used for custom types since it's reserved for future standard types (and/or types declared in a header you might include someday). This does cause real-world problems (`key_t` anyone?). Gratuitous allocations
450.
▲
by
o11c
1y ago
Title misses important context: "for sound"
More ›