frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

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

https://openciv3.org/
576•klaussilveira•10h ago•167 comments

The Waymo World Model

https://waymo.com/blog/2026/02/the-waymo-world-model-a-new-frontier-for-autonomous-driving-simula...
889•xnx•16h ago•540 comments

How we made geo joins 400× faster with H3 indexes

https://floedb.ai/blog/how-we-made-geo-joins-400-faster-with-h3-indexes
91•matheusalmeida•1d ago•20 comments

What Is Ruliology?

https://writings.stephenwolfram.com/2026/01/what-is-ruliology/
18•helloplanets•4d ago•10 comments

Unseen Footage of Atari Battlezone Arcade Cabinet Production

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

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

https://github.com/valdanylchuk/breezydemo
197•isitcontent•11h ago•24 comments

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

https://github.com/pydantic/monty
199•dmpetrov•11h ago•91 comments

Show HN: I spent 4 years building a UI design tool with only the features I use

https://vecti.com
307•vecti•13h ago•136 comments

Microsoft open-sources LiteBox, a security-focused library OS

https://github.com/microsoft/litebox
352•aktau•17h ago•175 comments

Sheldon Brown's Bicycle Technical Info

https://www.sheldonbrown.com/
350•ostacke•17h ago•91 comments

Hackers (1995) Animated Experience

https://hackers-1995.vercel.app/
453•todsacerdoti•19h ago•228 comments

Delimited Continuations vs. Lwt for Threads

https://mirageos.org/blog/delimcc-vs-lwt
20•romes•4d ago•2 comments

Dark Alley Mathematics

https://blog.szczepan.org/blog/three-points/
79•quibono•4d ago•18 comments

PC Floppy Copy Protection: Vault Prolok

https://martypc.blogspot.com/2024/09/pc-floppy-copy-protection-vault-prolok.html
52•kmm•4d ago•3 comments

Show HN: If you lose your memory, how to regain access to your computer?

https://eljojo.github.io/rememory/
253•eljojo•13h ago•153 comments

An Update on Heroku

https://www.heroku.com/blog/an-update-on-heroku/
388•lstoll•17h ago•263 comments

Was Benoit Mandelbrot a hedgehog or a fox?

https://arxiv.org/abs/2602.01122
5•bikenaga•3d ago•1 comments

How to effectively write quality code with AI

https://heidenstedt.org/posts/2026/how-to-effectively-write-quality-code-with-ai/
231•i5heu•14h ago•175 comments

Zlob.h 100% POSIX and glibc compatible globbing lib that is faste and better

https://github.com/dmtrKovalenko/zlob
12•neogoose•3h ago•7 comments

Show HN: R3forth, a ColorForth-inspired language with a tiny VM

https://github.com/phreda4/r3
68•phreda4•10h ago•12 comments

Female Asian Elephant Calf Born at the Smithsonian National Zoo

https://www.si.edu/newsdesk/releases/female-asian-elephant-calf-born-smithsonians-national-zoo-an...
24•gmays•6h ago•6 comments

Why I Joined OpenAI

https://www.brendangregg.com/blog/2026-02-07/why-i-joined-openai.html
116•SerCe•7h ago•94 comments

I spent 5 years in DevOps – Solutions engineering gave me what I was missing

https://infisical.com/blog/devops-to-solutions-engineering
135•vmatsiiako•16h ago•59 comments

Introducing the Developer Knowledge API and MCP Server

https://developers.googleblog.com/introducing-the-developer-knowledge-api-and-mcp-server/
43•gfortaine•8h ago•13 comments

Understanding Neural Network, Visually

https://visualrambling.space/neural-network/
268•surprisetalk•3d ago•36 comments

Learning from context is harder than we thought

https://hy.tencent.com/research/100025?langVersion=en
168•limoce•3d ago•87 comments

I now assume that all ads on Apple news are scams

https://kirkville.com/i-now-assume-that-all-ads-on-apple-news-are-scams/
1039•cdrnsf•20h ago•431 comments

FORTH? Really!?

https://rescrv.net/w/2026/02/06/associative
60•rescrv•18h ago•22 comments

Show HN: ARM64 Android Dev Kit

https://github.com/denuoweb/ARM64-ADK
14•denuoweb•1d ago•2 comments

