Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
GrumpySloth
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
151.
▲
by
GrumpySloth
3y ago
> disabling the writing of 'last accessed' timestamps atime is the most useless filesystem feature I’ve heard of. But on most Unix-like systems it’s enabled by default and the main thing it does is turn reads into writes, deg
152.
▲
by
GrumpySloth
3y ago
Both are important. I replied to a comment about commutativity, so I focused on that.
153.
▲
by
GrumpySloth
3y ago
Linux doesn’t have an official libc. Raw syscalls are its only official API.
154.
▲
by
GrumpySloth
3y ago
> Add in the adult segment of Generation Z That would be about half of them. Baby Boomers + Gen X = 134 million Millenials + half of Gen Z = 107 million Young people are outnumbered, and it’s going to get worse. Numbers from < https
155.
▲
by
GrumpySloth
3y ago
It was about code in third-party apps, not in Windows code.
156.
▲
by
GrumpySloth
3y ago
> glibc has very good backward compatibility, with careful symbol versioning and whatnot. Not in my experience. Working through exercises in Practical Binary Analysis, the first problem I needed to solve was running programs compiled a
157.
▲
by
GrumpySloth
3y ago
Popper is more methodology of science, while Kuhn is more protosociology of science. Kuhn’s book doesn’t refute Popper’s, even if he would have liked it to. I don’t know about the two others, but after reading about them briefly they seem a
158.
▲
by
GrumpySloth
3y ago
AwesomeWM as well. It allows you to write your own tiling algorithms in Lua.
159.
▲
by
GrumpySloth
3y ago
I agree with Rich Hickey here and I think this is a flaw of sum types compared to union types. If Option<T> was a union type, T would be a subtype of Option<T> and those changes wouldn't be breaking. When writing Rust, I fi
160.
▲
by
GrumpySloth
3y ago
Yeah. I have no idea what those images have to do with the surrounding text. Even ignoring the context, they don’t demonstrate what the font actually looks like all that well. That and, as others mentioned, it being published on medium.com
161.
▲
by
GrumpySloth
3y ago
Marxism has many religion-like qualities. It's been written about in: Raymond Aron, The Opium of the Intellectuals Czesław Miłosz, The Captive Mind
162.
▲
by
GrumpySloth
3y ago
I read it. I don't see your point. Sentinel values simply give you a very low performance ceiling that you can't optimise past. What I wrote only took me a couple minutes. It's far from optimal (but it already takes 2/3
163.
▲
by
GrumpySloth
3y ago
When you have the length, you can unroll the loop, so that you e.g. do 4 iterations at a time. With NUL you can’t do that. Moreover, loop iteration can be done in parallel (instruction-level parallelism) with processing the content of the s
164.
▲
by
GrumpySloth
3y ago
Same as going from 64 to 65.
165.
▲
by
GrumpySloth
3y ago
I've never had a computer which would work with the official ideologically-pure installer. Always had to use the non-free one. I'm glad this vote turned out the way it did.
166.
▲
by
GrumpySloth
3y ago
The “ml” tag on lobste.rs is about SML and OCaml, not machine learning (which is under “ai”), while here it seems to be about both. I find the original lobste.rs classification more useful.
167.
▲
by
GrumpySloth
3y ago
For inter-machine communication TLV binary formats are far superior. Simplicity of parsing, efficiency. Can't compete.
168.
▲
by
GrumpySloth
3y ago
Garbage collectors, type systems, modules, polymorphic functions are not syntactic sugar. Asm also isn’t syntactic sugar, if only for the polymorphism (how many different CPU instructions are MOV in Asm again?); or just the fact that it’s
169.
▲
by
GrumpySloth
4y ago
Rust is supposed to be a systems programming language. If writing basic data structures was an edge case in it, the language would be broken. Luckily, in my experience it isn’t (at least not in this way).
170.
▲
by
GrumpySloth
4y ago
Even in C compiler will emit warnings for unhandled cases in switch statements as long as you don’t provide a default case (as you shouldn’t).
171.
▲
by
GrumpySloth
4y ago
This thread is, predictably, another demonstration of conflating optimisation with being aware of performance. The presented transformation of code away from “clean” code had nothing to do with optimisation. In fact, it made the code more r
172.
▲
by
GrumpySloth
4y ago
The Emacs info manual is also a gem. And the Emacs info mode is my favourite document viewer, which makes for a nice experience all around.
173.
▲
by
GrumpySloth
4y ago
> A compiler that makes incorrect assumptions is a bad compiler. I agree, but that includes GCC and Clang. ¯\_(ツ)_/¯
174.
▲
by
GrumpySloth
4y ago
> If we don't know what will happen that is Undefined Behaviour. Implementation-defined behaviour is a thing. Not knowing what will happen is not an accurate description of undefined behaviour. What the compiler does is assume tha
175.
▲
by
GrumpySloth
4y ago
> Graphs of benchmark results would be neat to have. Remember to put the code and graphs as a sort of TL;DR Thanks for the suggestion. I’ll use it when I get around to updating this page. For now though I’ll let it sit there, as I’m to
176.
▲
by
GrumpySloth
4y ago
I think you're excessively hung up on the example of everything happening within a single team inside a single company or some such thing, when the author of the submission wrote about making a choice for themselves. You don't sta
177.
▲
by
GrumpySloth
4y ago
Better for the others, but is it better for the scouts? Too often individuals are treated as drones obliged to work for a collective, which feels entitled to the work of the drones. From your perspective, they're not a good team mate.
178.
▲
by
GrumpySloth
4y ago
To be pedantic, that’s provided by bash, not devfs. You wouldn’t be able to do it like this from e.g. a C program.
179.
▲
by
GrumpySloth
4y ago
None of that screams workers rights, nor welfare of the common people. Quite the contrary. If Marx was living in the XXI-st century, he’d be writing about Chinese instead of English factories. In fact the lack of workers rights makes it mor
180.
▲
by
GrumpySloth
4y ago
China is a capitalist country.
More ›