10 ms·
Fully Functional 1KB Hard Drive in Vanilla Minecraft
- wiml 12y agoInteresting, maybe a bit more like bubble memory than a hard drive.
- roymachine 12y agoFull autism
- atanasb 12y agoThis is really cool. I really like Minecraft computer components, but I could never help to think that if the guys who build them, started playing with something practical, the results might be more tangible.
- gokhan 12y agoThis is a great learning experience for anybody, young or old. Maybe the builder in the screenshots is a carpenter and just trying to learn how hard drives work. Maybe he's a kid who will build the next gen drive in 20 years based on his ideas seeded here. How do you know?
- CompuHacker 12y agoBecause if he's lucky, he'll be weaving magnetic core memory in 20 years.
- dkhar 12y agoI have a friend who used to keep excitedly showing me his crazy, impressive redstone ALU/CPU designs. I kept trying to get him to buy an FPGA and build out something with real hardware, but he maintained that a big part of why it was fun was because of the environment and community that came with Minecraft. That might go some way toward providing an explanation.
- unwind 12y agoSo, did anyone do a Minecraft-to-VHDL transpiler yet? :) Sneak up on them and convert their in-game creations to something that can be synthesized into actual hardware.
- sly010 12y agoOr the other way around, so we (boring people) can synthesise fully working Minecraft worlds from VHDL ;)
- angersock 12y agoWe can finally build a Minecraft-Implementation of Processing Sequences!
- unwiredben 12y agoBen Heck did a couple of shows where he made real-life redstone blocks out of electronic components: http://www.element14.com/community/community/experts/benheck/blog/2014/07/18/episode-142-bens-live-action-minecraft-blocks-part-1-episode http://www.element14.com/community/community/experts/benheck... http://www.element14.com/community/community/experts/benheck/blog/2014/07/25/episode-143-bens-live-action-minecraft-blocks-part-2-episode http://www.element14.com/community/community/experts/benheck...
- TeMPOraL 12y agoOr not. I think that the medium plays a very big part here. It's the essence of hacking, twisting something like Minecraft engine to run processors, and hard drives, and stuff. Doing the same on VHDL? Boring.
- patio11 12y agoThink of it more like a better UI on top of EE307 or whatever your local equivalent is for low-level hardware design. I had to scratchbuild a functional CPU using nothing but NAND gates to pass mine. I got through it, somehow, producing a CPU which would run minimal assembly-esque programs but which existed on no physical hardware and wouldn't be for for any purpose if it did. If you can do it with red stone I think any rational person would say you have all the knowledge my class tried to impart.
- marktangotango 12y agoIt's the old Church-Turing thesis in a way; instead of using logic gates implemented with silicon transisters, they're using physical blocks and switches in minecraft. The principals are the same, just a different 'substrate'. DNA can be used as a computing substrate[1], and at a more macro level, the structure of cells[2]. The minecraft guys have a lot more in common with the early computer engineers who used relay switches and diodes on rotating drums. [1] http://en.wikipedia.org/wiki/DNA_computing http://en.wikipedia.org/wiki/DNA_computing [2] http://en.wikipedia.org/wiki/P_system http://en.wikipedia.org/wiki/P_system
- VLM 12y ago"playing" "practical" "results" "tangible" The relationships between those not-necessarily related words would need considerable detail for the claim to mean anything. Play doesn't require results, a virtual world in a computer will never be tangible and is likely used by people uninterested in being tangible, practical things usually aren't involved in playing, it goes on and on.
- NotAtWork 12y agoI've worked in hardware, and think this kind of play is meaningful. You confront many of the engineering challenges you'd face (in terms of line routing, timing challenges, design concerns, modularity, etc), but they have simpler and more straightforward constraints because of the different medium. You're also really unlikely to get results using exactly this same skill set when trying to work with real hardware. The immediate need for programming and complicated tools becomes apparent when you try to grapple with the complexity of modern ICs. If you're just going to have them blink LEDs using logic gates, I fail to see what you think you're getting from hiding all the logic circuitry in little black boxes and making the parts harder to work with. I've encountered all the engineering concepts (minus some physics concerns) I learned in several quarters of circuit design as an undergrad. The reality is that Minecraft actually is a very good tool for introducing hardware concepts, because it removes the dependence on understanding software to do something. (Really, the tooling around hardware needs to be better, particularly for things like FPGAs. Raspberry Pis and Arduinos are making good inroads.)
- asiekierka 12y agoI'm a Minecraft modder and while mods are really exciting, sometimes the vanilla stuff is where it's at. Awesome job.
- indigane 12y agoCommand blocks also bring a whole new level to that. There is vanilla and then there is vanilla with command blocks. They are getting closer and closer to modding and are almost like an in-game programming language. For example, here [1] is a command block command that procedurally generates giant oak trees [2]. [1] http://pastebin.com/raw.php?i=QzS0M4Vn http://pastebin.com/raw.php?i=QzS0M4Vn [2] https://youtu.be/6cJL4lM7KR4 https://youtu.be/6cJL4lM7KR4
- deleted 12y ago[deleted]
- readerrrr 12y agoGame of life simulating itself. https://www.youtube.com/watch?v=xP5-iIeKXE8 https://www.youtube.com/watch?v=xP5-iIeKXE8 http://www.conwaylife.com/wiki/OTCA_metapixel http://www.conwaylife.com/wiki/OTCA_metapixel Minecraft in Minecraft https://www.youtube.com/watch?v=GwHBaSySHmo https://www.youtube.com/watch?v=GwHBaSySHmo
- Xenmen 12y agoThank-you so much for sharing Life in Life! It's the perfect way to convey how complicated transistor-level emulation is to design...
- boyaka 12y agoComputers in UNIX http://www.linusakesson.net/programming/pipelogic/index.php http://www.linusakesson.net/programming/pipelogic/index.php
- fhnjh 12y agoThe game of life simulation is definitely ready for another layer of meta, GOL simulating GOL simulating GOL...
- michaelmior 12y agoOnce you know how to simulate GOL within GOL, you can go as deep as you want.
- 12y ago
- rednukleus 12y agoEven if this has no practical reason to exist, it makes me happy to know that it does. The world is a better place for it.
- kelmop 12y agoIt is nice to imagine that I have millions of these in my computer and for each there is small data janitoring gnome.
- Rikstam 12y agoCool, makes me want to start tinkering with Minecraft, but can't really afford anymore time sinks in my life. Still its amazing what people can do with it.
- deleted 12y ago[deleted]
- deleted 12y ago[deleted]
- zbowling 12y agoSomeone needs to make a FUSE driver that patches into this with a mod for Minecraft.
- nkerkin 12y agoReminds me of this 8-bit CPU[0] built in minecraft [0] http://www.youtube.com/watch?v=yxAmphwLPDY http://www.youtube.com/watch?v=yxAmphwLPDY
- max9634 12y agoLovely
- qwerta 12y agoHm, add CPU and we can play chess :-)
- dkhar 12y agoThis is a good opportunity to plug ORE, a Minecraft community specifically for this kind of thing: http://openredstone.org/ http://openredstone.org/ That video on their main page is mind-boggling to me. I have a friend who's a regular on that server, and he would occasionally explain to me things like how they take advantage of how Minecraft's redstone handling works to shave precious ticks off the latest ALU design's return time, or how they created a fully vanilla-compatible "internet," to pass data through wires between different people's machines. They've got mods set up to copy and paste blocks, so you can build modular systems out of components and avoid repetitive block-placing, but AFAIK, everything else is vanilla. It's incredible.
- mdellabitta 12y agoI have to ask: Has anybody managed to mine Bitcoin in Minecraft yet?
- viraptor 12y agoProvided you set the input block, the implementation shouldn't be too hard. You need an incrementing counter included in the input, some feedback that will stop it and a huge field implementing the hashing. Likely much less complicated than the drive presented here... but much larger.
- kordless 12y agoInteresting fact: If ENIAC was tasked with calculating the current Bitcoin hashrate, it would have to mass as much as the world's oceans and would require an earth's surface worth of solar panels to power it.
- linker3000 12y agoIf he can shorten the duration of the redstone signals to be very small pulses, he'd have a 'flash' drive! /Working with PCIe flash memory products, so getting a kick..etc.. //Sorry
- userbinator 12y agoThis concept is known as a delay line memory, although this particular implementation doesn't need any refresh, like a chain of shift registers: http://en.wikipedia.org/wiki/Delay_line_memory http://en.wikipedia.org/wiki/Delay_line_memory
- wubbfindel 12y agoReminds me of when someone built a scientific calculator in minecraft: http://kotaku.com/5895191/someone-built-a-working-scientific-calculator-in-minecraft http://kotaku.com/5895191/someone-built-a-working-scientific...
- jeremycole 12y agoThis is clearly a memory, not a hard drive. Kind of expect better from HN...
- marvin 12y agoIt's persistent storage; your data will still be there if you power down Minecraft and start it up again later ;)
- lordbusiness 12y agoIt's a hard drive. The storage is persistent. Assuming your argument is that the world the device is constructed in isn't guaranteed to be persistent, then that renders physical hard drives in our physical world as non-persistent; let's see how persistent our data is when Sol goes red giant... ;-)
- jeremycole 12y agoWhat does persistency have to do with whether it's a memory or a hard drive? There are plenty of persistent memories.
- VLM 12y agojeremycole is correct, its closest real world analogy is a bubble memory or the short lived fad of using CCDs as a large linear memory (that went nowhere around the mid 80s) or most accurately its compared to an ancient mercury delay line (although Hg delay lines and CCDs are/were not persistent but their mechanical operation is similar) There was a fad of endless loop tapes in the 80s... Exatron stringy-floppy. That is probably the closest physical analogy. Think "cassette tape interface" with electrically controllable R/W on an answering machine cassette, all conceptually of course this isn't how it actually worked. It had nothing to do with a floppy other than storing about the same amount of data, very java vs javascript like. http://en.wikipedia.org/wiki/Exatron_Stringy_Floppy http://en.wikipedia.org/wiki/Exatron_Stringy_Floppy
- 12y ago
- agumonkey 12y agoAt what point will Minecraft come out of the closet and proudly claim to be the largest computing principles MOOC ?
- TheLoneWolfling 12y agoIn recent versions of MC, you can do a much better delay line memory with comparators. You can actually end up being able to store 2b / block (2 and not 4 because comparators have to be placed on something not a comparator.) - it would be half that but there's a trick you can play to avoid requiring redstone dust between comparators. The delay is faster too - 1 redstone tick / 4 bits, or 40 bits/sec per line, as opposed to this implementation's 1 bit / 8 redstone ticks / line, or 1.25 bits / sec / line. (Note that this implementation of piston tape is decidedly suboptimal: the maximum is actually 3 bits / 4 redstone ticks / line = 7.5 bits/sec/line, as you can actually check for 8 different block types (glass / solid / sticky/non-sticky piston facing 3 directions) and you can make a faster-resetting piston loop.) The biggest issue with comparator delay-line memory is that there's no way of pausing it. There's also a way of storing arbitrary amounts of data per block, and that's to use the fact that items with NBT data will stack only when their NBT data is identical. The easiest way to see this is to try to stack renamed items, but there are others. You can make a hopper or dropper chain and encode data in which line which enchanted item is in. I have yet to see a practical implementation of the above, though.
- lockes5hadow 12y agoGosh your demanding. :-p
- skykooler 12y agoA comparator memory isn't really a hard drive, because it loses its data if turned off.
- TheLoneWolfling 12y agoDefine "turned off". A comparator loop persists just fine without any input, just like a piston loop. It's non-volatile sequential access memory - which, in my opinion, is the same category a hard drive falls under.
- hornetblack 12y agoI'm not sure that delay lines will retain data when the chucks that hold them are unloaded by the server.
- awiesenhofer 12y agoReminds me of http://xkcd.com/505/ http://xkcd.com/505/ "A Bunch Of Rocks" Although: no need for someone immortal with infinite time and energy to run the simulation, rather lots of people each devoting a small amount of both to it...
- rmc 12y agoFor people interested in how computers work, I recommend the book/course "From NAND to Tetris - Building a Modern Computer From First Principles"[1]. It starts of with boolean logic and NAND gates, and it steps you through making a computer that can play tetris. [1] http://www.nand2tetris.org/ http://www.nand2tetris.org/
- akmiller 12y agoI haven't read that one, but I'll definitely check it out. I'd also recommend Charles Petzold's book called "Code". One of the best technical books I've ever read! http://www.amazon.com/Code-Language-Computer-Hardware-Software/dp/0735611319 http://www.amazon.com/Code-Language-Computer-Hardware-Softwa...
- drivers99 12y agoBesides "Code," I highly recommend "The Pattern on the Stone" by Danny Hillis, who also happens to be the designer of Thinking Machines' massively parallel supercomputer, the Connection Machine. It covers more material than Code in a lot less time. In "Code," Petzold makes sure to cover the material exteremely slowly so that you won't miss any details, so it may get boring for some, but I would also read Code if you have the time and interest.
- mario54 12y agoThere is also "But How Do It Know?" by J Clark Scott. It's good for beginners. http://www.amazon.com/But-How-Know-Principles-Computers/dp/0615303765 http://www.amazon.com/But-How-Know-Principles-Computers/dp/0...
- waterfowl 12y agoit's free online and great, but I also enjoy my hard copy(it was like $20, so so so cheap for what it is) http://www.amazon.com/The-Elements-Computing-Systems-Principles/dp/0262640686/ref=sr_1_1?ie=UTF8&qid=undefined&sr=8-1&keywords=the+elements+of+computing+systems http://www.amazon.com/The-Elements-Computing-Systems-Princip... edit: $30 I guess, still worth it.
- snake_plissken 12y agoI always wonder when I see these things, are players placing each block individually? Or are they mapped out in some file and fed to the server to render?
- DanBC 12y agoI imagine they use programs like MCEdit. You'd create parts of the hardware in Minecraft, then use MCEdit to copy and paste those parts. http://www.mcedit.net/ http://www.mcedit.net/
- xenophonf 12y agoIn addition to MCEdit, which reads and writes Minecraft worlds offline, there is WorldEdit, which can be used in-game (whether via a client-side mod such as Single Player Commands or via the official server-side plugin). If I recall correctly, with CraftScript installed one can also automate block placement. With the right config you can make this all work in SSP or SMP - WorldEdit will use blocks from one's inventory instead of creating them ex nihilo.
- Houshalter 12y agoIn classic minecraft there used to be a convenient command where you could type /cuboid or /z and then place or destroy two blocks, and it would fill the area in between. There were countless more server-side commands and mods that let you build large scale structures. Copy and pasting sections, building spheres or cylinders, making shapes hollow, etc. Flying was much easier and faster too, although it did required a mod. Minecraft now has so many more features and block types. But I miss some of those features, and building large scale structures is much more difficult.
- jafaku 12y agoCan someone tell me what's more difficult to create? This hard drive or the scientific calculator that someone else also created in minecraft?
- thejj 12y agoThis will not work as described. I think his design is a good idea, but still does not work. I build a better harddrive (with 4 kb storage!) over a year ago, imgur link will follow. Now to the design problem in this HDD: see that all the blocks are blue in the platter? No way to swap each of the bits without magically creating new green blocks. My hdd solves that problem by having BOTH block types available on the platter. But see for yourself: http://imgur.com/a/8ESMW http://imgur.com/a/8ESMW
- thejj 12y ago-> https://news.ycombinator.com/item?id=8202255 https://news.ycombinator.com/item?id=8202255
- Kiro 12y agoWhat won't work?
- philh 12y agoHow confident are you? I know very little about Minecraft, but if this doesn't work, it pretty much has to be trolling. (No way you build something like this and not notice that it doesn't work.) And then I wouldn't expect them to offer a link to download the map, and I wouldn't expect someone else to say they've got it working: http://www.reddit.com/r/Minecraft/comments/2e0ghk/fully_functional_1kb_hard_drive_in_vanilla/cjuuhy6 http://www.reddit.com/r/Minecraft/comments/2e0ghk/fully_func...
- thejj 12y agoImagine a write process: You'd need to somehow replace the visible blue blocks with a green block. But where does the green block come from?
- josu 12y agoI don't know much about MC or computers, but as far as I understand each bit has both blocks, shift up for blue=0, shift down for green=1. Here: http://i.imgur.com/rqZm4DU.gif http://i.imgur.com/rqZm4DU.gif
- Sami_Lehtinen 12y agoIf you like to play with logic stuff, this is something to try out: http://www.neuroproductions.be/logic-lab/ http://www.neuroproductions.be/logic-lab/ It's simple, but does it job pretty visually.
- Gravityloss 12y agoThat's awesome! The making of layout is quite effortless.
- leni536 12y agoReally nice, however I there is some buggy behavior in this logic simulation: It can end up in an inconsistent state: I have a little Robot Odyssey experience where it would loop forever between inconsistent states. However that design is not perfect either, it's still much better than this in my opinion. The interface is quite nice though.
- munimkazia 12y agoWhat minecraft needs is a way to speed up the game. There have been quite a few people who have made calculators and "electronic" components, which would be a lot more cooler if they could work faster.
- peterwwillis 12y agoAnd people say video games are a waste of time.
- sebastianavina 12y agofor god sake, get a job people
- Fando 12y agoWhat type of circuits are technically possible to build in Minecraft? Could one build a basic CPU with RAM, HDD, and BUS? What is the limit of what one could build?
- znt 12y agoHere is a 16-bit ALU: https://www.youtube.com/watch?v=LGkkyKZVzug https://www.youtube.com/watch?v=LGkkyKZVzug
- Fando 12y agoWow impressive. Looking at that I found this video which shows a full computer implementation in Minecraft, capable of 32bit graphics and has a basic instruction set and could be programmed with a high level language. WTF!? Is it real? https://www.youtube.com/watch?v=go5qdMKZs-M https://www.youtube.com/watch?v=go5qdMKZs-M here's more info about it. http://www.minecraftforum.net/forums/minecraft-discussion/redstone-discussion-and/redstone-creations/351957-commandore-32-advanced-command-block-based http://www.minecraftforum.net/forums/minecraft-discussion/re...
- birk5437 12y agoThe control room actually kind of reminds me of the control rooms for old computers in the 1950's. http://upload.wikimedia.org/wikipedia/commons/4/4e/Eniac.jpg http://upload.wikimedia.org/wikipedia/commons/4/4e/Eniac.jpg http://en.wikipedia.org/wiki/ENIAC http://en.wikipedia.org/wiki/ENIAC
- dangayle 12y agoMy nephew and his friends are 8-9 years old, and they're masters at building this stuff. The redstone, the logic, the machines, all of it. It's all they think about, all the time. Imagine what potential this early compsci education is fostering? We just have to remind them when they're older and are running things and building amazing stuff that it's NOT OK to blow up other people's stuff with tnt.
- DanFeldman 12y agoWhen I was taking a digital electronics course in high school, Minecraft was getting huge. We would spend hours playing and usually try to build the stuff we learned about in class. It was an incredible teaching tool, tbh.
- shawn-butler 12y agoPretty much none. I've never understood why people think gaming or play ever forms the justification or basis for learning. Decade of nonsensical "gamification" studies has had zero effect no matter what Jane McGonigal says. Might get an interest or passion going but it has near-zero lasting educational value.
- ossreality 12y agoWhat a stupid fucking comment. They're implementing programming logic in the game, as children. What a moron.
- ANTSANTS 12y agoThere's zero educational value in designing and building digital circuits by hand? What?
- shawn-butler 12y agoNot zero. Near zero. http://en.wikipedia.org/wiki/Overjustification_effect http://en.wikipedia.org/wiki/Overjustification_effect for a summary And quit downvoting.
- IgorPartola 12y agoWhat Minecraft could really use would be a scripting capability of some sort. Basically, once you've figured out how to do something, you should be able to build a machine that does it for you. That would be a pretty sweet game.
- NAFV_P 12y ago> What Minecraft could really use would be a scripting capability of some sort. Minetest [0] has some scripting ability, utilising Lua. [0] http://minetest.net/ http://minetest.net/
- Houshalter 12y agoComputerCraft has programmable robots that are pretty cheap to make. There are many other mods that add varying degrees of automation, like redpower.
- jedicoffee 12y agowww.westeroscraft.com
- dbbolton 12y agoI hope the author joins forces with the guy who built a programmable computer in MC.
- prawn 12y agoYou might also like this clock built in Minecraft to (theoretically) outlast the heat-death of the universe: https://news.ycombinator.com/item?id=7221931 https://news.ycombinator.com/item?id=7221931
- Eiriksmal 12y agoIt hit me on a walk last night: What this needs to be truly complete, more than more KBs or other computer components (like the competing HN article), is the click-of-death when it dies of old age!