HNHacker News
TopNewBestAskShowJobs

burntcaramel

465 karma · joined August 27, 2014

submissionscomments
burntcaramel··on Data is the only moat
Don’t forget people’s minds.

- Which brands do people trust? - Which people do people of power trust?

You can have all the information in the world but if no one listens to you then it’s worthless.

burntcaramel··on Ask HN: Share your personal website
https://royalicing.com/ — I write about WebAssembly, design, and thoughts about writing software
burntcaramel··on The struggle of resizing windows on macOS Tahoe
This is why Steve Jobs demoed software. Watch when he unveils Aqua, there’s a couple of slides of the lickable visuals and then he sits down and demos it. He clicks and taps and shows it working. Because that’s what you the user will do.

He’ll show boring things like resizing windows because those things matter to you trying and if he cares about resizing windows to this degree then imagine what else this product has.

Apple today hides behind slick motion graphics introductions that promise ideal software. That’s setting them up to fail because no one can live up to a fantasy. Steve showed working software that was good enough to demo and then got his team to ship it.

burntcaramel··on Ask HN: What are you working on? (October 2025)
I'm working on a compiler for WebAssembly. The idea is you use the raw wasm instructions like you’d use JSX in React, so you can make reusable components and compose them into higher abstractions. Inlining is just a function call.

https://github.com/RoyalIcing/Orb

It’s implemented in Elixir and uses its powerful macro system. This is paired with a philosophy of static & bump allocation, so I’m trying to find a happy medium of simplicity with a powerful-enough paradigm yet generate simple, compact code.

burntcaramel··on Default musl allocator considered harmful to performance
Instead of “harmful to performance”, why can’t we say “slow”?

Harmful should be reserved for things that affect security or privacy e.g. accidentally encourage bugs like goto does.

burntcaramel··on Why Trump can't dislodge Apple from China
I’m not sure why the link keeps changing to the subs link.

I submitted and verified that the link was: https://ig.ft.com/us-iphone/

But now it has changed?

burntcaramel··on SQLite File Format Viewer
Yes I’m also working on a SQLite parser, mine is in raw WebAssembly. Is yours open source too? This tool will be so useful. I have basic page reading and parsing of the CREATE TABLE schema: https://github.com/RoyalIcing/SilverOrb/blob/9dacad0ce521b0d...

My plan is to create a miniature .wasm module to read .sqlite files that works in the browser. It will be in the tens of kilobytes rather than the 1 megabyte that the official fantastic sqlite.wasm is. The reduced download means even on 3G you ought to be able to load within a few seconds. You can use SQLite files as your network payloads then, and perhaps even as the working mutable state synced between server and clients.

burntcaramel··on Senior Developer Skills in the AI Age
I agree, and I really like the concrete examples here. I tried relating it to the concept of “surprise” from information theory — if what the LLM is producing is low surprise to you, you have a high chance of success as you can compare to the version you wrote in your experienced head.

If it’s high surprise then there’s a greater chance that you can’t tell right code from wrong code. I try to reframe this in a more positive light by calling it “exploration”, where you can ask follow up questions and hopefully learn about a subject you started knowing little about. But it’s important for you to realize which mode you are in, whether you are in familiar or unfamiliar waters.

https://royalicing.com/2025/infinite-bicycles-for-the-mind

The other benefit an experienced developer can bring is using test-driven development to guide and constrain the generated code. It’s like a contract that must be fulfilled, and TDD lets you switch between using an LLM or hand crafting code depending on how you feel or the AI’s competency at the task. If you have a workflow of writing a test beforehand it helps with either path.

https://royalicing.com/2025/test-driven-vibes

burntcaramel··on Dangers of Karpathy's 'Vibe Coding' Movement
I agree, just because these AI tools give you coding superpowers doesn’t mean you’re a super coder.

There’s a difference between accelerating something you know how to do long hand, and automating something you couldn’t fix or replace yourself.

So it’s helpful to know if you are in a familiar mode or exploratory mode.

I wrote more about these two modes and the element of surprise here https://icing.space/2025/infinite-bicycles-for-the-mind

