Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
xorvoid
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
61.
▲
by
xorvoid
1y ago
It’s a fairly well-known trick in systems programming. Definitely not invented with zig, but perhaps popularized further. If you write enough systems code in C or Rust, you end up inventing it eventually. If you ever design a datastructure
62.
▲
by
xorvoid
1y ago
Is there an original recording of him saying this. Feels like a huge stretch, discounting all technology invented after 1969! Does he address that? I often prefer the source material because so much context is lost in reporting.
63.
▲
by
xorvoid
1y ago
The ads make this page unreadable. I guess I’ll never know what it says.
64.
▲
by
xorvoid
1y ago
Because block-argument is actually the “right way”. The phi-node is very un-natural.. in the same sort of way that pi should have been tau. Also, notice the connection here between Phi nodes and Continuation Passing Style (CPS). It because
65.
▲
by
xorvoid
1y ago
(For his definition of success, which I would agree with, but not everyone would)
66.
▲
by
xorvoid
1y ago
That would be my guess. Or you can even consider that him focusing on happiness led to success.
67.
▲
by
xorvoid
1y ago
Same. But I guess I’ve just accepted it and moved on. I’m willing to give that up for not having to give up 75% of my wake hours to a purely economic entity. I think I’m mostly surprised that so many smart/capable/successful peopl
68.
▲
by
xorvoid
1y ago
Agreed. I don’t use social media of any kind. Not even on the desktop. I always run with Downtime on. All new apps are disallowed from running or notifying unless I whitelist them explicitly. You really don’t need this “attention porn” in y
69.
▲
by
xorvoid
1y ago
For many people, paywalls may be bringing the age of traditional text to an end.
70.
▲
by
xorvoid
1y ago
Compile time. There are preprocessor #if guards all over the code base to provide different implementations for core operations. Many of these are used to provide a thread-safe version (e.g. atomic refcount). Presumably, these should work f
71.
▲
by
xorvoid
1y ago
Am I the only one who thinks this is perfectly fine? The requirements for derive Clone are clearly defined. As with much in Rust, the type signature drives things, rather than the function body (contrast with C++ generics). Occasionally, th
72.
▲
by
xorvoid
1y ago
You’re right. I think it ends up working out to a 4096 page on x86 machines, that’s probably what I remembered. Yes, _FORTIFY_SOURCE is a fabulous idea. I was just a bit shocked it wasn’t checked without _FORTIFY_SOURCE. If you’re doing FD_
73.
▲
by
xorvoid
1y ago
The real fun thing is when the same application is using “select()” and then somewhere else you open like 5000 files. Then you start getting weird crashes and eventually trace it down to the select bitset having a hardcoded max of 4096 entr
74.
▲
Show HN: Learn You Galois Fields for Great Good
(xorvoid.com)
5 points
by
xorvoid
1y ago
|
0 comments
75.
▲
by
xorvoid
2y ago
The scrolling effect is very disorienting for me. I want the read the article, but it’s disrupting my focus significantly. Is there a version without all to fancy effects?
76.
▲
by
xorvoid
2y ago
This is something I believe in. How can one get more involved in this? (Beyond donating)
77.
▲
by
xorvoid
2y ago
I think I did something similar. I decided to severely control my information diet after November and switch to only RSS feeds that I have selected manually and HN. It’s gone better than I expected and I feel very little urge to go back. At
78.
▲
by
xorvoid
2y ago
Yes, but it’s the old skool version of social media and the conversations here are generally higher quality and more genuine. I strongly disagree that it’s “on par with /.,xchan” HN also doesn’t seem to be as susceptible to rage-baitin
79.
▲
by
xorvoid
2y ago
Yikes. So the OOM Killer bricks your camera then!?!
80.
▲
by
xorvoid
2y ago
Between Kagi for ordinary web search and Claude for “complicated questions I don’t know how to phrase for a search engine”, I’m pretty happy right now. Great job to both organizations!
81.
▲
by
xorvoid
2y ago
I’m glad someone is having fun in C++. Personally, after >20 years, I have to be done with C++. It’s just a mess. If I really need the low-level control, I can wrangle C (warts and all), otherwise Rust, Python, etc just make me happier.
82.
▲
by
xorvoid
2y ago
Yet Another Considered Harmful Is All You Need
83.
▲
by
xorvoid
2y ago
I’ve never liked to conflation with fractions. Abuse of notation. And it causes so much confusion. Also integrals with “integrate f(x) dx” where people treat “dx” as some number than can be manipulated, when it’s more just part of the notat
84.
▲
by
xorvoid
2y ago
From the tutorial: // Division by zero is not an error io.debug(3.14 /. 0.0) It prints 0 Yuck. Division by zero is an unfortunate reality but basically nobody with mathematical background thinks that just defining x/0 =
85.
▲
by
xorvoid
2y ago
Mountains Beyond Mountains A biography of Dr Paul Farmer and how he dedicated his life and sacrificed everything to solve (in his words) “easily preventable” health problems in Haiti. It hits on many levels: his unapologetic empathy for ord
86.
▲
by
xorvoid
2y ago
You can fork and fix that with sed. Haha. I decided on using sigils and then my thought-process drifted to Perl/Php, so $ naturally felt like a variable definition (which naturally must pop from the stack). I guess ^ is “push ‘up’ to s
87.
▲
by
xorvoid
2y ago
Thanks for the kind words. But if you’re looking for fancy data-structures, you won’t find them. Haha. It’s just a single object type (sum-type/tagged-union) and lots of cons cells. In other words, just a minimalist Lisp.
88.
▲
by
xorvoid
2y ago
Happy to discuss. Email address can be found on my website.
89.
▲
by
xorvoid
2y ago
I thought of that. But then you’re making the semantics complicated. Say you really did want a (a) closure. Now you can’t have one, and you have to resort to more tricky wrapping. Not worth it.
90.
▲
by
xorvoid
2y ago
Ha. Well I meant “add those operations to the C interpreter”, which would be like 4 lines of code.
More ›