HNHacker News
TopNewBestAskShowJobs

theknarf

489 karma · joined July 28, 2014

submissionscomments
theknarf··on Abstraction, not syntax
Big fan of HCL as the configuration language to rule them all, being able to abstract stuff into reusable modules at the configurations language level is great. And there are implementation for HCL in multiple programming languages.
theknarf··on Now open for building: Introducing Gemini CLI extensions
Gemini is really bad with tool calling, doesn't matter if you use it with Gemini CLI or with OpenCode, its just that the model itself is not a agentic model. It can be okay if only use it for asking stuff about the codebase, but not for doing agentic stuff. It'll waste large parts of its context window just failing to do tool calling properly.
theknarf··on Discord says 70k users may have had their government IDs leaked in breach
Usually some regulation change that the company is not aware off, they have to run to find a fix as soon as possible, some business guy who don't know anything about tech find a vendor who are ready to sell a solution (they probably created their whole business last month on a gamble that the new regulation would be passed and that businesses would be rushing for a solution). Then they simply buy that solution "for compliance" as a top down decision, even when internal employees ring the warning bell.
theknarf··on The React Foundation
Hopefully the foundation will help balance that.
theknarf··on The React Foundation
The post said they would also still pay for their own internal team that would keep contributing code to React, so it feels more like their throwing in $600k in addition to what they already do. And they have brought inn other companies who hopefully also contribute money, seems like a lot more of an healthy situation than before.
theknarf··on Gemini 3.0 Pro – early tests
The current problem with Gemeni 2.5 Pro is not that its not intelligent or can't oneshot problem, the problem is that its _terrible_ at tool calling and waste most of its context on trying to correct itself from mistaken tool calling. If they can solve that with 3.0 then they may have a useful model for agentic coding, if not its not keeping up with Anthropic and OpenAI.
theknarf··on Designing agentic loops
While sandbox-exec is officially "deprecated" it will be around for a long time, so building some tooling on top of it to make it useful seems valuable!
theknarf··on A Generalized Algebraic Theory of Directed Equality
.zip sounds like a terrible idea for a top-level domain.
theknarf··on Tldraw SDK 4.0
We use tldraw for playing D&D, yesterday it went down and locked our tldraw document forcing us to create an account, but when we made an account it just gave us an error. When I go to tldraw today and try and make a new document it still gives me "An unexpected error occoured".
theknarf··on Oh no, not again a meditation on NPM supply chain attacks
Npm is owned by Github, which is owned by Microsoft. They could have put more tooling into making npm better. For example; pnpm require you to "approve-builds" so that its only running scripts from dependencies you decide on, and Deno have a bunch of security capabilities to restrict what scripts can and can't do. There is always going to be supply chain attacks, and the biggest package repositories are going to be hit the most. But that doesn't mean that Microsoft couldn't have spent more on building better tooling with better security settings on by default.
theknarf··on React is winning by default and slowing innovation
Both SolidJs and Qwik keeps the JSX syntax!
theknarf··on The rise of async AI programming
There is already a term for it! It's called "Ralph coding": https://ghuntley.com/ralph/
theknarf··on Performance-focused forks of styled-components
I've always thought CSS Modules was the best solution as well, having worked a lot with Tailwind its entirely okay, but "CSS in JS" was always a bad idea from the get go.
theknarf··on A love letter to the CSV format (2024)
grep is a tool. jq is a good tool for json.
theknarf··on A critique of package managers
I'd rather be able to update my dependencies automatically with a few commands instead of manually vendor all my dependencies, keeping up to date is really important for security. I get that game developers who only ever work on building single player games might have different opinions on "package managers", but they are in a very small niche.

One of the worst things working at companies shipping C++ was the myriad of meta-build systems that all tries to do dependency management as a part of the build system without having a separate concept of what a "package manager" is, this is truly the worst of both worlds, where people are happy to add dependencies, never update them, and never share code between projects and departments. I do not wish that way of working on my worst enemies.

Whatever problems package management brings is such a better problem to have than not having a package manager. That said I think everyone can get better at being more discriminatory of what they add to their project.

theknarf··on Rendering a game in real time with AI
This is like playing a boardgame while exclusively looking at the board through a snapchat filter. Who wants this?
theknarf··on Show HN: I Built a XSLT Blog Framework
Suggestion, replace this:

    <item>
      <title>Last Blog Post</title>
      <description>
        I am Jack's XML Parser. I consume unclosed tags I kill jack.
      </description>
      <link>https://xsltblogdemo.vgr.land/content/posts/20250707.xml</link>
      <guid isPermaLink="false">post-20250707</guid>
      <pubDate>Mon, 7 Jul 2025 13:00:00 +0000</pubDate>
      <author>vgr.xsltbf@example.com (vgr)</author>
    </item>
With this:

    <post
      title="Last Blog Post"
      description="I am Jack's XML Parser. I consume unclosed tags I kill jack."
      link="https://xsltblogdemo.vgr.land/content/posts/20250707.xml"
      isPermaLink="false"
      guid="post-20250707"
      pubDate="Mon, 7 Jul 2025 13:00:00 +0000"
      author="vgr.xsltbf@example.com (vgr)">
    Content of the post....
    </post>
theknarf··on SmallJS: Smalltalk-80 that compiles to JavaScript
I mean, there is a reason people don't write Smalltalk anymore xD
theknarf··on Testing Bitchat at the music festival
Would have been interesting if Bitchat used meshtastic so that they didn't have to reinvent the whole meshing network part, that part is a hard problem to get right.
theknarf··on Theft is not fair use
Presumably the guy doing the throwing was a part of the actual prompt. While the things circled was not.
theknarf··on Rust running on every GPU
If only everyone could have agreed upon spir-v
theknarf··on SQL Injection as a Feature
I think databases _should_ be built so that one can do it this way.
theknarf··on SQL Injection as a Feature
At that point just create a database user with read only permissions, delete the entire tool, and give them a copy of "mysql workbench" or "phpMyAdmin" or something similar.
theknarf··on XMLUI
So you built a worse alternative to React, on top of React?
theknarf··on Most RESTful APIs aren't really RESTful
Ironically it feels like GraphQL is more RESTful than most REST api's if we want to follow Fielding's paper.
theknarf··on I extracted the safety filters from Apple Intelligence models
Filtering on the words "execute" and "executing" is going to create problems if you want to build agents that execute commands.
theknarf··on Public Signal Backups Testing
The article says that local-backups are still going to be a thing, and that it'll use the new format (so that you can restore ex an Android backup on iPhone and the other way around). Presumably you'll have to bring your own solution for storing the backup, but if its just a file / archive then you can store it however you store the rest of your backups.
theknarf··on Rust CLI with Clap
Convenience always win. If we want smaller more purposefully built dependencies then we need better tooling that makes those choices convenient.
theknarf··on Proton joins suit against Apple for practices that harm developers and consumers
That's just an argument in favour of monopolization. Monopolization kills innovation and hurts the market. Companies are not individuals that should be allowed to do whatever they want just because they have already invested in R&D, thats a nonsensical argument. That's like saying that car companies don't have to put seatbelts in cars because they already invested in R&D for building the car. It doesn't matter what a company have or haven't done! Rules exists for creating a better society.
theknarf··on Bento: A Steam Deck in a Keyboard
Sometimes people break their MacBook screens, and people sometimes turn them into "headless MacBooks". I've been wanting to get my hand on a cheap "headless MacBook" and add XREAL glasses to it!
← PreviousPage 3 of 8Next →