burntcaramel··on DELETEs Are Difficult
If data isn’t actually removed until vacuuming, then are systems that perform SQL DELETES actually GDPR compliant? Because technically the private data is still there on disk and could be recovered. “Until the autovacuum process or a manual VACUUM operation reclaims the space, the “deleted” data remains.”
burntcaramel··on Handling cookies is a minefield
Re Safari’s networking code being closed source, a good substitute might be the Swift port of Foundation. You can see checks for control and delete characters here: https://github.com/swiftlang/swift-corelibs-foundation/blob/...
burntcaramel··on Show HN: Gomponents, HTML components in pure Go
That’s awesome! I have a very similar project Dovetail, that tries to nudge you into making things accessible.

https://github.com/RoyalIcing/Dovetail

burntcaramel··on Use Prolog to improve LLM's reasoning
COT = Chain-of-Thought

https://arxiv.org/abs/2201.11903

burntcaramel··on Puppeteer Support for Firefox
This is great! I’m curious about the accessibility tree noted in the unsupported-for-now APIs. Accessing the accessibility tree was something that was in Playwright for the big 3 engines but got removed about a year ago. I think it was partly because as noted it was a dump of engine-specific internal data structures: “page.accessibility.snapshot returns a dump of the Chromium accessibility tree”.

I’d like to advocate for more focus on these accessibility trees. They are a distillation of every semantic element on the page, which makes them fantastic for snapshot “tests” or BDD tests.

My dream would be these accessibility trees one day become standardized across the major browser engines. And perhaps from a web dev point-of-view accessible from the other layers like CSS and DOM.

burntcaramel··on Functional languages should be so much better at mutation than they are
Curious about an example of this in Swift? Is it a variable holding a collection like an Array?
burntcaramel··on Deterministic Quoting: Making LLMs safer for healthcare
Is there existing terms of art for this concept? It’s not like slightly unreliable writers is a new concept, such as a student writing a paper.

For example:

- Authoritative reference: https://www.montana.edu/rmaher/ee417/Authoritative%20Referen...

- Authoritative source: https://piedmont.libanswers.com/faq/135714

burntcaramel··on GitHub Copilot Workspace: Technical Preview
Pretty sure I wouldn’t want to work on a team using this.

“Who wrote this code, it has a serious flaw?”

“The customer needed that feature quickly so we used Copilot. No sorry, I don’t know how it works, I trust that it does. I glanced over the code and it looked about right.”

“Did you read the checklist that it generated? The flaw stems from an assumption it made.”

“Oh no, I didn’t see that. To be honest I don’t read the checklists it makes.”

burntcaramel··on Show HN: Neco – Coroutine Library for C
Can someone explain how this works please? How does it prevent this from saturating the CPU?

    while (1) {
        neco_sleep(NECO_SECOND*2);
        printf("tock\n");
    }
burntcaramel··on Show HN: Shadeup – A language that makes WebGPU easier
Have you thought about having an "eject" command? For example, Create React App had an eject command to go from the self-contained version to a full customisable Webpack app.
burntcaramel··on Speedbump – a TCP proxy to simulate variable network latency
The problem is it throttles everything by a constant factor. So if at full speed response A arrived after response B, it still most likely will, they will all just arrive slower.

It’s like the safety car in Formula 1: the cars will all slow down to crawl, but they won’t change order because they can’t overtake.

Better to test a scenario like in F1 where one car hits another, and then takes a few more out with them. That will really scatter the order and timings of things. That’s more how the real world of Wi-Fi and cellular connections works, so being able to handle that level of unpredictability is going to lead to way more robust apps and a better UX.

I have a dream of opening a co-working space for developers where you can connect to “Free Airport Wi-Fi” to really test your web application is going to survive in the real world.

burntcaramel··on Let's make the indie web easier
I couldn’t agree more. One step I’ve made towards this goal is to have my website content served directly from GitHub. The content is Markdown files that are fetched from the GitHub CDN and rendered to HTML on-the-fly using a Cloudflare Worker.

I’ve extracted out the GitHub fetching into a small npm package: https://github.com/cool-calm/collected-press/tree/main/packa...

