frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

The Art of Multiprocessor Programming 2nd Edition Book Club

https://eatonphil.com/2025-art-of-multiprocessor-programming.html
163•eatonphil•4h ago•23 comments

Telo MT1

https://www.telotrucks.com/
64•turtleyacht•1h ago•49 comments

6 Weeks of Claude Code

https://blog.puzzmo.com/posts/2025/07/30/six-weeks-of-claude-code/
22•mike1o1•2d ago•75 comments

We may not like what we become if A.I. solves loneliness

https://www.newyorker.com/magazine/2025/07/21/ai-is-about-to-solve-loneliness-thats-a-problem
241•defo10•7h ago•474 comments

Show HN: WebGPU enables local LLM in the browser – demo site with AI chat

https://andreinwald.github.io/browser-llm/
83•andreinwald•4h ago•27 comments

Compressing Icelandic name declension patterns into a 3.27 kB trie

https://alexharri.com/blog/icelandic-name-declension-trie
164•alexharri•7h ago•65 comments

Browser extension and local backend that automatically archives YouTube videos

https://github.com/andrewarrow/starchive
23•fcpguru•2h ago•7 comments

Online Collection of Keygen Music

https://keygenmusic.tk
63•mifydev•3d ago•6 comments

Great Question (YC W21) Is Hiring a VP of Engineering (Remote)

https://www.ycombinator.com/companies/great-question/jobs/ONBQUqe-vp-of-engineering
1•nedwin•1h ago

The /o in Ruby regex stands for "oh the humanity "

https://jpcamara.com/2025/08/02/the-o-in-ruby-regex.html
67•todsacerdoti•4h ago•19 comments

ThinkPad designer David Hill on unreleased models

https://www.theregister.com/2025/08/02/thinkpad_david_hill_interview/
102•LorenDB•5h ago•34 comments

Financial lessons from my family's experience with long-term care insurance

https://www.whitecoatinvestor.com/financial-lessons-father-long-term-care-insurance/
52•wallflower•4h ago•58 comments

The Rubik's Cube Perfect Scramble (2024)

https://www.solutionslookingforproblems.com/post/the-rubik-s-cube-perfect-scramble
59•notagoodidea•4h ago•18 comments

Introduction to Unikernel: Building, deploying lightweight, secure applications

https://tallysolutions.com/technology/introduction-to-unikernel-2/
4•eyberg•1d ago•7 comments

Show HN: Wordle-style game for Fermi questions

https://www.fermiquestions.org/
8•danielfetz•1h ago•11 comments

'Communities' of extreme life seen for first time in deep ocean

https://www.bbc.com/news/articles/c3wnqe5j99do
12•moontoast•2d ago•2 comments

Helion begins work on Washington nuclear fusion plant

https://www.nucnet.org/news/microsoft-backed-fusion-company-begins-work-on-washington-nuclear-fusion-plant-7-4-2025
5•mpweiher•2d ago•0 comments

Caches: LRU vs. Random

https://danluu.com/2choices-eviction/
76•gslin•2d ago•14 comments

Microsoft is open sourcing Windows 11's UI framework

https://www.neowin.net/news/microsoft-is-taking-steps-to-open-sourcing-windows-11-user-interface-framework/
139•bundie•10h ago•148 comments

How to reverse engineer an analog chip: the TDA7000 FM radio receiver

https://www.righto.com/2025/08/reverse-engineering-analog-TDA7000.html
16•nynyny7•2h ago•4 comments

Why Exercise Is a Miracle Drug

https://www.derekthompson.org/p/the-sunday-morning-post-why-exercise
193•zdw•2h ago•155 comments

The case for having roommates even when you can afford to live alone

https://supernuclear.substack.com/p/the-case-for-having-roommates-even
37•surprisetalk•4h ago•59 comments

Cerebras Code

https://www.cerebras.ai/blog/introducing-cerebras-code
422•d3vr•20h ago•165 comments

Iceberg, the right idea – the wrong spec – Part 2 of 2: The spec

https://www.database-doctor.com/posts/iceberg-is-wrong-2.html
11•lsuresh•4h ago•1 comments

VSCode extension for syntax highlighting multi-line YAML strings

https://github.com/harrydowning/vscode-yaml-embedded-languages
16•moondev•3h ago•1 comments

Why leather is best motorcycle protection [video]

https://www.youtube.com/watch?v=xwuRUcAGIEU
172•lifeisstillgood•2d ago•145 comments

Robert Wilson has died

https://www.theartnewspaper.com/2025/08/01/robert-wilson-playwright-director-artist-obituary
70•paulpauper•15h ago•16 comments

Coffeematic PC – A coffee maker computer that pumps hot coffee to the CPU

https://www.dougmacdowell.com/coffeematic-pc.html
266•dougdude3339•20h ago•81 comments

Character Bitmap Graphics on the Pet 2001

https://www.masswerk.at/nowgobang/2025/character-bitmaps-on-the-pet2001
15•masswerk•5h ago•5 comments

Hiding secret codes in light protects against fake videos

https://news.cornell.edu/stories/2025/07/hiding-secret-codes-light-protects-against-fake-videos
43•CharlesW•2h ago•41 comments
Open in hackernews

The Rubik's Cube Perfect Scramble (2024)

https://www.solutionslookingforproblems.com/post/the-rubik-s-cube-perfect-scramble
59•notagoodidea•4h ago

Comments

Retr0id•3h 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•3h 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•2h 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•3h 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•2h 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•2h 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•1h 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•52m 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”

kevindamm•50m 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•41m 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.

Aardwolf•2h 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•2h ago
I want to flip coins so randomly that I never see the same face twice in a row.
lutzh•2h 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•1h 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•1h 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•43m 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•33m ago
God's Number has been proven to be 20. It can't be any lower.

https://www.cube20.org/