Better HN
topnewbestaskshowjobs
Log inSign up

rudedogg

2,348 karma · joined Feb 15, 2013 (13y ago) · 672 submissions

Submissions

comment 1d ago · link · parent

It would be better to call it zgpui, zed-gpui, or Dear GPUI.

I feel like naming a library after either GPUI/GPUGUI make talking about this technique difficult. And the technique didn’t originate in this library.

comment 4d ago · link · parent

And yet somehow Anthropic and OpenAI manage to do it

comment 2w ago · link · parent

Almost every GUI toolkit does this, it’s nothing React specific. And with the browser you have to know all sorts of complexities to know what it’s actually doing (is this change going to cause a full layout, full paint, etc.)

Personally I think most of the abstractions we’ve tried around GUIs don’t work, and old school frameworks like AppKit are better. They just need some DX love since programming has evolved so much.

comment 2w ago · link · parent

> Python doesn't have a BDFL

Thanks, I relinquish that point and accept it as a success story for BDFL succession instead.

comment 2w ago · link · parent

> BDFL neither scales nor perseveres. People have multiple things competing for their time and attention. They get old. They probably want to retire eventually. Eventually they die. If you want something to last more than a decade or two, BDFL is a poor choice.

Well I mean you're just wrong, you can look at any of those languages (or https://en.wikipedia.org/wiki/Benevolent_dictator_for_life). Python is over 30 years old and it's going fine. You don't see people ragging on Guido everywhere. But everyone pokes fun at the C++ committee and the wacky shit they cook up.

Design by committee just sucks. Coordinating and working with people is expensive, and a drag. If you have to, you have to, but for many projects you don't and shouldn't. An individual's design is always going to be more cohesive, and we can see it clearly looking at PL history IMO.

comment 2w ago · link · parent

> not having such a governing body leads to either divergence or stagnation

Or you do the BDFL model like Python, D, Zig, Odin, etc.

I think it works better. A language that reflects the vision of an individual deeply thinking about the interactions of language features, and being able to say "no" to anyone/everyone has many benefits.

Committees make me think of the Web, C++, Swift, etc., and they have a lot of "odd" decisions that have had a heavy cost. Swift has https://www.swift.org/swift-evolution/, but a lot of ideas with minority support were pushed through by Apple (for SwiftUI mainly), against overwhelming community feedback.

