News for hackers. Stuff that matters.

miguel_martin

Re:Astra can read and write weights to improve Qwen on Monday November 02, 2026 @08:34PM (#50346855)
Everything is obvious and "not surprising" in hindsight...
Re:Hex Raises $100M on Wednesday October 28, 2026 @10:16PM (#50283768)
and can be shared. I know what Bento is. which from what I can is what Hex provides. I left before agents was integrated into Bento (if it was).
Re:Hex Raises $100M on Tuesday October 27, 2026 @10:35PM (#50268703)
Is this basically a public version of Meta’s bento notebooks?
Re:fx :Tiny, open, native coding agent. on Wednesday August 19, 2026 @05:39PM (#49367543)
fwiw, here's 3code which is 1.6MiB written in Nim - https://3code.capocasa.dev/
Re:fx :Tiny, open, native coding agent. on Wednesday August 19, 2026 @05:34PM (#49367496)
Related: 3code is a coding agent (agentic loop) written in Nim (binary size: 1.6MiB): https://3code.capocasa.dev/
Re:A font that humans can read but AI cannot on Saturday July 11, 2026 @08:14PM (#48877075)
I'd be interested in seeing the inverse, i.e. a font that only AI can read
Re:Good Tools Are Invisible on Friday July 10, 2026 @08:47PM (#48867292)
To be fair to the commenter, you didn't provide any details in the example you provided. For all we (the readers) know, Visual Block mode would have worked in the situation you are describing. I have to assume not, but it's not clear from the article.

Vim macros are not that hard to write, but I do agree with you, visual feedback is better. It can be annoying to have to re-record a macro, that's why I tend to use :s (search & replace) or Visual Block mode over using a macro (most of the time I don't need a macro).

I understand you state vim is "just an example", but you use this example as the main backbone of your article. Add more detail. You're arguing with vague anecdotes which requires the reader to read between the lines.

An aside: visual feedback, multi-cursor support and sane defaults is likely what led to new modal editors being created, such as Helix and Kakoune.

Re:Odin, Wikipedia and Engagement Farming on Friday July 03, 2026 @11:35PM (#48782432)
fwiw, I think a lot of people just clone odin and build it via `./build_odin.sh release` on MacOS (at least, I do). The compiler builds in ~20s
This is super cool!

This seems super useful for pairing and multiple machine work.

Honestly I wish something like this could replace git, but my guess is you’d need to build specialized editors for this. In the direction of: https://www.inkandswitch.com/upwelling/

I was wondering if I could use this for multiple processes (codex, nvim) on the same machine, but then I realized this use case is unnecessary (brain fart).

Re:Git Is Not Fine on Friday May 15, 2026 @08:06PM (#48155511)
There is an open source & git compatible version of Meta's VCS: https://sapling-scm.com/
Re:EditLens: Quantifying the extent of AI editing in text on Thursday May 14, 2026 @06:32PM (#48142133)
I disagree.

1. Constructing a "deterministic algorithmic approaches with complex pipelines" is an ML approach. You're simply changing how you optimize (e.g. gradient descent with human constructed rules) and what you are optimizing (i.e. the model from a statistical one to a set of rules similar to a decision tree)

2. "Models can be intentionally poisoned or tricked" this is adversarial examples. Your deterministic and complex pipeline will have attack vectors, but just of a different distribution compared to an LLM (or neural net in general). Adversarial examples are likely unavoidable, you will always have a set of inputs that will cause your model to mis-classify examples. You can aim to minimize the size of this distribution/set, but for language: the set of possible inputs is so large that you will never fully be able to train or test on them all, and thus you will always have a back & forth between finding new attack vectors vs. defending against them: "deterministic" or not.

To expand on 1:

How do you construct a complex pipeline? Hopefully, by following roughly standard ML principles.

That is, you have a train set that you observe and find patterns/rules in. Then you iteratively construct your complex pipeline until you've minimized the error for a train set. Hopefully after this initial version is constructed you evaluate it on your (independent) val set. Then you iteratively improve your complex pipeline until your validation numbers improve. In the end, since you've optimized a val set, you need to use a third independent test set to ensure that you haven't overfit to your val&train sets. This is standard ML practice.

In other words, this process is what an "ML approach" is, just manually performed by a human possibly using some data analysis. Again, you've just replaced the optimization process (e.g. from gradient descent) and the underlying ML model (e.g. an LLM with differentiable parameters) with a more "deterministic approach" similar to a decision tree.

Yes you could automate this process to construct the rules and chain them, in which case your process and your complex pipeline will likely look similar to a decision tree (e.g. xgboost), but you're simply closer to the thing you think you are trying to avoid.

I agree with some other's in this thread: this is example is not great, but I get why it was used: to compare with X-macros. How about something that would require code-generation e.g. via libclang?

For example, what does https://miguelmartin.com/blog/nim2-review#implementing-a-sim... look like with C++26's std::meta::info?

My guess is: libclang is more suited for this situation if you care about compile times, even if Python is used.

It’s unfortunate that they didn’t eval using subagents/orchestration for such a complex set of tasks (from what I can tell), e.g. analyze program to produce initial spec -> code -> review and rinse&repeat with each of those steps being a separate subagent allocated

I would be interested to see if there’s a significant quantifiable difference.

Re:DIY Soft Drinks on Sunday April 12, 2026 @06:13PM (#47745121)
I highly recommend art of drink: https://www.artofdrink.com/
Re:S3 Files and the changing face of S3 on Wednesday April 08, 2026 @01:23AM (#47685649)
thanks
Re:S3 Files and the changing face of S3 on Tuesday April 07, 2026 @06:42PM (#47682289)
Dumb Q: what would happen if you used this to store a SQLite database? Would it just... work?

My guess is this would only enable a read-replica and not backups as Litestream currently does?

Re:A brief history of instant coffee on Sunday April 05, 2026 @09:30PM (#47655885)
It's unfortunate that instant coffee has such as a bad reputation in the US. In Australia, instant coffee is very common (in the household); it's pretty good.

I would much prefer a cup of instant coffee to most coffee that is served at diners, brunch/lunch restaurants, etc. in the US. I prefer espresso still, but there's a lot of burnt tasting coffee in America.

>The “answer before reasoning” is a good evidence for it. It misses the most fundamental concept of tranaformers: the are autoregressive.

I don't think it's fair to assume the author doesn't understand how transformers work. Their intention with this instruction appears to aggressively reduce output token cost.

i.e. I read this instruction as a hack to emulate the Qwen model series's /nothink token instruction

If you're goal is quality outputs, then it is likely too extreme, but there are otherwise useful instructions in this repo to (quantifiably) reduce verbosity.

Is there a "universal AGENTS.md" for minimal code & documentation outputs? I find all coding agents to be verbose, even with explicit instructions to reduce verbosity.
Re:Methods in Languages for Systems Programming (2023) on Monday March 16, 2026 @06:23PM (#47405824)
'We believe that data and code should be separate concepts; data should not have “behaviour”.' is flawed, but I don't believe that's the point being made. Instead, I believe the point actually roots in a "programmer mindset" thing when using methods/member functions, due to this explicit separation of data and procedures. With methods/member functions you naturally fall into an "individual element" mindset, see https://www.gingerbill.org/article/2026/01/02/was-it-really-... - yes it's semantically equivalent (given the examples in the article and many other cases), but humans are humans and they are biased.

In my opinion: there is a better argument for making new languages not have methods, or more accurately member functions (as what the author describes).

Consider the following situation: you are user of a library that declares a type called SomeType which has "methods" (member functions) in it. You want to add more "methods" to this type.

Now, there is a problem regarding consisteny w.r.t syntax, your new "methods" now have to be called via `foo(&bar)` instead of `bar.foo()`. You as a user of the library and language have to choice to make (regarding code style):

1. Accept this difference in syntax. Maybe you like this style difference, because now you can clearly see what procedures are declared in your codebase vs. the library's codebase, or:

2. Use freeform functions everywhere. Well actually, you can't do this without a refactor of the library (or with additional language features), i.e. you will need to fork the library and rewrite SomeType and the associated member functions in this freeform function/procedure style.

From a language designer's perspective, you can choose to solve the problem by either (a) forcing the declaration of procedures to be consistent or (b) introducing language features to make the calling code consistent. Odin obviously chose (a), but languages like Swift and C# chose (b) - whereas languages such as Nim chose both (a) & (b).

For (b), here's some possible features you could add:

* Extension methods (Swift, C#). This let's user declared "methods" feel like like "proper methods" of the class/struct, or

* UFCS (Nim, D). Declare everything as a freeform procedure/function but enable the syntax `arr.push(10)` when the procedure is declared as `proc push(arr: var Array, x: int)`

From this, you can see why languages such as Odin chose to go with option (a). It's simpler.

Re:Defer Available in GCC and Clang on Friday February 20, 2026 @04:09AM (#47085528)
defer is literally just an explicit RAII in this example. That is, it's just unnecessary boiler plate to wrap the newResource handle into a struct in this context.

In addition, RAII has it's own complexities that need to be dealt with now, i.e. move semantics, which obviously C does not have nor will it likely ever.

Re:Zed editor switching graphics lib from blade to wgpu on Friday February 13, 2026 @01:14PM (#47005797)
SDL is not perfect, e.g. you can't get pinch/zoom events on MacOS. IMO, using the OS APIs yourself is better.
Re:The Singularity Will Occur on a Tuesday on Tuesday February 10, 2026 @01:27PM (#46964483)
"Everyone in San Francisco is talking about the singularity" - I'm in SF and not talking about it ;)
Re:New code review tool I made on Thursday January 08, 2026 @01:54PM (#46544914)
Your site is down.
Re:Blend2D and AsmJIT development paused due to lack of funding on Thursday January 08, 2026 @01:42PM (#46544771)
Sad!

These are really high quality and performant libraries.

Here is video demonstrating text rendered with Blend2D in real time (NO glyph cache used) - on the CPU!

https://vimeo.com/1152635716?fl=pl&fe=cm

Re:Math of Vector graphics on GPU, inspired by piet-GPU on Thursday January 08, 2026 @12:50PM (#46544078)
That is fair - sorry for spreading mis-information! That's unfortunate to hear about Blend2D.
Re:Math of Vector graphics on GPU, inspired by piet-GPU on Wednesday January 07, 2026 @01:51PM (#46530750)
Just use blend2d - it is CPU only but it is plenty fast enough. Cache the rasterization to a texture if needed. Alternatively, see blaze by the same author as this article: https://gasiulis.name/parallel-rasterization-on-cpu/
Re:Math of Vector graphics on GPU, inspired by piet-GPU on Wednesday January 07, 2026 @01:49PM (#46530719)
Blaze outperforms Blend2D - by the same author as the article: https://gasiulis.name/parallel-rasterization-on-cpu/ - but to be fair, Blend2D is really fast.
Re:Video Game Websites in the early 00s on Tuesday January 06, 2026 @05:20PM (#46519663)
It's sad that RuneScape is not on this list, yet it is on their site - https://www.webdesignmuseum.org/?s=runescape

Older »