HNHacker News
TopNewBestAskShowJobs

rtpg

21,233 karma · joined November 23, 2012

real name: Raphael

blog: https://rtpg.co

email: raphael at above domain

submissionscomments
rtpg··on Improper redaction reveals Google Data Center water and electricity usage
Median US household water usage is 130 gallons per day according to Wiki.[0]

So ~280 households worth of water? Though the US seems to be on the high end, using 3x more than Japan and 4x more than France (according to a random website)[1]

To state the obvious most people are not running big faucets all the time, and in fact are using way less.

It seems like a bit of a self-own to not just use household or per-capita usage here to prove a point though.

[0]: https://en.wikipedia.org/wiki/Residential_water_use_in_the_U... [1]: https://www.worldometers.info/water/

rtpg··on Why don't more developers “use the platform”?
I don't think React pretended like they've invented FP, and I've always heard them be pretty open about FRP work existing in the past and them leaning on it.
rtpg··on Why don't more developers “use the platform”?
This issue remains true even with the JS "wrapper" elements.

The number of times I have senen frontend people pull in some frontend component from a library (say, for fancy select widgets) and then have to spend a bunch of time trying to fight the existing bugs in that... and then struggle to swap it out later on for another library with a distinct set of bugs...

UI is hard, so it's hard to have a general thing fit _your_ specific purposes nicely. This is why I think it's super valuable to wrap things you can't control easily. That way you both document what you _do_ use, can fix issues at a bit of a higher level, and can swap out the internals way more easily.

People fight back on me on this on so many projects (the most recent thing: "the LLM won't know about our special UI component" IT WILL! IT CAN READ THE CODE!), but then hit those moments of regrets and end up wrapping stuff anyways.

Especially annoying coming from people who talk about design systems. A base vocabulary is a real good way of enforcing a design system!

I mean this relatively lightly, I understand the qualms at a high level, and coming up with the right abstraction is a skill. I've just felt the burn too many times and have very little issue coming up with very limited abstractractions and relying on tech debt to get my wrapper components out into the world.

rtpg··on StreetComplete on iOS is now in public beta
OP's comment:

> it's basically a highway with no sidewalk would not matter.

"Basically a highway" and "a highway" is different!

In my experience all highways have markings explicitly banning walking (among other things). So it sounds like OP was making a judgement call based on the fact that there's no sidewalk.

I have the unfortunate experience of walking alongside certain roads without sidewalks. It's not fun by any means but I wouldn't want OSM to outright say that it's not walkable.

Of course it maybe "actually" was a highway.

rtpg··on Micron CEO Says Memory Supply Will Be Much Tighter in 2027 and 2028 Than in 2026
All three of those companies were convicted in a price fixing scandal.

I feel like it's "obvious" that it's not particularly in the interests of these companies to increase production in the current environment. Except perhaps in the long term "we don't want to get nationalized" or something, I suppose.

Personally I do not think think that they are dragging their feet extremely intentionally, but I do think they are structurally incentivised to do so.

rtpg··on Micron CEO Says Memory Supply Will Be Much Tighter in 2027 and 2028 Than in 2026
> 2 years is not remotely enough time to spin up a competitor. It's not even enough time for a current leading competitor to spin up another fab.

A thing I heard from a friend who works in at one of the largest providers of production machines in this space: they have the machines and for some slices of the market they could basically ship them to a new fab next week. The problem is more in the installation (since the installs themselves are complicated), where they're basically limited by not having enough people to go around and _do the installs_.

It's really funny to think about how the bottleneck is so deep in the chain.

rtpg··on Tcl/Tk 9.1
Anyone have fun stories of things they built with tcl/tk? I feel like there's still room for tiny apps with it in theory, but I tend to have the problem of wanting to stuff "arbitrary rich text" into my things (-> web tech suddenly works quite well)
rtpg··on Dots: Always-on agents
In your mind why do people use computers? The universe is filled with non-technical people who not only have laptops but even go out of their way to buy docks and huge screens and ergonomic keyboards etc

Now, lots of those people have all the data "in the cloud" (a trend that's been around for a very long time), but the actual mechanism for interacting with things exists, right? People want a large screen just to read things.

At one point all the AI churning is supposed to lead to _some_ output for _someone_ right?

rtpg··on Parley: Federated, decentralised chat that speaks plain IRC
I will say that the middle layer is not great. I have an XMPP bot and the "interaction with the network" stuff really is ugly and unfun.

I think the protocol itself is... I mean it's fine, I guess? Protocols are tricky because a lot of stuff is bolted on and it's not really super stateless as a protocol. But like all the Python XMPP client libs (for example) are all real janky.

The protocol is complex enough to where the "simple and easy" client libs require way more up front design.

rtpg··on What I did at Recurse Center
Not super aware of what Djikstra's work on concurrency you're referring to are. I've had to try to implement things from CS research papers directly and have always had a _bit_ of trouble (disclaimer: I'm dumb), and appreciate this book getting down to the implementation details in a bit of a fool-proof way.

