Better HN
topnewbestaskshowjobs
Log inSign up

rtpg

21,271 karma · joined Nov 23, 2012 (14y ago) · 6,737 submissions

real name: Raphael

blog: https://rtpg.co

email: raphael at above domain

Submissions

comment 1y ago · link · parent

When your configuration value from PG15 was different from the old default and the new default on something like the statement timeout, and the statement timeout was previously working fine, and obstensibly set for a reason.... I dunno, are you going to question the value that much?

And you might say "well I know how a statement timeout works" and I agree! I would also generally agree that something like a timezone setting would generally be something I'd expect to be fairly stable.

That's what I meant about rebuilding the config from scratch. Rebuilding from scratch would almost involve _not even looking at the existing configuration_ and then doing first principles footwork to figure out what is needed.

I think the diffing flow you went through is the right way to do it, but I believe that flow might lead to some values getting less scrutiny than others. Still perfectly reasonable though

comment 1y ago · link · parent

bun installs are fast, but I think they might be so fast and concurrent they cause npm to really get confused sometimes.

I end up hitting 500s from npm from time to time installing by bun and I just don't know why.

Really wish the norm was that companies hosted their own registries for their own usage, so I could justify the expense and effort instead of dealing with registries being half busted kinda randomly.

comment 1y ago · link · parent

Some of this is surely just muscle memory or intertia as well. I remember random config values from when I was trying out linux boxes back in high school that I replicated into files that just don't get touched for decades afterwards.

When was the last time you rebuilt your company's postgres config from scratch?

comment 1y ago · link · parent

Yeah my impression is shortages are generated by everyone buying _just a bit more_ at once given how so much is just-in-time-y

comment 1y ago · link · parent

I believe they could offer the feature and not face the ire of the EU by "simply" documenting the software interface used by the hardware so that third parties can also try and implement it.

Of course then they wouldn't get the ecosystem lock-in they want. In theory. But I know plenty of people who buy Airpods "because" they're "the best", without ecosystem integration considerations.

comment 1y ago · link · parent

The presented TUI is a full UI for simply browing Github, the Github CLI is not that.

Notice how I can list with `gh pr list` but then will need to run a full new command to actually inspect the contents of those PRs. I think an interactive interface would be nice!

comment 1y ago · link · parent

https://cancel.fm/ripcord/ Ripcord isn't exactly this but it's fairly close. Hasn't been updated in 4 years though... when I messed with it in the past it felt nice!

comment 1y ago · link · parent

I desparately want something like this for Github.

I appreciate the value of the web browser providing the universal "quick" GUI (as in "I can open it on most devices and instantly interact"), but for power users I really wish more people were shipping things that helped out people not afraid to learn a bunch of keyboard commands

comment 1y ago · link · parent

> The rare ones show up maybe 1% of the time

Lucky you lol

What I've found is that as you chew through surface level issues, at one point all that's left is messy and tricky bugs.

Still have a vivid memory of moving a JS frontend to TS and just overnight losing all the "oh shucks" frontend bugs, being left with race conditions and friends.

Not to say you can't do print debugging with that (tracing is fancy print debugging!), but I've found that a project that has a lot of easy-to-debug issues tends to be at a certain level of maturity and as times goes on you start ripping your hair out way more

comment 1y ago · link · parent

Apple still has 12 mini batteries in stock, and will for a while.

Might be worth trying to get the battery replaced at Apple.

Extra bonus: while it does cost money in theory, every time I've gotten Apple to replace the battery they end up breaking the screen, so I get a battery and phone replacement for free. 12 mini battery replacements _might_ be de facto free.

comment 1y ago · link · parent

yes they also support python 3.x, are available on PyPI, and are related to operations in the sense of like... infrastructure management and the like.

You have a huge pile of "sysop Python" out there interfacing with various infrastructure providers who are more interested in selling infra usage than getting off of Python 2.

"In order to use our new storage service via our library you need to upgrade to Python 3 first" "ehhhhhhhh kinda annoying"

That interaction has happened in the past. Time marches forward of course but.

comment 1y ago · link · parent

"You have to standardize the format"

"OK we will standardize our serialization format"

It's... I guess malicious compliance, though also if you don't care about interop you're not going to try to abstract away your internal application structures, are you!

I appreciate the standard existing rather than it not existing. Trying to have the standard exist in this way has always felt like an uphill battle, and at least now there's _something_.

Just you will have a better time if you emulate how Office does things. But you have a bit more documentation to go along with it.

comment 1y ago · link · parent

lol granted! But notice how in that universe since npm has to send the link, then access to the link is coupled to access to the email address, serving as an auth factor.

In the attack described above, the attacker did not have access to the victim's email address.

comment 1y ago · link · parent

Oh sure, yeah. My reading of GP's post was that somehow they could pull it off in the US but I must have misread.

I have no dog in this fight, I trust "normal" car companies for my car needs.

comment 1y ago · link · parent

> Keep in mind that these things will be built in Japan and imported. I’m sure Tesla could’ve figured out some way to have an offering the same price or cheaper.

Seeing US salaries and the strength of the US dollar (and the weakness of the yen right now!)... I wonder.