Show HN: Smooth CLI – Token-efficient browser for AI agents

https://docs.smooth.sh/cli/overview
88•antves•1d ago•63 comments
Open in hackernews

S.A.R.C.A.S.M: Slightly Annoying Rubik's Cube Automatic Solving Machine

https://github.com/vindar/SARCASM
278•chris_overseas•3mo ago

Comments

derac•3mo ago
The aesthetics of this are great. Nice job.

Demo: https://youtube.com/shorts/Xer4mPZZH8E

boneitis•3mo ago
This is absolutely the most charming thing I've seen in a hot minute.

For anyone also thoroughly enchanted like me, there is an additional, longer demo:

https://www.youtube.com/watch?v=WV52RtuWXk0

Living in software land, I do wonder how hard is the undertaking to build one of my own.

As a hobbyist cuber, this project reeks of icebreaking potential for the rest of the times I'm not actively solving -- leave it on my desk next to a cube... random coworker walks by, sees and grabs the cube, shuffles it, and chucks it into the SARCASM machine, enjoys a minute of novelty, ????, profit!

wilg•3mo ago
It's a cool project, but also they're really underselling the amount of work put in to make it annoying.
chris_overseas•3mo ago
There's a lot more detail describing the project in a couple of forum posts here: https://forum.pjrc.com/index.php?threads/sarcasm-an-over-eng...
shmeeed•3mo ago
This is a hot contender for the Most Awesome Thing I Saw On The Internet In 2025. Incredible work!
stavros•3mo ago
This is fantastic, how did it not get confused by the blue logo on the cube in the video?
trenchpilgrim•3mo ago
Western cubes always have white opposite yellow. Japanese cubes always have white opposite blue. (The center piece on each side can be considered "fixed" relative to all moves.)
stavros•3mo ago
Ahh right, I forgot the center piece defines the face color, thanks.
nneonneo•3mo ago
Related - there's a Guinness record for the fastest Rubik's cube solving robot; it stands at 103 milliseconds:

https://www.youtube.com/shorts/ue2gZ2vxs48

https://engineering.purdue.edu/ECE/News/2025/purdue-ece-stud...

hammock•3mo ago
Robotic solver is more of a physical problem than a mental one. A photo of the cube from top and bottom corners and you can solve it in a nanosecond
teiferer•3mo ago
First, you still need to optimize the solution to fit the constraints of mechanical solving. It needs to be as few moves as possible, some of them are parallelizable, etc. Not a trivial problem.

Second, nanosecond? You know that a GHz CPU does a single clock tick in one nanosecond, right?

rossant•3mo ago
Maybe there's a new instruction we don't know about in modern CPUs, like RUBIK_SOLVE or something.
SwiftyBug•3mo ago
I mean, we've had RUN_DOOM for many years now, so why not?
amypetrik8•3mo ago
yes, in python either 1) "import doom" or 2) "from rubik import cube"
Tempest1981•3mo ago
They probably meant millisecond
adrianN•3mo ago
I wonder how many cubes they exploded in the making of that robot
hermitcrab•3mo ago
Impressive and a bit mad.
xiaoyu2006•3mo ago
I think you built a rubik cube solving machine just to show-case your acronym ;-) Super cool work.
teunlao•3mo ago
SARCASM: the only acronym worth building hardware for
noman-land•3mo ago
I want an automatic scrambling machine, not an automatic solving machine. Two cubes. While you're solving one, the other one is being scrambled. Cubers spend way more time scrambling than solving. Scrambling is the annoying part that needs automating.
dullcrisp•3mo ago
Can’t you just run the solving machine in reverse?
noman-land•3mo ago
You can but it doesn't need to be smart at all. It doesn't need cameras. It's a much simpler machine.
boneitis•3mo ago
Funny enough, that (e: the shuffle function mentioned in original thread post, just realized my awkward comment placement) sounds like a very reasonable stretch goal/feature add-on, although I'm not sure this particular machine could shuffle quickly enough for speedcuber types.
rplnt•3mo ago
It needs to be somewhat smart, if you want to track your scrambles and times. But yes, it doesn't need cameras if it trusts you.
schiffern•3mo ago
Yeah, it's just a software change to the existing machine. If you generate a target scrambled state it's literally the solver algorithm in reverse too.

