Better HN
topnewbestaskshowjobs
Log inSign up

rtpg

21,270 karma · joined Nov 23, 2012 (14y ago) · 6,736 submissions

real name: Raphael

blog: https://rtpg.co

email: raphael at above domain

Submissions

comment 7mo ago · link · parent

Can we just make a one-pager instead of this nonsense LLM bullet pointed list that is explaining this issue to your pointy-haired CEO instead of to sysadmins who understand the badness in 3 lines? Yeesh

comment 7mo ago · link · parent

Clojure allows for that, giving you neat hot reload capabilities when working in Clojurescript. I believe Emacs Lisp works the same way, and allows for fairly fluid debugging sessions.

Universal hot reload is really a messy beast though. For every "yeah we can just reload this without re-init'ing the structure" there's another "actually reloading causes weird state issues and you have to restart everything anyways" thing.

I've found that hot reloading _specific targetting things_ tends to get you closer to where you want. But even then... sometimes using browser dev tools to experiment on the output will get you where you want faster than trying to hot reload clojurescript but having to "reset" state over and over again or otherwise work around weirdness.

I think this flow works well in Emacs though because you're operating on an editor. So you can change things, press buttons, change things, and have a good mental model. Emacs Lisp methods tend to have very little state to them as well (instead the editor is holding a bunch of exposed state).

Meanwhile React (for example) has _loads_ of hard-to-munge state that means that swapping one component for another inline might be totally fine or might just crash things in a weird way or might not have anything happen. Sometimes just a full page refresh will save you thinking about this

comment 7mo ago · link · parent

Python is not Lisp, but jumping into a Python REPL in a halfway-run program and poking at the internals easily is _very_ useful as a debugging tool, quickly getting you answers on some messier programs.

It's a shame that other scripting languages that theoretically have the capabilities to do this don't do this (looking at you, node! Chrome dev tools are fine but way too futzy compared to `import pdb; pdb.set_trace()` and "just" using stdin)

I do also use Emacs, and with Emacs Lisp `trace-function` means you can very quickly get call traces in your running instance without having to pull out a debugger and the like. Not like you can't trace functions with `gdb` of course. But the lowered barrier to entry and the ability to do in-process debugging dynamically means you just have access to richer debugging tools from the outset.

comment 7mo ago · link · parent

The lack of naming seems to indicate a fundamental misunderstanding of how LLM coding agents are successful, and just makes me doubt anything about this project being useful and workable.

comment 7mo ago · link · parent

LA proper seems to have a density of 3000/km^2 according to Wikipedia

A perhaps more interesting use case is the utsunomiya light rail. Utsunomiya has a density of around 1200/km^2.

What they ended up doing was building a new tram with exactly one line. The main thing they did was make sure the tram comes frequently, including off peak.

End result is people rely on the tram line and the tram is making good money, being operationally profitable (still gotta pay back construction costs of course).

Utsunomiya is obviously not exactly greater LA, but Utsunomiya has on average 2.25 cars per household[0]. It has traffic issues and people feel the need to own a car. And yet the tram line is finding success because transportation is a local issue, not a global one!

You can solve for transportation issues in crowded areas. Few reasonable people are lamenting that you don't have a train between madison, WI and Chicago every 15 minutes. Many are simply lamenting that even at a local level PT in many places is leaving a lot on the table despite there being chances of success!

Smaller focused PT has proven itself to work time and time again, and compounds on other PT projects in the area.

[0]: https://www.pref.tochigi.lg.jp/english/intro/overview.html

comment 7mo ago · link · parent

> California spent 15yrs trying to build a high speed train and failed.

It has to be said: even in Japan train projects are multi decade projects.

Is Cali HSR stopped? I can imagine it being slow but I wonder if it's 10x slower or "merely" 3x slower.

comment 7mo ago · link · parent

I really worry about a bunch of people going over to codeberg. Site's already super slow, but apparently it's quite nice when self-hosted

Anyone who is able to just plop a forgejo instance on their own machines... please do that if possible!

comment 7mo ago · link · parent

The world-class script munging capabilities and rapid prototyping capabilities of C, combined with the durable performance of your favorite scripting language. A match made in heaven for operational scripts

comment 7mo ago · link · parent

you don't have to name your forge after the VCS it's based off of.

comment 7mo ago · link · parent

> After a $75 million fundraising round led by U.S. venture firm Benchmark in May 2025, Manus shut its China offices in July, laying off dozens of employees. It then moved its operations to Singapore.

The company itself was based in mainland China less than 12 months ago.

comment 7mo ago · link · parent

yeah I was thinking of the foil stamping etc... maybe it just looks fancier to me (and hence why they do it I guess??)

Japanese paperbacks tend to use dust covers instead. Dunno if that's cheaper or not, but it seems like it.

comment 7mo ago · link · parent

> books are cheaper than a Doordash meal or a computer game we buy and never finish. Would the average person really read more books if they were $4.99 instead of $29.95?

As a data point I'm reading some series I enjoyed the first 2 volumes of. I just picked up the next 7 ones because they were there and each of em were ~$5. Wouldn't have done that if they were $30, and I'm not guaranteed to get to the end!

comment 7mo ago · link · parent

Japan and France to me stand out as places where pop culture-y books are really fairly priced. And both of these are places where there are established printing formats that don't try to make the books huge.

Walking around in an Australian bookstore at least I am still a bit flabbergasted by how everything is printed to be huge, everything a slightly different size, lots of paperbacks with glossy covers etc.

Not that I think this is a "cost of materials" thing in itself. But it all compounds on itself to where now a bookstore is huge to have just some random nonsense, and people will probably buy 2 instead of 3 books.

I agree that books are probably not "too expensive", I just wish that the mass market paperbacks would be smaller more straightforward and less of a precious little item.

To anyone interested in this stuff and in Tokyo(... well, Saitama), the Kadokawa Culture Museum [0] is ... probably the biggest building commemorating a publishing house in the world? The pictures don't do it justice, the building is ginormous.

But in it there's a bit of a (corporate approved) history of Kadokawa built into the museum. Their core thing that found them success: standardising a small pocketbook format for printing their books, having almost everything print to that size, with the same font etc, and selling it at a low enough price that college students could buy more books than they could ever read.

Printing all your cheap stuff in A6 sizes mean you can have a _loooot_ of books at home before worrying about much.

[0]: https://maps.app.goo.gl/G5U9S1dit2KJvEQVA

comment 7mo ago · link · parent

I legit think this is the biggest danger with velocity-focused usage of these tools. Good patterns are easy to use and (importantly!) work! So the 32nd usage of a good pattern will likely be smooth.

The first (and maybe even second) usage of a gnarly, badly thought out pattern might work fine. But you're only a couple steps away from if statement soup. And in the world where your agent's life is built around "getting the tests to pass", you can quickly find it doing _very_ gnarly things to "fix" issues.

comment 7mo ago · link · parent

Are you writing code that gets reviewed by other people? Were code reviews hard in the past? Do your coworkers care about "code quality" (I mean this in scare quotes because that means different things to different people).

Are you working more on operational stuff or on "long-running product" stuff?

My personal headcanon: this tooling works well when built on simple patterns, and can handle complex work. This tooling has also been not great at coming up with new patterns, and if left unsupervised will totally make up new patterns that are going to go south very quickly. With that lens, I find myself just rewriting what Claude gives me in a good number of cases.

I sometimes race the robot and beat the robot at doing a change. I am "cheating" I guess cuz I know what I want already in many cases and it has to find things first but... I think the futzing fraction[0] is underestimated for some people.

And like in the "perils of laziness lost"[1] essay... I think that sometimes the machine trying too hard just offends my sensibilities. Why are you doing 3 things instead of just doing the one thing!

One might say "but it fixes it after it's corrected"... but I already go through this annoying "no don't do A,B, C just do A, yes just that it's fine" flow when working with coworkers, and it's annoying there too!

"Claude writes thorough tests" is also its own micro-mess here, because while guided test creation works very well for me, giving it any leeway in creativity leads to so many "test that foo + bar == bar + foo" tests. Applying skepticism to utility of tests is important, because it's part of the feedback loop. And I'm finding lots of the test to be mainly useful as a way to get all the imports I need in.

If we have all these machines doing this work for us, in theory average code quality should be able to go up. After all we're more capable! I think a lot of people have been using it in a "well most of the time it hits near the average" way, but depending on how you work there you might drag down your average.

[0]: https://blog.glyph.im/2025/08/futzing-fraction.html [1]: https://bcantrill.dtrace.org/2026/04/12/the-peril-of-lazines...

comment 7mo ago · link · parent

There are definitely slightly annoying variants of this of "ah the program does its job in 200ms but takes 5s to shutdown timing out trying to send telemetry data". Especially annoying on CLI programs.

I have been unpleasantly surprised by several programs outright crashing when not being able to send telemetry data consistently. Though this has usually been when the connection is a bit odd and it is able to send through _some_ stuff but then crashes when it fails later.

comment 7mo ago · link · parent

I’ve used freezetime (Python) a decent amount and have experienced some very very very funny flakes due to it.

- Sometimes your test code expects time to be moving forward

- sometimes your code might store classes into a hashmap for caching, and the cache might be built before the freeze time class override kicks in

- sometimes it happens after you have patched the classes and now your cache is weirdly poisoned

- sometimes some serialization code really cares about the exact class used

- sometimes test code acts really weird if time stops moving forward (when people use freezetime frozen=true). Selenium timeouts never clearing was funny

- sometimes your code gets a hold of the unpatched date clsss through silliness but only in one spot

Fun times.

The nicest thing is being able to just pass in a “now” parameter in things that care about time.

comment 7mo ago · link · parent

there is something bitterly ironic about iPods (and their "sync" system to basically disallow arbitrary loading and sharing of music and "just" dropping music onto it) being now considered an example of an open device.

comment 7mo ago · link · parent

Apparently they’re listed but people aren’t biting? Though this was a while back so maybe things have changed

comment 7mo ago · link · parent

if you have roads shared with pedestrians and cars (and bikes!) you can build denser cities.

I lived real downtown in Tokyo and my street was like "1.5" lanes wide (if cars were coming in both directions one basically needs to pull over and stop). I could just walk in the middle of the street. There was no sidewalk. No street parking of course. Cars would drive down at 15km/h or whatever, and slow to a crawl if people were in the street.

Straight lines are efficient walking routes, and ... well... that might involve just crossing the street directly! Every layer of grade separation gets in the way of that.

End result of all of this is less pavement to maintain, slower drivers (-> safer!), good walking and cycling conditions, etc etc etc.

comment 7mo ago · link · parent

I don't believe there are residency requirements to ownership so the people doing that do not need to go through this flow at all. Just an entirely separate issue, though it might be tackled.

I do have the impression Tokyo is getting similar dynamics to the rest of the world on this front: builders don't care where the money is coming from and so if money from outside the country can get buildings built they're happy.

A friend of mine moved into a sold-out Yokohama tower mansion recently... and despite the bike and car parking being fully booked even more than 6 months in it was _quite_ empty. I have a feeling a lot of people are buying into the market expecting to get easy rental money and not really seeing it.

comment 7mo ago · link · parent

If its any solace the screen is very good and the build quality is very high. You also just get a good set of games "for free" as part of the system.

I do think it's beyond "impulse buy" for sure, though.

comment 7mo ago · link · parent

this has been my sort of big tent alignment with AI people. If I'm getting good CLI tooling that _actually works_ (or fixes to existing ones that have been busted forever) then I'm pretty happy.

Things that make systems more understandable to the LLMs ... usually make things more understandable for humans as well. Usually.

The biggest issue I've found is that vibed up tooling tends to be pretty bad at having the right kind of "sense" for what makes good CLI UX. So you still have awkward argument structures or naming. Better than nothing though

comment 7mo ago · link · parent

Was kinda curious about the pricing and honestly the pricing[0] seems like one digit less than I expected. 10k JPY for the number, then 1k JPY per some of the various options (stuff like routing seems to be literally "we set up a phone tree and at the end of the phone tree we just dial a number you give us")

So it sounds like in the end you need to pay 10k JPY per queue + an extra bit of money to wire it all together. Maybe with Twilio you can set up something similarly fire-and-forget but "I explain to Docomo once how to set up my phone tree" sounds nicer than "I set up a twilio... thingy".

I'm sure somebody out there has at least considered being the layer over Twilio that just offers some of these straightforward services... but... toll-free numbers on Twilio cost 27 cents a minute in Japan. Sounds real close to that 33 yen.[1]

[0]: https://www.ntt.com/business/services/voice-video/freedial-n...

[1]: https://www.twilio.com/en-us/voice/pricing/jp

comment 7mo ago · link · parent

"jj new" is like "I'm going to make some changes", then you do "jj squash" to say "OK these look good enough to commit".

If you work this way you're "always" in a WIP state. And if you switch to another spot you won't lose your work, cuz it's persisted.

The end result if you work like this is you don't need stashing, since you get "free" stashing in your commit tree, which is more likely what people want (and if it's not... rebasing is easy so just move the node/`jj duplicate` it!)

`jj edit` exists but I think it's just not what people want in the default case at all. In exchange: rebasing "just works", stashing is not a thing to think about, and you don't lose your work

comment 7mo ago · link · parent

yeah interdiffing and being able to cherrypick in a review just there and getting it done is nice.

Perhaps a future iteration of this feature will at least allow us to do something like merge just steps of it if they can be reordered.

comment 7mo ago · link · parent

Is the problem here that everyone wants a different like 45% of the S3 API? Or is it that minio sucked all the oxygen out of the air in this space by being good at this, and now we need something else to show up?

comment 7mo ago · link · parent

For hardware acceleration you might be interested in the remote hardware acceleration strategy...

https://jellyfin.org/docs/general/post-install/transcoding/h...

The jellyfin DB itself is unfortunately sqlite instead of being DB agnostic. Maybe you could hack together something such that only one node handles writes and everyone else handles reads... if getting multiple cheap nodes gets your more bandwidth. I have to imagine that jellyfin fairly quickly stops being in charge of the media stream directly.

But yeah I think the transcoding and the size of your data pipe is the only "hard" part. The DB read/writes themselves are going to not be an issue (I think)

1
91011
225