Better HN
topnewbestaskshowjobs
Log inSign up

badjeans

82 karma · joined Oct 26, 2020 (6y ago) · 46 submissions

Submissions

comment 4y ago · link · parent

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 4y ago · link · parent

Would be more interesting to see i3 vs sway.

comment 5y ago · link · parent

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 5y ago · link · parent

> 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.

5.

U.S. needs to work with Europe to slow China’s innovation rate, Raimondo says(cnbc.com ↗)

9 points · by badjeans · 5y ago · 5 comments

comment 5y ago · link · parent

Unfortunately, a CS PhD doesn't even guarantee mediocrity.

comment 5y ago · link · parent

I have a Huawei matebook x pro and I would highly recommend it. Great build quality and 3:2 screen.

comment 5y ago · link · parent

> 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.

9.

Lo2: Simple YouTube-dl web front end(github.com ↗)

2 points · by badjeans · 5y ago · discuss

comment 5y ago · link · parent

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 5y ago · link · parent

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 5y ago · link · parent

https://www.google.com/search?q=gnome+3+memory+leak

https://www.google.com/search?q=gnome+3+cpu+use

sure...

comment 5y ago · link · parent

Down and Out by Ken Wharton?

https://eandt.theiet.org/content/articles/2017/02/science-fi...

comment 5y ago · link · parent

What's so dsytopian about that?

comment 5y ago · link · parent

> I don’t have FB or or WhatsApp but my Insta account (using a separate email address and no personal details) keeps recommending my therapist to me.

So what? What's the harm?

People sure like to write emotionally charged posts arguing for privacy, but they're always suspiciously low on details on what bad things (actually) happened.

Even in this case with phone numbers and other data leaked, so what? What harm do data leaks cause?

Seems like making a fuss about nothing.

> How are we still ok with this shit?

We're ok with a lot of shit. I think if we were to make a list of shit this would rank pretty low.

16.

Cataclysm DDA – turn-based survival game set in a post-apocalyptic world(github.com ↗)

1 points · by badjeans · 5y ago · discuss

comment 5y ago · link · parent

They don't have to torture you, just hold you in contempt of court until you give it up. e.g.: https://en.wikipedia.org/wiki/H._Beatty_Chadwick

Works the same as with bank accounts or scamcoins.

comment 5y ago · link · parent

> People need and want something like that to exist where they have complete control over their assets without any worries about government or institutions.

The government can always just make a law and take whatever it wants from you (or imprison you). Doesn't matter if it's from a bank account or bitcoin cold storage on planet Musk.

comment 5y ago · link · parent

A lot of those can be blocked with e.g. ublock (the "annoyances" filters, not on by default)

comment 5y ago · link · parent

Why Canonical? Isn't this a Microsoft feature?

comment 5y ago · link · parent

What a weird comment. There's tons of fraud within the bitcoin ecosystem, and it's also used in a lot of fraud too.

comment 5y ago · link · parent

> Dogs, regardless of size are safe to coexist with humans provided they are treated appropriately from a sustenance and behavior/training perspective.

Debatable...

"In 1994, the most recent year for which published data are available, an estimated 4.7 million dog bites occurred in the United States, and approximately 799,700 persons required medical care (1). Of an estimated 333,700 patients treated for dog bites in emergency departments (EDs) in 1994 (2), approximately 6,000 (1.8%) were hospitalized (3)."

comment 5y ago · link · parent

Well, and Huawei users.

comment 5y ago · link · parent

> soon

That's been the sentiment for the past 12 years and X11 still works great and wayland implementations are a buggy, slow, featureless mess.

comment 5y ago · link · parent

> freer world

I guess that's sarcasm? I can't even eat a sandwich outside without fearing that it will be considered a picnic and get me arrested.

comment 5y ago · link · parent

No, I haven't seen anybody talking about discord, just the subreddit/"redditors".

comment 5y ago · link · parent

Those are all US companies. What does Europe have to do with them?

And like it's been noted many times before here, had Europe banned US companies like China had, maybe they would have a stronger software development culture, and they could control their own data instead of handing over everything to the US.

comment 5y ago · link · parent

> and ongoing informing of consumers about dangers of sharing their data

I don't get it. What's the danger?

12