4 ms·
The Changes for the 2nd Edition of “Code”
- pnf 4y agoLove this book. Taught me a lot. Looking forward to reading the 2nd edition.
- criddell 4y ago
- selykg 4y agoI used to work at a company that did a lot of security work, they're mentioned rather frequently on HN actually. We spent a lot of time dealing with our own binaries being caught in a variety of "security apps" as false positives. These tools are almost all terrible.
- criddell 4y agoWhen you click through to the page, I don't see what MalwareBytes could be concerned about. It's a pretty simple page.
- selykg 4y agoIt's likely analyzing any JS on the page. Or a linked JS file. Those, in my experience, tend to be the issue.
- shakna 4y agoThere isn't any javascript on the page, inline or linked. None. BrowserGuard is a pretty... Braindead... Application. It's blocking based on the social media cover link [0]. Based entirely on the filename containing something that "looks like hex". [0] https://www.charlespetzold.com/blog/2022/06/Code2H450.png https://www.charlespetzold.com/blog/2022/06/Code2H450.png
- criddell 4y agoThanks for the explanation. I removed the plugin.
- user3939382 4y agoIt’s funny reading this, I can tell he’s struggled to solve a problem I used to explain on the first day to my Intro to Computers students: a lot of this technical information is interrelated in a web, rather than one concept leading to the next. Yet we are forced to learn it linearly. It took a lot of effort and experience teaching to resolve that conflict.
- dboreham 4y agoSame thing is true for Mathematics.
- qsort 4y agoVery true. One of the most effective approaches for learning math is reviewing the same material multiple times, at different levels of depth. This is what is usually done for math competition training and it's night and day compared to the usual "multiplication tables => polynomials => precalc => calc..." A similar approach to teaching CS isn't too far fetched.
- mixmastamyk 4y agoYes, aka "progressive encoding." Like a JPEG file that gets clearer and clearer as each chunk is transferred. Start with a introduction and summary of each related discipline. Go back to the beginning and build another layer on top, with as many iterations are necessary. Has much in common with the Spiral methodology of software development: https://en.wikipedia.org/wiki/Spiral_model https://en.wikipedia.org/wiki/Spiral_model
- allturtles 4y agoI think you can generalize this problem to just about any subject, or any kind of story telling. e.g. Herodotus' Histories has these digressions (I've sometimes seen them called 'pendants', which I really like), which can also be nested. i.e. time is not mapped linearly to the text, the text jumps around in time (and space) to provide context to the main narrative (and sometimes to provide context to the context). Digressions also appear in Homer. So you can think of the story elements as a kind of graph that have to be flattened into a linear structure, and to perform this flattening well is the art of good story-telling.
- avinassh 4y agoI haven’t read this book, am I missing anything if I just read the second edition?
- devilbunny 4y agoUpdated a few references, added a lot more about how one would create a processor from the parts he already described. I'd say no, you wouldn't miss anything important.
- mixmastamyk 4y agoLooks like not much: - A story about a "Tony Orlando and Dawn" song illustrating binary signaling. - Picture implying electrons orbit nuclei like planets as out of favor. - Implied removal of Motorola 6800 info, in favor of more Intel 8080, though I haven't confirmed. - Reference to camera film. - Chapter fawning over Windows cut down (Thank $diety. Or was that MMM?)
- pedrow 4y agoFrom someone who's read the 1st edition, what age would this be suitable for? From CP's description it didn't sound like it needed any advanced knowledge to read. I'm wondering if I could get my kids interested in it
- bluedino 4y agoEvery kid is different but I'd say a 5th grader would be fine
- pedrow 4y agoThanks. I have to look this up every time (I'm in the UK) so for those like me, 5th graders are aged 10-11 normally.
- bityard 4y agoI'm reading it to my nine year-old, a chapter at a time. He is likely technically capable of reading it himself but he doesn't have the focus to get through more than a page or two on his own. But he likes spending time with me no matter what we're doing and he is having no problem understanding the concepts in the first few chapters so far. He particularly loves (re-)inventing practical applications for the concepts being introduced, like the flashlight telegraph.
- fl0ps 4y agoSome parts of this book could be read/shown to a 5-year-old. We're talking simple battery-to-switch-to-lightbulb wiring diagrams, colored in red when the wires/bulbs have power (quite a nice touch when showing this to those new to the subject). This methodology continues in the sections on logic gates so you can clearly tell what line has a logic one for instance, causing a bulb to light up. The book is awash in plentiful diagrams that range from very simple to fairly complex. The complexity seems to be hinged carefully on relevent predecessor diagrams, so nothing out-of-the-blue is thrown at the reader.
- throwthere 4y agoIs this kind of like a high level overview compared to nand2tetris? Any idea how they compare?
- hydrolox 4y agomaybe, I read some discussion about it and someone suggested something like reading Code and seeing if it's interesting then partaking in nand2tetris. Also nand2tetris actually makes you implement everything yourself.
- Jtsummers 4y agoChapter 6 forward corresponds well to nand2tetris, but, yes, at a higher level (it doesn't offer a project or homework). The first 5 chapters are probably the lightest portions in Code and offer historical and motivational reasons to explore code (as a general concept). 6 is where binary logic really starts, and then the later chapters build out a CPU. If the goal were to use these two materials to develop an understanding of computers and digital logic, probably the most natural combination would be to read all of Code and then do nand2tetris, or to read the first few chapters of Code and then finish it while doing the first half of the nand2tetris course. Code's in depth material corresponds most strongly to the hardware portion of nand2tetris.
- type0 4y agoIs "Code" a good Christmas present for a technically/scientifically minded friend who is novice in computing or are there other better books that are more in pop-science style?
- bityard 4y agoIt's very possible. Code is a fantastic book for people who want to understand how computers work, basically from first principles.
- smcn 4y agoI think it'd be great. It a great way of building knowledge until someone is able to understand how a computer works. It's very approachable and requires next to no preexisting knowledge.
- number6 4y agoYes. This is one of the greates book and overview for computer science. It's well written and deep enough not to be trivial, but not too deep to be boring or homeworkesq.
- rramadass 4y ago"Code" should be made mandatory reading for every "educated" individual. It is often frustrating to meet otherwise intelligent people who have the most outlandish ideas of "What a Computer IS" and "How it Works". The invention of the Computer was truly a Quantum leap in Human Civilization. Today the World literally is run by Computers and it is most important that everybody gets the proper idea of what this "Machine" is with its Capabilities/Limits.
- shostack 4y agoIt is the closest I've ever come to what I imagine it is like to be a wizard and learn magic from first principles.
- GnarfGnarf 4y agoCharles Petzold is a God of technical documentation. His "Programming Windows" is a masterpiece of clarity and exposition. Also was the foundation of my 27-year old company. I wish he would write a book on TCP/IP and Internet Protocols.
- 3pm 4y agoCheck out Computer Networks From Scratch by Seth Archer Brown (work in progress). Once finished, could be considered a Code Volume 2. https://www.networksfromscratch.com/table_of_contents.html https://www.networksfromscratch.com/table_of_contents.html
- mixmastamyk 4y agoStevens' books are well-regarded: https://en.wikipedia.org/wiki/TCP/IP_Illustrated https://en.wikipedia.org/wiki/TCP/IP_Illustrated I'm enjoying his Unix book now. (Although these are little more technical and not as oriented to lay-people.)
- jgwil2 4y ago> I don’t know if this chapter will satisfy anyone, but one of my big hopes is that someday someone will write a book much like Code but about the Internet. I’m not going to do it. But if you do a good job, I will certainly buy a copy. Does anybody know if there is anything that comes close to this right now?
- rramadass 4y agoYou may find the following useful; 1) Internet System Handbook by Daniel Lynch and Marshall Rose - Classic oldie laying out the protocol foundations of the Internet. 2) Internet Architectures by Daniel Minoli and Andrew Schmidt - Another oldie laying out the operational framework of the Internet. 3) The Intelligent Web: Search, smart algorithms, and big data by Gautam Shroff - This is the closest to what you are looking for. For most people the Internet has become synonymous with the Applications (explicit or implicit) running on the Web and hence this book focuses on its current state and future possibilities.