Of course this book is a bunch of "research papers" stapled together in some sense but the act of curating is quite nice

rtpg··on When did Google get so weird?
I'll throw out that duck duck go has been "good enough" for me for many years now. I set it as my default and am not confronted with most nonsense like this. There's still some stuff, but way less of it.

Takes 15 seconds to change defaults on the various devices. Sometimes DDG doesn't find the thing and I put "!g <search term>" and it'll throw me to google, so I still find what I need

rtpg··on What I did at Recurse Center
> This included what was probably the most interesting part, writing the tricky recursive code to implement the match statement.

Back in school I found this book[0], "The Implementation of Functional Programming Languages". Flipping through it was very neat because it kinda demystified the nuts and bolts of implementing the "fancier" functional programming features for me.

Chapter 5 is about implementing pattern matching.

You read this kind of stuff and realize how easy things become when you just tackle a problem with the right mindset and abstractions. And this is a book from 1987! We've always had decent answers for a lot of the stuff.

I think it's interesting to flip through if you're a language implementer, though helps to be comfortable with reading some stuff sideways and not understanding every detail.

[0] https://simon.peytonjones.org/assets/pdfs/slpj-book-1987-sea...

rtpg··on Goodbye Google
Is this a real thought?

I think people with objections to googles business model simply don’t join the company in the first place. We’re decades from Google+ and other various “oh maybe Google isn’t perfect” events, the advertising is a known entity.

There has been a shift, and people are reacting to it

rtpg··on My weird new hobby: Wandering around Tokyo on Google Maps
Yeah I feel like NYC is a good parallel. It's "America" but it's also very much its own place

> Tokyo is big enough that you rarely have to leave and see the rest of the country. I don’t think we have to judge countries by their countrysides.

Go see the rest of the country, it's nice! Well, I like Nagano at least. Good opportunities to go touch grass a bit.

rtpg··on Rails World 2026 Opening Keynote [video]
> When wolves get out of control, you shoot them. When gypsies take over public spaces, you deport them. This isn't hard, it isn't cruel. It's the basic logic of self-preservation.

Think about why he compares gypsies to wolves, and talks about "self-preservation".

You might want to be pedantic and try to say he's not comparing them to wolves. He is the one who put those two sentences next to each other. You can choose to ignore the thing that feels obvious to others.

I know a lot of people are decently close to DHH in their feelings on this issue. I think that being publicly loud about these opinions that most people keep to themselves simply leads to wondering what his _actual_ deep opinions are. Think about what you say in private compared to what you say in public, and consider that he is writing in public.

A sentiment being common or not is a bit besides the point about whether it's authoritarian or fascistic or whatever.

If you remove the context and the implication from his post, you can make the argument that it's "just" a post saying "enforce immigration laws".

The problem is that the context and the implications are part of his post. He is communicating who he is and what he believes, and for you it's mostly a question of whether you're going to listen to it.

This whole line of discussion is had about DHH in particular decently often, and I find it kinda funny because even beyond all of this I've always heard that he's just kind of a disagreeable person anyways. But I suppose this industry pulls in a certain kind of annoying person.

rtpg··on My weird new hobby: Wandering around Tokyo on Google Maps
I think a lot of that is more "Tokyo" than "Japan" though. My general experience outside of the metropoolis (and even within Tokyo proper, there are good chunks that are properly dead beyond a certain time) is that the evenings are nice and dark.

This isn't even really limited to the countryside, plenty of decently large cities will have most all of their evening activity be focused on a handful of streets.

This is fine, of course! I do think a lot about how much of the image of Japan is mostly the image of Tokyo itself. Not the largest city in the world anymore but quite close.

Tokyo is def very cool though. Huge city that you can actually move around in easily enough means that no matter how microscopic of a subculture you belong to there'll be _some_ people out there in the same category. And very fun to walk around in. Really a great joy to just be able to walk in the middle of a street and not really worry about cars.

rtpg··on Ideas on modernizing the open-source desktop
What does your logging situation in particular look like? Pretty curious to experiment with my idea more deeply
rtpg··on Ideas on modernizing the open-source desktop
Yeah I definitely understand the value of the stateless desktop.

I do think that, for example, the fact that browsers hold history is generally a useful thing, though, right? For me it's less about persisting the application state itself as it is about holding onto metadata for later inspection.

rtpg··on Ideas on modernizing the open-source desktop
Yep.

There's also a thing of wanting "http referer"-style things but at the desktop. I want things that tell me _from where_ I clicked into a page in the browser (like "oh you got here from Slack (at this spot)"

Desktop history, clipboard history... all associated to certain contexts. Would be quite nice IMO

