Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
adwn
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
51 ms
·
601.
▲
by
adwn
5y ago
> but it still can't leave the "lab" What makes you think this is the case? That's not my impression at all (for reference, I develop software in Rust professionally).
602.
▲
by
adwn
5y ago
Well, have you observed that behavior first-hand? Did someone you know and trust observe it first-hand and tell you about it? Etc. We don't ask you to "prove" anything, but some more information instead of vague hints would b
603.
▲
by
adwn
5y ago
They asked for any evidence beyond "it's like this, trust me" and you answered with "really, it's like this, trust me" . Do you realize that if someone isn't convinced after the first "trust me&quo
604.
▲
by
adwn
5y ago
"Chesterton's fence" doesn't mean that you should never change or abandon an existing tradition. It means that you shouldn't do that until you understand why the "fence" was put up in the first place.
605.
▲
by
adwn
5y ago
Why would you use GNU parallel if you have to implement your own non-trivial pre- or post-processing logic anyway? Just spawn the worker processes yourself. GNU parallel is great if you have, e.g., a bunch of files, each of which needs to b
606.
▲
by
adwn
5y ago
... and it uses a manually implemented post-processing step. You can't just run the sort program with GNU parallel and expect to get a fully sorted list.
607.
▲
by
adwn
5y ago
> I'm talking about the processes that can be split up in that way No, you weren't. You said: "[...] GNU parallel [...] works for any non-parallel process " (emphasis mine) > Those problems are so common that s
608.
▲
by
adwn
5y ago
> that works for any non-parallel process No, it doesn't. Only for those processes, where you can trivially split the input and concatenate the outputs. Try using GNU parallel to sort a list of numbers, or to compute their prefix
609.
▲
by
adwn
5y ago
> GNU parallel is the way to go for dividing work up amongst CPU cores. Why reinvent the wheel? Because most problems are not the embarrassingly parallel kind suitable for use with GNU parallel. For example, any problems that require s
610.
▲
by
adwn
5y ago
So, like this? codecs.decode(b'616263', 'hex') If that's correct, what's so hard/bad about this?
611.
▲
by
adwn
5y ago
> Was he the one who kickstarted X Prize or SpaceshipOne 20 years ago? SpaceshipOne's design was a stroke of genius for the purpose of winning a narrowly defined contest. It is, however, a deadend when it comes to the pursuit of s
612.
▲
by
adwn
5y ago
> You can tell people they're wrong if you want. Let me know how that goes for you. Yes, let's instead all nod and smile to people's inconsiderate knee-jerk reactions. Let me know how that goes for you.
613.
▲
by
adwn
5y ago
> I find the Pioneer Plaque cool and thought provoking. Launching a roadster into space? Not so much. Maybe the inscription on one of its PCBs will stimulate your unprovoked thoughts: https://i.redd.it/7agxu1qjdz071.jpg
614.
▲
by
adwn
5y ago
> We literally he have proof written in stone. No, we don't. Only a tiny fraction of ancient Rome's buildings are still standing ("standing" is relative, most of those are ruins). And they didn't overbuild them
615.
▲
by
adwn
5y ago
> Today Do you think that the common people of Rome, when given the choice between a house that'll last for 50 years, and a house that'll last for 2000 years but costs a multiple, would have chosen the latter? How many houses
616.
▲
by
adwn
5y ago
> C's complexity is hidden - if it weren't hidden, C would be less complex. If it weren't hidden, it would be a different language. Would that language be less complex? That depends on what that language would look like.
617.
▲
by
adwn
5y ago
> it provides a rather thin abstraction layer over machine language. No, it doesn't, and it hasn't for quite some time – not since C compilers started exploiting undefined behavior for optimization opportunities. It used to b
618.
▲
by
adwn
5y ago
Would you like to address the arguments in my post instead of going "Na-ah, you're wrong, I'm right"?
619.
▲
by
adwn
5y ago
> Rust in core Linux would probably be a horrible idea, given all the complexities of the language. C is a very complex language as well. It's just that when you're not aware of all the complexities in Rust, the compiler will
620.
▲
by
adwn
5y ago
> exponentially easier Exponential in regards to which variable? Money? Time? Effort? Or did you simply mean "vastly"? This may be nitpicky, but we should expect people to get basic terminology right – at least on HN.
621.
▲
by
adwn
5y ago
But it's a much more compact than that glibc monstrosity is. Sure, the glibc version will win in a micro-benchmark, but micro-benchmarks don't capture the effect on the instruction cache.
622.
▲
by
adwn
5y ago
An optimizing compiler will turn div-by-constant and mod-by-constant into multiplications and bitshifts. For example, the Rust compiler: https://play.rust-lang.org/?version=stable&mode=release&edit... (select "
623.
▲
by
adwn
5y ago
It doesn't really. Take the Rwandan genocide, they used machetes and guns. Or lynch mobs: All you need is some rope, and maybe pitch forks.
624.
▲
by
adwn
5y ago
Humanity has repeatedly proven that it is capable of extreme, systematic cruelty without high-tech gadgets (take the Holocaust or the Rwandan genocide, for example). Why do you think that autonomous drones would make this worse? "Now
625.
▲
by
adwn
5y ago
Because those orders have to be paid for. When the bill is due, what good is a warehouse full of finished products nobody's buying?
626.
▲
by
adwn
5y ago
Communist Russia is a terrible example if you want to argue against capitalism/private companies/"bosses". Everyone there was equally poor (except for a tiny elite, which was slightly less poor), and the system worked so
627.
▲
by
adwn
5y ago
Compiling several tools into a single binary doesn't violate that guideline: each tool still does one thing. Being single-binary is an implementation detail.
628.
▲
by
adwn
5y ago
For most people, the time/money tradeoff isn't very flexible. Only few have the choice of working fewer hours for less money, while even fewer have the choice of working more hours for more money.
629.
▲
by
adwn
5y ago
Fabric = data transmission infrastructure between CPUs or cores. This includes the wires which carry the data signals, as well as routing logic.
630.
▲
by
adwn
5y ago
> in 102022 Is this refering to the holocene calendar? [1] If yes, then I think you meant "12022" – unless you're really pessimistic about the timeline... [1] https://en.wikipedia.org/wiki/Holocene_cal
More ›