frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Fix HDMI-CEC weirdness with a Raspberry Pi and a $7 cable

https://johnlian.net/posts/hdmi-cec/
79•jlian•1h ago•27 comments

1/4 of US-Trained Scientists Eventually Leave. Is the US Giving Away Its Edge?

https://arxiv.org/abs/2512.11146
56•bikenaga•2h ago•42 comments

“Are you the one?” is free money

https://blog.owenlacey.dev/posts/are-you-the-one-is-free-money/
88•samwho•3d ago•10 comments

Nature's many attempts to evolve a Nostr

https://newsletter.squishy.computer/p/natures-many-attempts-to-evolve-a
19•fiatjaf•4d ago•5 comments

Economics of Orbital vs. Terrestrial Data Centers

https://andrewmccalip.com/space-datacenters
43•flinner•1h ago•41 comments

A kernel bug froze my machine: Debugging an async-profiler deadlock

https://questdb.com/blog/async-profiler-kernel-bug/
36•bluestreak•2h ago•9 comments

Upcoming Changes to Let's Encrypt Certificates

https://community.letsencrypt.org/t/upcoming-changes-to-let-s-encrypt-certificates/243873
193•schmuckonwheels•3h ago•150 comments

Essential Semiconductor Physics [pdf]

https://nanohub.org/resources/43623/download/Essential_Semiconductor_Physics.pdf
78•akshatjiwan•2d ago•4 comments

US TikTok investors in limbo as deal set to be delayed again

https://www.bbc.com/news/articles/cp34442z25ko
147•1659447091•3d ago•84 comments

“Super secure” messaging app leaks everyone's phone number

https://ericdaigle.ca/posts/super-secure-maga-messaging-app-leaks-everyones-phone-number/
454•e_daigle•4h ago•200 comments

Umbrel – Personal Cloud

https://umbrel.com
105•oldfuture•3h ago•57 comments

Chafa: Terminal Graphics for the 21st Century

https://hpjansson.org/chafa/
79•birdculture•5h ago•14 comments

Cosmic-ray bath in a past supernova gives birth to Earth-like planets

https://www.science.org/doi/10.1126/sciadv.adx7892
73•toomuchtodo•6h ago•25 comments

Avoid UUID Version 4 Primary Keys in Postgres

https://andyatkinson.com/avoid-uuid-version-4-primary-keys
325•pil0u•13h ago•340 comments

The appropriate amount of effort is zero

https://expandingawareness.org/blog/the-appropriate-amount-of-effort-is-zero/
31•gmays•3h ago•24 comments

Carrier Landing in Top Gun for the NES

https://relaxing.run/blag/posts/top-gun-landing/
341•todsacerdoti•9h ago•139 comments

We are discontinuing the dark web report

https://support.google.com/websearch/answer/16767242?hl=en
68•satertek•8h ago•27 comments

I'm Kenyan. I don't write like ChatGPT, ChatGPT writes like me

https://marcusolang.substack.com/p/im-kenyan-i-dont-write-like-chatgpt
489•florian_s•11h ago•322 comments

It seems that OpenAI is scraping [certificate transparency] logs

https://benjojo.co.uk/u/benjojo/h/Gxy2qrCkn1Y327Y6D3
182•pavel_lishin•9h ago•94 comments

Secret Documents Show Pepsi and Walmart Colluded to Raise Food Prices

https://www.thebignewsletter.com/p/secret-documents-show-pepsi-and-walmart
49•connor11528•2h ago•10 comments

We architected an edge caching layer to eliminate cold starts

https://www.mintlify.com/blog/page-speed-improvements
26•skeptrune•7h ago•18 comments

Problems with D-Bus on the Linux desktop

https://blog.vaxry.net/articles/2025-dbusSucks
250•LorenDB•4h ago•161 comments

Ask HN: What Are You Working On? (December 2025)

384•david927•1d ago•1280 comments

Building an efficient hash table in Java

