Recent submissions

Comment · 4 years ago
Hardly shorter than just writing the for loop, i.e. the example in python

    groupByAge = collections.defaultdict(list)

    for person in people:
        groupByAge[person["age"]].append(person)
Comment · 4 years ago
Would be more interesting to see i3 vs sway.
Comment · 5 years ago
I found Nim's gorge command really useful. It runs a command at compile time and stores the output in a variable, so you can simply do things like:

    const compile_version = gorge "git describe --tags --always --dirty"
    const compile_time = gorge "date --rfc-3339=seconds"
Comment · 5 years ago
> Surprisingly, there isn't a headphone jack, which seems like something Fairphone's demographic would really have wanted. Wired headphones last indefinitely, while Bluetooth buds turn into garbage after a few years when the batteries die.

Every wired headphones I've had started to break down after a year or so, including ones with a detachable cable.

BT headphones are much more reliable. If you buy something like the Sony's you can probably get replacement batteries.

Comment · 5 years ago
Unfortunately, a CS PhD doesn't even guarantee mediocrity.
Comment · 5 years ago
I have a Huawei matebook x pro and I would highly recommend it. Great build quality and 3:2 screen.
Comment · 5 years ago
> I see all these calls for "cancel rent", as if housing grows on trees and landlords are all some kind of Ebenezer stereotype, instead of being a lot of small-time folk just trying to get by.

So letting property should just be risk-free profit? Being a landlord is a business and businesses fail all the time.

Comment · 5 years ago
I guess a drone can just land on a roof (or even street-level)?

Basically a battery powered camera that can be deployed very quickly to an area of interest.

Comment · 5 years ago
I get "We were unfortunately unable to place the cookie that is necessary for the use of our site. Is your computer connected to the internet through a company network? We recommend that you ask your IT department for an exception for DER SPIEGEL content. Have you configured a browser extension or the browser itself such that cookies are blocked? Please add DER SPIEGEL to your list of exceptions. Should you continue to have problems, you can find more information here."

I only have ublock origin and a minimum of config changes.

Comment · 5 years ago
Comment · 5 years ago
Comment · 5 years ago
What's so dsytopian about that?

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton