frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

I Write Games in C (yes, C)

https://jonathanwhiting.com/writing/blog/games_in_c/
79•valyala•3h ago•49 comments

Brookhaven Lab's RHIC Concludes 25-Year Run with Final Collisions

https://www.hpcwire.com/off-the-wire/brookhaven-labs-rhic-concludes-25-year-run-with-final-collis...
19•gnufx•1h ago•2 comments

SectorC: A C Compiler in 512 bytes

https://xorvoid.com/sectorc.html
45•valyala•3h ago•8 comments

Hoot: Scheme on WebAssembly

https://www.spritely.institute/hoot/
134•AlexeyBrin•8h ago•25 comments

The AI boom is causing shortages everywhere else

https://www.washingtonpost.com/technology/2026/02/07/ai-spending-economy-shortages/
158•1vuio0pswjnm7•9h ago•192 comments

OpenCiv3: Open-source, cross-platform reimagining of Civilization III

https://openciv3.org/
840•klaussilveira•23h ago•252 comments

Stories from 25 Years of Software Development

https://susam.net/twenty-five-years-of-computing.html
78•vinhnx•6h ago•10 comments

We Mourn Our Craft

https://nolanlawson.com/2026/02/07/we-mourn-our-craft/
273•ColinWright•2h ago•314 comments

The Waymo World Model

https://waymo.com/blog/2026/02/the-waymo-world-model-a-new-frontier-for-autonomous-driving-simula...
1072•xnx•1d ago•615 comments

Al Lowe on model trains, funny deaths and working with Disney

https://spillhistorie.no/2026/02/06/interview-with-sierra-veteran-al-lowe/
57•thelok•4h ago•8 comments

Reinforcement Learning from Human Feedback

https://rlhfbook.com/
88•onurkanbkrc•7h ago•5 comments

Start all of your commands with a comma (2009)

https://rhodesmill.org/brandon/2009/commands-with-comma/
503•theblazehen•3d ago•186 comments

Vocal Guide – belt sing without killing yourself

https://jesperordrup.github.io/vocal-guide/
221•jesperordrup•13h ago•80 comments

The F Word

http://muratbuffalo.blogspot.com/2026/02/friction.html
7•zdw•3d ago•0 comments

U.S. Jobs Disappear at Fastest January Pace Since Great Recession

https://www.forbes.com/sites/mikestunson/2026/02/05/us-jobs-disappear-at-fastest-january-pace-sin...
215•alephnerd•3h ago•165 comments

Microsoft Account bugs locked me out of Notepad – are Thin Clients ruining PCs?

https://www.windowscentral.com/microsoft/windows-11/windows-locked-me-out-of-notepad-is-the-thin-...
23•josephcsible•1h ago•19 comments

Show HN: I saw this cool navigation reveal, so I made a simple HTML+CSS version

https://github.com/Momciloo/fun-with-clip-path
20•momciloo•3h ago•1 comments

72M Points of Interest

https://tech.marksblogg.com/overture-places-pois.html
34•marklit•5d ago•5 comments

Coding agents have replaced every framework I used

https://blog.alaindichiappari.dev/p/software-engineering-is-back
241•alainrk•7h ago•382 comments

France's homegrown open source online office suite

https://github.com/suitenumerique
588•nar001•7h ago•261 comments

A Fresh Look at IBM 3270 Information Display System

https://www.rs-online.com/designspark/a-fresh-look-at-ibm-3270-information-display-system
42•rbanffy•4d ago•8 comments

Selection Rather Than Prediction

https://voratiq.com/blog/selection-rather-than-prediction/
10•languid-photic•3d ago•2 comments

Unseen Footage of Atari Battlezone Arcade Cabinet Production

https://arcadeblogger.com/2026/02/02/unseen-footage-of-atari-battlezone-cabinet-production/
118•videotopia•4d ago•35 comments

History and Timeline of the Proco Rat Pedal (2021)

https://web.archive.org/web/20211030011207/https://thejhsshow.com/articles/history-and-timeline-o...
19•brudgers•5d ago•4 comments

Where did all the starships go?

https://www.datawrapper.de/blog/science-fiction-decline
86•speckx•4d ago•95 comments

Show HN: Look Ma, No Linux: Shell, App Installer, Vi, Cc on ESP32-S3 / BreezyBox

https://github.com/valdanylchuk/breezydemo
281•isitcontent•23h ago•38 comments

