Recent submissions

Comment · 6 years ago
Comment · 6 years ago
I used to do a commute of around 1.5 hours each way, every day, for years. This was justified by my (at the time) reasonable salary, and all the self-reflection and podcast listening I could do. This was foolish in hindsight (speaking personally of course, I have no doubt that some people enjoy their commute). I didn't appreciate this was 3 hours, every day, of the prime years of my life. I will never get that time back. And what's more is that I didn't factor this into my salary justification. I saw salary as compensation for my hours _in_ work: this is wrong. It's also your time getting there. That's the comparison you should make, which may make that local job more appealing.
Comment · 6 years ago
That's pretty cool. How much is that? "Costa Coffee" (a UK chain) machines are in lots of petrol stations nowadays, but I'm not aware of any kind of subscription.
Comment · 6 years ago
Comment · 6 years ago
> It turns out that in the current version of the macOS, the OS sends to Apple a hash (unique identifier) of each and every program you run, when you run it.

Hang on, this only happens on first run of the binary, right? It caches the hash afterwards? This statement is incorrect unless Apple are sending logs to the server (i.e. of every cache hit). Can somebody confirm?

Comment · 6 years ago
Go has nothing on Python in this regard. I write Go every day, and come from a Python background. I often describe Go as the strongly-typed, more performant version of Python. I say this mostly because my Go code isn't too dissimilar from my Python code (structure, naming, packages). But I still drop into Python if I want to do something quickly. I don't really know why. Maybe it's the Go tooling, e.g. unused variables cause compilation errors, so things like this slow me down. Or maybe it's because Python just offers _so_ much out of the box, e.g. all the data structures you'll ever need (list, set, dict, tuples), and all small things you take for granted (like writing "is a in list", which would require a function in Go). The REPL is Python's killer feature.
Comment · 6 years ago
Thanks for the ref. I'll bring this up the next time somebody questions my "let's clean up these flags in prod".

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton