Recent submissions

Comment · 1 year ago
I already prefer using pipe as separator in logging; now you're telling me there is a chance that my logs can be automatically ingested as tabular data? Sign me up for this branch of the multiverse :)
Comment · 1 year ago
You might be interested in https://draradech.github.io/jigsaw/index.html

Used its output with a laser cutter and plywood, result was neat

Comment · 1 year ago
To me the chess AI example he used was perhaps not the most apt. Human players may not be able to reason on as far a horizon as AI and therefore find some of AI's moves perplexing, but they can be more or less sure that a Chess AI is optimizing for the same goal under the same set of rules with them. With Reasoners, alignment is not given. They may be reasoning under an entirely different set of rules and cost functions. On more open ended questions, when Reasoners produce something that human don't understand, we can't easily say whether it's a stroke of genius, or misaligned thoughts.
Comment · 2 years ago
if kernel is updated the OS would have to be rebooted anyway unless live patching is configured. Rebooting after an update is probably more common & less annoying than one would think.
Comment · 2 years ago
> a2, c = a2+c, c+2 > is faster than > a2 += c > c += 2 > My guess is that in the first case the two evaluations and assignments can happen in parallel, and so may happen on different cores

Not sure I follow, isn't Python single threaded by default? Changes to GIL is coming but does it change how the interpreter uses CPU?

Comment · 2 years ago
> I just wish we had something like Matplotlib in R

plotly could be worth a try, i use its python bindings and much prefer it to matplotlib, but i don't know much about the quality of it's R API

Comment · 2 years ago
There used to a standalone Firefox Password app for mobile but it got the axe.
Comment · 2 years ago
Yeah, let’s not forget https://www.thebureauinvestigates.com/stories/2021-12-06/swi...

I’m not under any illusion that there’s any “Swiss exceptionalism” when it comes to privacy.

Comment · 2 years ago
Comment · 3 years ago
I use worktrees, but some builds which uses git hash will fail in worktree checkouts, thinking that "it's not a git directory" (forgot the exact error, it's been a while); haven't found a solution to this
Comment · 4 years ago
My personal experience is that the situation has improved somewhat but the hardware still plays a large part. A Kaby Lake laptop I had setup hibernation to encrypted swap (not file but partition iirc) worked well enough besides a few times when some peripherals e.g. wifi failed to power on after resuming from hibernation; A Zen3+ laptop from the same manufacturer that I got last week, running Arch (with the latest kernel and packages) _always_ had problem resuming, wifi (and who knows what else) never gets turned back on, the system sometimes enter into a weird state showing just a blank screen, not accepting any keypresses, or otherwise get stuck in some stage in the boot process with no output so it's hard to debug. So far it's been a real crapshoot.
Comment · 4 years ago
wanted a dictionary app that tracks the words I looked up too. ended up writing an iOS short that queries an online dictionary and posts the word to an ifttt webhook which then adds the word to an airtable. with a bit of manual work, the card view in Airtable can even function as a rudimentary flash card. it's pretty basic and never going to have fancy features such as spaced repetition, but hey not bad for not writing a single line of code
Comment · 4 years ago
User name checks out

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton