Better HN
topnewbestaskshowjobs
Log inSign up

rtpg

21,278 karma · joined Nov 23, 2012 (14y ago) · 6,746 submissions

real name: Raphael

blog: https://rtpg.co

email: raphael at above domain

Submissions

comment 1y ago · link · parent

The default is that congress has to confirm _all officers_ in the executive branch, and it's only by delegation through law that you get other behavior. That's my understanding at least.

To my knowledge the Chief of Staff does not have the power to coerce other people to do things directly. Any "actual" coercion would have to go through someone like the President, right?

And my dumb thought is if DOGE is going around telling OMB and Treasury what to do (and seemingly is willing to call the US Marshalls on people who stand in their way) and the head of the OMB requires senate confirmation... well what are we doing here?

There's a bunch of nuance you can play at a micro level (for example, Musk messaging Trump to do a thing and Trump giving an OK), though in that case that's also newsworthy and important, because it properly associates who is responsible for what is going on!

Right now we have somebody who seems to be running rampant doing whatever he wants, and this lack of explicit association with the rest of the executive make it unclear who is actually calling the shots here. And if Trump isn't calling the shots... again, where's the confirmation?

comment 1y ago · link · parent

There's a good amount of evidence that more turnout would help Republicans in general, even before (at least if you applied the "socio-economic voting preference determinism" logic that one tends to apply).

It's good to be against voter suppression because voter suppression is bad, even if in theory it doesn't help "your side". One would hope that doing that work would convince some people you're on "their side", but it's quite nebulous.

comment 1y ago · link · parent

If you look at the Manhattan project org chart and take people randomly at the top, they're all at least in their 40s. "There are young people on the project" is a thing but at the end of the day things like the Manhattan Project are downstream of the will of an entire behemoth (at least in theory attempting to represent the will of the people), balancing various interests and ethical or moral questions that are usually downstream of some experience.

They also have gone through the military chain of command...

I didn't see Musk's confirmation hearing. OMB's head needs to be Senat confirmed, Musk is giving OMB orders and took over their e-mail addresses. Where's the hearing? Where's the confirmation?

comment 1y ago · link · parent

I've had an unpleasant amount of crashes with Rust software because people are way too quick to grab `panic!` as an out.

This was most shocking to me in some of the Rust code Mozilla had integrated into Firefox (the CSS styling code). There was some font cache shenanigans that was causing their font loading to work only semi-consistently, and that would outright crash this subsystem, and tofu-ify CJK text entirely as a result.

And the underlying panic was totally recoverable in theory if you looked at the call stack! Just people had decided to not Result-ify a bunch of falliable code.

comment 1y ago · link · parent

I think the 3D part is fine, it's more "all of physics" coming into play with a plane. Like bird strikes, engine failures, trying to decide how to handle that. What is the loss function the AI is supposed to apply if an emergency landing is needed?

And then if you have people flying the planes, you have to deal with people mostly _but not always_ doing the right thing. So now you build out a plan and have to deal with consequences of that.

So at the end of the day you're still looking at funneling humans into a thing. At worst you could consider ATC as "customer support", there to press buttons on machines to actually handle a bunch of logistics because the pilots need to figure things out.

On top of all of this, airports are trying to get through a lot of flights quickly. So people can make snap judgements about whether planes can or cannot advance, what they should do, etc. No matter how well your plan is, the instant a pilot mishears something it's over.

If we can figure out self-driving cars, maybe we can talk about replacing pilots with AIs. But in the meantime there's somebody not following the plan often enough.

This does lead to an interesting question for me, though: what is the biggest "human movement" system that is actually entirely hands-off logistics? I would imagine that postal service companies are doing a lot but every major person moving operation seems pretty hands-on from the outside.

comment 1y ago · link · parent

This is a bit environment dependent is my impression. Like France and Japan both have enough people shitty at English to generate either translations or home grown programming learning material to fight against this barrier. But my impression is that, like, a German programmer isn't getting far in life without being comfy reading stuff in English

comment 1y ago · link · parent

I kind of agree, though at least Django with type stubs gets me 95% of the way there.

At the end of the day I end up writing a service layer over everything so I'm not super bugged by most of this. But it's busywork when first starting up a project.

comment 1y ago · link · parent

I am not part of the DSF or anything but I can say with a good amount of confidence that the answer to this is “No”.

Moving to a Pydantic-style model would be a whole different ballgame. Hell of a lot of work, and meanwhile we can’t even really get to “let’s have type hints in some of the Django infernals”.

But! I do think someone who wants to have fun could try to build a type hint based Model subclass as a third party lib! There’s a looooot of stuff to resolve in that world but for any proposal like that the general vibe is “prove the feasibility with a third party package first”.

comment 1y ago · link · parent

I feel like the 174 issues might be more painful for smaller teams? Like if almost all your costs are in salaries, and you bring in a new person, suddenly you're booking profits despite not having cash profits?

