Better HN
topnewbestaskshowjobs
Log inSign up

ForkMeOnTinder

1,029 karma · joined Jan 14, 2023 (3y ago) · 178 submissions

o.o
Submissions

comment 2y ago · link · parent

- climate change is fake

- 5G causes cancer

- bitcoin is a scam

Your substantive and well-reasoned argument fits right in with that list ;)

comment 2y ago · link · parent

Yeah I hate this spammy marketing speak.

> Whether you've taken a few photos with your phone's camera or you're a professional photographer with terabytes of digital negatives, Adélie gives you the tools you need to manage and view all your photos.

Translation:

> Adélie installs digiKam by default

comment 2y ago · link · parent

I still think noalias-by-default is the way to fix this.

https://github.com/ziglang/zig/issues/1108

You get all the benefits of Zig being able to choose the function ABI, but if the optimization would have caused a bug, you'll get an immediate panic at the function entrypoint, instead of silently corrupted data.

comment 2y ago · link · parent

The SEC does this.

https://www.sec.gov/whistleblower/frequently-asked-questions

> The Whistleblower Program was created by Congress to provide monetary incentives for individuals to come forward and report possible violations of the federal securities laws to the SEC. Under the program, eligible whistleblowers are entitled to an award between 10 and 30% of the monetary sanctions collected in actions brought by the SEC and related actions brought by certain other regulatory and law enforcement authorities.

comment 2y ago · link · parent

How is it impossible? I would think an MD5 quine exists with probability approaching 1 as the size of the document grows to infinity. Think about the reduced problem:

1. a document containing "1", whose hash begins with "1"

2. a document containing "12", whose hash begins with "12"

3. a document containing "123", whose hash begins with "123"

#1 is certain to exist. #2 exists, but would take 16x as long to brute force. #3 would take 16x longer again. If this pattern doesn't continue until 2^128, where would it stop, and why?

All hashes can be brute forced this way, even secure ones SHA-2. Its security relies on the fact that the earth doesn't contain enough computing power to execute a brute force attack within the universe's lifetime.

comment 2y ago · link · parent

In a way that means the copyright lobbyists have won. You don't find the list interesting now, but 14+14 years after 1928 you would have. A lot of it would still be fresh in our collective minds. Now in 2024, most of it is dead to us.

What about 14+14 years ago (1996)... can you think of any music/movies from the mid-90s or before that would be interesting to remix? I sure can. But very few people are still going to care in 1996+95 = the year 2091.

comment 2y ago · link · parent

So instead of "There is a good identity", GP should have said "There are about 200 good identities around the world, but if your country happens to not have a single unified ID system you're out of luck"

comment 2y ago · link · parent

I'd never use an account someone else made for me either. Who knows if after you created it, you added some recovery questions or a recovery email or saved the login cookie or who knows what else? I'll stick with my fresh account made on my own PC through my own connection, thanks.

comment 2y ago · link · parent

The problem with benchmarking that claim is there's no one true "json decoder" that everyone uses. You choose one based on your language -- JSON.stringify if you're using JS, serde_json if you're using Rust, etc.

So what people are actually saying is, a typical protobuf implementation decodes faster than a typical JSON implementation for a typical serialized object -- and that's true in my experience.

Tying this back into the thread topic of search engine results, I googled "protobuf json benchmark" and the first result is this Golang benchmark which seems relevant. https://shijuvar.medium.com/benchmarking-protocol-buffers-js... Results for specific languages like "rust protobuf json benchmark" also look nice and relevant, but I'm not gonna click on all these links to verify.

In my experience programming searches tend to get much better results than other types of searches, so I think the article's claim still holds.

comment 2y ago · link · parent

> There is no fair or private use of hyper-realistic fake money.

What about every movie ever made where two people trade a briefcase full of cash?

comment 2y ago · link · parent

Indeed. It's a multistep process, like changing the oil in your car.

Step 1. drain the old oil

Step 2. pour in the new oil

If you skip step 2 and damage your car, it doesn't mean oil changes are an unmitigated disaster. It means you didn't fucking do it right!

comment 2y ago · link · parent