https://bluuewhale.github.io/posts/building-a-fast-and-memory-efficient-hash-table-in-java-by-bor...
71•birdculture•2d ago•7 comments

Show HN: I Ching simulator with accurate Yarrow Stalk probabilities

https://castiching.com/
50•jackzhuo•1d ago•32 comments

Show HN: A pager

https://www.udp7777.com/
75•keepamovin•1d ago•32 comments

Optery (YC W22) Hiring CISO, Release Manager, Tech Lead (Node), Full Stack Eng

https://www.optery.com/careers/
1•beyondd•11h ago

SoundCloud has banned VPN access

https://old.reddit.com/r/SoundCloudMusic/comments/1pltd19/soundcloud_just_banned_vpn_access/
249•empressplay•20h ago•168 comments

US Tech Force

https://techforce.gov/
164•purple_ferret•6h ago•220 comments

JetBlue flight averts mid-air collision with US Air Force jet

https://www.reuters.com/world/americas/jetblue-flight-averts-mid-air-collision-with-us-air-force-...
5•divbzero•36m ago•1 comments
Open in hackernews

Show HN: I Ching simulator with accurate Yarrow Stalk probabilities

https://castiching.com/
50•jackzhuo•1d ago
I built this because I wanted a digital I Ching that honors the original math, rather than just Math.random().

Technical detail for the curious:

The simulation follows the traditional Yarrow Stalk algorithm (Da Yan). The core of this algorithm relies on modulo-4 arithmetic on the stalks remaining after a random split.

To make it physically realistic, I used a Box-Muller transform to simulate the user splitting the stalks with a Gaussian distribution (since humans naturally tend to split near the middle), rather than a uniform random split.

I was worried this 'human bias' might skew the modulo probabilities, so I ran a 1-million-run Monte Carlo simulation to verify.

The Result: The remainders [0,1,2,3] still emerged with a near-perfect 25% distribution (deviation < 0.05%).

So, the app simulates the physics of human imperfection while preserving the mathematical perfection of the probability distribution (where Old Yin is 1/16).

Stack: Next.js + Tailwind css

Happy to answer any questions about the math or the hexagrams!

Comments

