Recent submissions

Comment · 8 months ago
I meant that the name of the language creator is irrelevant to the point being made in the article, unless the name has some out of band meaning that the intended audience knows and I do not.

Turns out the article is AI slop, so makes sense.

Comment · 9 months ago
> The Zig language, created by Andrew Kelley, takes a deliberate position on standard library scope.

I'm missing the significance of this callout. Is Andrew Kelley synonymous with/well known as a representative of a particular approach to language or software design?

Comment · 1 year ago
The MmapReader is not copying the requested byte range into the buf argument, so if ever the underlying file descriptor is closed (or the file truncated out of band) any subsequent slice access will throw SIGBUS, which is really unpleasant.

It also means the latency due to pagefaults is shifted from inside mmapReader.ReadRecord() (where it would be expected) to wherever in the application the bytes are first accessed, leading to spooky unpreditactable latency spikes in what are otherwise pure functions. That inevitably leads to wild arguments about how bad GC stalls are :-)

An apples to apples comparison should be copying the bytes from the mmap buffer and returning the resulting slice.

Comment · 2 years ago
Write the tests you need to sleep at night and avoid you and others you care about burning out when everything starts falling apart and even the smallest changes inspire dread.
Comment · 2 years ago
PCAP or it didn't happen
Comment · 4 years ago
After moving tk the USA I was shocked to find that fast food (mcD, burger king, etc) was cheaper than buying fruit and vegetables. In South Africa anything that tastes good costs a lot more money, so you're naturally more inclined to eat healthy - or eat nothing but meat, which is how my demographic solved that problem. Also, try and find granola or cereal without sugar, corn syrup, or dextrose (low fat or sugar free products all seem to contain dextrose, which is like "super sugar", congrats food industry on selling that one.)
Comment · 4 years ago
I told myself: I spent years studying (mostly) irrelevant material in university, what is a few months' worth of evenings studying (mostly) irrelevant leetcode problems if it doubles my TC. Still, it does suck.
Comment · 5 years ago
Hmm - well I still feel relatively n00b as a 3k. For me the most prominent ones were

15/16k: I think that's the moment I started evaluating different moves instead of just playing what looked best and hoping I pick better ones than my opponent.

12k: discover first bits of wholeboard thinking

9k: discover first vague ideas around direction of play

6k: discover tenuki / sacrificing locally for global benefit, leaning attacks

6k-4k: reading, basic haengma (moving with shape and speed)

4k-3k: life&death, reading

3k-: I'm approaching 2k mainly by making my group strong before attacking, attacking to push around not kill

Comment · 5 years ago
I don't really find that to be an issue - regardless of how good computers get, there would always be thousands of people better than me anyway. It is a personal discovery journey for me, like exploring a new mountain that others know well already.
Comment · 5 years ago
This reminds me of my 13 year old sibling yelling at our mother when we were teenagers for not buying them the exact item they wanted, but something pretty close. Disappointing.

One should not hold people responsible for acting "non-perfectly". Any behavior exceeding "average" should be met with admiration and gratitude, average behavior with "respect and appreciation", and anything somewhat sub-average with "mild disappointment but no surprise and some understanding".

Having a company spend money they are technically obligated to allocate to share holders, to a developer who, without any pre-existing contract or even verbal or commonlaw understanding, helped them, is way beyond "average response" for modern businesses.

Please, don't hate on the vanishingly small number of counter-examples blazing a trail in this space.

Comment · 5 years ago
That picture likely contrasts lower middle class and lower class - middle class and upper middle class houses in south africa would not be across the road from an informal settlement due to unbelievable levels of theft and violent crime in such areas.
Comment · 6 years ago
You can also just get a "professional" job in said country and move there under the same or similar conditions. The application for an employment visa to move to Germany from South Africa took about a week to get approved.
Comment · 6 years ago
Exactly why I left northern europe for the USA. I find real and metaphorocal gated communities unbearably suffocating.
Comment · 6 years ago
:-)
Comment · 6 years ago
South Africa. And I guess Xhosa/Zulu. The electricity provider mentioned is Eskom. It's complicated.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton