frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

DeepCode: Open Agentic Coding

https://github.com/HKUDS/DeepCode
2•balex•12m ago•0 comments

YouTube's Sneaky AI 'Experiment'

https://www.theatlantic.com/technology/archive/2025/08/youtube-shorts-ai-upscaling/683946/
2•JumpCrisscross•14m ago•0 comments

How to use Obsidian to write content for your Astro website

https://bryanhogan.com/blog/obsidian-astro-submodule
1•bryanhogan•19m ago•0 comments

Mini Habits

https://www.chestergrant.com/26-highlights-from-mini-habits-by-stephen-guise
1•rzk•24m ago•0 comments

I'm too dumb for Zig's new IO interface

https://www.openmymind.net/Im-Too-Dumb-For-Zigs-New-IO-Interface/
7•begoon•25m ago•1 comments

Show HN: OctaneDB – Fast, Open-Source Vector Database for Python

https://github.com/RijinRaju/octanedb
1•rijin_r•34m ago•0 comments

Paleovirology

https://en.wikipedia.org/wiki/Paleovirology
2•ZeljkoS•36m ago•0 comments

Show HN: A newsletter for developers-turned-founders

https://nezhynska.com/ev
1•Eirena•37m ago•0 comments

Microsoft will throttle .onmicrosoft.com email to reduce spam

https://www.theregister.com/2025/08/22/microsoft_throttling_onmicrosoft/
2•jonathanlydall•39m ago•0 comments

Digg's new app is basic, but a great start

https://www.theverge.com/apps/763689/digg-mobile-ios-android-app-relaunch
2•ms7892•39m ago•1 comments

LLMs Are Biased Here's Why Enterprises Can't Afford to Just Plug and Pray

https://viveksgag.substack.com/p/llms-are-biased-heres-why-enterprises
2•vivganes•41m ago•0 comments

My year-long quest to debug a single TCP connection

https://fdi.sk/posts/tcpinfo/
1•simeonmiteff•43m ago•1 comments

The ROI of Exercise

https://herman.bearblog.dev/exercise/
2•ingve•46m ago•0 comments

Ask HN: Help find old article on learnings of a Software Engineer

2•rhardih•46m ago•1 comments

I tried DSPy and now I get why everyone won't shut up about it

https://pedramnavid.com/blog/dspy-part-one/
3•pinkbeanz•50m ago•1 comments

Show HN: RepoSentinel – Track dependencies, security, and repo activity

https://reposentinel.com
1•grazulex•59m ago•0 comments

Product Manager – Risk Technology

https://apply.deshaw.com/ValidateUrl.html?url=Ads/YC/PMRiskTechAug25&entity=DESCO
2•deshaw•1h ago•0 comments

Ehrenfest paradox: the circumference of a relativistic rotating disk is <2πr

https://en.wikipedia.org/wiki/Ehrenfest_paradox
2•lisper•1h ago•0 comments

Can you run a Premier League football club?

https://ig.ft.com/football-game/
1•marcopolis•1h ago•0 comments

TrueNAS on ARM support discussion [video]

https://www.youtube.com/watch?v=tmaNtEjpdoA
1•nodesocket•1h ago•0 comments

Rich Errors, a.k.a. Error Union Types: Motivation and Rationale

https://github.com/Kotlin/KEEP/blob/main/proposals/KEEP-0441-rich-errors-motivation.md
1•vips7L•1h ago•0 comments

Show HN: type-kanren – type-level microKanren in TypeScript

https://github.com/eduhenke/type-kanren
2•eduhenke•1h ago•0 comments

Show HN: SheetHappens - Excel add-in to diff and compare

https://github.com/pipedreamerai/SheetHappens
2•randomness3249•1h ago•1 comments

Show HN: Sharplink Gaming Stock Dashboard

https://sbet.rocks/
1•spacesh1psoda•1h ago•0 comments

Meta receives 48 hour warning over illicit gambling ads in Brazil

https://readwrite.com/meta-legal-warning-illegal-gambling-ads-brazil/
1•dotcoma•1h ago•0 comments

Wokwi: Most Advanced ESP32 Simulator

https://wokwi.com/
1•pykello•1h ago•0 comments

Show HN: Piclabs AI:Ad Maker Easy Creative Ads

https://www.piclabs.org/
1•rooty_ship•1h ago•0 comments

Show HN: Bsdloader – Minimal (~123KB), reproducible x86_64 FreeBSD UEFI loader

https://github.com/losfair/bsdloader
2•losfair•1h ago•0 comments

Apple Website from Start to Present

https://twitter.com/TheAppleDesign/status/1958938747866947922
1•ksec•1h ago•0 comments

Permacomputing 101 [video]

https://www.youtube.com/watch?v=BNYxAdjl1f0
1•surprisetalk•1h ago•0 comments
Open in hackernews

Conways Game of Life in Erlang with Wx GUI

https://github.com/Tortured-Metaphor/Conways-Game-of-Life-in-Erlang
3•DavidCanHelp•3h ago

Comments

DavidCanHelp•3h ago
# Show HN: Conway's Game of Life where every cell is an Erlang actor

I built Conway's Game of Life in Erlang where each cell is an independent actor process. This means a 70x45 grid runs 3,150 concurrent processes, all communicating via message passing to determine their fate each generation.

## Why this is interesting

Most Game of Life implementations use a 2D array with a loop. This one uses the actor model - each cell is literally an independent process that: - Maintains its own alive/dead state - Sends its state to its 8 neighbors each tick - Receives states from neighbors via message passing - Calculates its next state based on Conway's rules - No shared memory, no locks, pure message passing

## The implementation

Each cell is a gen_server that knows its neighbors' PIDs. Every generation: 1. All cells broadcast their state to neighbors 2. Each cell waits to receive all 8 neighbor states 3. Cells calculate their next state (birth/survival/death) 4. Grid coordinator signals all cells to evolve simultaneously

The visualization uses wxWidgets (built into Erlang/OTP) to show cells as cyan squares on a dark grid. Includes classic patterns like glider guns that continuously spawn new gliders.

## Cool observations

- The glider gun creates new "actors" (gliders) that then live independently - Cells that die still exist as processes (just dormant) - they can be reborn - The system gracefully handles thousands of message exchanges per frame - Each cell makes its own decisions - truly decentralized

This really showcases Erlang's strengths: massive concurrency, fault tolerance, and the actor model. It's surprisingly satisfying to watch, knowing each pixel is its own little process doing its thing.

Code: https://github.com/Tortured-Metaphor/Conways-Game-of-Life-in...

To run: `git clone` the repo, then `./life_gui_working.erl` (requires Erlang/OTP)

Would love to hear thoughts on other cellular automata that would benefit from the actor model approach!