vessenes•21h ago
I can’t get this to work on iOS at all - question - coin or yarrow choice - then what? No links seem to be hot/working. A little tutorial would be great. Fun project!
AnonHP•20h ago
Same here. It just doesn’t work on Firefox Focus on iOS, even after I disabled content blockers.
dang•20h ago
I put this post in the SCP (https://news.ycombinator.com/item?id=26998308) - will temporarily bury it until the author confirms it's working. Sorry for the inconvenience!
typpilol•20h ago
Not working on edge on android either
jackzhuo•18h ago
Thank you! I found the bug causing issues on mobile/Edge. Just deployed a fix. It should be working now.
thenthenthen•16h ago
Seems to work on iOS safari!
jackzhuo•16h ago
Great to hear! Thanks for verifying.
jackzhuo•18h ago
Hi Dan, thanks for the heads up. I have fixed the mobile bug and deployed the update. It should be working for everyone now. I've also replied to the users above.
jackzhuo•19h ago
sorry, I will check it now!
jackzhuo•18h ago
Thanks for flagging the Firefox Focus issue. I've just pushed a fix for mobile browsers. It should be loading correctly now. Let me know if it works for you!
jackzhuo•18h ago
Hi, thank you so much for reporting this!

I just identified the issue (it was a specific mobile browser compatibility bug). I have deployed a hotfix and it should be working now on iOS.

Could you please give it another try? Sorry for the trouble!

egypturnash•4h ago
Some kind of text on what the resulting hexagrams mean along with their names would be nice for those of us who haven't memorized the meaning of all sixty-four.
ohbleek•2h ago
I believe that is what is listed at the bottom of the page.
joeframbach•4h ago
Please consider improving the color contrast. The text is gray-on-gray and impossible to read.
mapontosevenths•58m ago
To be technically accurate, it would actually need to be a suffusion of yellow for all answers above four.

https://www.urbandictionary.com/define.php?term=A+Suffusion+...

Jimpulse•4h ago
Any sites that give nice barebones explanation of the results? I imagine filling more of the blanks myself instead of AI is part of the exercise, but a nice starting point can help.
thefaux•3h ago
The canonical western text is Richard Wilhelm's german interpretation, translated to english by Cary Baynes. This site has the hexagram descriptions from that translation: https://www.iching.online/wilhelm.php

I recommend buying the book though. It is fascinating whether or not you buy into it.

Jimpulse•47m ago
Dang a Jung forward. Will have to pick it up! Thanks.
mistrial9•14m ago
Carl Jung's Synchronicity text, published at the end of his life, uses I Ching as one testing ground..
helterskelter•3h ago
I'm curious, and I figure you would know more about this than I do: when using real yarrow stalks for the I Ching, how do you split them into groups? I mean like, roughly equal? Don't think about it too much and just split? Just separating them into, say, groups where one group is just a single stalk doesn't seem random.

I guess it's a question of philosophy, either split into groups based off of your intuition, or aim for a truly random split in the pile.

Anyway, I wasn't sure if this is something that's a settled matter or what.

ksymph•3h ago
Functionally it makes no difference whether you split near the middle or not -- a truly random selection would sometimes end up with a pile of one, and that's totally fine. As long as you're not trying to game the system by, say, specifically counting out the sticks to get the outcome you want, it makes no difference. (and if you're doing that, then what's the point?)

Splitting closer to the middle does make it easier to avoid unintentionally counting though. If you make the same splits every time, you'll get the same outcome of course.

Philosophically / spiritually speaking, "don't think about it too much and just split wherever feels right" is the simple answer. Keep in mind the question you want to ask when you make the split and let whatever happens happen. Close your eyes if it helps you focus.

helterskelter•10m ago
> Functionally it makes no difference whether you split near the middle or not -- a truly random selection would sometimes end up with a pile of one, and that's totally fine.

Yeah I just mean I would be very conscious of splitting with a single stalk in one group and would wonder if that was really a 'fair' selection or something I did intentionally since I know the exact number of the yarrow in one hand. In practice, I can't imagine anyone would make a selection like that, even though in a truly random system it would happen not infrequently.

blastro•3h ago
As a fellow iChing developer - this is nice! Thanks for sharing.
NooneAtAll3•3h ago
Any chance to make Enter or Spacebar press the button when Yarrow Stalk thing progresses?

It got tiring and boring to click and click and click with the mouse with no explanation for how it works

dvh•3h ago
> "What should I use for 15V 150mA DC power supply?"

Original Hexagram 45. GATHERING TOGETHER (MASSING) (Ts'ui)

Transformed Hexagram 17. FOLLOWING (Sui)

Ok.

nestorD•2h ago
Fun fact: archaeological evidence on I Ching divinatory records shows an hexagram distribution different from the one produced by the yarrow stalk method. Meaning that, while it is now considered the traditional method, it was likely not the original approach.
z2•1h ago
Naive question: could this have been survivorship bias? Could certain ones not have been written down or kept with the others?
calebm•2h ago
The I Ching contains all 6-bit patterns.
roadside_picnic•1h ago
The hexagrams can be modeled with only 6-bits, but this does not contains enough information for a proper reading of I Ching which also need to account for line changes. So there are really 4 lines: young yin, old yin, young yang, old yang.

A fundamental part of I Ching reading is the implication that each present state is in the process of transforming to another.

lawlessone•2h ago
Now i feel like i need to read The Man in the High Castle again.
n0um3n4•1h ago
i wonder if a query to thise quantum random bumber generator machines would help
jmkd•1h ago
I got a result using coins but could find no link to the hexagram so had to look it up on another site. While I was clicking around your site trying to find the hexagram then I lost my reading and back button didn't work, so changing lines etc were lost. I would love to use this more but not in current state.