Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
usrnm
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
19 ms
·
361.
▲
by
usrnm
2y ago
The reason why "pain au chocolat" is not translatable is because the correct term is "chocolatine" ;)
362.
▲
by
usrnm
2y ago
New high-speed train? There is nothing like even France's old high-speed trains in the US
363.
▲
by
usrnm
2y ago
There is a lot of machinery that is designed to be operated by humans using their arms and legs, a lot of processes built around it. The appeal of humanoid robots is in the idea that all this stuff wouldn't need to change. Whether or
364.
▲
by
usrnm
2y ago
The whole point of making them humanoid is to make it possible to use them in the same environment as humans. It's the end goal so it needs to start somewhere
365.
▲
by
usrnm
2y ago
Docker was created in 2013, long after BSDs had lost all their popularity. And, fwiw, FreeBSD pioneered containers long before Linux: https://en.m.wikipedia.org/wiki/FreeBSD_jail
366.
▲
by
usrnm
2y ago
A lot of very critical infrastructure is still not even rewritten into C, rewriting it all in Rust or whatever is a pipe dream. And before you say that the financial system is not critical, I'd like to see you stop relying on it.
367.
▲
by
usrnm
2y ago
Where are you going to get all that content? If it's static, it will get filtered out very fast, if it's dynamic and autogenerated, it might cost even more than just letting the crawler through
368.
▲
by
usrnm
2y ago
Not all unicode whitespace characters take up exactly one byte when encoded in utf8. Not even talking about other possible encodings, just good old utf8. Let that sink in a bit, and you'll realize what a can of worms it is in a languag
369.
▲
by
usrnm
2y ago
And I've seen numerous explanations: someone wants more safety, someone wants less safety, someone wants locale-aware strings, someone wants ABI stability, and so on, it's an endless list. Few people are brave enough to admit that
370.
▲
by
usrnm
2y ago
Years ago every C++ project worth its salt had at least one implementation of of strings, vectors and other basic things. I hoped we finally were past that.
371.
▲
by
usrnm
2y ago
That's exactly the same reasoning we heard during Covid, injecting massive amounts of money into the economy was supposed to be perfectly safe and even a good thing. Definitely not supposed to lead to any inflation. Guess what happened
372.
▲
by
usrnm
2y ago
Relying on the US for military protection allowed many European countries to save billions of their own money for years. Undoing this going to be very, very expensive and there is no good understanding where all this money is supposed come
373.
▲
by
usrnm
2y ago
Are you actually trying to say that understanding cryptography is a prerequisite for intelligence?
374.
▲
by
usrnm
2y ago
All C compilers can do inline asm, is asm C too?
375.
▲
by
usrnm
2y ago
You don't need to compile on the same hardware, cross-compilation is a viable option
376.
▲
by
usrnm
2y ago
How large is the protected memory area? In my experience it's often not zero but some offset from zero that is accessed
377.
▲
by
usrnm
2y ago
C++. Only half-joking, this is exactly how C++ started
378.
▲
by
usrnm
2y ago
It was a D&D joke
379.
▲
by
usrnm
2y ago
I'd rather invest in intelligence and end up a greybeard wizard
380.
▲
by
usrnm
2y ago
https://en.m.wikipedia.org/wiki/CLOUD_Act It doesn't matter where the servers are located physically
381.
▲
by
usrnm
2y ago
That's sad. Having migrated from C++ to golang a few years ago, I find defer vastly inferior to C++ destructors. Rust did it right with its drop trait, I think it's a much better approach
382.
▲
by
usrnm
2y ago
It's actually working very well for the US, just not the US consumers
383.
▲
by
usrnm
2y ago
It's not like using Kelvin or Celsius helps you grasp these temperatures. -173C is very, very cold, but how cold? What can you compare it to? Not many humans have any experience with something of this scale
384.
▲
by
usrnm
2y ago
If history teaches us anything, it's the fact that we will come full circle, the browser will become the os at some point. People with money want it to happen and they have resources to make us think that we want it too. Might as well
385.
▲
by
usrnm
2y ago
You don't need "lots and lots" of tiny functions, most of the time it's totally fine to just let the exception propagate as is. When you do need to add information, you will have to use a function, yes, it's an unf
386.
▲
by
usrnm
2y ago
You can add arbitrary information by catching and rethrowing exceptions (which go panics, basically, are).
387.
▲
by
usrnm
2y ago
I don't think I've ever seen a large C codebase that wasn't using structs with methods. It isn't by any measure a secret or lost art.
388.
▲
by
usrnm
2y ago
To be really pedantic, there is no such concept in calculus, it's just a (second) derivative
389.
▲
by
usrnm
2y ago
Adding elements to a map allocates memory and moves stuff all the time under the hood, it's no different from append. If panicking on nil is weird for append, it's just as weird for maps
390.
▲
by
usrnm
2y ago
It means that zero value time.Time when converted to unix time gives you a negative number corresponding to a date two thousand years ago. With the way go insists on using zero values for expressing optionality this is a rather common mista
More ›