TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Development Notes from xkcd's "Machine"

754 pointsby chromakodeabout 1 year ago

28 comments

ralferooabout 1 year ago
Reading this write up is funny, because I had no idea this is what was happening. There didn&#x27;t seem to be an explanation of what was going on. I didn&#x27;t know it was a shared experience, just that various random things seemed to be chaotically happening. I completed a couple of tiles and I guess submitted them as I thought that was how you got to &quot;the next level&quot;, but gave them really stupid names like &quot;test 1b&quot; - mostly this is because I assumed it was single player and only I&#x27;d be seeing the name!<p>I also got bored after creating a couple of tiles. I scrolled around and saw very complicated things, but didn&#x27;t realise they were submissions, just starting points for solving the level...<p>I guess I was the April Fool!
评论 #40305917 未加载
评论 #40306050 未加载
评论 #40305399 未加载
评论 #40304419 未加载
评论 #40305986 未加载
itslennysfaultabout 1 year ago
I was adding a lot of &quot;bonk&quot; elements and I seem to have murdered rapier...<p><pre><code> Uncaught Error: recursive use of an object detected which would lead to unsafe aliasing in rust at jt (rapier_wasm2d_bg.js:4836:11) at 4ea5626ea4b1e4145572.module.wasm:0xf061c at 4ea5626ea4b1e4145572.module.wasm:0xf0638 at 4ea5626ea4b1e4145572.module.wasm:0xb5e7b at H.remove (rapier_wasm2d_bg.js:1051:14) at l.remove (collider_set.js:87:18) at y.removeCollider (world.js:343:28) at PhysicsContext.tsx:258:15 </code></pre> Also, this is super fun, and I&#x27;m sad I didn&#x27;t learn about it when it was still live. It&#x27;d be really really cool if people could still permalink individual machines created. I know that might be an issue for storage. Maaaaaybe just base64 encode the JSON into a URL param??? Please?? I&#x27;d love to create weird maps and share them with people.
评论 #40303353 未加载
bell-cotabout 1 year ago
FWIW, HN&#x27;s April 6th item on this, with 14 comments:<p><a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=39953514">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=39953514</a>
donquichotteabout 1 year ago
&gt; There was no incentive to carefully consider where to place a sticker. Players didn’t have enough agency to advance the plot through their individual action. This limited creativity to simple patterns like tiling similar stickers or forming lines.<p>Ah, the game turned into a big corp job!
CyberShadowabout 1 year ago
I tried participating when it came out. I think I spent an hour building something that was as reliable (in terms of getting the correct balls to the correct output) as I could. After I submitted it, I refreshed the page and found at that spot someone else&#x27;s contraption (which was, admittedly, prettier, but not as reliable). Oh well; though, I wish that sort of thing was a bit more up front.<p>It also looks like I&#x27;m not the only one who hasn&#x27;t figured out that the list of building blocks is scrollable!
评论 #40313034 未加载
superdiskabout 1 year ago
Whoa, me and a friend had this same idea back in 2014 and implemented it for Ludum Dare. <a href="https:&#x2F;&#x2F;nickfa.ro&#x2F;wiki&#x2F;CoinSlot" rel="nofollow">https:&#x2F;&#x2F;nickfa.ro&#x2F;wiki&#x2F;CoinSlot</a><p>Cool to see a more refined and well-functioning version of the idea.
mihaalyabout 1 year ago
Reminds me of this from my young adult years, I wasted sooo much time on this very happily:<p><a href="https:&#x2F;&#x2F;www.myabandonware.com&#x2F;game&#x2F;the-incredible-machine-1mg&#x2F;play-1mg" rel="nofollow">https:&#x2F;&#x2F;www.myabandonware.com&#x2F;game&#x2F;the-incredible-machine-1m...</a>
评论 #40302720 未加载
its_ethanabout 1 year ago
I feel like I&#x27;m missing something - why do certain elements seemingly only effect a specific color of ball in the machine? I assume it&#x27;s to prevent the colors from getting totally jumbled up, but it doesn&#x27;t seem like that&#x27;s explained in this write up?
评论 #40302271 未加载
评论 #40302380 未加载
TheAceOfHeartsabout 1 year ago
I wish they had a way of easily figuring out if any of the machines you built made it into the final version or not. Maybe for a future design it would be neat to store the titles of previous submissions in something like local storage and you could provide a notification.
评论 #40303356 未加载
korykabout 1 year ago
Thanks Max, this was a great read! Awesome work and write up. Some good insights about player focused game development too.
Rudismabout 1 year ago
The thing I&#x27;m most confused about is I thought xkcd was one guy named Randall&#x27;s webcomic, but this post makes it sound like there are several people involved in creating the comics. Is that the case? Does Randall still draw them or is it like a company with a whole creative team now?
评论 #40302378 未加载
评论 #40302367 未加载
评论 #40302417 未加载
TacticalCoderabout 1 year ago
It is reminiscent of the very old DOS game &quot;The Incredible Machine&quot;: you receive a certain number of various items (fans, conveyor belts, basket balls, tennis balls, cat, mouse (cat would follow mouse upon seeing it), mirror, candles, etc.) and with the items you had, you had to solve a problem like, say: <i>&quot;To win the level, you must send 32 tennis balls above the wall&quot;</i>.
评论 #40303017 未加载
latexrabout 1 year ago
&gt; On April 5th, xkcd released Machine, our 15th annual April Fools project.<p>Wait, “our”? I thought XKCD was just Randal Munroe.<p>&gt; Machine’s backend was written in Haskell by davean and Kevin<p>So at least two other people. Three when counting the author of the blog.<p>The Wikipedia page for XKCD doesn’t show these names. Is XKCD a multi-people effort now, or are these “friends of the comic” who work on interactive stuff?
评论 #40307197 未加载
评论 #40307516 未加载
评论 #40310307 未加载
CSMastermindabout 1 year ago
I totally didn&#x27;t realize it was collaborative. I thought I was only building rooms for myself lol.<p>Several years ago XKCD released a comic that was different depending the browser, operating system, ip, and referrer you use to view it.<p>I know people uncovered hundreds of versions of it but I never heard a detailed write up about how it worked or how many comics there were available.<p>Does anyone know if they ever figured it out?
评论 #40303456 未加载
simonmicabout 1 year ago
Wow! What a work of art!<p>A few more links for the record (don&#x27;t read too soon, possible spoilers):<p><a href="https:&#x2F;&#x2F;www.reddit.com&#x2F;r&#x2F;xkcd&#x2F;comments&#x2F;1bxg43b&#x2F;xkcd_2916_machine" rel="nofollow">https:&#x2F;&#x2F;www.reddit.com&#x2F;r&#x2F;xkcd&#x2F;comments&#x2F;1bxg43b&#x2F;xkcd_2916_mac...</a><p><a href="https:&#x2F;&#x2F;www.explainxkcd.com&#x2F;wiki&#x2F;index.php&#x2F;2916:_Machine" rel="nofollow">https:&#x2F;&#x2F;www.explainxkcd.com&#x2F;wiki&#x2F;index.php&#x2F;2916:_Machine</a><p><a href="https:&#x2F;&#x2F;github.com&#x2F;xkcd&#x2F;incredible">https:&#x2F;&#x2F;github.com&#x2F;xkcd&#x2F;incredible</a>
salamoabout 1 year ago
Really cool, I really enjoy the &quot;follow&quot; feature. Unfortunately, the balls get stuck sometimes and I have to follow a different one. I guess a few bugs slipped through the mod queue.
1-6about 1 year ago
The piece was well written and explained the functionality quite elegantly with enough technicality without overburdening the reader with technobabble.
评论 #40306055 未加载
rtkweabout 1 year ago
I looked at this one early in the day and didn&#x27;t even realize it was all user generated machine components.
windowshoppingabout 1 year ago
Honestly every time I start to think I&#x27;m rather quite good at frontend development, someone posts something like this and makes me feel like an intern by comparison. To have built this in 3 weeks is Herculean to me. It probably would have taken me 3 weeks to figure out the physics context alone.
评论 #40302603 未加载
lukanabout 1 year ago
&quot;Machine is rendered entirely using the DOM. During early dev I was leery I’d reaching the end of my rope perf-wise. I expected I’d eventually ditch DOM rendering for PixiJS or canvas when it got too slow. However, I wanted to see how far I could take it<p>...<p>I’ve heard comparisons drawn between modern browsers and game engines, with their tightly optimized GPU rendering and DOM &#x2F; scene graph. The similarities have never felt more apt.&quot;<p>The DOM might have become faster, but using the GPU directly via Pixi is still a world above in terms of performance and using Pixi could have made everything more smooth. But dev time was limited .. and the result is still impressive.
评论 #40303461 未加载
abathurabout 1 year ago
I&#x27;m just the tiniest bit disappointed to have confirmation that mods probably didn&#x27;t wait around for one of my zero-element machine submissions (I imagine I called it &quot;patience is a virtue&quot;, given how long <i>I</i> had to sit around waiting to click submit on it) to eventually pay off :)
评论 #40302291 未加载
评论 #40301897 未加载
scpsoabout 1 year ago
This is gold! Folks might be interested in my repo of all published machines: <a href="https:&#x2F;&#x2F;github.com&#x2F;scpso&#x2F;incrediblexkcd">https:&#x2F;&#x2F;github.com&#x2F;scpso&#x2F;incrediblexkcd</a>
iamteddabout 1 year ago
What was the rationale for simulating the machine with physics, and not simply creating an animation engine?
评论 #40302874 未加载
sdwrabout 1 year ago
As a nerd, I hunger for consistency. This wasn&#x27;t - it took snapshots and handwaved them together.<p>Can&#x27;t help but feel it would have been a lot better with constrained physics and automated submissions.<p>The current version is probably more fun to be on &quot;the inside&quot; of, evaluating submissions and stitching them together, but at the expense of the finished product.
评论 #40302959 未加载
评论 #40302090 未加载
评论 #40302252 未加载
Waterluvianabout 1 year ago
I can’t help but hear the Blue Ball Machine music from the YTMND.
benlivengoodabout 1 year ago
Why are there no cats in the current machine??
评论 #40302404 未加载
Max-Ganz-IIabout 1 year ago
I love this XKCD.<p>I have a bookmark for it, and whenever I want to kick back a bit, perfect.<p>However, I&#x27;ve noticed that it has a tendency to go blank (i.e. fail and stop working) when multiple colour spectrum triangles are in play and in particular when they are on top of each other.<p>I&#x27;d really like to see some additional objects to place into the machine.<p>One other problem I have is that the &quot;perma-link&quot; button doesn&#x27;t seem to do anything. When I come back to the URL, my machine isn&#x27;t there.
评论 #40303407 未加载
评论 #40305439 未加载
utopcellabout 1 year ago
I don&#x27;t know <i>what</i> I&#x27;m seeing, I missed the Apr&#x2F;5 xkcd update, but this is fascinating! :-)