Better HN
topnewbestaskshowjobs
Log inSign up

samtheprogram

1,451 karma · joined Mar 22, 2017 (9y ago) · 601 submissions

Submissions

comment 2y ago · link · parent

I technically use a natural key, if you could call it that, when using Supabase. Having a `public.users` table with a primary key that’s the same as the key for the internal user auth table (from Supabase).

Arguably not a natural key, or at least a contrived example, but: any downsides?

comment 2y ago · link · parent

> or the company/government shut it down because society was collapsing.

I do not see how you could interpret the ending of Her this way.

comment 2y ago · link · parent

GP was being sarcastic. It’s indeed a part of a sob story meant to dissuade potential buyers from looking over things too deeply.

comment 2y ago · link · parent

Just follow who you want to follow, and stick to the Following tab instead of "For You". At least X has that option; the other major/centralized social media services don't have any such option as far as I can tell (Instagram's "snooze recommended posts" option is the closest thing).

comment 2y ago · link · parent

Sprint had outdated technology w.r.t their infrastructure and cell towers, so an outside acquirer didn’t make as much sense. It needed an existing player with more advanced infrastructure to take on the customer base, or a large investment in upgrading it’s own infrastructure.

comment 2y ago · link · parent

This is incredibly understated, and I’ve used it for various sites, but it should be noted that the alternative sites are some times out of date in yt-dlp.

I was hoping for a working download for NPR Music, but it failed me last week for Kiefer’s set on Tiny Desk. Couldn’t airplay or chromecast it (without doing the whole screen, with all the trade offs that entails), and HDMI did a weird thing on macOS where the playback was sped up in every major browser.

Had a resort to a Firefox extension to download the video and Plex it in order to use the TV. Of course, I didn’t see if they had a Roku or similar app, and was just impatient to wait for the YouTube upload. Sigh.

comment 2y ago · link · parent

There are many reasons, and as a user of Opus you are probably aware of the trade offs?

comment 2y ago · link · parent

You don’t achieve exactly once at the protocol/queue level, but at the service/consumer level. This is why SQS guarantees at-least-once.

It’s generally what you described, but the term I’ve seen is “nonce” which is essentially an ID on the message that’s unique, and you can check against an in-memory data store or similar to see if you’ve already processed the message, and simply return / stop processing the message/job if so.

comment 2y ago · link · parent

It’s implemented as a launcher, per the article. And saying it _could_ be an app is missing the point of the device entirely.

It’s like saying the Light Phone could be an app. They’re trying to do something entirely different, and an app that does what the rabbit does would be very uninteresting.

comment 2y ago · link · parent

> given the xz situation a well crafted shell script can seem harmless while being very dangerous

That’s exactly what they are saying.

comment 2y ago · link · parent

Correct, so the question should have been: is readonly necessary?

I wouldn’t call myself an expert in TypeScript’s type system (although I use it daily), so I’m not sure about that one.

I do know I would have omitted readonly if I did this myself, but perhaps by mistake.

comment 2y ago · link · parent

I mean, nobody knows the exact price it's going to go to, and ETH doubled in value from the date Garry released this video within 5 months to mid-November.

If you bought ETH when Garry released this video, it was a winning bet.

The 10k price prediction is obviously cringe in hindsight (and clickbaity), but I do not doubt Garry was bullish and right that Ethereum wasn't done going up when he posted.

Oh, and Ethereum is still up hundreds of dollars from the price at the date the video was posted. So even if you irresponsibly "hodl'd" through a 2x gain, you're up...

There are far, far worse people in the scene to be mad at w.r.t. scams. Garry Tan isn't one of them.

I would be shocked that this made it to front page but any negative crypto press runs wild on HN. I don't love crypto, but this post is without any value.

comment 2y ago · link · parent

Yes, otherwise consumers could try reading the property (that doesn’t exist).

comment 2y ago · link · parent

It's source code and infrastructure as code for the services that are described at pico.sh, for self-hosting, development, etc.

Some of the services appear to live directly within this repo. There's also separate apps (that are separately packaged via docker, and referenced in the docker compose) elsewhere in the same GitHub organization

See the docker-compose.yml for an overview of the services that this repo is meant to enable running. Or if you click the link to their site, pico.sh, and hit Getting Started, there's a lot more documentation there.

comment 2y ago · link · parent

The website literally stated it was not for speculation, they didn't want the price to go up, and there were multiple ways to get some for free.

If people were reckless, greedy, and/or lazy because of the crypto hype and got "defrauded" without doing any amount of due diligence -- that's kinda the point.

comment 2y ago · link · parent

To me that was obvious satire of the crypto scene.

comment 2y ago · link · parent

> internal, but by design usually accessible on the public internet

Your API can be accessible obviously, but put ZeroMQ behind a firewall so only the API server can reach it.

If it’s running on the same server, at least block the port ZeroMQ is listening on from the outside world.

comment 2y ago · link · parent

I have two pairs of perfectly good wireless headphones I don’t use anymore because the batteries are screwed. No replacement method, it’s just ewaste. Basically $200+ destroyed.

I have since bought a phone with a headphone jack and stopped buying wireless headphones.

Old generation, wired Bose in-ear go for under $50 on eBay. Sound quality is better too.

The wire interfering with my jacket took some getting used to again.

EDIT: oh yeah, the batteries don’t die while you’re using wired headphones, either. No more 1-ear’ing so there’s always a bud with battery.

comment 2y ago · link · parent

You’ll either need to give up GPU acceleration on the unsupported upgrade to post-Mojave, or lose the Firefox support later this year on the next LTS. I’m not happy about it.

comment 2y ago · link · parent

Arch and Gentoo were also not supported, although the code shipped, because the exploit explicitly checked for RPM- and deb-packaged distros.

Suse is RPM based, but don’t remember whether the check was for the utilities or another method — Suse uses zypper for package management, as opposed to yum/dnf on the far more popular RedHat-based distros, so it depends how the exploit checked.

comment 2y ago · link · parent

This. "Building the future" is just asking for a similarly lazy retort.

comment 2y ago · link · parent

Around 5 years ago, peer negotiation got massively simplified with new additions to the spec (see Perfect Negotiation). If you’re on a browser released since then, your life will be far easier.

comment 2y ago · link · parent

If we want to be pedantic, the corporation is producing the export, coordinating _harvesters_ with transportation and final sale of the good — and paying the harvesters before they’ve made a cent.

Pedantry and calling something “propaganda” out of nowhere does.

If anything, by that line of thinking this “propaganda” enables us to pay the harvesters more money. Right? Hallelujah!

1
91011
21