It would be neat if it offered to scramble when you insert an already solved cube (demoed in the video), and maybe have options for the amount of randomness.

Is there an unbiased scrambling (or random generation) algorithm, or is it enough to just generate N random moves?

schiffern•3mo ago
To answer my own question, competitive cubing uses unbiased randomization algorithms.[0] To minimize scrambling time, it could fairly generate a random configuration and then optimally scramble the cube in ~18 moves.[1]

TL;DR fair scrambling is exactly as fast (same throughout) as solving random cubes! Neat.

[0] https://www.cubelelo.com/blogs/cubing/how-to-scramble-a-rubi...

[1] https://en.wikipedia.org/wiki/Optimal_solutions_for_the_Rubi...

LVB•3mo ago
I’m completely not in this space but your comment had me wondering: are there digital cube faces? That is, a real physical cube but with faces that can instantly be set to a given color?
sunnybeetroot•3mo ago
This is a great question! Doesn’t seem like it’d be hard to make if it doesn’t already exist
apple1417•3mo ago
They exist, but one of the problems is they're not particularly good cubes. While it might help you learn the basics, not being able to handle it like a speedcube means they're probably not going to help you get faster.

https://m.youtube.com/watch?v=l-TWH5W-1fw

https://exmarscube.com/product/ex-mars-ai-robot-cube/

That being said, while looking up those links, I found out that, since I got out of the hobby, smart cubes have become a thing, and are made by real speedcube manufacturers.

https://www.gancube.com/products/gan-356-i-carry-smart-magic...

This is an easier problem to solve. I'm not sure if you have to solve it first or if it can identify pieces on power up, but after that it's just tracking rotations, which can be done from the (fixed position) centres alone. But if an actual speedcube manufacturer can already fit those electronics in without comprising performance, I can't imagine it's that much harder to fit some addressable LEDs on some slip-ring-esque connections. Must just not be much of a market.

alejo•3mo ago
This is in my mind the hardest part as well.

I can solve the cube with the regular “easy” 3-layer approach, but I’d like to solve it faster.

The issue is that the techniques for fast solving require to learn many different patterns to get to the right solution fast.

I don’t know really how ppl that solve it fast accomplish getting to that level, but to me it would be amazing if i could just set the cube in know scrambled states that let me practice and memorize specific algorithms repeatedly until I learn them.

The problem is that I don’t know enough yet to distinguish which are those initial states, let alone setting the cube in that state, so something that could set it up for me to practice would be amazing

0x264•3mo ago
> I don’t know really how ppl that solve it fast accomplish getting to that level

Just like everything else in life, they do it really slow and with lots and lots and lots of errors at first, but (and this is where the magic happens) keep doing it, training hours a day or their entire week ends, for years.

rplnt•3mo ago
At least until a certain level, scrambling (according to a given "algorithm") is a good way to practice moves. It shouldn't take much longer than a solution either, you are not solving the cube in under 30 moves. And if you don't care about the scramble it's even faster. So I don't think the "way more time" is entirely accurate. It may feel like it though.
optimiz3•3mo ago
Impressive work. Curious to how many hours of labor what the development path was. Several man-years possibly?
dugidugout•3mo ago
The screen ui aestetic and audio (specifically the dubbing) remind me of the silver case series, may be a total reach, nice touches none the less!

https://en.wikipedia.org/wiki/The_Silver_Case

watson•3mo ago
This is one of the best arguments for purchasing a 3D printer
metalman•3mo ago
whats the point? rubicubes are for hoomans got one when I was 12, solved the next day, couldn't tell you how,got better, got fast, got bored, never touched one again. but this much....not knowing and solving as an unconsious process is likely to be the advantage or to put it another way, knowing is limmiting and constrains doing. hooman thing.right
vindar79•3mo ago
Hi all. I just found this thread. I'm the creator of SARCASM. Thanks to the OP for sharing. I spent many hours on this build but it was a lot of fun. I'm happy to see that others are enjoying it also :-)

If you're interested in the technical side, I wrote detailed posts on the hardware and software on the Teensy forum: https://forum.pjrc.com/index.php?threads/sarcasm-an-over-eng...

ewalk153•3mo ago
Can you post the STL files for the shell and Arms?

Great project.

