frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

2048 in bash with only 64 bits of state

https://github.com/izabera/bitwise-challenge-2048
7•homebrewer•2d ago

Comments

not_your_vase•2d ago
Sure, "only 64 bits of state" is interesting. I find it more interesting though that it is less than 190 non-obfuscated lines - and it actually works.

Nice job.

EmilyHughes•4h ago
Whats so crazy about it though? Intuitively it seems very likely to me that all possible states of 2028 would fit into a 64 bit number.

4x4 = 16 tiles, 64/16 = 4 bits, 16 powers of two = space for 0-65536 per tile.

So going up to only 2048 would leave some room even.

nneonneo•4h ago
dupe: https://news.ycombinator.com/item?id=44320285
homebrewer•4h ago
The main discussion is here: https://news.ycombinator.com/item?id=44320285

This one was posted a couple of days ago and it looks like it was surfaced by HNs algorithms. Since it's now basically a duplicate, it should probably be removed or hidden.

New Linux udisks flaw lets attackers get root on major Linux distros

https://www.bleepingcomputer.com/news/linux/new-linux-udisks-flaw-lets-attackers-get-root-on-major-linux-distros/
215•smig0•3d ago•124 comments

Mechanical Watch: Exploded View

https://fellerts.no/projects/epoch.html
1025•fellerts•23h ago•114 comments

RaptorCast: Designing a Messaging Layer

https://www.category.xyz/blogs/raptorcast-designing-a-messaging-layer
7•wwolffrec•7h ago•1 comments

Cataphract: Medieval-fantasy roleplaying wargame, in the Black-Sea C. 1300

https://samsorensen.blot.im/cataphracts-design-diary-1
67•vidro3•3d ago•7 comments

I wrote my PhD Thesis in Typst

https://fransskarman.com/phd_thesis_in_typst.html
438•todsacerdoti•16h ago•263 comments

Python can run Mojo now

https://koaning.io/posts/giving-mojo-a-spin/
233•cantdutchthis•2d ago•109 comments

New York to Build One of First U.S. Nuclear-Power Plants in Generation

https://www.wsj.com/business/energy-oil/new-york-to-build-one-of-first-u-s-nuclear-power-plants-in-generation-271cfd33
32•melling•57m ago•25 comments

Tell me about your favorite tree (a slow-web proposal)

https://nannnsss.omg.lol/2025/tell-me-about-your-favorite-tree/
39•surprisetalk•3d ago•4 comments

Homotopy Equivalences

https://bartoszmilewski.com/2025/06/20/weak-homotopy-equivalences/
29•ibobev•3d ago•3 comments

Using Home Assistant, adguard home and an $8 smart outlet to avoid brain rot

https://www.romanklasen.com/blog/beating-brainrot-by-button/
282•remuskaos•17h ago•152 comments

Klein Bottle Amazon Brand Hijacking (2021)

https://www.kleinbottle.com/Amazon_Brand_Hijacking.html
304•sebg•18h ago•131 comments

Show HN: Lego Island Playable in the Browser

https://isle.pizza
149•foxtacles•15h ago•37 comments

Claude Code for VSCode

https://marketplace.visualstudio.com/items?itemName=anthropic.claude-code
124•tosh•5h ago•64 comments

Scroll snapping, state queries, monster hunter, and gamification

https://utilitybend.com/blog/the-customizable-select-part-four-scroll-snapping-state-queries-monster-hunter-and-gamification
13•tobr•3d ago•7 comments

Finding a billion factorials in 60 ms with SIMD

https://codeforces.com/blog/entry/143279
136•todsacerdoti•14h ago•9 comments

Nano-Vllm: lightweight vLLM implementation built from scratch

https://github.com/GeeeekExplorer/nano-vllm
41•simonpure•8h ago•9 comments

Radio Garden

https://radio.garden/?2025
139•LeoPanthera•16h ago•28 comments

The X Window System didn't immediately have X terminals

https://utcc.utoronto.ca/~cks/space/blog/unix/XTerminalsNotImmediate
70•zdw•10h ago•28 comments

Show HN: EchoStream – A Local AI Agent That Lives on Your iPhone

14•shuhongwu•4d ago•12 comments

Germany and Italy pressed to bring $245B of gold home from US

https://www.ft.com/content/e39390cc-ea02-4197-843a-1e4c242422cc
142•cempaka•2h ago•187 comments

Show HN: Turbine – 16-bit CPU Architecture and Emulator built in C

https://www.errorcodezero.dev/blog/building-my-own-cpu-isa-and-virtual-machine/
24•errorcodezero•3d ago•4 comments

Polystate: Composable Finite State Machines

https://github.com/sdzx-1/polystate
72•goless•12h ago•31 comments

Using Wave Function Collapse to solve puzzle map generation at scale

https://sublevelgames.github.io/blogs/2025-06-22-nurikabe-map-gen-with-wfc/
66•greentec•13h ago•21 comments

The Tandy Corporation

https://www.abortretry.fail/p/the-tandy-corporation-part-1
52•rbanffy•2d ago•32 comments

Optifye.ai (YC W25) is hiring a back end engineer

1•Vivaan_Baid•13h ago

Verlet Integration and Cloth Physics Simulation (2022)

https://pikuma.com/blog/verlet-integration-2d-cloth-physics-simulation
24•atan2•2d ago•9 comments

Backlash to artificial dye grows as Kraft ditches coloring for Kool-Aid, Jell-O

https://www.washingtonpost.com/business/2025/06/17/kraft-heinz-artificial-food-dyes-us-products/
6•bookofjoe•45m ago•2 comments

Spectroscopic Classification of ASASSN-25cm as a Classical Nova

https://www.astronomerstelegram.org/?read=17228
17•tzury•7h ago•4 comments

Tensor Manipulation Unit (TMU): Reconfigurable, Near-Memory, High-Throughput AI

https://arxiv.org/abs/2506.14364
48•transpute•12h ago•7 comments

Disabling Intel Graphics Security Mitigation Boosts GPU Compute Performance 20%

https://www.phoronix.com/news/Disable-Intel-Gfx-Security-20p
65•rcarmo•7h ago•13 comments