rtpg··on Ideas on modernizing the open-source desktop
> He talked about the desktop building blocks, basically the familiar WIMP model plus the desktop clipboard, as the way that users move data around. Expert users can move data around quickly, he said, but there's a problem: the desktop is stateless. He called this the curse of direct manipulation; there is no working memory to the desktop. ""If you copy a few too many things to the clipboard, oh sorry, it's gone"". > > Jenson theorized that the reason there are so many desktop environments, window managers, and Wayland compositors for Linux—as well as alternative clipboard managers—is because the desktop isn't quite working right for users. He thought it was really about working memory: ""How do I manage my data in such a way that I can remember it across all of these things and actually use it."" His perspective shifted to asking ""what would we do to working memory to improve the desktop UX?""

I feel this so much.

I think that there's a "better" windowing system where all of your stuff sticks around way more than it used to. Clipboard history, but also just "oh you have these windows open while working on this task".

People have really leaned into coding harnesses + chat windows as a way of grouping together work. I think there's a more general idea in this space. Don't make me explicitly keep track of things, just hold onto it all for me!

There's some universe where my desktop is basically a Notion-like thing, and I can just throw things into semi-persistent workspaces (that I close out when I'm done). Desktop Environments that make this work nicely will be quite cool IMO

(A simple and dumb version of this is the BeOS "group various windows together, even though they aren't from the same application" stuff. Very cool stuff IMO

rtpg··on Tokens too cheap to meter
I don't know about the malleable software claim. Sure, people can build out their own thing. Malleable software in itself requires software that is designed to be malleable in the first place.

And perhaps people will not be willing to accept the initial friction that malleable software brings (see people who complain about Emacs or Salesforce or JIRA)... and end up just kinda churning indefinitely on re-implementing things over and over again.

"Internal IT teams" striking aback against SaaSes, perhaps. We'll see

rtpg··on Tokens too cheap to meter
I think it's an interesting thought experiment: could an LLM call be a "cheaper" grep?

Especially for deterministic activities it just feels impossible to imagine general LLM tech handling the problem better, despite everything being said.

But hey, tech is filled with "smashing the generalist hammer works better than the specialized tooling". Would be odd though!

rtpg··on Microsoft killed FoxPro in 2007. Anyway, here's FoxPro revived
Qt Quick and Qt Creator isn't RAD per se but I feel like it gets you close.
rtpg··on Attention is all you have
I use my bookmark tab. I am not particularly interested in storing a copy of almost any of the links I have in my bookmark tab (why would I want a copy of some Grafana instance?)

I do get that for some people it's about research and collecting documents. For me it's basically "quick access to the most recent version of the thing at this URL"

rtpg··on AI coding has made CI a bottleneck, so we reworked ours to keep up
to be fair all CI providers I've had the pleasure of working with have gnarly performance profiles for the boxes they provide.

I don't think it's out of malice, but I do feel uncomfortable with the fact that the people who sell me the CI coordination software also sell me the minutes for the boxes that run the CI software. There's _some_ alignment of interests but not as much as I would want!

rtpg··on Samsung is expected to more than double output of its HBM4 and HBM4E DRAM
The same major memory makers got prosecuted for cartel behavior by the DoJ a little over 20 years ago[0].

One might say "well what specific law have they broken" and I don't know and I don't know if they have, but at the very least the power of the State _could_ be used to force behavioral changes in some ways or another.

[0]: https://en.wikipedia.org/wiki/DRAM_industry_price_fixing

rtpg··on What happened to the Snowden archive
This article linked back to the intercept's snowden archive articles [0], and while this article paints the Intercept in a bad light it lead me to reading a couple of these.

While I heard many of the headlines the reporting is very in depth, including a bunch of smaller details worth poking into. I'd recommend people who are interested and who haven't done so yet to just read a couple of these.

[0]: https://theintercept.com/series/snowden-archive/

rtpg··on Resident Evil 4 (GameCube) – complete byte-identical decompilation to C/C++
I didn't say they were wrong, I said they were not high-quality.

Every company works in their own way, but I highly doubt the original source would have a big paragraph at the top instead of a more "structured" comment. Or maybe even nothing at all!

Here's a "counterexample": the pistol code for half life 2[0]. Comments are pretty sparse because it's all relatively self explanatory. The comments that are present are to point out things that are not so.

You end up with something that's easy to work with and where you're not trying to read a paragraph of text that enumerates a bunch of properties of the code in the file in no particular order.

Some things are important context for the whole file. Some things are important context for a fragment of code. Some things ... are simply not that important to note.

[0]: https://github.com/ValveSoftware/source-sdk-2013/blob/master...

rtpg··on Resident Evil 4 (GameCube) – complete byte-identical decompilation to C/C++
the comments are really not high-quality. There's a lot of words in places where only a few would be much clearer.

This isn't to say it's impossible to guide good context-aware commenting style from.an AI, but there would be much terser/usable comments on all of the weapons source for example.

The biggest problem with this stuff is, as usual, that the people guiding the AI don't know what "good" decomps etc look like IMO. AI tool usage tends to reflect ones own tastes and understanding.

rtpg··on What Zig felt like, coming from Rust
I don't think they just used it for styling unfortunately, the entire thing felt like this.

Why can't people just write shorter bullet pointed lists of things and post that? Just post what you put into the AI!

← PreviousPage 2 of 34Next →