vindar79•3mo ago
Sure. I will add them on github later today. The repo is currently in a very messy state. I would like to clean it and provide detailled assembly steps but I have to much work currently. Hopefully I can do this in a couple of months.
vindar79•3mo ago
Done. Added stl files to the repo.
scrollaway•3mo ago
> I'm the creator of SARCASM.

Glad I’m not the only one who sometimes justifies spending time on project purely because of the name I can give to them.

vindar79•3mo ago
hehe, it was indeed a major motivation :-)
ramses0•3mo ago
This makes me want to teleport it back to the 1920s, enclose it in glass and charge people a nickel to use it! You'd be rich!
hermitcrab•3mo ago
Very cool. I remember being the first kid at school to have a Rubiks cube, in the 70s (I read about it in Omni magazine). I had no idea how to solve it. I sent off for a booklet about solving it. I got back a booklet about group theory, far beyond my teenage brain.
ugh123•3mo ago
I think this is an amazing all around build combining the physical mechanics for solving (a relatively understood problem in rubik's robot solving scene) but along with the graphics integration and some real personality from the bot avatar that gave me quite a few laughs. Well done!
shmeeed•3mo ago
I love how you approached the problem and perfectioned the "product" in all aspects. There's so many playful details that could easily go unnoticed! You're impressively resourceful, and one can tell this was a work of love.

I wish I could buy something like it as a DIY set, just to own it, admire it, show it to people, and have everybody be in awe of your work. What a time to be alive that stuff like this is in reach of a sufficiently dedicated hobbyist!

aEJ04Izw5HYm•3mo ago
The personality of creator really shines through in the software. Douglas Adams would be pleased, I hope loads of hackers will be inspired to make more 'Adamsian' robots.
moffkalast•3mo ago
I'm looking forward to more genuine people personalities from Unsirious Cybernetics.
zkmon•3mo ago
Solving a cube has two parts, determining the moves and making the moves. For humans these two activities happen mostly in parallel. For robots, moves were already determined before the start. So the time taken is merely all about speed of move making.
klaudioz•3mo ago
Cool!!, I've created this one 16 years ago: https://www.youtube.com/watch?v=bkWLQZgi9uE

I can see very similar movements this robot is doing compared to my old robot. I really like the screen outputs of it.

cellular•3mo ago
This looks like a good place to ask HN:

I've started with a solved cube, then turned 2 sides sharing an edge, alternatively (same direction) expecting the cube to get messed up but then returning to its solved state.

It never got solved! Maybe i didn't do it enough (i did it hundreds of times i think). Has anyone got an explanation?

rokicki•3mo ago
It should take 105 repetitions:

https://alpha.twizzle.net/explore/?alg=%28U+R%29105

Unless by "same direction" you mean "opposite direction", in which case 63 works:

https://alpha.twizzle.net/explore/?alg=%28U+R%27%2963

JonathanMerklin•3mo ago
The cyclic group generated by e.g. RU has order 105 (so 210 total turns or 105 of each side, alternated). If you have some math know-how, check out [1]. If you don't, take my word for it: when I was a teenager playing around with cubes, I once had a similar experience trying to do the same thing you did - when I went relatively quickly it never returned to the solved state, but when I was very deliberate about each turn, I got the 105 result (not by counting back then, but by rough time estimate given the figure I just looked up). Both you and I probably accidentally threw in one or more double-turns (like a U2) in there, or undercounted and gave up well before the cycle had completed (I, too, had thought I'd made "hundreds" of moves).

[1] https://faculty.etsu.edu/gardnerr/4127/algebra-club/rubik-ta... - slide 41

avandekleut•3mo ago
It takes something like 60 turns or so in my experience. you probably messed up while doing it.
branon•3mo ago
Pedantic pet peeve: it'd be S.A.R.C.A.S.M. or SARCASM but not S.A.R.C.A.S.M

You are missing the last full stop, unless your project is actually meant to be called "S.A.R.C.A.S. M"

An initialism either uses full stops after all letters or none of them.

slug•3mo ago
I built a cubotino a few years ago, similar mechanism, see https://github.com/AndreaFavero71/cubotino

Uses a rpi 2 w, works well, can solve and scramble 3x3x3 cubes, using just 2 servo motors.

bolangi•3mo ago
So does that make the developer a sarcasmaholic?

https://www.youtube.com/watch?v=JcOfFeKXcd4