frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

How to Stop AI from Killing Your Critical Thinking – Ted

https://app.magellan.ai/listen_links/T2KbyG
1•fagnerbrack•1m ago•0 comments

The uphill climb of making diff lines performant

https://github.blog/engineering/architecture-optimization/the-uphill-climb-of-making-diff-lines-p...
1•fagnerbrack•1m ago•0 comments

Uses for Nested Promises

https://blog.jcoglan.com/2026/03/23/uses-for-nested-promises/
1•fagnerbrack•1m ago•0 comments

Notpron (2004)

https://notpron.com/notpron/
1•kakadu•1m ago•0 comments

Code Context Engine

https://github.com/elara-labs/code-context-engine
1•Oras•5m ago•0 comments

Amazon will stop accepting new customers for Mechanical Turk on July 30

https://techcrunch.com/2026/07/05/amazon-will-stop-accepting-new-customers-for-mechanical-turk/
3•bookofjoe•6m ago•0 comments

Ask HN: Are you emotionally attached to AI code?

1•CurleighBraces•9m ago•1 comments

CTRLServers – one dashboard for all your servers

https://ctrlservers.xyz
1•itsoffkey•10m ago•0 comments

Fences Puzzle

https://www.futilitycloset.com/2026/07/02/fences/
1•surprisetalk•12m ago•0 comments

Apple's Foldable iPhone Could 'Sell Out Immediately

https://www.barrons.com/articles/apple-foldable-iphone-analyst-f2d05036
1•enlightpixel•15m ago•0 comments

Statly Analytics

https://statly-analytics.com/
1•ivangalic•16m ago•0 comments

Show HN: Kotlin Multiplatform AI pipeline – a reality?

https://medium.com/@krasi.karamazov/kotlin-multiplatform-ai-pipeline-a-reality-21b77c6c5a75
1•kkaramazov•16m ago•0 comments

The Guardian view on gene-edited humans: darker uses alongside medical ones

https://www.theguardian.com/commentisfree/2026/jul/05/the-guardian-view-on-gene-edited-humans-dar...
2•bookofjoe•16m ago•0 comments

US home battery installations hit record high on rising electricity costs

https://arstechnica.com/science/2026/07/us-home-battery-installations-hit-record-high-in-early-2026/
2•rbanffy•16m ago•0 comments

NoiseLang: Where N = 5 is a Dirac delta

https://manualmeida.dev/articles/noiselang/
1•manucorporat•17m ago•1 comments

Americans fear Trump's red card interference could ruin World Cup run

https://www.independent.co.uk/news/world/americas/us-politics/trump-red-card-folarin-balogun-fifa...
4•jjgreen•19m ago•1 comments

Fable 5 On Vending-Bench: Misbehaving, With Plausible Deniability

https://andonlabs.com/blog/fable5-vending-bench
1•optimalsolver•19m ago•0 comments

I built a local-first replacement for TV Time before it shuts down July 15

1•continuitytv•20m ago•1 comments

Anthropic's Method to Losing Goodwill in a Few Easy Steps

https://raheeljunaid.com/blog/anthropics-method-to-losing-goodwill-in-a-few-easy-steps/
5•raheelrjunaid•20m ago•2 comments

12 Months of Claude

https://blog.puzzmo.com/posts/2026/07/03/twelve-months-of-claude/
1•ingve•20m ago•0 comments

A Worthy Break from Work

https://www.simonjamesfrench.com
1•Emerald_dreamer•21m ago•1 comments

Humanoid Robots in Japan Risk Losing Legacy to China

https://spectrum.ieee.org/humanoid-robots-japan
1•rbanffy•24m ago•0 comments

The AI Marketing Backlash: Why 'AI-First' Brands Are Starting to Fall Flat

https://www.breef.com/breefingroom/articles/the-ai-marketing-backlash-why-ai-first-brands-are-sta...
2•hasudon7171•24m ago•0 comments

Lost city discovered beneath Egypt's desert with ancient church

https://www.dailymail.com/sciencetech/article-15956159/Incredible-lost-city-discovered-Egypts-des...
1•Bender•24m ago•0 comments

The AI Big Crunch Is Starting

https://medium.com/@brothke/the-ai-big-crunch-is-starting-c50612ee3a02
5•benrothke•27m ago•0 comments

July 6th: International Kissing Day

https://en.wikipedia.org/wiki/International_Kissing_Day
2•Bender•31m ago•0 comments

Britain should consider regulating AI models, FCA official says

https://www.reuters.com/legal/litigation/britain-should-consider-regulating-ai-models-fca-officia...
3•adithyaharish•31m ago•0 comments

The Importance of Questioning When Coding with AI

https://jakub.jankiewicz.org/blog/questioning-ai/
2•jcubic•33m ago•0 comments

How We're Keeping Reddit Real and Safe in the AI Era

https://redditinc.com/news/how-were-keeping-reddit-real-and-safe-in-the-ai-era
2•soheilpro•37m ago•1 comments

Our Own Little Golden Era

https://thesecondbutton.com/our-own-little-golden-era/
2•SuperUserDone•40m ago•1 comments
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?