Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
o11c
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
241.
▲
by
o11c
1y ago
Counterpoint: usually there is no spec, and you have to look at the actual tool to figure out what's going on. For closed-source binaries there's a clear escalation between "run the tool and see what it seems to do" an
242.
▲
by
o11c
1y ago
People have also veered strongly toward anti-intellectualism in recent decades. Coincidence?
243.
▲
by
o11c
1y ago
At that price scale, paying an extra $10k to a local will make you immediately discover that there was not in fact a labor shortage at all.
244.
▲
by
o11c
1y ago
$100K/year fee sounds extremely reasonable if there is in fact a shortage of skilled workers. It sounds terrible if the sole purpose of H-1B is to pay less than the labor is worth. Of course, this assumes that it actually has to be pai
245.
▲
by
o11c
1y ago
Zig's pointless choice to avoid global constructors - something all platforms have supported for several decades by now - makes I/O extremely unwieldy. That alone prevents it from being a viable mainstream language. There is a lot
246.
▲
by
o11c
1y ago
I find rseq annoying because it is pointlessly designed to require every caller to write custom assembly code, for every target. For very many use-cases, cpu-local variables (using the GS segment for x86) would suffice, which can then be
247.
▲
by
o11c
1y ago
Javascript is also hindered by the fact that you have to "pay" for every library you download. This encourages a culture of reinventing the wheel, because "I don't need all that," preventing de-factor stdlib supplem
248.
▲
by
o11c
1y ago
I can already hear the systemd-haters complaining about The One True Unix Way™ is to have tools that only do one thing even if that leaves holes in their functionality. That seems like a `machinectl` task though.
249.
▲
by
o11c
1y ago
A moderate fraction of the work is already done using: https://gcc.gnu.org/onlinedocs/gcc/Named-Address-Spaces.html Unfortunately the obvious `__attribute__((mode(...)))` errors out if anything but the standard po
250.
▲
by
o11c
1y ago
The problem is that there are a lot of APIs (even system and system-ish ones) that don't want to specify the order of their fields (or outright differ between platforms). Or that can't use a meaningful order due to ABI compati
251.
▲
by
o11c
1y ago
Well, the article does mention that Part IV adds erosion. Note also that this particular source is a rare example of working based on a mesh rather than a grid (which complicates the logic - in particular, when do you split/merge nodes
252.
▲
by
o11c
1y ago
It also completely negates their utility, even though the exact "problem" they always bring up is already solved when you use normal constructors.
253.
▲
by
o11c
1y ago
I think it's fine when the language has sufficiently strict types for string concatenation. Unfortunately, many languages allow `string + int`, which is quite problematic. Java is to blame for some of this. And C++ is even worse since
254.
▲
by
o11c
1y ago
Danger: passwords on the command-line are a big no-no! That should probably be removed from examples, possibly adding a way to do it using environment or files. *** It's amazing how much work people will go through to avoid using syste
255.
▲
by
o11c
1y ago
One hopeful observation is that I actually have seen coverage of the genocide in a local newspaper this time. N=1 of course (and I'm not sure what other local newspapers have been like), but that's more than before.
256.
▲
by
o11c
1y ago
Ignoring the obvious, you mean?
257.
▲
by
o11c
1y ago
Much the same on Linux with Wayland. I haven't touched Windows for over a decade, does it still have a decent story for disabilities? They've certainly regressed in other areas ...
258.
▲
by
o11c
1y ago
You can use content-defined chunking to wrap at a predictable place so that compression still works.
259.
▲
by
o11c
1y ago
If you're willing to use one measly little macro - solely to smuggle the format string in a constexpr manner - instead of insisting on using templates everywhere, you can use a printf wrapper with essentially 0 compile-time overhead. A
260.
▲
by
o11c
1y ago
Let's do the math. If each Wayland implementation supports an independent 95% of what users need, then: * With 0 implementations, Wayland is good for 100.0% of users * With 1 implementations, Wayland is good for 95.0% of users * With 2
261.
▲
by
o11c
1y ago
And MUSL's explicit policy of "do not implement essential features, just because the standards are falling behind" is a major reason why many programs choose to never support building against MUSL.
262.
▲
by
o11c
1y ago
This appears to avoid one of the classic bugs with parser combinators (expensive backtracking and/or memory-use), but appears not to fix one of the other catastrophes. To be explicit: one of the "features" this advertises i
263.
▲
by
o11c
1y ago
On Linux you can do what you're asking with `getaddrinfo_a` + `gai_suspend`. As always, on non-Linux Unixen the answer is "screw you!"
264.
▲
by
o11c
1y ago
My point is that a lot of hysterical-raisin interactive sessions really don't need to be.
265.
▲
by
o11c
1y ago
The continuity benefit is much less than it used to be, now that we have systemd with `enable-linger` so we can make proper daemons.
266.
▲
by
o11c
1y ago
There's no distortion for the purposes of randomness (there would be if you cared about distance between specific points before/after the transformation), but the blog article fails to actually explain the method. Clicking through
267.
▲
by
o11c
1y ago
This appears to be low-quality blogspam. It fails to even explain the main method (delegating to a handwaved "generate in a parallelogram").
268.
▲
by
o11c
1y ago
Note that "fixes bad distributions" is the same thing as "causes bad distributions" if your input is untrusted (or even if you're just unlucky). Especially when you are deliberately choosing a bijective function and
269.
▲
by
o11c
1y ago
All sorts of things in X11 are "defined" as a particular thing in the base standard, then changed in protocol extensions. You really shouldn't be writing raw pixels anyway (and most people don't since breaks if your mo
270.
▲
by
o11c
1y ago
I don't care about any of those things, since computers are about productivity for me. But I'm pretty sure at least half of them actually do work under X11, it's just that some UI libraries refuse to use it on the grounds
More ›