frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

1-Click GitHub Token Stealing via a VSCode Bug

https://blog.ammaraskar.com/github-token-stealing/
400•ammar2•18h ago•60 comments

Show HN: Edsger – A handwritten Clojure REPL for the reMarkable 2

https://handwritten.danieljanus.pl/2026-06-01-edsger.html
20•nathell•15h ago•2 comments

Show HN: I reverse-engineered the world maps of Test Drive III (1990 DOS game)

https://github.com/s-macke/Test-Drive-3-Maps
92•s-macke•3d ago•21 comments

Use your Nvidia GPU's VRAM as swap space on Linux

https://github.com/c0dejedi/nbd-vram
305•tanelpoder•11h ago•84 comments

AI outperforms law professors in Stanford Law study

https://law.stanford.edu/press/ai-outperforms-law-professors-in-stanford-law-study/
242•berlianta•10h ago•187 comments

The Unreasonable Redundancy of Nature's Protein Folds

https://research.ligo.bio/posts/unreasonable-redundancy-of-natural-protein-folds/
97•ray__•6h ago•24 comments

MAI-Code-1-Flash

https://microsoft.ai/news/introducingmai-code-1-flash/
469•EvanZhouDev•15h ago•208 comments

It is an amazing time for programmers

https://46elks.com/blog/2026/05/29/an-amazing-time-for-programmers
46•jlundberg•1h ago•26 comments

CT scans of BYD car parts

https://www.lumafield.com/scan-of-the-month/byd
383•viasfo•13h ago•227 comments

Microsoft Doubles Down on Controversial Quantum Computing Claims

https://www.science.org/content/article/doubling-down-controversial-claims-microsoft-accelerates-...
27•igortru•3h ago•27 comments

Writing Portable ARM64 Assembly (2023)

https://ariadne.space/2023/04/12/writing-portable-arm-assembly.html
17•luu•2d ago•1 comments

Pluto.jl 1.0 release – reactive notebook for Julia

https://discourse.julialang.org/t/pluto-1-0-release/137296
131•fons-p•10h ago•13 comments

Capstone – multi-platform, multi-architecture disassembly framework

https://www.capstone-engine.org/
56•gregsadetsky•7h ago•1 comments

My thoughts after using Clojure for about a month

https://www.acdw.net/clojure/
216•speckx•14h ago•110 comments

Roku LT Operating System open source distribution

https://blog.roku.com/developer/roku-lt-os
73•dpmdpm•8h ago•23 comments

DIY Bipedal Robot Used Pneumatic "Air-Muscles" Instead of Motors

https://spectrum.ieee.org/shadow-walker-biped-humanoid-robot
11•sohkamyung•2d ago•7 comments

U of T researchers demonstrate AI worm could target any online device

https://www.utoronto.ca/news/u-t-researchers-demonstrate-ai-worm-could-target-any-online-device
36•shscs911•6h ago•8 comments

Gmail thinks I'm stupid, so I left

https://moddedbear.com/gmail-thinks-im-stupid-so-i-left
953•speckx•14h ago•630 comments

HP re-releases classic computer science calculator: The HP-16C

https://hpcalcs.com/product/hp-16c-collectors-edition/
171•dm319•14h ago•105 comments

Words of Type

https://wiki.wordsoftype.com/
64•tobr•2d ago•11 comments

4K years ago, Mohenjo-daro grew more equal over time

https://archaeologymag.com/2026/05/mohenjo-daro-grew-more-equal-over-time/
98•marojejian•11h ago•45 comments

Jonathan Franzen on Talent, Theatre, and His Next Novel

https://www.newyorker.com/books/this-week-in-fiction/jonathan-franzen-06-08-26
3•samclemens•1d ago•0 comments

Open Repair Data Standard

https://openrepair.org/open-data/open-standard/
133•cassepipe•14h ago•7 comments

How we index images for RAG

https://www.kapa.ai/blog/how-we-index-images-for-rag
135•mooreds•17h ago•19 comments

Show HN: Phive, a Gomoku-like game to play with friends or solo

https://phive.app
8•0xCA1EB•3d ago•7 comments

OpenFOV – Webcam head tracking for iRacing

https://www.openfov.com/
122•mwit2023•3d ago•61 comments

Recovering Eric Graham's 1987 Amiga Juggler raytracer source code