Learning from context is harder than we thought

https://hy.tencent.com/research/100025?langVersion=en
204•limoce•4d ago•112 comments

Monty: A minimal, secure Python interpreter written in Rust for use by AI

https://github.com/pydantic/monty
292•dmpetrov•23h ago•156 comments

Show HN: Kappal – CLI to Run Docker Compose YML on Kubernetes for Local Dev

https://github.com/sandys/kappal
24•sandGorgon•2d ago•13 comments

Hackers (1995) Animated Experience

https://hackers-1995.vercel.app/
562•todsacerdoti•1d ago•272 comments
Open in hackernews

The Rubik's Cube Perfect Scramble (2024)

https://www.solutionslookingforproblems.com/post/the-rubik-s-cube-perfect-scramble
86•notagoodidea•6mo ago

Comments

Retr0id•6mo ago
> There are 43,252,003,274,489,856,000 ways to arrange a Rubik’s cube. If I could evaluate a million arrangements per second, it would take over 1.3 million years to evaluate all arrangements. So, inspecting every individual arrangement is out.

For people who like powers of 2, that's "only" 2^65.2

That's within the realm of computability in practical timespans, if you can make the code fast and have $$$$$ to spend on compute. (modern CPU cores can do billions of operations per second, and that's not even considering GPUs)

The approach presented in the article is obviously far more efficient, but I wonder if anyone's done a "full search" of all possible cube positions before. I don't think there's any reason to do that, but that hasn't stopped people before (see: pi calculation records).

HappyPanacea•6mo ago
IIRC they way they proved you can always solve a cube in 20 moves was essentially a bruteforce (after eliminating symmetries) so this the closest someone have done to full search.
CJefferson•6mo ago
The search was a little easier than that, as we knew how to solve every state in 20 moves, so the problem was proving some move that could be solved in 20 moves couldn't be done quicker in some unusual way. While that still took a while, the fact you knew the start and end limits how many moves you have to search.
ramses0•6mo ago
Seeing the "bits" that way makes me think there's a way to encode an ssh key into a rubix cube (a-la the "spy shuffle" decks).

Reminds me a bit of the "randomart" seeing the positions and colors of the cube splayed out like that.