At one point I don't know how you can be competitive with factories abroad. This is where protectionism comes in I guess!

comment 1y ago · link · parent

Was a bit surprised at this, but looking into the packages in a work project that require six, a _huge_ chunk of them are packages that are still explicitly supporting Python 2.7 still (usually stuff related to operations).

I believe if you pay money to certain repo maintainers like red hat you can still have a supported version of Python 2.7.

comment 1y ago · link · parent

I'm a fan of post-facto confirmation. Allow CI/CD to do the upload automatically, and then have a web flow that confirms the release. Release doesn't go out unless the button is pressed.

It removes _most_ of the release friction while still adding the "human has acknowledged the release" bit.

comment 1y ago · link · parent

I have a hard time arguing that 2FA isn't a massive win in almost every circumstance. Having a "confirm that you have uploaded a new package" thing as the default seems good! Someone like npm mandating that a human being presses a button with a recaptcha for any package downloaded by more than X times per week just feels almost mandatory at this point.

The attacks are still possible, but they're not going to be nearly as easy here.

comment 1y ago · link · parent

I don't think that people are like... against unification in principle, but if you are looking at it from the perspective of the State.... lots of pain and money, and at least in the German experience there was plenty of decent state enterprises for West Germany to (glibly) pillage from. People will handwave about North Korean resources, but even those are more or less accessible via China.

And on top of that at the end of the day Germany now has this bloc that votes "the wrong way" in all of its elections. Glib analysis though.

The German split was resolved 35 years ago and is still visible. How much time would a reunified Korea take to equalize itself? If you're a person who cares only about the economics of it all, how long do you think it would take for the payoff of unification to occur? Just seems quite long.

comment 1y ago · link · parent

In the initial era of the split between North and South Korea, South Korea both was run by a bunch of people who had a history of outright killing leftists, and the United States was involved in similar actions.

The lack of serious offramps to reunification, along with not as huge a delta in quality of life between north and south for a long time (aid from other countries sure helps!), allowed the DPRK to establish itself as its own nation.

Now there is the surveillance state apparatus allowing the DPRK to exist in its current form in perpetuity. And even if tomorrow they showed up and said "let's unify Korea", South Korea (even ignoring all the ideological reasons it might not want to) would likely be unwilling to absorb an extremely poor country and pay for it (see the painful experience of Germany's unification).

There is probably no off ramp that exists unless people are willing to let the elite walk away clean from the situation in one way or another, and it seems hard to imagine such a future.

And if you are a north korean elite and you are allowed to travel to northern china, you will see a place where things are running more smoothly, but you're still going to see places with massive amounts of internal controls and restrictions. So who's offering the upside to some regime change here?

comment 1y ago · link · parent

I have this theory that Go tickles people because like Basic or something like Action it has all of these sort of abstraction ceilings that lead to "straight down the middle" procedural code.

Definitely leads to a feeling of velocity. I don't like the language that much but I do get the fun from that feeling!

comment 1y ago · link · parent

My experience has been that it's very easy to flip through a pile of papers, and I tend to "know" where the info is.

The beauty of physical interfaces like for paper is that you really can just flip through a stack while talking to someone and find what you need.

The big thing that I think works well in paper world is simply having things organized chronologically. I often remember around when I collected a piece of info.

comment 1y ago · link · parent

tbh the write path on just paper is so good, and at least for me it's very rare that I need to actually digitize anything.

I just invested in a printer that works and print out a lot of stuff I want to deeply annotate. Otherwise I have the ipad for some other stuff.

I really enjoy eink for reading but it's really a super specific market. Competing against the ipad is tough! The generalist devices tend to get so good that the specialized devices stop being worth it.

comment 1y ago · link · parent

well from Apple's position they're _receiving_ 20 billion dollars a year from Google. It's "free" money, for doing nothing! If they created their own search engine, maybe those 20 billion dollars disappear.

That's the calculus, right?

comment 1y ago · link · parent

Maybe you can, but I had the impression that it would be quite difficult given physically unclonable function-y stuff. Handwave-y and I have no clue if Suica-style payments use it but that was my impression.

comment 1y ago · link · parent

> Apple didn't have a search engine when they created the iPhone, and why would they start? Ever?

I mean Apple Maps happened. Is it the same scale of problem? No, because Street View is harder than search in some sense! In all seriousness it's not the same problem, but it's something.

$20B/year is real money, and I have a very easy time imagining that squashing the idea at all (even if the intent on Google's side is "simply" to maintain dominance, and not squash out competition from Apple specifically)

comment 1y ago · link · parent

My understanding here is that there's less risk of double spends here because of the extreme difficulty of cloning the smartcards involved.

So to execute the double spend you would have to find an authorized card provider, convince them to load and sign your double spend-capable program onto the smartcard (with their signature!), and then be found out within a week when reconciliation is off.

So doing a double spend will be found out, and not only will you be on a bunch of cameras doing the thing, whoever made your card will also have been compromised.

I think that in practice the "eventual" reconciliation is fairly quick nowadays. Just that the offline spend can happen quickly, and then the packet gets sent over the wire maybe a minute later rather than before the spend is approved.

1
192021
225