Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
GrumpySloth
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
61.
▲
by
GrumpySloth
3y ago
Except tomatoes are more than 4 times as expensive as potatoes. :D
62.
▲
by
GrumpySloth
3y ago
Pedantic note: compiler doesn’t elide bounds checks in code using iterators. They’re not there to begin with. Iterators in the standard library are implemented using unsafe code, which calls non-bounds-checking variants of functions getting
63.
▲
by
GrumpySloth
3y ago
There is also the compiler. A language may claim to be implemented without any unsafe code in the standard library, but all that happened is the unsafe code got hidden in the compiler, in how it generates code, in intrinsics etc.
64.
▲
by
GrumpySloth
3y ago
I’ve had rustc turn my branchless code consisting purely of bitwise operations into branching code. There was probably nothing rustc-specific about it. Just LLVM estimating that branches would be faster in that case.
65.
▲
by
GrumpySloth
3y ago
Industrial revolution was the key to Europe’s current prosperity. Without it, it was going in the direction of mass starvation, because old farming methods weren’t able to sustain the growing population. The increased population would have
66.
▲
by
GrumpySloth
3y ago
My bad. That’s not been an issue in my code, as I use arenas to manage memory and never put an owning container as key in a HashMap.
67.
▲
by
GrumpySloth
3y ago
You can. https://doc.rust-lang.org/std/collections/hash_map/enum.Entr...
68.
▲
by
GrumpySloth
3y ago
Maths is typically written fast, so subtle spacing is too weak a signal to distinguish meanings. Where I studied maths, we even crossed our zeds horizontally to make it easier to distinguish from carelessly written 2s. Similarly, even thoug
69.
▲
by
GrumpySloth
3y ago
In this case though the comment starts with a categorical negation of something that was said in a tongue-in-cheek way in the comment being replied to. It suggests a counterpoint is made. Yet it’s not.
70.
▲
by
GrumpySloth
3y ago
It’s not so arbitrary. I’ve grown up in a country which uses commas, but it’s still really confusing even to me, when writing e.g. f(1,2). Is that function applied to 2 arguments or 1? For this reason I always use period as decimal point.
71.
▲
by
GrumpySloth
3y ago
I think you two are agreeing.
72.
▲
by
GrumpySloth
3y ago
Pipelines are executed in parallel.
73.
▲
by
GrumpySloth
3y ago
The Schrödinger’s cat.
74.
▲
by
GrumpySloth
3y ago
Blaise Pascal, several centuries earlier.
75.
▲
by
GrumpySloth
3y ago
It doesn’t matter what someone in the past thought they were for. That’s what they are for in practice, names are irrelevant here, yes, they are quite bad. But the ones in stdint.h are just typedefs for those, so that’s what we are left wit
76.
▲
by
GrumpySloth
3y ago
No. It’s for tightly packing data in data structures. Bitwidth is exactly what’s important here.
77.
▲
by
GrumpySloth
3y ago
So you’re fine with software provided as opaque binaries without source code or only as SaaS? Because without copyright you’re going to get more of that and no licence is going to stop that.
78.
▲
by
GrumpySloth
3y ago
During installation the guide tells you to run a program, which generates an fstab based on current mounts. So by default it will configure /tmp the same way it’s configured in the live cd.
79.
▲
by
GrumpySloth
3y ago
> You and the author appear to be the same guy. We are not. We’re not even on the same continent.
80.
▲
by
GrumpySloth
3y ago
> What many free software advocates actually want is a world without copyright on software. Some of them sure. The subset of them who are GPL advocates are simply confused though. GPL is not possible in a world without copyright. In a
81.
▲
by
GrumpySloth
3y ago
> It is setting up a situation where users will not be free. No. It is setting up a situation where users can choose between a free option A and a proprietary option B based on A. Being sad about A being too liberal is suggesting it’s
82.
▲
by
GrumpySloth
3y ago
The poster I replied to complained about someone choosing MIT over GPL, not a proprietary licence over GPL. Noone is blocked from contributing for legal reasons. Quite the opposite.
83.
▲
by
GrumpySloth
3y ago
Yeah. I can get this angle. This is why we don’t have small independent companies making C and C++ compilers today. Only BigCorps which fund this development with money made from less honourable business.
84.
▲
by
GrumpySloth
3y ago
This and similar arguments in this thread work on the same logic that frames software piracy as theft. It’s the fallacy of treating software as a tangible thing that, when copied, is taken away from someone and altered irreversibly.
85.
▲
by
GrumpySloth
3y ago
MIT doesn’t give anyone the ability to restrict the freedom of others. When you fork a project and use a difference licence for it, the original project remains under MIT.
86.
▲
by
GrumpySloth
3y ago
That analogy would make sense only if cutting trees left the trees intact and didn’t annoy people in the park with noise etc. Alas, it’s nonsense.
87.
▲
by
GrumpySloth
3y ago
I can understand wanting to restrict use of something a person created using a restrictive licence. I can’t understand being sad about someone else not restricting what they created. To me it looks like someone being sad after seeing someon
88.
▲
by
GrumpySloth
3y ago
Yeah. It uses VP9.
89.
▲
by
GrumpySloth
3y ago
Yup. I’ve downloaded the Webm file and iOS doesn’t know what to do with it, which is odd, since Apple allegedly added support for Webm in iOS 15. I’m on iOS 17.
90.
▲
by
GrumpySloth
3y ago
I’ve used it, but it often failed to redirect my searches. It was hit-and-miss. xxSearch works better.
More ›