News for hackers. Stuff that matters.

functional_dev

Re:What Zig felt like, coming from Rust on Sunday September 20, 2026 @04:16PM (#49779636)
Learned today why there is no "zig metadata" command. A dependency can be marked lazy, so whether you even need it depends on the build flags you pass.

So ZLS has to actually run your "build.zig" to see the modules

That is why it breaks when Zig changes the build system.

https://vectree.io/c/zigs-build-system-protocol-module-graph...

Re:RSA-896 on Sunday September 20, 2026 @07:03AM (#49774581)
RSA-768 was already factored in 2009.. cheap now. What surprised me is that RSA keys are much weaker than their size looks. You need 2048 bits to get normal safety, and 768 is far below that.

https://vectree.io/c/how-rsa-key-sizes-map-to-real-security-...

Re:Ask HN: Who wants to be hired? (August 2026) on Tuesday August 04, 2026 @12:46PM (#49171426)
Location: Riga, Latvia (EU)

Remote: Yes, remote only

Willing to relocate: No

Technologies: Rust, TypeScript/Node, React, Go, Elixir, OCaml, Postgres, Kubernetes, NATS, gRPC, LLM/agent systems (RAG, tool calling, vector search)

Résumé/CV: https://martinserts.com

Email: [email protected]

20+ years backend and full-stack. Rust and TypeScript in production, plus a long functional-programming background.

Also three AI products built solo, end to end, in Elixir, Go and OCaml, each on infrastructure I set up and still run. One has been live and unattended for months.

Open to contract (B2B) or permanent.

Re:We scaled PgBouncer to 4x throughput on Sunday July 12, 2026 @02:04PM (#48883094)
is there a reason to still pick PgBouncer over these newer ones? Or is PgBouncer mostly the default because everybody runs it
I did not know this before... Google protobuf is not one thing, it is three! Same import, but:

* old C++ extension

* upb

* pure Python

upb parses FAST, but then every access is still C->Python and it slows it down. So for many reads the slow python one can win?

This one helped me to dig deeper - https://vectree.io/c/how-python-protobuf-runtimes-work-pure-...

Re:In praise of memcached on Tuesday June 23, 2026 @11:23AM (#48646531)
I always used memcached without knowing how it stores things.. never knew about the slab thing.

It is more sophisticated than grab memory per item.

This helped be to understand it better - https://vectree.io/c/memcached-internals-slab-allocation-lru...

Re:I still prefer MCP over skills on Friday April 10, 2026 @10:27AM (#47718696)
actually local MCP just spawns a subprocess and talks via stdin/stdout.. same as CLI tool. Extra layer is only for remote case.

This might help if interested - https://vectree.io/c/implementation-details-of-stdio-and-sse...

Re:We've raised $17M to build what comes after Git on Friday April 10, 2026 @10:15AM (#47718521)
You are right, PRs are not in git. format-patch and request-pull are originals designed for mailings lists. Github just put UI on top.

Interesting that DAG model means any branch from anywhere can be merged... the forge is just coordination.

Explored here if curious - https://vectree.io/c/git-graph-theory-logic

The ETH article title is actually fine - "a new trick brings stability."

The hype is in the HN title.

true, but reading this made me learn something new.

Turns out HashCash (system Bitcoin borrowed), was originally built to fight email spam in 1977 - https://vectree.io/c/hashcash-the-proof-of-work-system-cited...

Re:The Future of Everything Is Lies, I Guess on Thursday April 09, 2026 @05:39AM (#47701350)
I like the garden analogy.

Writing online used to bring you readers. Now it trains model, which answers the same questions without sending anyone to your site.

Re:Ask HN: Any Interesting Niche Hobbies? on Wednesday April 08, 2026 @02:24PM (#47694233)
really cool, data pipeline alone sounds like fun challenge
Re:The Future of Everything Is Lies, I Guess on Wednesday April 08, 2026 @02:22PM (#47694219)
better tooling and integration
Re:Ah, peptides. where to begin? on Wednesday April 08, 2026 @01:04PM (#47693050)
Did you try increasing protein intake during the cut?
Re:The Git Commands I Run Before Reading Any Code on Wednesday April 08, 2026 @12:55PM (#47692898)
I found it interesting, that Git itself has built in similarity notion... when it packs objects, it groups files by path+size, runs delta cmpression to find which are close.

Very different from just counting commits - https://vectree.io/c/delta-compression-heuristics-and-packfi...

Re:Bitcoin and quantum computing on Wednesday April 08, 2026 @12:32PM (#47692511)
Do you have a link to the paper showing the 20x improvement?
Re:Running Out of Disk Space in Production on Wednesday April 08, 2026 @12:23PM (#47692375)
Such a simple trick, but effective!
Re:Explore union types in C# 15 on Wednesday April 08, 2026 @12:13PM (#47692236)
Right, the default boxes into heap, but unions are different. Some languages pack them as a flat struct (tag + payload, no allocation).

Here is visual layout if anyone is interested - https://vectree.io/c/memory-layout-tagging-and-payload-overl...

Re:Why IPv6 is the only way forward on Wednesday April 08, 2026 @11:53AM (#47691924)
Backwards compatibility point is interesting.

Found this visual breakdown of IPv4 -> IPv6 transition.

Dual stack and tunneling sections show how much complexity came from not having a clean migration path - https://vectree.io/c/ipv4-vs-ipv6-address-architecture-nat-a...

Re:How to Get Better at Guitar on Wednesday April 08, 2026 @11:32AM (#47691620)
100% true, but method still matters
Re:I Won't Download Your App. The Web Version Is A-OK on Monday April 06, 2026 @12:31PM (#47663130)
I am with you here.. there is actually name for why companies do this. They are not pushing app because it is better, but because browser tab cannot lock you in.

Mapped it out here if curious - https://vectree.io/c/enshittification-how-digital-platforms-...

This confused me at first as well.. inactive experts skip compute, but weights are sill loaded. So memory does not shrink at all.

I found this visualisation helpful - https://vectree.io/c/sparse-activation-patterns-and-memory-e...

100%

There is genuine demand for physical AI in Japan, there are not enough humans to hire.

I bet, EU will start long debates wether to automate or not :) Japan already skipped that part

Re:LÖVE: 2D Game Framework for Lua on Monday April 06, 2026 @08:21AM (#47659980)
exactly, the simplicity is its beauty!

A single data structure (tables), no built in OOP (you build it with metatables).

Coroutines instead of threads.

I was curious and explored it in detail here - https://vectree.io/c/lua-language-design-metatables-coroutin...

Re:Is Germany's gold safe in New York ? on Monday April 06, 2026 @07:57AM (#47659758)
or rather "move when?"

Moving 1,400 tonnes might take years. The window to act is closing.

Agreed, it takes decades to build manufacturing expertise.. lose demand for a few years and all is lost

Throwing more money at it does not work either, you need skilled workforse

Same is happening in EU with shipbuilding

Re:Ubuntu now requires more RAM than Windows 11 on Monday April 06, 2026 @05:24AM (#47658632)
interesting, I never realized macOS compresses memory in place before swapping.. Linux just dumps straight to disk, no wonder it freezes

Found good visual explainer on this - https://vectree.io/c/linux-virtual-memory-swap-oom-killer-vs...

Funny part is that the real infra behind digital signatures is insanely serious compared to DocuSing "cutesy font"..

I did not know that root CA keys are generated in faraday cages?? Multiple custodians persent, then kept in tamper proof vaults.

I had no idea until I saw this visual breakdown - https://vectree.io/c/public-key-infrastructure-pki-and-certi...

Agreed, every astronaut says no photo prepares you for actually being there.

Knowing what the far side looks like and floating there looking at it are completely different things

what surprised me is how different the rendering architecture is for each framework.

Win32 -> message loops & GDI

Winforms -> managed C# via P/Invoke

WPF -> throwse all away and uses DirectX

UWP -> Appcontainer sandboxing

WinUI -> decouples from OS entirely

This visual breakdown helped me to see it clearly - https://vectree.io/c/evolution-of-windows-gui-frameworks-fro...

Older »