🌞   πŸŒ›

Programming

  • It’s nice to have extra space instead of the stock 16 GiB that comes with the Raspberry Pi 400. πŸ‘¨β€πŸ’»

  • Since Linux Desktop has limited support for emoji and no good input method editor (IME) I could find, I’ll have to use a cheat sheet with Unicodes. Most emoji are unsupported, though, which is a shame. To enter, press the ctrl+shift+u key combo, followed by the hex-digits. πŸ‘¨β€πŸ’»

  • Writing a long form post about my experiences learning how to modify microβˆ™blog themes… I expect part 1 to be out some time next week. I have the computer set up, software all installed. There’s education ahead! πŸ˜ƒπŸ‘¨β€πŸ’»

  • Trying to understand the templating language behind microβˆ™blog is hurting my brain. I have really no idea how to tackle my problem of site navigation, where the previous post is out of scope of the current sectionβ€”or the next post if the current post is last in its section. πŸ‘¨β€πŸ’»

  • Reading the Command Line Interface Guidelines πŸ‘¨β€πŸ’»

    Yet with its creaky, decades-old constraints and inexplicable quirks, the command line is still the most versatile corner of the computer.

  • What We’ve Built Is a Computational Language (and That’s Very Important!)β€”Stephen Wolfram Writings Language both humans and computers can understand, as important as the introduction of Math symbols “+”, “-”, “=”, etc. centuries ago. πŸ‘¨β€πŸ’»

  • Python vs Swift Unlike many languages, Swift behaves like Maths, passing objects as values instead of as references, which saves a huge performance hit of having to clone objects to avoid other processes changing those objects unexpectedly. In Python everything has a pointerπŸ‘¨β€πŸ’»

  • Data Serialization β€” The Hitchhiker’s Guide to Python Always handy to know if you have rolled your own, and wondered if this is a solved solution. In fact, there are several solutions. πŸ‘¨β€πŸ’»

  • Pass 1 of a 2-pass assembler in Pythonista 3 seems to work for a 256 times 8-bit word memory. I hadn’t done that before, so it’s a win in my book πŸ‘¨β€πŸ’»

  • While reading all about how “modern” computers do all kinds of tricks to load executable code on the fly, doing this on an 1980s 8-bit computer seems rather cool, yet overkill. Though, combining built-in ROM routines and Basic with external executable modules is appealing πŸ‘¨β€πŸ’»

  • Currently reading: Assemblers, compilers, and program translation (Computer software engineering series) by Peter Calingaert πŸ“š πŸ‘¨β€πŸ’»

  • Watching PDP-11 Assembly Lesson 3 - Conditions, branches and loops - YouTube to learn about how to do assembly language for this (then) groundbreaking computer. πŸ‘¨β€πŸ’» πŸ›β€πŸ–₯

  • Clearly, πŸ±β€πŸ’» β‰  πŸ‘¨β€πŸ’»! If it were true, πŸˆβ€β¬› would rule the 🌎. Or maybe they already do, and we just don’t know it.

  • Before I write a basic assembler in Pythonista 3, I should be able to process a source file and output the result into an object file. Here I reversed each word in a text file. It’s very basic, doesn’t take into account punctuation, but it works, and that’s enough. πŸ‘¨β€πŸ’»

  • I think I should implement this one-pass and two-pass assembler in Pythonista 3 on iPad. The project is from the book Assemblers and Loaders. πŸ‘¨β€πŸ’»

  • Writing a print file extension in Pythonista 3 seemed so easy… I had to learn a few new things, so, in the end, it’s all good. πŸ‘¨β€πŸ’»

  • Currently reading: Programming the 65816: Including the 6502, 65C02, and 65802 by David Eyes πŸ“š πŸ‘¨β€πŸ’»

  • I made a very basic and working 1-pass cross-assembler in Pythonista. It was more of a proof of concept, to help me understand the book I’m reading (Assemblers and Loaders) πŸ‘¨β€πŸ’»

    PS Notice it’s still big-endian, while it should be little-endian. 😬

  • Currently reading: Assemblers and Loaders (Ellis Horwood Series in Computers & Their Applications) by David Salomon πŸ“š πŸ‘¨β€πŸ’»

  • I wondered about how to build (in Python) a linked list of tagged items, and how to print its tagged items. Each item has three containers: a link to the next same-tagged item (-1 if it’s the last item with that tag), a tag and a value. Here’s my solution. πŸ‘¨β€πŸ’»