Better HN
topnewbestaskshowjobs
Log inSign up

hbbio

3,157 karma · joined Apr 23, 2011 (15y ago) · 671 submissions

Submissions

comment 1d ago · link · parent

Main author here: One of the reasons we're doing this and doubling down on Zig is we believe that AI agents writing code (including ours) favors the relative simplicity of Zig vs. more complex languages.

For instance Rust, which is definitely a very high quality project, had bugs in its memory safety. So proving memory safety in Lean from Zig code may work even better in the end. Also the properties that can be verified in Lean go beyond memory safety but writing whole projects in Lean is not easy: The toolchain is not here, and there will be lots of issues.

Zig, otoh, is excellent in tooling to the point people even use Zig to build C projects. So you can iterate with agents building the software and when it's stabilizing you can use Zean to start verifying it.

2.

Show HN: Zean Transpiles Zig to Lean(github.com ↗)

7 points · by hbbio · 1d ago · 1 comment

comment 1w ago · link · parent

You can verify some things easily, as long as the proof obligations are easy to review.

And you will catch bugs. Completeness of formal verification is much grander task and it's still the technology of the future.

For instance, we just released this yesterday: https://github.com/okcontract/zean

(tried to post here, but wasn't picked up...)

4.

Zean: Write Zig, prove it in Lean(okcontract.com ↗)

9 points · by hbbio · 1w ago · discuss

5.

Show HN: Rust Commander (RC)(github.com ↗)

2 points · by hbbio · 1w ago · discuss

6.

A Solidity compiler written in Zig(github.com ↗)

1 points · by hbbio · 1mo ago · discuss

comment 1mo ago · link · parent

Yep! In our tests, we found Zig to be a pretty good fit to translate C++ codebases.

And static analysis + agents are good enough at keeping the memory management in check. Compared to Rust, there's no magic so it's easy for devs and agents to reason about.

If you're curious: https://github.com/okcontract/oksolc

comment 2mo ago · link · parent

There are both good and aspects of the AI "revolution". Yes, it's easier than ever to create free software.

But wrote just yesterday on a related impact of AI agents on open source repos: https://medium.com/@hbbio/when-software-becomes-cheap-trust-...

9.

When Software Becomes Cheap, Trust Becomes Expensive(medium.com ↗)

1 points · by hbbio · 2mo ago · discuss

comment 2mo ago · link · parent

Zig 0.17 should solve this with incremental compilation. What you said will stay but should only apply for the first compilation.

comment 2mo ago · link · parent

Just in case the model has ADHD too, I am using a minified version of it:

https://gist.github.com/hbbio/2faf096cbb77e197233ab9a2958beb...

comment 3mo ago · link · parent

Yes, and they specifically mention "Up to 10.7x faster LLM prompt processing in LM Studio" which is probably using the neural accelerator for prefill.

comment 3mo ago · link · parent

You can't imagine how much your example calls home!

https://github.com/hbbio/rc

In my opinion, library authors should really minimize the amount of dependencies they have. Back to TypeScript, we are also the authors of https://github.com/okcontract/cells and we made a point of almost not having dependencies or even devDependencies.

comment 3mo ago · link · parent

Rust suffers from the same faults as the JS ecosystem. Any significant crate imports hundreds if not thousands of dependencies. The probability that one of the authors gets targeted by AI-assisted attacks is just too high.

Also most of these dependencies provide a breadth of features that the end package does probably not need.

comment 3mo ago · link · parent

> They'll sell far fewer Pixels because of these overall changes.

Was considering a Pixel 11 Pro, just cancelled it. Will wait for the Moto release. Thanks for your work!

comment 3mo ago · link · parent

This. I don't see the point of using a Pixel Watch or an Apple Watch or any watch that has 1 or 2 days of battery max.

My 3 year old Garmin has 2+ weeks battery life and is tracking activity, ox (ok, it's not medical grade), sleep, etc.

Also it does _not_ have a mic (something we're going to pay extra in a few years the way things go) and is not connected to anything wirelessly. No need for another device to set it up and you decide when you get data out using USB.

17.

Show HN: NoDiff, a framework that lives in your monorepo(github.com ↗)

1 points · by hbbio · 3mo ago · discuss

comment 4mo ago · link · parent

Another beauty of free software is they took the project from gitea and gogs before that.

comment 5mo ago · link · parent

Yes, a single GB300 workstation also does it, probably even more than 120tok/s.

Official price 85k...

comment 5mo ago · link · parent

Reminds of Chris Lemons, who survived for 30+ minutes without oxygen at the bottom of the North Sea. Cold water (and experience, like staying calm) probably played a large part. He went back to diving a few weeks after!

They made a movie about it: https://en.wikipedia.org/wiki/Last_Breath_(2019_film)

comment 5mo ago · link · parent

Interesting setup, thx for sharing.

How many tokens/sec do you get with 27b? Are you using MTP?

comment 5mo ago · link · parent

Acquired by a patent monetization business...

comment 5mo ago · link · parent

OnlyOffice is better than LibreOffice for people who want a more direct alternative to Microsoft Office

https://www.onlyoffice.com/

(it's AGPL... there is an ongoing dispute with a fork now)

comment 6mo ago · link · parent

I also misread the updated title.

"Frontier models break the open CTF format" is good

"Frontier AI..." means wtf is Frontier AI.

Because of course it exists (just googled it): https://frontierai.company/

25.

Show HN: NoDiff, TSX for browser apps without React or a virtual DOM(github.com ↗)

1 points · by hbbio · 6mo ago · discuss

comment 6mo ago · link · parent

Given they have "unlimited" AI usage, do we expect the port to be complete tomorrow?

comment 6mo ago · link · parent

"This approach presents a significant opportunity for optimization and strategic realignment to better meet our core objectives."

28.

The iPhone Camera Problem(medium.com ↗)

1 points · by hbbio · 7mo ago · discuss

12345
23