https://alphapixeldev.com/recovering-eric-grahams-1987-amiga-juggler-raytracer-source-code/
7•mariuz•4h ago•1 comments

Trump signs downsized AI order after weeks of reversals

https://www.politico.com/news/2026/06/02/trump-signs-downsized-ai-order-00946389
210•_alternator_•17h ago•155 comments

Preparing for KDE Plasma's Last X11-Supported Release

https://blog.davidedmundson.co.uk/blog/596/
190•jandeboevrie•19h ago•232 comments

Fidonet: Technology, Use, Tools, and History (1993)

https://www.fidonet.org/inet92_Randy_Bush.txt
169•BruceEel•20h ago•68 comments
Open in hackernews

Show HN: Phive, a Gomoku-like game to play with friends or solo

https://phive.app
8•0xCA1EB•3d ago
In 2025, my family and I had a long streak of playing a Gomoku / Go Bang / five-in-a-row based game called OK Play. I built a web version so that we could play any time we wanted (i.e. on our phones after kiddos went to sleep).

The first player to get five-in-a-row (horizontally, vertically, or diagonally) wins. In the first phase of play, players take turns placing their pieces next to existing pieces (always edge-to-edge; you can't place a piece with only a corner-to-corner connection). After players exhaust their pieces, play moves into the movement phase: you pick up an existing piece you own and place it according to the previous placement rules. During the movement phase, you cannot move a piece that would leave other pieces disconnected. Play continues in player order until someone wins.

I wrote the app using Elixir's Phoenix framework with Daisy UI / Tailwind CSS for styling. The app is deployed on Gigalixir via its generous free plan. I am by no means a frontend developer / designer, so there's for sure better ways to implement things than what I have here. I mostly focused on making it mobile friendly and getting it to support light and dark mode. There likely exists browser / device specific bugs, since we've only tested it out on our phones (iPhone 13 Pro, Safari / Chrome) and my computer (MacBook Pro, Safari). Happy to hear any suggestions, frontend or otherwise, if you have them!

Developing this has been a real journey. Highlights have included learning about Gomoku and its variants, articulation points (and Trajan's algorithm for strongly connected components), and the Monte Carlo tree search algorithm (for the intermediate level "AI" mode I've recently added for single-player use). Lowlights have all been CSS related.

I'd love to add a "matchmaking" mode in the future. I haven't really looked too much into the mechanics for how that's usually done though - it'll be a great learning opportunity!

Comments

gus_massa•2d ago
I played against the AI.

The red "new game" button is too visible. I pressed it twice in the first times, and then I learned to not press it. Perhaps it would be nice to hide it a little.

When the AI has an obvious move like in the case "Ai Hu Hu Hu Hu " , then the AI plays too fast. We made some games a long time ago and we added a minimal delay (like .2 seconds?) so it's easier to understand that you play and later the AI plays. (Also, to make the computer seem smarted, because it has to think a lot :) .)

0xCA1EB•2d ago
I genuinely appreciate that feedback! I'll get a minimal delay patched in tomorrow (plus a new approach to the New Game button).
gus_massa•1d ago
I like the new version.

Is it posible to make a bot that is not so good playing the game?

0xCA1EB•1d ago
I took a stab at it - there's a new Beginner / Intermediate / Expert page when starting a solo game. :D

It's tough striking a balance between too easy / too tough. Let me know what you think if you give it a try!

I also added a Share button:

- Beginner: https://phive.app/replay/9ZM3MH455K

- Advanced: https://phive.app/replay/M36SWRHR37

gus_massa•1d ago
I finaly won a game! Agaist the easy bot :)
iainmerrick•45m ago
Nice work, this is fun! I've only played against the AI so far, managed to win on Beginner.

I think it would benefit from some little animations so it's clearer what's going on. But making that work nicely across both desktop and mobile could be a real pain, so I wouldn't blame you for punting it until later. :)

A smaller suggestion: maybe draw all the spare pieces on screen, rather than just displaying e.g. "15 pcs" as text. That way you can see at a glance when your stock is dwindling. Experts won't need that but it could be useful for beginners.

0xCA1EB•3m ago
Okay so I happened to catch this comment fresh-out-of-the-oven and spent the last 30 minutes working on this: https://cdn.zappy.app/475bb0a1f788709fee92401ee6860bb3.png

I'm happy with that change! I'll get it pushed live.

As for animations ... :grimacing: I'm afraid that's beyond my current skill level lol.