I don't know what I'd do if Firefox died. Maybe it's time Firefox starts diversifying itself away from Mozilla.

comment 2y ago · link · parent

I had the opposite thought -- I bet the new color mixing will increase payload size. Which of these would you rather send over the wire?

  A) color-mix(in srgb, var(--primary-color), white 50%)
  B) #abcdef
For me to give up scss, there needs to be a minifier that calculates colors ahead of time and emits them plain, the way scss does. (Maybe there already is, who knows)

comment 2y ago · link · parent

> And although Google permits third-party app distribution platforms, it still requires apps to use its billing system.

Can someone explain this line? If you publish an app on an alternative app store and someone downloads it on their de-googled phone, how in the world would Google prevent it from making a few API calls to Paypal?

comment 2y ago · link · parent

  alias ..='cd ..'
  alias ...='cd ../..'
  alias ....='cd ../../..'
  alias .....='cd ../../../..'
  alias ......='cd ../../../../..'
  alias .......='cd ../../../../../..'
Merry christmas, HN!

comment 2y ago · link · parent

This is just begging the question: surely you don't watch videos while driving? And if you just want the audio, there are music-focused YT apps (ViMusic, or like sibling said, YMusic)

comment 2y ago · link · parent

Aren't you already trusting the maintainer by downloading and running their software? An evil maintainer can publish any hash they want, so why would they go to the trouble of making a hash collision?

comment 2y ago · link · parent

fwiw electric cars date back to the late 1800s. There's no reason old ideas can't work well with new tech.

https://en.wikipedia.org/wiki/Electric_car#Early_development...

comment 2y ago · link · parent

fwiw Google is attempting the same thing, but they're not doing much better.

https://www.notebookcheck.net/MrWhosetheboss-video-reveals-G...

> Google's Pixel 8 Pro Tensor G3 off-loads all generative AI tasks to the cloud

comment 2y ago · link · parent

Definitely the two columns for me. It's super annoying skimming a paper and having to scroll down and back up again in a zig-zag pattern.

comment 2y ago · link · parent

It's useful even without async too. Our codebase has some trait methods that return boxed iterators and I'm very much looking forward to switching them to impl Iterator instead.

comment 2y ago · link · parent

So this is targeted at people who don't want to set up syncthing? What I like about Obsidian is it's literally just a bunch of markdown files, you can use them anywhere. With Notesnook, do I have to lock my data into their proprietary format? It looks like you can't even export anything other than .txt without paying. https://notesnook.com/pricing/ Seems like they're trying to lock you in.

comment 2y ago · link · parent

The easiest way to do this (in my experience) is libfaketime. I'm surprised not to see it mentioned.

https://github.com/wolfcw/libfaketime

comment 2y ago · link · parent

> Does JS allow arbitrary objects as keys?

Object doesn't, but Map does. It's generally a good idea to use Map anyway for dynamic keys.

comment 2y ago · link · parent

I don't have a source to cite, but I remember this being a Firefox extension before Chrome existed. Chrome gave it a cool name though

comment 2y ago · link · parent

I'm curious what you thought was missing from Codeberg.

comment 2y ago · link · parent

With nix, you can't precisely specify versions of all your tooling. You have to choose a channel, and you get whatever that channel gives you. You can't upgrade one tool without upgrading everything else at the same time to whatever version the channel provides. For many dev workflows, that's not enough control.

See https://github.com/NixOS/nixpkgs/issues/93327 (which grew from https://github.com/NixOS/nixpkgs/issues/9682)

comment 2y ago · link · parent

I fully agree with you. That said, one thing I've come to hate is the proliferation of version numbers in random dockerfiles and random config files all over the place. It's a pain to know what's out of date and a pain to upgrade it all. I wish there was a single tool to manage it all more simply, something like pnpm for containers plus everything you install inside them.

comment 2y ago · link · parent

That's normal for reality shows.

Cooking shows? You spend a lot of time waiting, who wants to sit and watch a pie bake for an hour?

Ever seen those "how it's made" shows? Editing can make anything interesting.

I'd watch the heck out of a techie version of Survivor (early years).

123456