There's hardly a day that goes by on a boat when you don't have to build some sort of shelving or some other thing.
#theBoatyard
There's hardly a day that goes by on a boat when you don't have to build some sort of shelving or some other thing. For weeks now, I've been trying to use my assembler in a playground type way, where I can give it a filename interactively, and it assembles it, returning to its "waiting" state, and I had issues where erroring would always happen at different depth in the code, so the stack was always messy after encountering an error in live mode. I made an arity checker(it's a thing that makes sure that a program's function doesn't leave the stack in an unexpected state), and would run it over my assembler source and it threw an error at my error handling code. Each time I thought, it's probably being confused. But NO, it was telling me this whole time what I should change . I gave it a second look today and fixing that little thing was all I needed this whole time to get it to work properly. Thank you arity checker sensei. I've been changing my workflow these past few days from working with textual sources, to using something called structured editing. Normally you'd think of a program as source code made of text, but in structure programming, you edit the symbols of the program, in this case the bytecode, labels and comments. I use the textual representation when saving my work, so it can be versioned, but while working anything that is not a bytecode, a symbol or a comment is not recorded.
Show previous comments
@neauoire yes! this is how co works, the source code is natively a bytecode, and there is even a subset of the instruction set reserved specifically for source-only tokens (like newlines, indents, comments, and different types of label definitions) and then the text representation is really just a transformation layer/interface. and then there is also a symbol database integrated to the language tooling, similar to the “symbol file” you mentioned (i imagine?) So a few days I've realized that I very much liked working using structured editing. Structured editing means that your editor is aware of the program's functioning enough that it handles how it should be presented, so you're not editing text as much as the underlying structure of the program. It's just a fancy way of saying that it's basically just a symbols aware disassembler. I've spent the past 2 days improving the UX so I could run the reassembler without going through the terminal. Implementing structural editing in #uxntal. I remember having lots of fun with THINK Pascal when the IDE was reformatting my program automatically and I've been meaning to have this as part of my workflow now.
Show previous comments
@neauoire Off-topic, but that Cream font you customized looks glorious every time I see it in one of your posts. I’m curious if there’s any existing way to convert the UFX font to something like OTF? Walked in front of a yoga studio that had the words "Nothing in the history of the universe ever happened from the outside in." drawn in the window. Walked the rest of the way in a kind of haze
Show previous comments
@neauoire Every time I just want to loosen my ligaments, some stretchypant shaman is trying to make me think of the cosmos. What a weird sense of humour they must have.
[DATA EXPUNGED]
A little addition to #uxn's console device from the mailing list: https://lists.sr.ht/~rabbits/uxn/%3CCAE2DaSR8nb0D0ESreoBkHjLmTO9sJQKaM9SN9C6De5CfLyyHtQ%40mail.gmail.com%3E Added extra notes to the disassembly that shows jump labels, I have an idea in mind that I'd like to try with this. @eli_oat I'm not sure if you've seen this yet, or how interested you are in hebrew, but I thought you might like this: https://www.youtube.com/watch?v=44FutoWme8A The referenced talk is very good: https://www.youtube.com/watch?v=6_aFvmY8ZbI @neauoire thanks for sharing this! This was a fun watch. It also reminded me how, once upon a time, when I was young and naive I thought I wanted to be a rabbi (narrator, it would turn out that he did not want that at all), and on that path I once wrote a (terrible) essay on et as a holographic term, a word from which you could build anything else, and, that tried to posit how, if you could build anything from et, you could store anything in it, too...which is weirdly computer-y in vibe. @neauoire @eli_oat I'm sure you guys know about Toki Pona? I tried to make my own little 4 letter language inspired by that: http://move.rupy.se/file/talk.txt I'm working on a project on self-modifying code(SMC), and I'd like to get as many stories of fun things you've done using SMC, papers, articles, videos. Anything but examples of SMC used for obfuscation - stack hacking, ad-hoc quoting, literal injection, branchless conditions, etc.. I want to see it all :maru:
Show previous comments
@neauoire I worked on dynamic binary translator projects (like an off-road JIT). One translated PPC to x86-64 code on the fly, in chunks of 5-30 instructions, writing and optimizing new machine code on the fly and patching together the completed chunks just in time to execute them. One very confusing week I was translating a music synthesis app but it kept crashing; I came to realize that the audio app itself used self modifying code to efficiently generate the notes. … @neauoire I'm pretty sure this is not what you're looking for, but there was an interesting line of research in the 90s to create circuits with FPGAs using self-modifying genetic algorithms. The results were kinda scary since they ended up leveraging inscrutable analog properties of the hardware instead of human-understandable digital logic. https://www.eetimes.com/whatever-happened-to-evolvable-hardware/ @neauoire https://github.com/scrottie/Code-Splice for injecting inspection, and for in-lining method calls in a certain not-dead-yet language. I wrote a conference lighting talk that I never gave that continuously pulled from github, parsed the diffs, and spliced changes in to the running program. Wasn't able to keep up with maintaining that and afaik no one else really used it for anything so long dead.
Show previous comments
Somebody at Github pushed some messed up html to production, and everyday I wonder when someone is going to notice it
Show previous comments
@neauoire lately I’ve been feeling like the web platform is becoming the chromium platform — too many websites are only developed for and tested with Chrome :-( @neauoire since Microsoft bought it, I've seen already a few glitches, some of them pretty bad like entirely breaking the site for a certain browser due to skipping proper feature detection: https://github.com/webcompat/web-bugs/issues/119474 A quine is a computer program which takes no input and produces a copy of its own source code as its only output. The following sequence of bytecode is a valid #uxn quine. Uxn is at an advantage in that raw hex is valid uxn code. So the quine here reads its own program(without self-evaluating it, or introspection) and outputs itself again. @neauoire reminds me of this story of a real life tron escape. I'd say it's probably my favorite story about computers ever. https://blog.danielwellman.com/2008/10/real-life-tron-on-an-apple-iigs.html It was hard to see which blending modes allowed transparency in the old screen-test.rom, so I added a scrolling checkboard.
[DATA EXPUNGED]
@mcc I don't seem to have the redraw issue that you see, using latest oquonie(v5), and latest uxnemu(built from sources) Working off solar on the pinebook via usb-c on an overcast day and we're still power-positive. I feel silly to have not noticed the usb-c charger on the pinebook after all this time, it beats going through the inverter and wasting lots of power there.
Show previous comments
@neauoire I would love to see your setup. The dream of solar powered computing is all I ever wanted! @neauoire Ohh - this is super attractive to me. Do you do development on your pinbook? I had looked at them, but with 2G of RAM, thought they might be kind of underpowered. Would love to know more about your setup (OS, window manager, IDE, etc.) Took off every MC4 solar connector aboard, we're tired of them breaking and leaking. We'll try just using simple marine butt-connectors.
Show previous comments
[DATA EXPUNGED]
|
@neauoire oh, to be building every day......