Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
GrumpySloth
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
31.
▲
by
GrumpySloth
2y ago
Do you think family homes had a lower percentage of drunkards back in 1946 when marriage was more common?
32.
▲
by
GrumpySloth
2y ago
Someone might have given you a command to run when setting up a repo. For example, it’s standard practice to download a hook which assigns a Change-Id to each commit when using Gerrit.
33.
▲
by
GrumpySloth
2y ago
That’s because POSIX EREs are actual regular expressions thank god.
34.
▲
by
GrumpySloth
2y ago
I’ve just checked and Wikipedia claims they have a branch in Tokyo. Maybe I don’t understand what those headers in newspapers mean then.
35.
▲
by
GrumpySloth
2y ago
Why is this reported from “Hong Kong (CNN)” and not Tokyo? Does it mean CNN has a local branch in Hong Kong, but not in Tokyo?
36.
▲
by
GrumpySloth
2y ago
It’s probably not a coincidence that he’s the author of the famous quote that may and is often used to deflect any and all criticism of a programming language.
37.
▲
by
GrumpySloth
3y ago
It’s not just Rust. Practically every compiler based on LLVM is slow. Swift, Zig, Clang. The Go compiler being written from scratch based on the Plan9 C compiler is a huge advantage.
38.
▲
by
GrumpySloth
3y ago
You could legitimately argue that it began in 1918 though.
39.
▲
by
GrumpySloth
3y ago
One of the strongest motivators of marriage, heterosexual or not, are tax benefits and immigration laws.
40.
▲
by
GrumpySloth
3y ago
> In Europe marriage was originally a religious thing, officiated by priests and managed by the church Previously, not originally. In ancient Greece it was a state matter: < https://en.wikipedia.org/wiki/Marriage
41.
▲
by
GrumpySloth
3y ago
In order to read or write /proc/pid/mem your process needs to be allowed to ptrace() the target process. You can’t do that for arbitrary processes. Similar story for WriteProcessMemory().
42.
▲
by
GrumpySloth
3y ago
At $work, the standard solution to ASAN reporting use-after-free issues is to... not run ASAN builds. The fact that builds in CI exhibit random inexplicable crashes regularly every week doesn’t seem to make anyone have any second thoughts.
43.
▲
by
GrumpySloth
3y ago
It’s called one-party consent, which is standard in Europe and most states of US: < https://en.wikipedia.org/wiki/Telephone_call_recording_laws#... >
44.
▲
by
GrumpySloth
3y ago
Knowledge of English is nowhere near as widespread as knowledge of infix notation. If we were to create a programming language based on words from a natural language which is most likely known by people trying to learn (i.e. most of them ar
45.
▲
by
GrumpySloth
3y ago
> If you don't speak the language, then of course it won't make sense to you, but what relevance does it have to the conversation? It demonstrates that your criticism of the syntax of array languages boils down to “it’s diffe
46.
▲
by
GrumpySloth
3y ago
To me the most disingenuous thing here on Linux’s part is that they won’t issue CVEs for vulnerabilities which aren’t fixed. And thus the latest Linux release is always tautologically CVE-free. Magic. Maybe at work I should raise the idea t
47.
▲
by
GrumpySloth
3y ago
> I noticed if we plot the journalist killings against general population killings in Gaza, the graph deviates from an approximately straight line that might be expected if journalists were merely being killed as a result of "colla
48.
▲
by
GrumpySloth
3y ago
Sure. I’m just wondering about the attacker’s intentions. Whether they were malicious or merely misguided.
49.
▲
by
GrumpySloth
3y ago
Was this attack genuinely dangerous? Or was it just a social experiment?
50.
▲
by
GrumpySloth
3y ago
Only if they already speak English. When I first learned C, I didn’t know English well enough to understand what “if” or “else” meant. I learned these words in the context of programming first, and natural language second. This experience i
51.
▲
by
GrumpySloth
3y ago
I think this is more of a social problem with C++. Regardless whether the feature is implemented in the standard library or the core language, the broader C++ community is not going to approve of enabling bounds checks on the bracket operat
52.
▲
by
GrumpySloth
3y ago
The problem with slices in C being added in stdlib would be that they really are a generic data type. It would be similar to atomic types. While C++ could just add std::atomic<T>, C needed to add a special construct: _Atomic(T). C++ a
53.
▲
by
GrumpySloth
3y ago
Version numbers. You can’t modify an already-published version of a Rust crate on crates.io.
54.
▲
by
GrumpySloth
3y ago
Mutation in Rust is much more controlled than in SML or OCaml. Any record or variable (sic!) can contain a ref cell, or a special data type like an array, which can be mutated regardless of the type of the thing it’s contained within. That’
55.
▲
by
GrumpySloth
3y ago
Nitpick: SSA is late 80s, early 90s tech.
56.
▲
by
GrumpySloth
3y ago
Not my experience. When I report a bug in Chromium, it’s usually quickly verified as legit, and then left for dead forever.
57.
▲
by
GrumpySloth
3y ago
Downloading a file is something that happens automatically when you e.g. navigate (or are automatically redirected) to a link which is served with Content-Type of application/octet-stream. Example: < https://0x0.st/H7
58.
▲
by
GrumpySloth
3y ago
A quick search led me to CVE-2010-2568, which isn’t in TCP/IP[1], but is an RCE vulnerability that could be triggered by a website triggering a file download and the user later opening the folder with the downloaded file in Windows Exp
59.
▲
by
GrumpySloth
3y ago
Probably through RCE-s in Windows XP’s TCP/IP stack implementation.
60.
▲
by
GrumpySloth
3y ago
What place has potatoes more expensive than tomatoes? Outside of Asia, which is more rice-based than potato-based, potatoes have a hard-earned centuries-old reputation of food for poor people (cheap to farm, not much nutritional value). But
More ›