frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

MOS tech 6502 8-bit microprocessor in pure SQL powered by Postgres

https://github.com/lasect/pg_6502
36•adunk•6h ago

Comments

m000•2h ago
Cool! How about Postgres on MOS tech 6502 8-bit microprocessor powered by Microsoft's 6502 BASIC?
Someone•2h ago
This, basically, uses a table to store 64 kilobytes of memory, a single-row table for storing register values, and uses regular procedural programming to run the CPU (https://github.com/lasect/pg_6502/blob/main/init/05_execute....)

I give that an A+ for perseverance, but I would have hoped to see something that uses the strengths of SQL more.

For example, there could be a table with the decode ROM (https://www.cpcwiki.eu/index.php/MOS_6502#The_Decode_ROM_.28...) that could be used to drive the logic.

Have a main loop that uses the inputs of that ROM to look up the output bits and update a table, and add triggers that handle each “micro-op”. A SQL engine could run those triggers in parallel until they hit a race condition, but those can be avoided a bit by having separate tables for each register.

Even better would be if there were tables with every logic gate and wire in the original CPU, using a trigger to move the signals around. That would be a good test of the trigger handling in a SQL engine.

anthk•1h ago
Kim-1 emulator and assembler for T3X0:

https://t3x.org/t3x/0/sim65kit.html

https://t3x.org/kimuno/

Pocket calc as 6502 code

https://t3x.org/kimuno/kimcalc.html

T3x0 compiler to build the emulator:

https://t3x.org/t3x/0/index.html

DaVinci Resolve – Photo

https://www.blackmagicdesign.com/products/davinciresolve/photo
679•thebiblelover7•9h ago•179 comments

NimConf 2026: Dates Announced, Registrations Open

https://nim-lang.org/blog/2026/04/07/nimconf-2026.html
18•moigagoo•53m ago•3 comments

A new spam policy for “back button hijacking”

https://developers.google.com/search/blog/2026/04/back-button-hijacking
448•zdw•9h ago•269 comments

What is jj and why should I care?

https://steveklabnik.github.io/jujutsu-tutorial/introduction/what-is-jj-and-why-should-i-care.html
24•tigerlily•1h ago•9 comments

Someone bought 30 WordPress plugins and planted a backdoor in all of them

https://anchor.host/someone-bought-30-wordpress-plugins-and-planted-a-backdoor-in-all-of-them/
999•speckx•18h ago•281 comments

Introspective Diffusion Language Models

https://introspective-diffusion.github.io/
83•zagwdt•4h ago•24 comments

Backblaze has stopped backing up your data

https://rareese.com/posts/backblaze/
269•rrreese•3h ago•182 comments

GitHub Stacked PRs

https://github.github.com/gh-stack/
752•ezekg•15h ago•398 comments

Franklin's bad ads for Apple ][ clones and the beloved impersonator they depict

https://buttondown.com/suchbadtechads/archive/franklin-ace-1000/
34•rfarley04•3d ago•14 comments

Distributed DuckDB Instance

https://github.com/citguru/openduck
85•citguru•5h ago•18 comments

Ask HN: I quit my job over weaponized robots to start my own venture

19•barratia•41m ago•10 comments

Lean proved this program correct; then I found a bug

https://kirancodes.me/posts/log-who-watches-the-watchers.html
280•bumbledraven•11h ago•134 comments

The M×N problem of tool calling and open-source models

https://www.thetypicalset.com/blog/grammar-parser-maintenance-contract
14•remilouf•4d ago•3 comments

Ransomware Is Growing Three Times Faster Than the Spending Meant to Stop It

https://ciphercue.com/blog/ransomware-claims-grew-faster-than-security-spend-2025
22•adulion•3h ago•19 comments

WiiFin – Jellyfin Client for Nintendo Wii

https://github.com/fabienmillet/WiiFin
180•throwawayk7h•12h ago•78 comments

A soft robot has no problem moving with no motor and no gears

https://engineering.princeton.edu/news/2026/04/08/soft-robot-has-no-problem-moving-no-motor-and-n...
42•hhs•4d ago•8 comments

Multi-Agentic Software Development Is a Distributed Systems Problem

https://kirancodes.me/posts/log-distributed-llms.html
50•tie-in•6h ago•17 comments

MOS tech 6502 8-bit microprocessor in pure SQL powered by Postgres

https://github.com/lasect/pg_6502
36•adunk•6h ago•3 comments

The Great Majority: Body Snatching and Burial Reform in 19th-Century Britain

https://publicdomainreview.org/essay/the-great-majority/
3•apollinaire•3d ago•0 comments

Nothing Ever Happens: Polymarket bot that always buys No on non-sports markets

https://github.com/sterlingcrispin/nothing-ever-happens
437•m-hodges•20h ago•242 comments

Lumina – a statically typed web-native language for JavaScript and WASM

https://github.com/nyigoro/lumina-lang
22•light_ideas•4d ago•7 comments

Design and implementation of DuckDB internals

https://duckdb.org/library/design-and-implementation-of-duckdb-internals/
139•mpweiher•3d ago•9 comments

US appeals court declares 158-year-old home distilling ban unconstitutional

https://nypost.com/2026/04/11/us-news/us-appeals-court-declares-158-year-old-home-distilling-ban-...
400•t-3•22h ago•268 comments

Rust Threads on the GPU

https://www.vectorware.com/blog/threads-on-gpu/
88•PaulHoule•4d ago•24 comments

The secrets of the Shinkansen

https://www.worksinprogress.news/p/the-secret-behind-japans-railways
106•WillDaSilva•5h ago•97 comments

N-Day-Bench – Can LLMs find real vulnerabilities in real codebases?

https://ndaybench.winfunc.com
78•mufeedvh•14h ago•26 comments

Make tmux pretty and usable (2024)

https://hamvocke.com/blog/a-guide-to-customizing-your-tmux-conf/
394•speckx•21h ago•243 comments

Write less code, be more responsible

https://blog.orhun.dev/code-responsibly/
108•orhunp_•3d ago•65 comments

TanStack Start Now Support React Server Components

https://tanstack.com/blog/react-server-components
74•polywock•6h ago•53 comments

Android now stops you sharing your location in photos

https://shkspr.mobi/blog/2026/04/android-now-stops-you-sharing-your-location-in-photos/
386•edent•1d ago•305 comments