frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Show HN: Real-time Solar System with 526k asteroids and all tracked satellites

https://space.bl2.net/
52•wanick•3h ago•21 comments

Show HN: TurboGPT: train 22KiB transformer in 13s

https://github.com/lostmsu/TurboGPT
37•lostmsu•3h ago•5 comments

Show HN: NSL – WSL for Linux

https://frostyard.github.io/nsl/
71•bketelsen•8h ago•53 comments

Show HN: The Activity Monitor for the AI Era

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

Show HN: Phyics-Based Dice Roller

https://dice.jswidler.com/
2•swid•1h ago•2 comments

Show HN: Jevstiller – Distill Jev into a local model, with a disagreement bound

https://jevstiller.pages.dev/posts/the-guarantee/
59•tgluck•10h ago•11 comments

Show HN: Web server that lets you build iOS & Android offline apps like BitChat

https://github.com/Qbix/webserver/tree/main
2•EGreg•2h ago•0 comments

Show HN: Clx 0.4.0 – native compiler for Lua

https://samyeyo.github.io/clx/
2•_samt_•2h ago•0 comments

Show HN: Sarala – An open-source WYSIWYG Markdown editor

https://sarala.solancer.com/
3•solancer•3h ago•0 comments

Show HN: HN.watch – Videos of all Hacker News posts

https://hn.watch/
207•mrborgen•1d ago•97 comments

Show HN: Destroy Any Website with Stickman

https://destroy.spritefusion.com/
163•HugoDz•1d ago•37 comments

Show HN: PaperMono, e-ink fridge magnet shopping list with mobile web page

https://github.com/seamusc/papermono-shopping-list
146•seamus_c•1d ago•62 comments

Show HN: Free alternative to graphics design giants

https://scissor.studio/
133•sia_xi•1d ago•50 comments

Show HN: A working 3D model of an Enigma machine

https://enigma.design
8•primitivesuave•5h ago•0 comments

Show HN: Free browser games designed for 80-year-old eyes and hands

https://freegamesforseniors.com/
8•xmasdong•7h ago•0 comments

Show HN: Museum of Numbers

https://numbermuseum.com/2147483647
30•rhl314•3d ago•12 comments

Show HN: Pac-Bench – How well can models one-shot a Pac-Man game?

https://jonclegg.github.io/pacman-bakeoff/
77•thefourthchime•1d ago•50 comments

Show HN: Sezwhere – Ask any document "where does it say that?" (built on Jev)

https://sezwhere.com/
8•irs•8h ago•1 comments

Show HN: Lofi Cities – Pixel-art city nights with browser-generated lofi

https://loficities.com/
313•safaelmali•2d ago•135 comments

Show HN: Ctxfw – AST context firewall that cuts agent prompt tokens by 67%

https://github.com/heuristicolab/ctxfw
5•mikemo88•8h ago•0 comments

Show HN: We built a way for web apps to message users' phones without SMS

https://thenotifier.app/developers/
7•bubbamack•8h ago•9 comments

Show HN: Misanthropic – an AI that's honest about how it feels about you

https://misanthropic.chat
5•yaskyj•8h ago•3 comments

Show HN: Jev Plays Pokémon Red

https://jev-pokemon.vercel.app/
281•pancomplex•4d ago•123 comments

Show HN: NetWasm – Independent .NET Compiler/Runtime (82.5 KB Hello World in C#)

https://playground.netwasm.com/
5•zionsati•9h ago•4 comments

Show HN: CodeDiff – Fast (<100ms), robust (99.95%) syntax-aware code diff

https://github.com/ivankovic/codediff
4•FabCH•10h ago•0 comments

Show HN: Bough, Visualize your vibe coded project: progress, time, cost and more

https://github.com/nickelsec/bough
3•nikhilkxmar•10h ago•0 comments

Show HN: TinyAIArena watch AI agents battle it out

https://tinyaiarena.com/
120•hp6•2d ago•45 comments

Show HN: Hntui – A TUI for Hacker News

https://github.com/ahmd-sh/hntui
111•ahmd-sh•1d ago•65 comments

Show HN: Last Internet Connection

https://reparadoxy.itch.io/last-internet-connection
2•PolishDevelop22•5h ago•0 comments

Show HN: Reladraw – A diagram language where you decide where to place things

https://github.com/reladraw/reladraw
406•jpwalsh234•3d ago•119 comments
Open in hackernews

Show HN: Phyics-Based Dice Roller

https://dice.jswidler.com/
2•swid•1h 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•1h 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•59m 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.