frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Show HN: XID – Dependency-Free Unique ID Generator in One C File

https://gist.github.com/Ferki-git-creator/17450d52d143f746f00fb1c903c06bb2
6•FerkiHN•3h ago
XID generates 20-character globally unique IDs (48-bit timestamp + 64-bit entropy + 8-bit counter + 5-bit checksum) in a single C file with zero dependencies. Features built-in timestamp extraction, collision resistance, and portable design for any platform - ideal for databases, IoT, and distributed systems.

char id = xid_generate(); // => "01H5Z7K4W9A3B6C8D0F2G"

Gists: https://gist.github.com/Ferki-git-creator/17450d52d143f746f0...

(Feedback wanted: entropy improvements, embedded use cases, optimizations)*

Comments

asddfgg55•3h ago
The project is interesting, but in my opinion it is not very useful.
FerkiHN•3h ago
Fair point! XID targets niche scenarios where its properties shine: 1. Resource-constrained environments (IoT/embedded) where UUIDs are too heavy 2. Offline systems needing collision resistance without coordination 3. Debuggability - timestamp extraction avoids DB lookups for audit trails 4. Zero-dependency projects (OS kernels, bootloaders, firmware)

It’s not for every use case, but fills gaps where UUIDv4/Snowflake can’t go. Curious what specific problems you’re solving where it feels less useful?

FerkiHN•3h ago
What do you think?

Group Behind Steam Censorship Policies Have Powerful Allies

https://web.archive.org/web/20250719204151/https://www.vice.com/en/article/group-behind-steam-censorship-policies-have-powerful-allies-and-targeted-popular-games-with-outlandish-claims/
1•davikr•1m ago•0 comments

AICodingHorrors – The price of AI-assisted coding

https://aicodinghorrors.com/
2•cratermoon•4m ago•0 comments

Stop pretending you know what AI does to the economy

https://www.noahpinion.blog/p/stop-pretending-you-know-what-ai
1•cwwc•4m ago•0 comments

Books of the Year (So Far)

https://www.nytimes.com/2025/05/07/books/best-books-2025-so-far.html
1•Brajeshwar•4m ago•0 comments

Earth's magnetic field is weakening

https://www.livescience.com/archaeology/earths-magnetic-field-is-weakening-magnetic-crystals-from-lost-civilizations-could-hold-the-key-to-understanding-why
1•Brajeshwar•4m ago•0 comments

Dystopia or utopia? The futuristic visions driven by billionaires

https://www.abc.net.au/news/2025-07-20/futuristic-cities-and-what-we-know-about-them/105049948
2•Brajeshwar•4m ago•0 comments

Every child in this picture is now dead

https://twitter.com/paulg/status/1945223378639450250
1•vinnyglennon•5m ago•0 comments

Perplexity's Comet is the AI browser Google wants

https://www.theverge.com/news/709025/perplexity-comet-ai-browser-chrome-competitor
2•freedomben•10m ago•0 comments

L.A. Wildfire victims struggle to rebuild with natural materials

https://www.latimes.com/environment/story/2025-06-28/natural-building-materials-wildfires-altadena
2•PaulHoule•10m ago•0 comments

Rust Clippy performance status update

https://blog.goose.love
1•todsacerdoti•11m ago•0 comments

US signals intention to rethink job H-1B lottery

https://www.theregister.com/2025/07/20/h_1b_job_lottery/
3•rntn•11m ago•1 comments

Responsible AI in Enterprise Applications: A Practitioner's View

https://www.jjude.com/responsible-ai-in-enterprise-apps/
1•todsacerdoti•11m ago•0 comments

Mitochondrial Origins of the Pressure to Sleep

https://www.nature.com/articles/s41586-025-09261-y
1•walterbell•14m ago•0 comments

How I Use Claude Code to Ship Like a Team of Five

https://every.to/source-code/how-i-use-claude-code-to-ship-like-a-team-of-five
1•ghuntley•22m ago•0 comments

I'm Unsatisfied with Easing Functions

https://www.davepagurek.com/blog/easing-functions/
2•surprisetalk•23m ago•0 comments

Euler's Identity

https://pgadey.ca/notes/eulers-identity/
1•surprisetalk•23m ago•0 comments

Differential Form of Gauss's Law

https://thinking-about-science.com/2025/07/15/25-12-differential-form-of-gausss-law/
1•surprisetalk•23m ago•0 comments

Bus Bunching

https://www.futilitycloset.com/2025/07/12/bus-bunching/
2•surprisetalk•23m ago•0 comments

How the Free Software Foundation battles the LLM bots

https://thenewstack.io/how-the-free-software-foundation-battles-the-llm-bots/
3•MilnerRoute•23m ago•0 comments

Agent-dir: push A2A agent cards to Git, get a lightweight agent catalog

https://github.com/aymenfurter/agent-dir
1•jacksensi•24m ago•0 comments

I found a tool for comparing two lists, which has complete functions

https://list-difference.com
1•ri-vai•25m ago•0 comments

Show HN: Generate bitmap fonts from custom images

https://calligro.ideasalmanac.com/
1•Voycawojka•26m ago•0 comments

Kiro Dev Tools – Download

https://www.kirodotdev.com/download.html
1•yszhu•26m ago•1 comments

Show HN: Chat based AI form builder and calculator

https://minform.io
2•eashish93•28m ago•1 comments

Nine vibe coding tools on one page

https://www.justdoers.com/vibecodingtools
1•astonfred•33m ago•1 comments

The old Caveman Chemistry website (1996-2000)

https://cavemanchemistry.com/oldcave/
5•marcodiego•36m ago•0 comments

The summer of flooding across the US, and scientists know why

https://www.cnn.com/2025/07/20/climate/summer-of-flooding
2•harambae•36m ago•0 comments

Trump Aides Discussed Ending Some SpaceX Contracts, but Found Most Were Vital

https://www.wsj.com/business/trump-aides-discussed-ending-some-spacex-contracts-but-found-most-were-vital-d1cf9ab5
6•perihelions•37m ago•0 comments

Show HN: Launching ChessArena – open-source Chess Benchmark to evaluate LLMs

https://www.chessarena.ai/
1•rohitghumare•39m ago•0 comments

How A Video Studio Embraced A.I. and Stormed the Internet

https://www.nytimes.com/2025/07/18/technology/dor-video-studio-ai.html
1•thm•40m ago•0 comments