News for hackers. Stuff that matters.

crowdyriver

Re:I made the fastest EC2 price comparator on Friday October 23, 2026 @10:27AM (#50209652)
Thanks!
Re:I made the fastest EC2 price comparator on Wednesday October 21, 2026 @12:54PM (#50184060)
enjoy!

Show HN: Designobo – AI prototyping tool in 40kb of js

https://designobo.com/

hi HNI'm building designobo, a very fast ai prototyping tool. It let's you create and compare html prototypes in an infinite canvas. There's also a full css editor if you want to manually edit styles.You can also connect any coding agent that supports MCP, so that you can use your own AI subscription.This is an SSR app powered by datastar. I use CQRS and html patches with brotli compression to...

( Read More... | no comments | on HN )
Re:Claude Fable 5.1 and Claude Mythos 5.1 on Tuesday September 01, 2026 @04:53PM (#49528049)
Can't wait for the distillations! I'd love improvement on writing on cheap models
Re:Odin compiles 1M lines in 1s on Wednesday July 29, 2026 @08:58AM (#49096922)
saw some discussion on zig incremental compilation, so I got curious and did this silly bench.

quite impressive

python is terrible for embedding, starlark is the way to go. Very easy to embed.
Re:Metago: Write templates that write go on Monday July 20, 2026 @10:56AM (#48979744)
It occurred to me a few weeks ago why programming languages don't just try add metaprogramming capabilities with comments, without modifying the original compiler. So I went ahead and experimented how would it look like in golang.

So far so good! It's basically go templates that take in any package level go symbol and write code into a meta.go file.

You can do the same with the go/ast package, but metago makes it very easy to add your own custom transformations. No build tags, just write .metago templates, annotate structs, and run metago.

So far I've managed to make stringer, enums, mocks and even an efficient json serde template with metago. As an experiment, there's also a typesafe active record like orm in the repo. So you can do a lot with it!

Re:My Thoughts on the Bun Rust Rewrite on Thursday July 09, 2026 @10:48AM (#48846809)
I think people are overfocusing on the wrong thing.

Bun is slop. Let's not pretend it is not. It went from 600k lines of zig to almost a million of rust, for a wrapper around a js engine. It might be useful slop, but it is still slop.

It's understandable to have mixed feelings about bun as the creator of the language.

You spend 10 years of your time making a language, and one of the most prominent projects that uses it does it in a nasty and sloppy way. You try to help, but your advice gets ignored.

You make a whole language about improving software quality, only to be associated with a project that doesn't care about it.

For once I do appreciate that somebody is willing to have the guts to say what they think. The bun rust rewrite article said no words about the tradeoffs of moving to Rust (compilation times?), and I agree with the false dichotomy presented. How do we know that most bun bugs were not created because of slop / AI usage / stubbornness?

Re:Solod – A Subset of Go That Translates to C on Tuesday April 07, 2026 @03:14AM (#47671713)
tbh I'd rather have this behaviour, defer should've been lexically scoped from the beginning.
Re:Prediction: AI will make formal verification go mainstream on Wednesday December 17, 2025 @05:42AM (#46300391)
You already have this problem whenever you are using a library in any programming language. Unless you are extremely strict, vendor it and read line by line what the library does, you are just trusting that the code that you are using works.

And nothing is stopping the AI from making the unreadable mess more readable in later iterations. It can make it pass the spec first and make it cleaner later. Just like we do!

Ask HN: Wouldn't it be much easier if you compress all env vars into one?

In most apps I develop, there's at most 3 groups of environments, local - staging - prod.Wouldn't it be easier to just join all env vars needed for each environment into a base64 encoded env var, and then just pass that into the given app?I feel like there should be less room for error, and it's easy to add new services. There wouldn't be need for cloud vendors like vercel to namespace env...

( Read More... | 1 comment | on HN )
While I like the modern feel of shadcn/ui and derivatives, I still think that daisyui is much easier to use.

You really just paste these 2 lines in your html and that's it:

  <link href="https://cdn.jsdelivr.net/npm/daisyui@5" rel="stylesheet" type="text/css" />
  <script src="https://cdn.jsdelivr.net/npm/@tailwindcss/browser@4" />
it's a bit more than 100kb of js, but for prototyping it is very nice.

I wish more UI libraries where in the same style. You can always optimize the bundle later.

Did you check the co2 levels on your office? that could be one reason.
Re:BM25 in PostgreSQL – 3x Faster Than Elasticsearch on Monday March 03, 2025 @01:41AM (#43238962)
Unrelated, but PGroonga reads funny in Argentinian. Better than gimp though
Re:Perplexity Got Ads on Saturday January 04, 2025 @04:58AM (#42593785)
Genuine question, more for soloentrepreneurs, but what if instead of adding ads from other companies, the perplexity company did other paid products?

Then they could put a few non disruptive ads for those into their main free product, and they would make much more sense.

I want to apply this strategy into my (yet non existent) future products.

Re:Server-Sent Events (SSE) Are Underrated on Thursday December 26, 2024 @04:38AM (#42514156)
http streaming is even more underrated.
Re:Introducing S2 on Sunday December 22, 2024 @03:12PM (#42488732)
not for non latin american speakers.
Re:You-get: Dumb downloader that scrapes the web on Monday October 28, 2024 @08:40AM (#41970499)
oh god
Re:Svelte 5 Released on Saturday October 19, 2024 @09:58PM (#41892315)
nice and everything, but it still has plenty of performance issues and crashes with the tsserver. Using solid start because of that, tooling is not there yet.
Re:Microsoft TypeSpec on Friday September 20, 2024 @11:24AM (#41602867)
It's even worse, you still need node to run this thing, so you don't avoid the node dependency.
Re:I Have No Constructor, and I Must Initialize on Friday July 05, 2024 @12:56PM (#40884279)
You can always use exhaustruct https://github.com/GaijinEntertainment/go-exhaustruct

to enforce all fields initialized.

If you care, the linter is there, so this is more of a skill issue.

Re:OpenAI GPT-4 vs. Groq Mistral-8x7B on Friday March 22, 2024 @07:53AM (#39789735)
There's lots of comments here about how stupid is to parse html using llms.

Have you ever had to scrape multiple sites with variadic html?

Re:Ask HN: What are some actual use cases of AI Agents right now? on Wednesday February 14, 2024 @03:57PM (#39375218)
I am surprised no one is doing an llm code linter.
Re:On whether we're living in a simulation on Thursday February 08, 2024 @07:27AM (#39301124)
If we are living in a simulation, where does the simulation live in?
Re:Go 1.22 Release Notes on Wednesday February 07, 2024 @07:36AM (#39287792)
every feature that makes a language more complicated will eventually hit you. It might make the typescript compiler slower, harder to refactor, your lsp might also get slower, etc...
Re:Svelte Native: The Svelte Mobile Development Experience on Monday January 29, 2024 @01:53PM (#39180659)
Have you experienced slow scrolling issues?

https://github.com/ionic-team/capacitor/issues/4187

Older »