And here’s my home page using this approach. The code needs to be cleaned up and I’m still working out the best strategy for caching (Cloudflare KV has been disappointing), but I’m happy with this as a model. https://github.com/RoyalIcing/RoyalIcing

burntcaramel··on Apple supercharges 24‑inch iMac with new M3 chip
I really wish it had more than 24GB of RAM. The large screen is really compelling for a web developer like myself.
burntcaramel··on Apple unveils the new MacBook Pro featuring the M3 family of chips
Looks like it’s raining outside, time to fire up the three AAA games available on this thing.
burntcaramel··on Flawless – Durable execution engine for Rust
Is this the problem where you have workflows live and in progress, yet you want to update the workflow and have things not break? Would you want to have multiple versions at once, or rather some way to migrate the in progress ones to the latest workflow definition?
burntcaramel··on Noticing when an app is only hosted in us-east-1
As an Australian, I agree that I usually prefer when a service is hosted nearby. Yet… 200ms latency, that’s pretty good actually. For some real data, I just tried `ping ec2.us-east-1.amazonaws.com` and time is 240ms. That’s in Tasmania, NBN over Wifi. I’m happy with that!

But the problem, like many of the other commenters are saying, is for a single request us-east-1 is actually fine. But for a modern web app but many requests, that compounds real quick. I actually think living here is an advantage as a web developer because it’s like those athletes that only train at high altitudes — living in a high latency environment means you notice problems easily.

burntcaramel··on Is ORM still an anti-pattern?
I don’t mind query builders. They help you fall into the pit of success and reuse useful queries. The thing I don’t like about ORMs is how you get back a graph of objects, and you can mutate any of them and call `.save()` on any of them. They pretend to be a live representation of what‘s in the database, but they are a proxy. And so when saving, the ORM has to sync the alterations you made to your objects with what it believes is in the database. It treats database tables as just a bag of attributes.

I prefer to work with values and be explicit about what’s been read and what needs updating. If you need optimistic concurrency control be explicit about that too.

burntcaramel··on JavaScript state machines and statecharts
I’m curious how you use and compose generator functions?

I created a JavaScript state machine library using them to define each state. https://github.com/JavaScriptRegenerated/yieldmachine

I imagine your approach must be different?

burntcaramel··on WebAssembly Text Code Samples
This is fantastic. The specs and the MDN documentation are pretty detailed, but I’ve found I need a fair bit of trial and error to understand some WAT language features.

The loop with a block directly inside is a good regular pattern! I’ll be using that all the time now.

I’ve been writing an Elixir DSL for WAT. Elixir has a powerful macro system, so I can closer to that pseudo C-syntax in this post, plus some other niceties. I plan to open source it as a library soon.

Here are examples I’ve written in it, like an HTML escaper, stateful HTML component, bump allocator, and a few state machines.

https://github.com/ComponentsGuide/components_guide/tree/mas...

burntcaramel··on Show HN: Bike – macOS Native Outliner
I imagine then you would had to reimplement behaviour for text selection from scratch? Impressive stuff!
burntcaramel··on Cloudflare Workers for Platforms: Make Your Own Product Programmable
Thank you, that tweet thread was really helpful. “Functions as a Service as a Service” maps it into familiar language I use today. Whereas “making every application on the Internet more programmable” sounds unrealistic (every application) and is pretty vague.

The latter is like an aspirational goal that the team has, which is fine if that’s what motivates you, but as a customer it’s not what motivates me. What motivates me is the problems I have.

“Making every application on the Internet more programmable” is actually a bit off-putting because it reminds me of the aggression of Microsoft and their "A computer on every desk and in every home." Bill Gates wrote it in internal memos. It’s not the words they used in their marketing campaigns.

My pithy advice for the blog would be: Keep the motivational quote on the team’s wall and in the team’s memo, and find out what customers have on their wall and are writing in their memos.

Glad that this sort of feedback on the blog is welcome, because it could be really good. Information architecture with the strange categories is another thing that’s confusing btw.

← PreviousPage 2 of 3Next →