And the Web has had a lot of "duds" when you think of WebGPU, WASM (not saying it's bad, but people clearly want to stop writing TS/JS and they haven't made that a reality yet, at least in a way I'd call "successful"), etc.. Oh and DRM in the browser sucks. I forget the details but I was goofing around with FreeBSD Desktop and couldn't get various things to work due to some browser DRM bullshit. https://en.wikipedia.org/wiki/Widevine if curious.

comment 2w ago · link · parent

Is using Codex through Pi allowed? I've been a Claude user, but a lot of the things mentioned bother me as well. I see it constantly make mistakes due to (simple) shell aliases, etc..

Not sure I'll actually switch but I'm curious. I've thought about trying to build my own harness and use Codex usage to work through it without spending a fortune on credits.

comment 2w ago · link · parent

It really annoys me the rust library is named “GPUI”. That’s the name of this method that’s been used for eternity by games.

It’d be like naming my http library HTTP.

And it’s why Dear IMGUI isn’t just named “IMGUI”.

comment 2w ago · link · parent

Yeah fuck that. If they fail, they fail.

comment 4w ago · link · parent

> because it wasn't actually running PHP

Yea and no, I mean it was an even worse setup than typical, probably because the person setting it up didn’t have php experience or used an LLM that misinterpreted “route requests from nginx to php” or something too literally and set up a hacky solution.

But my impression isn’t that they set it up in some cheeky way to avoid exploits, it looks like they just asked for nginx to be in front.

And is “hacked in two hours” fair if they had to make it easy for people because their noob setup ended up not being exploitable?

Let me know if my read of what happened is wrong.

comment 1mo ago · link · parent

I don't see how Canvas or WebGPU is any different. People want a way to write high-performance UIs without all the complexity/legacy of the DOM. It makes everything more difficult, and because it makes things easier for browser developers isn't a valid justification to make the user experience worse. The users should drive the technology. I'm sorry this architecture you built almost 30 years ago isn't adaptive enough to meet the needs of your users. Instead they should create a new one for this use case (GUIs/applications) and keep it focused on documents.

> isn't adaptive enough to meet the needs of your users

I imagine if this conversation continues this will be quoted and argued against. My point is that it's not working well. People find workarounds to do amazing things with the browser, but they shouldn't have to. Give developers what they've wanted for 15 years. The various committees and working groups keep missing the mark, by a lot. See WASM, WebGPU shader language, etc., etc.. I'm sure it's more complicated than I realize, but if all you do is fail and disappoint, maybe your governance model and the people involved need some adjustment. Is anyone happy with WebGPU? Is anyone happy with Web Components?

/rant

comment 1mo ago · link · parent

> Which GUI toolkits over internet do you refer to?

My point is there is no GUI toolkit for the browser and there should be. They should stop trying to morph the document object model into a platform for delivering applications, let it do documents, and give us something else/new. It'd also be the proper path to the new thing having accessibility support. Instead people raw-dog the GPU for UI and you get no screenreader support.

What they're doing here is a half-assed attempt: letting people draw but using the DOM for accessibility. The worst of both worlds I guess?

Our only hope is for AI to supplant screen readers, and then we can just ship WebGPU apps.

comment 1mo ago · link · parent

Look at GUI toolkits going back to the 90’s. The DOM and web development were an accident of history

comment 1mo ago · link · parent

The problem with doing apps on the web is the DOM. It’s wild how much complication browsers will add instead of just adding a new UI rendering method/substrate that doesn’t inherit 30+ years of legacy (remember web apps didn’t even exist for like 15 of those).

The DOM is a slow annoying pile when you want to make actual applications.

comment 1mo ago · link · parent

Also, the language just isn’t suited well to making games. Can anyone point me to a successful Rust game? Bevy game?

comment 1mo ago · link · parent

I've been playing around with RealityKit (https://developer.apple.com/documentation/realitykit) lately, it's their SceneKit replacement (they deprecated it this year).

On tvOS if a frame takes too long it just starts skipping frames and runs at 20 FPS. It won't recover after it happens. ThermalState is .nominal, so it's not that. There's also no way to just say "render as fast as possible" so you can measure performance, instead every device does throttling/pacing and it's completely opaque.

Anyway, I've had a developer account for 10+ years, and run into stuff like this constantly where you just can't get things to work properly. The framework isn't used much, so it's probably just broken.

I ported the game to SDL3/Zig and wouldn't you know it I can run continuously at 60 fps.. It's disappointing because I'm on board with targeting a single platform if I can utilize the hardware more effectively and make something special with it. But instead it's constantly an uphill battle of dealing with the opaqueness/brokenness of the platform. If I open a feedback request I'll probably just get told it's a bug, and maybe they fix it next WWDC.

comment 1mo ago · link · parent

Also, the threat to privacy. If I turn on iCloud Private Relay I get bombarded with CloudFlare captchas. It’s so annoying I sometimes turn it off just for that reason.

Having some all knowing entity running the internet has a lot of downsides.

comment 1mo ago · link · parent

DaisyDisk is such a nice app. I just checked and I purchased it over 11 years ago.

They still update it, it works perfectly, no version 2.0 forced obsolescence. Just a nice, reliable tool.

comment 1mo ago · link · parent

Agreed. I wish they would have thrown in a "guardrails to stop me, but mostly my competitors" so the public would think about that possibility more.

comment 2mo ago · link · parent

Thanks for the info, I didn’t know that about the 5hr limit

comment 2mo ago · link · parent

Sol is their middle model. Luna is smallest. And Astra is big, their Fable equivalent.

comment 2mo ago · link · parent

I think the market didn’t react like they expected and now they’re like “jk”.

And I don’t think any pacing is/was intentional. They’de release skynet if they could and the stonks went up

comment 2mo ago · link · parent

I don’t think so, I’ve seen it suggest I try it. I’ll double check when I get home though.

I was considering the $100 plan, but I hit the 5hr limit in an hour. So even with the $100 plan I figured I cant go non-stop on a single agent running Sol Medium

comment 2mo ago · link · parent

I’ve been a Claude user, switched to Codex expecting usage limits to be more loose but I can’t even get through a basic sysadmin task on the $20 plan using Sol medium before I hit the 5hr one.

I think I’m gonna move back to a Claude plan. I could barely hit the $200 limit if I went non-stop on programming tasks.

comment 2mo ago · link · parent

> Just tell the agent to use conventional commit messages and to keep it nice and tight.

I have this in my claude.md along with guidance on (not) writing comments but it’s still dumps multi-paragraph comments of Claude speak everywhere.

I think a lot of us are talking past eachother, but what I and I think others are complaining about is doing things well, and being minimal. LLMs don’t really do that yet, they can’t look at and simplify a codebase well, even with guidance. They always seem to add rather than subtract. And eventually it becomes an issue. I think they were actually better in this regard with like Opus 4.8, and are now getting even worse (but score better, and are more autonomous).

At home I use Codex, and it’s better as far as language goes at least.

Anyway, it’s like the logic piece necessary to do good work is still missing, and hurt by recent reinforcement fine-tuning. And it leads to massive bloat since more comments = higher scores, but walls of text and the tokens (or cognition if you’re the sad human reading them) aren’t free.

comment 2mo ago · link · parent

Yeah, I listen/watch some flight radar youtube and it’s insane how many issues arise from the language barrier, which could be solved by just communicating via a text channel

comment 2mo ago · link · parent

Doing anything right on web is 10x harder and more complex. The problem is the browser, once you use it to deliver anything you have to buy into all of it’s bullshit. CORS, XSS, headers, caching. All that just goes away (outside your backend API, if you even need one) when you ship a native app

comment 2mo ago · link · parent

Maybe Dario shouldn’t have tried for regulatory capture. He was constantly on the news talking about how these models are so dangerous and that we need regulation to keep China from releasing open-source models without guardrails.
12345
23