A website to explain how computers actually work.
- js width less then 80 characters.
- If you have to choose between fast or simple, choose simple.
- In general, less is more.
A website to explain how computers actually work.
License: MIT License
A website to explain how computers actually work.
As the title implies, there's no information on the license for this source code or the website content.
You can find some information and best practices for license details here:
https://help.github.com/articles/open-source-licensing/
Cheers!
I just started playing about without reading the text, and was disappointed when I thought it could only address 6 memory locations until I saw someone elses program on HN. It would be good if there was some visual indicator that it can scroll.
Showing more locations by default would also be useful.
Right now, the general idea for showing real NAND gate implementations is a page with a bunch of videos, however this topic is still up for discussion, so share your ideas.
It's really hard to tell what's clickable. Great site by the way.
Using event.stopPropagation();
and event.preventDefault();
should fix this -- see Leaflet/Leaflet#916
status: NXDOMAIN
Right now the way the content is laid out in different html files including the full layout means for every small change to, for example, the header, all the pages must also be modified one by one. This is obviously not scalable for the future, and makes any small change 10x harder than it could be.
I propose we:
pages
subfolderSetting up something like Gulp
is fairly straightforward, but it does mean a bit of extra effort, particularly for anyone doing design changes, or deploying the website - nonetheless, these should be familiar processes for anyone doing front-end development already. Additionally, it's fairly trivial to then hook up a CI system like CircleCI or TravisCI to build the deployable artifacts.
For those merely editing content, these extra steps should not be necessary.
I can do all the initial heavy lifting, and help anyone that needs help with getting nodejs/npm/gulp setup on their end.
Cheers! ๐ด
Wouldn't it make more sense to increment the program counter after instruction fetch and before instruction execution?
At the moment, when you set the program counter then it's incremented before it's used - which means that you need to always set the program counter to 3 less than the actual instruction you want to execute. This is a bit confusing for newbies.
(And me.)
Oh, and the site is awesome - I feel bad about raising niggles!
Would it be possible to add in a link to a complete circuit design for that basic computer?
Otherwise if I want to fix a bug and start my program from the beginning I have to refresh the page and re-enter it.
About 6-8% of males have trouble with red/green confusion, maybe more, maybe less. It would be great if you switched from the red/green color scheme to something like red/blue or even used additional symbology (maybe dashed lines for things that are OFF).
These would be two combinations from http://colorbrewer2.org/ (qualitative, 5 classes, colorblind safe): #ca0020 & #0571b0 or #d7191c & #2c7bb6
This is so great because it shows the essence of what's going on. And I think one of the strengths of this is your stopping point, because it is enough to see the how the basic concepts come together to do actual work.
But, would it be possible to add a Tutorial #2 that builds on to the first one with a few more instructions?
Basically what I was trying to figure out was, and forgive me if this is obvious, after I add a number, how can I then do something else with it, without stopping the execution and manually editing the memory?
So I wonder if it would be possible to implement something like a register and/or some kind of memory address for move. And maybe a JNE or something? Heh.
I could translate this to spanish, this is a so useful resource that would help some spanish students a lot when they start to learn the basics of computer science.
Something like Jekyll would make it much easier to manage the HTML. At the moment fixing #23 is difficult because attempting to change the style of the links in the body text changes the links in the header and page navigation. This would be much easier if we could change all the HTML in a single place. I'd be happy to help out.
simplecpu.com/cpu.js doesn't handle mousewheel scrolling, but the most recent commit in github does.
The CPU simulator is a great idea. But sadly it doesn't scroll on FF. Any chance you can make it work there?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.