frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: DualMix128 – A fast, simple PRNG passing PractRand (32TB) and BigCrush

https://github.com/the-othernet/DualMix128
5•the_othernet•1y ago
Hi HN,

I'd like to share DualMix128, a pseudo-random number generator I developed. It's written in C and achieves very high speed while maintaining strong statistical properties for non-cryptographic use.

GitHub (MIT License): https://github.com/the-othernet/DualMix128

Key points:

* *Fast:* Benchmarked at ~0.36 ns per 64-bit generation on GCC 11.4 (-O3 -march=native). This was over 2x faster than `xoroshiro128++` (~0.74 ns) and competitive with `wyrand` (~0.36 ns) in the same tests. (Benchmark code/results in repo).

* *Robust:* Passes the full TestU01 BigCrush suite and PractRand up to 32TB with no anomalies reported. (Test harnesses/logs in repo).

* *Simple Algorithm:* Uses a 128-bit state (two `uint64_t`) with simple mixing based on addition, XOR, rotation, and a final multiplication by the golden ratio constant.

* *C Implementation:* Minimal dependencies (`stdint.h` for core), straightforward C code.

This came out of exploring simple constructions for efficient PRNGs that still hold up under heavy statistical testing.

Curious to hear feedback on the design, performance, potential applications, or any weaknesses you might spot. Thanks!

Comments

thomaskoopman•1y ago
Very cool, fast and looks like it should vectorize too. Do you have a jump function for parallel seeding?

How did you come up with this, some number-theoretic basis or more experimental?

You can now run hackathons on Claude, ChatGPT and Gemini (via MCP)

https://taikai.network/en/blog/the-agentic-first-platform
1•carlosmendes•40s ago•1 comments

OpenZFS deduplication is good now and you shouldn't use it (2024)

https://despairlabs.com/blog/posts/2024-10-27-openzfs-dedup-is-good-dont-use-it/
1•chungy•1m ago•0 comments

Oracle Poisoning: Corrupting Knowledge Graphs to Weaponise AI Agent Reasoning

https://arxiv.org/abs/2605.09822
1•sbulaev•2m ago•0 comments

Beware what you tell your AI chatbot. It's not a shrink – it's a snitch

https://www.theguardian.com/commentisfree/2026/may/13/beware-what-you-tell-your-ai-chatbot-its-no...
1•etiam•2m ago•1 comments

Show HN: A 0.3B model that redacts PII in all 24 EU languages offline

https://huggingface.co/bardsai/eu-pii-anonimization-multilang
1•mipo57•3m ago•0 comments

Supabase MCP OAuth: split across two hosts, DCR registers clients at a third

https://github.com/korrel-dev/mcp-audits/tree/main/audits/supabase
1•issazangana•4m ago•0 comments

Meet The Sad Wives of AI

https://www.wired.com/story/meet-the-sad-wives-of-ai/
2•f_allwein•5m ago•0 comments

The newest AI boom pitch: Host a mini data center at your home

https://arstechnica.com/ai/2026/05/the-newest-ai-boom-pitch-host-a-mini-data-center-at-your-home/
2•trescenzi•5m ago•0 comments

I Thought Creativity Lived in Art Class

https://danunparsed.com/p/what-is-creativity
1•sambellll•6m ago•0 comments

Foxconn confirms cyberattack claimed by Nitrogen ransomware gang

https://www.bleepingcomputer.com/news/security/electronics-giant-foxconn-confirms-cyberattack-on-...
1•Brajeshwar•10m ago•0 comments

Show HN: An open source tool for generating macOS app icons with AI

https://github.com/TeamDev-IP/MoBrowser-App-Icon-Maker
1•Ikryanov•10m ago•0 comments

Steve Jobs: A Few Memories (2011)

https://writings.stephenwolfram.com/2011/10/steve-jobs-a-few-memories/
2•tosh•11m ago•0 comments

I built an email client for AI agents

https://yuzu-hub.github.io/inb/
1•blackmac•11m ago•1 comments

Best Anonymous Payment Methods 2026

https://cloudexplorer.ai/anonymous-payment-methods/
1•BlackPlot•12m ago•0 comments

Huesnatch – Free Colors Tools

https://huesnatch.com/
1•tatheery•12m ago•1 comments

From maps to bitmaps (and from bitmaps to bitmaps): A faster decision engine

https://www.cerbos.dev/blog/from-maps-to-bitmaps-and-from-bitmaps-to-bitmaps
3•sambigeara•13m ago•1 comments

RCE in VSCode Copilot Chat

https://www.hacktron.ai/blog/rce-in-vscode-copilot
2•speckx•13m ago•0 comments

ESP-EEG is an affordable 8-channel biosensing board

https://www.autodidacts.io/cerelog-esp-eeg-affordable-openbci-like-board/
1•surprisetalk•13m ago•0 comments

Show HN: A website builder on the Claude Agent SDK

https://www.adamhsn.com/blog/conversational-website-builder-claude-agent-sdk/
2•adamhsn•14m ago•0 comments

Show HN: Hexy is an app for tracking your packages posted on hex.pm

https://hexy.altumdream.com/
1•lupodevelop•14m ago•1 comments

A practical walkthrough of OAuth 2.0 and PKCE

https://yorukot.me/blog/so-what-is-oauth/
1•night_cat•15m ago•0 comments

Dutch suicide prevention website shares data with tech companies without consent

https://nltimes.nl/2026/05/13/dutch-suicide-prevention-hotline-shares-visitor-data-tech-companies
6•giuliomagnifico•15m ago•0 comments

Show HN: Chrome extension that blocks API keys from being pasted into AI tools

https://github.com/carlgaopapi-png/vaultbix-extension
1•shiqingao•17m ago•1 comments

The VC-Funded Company Is an Obsolete Organizational Form

https://www.selfonomics.com/p/the-vc-funded-company-is-an-obsolete
3•flail•18m ago•1 comments

Unitree Unveils: GD01, a Manned Transformable Mecha, from $650k [video]

https://www.youtube.com/watch?v=oWOyUMJWptc
1•droidjj•18m ago•0 comments

Show HN: Oicana – PDF templating with Typst, 6 server SDKs and browser WASM

https://oicana.com/news/2026-05-09-public-beta/
1•niklasei•18m ago•0 comments

Why I'm leaving GitHub for Forgejo

https://jorijn.com/en/blog/leaving-github-for-forgejo/
21•jorijn•19m ago•1 comments

MiniCPM-v4.6 challenges larger multimodal models at 1.3B params

https://firethering.com/minicpm-v-4-6-on-device-multimodal-model/
1•steveharing1•19m ago•0 comments

Better Claude-code spinner verbs

https://gitlab.com/gpavlik/cc-doomer-spinner#install
1•id02009•19m ago•1 comments

Android Show: New Android Security and Privacy Features in 2026

https://blog.google/security/whats-new-in-android-security-privacy-2026/
1•speckx•21m ago•0 comments