HNHacker News
TopNewBestAskShowJobs

darzu

1,016 karma · joined January 7, 2015

https://darzu.io/
submissionscomments
darzu··on Why AI Sucks at Front End
Does this website run at 10fps for anyone else? I'm on a mac M4 w/ safari. Really doesn't help the author's point.
darzu··on No Graphics API
You should! And you might enjoy this video about making a CPU rasterizer: https://www.youtube.com/watch?v=yyJ-hdISgnw

Note that when the parent comment says "software rendering" they're referring to software (compute shaders) on the GPU.

darzu··on Autism should not be treated as a single condition
RGB doesn't map to a single line, you're thinking just about the hue. RGB is a proper vector that addresses a whole 3D color space.
darzu··on Dumb Pipe
Does anyone know if this tech (or Iroh) is suitable for real-time networking for games? Basically, once connection is established, what's the overhead on top of UDP in terms of latency and bandwidth?

Edit: after digging a little, Iroh uses QUIC which looks like a reliable, ordered protocol as opposed to the unreliable, unordered nature of UDP which is what many games need.

Now what I'd love to figure out is if there's a way to use their relay hopping and connection management but send/receive data through a dumb UDP pipe.

darzu··on Allianz Life says 'majority' of customers' personal data stolen in cyberattack
Take a broader view of what "building secure systems" means. It's not just about the code being written by ICs but about the business incentives, tech choices of leadership, the individual ways execs are rewarded, legacy realities, interactions with other companies, and a million other things. Our institutions are a complex result of all of these forces. Taken as a whole, and looking at the empirical evidence of companies and agencies frequently leaking data, the conclusion "we cannot build secure systems" is well founded.
darzu··on Ambient Garden
Everyone's talking about the music but I also love the dot rendering system you're using for terrain and plants! Very neat effect, simple but it's a nice style. I'd love to see a whole forest done like this, maybe a flowing river too.
darzu··on Lottie is an open format for animated vector graphics
Steve put the nail in the coffin but the downfall started and was primarily caused by Macromedia being purchased by Adobe, IMHO. All the problems of Flash were solvable had it continued to been driven by a team and leadership that understood and cared about product quality. IMO this is one of the clearest cases of tech acquisition making the world worse.
darzu··on Morgan Stanley Follows Citi, BofA in Quitting Climate Group
This is missing much, including that we've outsourced our manufacturing (and thus CO2 from manufacturing) but we still buy lots of stuff that requires intense manufacturing.
darzu··on What's Next for WebGPU
I've used [0] to profile WebGPU code w/ Nvidia Nsight, but yes better tools built into Chrome would be very nice.

[0] https://frguthmann.github.io/posts/profiling_webgpu/

darzu··on One man's quest to restore the first-ever Air Force One
Damn, I wish they had filmed this restoration and put it all on YouTube, that would have been an incredible channel. Like Tally Ho[0] but for a plane.

[0] https://www.youtube.com/@SampsonBoatCo

darzu··on Ask HN: Is there any software you only made for your own use but nobody else?
I've made https://sprig.land, a webgpu-based game engine and have plans to transpile the whole thing into a new visual scripting language I'm inventing but I'll eventually share it and do want to make games with it.

You might enjoy following https://mastodon.gamedev.place/@lisyarus, but he does ship games.

darzu··on Roblox has ported the entire front end JavaScript stack to Lua
Roblox uses a heavily customized version of Lua, and in it they've fixed many of the pain points of Lua and JS. One example is their Lua allows value types/copy semantics, native number types like f32 / i32, and simd. These are important if you care about tracking performance carefully which I believe they do.

They use Lua heavily in Roblox so they've got a lot of tools and expertise in it, so I assume they see a lot of benefit to further standardizing their high level language.

I'm guessing they have some tooling to auto-translate typescript into Lua to massively speed up their porting. TypeScript has a very good compiler API for doing exactly this sort of thing and I've written a decent TypeScript <-> Python translation before.

darzu··on Apple unveils 'Passwords' manager app at WWDC 2024
“Since” could mean yesterday.

But i would like to hear more details of the corruption if parent is willing to share. This is pretty much my worst nightmare scenario.