That was my understanding, at least. That R&D salaries make this all weird.

comment 1y ago · link · parent

Eric going for the Steve Jobs speedrun. Risky but interesting to see how it plays out!

comment 1y ago · link · parent

There's a wonderful book on Mathematical counterexamples in French[0], meant for undergrad/engineering school hopefuls.

So many of the continuity counter-examples are throwing Weierstrass at the wall and getting something to stick. It's fun but also feels a bit like cheating.

I do recommend this book for any french-speaking mathematician-adjacent person though. Real great dictionary for remembering why certain things only work in one direction.

[0] Les contre-exemples en mathématiques: https://www.editions-ellipses.fr/accueil/5328-les-contre-exe...

comment 1y ago · link · parent

Totally! It's a legitimate thing! I just wish that I had more tools for dynamically providing this information to CI so that it could work better but I could also write relatively general tooling with a general purpose language.

The ideal for me is (this is very silly and glib and a total category error) LSP but for CI. Tooling that is relatively normalized, letting me (for example) have a pytest plugin that "does sharding" cleanly across multiple CI operators.

There's some stuff and conventions already of course, but in particular caching and spinning up jobs dynamically are still not there.

comment 1y ago · link · parent

As somebody who has had stuff from my blog hit #1... if you write interesting technical content and have a straightforward path then it usually gets rewarded.

Hell, even the example article would have probably gotten as much (if not more!) traffic by being titled "you can cross your eyes to solve find-the-difference puzzles".

Stop trying to trick people into reading your content. Write something mildly interesting, and post it.

comment 1y ago · link · parent

The classic Cantrill bit about not anthropormphizing Larry Ellison applies to a lot of tech CEOs.

Thing is Larry Ellison doesn't write blog posts acting like he's a philosopher. Some tech CEOs really position themselves as arbiters of culture and it just feels more and more like trying to transfer their tech/business positioning into a cultural one. I do not like it!

comment 1y ago · link · parent

The actual subtle issue here is that sometimes you actually need CI features around caching and the like, so you are forced to engage with the format a bit.

You can, of course, chew it down to a bare minimum. But I really wish more CI systems would just show up with "you configure us with scripts" instead of the "declarative" nonsense.

comment 1y ago · link · parent

> The Chinese government wants Europe and the US to fall to them. The good does not outweight the bad, in my opinion.

Do you believe this in your heart? Or how about this: do you believe that Europe wants China to fall? Or that the US wants China to fall?

I feel there’s some uncontroversial stuff like China wanting absolute control over messaging about itself, in the context of avoiding organized resistance in its internal affairs. And it goes to extreme measures to do that.

But (glibly) “we want no criticism to be mentioned of us” does not lead to “we want the US to collapse”! There’s a whole texture to the Chinese position here, one that is different from, say, Russia actually taking more or less direct control of various places during the Cold War.

887.

Next.js 15 Server Crash(github.com ↗)

2 points · by rtpg · 1y ago · discuss

comment 1y ago · link · parent

I think you could build off of threading. I do think here it's good to acknowledge that Python async is fundamentally single-threaded (or rather, "single thread per event loop"), so if you do go a multi-thread version you might have to do some bookkeeping to make it all work well.

I'm not sure how well async Python libs are tested against working in a world with multiple event loops, but I bet there are a _lot_ of latent bugs in that space.

comment 1y ago · link · parent

You really should dive more into the `multiprocess` support option and highlight how this gets around issues with the GIL. This feels like a major value add, and "does this help with CPU-bound work" being "yes" is a big deal!

I don't really need pipelining that much, but pipelining along with a certain level of durability and easy multiprocessing support? Now we're talking

comment 1y ago · link · parent

Perhaps by spending the money they have on things to make their society more future-proof, they will be able to prepare for this future. Pollution is not fungible so there could be an argument against digging up more fossil fuels for this preparation, but if you are cynical and think purely in economic terms there is no latent hypocrisy here.

If we get to a world where fossil fuels are worthless, then society as a whole will likely be in a world unrecognizable from our own, and problems would likely be thought of in a different way.

comment 1y ago · link · parent

It's helpful as a way to publish minimal reproductions of bugs and issues in bug reports (compared to "please clone my repo" which has so many layers of friction involved).

I would want distributed projects to do things properly, but as a way to shorthand a lot of futzing about? It's excellent

comment 1y ago · link · parent

And of course if you come across an inelegant proof you suddenly have the opportunity to think about it and see if you can make it more elegant!

comment 1y ago · link · parent

> libfive is 40K lines of mostly C++, and is extremely challenging to hack on, even as the original author. It's also frustrating to touch: if it's been a few months since I last compiled it, it's inevitable that the build will have broken, and I'll have to mess with CMake for 10 minutes to unbreak it.

I'm a bit shocked at this. Is build breakage that much of an issue? Is this "we are merging in patches and then fixing them up later"? Why would something not being touched break?

1
293031
225