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)HN user
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)Would be more interesting to see i3 vs sway.
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"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.
Unfortunately, a CS PhD doesn't even guarantee mediocrity.
I have a Huawei matebook x pro and I would highly recommend it. Great build quality and 3:2 screen.
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.
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.
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.
Down and Out by Ken Wharton?
https://eandt.theiet.org/content/articles/2017/02/science-fi...
What's so dsytopian about that?
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.
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.
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.
A lot of those can be blocked with e.g. ublock (the "annoyances" filters, not on by default)
Why Canonical? Isn't this a Microsoft feature?
What a weird comment. There's tons of fraud within the bitcoin ecosystem, and it's also used in a lot of fraud too.
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)."
Well, and Huawei users.
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.
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.
No, I haven't seen anybody talking about discord, just the subreddit/"redditors".
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.
and ongoing informing of consumers about dangers of sharing their data
I don't get it. What's the danger?
Only on Windows 10 32bit, which according to steam stats, is used by 0.10% of users.
Yes, but the point is that you can only do that in some special cases like this one.
https://tic80.com/ (lua, open source - you can pay for the binaries or build it yourself)
https://liko-12.github.io/ (lua, open source, I haven't used this much, but it seems nice)
https://github.com/ftsf/nico (nim, open source. Not quite the same as the others, there's no IDE, etc. But it's a library with an API similar to PICO)
Can it prevent the user from taking a photo of the phone screen with a different device?
Sorry, what?