frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Phyics-Based Dice Roller

https://dice.jswidler.com/
2•swid•45m ago
Yes it is a vibe-coded static site, but I'll share it anyway since people have liked it and actually seem to be using it as I would have intended. For me, it was just sad I couldn't find a good free dice rolling app... I couldn't find this version and the ones I did find were covered with ads. I won't put ads in this one and have no costs to cover since it's hosted on GitHub pages.

Comments

muti•16m ago
Have you analysed the fairness of the rolls? Just after a quick play around it doesn't look like there is enough energy in the throws that I would be confident it is.

10,000 throws with small perturbations in the starting conditions should be distributed evenly across all sides of the die.

Alternatively you could use RNG to generate a fair result, simulate the throw, and then set the sides of the die to produce the result from RNG. This is all academic though and I imagine anyone using the site won't be bothered.

swid•9m ago
There are tests, but I don't collect any real usage statistics to double check them... I could believe that if you pick up the dice and carefully throw it lightly, you can control the values more than intended, and this value would be somewhat correlated with the previous roll for quick enough rolls.

I did think about changing the rotation speed of the dice before you throw, kind of speed it up and slow down. I first added the shuffling effect if you hold them; kind of a shell game animation. If I improve it more, occasionally giving some dice a swift spin would make it harder to defeat I think.

Like you say, this is intended for people who are not going to cheat each other and just want to have fun, so I won't make it worse to account for it.

I guess it works better on mobile with a swipe. I could change space to hold it a brief moment and throw it harder. Now that I am looking at it, that is probably what you mean.

I think I want it to use physics in the end though, not map an RNG result at the end. You can see the faces and what you get is like a real die. If someone can beat it, maybe that is good for them.

Climate Essay: The Inconvenient Truth Behind the Inconvenient Truth (2026)

https://www.brucemccabe.com/futurebites/the-real-way-to-cut-emissions
1•sceeene•1m ago•0 comments

Ukraine's army is experimenting with using Steam Decks to remote-control turrets

https://www.pcgamer.com/ukraines-army-is-experimenting-with-using-steam-decks-to-remote-control-g...
1•ibobev•3m ago•0 comments

Frequent cannabis use: association w seizure burden in drug-resistant epilepsy

https://onlinelibrary.wiley.com/doi/10.1002/epi.70456
1•bookofjoe•3m ago•0 comments

Show HN: The Activity Monitor for the AI Era

https://cortexformac.com/
1•eduardpantazi•3m ago•1 comments

Fedora Discussion Raises the Idea of Replacing LibreOffice with Collabora Office

https://www.phoronix.com/news/Fedora-Discuss-Collabora-Office
2•ibobev•5m ago•0 comments

Tennessee is set to execute a woman for the first time in 200 years

https://www.npr.org/2026/09/29/g-s1-145408/tennessee-woman-execution
1•cebert•5m ago•0 comments

Mysterious 'UFO' spotted on SpaceX livestream

https://www.dailymail.com/sciencetech/article-16167439/spacex-starship-ufo-texas-livestream.html
1•handfuloflight•7m ago•0 comments

Two Kinds of SQL Query Builders

https://mechanicalrabbit.github.io/FunSQL.jl/stable/two-kinds-of-sql-query-builders/#Two-Kinds-of...
1•ibobev•8m ago•0 comments

1337x Servers Hit with Missile Strikes Today

https://www.reddit.com/r/Piracy/comments/1wt6tpm/%F0%9D%9F%8F%F0%9D%9F%91%F0%9D%9F%91%F0%9D%9F%95...
1•r721•9m ago•0 comments

NASA Asked Several Former SR-71A Staffers to Help Secret Restart – Aviation Week

https://aviationweek.com/defense/aircraft-propulsion/nasa-asked-several-former-sr-71a-staffers-he...
2•rbanffy•9m ago•0 comments

Branch Target Reuse: Spectre-v2 Attacks in JIT Engines

https://www.vusec.net/projects/btr/
2•matt_d•10m ago•0 comments

OpenClaw Enterprise

https://github.com/openclaw/openclaw-enterprise
3•rahimnathwani•12m ago•1 comments

MacOBlox – New Alternative to Sober on Linux

https://github.com/aubree-lat/MacOBlox
2•worldwideraider•12m ago•1 comments

Russia's Jet-Powered Shahed Drones Are Quickly Evolving

https://www.twz.com/news-features/russias-jet-powered-shahed-drones-are-quickly-evolving-as-ukrai...
2•cisc•13m ago•0 comments

No Time to Pwn – Can AI Find and Exploit the Linux Kernel?

https://xbow.com/blog/no-time-to-pwn-cve-2026-72018
2•_xor_•14m ago•0 comments

Show HN: Early users to get 90% off for life to test calories counter app

https://www.calready.app
1•vitormargis•14m ago•1 comments

Pluralis Towards a Multicultural Multimodal, Multilingual Benchmark for AI Risk

https://arxiv.org/abs/2607.06196
1•thinkevolve•14m ago•0 comments

Cryptos Fear Credit (2017)

https://sites.bu.edu/perry/2017/09/29/cryptos-fear-credit/
1•rzk•14m ago•0 comments

Can AI Decipher the Indus Valley Script?

1•aadyachinubhai•15m ago•0 comments

Deser: Rethinking Rust Serialization

https://lucumr.pocoo.org/2026/9/29/deser/
1•tosh•16m ago•0 comments

Parmiagiano and Financialisation: Cheese as Gold for the Gold of Cheese

https://developingeconomics.org/2026/09/04/parmiagiano-and-financialisation/
1•paimapi•18m ago•0 comments

Plastic Is Melting onto Corals

https://www.wired.com/story/plastic-is-melting-onto-corals/
2•cisc•19m ago•0 comments

The Thaad Delusion

https://www.theatlantic.com/national-security/2026/09/american-missile-shortage-iran-war/688793/
2•cisc•22m ago•0 comments

First Human Burials Have Been Excavated at Göbekli Tepe

https://www.iflscience.com/the-first-human-burials-have-been-excavated-at-gobekli-tepe-challengin...
2•gmays•22m ago•0 comments

Tell HN: OpenAI's New Pro 500 subscription, reduced Pro 200 usage

1•illuminated•23m ago•2 comments

OpenAI Gets Sued over the Hugging Face Hack

https://www.wired.com/story/openai-sued-over-the-hugging-face-hack/
3•Anon84•25m ago•0 comments

GPT-6.1 Astra Is Grounded: OpenAI's Safety Decision Puts the AI Race on Notice

https://predx-article.fika.bar/gpt-6-1-astra-is-grounded-openai-s-safety-decision-puts-the-01M3NF...
2•joeymabia1•26m ago•2 comments

Designers changing mockups and calling correct & completed work defects

1•LandOfMightDev•28m ago•0 comments

Show HN: Jevia – An outcome-based model router for coding agents

https://jevia.dev/
1•kinfish•29m ago•0 comments

Nvidia Adds $150B to Stock Buyback, the Largest

https://www.nytimes.com/2026/09/28/business/nvidia-stock-buyback.html
2•gmays•30m ago•0 comments