Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mpyne
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
16 ms
·
241.
▲
by
mpyne
1y ago
Bananas emit detectable radiation, so you should probably choose different thresholds of what causes you to consider something dangerous. They will still try to decontaminate you of any radioactive materials they can scrub off as a matter o
242.
▲
by
mpyne
1y ago
> But no blueprints; we just started on an idea we had and worked until it was good enough to ship. Yes, exactly. A lot of UNIX and other very good software for computers back then came about this way too. No or minimal blueprints and a
243.
▲
by
mpyne
1y ago
> My take is that 70/80's built programs from a set of blueprints of what was required. Where each programmer had a set of requirements, knew what were required, when it is needed to be completed by and the tools available to e
244.
▲
by
mpyne
1y ago
sudo mknod /dev/null c 1 3 && sudo chmod 666 /dev/null might do it on many systems
245.
▲
by
mpyne
1y ago
One of the first state machine you'll ever learn about in undergrad permits transitions from a state back to itself, so I don't see this as a barrier.
246.
▲
by
mpyne
1y ago
Not that strange, as GCC was an effort to a goal of developing an ecosystem of Free (as in speech) software. While FSF had sometimes made allowances for supporting non-Free software (whether non-copyleft open source or proprietary), these w
247.
▲
by
mpyne
1y ago
I've been using ranges fairly often but it's only for stuff like this: auto it = std::ranges::find(ctx.users, req_user_id, &User::user_id); If ctx.users is a vector<Users>, it will return an iterator pointing to
248.
▲
by
mpyne
1y ago
Perhaps more importantly to a non-U.S. nations is that there are a lot of military networks that touch the public Internet whose security from outside attack is more or less premised on F5's implementation of mutual TLS to CACs. Findin
249.
▲
by
mpyne
1y ago
And this is indeed something that the C++ Glaze library supports, to allow for parsing into a string_view pointing into the original input buffer.
250.
▲
by
mpyne
1y ago
And either way, voters around the world have made it extremely clear that price inflation annoys them more than high unemployment. So if Powell's options are to cause unemployment or allow continued inflation, I can see why he'd p
251.
▲
by
mpyne
1y ago
Aside from the others already mentioned, it's very useful in infrastructure-as-code context like Kubernetes. I also used diff at work today to compare the output of two different 'docker history' outputs to look for what a hi
252.
▲
by
mpyne
1y ago
I'm pretty sure that's how I'm already using Caddy, and I didn't compile anything separate. Maybe it's packaged automatically as part of the Caddy Docker image?
253.
▲
by
mpyne
1y ago
It's also really useful for doing parallel builds of modules that may actually consume all available memory when you can't force the build system to use fewer cores than you have available. Both in terms of artificially reducing t
254.
▲
by
mpyne
1y ago
And if you are using a newer Perl they sometimes add features that aren't enabled by default unless you opt-in with a 'use v5.38' style declaration. If you want those features on in your one-liner you can use -E instead of -e
255.
▲
by
mpyne
1y ago
> tech wages have stagnated since ~2010 despite being one of approximately three productive growth industries. ever wonder why? Not really, it's well explained by people realizing that wages are relatively high in tech relative to t
256.
▲
by
mpyne
1y ago
Well it's because by this logic we should just stop Americans from studying for computing jobs as well, that way those who remain will have higher wages. Just as the Luddites tried to stop the rise of industrialization that threatened
257.
▲
by
mpyne
1y ago
Manchuria was across the Sea of Japan from the Japanese home islands. The Soviet invasion of Manchuria did nothing substantive to directly threaten Japan. Japanese strategists wanted to be in Manchuria and Korea because of their proximity
258.
▲
by
mpyne
1y ago
Of course, but that's the value-add of Docker Desktop. But you don't have to tie yourself to it, or even if you do use it for a bit to get going faster, you have a migration path open to doing it yourself should you need it.
259.
▲
by
mpyne
1y ago
Yeah, it comes down to modeling assumptions on how many different types of exceptions can be thrown, how many actually are thrown, and the shape of the control flow graph of a program at runtime. You can find one style outperforms the other
260.
▲
by
mpyne
1y ago
A specific presentation I'd point to is Khalil Estell's presentation on reducing exception code size on embedded platforms at https://www.youtube.com/watch?v=bY2FlayomlE But honestly you'd get vast majority o
261.
▲
by
mpyne
1y ago
There's a time-space tradeoff to basically any means of error checking. Including checking return codes instead of exceptions. It's even possible for exceptions as implemented by g++ in the Itanium ABI to be cheaper than the code
262.
▲
by
mpyne
1y ago
And in eBay's specific case they may have opted against due to the performance challenges URL rewriting may have involved.
263.
▲
by
mpyne
1y ago
Yeah, you load the hydraulic system with water instead of hydraulic oil and bad things happen.
264.
▲
by
mpyne
1y ago
The U.S. military actually uses precisely that system for officer promotions. And in practice most of the U.S. military branches do essentially the same thing for their enlisted force too, deliberately allowing high attrition for the sake o
265.
▲
by
mpyne
1y ago
I agree that industrial policy is essential for a nation that wants to ensure that competitive industries exist within the nation's economy. But the justification I replied to was that the nation must inherently suffer material ineffic
266.
▲
by
mpyne
1y ago
The original link for this HN discussion goes to the Romanian page, so that's probably why. This link may work better for you: https://frame.work/laptop16
267.
▲
by
mpyne
1y ago
Why? The efficiency gains are a matter of size of the average company, not a matter of the total number of companies. If what you said were true, it would be cheaper for there to be only one flavor of soda (as Bernie Sanders might have put
268.
▲
by
mpyne
1y ago
So are many esoteric languages, but I doubt people would appreciate me comparing XSLT to Brainfuck or FORTRAN 66.
269.
▲
by
mpyne
1y ago
Same reason why would you build a form in VB or Xcode rather than coding it all out. Even if you need the actual instantiated schema to pass to SQLite in your source code, that's easy to obtain after-the-fact if this app doesn't o
270.
▲
by
mpyne
1y ago
> I don't foresee any equivalent native framework for styling JSON ever coming into being though. Well yeah I hope not! That's what a programming language is for, to turn data into documents.
More ›