by recursivedoubts · 1y ago · 0 comments
I agree that blow is wrong on some details, but I really think we need to be thinking hard around a NAND-to-Tetris style education that starts in high school for our technical students.
I use "outdated" models like Little Man Computer and a simple visual MIPS emulator which, even though they aren't realistic, at least give the students a sense of where we came from, with a level of complexity that a normal human can get their head around. When I look at modern 64 bit architecture books that get suggested for me to teach with I just laugh.
Anyway, not to say I agree 100% with Blow on everything, but connecting technology down to the roots is a hard problem.
The point about mobile devices breaking the desktop metaphor and file system norms is really interesting.
Higher quality discussion question: Files, buffers,file systems, file explorers, and window managers seem like useful abstractions to me for the human computer user. Why did we not end up with something like “every app has a folder with your files” or “if you have a new iPhone, just send or recover your user files from the official Reddit app on your old device and import them to carry on where you left off on your new device. Welcome back to the Reddit app.”
Because that's anti-thetical to control. The biggest sin in a technology business is allowing your customers to stop using your product with no negative consequences for them.
If you're making software or hardware for millions of users then abstraction becomes your friend in a variety of ways, some of which are immediately obvious and some of which are not.
I used to work for a company which sold software for both desktop and mobile. The earliest versions of the mobile software assumed you also had the desktop software: it was more of a companion to the desktop software. That changed over time, and it was a painful migration because we had to build a lot along the way. It was kind of like in a game where you're running through the sky building a walkway in front of you as you go.
Over time not having some kind of seamless syncing and handheld migration option became a liability for a variety of reasons, and a big economic one was support overhead. Asking users, at scale, to do things with files on their mobile devices (let alone with both their mobile device and computer) was asking a lot. So much so that we ended up expending an increasingly economically unjustifiable amount of time hand-holding users through very basic steps. Our technical users got it just fine, and we basically just had to provide cover when something unexpected or untested happened, but that was a minority of users.
I agree with the general sense here that it's to our detriment generally that basic computer literacy for things like files and folders is decreasing, and that it's made worse by trying to abstract those primitives away. On the flip side, the market is going to serve itself best by meeting people where they are. Businesses aren't going to try to educate people, they're just going to take the path of least resistance which only serves to enable (or you like, underwrite) a continued regression in basic computer literacy.
1. Many users find recursive data structures like trees to be confusing. Recursion is the place where a lot of students fall off the train when learning programming. Trees are fundamental to file systems and explorers, but they aren't intuitive to a lot of people. That's why every app now starts with a screen that highlights recent documents and search.
2. Developers hate files because files suck. They're just flat arrays of bytes. You have to define file formats and that is really hard work many programmers have never done. Databases are where it's at but RDBMS tech never standardised file formats, hence the appeal of SQLite's "use an rdbms as your file format" elevator pitch. Apple/NeXT tried to partly fix this with the concept of bundles, but our industry never standardised a way to transmit directories that works better than PKZIP so bundles hardly work and Apple had to give up on them in most cases. None of the protocols we use understand how to move directories around.
Bundles are just folders with a bunch of files in them. How does that invalidate the concept of files?
Intricacies of file systems have always been a means to an end for regular computer users.
And as someone who had their house (whole town actually) burn down recently, cloud storage saved all my data, thousands of baby photos, etc...
Before we had the hegemony of Unix, for instance, it was expected that operating systems had richer concepts of files, such as files which a record-oriented or block structure, ISAM [2], Record Management Services [3], etc.
What happened was that Unix inspired a generation of microcomputer operating systems, and on top of that, Unix implementation of its own abstractions are poor. For instance, I wouldn't trust any kind of file locking to work on Unix at short of "directory creation being atomic" but even Luu isn't so sure about that one. Contrast that to the Win '95 era in which you could run multiple copies of Microsoft Access on different machines over an SMB file system and expect locking to work properly.
Post-2010 or so there has been a bifurcation between distributed systems that implement simpler but more scalable and reliable 'file-like' APIs like S3 (random access writes are like... aspirational, aren't they?) vs libraries that do what old facilities like DEC's DATATRIEVE did for which I'd include SQLite, Apache Arrow and such. It used to be those facilities had some support in the kernel whereas things like that now are almost entirely userspace.
[1] https://danluu.com/deconstruct-files/
[2] https://en.wikipedia.org/wiki/ISAM
[3] https://en.wikipedia.org/wiki/Record_Management_Services
Here's another: Your device contains a bunch of photos and videos. Photos are identified by looking at them. Videos are identified by a still image, or by playing the video within the video chooser.
Here's another: Your device contains a bunch of apps. Apps can organize their own data however they see fit.
... Microsoft's OLE really was the most well-integrated document-centric desktop we ever got, wasn't it?
What people remember of the Office '95 file formats was that they were 'proprietary' but it was worse than that in the sense that these were really meta file-formats that would let you embed a 'file' inside a file which would be handled by some arbitrary EXE, so to process any Office '95 file you really need a Windows installation with all the EXEs and DLLs required by that file, thus when Microsoft came out with ActiveX [1] I was really terrified that you'd need a Windows computer to browse the web in a year or two.
I find the 'app' model to be user-disempowering thing since the app chooses what you can do with the data, but 'photos' and 'videos' are something really different because there is a standard format for those so I can take photos with my DSLR or my tablet or make images with a Python program or edit them with Photoshop or MS Paint or the GIMP and view them with different apps, print them out, upload to a web server, etc. A system could provide a different API for accessing this kind of functionality but I'd say it is fundamentally a step back to have to read data with the same program you wrote it with.
Admittedly I am old grouch, but I stopped having any expectations of the current generation of "college kids".
Incidentally, I'm at Montana State getting a master's in IE, and I deal daily with this one PhD student who has demonstrated an inability to perform a simple partial derivative, which you'd think is a pretty useful skill given the subject matter. Hell, last semester in a 400-level math course, one of the students didn't understand how to add two matrices, I kid you not. It is odd that a senior in CS wouldn't know what a file system is, but that seems rather quaint compared to some of the wild bullshit I've encountered here.
My first stint in university in the 2000s felt a lot different than this, and it's a bit depressing. But man, I feel just great about my prospects in the job market next spring.
Computer science, despite the misnomer, is not about computers, even if computers are an indispensable tool in the field. Computer science is all about abstraction and language modeling of a domain and their application; the computing technology of the tool, however important practically, is an implementation detail. Just as it pays for the astronomer to understand how to operate his telescope in due proportion to his needs as an astronomer, it pays for the computer science person to understand how to operate his computer to the degree that he needs to. But it is a total mistake to place the computer at the center of the universe and treat it as the point of departure for what computer science is really about. This muddles things and is a source of much historical confusion in the field, and in fact, this discussion.
In fact, even the language of "low-level" programming or whatever is abstraction and language. It is simply the language of the computing device that must be used to simulate the abstractions of the domain of discourse.
I’ve always thought of programming as 1 part science, 1 part craft, and 1 part art. The percentages of those parts vary depending on the job. There may be 0% science in some roles (outside of writing functions). I think the vast majority of programmers are firmly in the craft camp.
I spend a lot of my free time decompiling MIPS assembly and small functions can be decompiled to matching C by “hand” without need other tools.
You teach and hence deal with this: "Information passed on between generations is diluted"
Is it diluted? No it isn't. Your job is teaching and books and computers help us avoid calling you a bard 8) Mind you, being called a bard is not a bad thing!
In the end this is a blog post response to another blog post. I have no idea about how "important" those bloggers are but I smell ... randomly deployed blogging for the sake of it. That's the whole point of a blog anyway. I'm being polite here ...
Why I recommend Bryant/O'Hallaron's Computer Systems: A Programmer's Perspective (for comparch) to newbies, as coding is what most folks are likely to be doing early on.
https://books.google.com/books/about/Computer_Systems.html?i...
I was always amazed by the back of the television and asked him "Dad, how does electricity work?". He didn't know.
From that moment, I was imbued with purpose.
When we got our first computer I sought desperately to know how it worked and how it was built.
My first year of computer science at university was uninspiring. I learned to code but I wanted to know how people coded without operating systems, without using a computer. I was annoyed by the chicken and egg nature of it.
In my second year we did the "hardware/software" interface and read Patterson and Hennessy's Computer Architecture and Design.
When we made our way to the diagram of the basic von Neumann architecture, my childhood questions, that previously no one could answer, was answered.
The world made sense. And it was the class your now teaching that finally satisfied my childhood questions.
The fact that all of these are (or can be) decimal machines makes it much easier for people to understand what's going on.
Jumping to binary before you understand how a computer works is like learning logic in Latin.
[0] https://en.wikipedia.org/wiki/CARDboard_Illustrative_Aid_to_...
[1] https://en.wikipedia.org/wiki/MIX_(abstract_machine)
I've been playing around with a modern version of the cardiac, drop me an email if you'd like to collab on testing it on live students.
https://archive.org/details/jclarkscottbuthowdoitknowthebasi...
I suggest Petzold's Code as a good example of a book that's great at teaching the bottom-up approach.
Humans are physiologically incapable of doing or understanding anything significant. They inflate their status to be stuff like anything even remotely central to the universe, which is the definition of the anthropocentric. While in actuality reality can and will go on without humanity. Regardless of how life gets falsified, simplified, and dumbed down for the slow kids of the universe that is humanist society. As if the constant string of inconsistencies in quantum physics wasn't proof enough of the reliable ineffectiveness of mathematics as well as science in achieving knowledge.
Absolutely terrible take -- strong subjectivity and defeatist sentiment.
> While in actuality reality can and will go on without humanity.
Sure but in that case you won't be here to consider it. There's no considering such a situation, so there's no use considering such a situation. Push onwards!
> As if the constant string of inconsistencies in quantum physics wasn't proof enough of the ineffectiveness of mathematics as well as science in achieving knowledge.
We're never going to understand everything about everything. That is half the fun! How you got from there to "Humans are physiologically incapable of doing or understanding anything significant" is beyond me.
Stop paying attention to quantum mechanics, and start paying attention to what's important to you. The kinds of things that made you truly happy as a child. Make model train sets or 7 day roguelikes. Make box fortresses for your cats. Make your neighbors lives a little bit better. Talk to a neighbor you've never talked to about the weather or something.
And what if I derived pleasure from mastering quantum mechanics, like some sort of strange alien that, for some, foreign, reason, had a huge fancy for physics that touches deep down into interesting rabbit holes? Not only that alternative preference, but what if I had a situation where comprehensive knowledge was a requirement, rather than an optional leisure in a sea of other freedoms? Surely, then, holisticism or completeness would be a priority for the alternative scientist and engineer.
We can only conclude from our social interaction something like a physical difference between the anthropocentric and the transhumanist, at the least. Which leads to questions of what are the properties of this division. And why it exists. To get the ball rolling in some neo-globalist societal engineering that is going to be very awesome.