kevindamm•6mo ago
Except that the transform is relatively easy to reverse (compared to prime factorization) because of the properties of edge and corner pieces and limitations on piece movement that make a kind of spectral analysis possible. Things get a little better if you increase the size of the cube. Things get interesting if you allow un-solvable states (there's a 2:1 ratio of positions that are not naturally reachable) if you include in the protocol something like "always encode any corner rotations first" but it still wouldn't really be strong enough for modern compute.

If you mean to use it exclusively as a real-world key transmission like with Cryptonomicon's Solitaire decks, the problem becomes finding the shortest path or whatever the protocol determines is the normalized form.

Not to rain on your parade, it's a fun approach to think about, like maybe if the properties of a specific face determine which rotations to perform next, and which face to look at next, in addition to being the nonce for decoding the next letter. But even something like that would be too complicated to expect a person to remember all of while not being complicated enough to fluster a computational approach. The nice thing about Solitaire is that it's reasonable to perform the algorithm in your head.

kevindamm•6mo ago
This was done in 2010 thanks to the analysis of the symmetries inherent in the underlying group theory, and about 35 CPU-years:

https://www.cube20.org/

stoneman24•6mo ago
For me, any position which requires the full maximum 20 moves to solve would qualify as the perfect shuffle.

I wonder how many positions qualify (perhaps only 1 discounting symmetry as there is 1 fully solved cube, again discounting symmetry). But that’s a rabbit hole that I am not going down.

But I can appreciate the choice made in the article.

Someone•6mo ago
> perhaps only 1 discounting symmetry as there is 1 fully solved cube

I don’t see how ”there is 1 fully solved cube” would even hint at “perhaps only 1”

Also, there isn’t only 1. https://www.cube20.org/: “Distance-20 positions are both rare and plentiful; they are rarer than one in a billion positions, yet there are probably more than one hundred million such positions. We do not yet know exactly how many there are”

seanhunter•6mo ago
A fun thing to think about is if you’re allowing generalizations to more than 3x3x3, there can be more than one fully-solved configuration. A 4x4x4 cube for example has 4 identical centre pieces on each face where the centre piece of a 3x3x3 cube is. I’m pretty sure these 4 pieces can be in any configuration as long as they are the correct colour and the cube is still completely solved. Likewise each edge piece in a 3x3x3 is replaced in a 4x4x4 with two “wings” which can be swapped without changing the fact that the cube is solved.
Someone•6mo ago
A 3×3×3 already has multiple such solutions. The center squares can rotate over 90° without visible changes. See https://de.speedcube.com.au/blogs/speedcubing-solutions/how-...
seanhunter•6mo ago
That’s interesting. I originally thought these were isomorphic to rotating the entire cube but of course that doesn’t take into account cases where they rotate relative to each other
kevindamm•6mo ago
There are about 490 million of them, the full list can be downloaded from that same cube20 site

https://www.cube20.org/distance20s

BurningFrog•6mo ago
You can trim it down by counting in quarter moves.

That is, count a 180° move as two 90° moves. Which it is, though we usually don't think of it that way.

Assuming a random move length distribution, that would only leave a (2/3)^20 fraction of them, which is about 147000 positions.

kevindamm•6mo ago
That page also shows their results for quarter turns, there are 3 (or fewer) with 26 quarter turns being the shortest they can be solved in. 36 (or fewer) needing 25 quarter-turns.

https://www.cube20.org/qtm/

Aardwolf•6mo ago
It actually looks somewhat regular instead of random in the end. Perhaps having only rule 6 and 3, no others, is interesting. Or 6, 3 and 1. Or only rule 3 and take solution with highest entropy
superjan•6mo ago
I want to flip coins so randomly that I never see the same face twice in a row.
fastaguy88•6mo ago
This is an interesting insight. The OP's constraint that no two adjacent squares are the same color ensures non-randomness. (Which reminds us why people are so bad at producing "random" sequences.)
superjan•6mo ago
Yeah, it’s a funny coincidence that all those constraints to make it look random produces exactly one solution. I guess the OP knows this is not ‘random’ in the mathematical sense.
lutzh•6mo ago
For all the Rubik's Cube enthusiasts here: here's a two-dimensional one in JavaScript - https://www.huehnken.de/games/circles/

Also a solution looking for a problem, maybe.

lupire•6mo ago
Par of why this is a strange goal is that two adjacent squares can be the same color, but not be in the correct relative position for an unscrambled cube. Rubik's cube is puzzle of cubelets, not squares
liampulles•6mo ago
Its quite a pretty arrangement IMO. There is a mix of randomness and regularity in it.

I'll keep my Rubik's Cube in this position.

divbzero•6mo ago
OP’s perfect scramble takes 18 moves to solve. Does that mean all Rubik’s Cube arrangements can be solved in 18 moves or less?
venusenvy47•6mo ago
God's Number has been proven to be 20. It can't be any lower.

https://www.cube20.org/

rawling•6mo ago
> There are 3 limitations:

> ...

> 2) I can place the first 11 edge pieces onto the cube any way I want. The orientation of the last edge piece is determined by the orientation of the first 11.

> 3) I need to track how many swaps I create by placing those pieces. An even number of swaps is solvable, and odd number is not.

Would it be equivalent to say, after placing the first 10 edge pieces, the position of the 11th is mandated, and then the orientation of the 12th is too? Or if (3) is broken might it be harder to fix than swapping the 11th and 12th?

tripa•6mo ago
Kind of.

But it introduces an artificial difference between edges and corners. You'd get the same ability for corners if you did them after the edges.

The slightly counterintuitive “magic” is that you can trade a corner swap for an edge swap: for permutation parity, corners and edges are interchangeable.

pama•6mo ago
That’s a great reminder that what humans consider random and what is a truly random sets of states with high entropy are typically different things. In this case out of 43 quintillion combinations, there’s only 48 that fit the human imposed random criteria. In the case of passwords, websites typically ask for lots of additional constraints in what a password must have leading to dramatic reductions in the brute force effort required to find a password.
davidpfarrell•6mo ago
I loved reading this, but I can't help but think that a "perfect scramble" would be one that can ONLY be solved in 20 moves, i.e no shortcuts can be applied to solve in less moves. I wonder how many of those exist?
karmakaze•6mo ago
Right. This reminds me of Enigma not mapping a letter to itself. Perfect isn't quite the name for this, it's constrained with the outward appearance of being unpatterned and being very patterned having only 48 arrangements of a unique solution. When we see simple patterns, we think things are not truly random, hence fake random for Spotify playlists.