darzu··on Ubershaders: A Ridiculous Solution to an Impossible Problem (2017)
Yup, the whole vertex and pixel stages I believe.
darzu··on Ubershaders: A Ridiculous Solution to an Impossible Problem (2017)
Pretty sure these are very different phenomena both called "ubershaders". As far as I understand it, outside of Dolphin, when people say "ubershader" they mostly mean a large material shader that has branches and constants to handle all the material variants used in one game (e.g. wood door, metal shield, shiny forcefield). It's produced by the engine so it's under full control of the engine developers. This means instead of loading separate shaders for the wood door and metal shield you can just tweak pipeline parameters. It's a work around for the various overheads, like compilation, involved in creating specialized shaders.

But Dolphin's "Ubershader" is a different beast. It's about handling all the shader variants for _all_ Dolphin games (which are made in different engines) with one shader, and the variant parameters aren't passed as nice constants (data) but as shader programs (code) that need to be interpreted to be understood. It's more like a meta-shader that takes shaders as input and produces shaders as opposed to a "normal" ubershader which takes configuration to specialize it at runtime.

I think that's right anyway. I haven't worked directly with ubershaders in either variety and my knowledge comes from building my own hobby engine and 3D pipelines.

darzu··on TIS-100: Tessellated Intelligence System
I've tried many but never gotten into any Zachtronics games for one simple reason: they are all puzzle games.

For me the motivation just never materializes. Contrast this to 100s of hours w/ each of Factorio, Satsifactory, and DSP amongst others.

darzu··on Epic says Apple will reinstate developer account
Yikes I hate that Thierry is using "#freefortnite". You can be completely on board with the DMA but still see Epic's behavior as entirely profit motivated and "freeing Fortnite" should not be any official's priority. Epic is not some oppressed minority that needs saving.
darzu··on WebKit switching to Skia for 2d graphics rendering
Upcoming there's also Vello[0][1] by Raph Levien, who has a bunch of experience w/ font rendering at Google. He's also working on a Rust UI library[2] and has a great talk on compute shaders[3].

0: https://www.youtube.com/watch?v=mmW_RbTyj8c

1: https://github.com/linebender/vello

2: https://www.youtube.com/watch?v=zVUTZlNCb8U

3: https://www.youtube.com/watch?v=DZRn_jNZjbw

darzu··on SSDs have become fast, except in the cloud
probably this one: https://gist.github.com/hellerbarde/2843375
darzu··on I designed a cube that balances itself on a corner
Amazing. Now it just needs a nice wood enclosure and matching induction charging pedestal. Kickstarter please take my money!
darzu··on The Game Awards raises an old question: What does indie mean?
Most indie games have a publisher and publishers have a lot of control.
darzu··on Northlight technology in Alan Wake 2
I’ve always preferred the Wolfire approach[0]: animation should “do no harm” to player control, it’s only there to add flavor, never at the cost of game responsivity

[0] https://youtu.be/LNidsMesxSE?si=W7xnQfXt5ulfHklR

darzu··on How bioelectricity could regrow limbs and organs
A more in-depth and broader version of that talk by Michael is here: https://youtu.be/jLiHLDrOTW8?si=unfPK_k1TUHmRI7m
darzu··on Can't be fucked: Underrated cause of tech debt
Yeah, definitely a sloppy analogy ironically enough. But as a woodworker I’ve realize most people when they hear plywood they’re really thinking OSB or cheap particle board. Quality high-ply with a hardwood outer layer isn’t in their vocabulary. So the analogy sorta works.
darzu··on Log is the "Pro" in iPhone 15 Pro
Words change in meaning over time. This isn't your Roman decimated.
darzu··on I'm 17 and wrote this guide on how CPUs run programs
I read and loved that book however nowadays I highly recommend playing the game “Turing Complete” instead.

It does a fantastic job taking you from nand gates all the way to function calls but in a delightfully interactive way. Instead of just imagining how it all must work in ur head as u read, u get to build it.

I went so far as to build a little simd/gpu that drives an led matrix with my own cpu assembly and programmable shader language.

darzu··on Oracle is in course to make Larry Ellison the world’s richest man
Do u really think the price would stay stable while the CEO sells of his whole stake?
darzu··on Apple Vision
Anybody that goes to work alone in a home office room is isolating themselves more completely than sitting in a common area with an XR mask.
darzu··on Apple Vision Pro: Apple’s first spatial computer
60hz is 16.7ms per frame. How are you getting 8?
darzu··on The Windows 11 Trash Party
Azure
Page 1 of 7Next →