Follow

Day 2 of the compudanzas tutorial was a bit rougher.

I had a particular tough time today concentrating, with the rain outside pouring and inviting me to just do nothing and be cozy.

The real difficulty I had is wrapping my head around the specific logics of an assembler language. I'm used to being very very very high up in terms of abstraction-layers and up there you don't have to abstract much in your mind…

In my case postfix notation, and all the other things like words and macros and what not were quite accessible. I struggle most with the way *values* have drastically different effects and meanings depending in which order you put them where 😅 But I got my squares onto the screen and tomorrow is day 3!

· · Web · 2 · 2 · 8

@thgie you may benefit from experimenting with one of the uxn REPLs in development - https://git.sr.ht/~rabbits/drifblim

@phoebos @thgie It's too early in development at this point, gimme a couple more days :)

@thgie well done :) Do you think some things might have been better explained?

@neauoire absolutely not, in terms of concepts. What would help, at least in my case, would be to have the chance to practise more at each step. The exercises are fun and challenging and I always learn best during attempts of solving „real“ problems. I believe certain modes of coding just need to be practiced to grasp them. Do it until it clicks.

For me, coming from the domain of web-development (incl. backend), practicing more the way of how values are at once literals, hexadecimals, ports, sprites, shifts and what not, would help ☺️ higher up these concepts are neatly packed into subdomains and classes and don’t take up much mental space

@thgie You might want to separate the days, and spend more time doing personal little explorations, like spending an extra day messing around with bitwise operations, another day just trying to make while and for loops, etc.

If it can reassure you, I also come from web, so you should be alright :)

Try using uxncli, just to explore the programming side, by making tiny programs and observing the state of the stack afterward, to see how things come together.

@neauoire @thgie you might find dc(1) useful - use the `f` command to inspect the stack.

@neauoire Thank you both for the recommendations and the kind words. As usual I'm not gentle enough with the process. I listened to you today and took it a notch down.

@phoebos Could you elaborate on dc(1) and the `f`command, I didn't understand that 😅

@thgie @phoebos dc is a little unix stack-machine calculator, but it will probably throw you off when working with uxn. You're better off using the uxn calculator, press tab to switch between decimal/hexdecimal modes:

https://git.sr.ht/~rabbits/uxn/tree/main/item/projects/software/calc.tal

Sign in to participate in the conversation
post.lurk.org

We are an instance for discussions around cultural freedom, experimental, new media art, net and computational culture, and things like that.

<svg xmlns="http://www.w3.org/2000/svg" id="hometownlogo" x="0px" y="0px" viewBox="25 40 50 20" width="100%" height="100%"><g><path d="M55.9,53.9H35.3c-0.7,0-1.3,0.6-1.3,1.3s0.6,1.3,1.3,1.3h20.6c0.7,0,1.3-0.6,1.3-1.3S56.6,53.9,55.9,53.9z"/><path d="M55.9,58.2H35.3c-0.7,0-1.3,0.6-1.3,1.3s0.6,1.3,1.3,1.3h20.6c0.7,0,1.3-0.6,1.3-1.3S56.6,58.2,55.9,58.2z"/><path d="M55.9,62.6H35.3c-0.7,0-1.3,0.6-1.3,1.3s0.6,1.3,1.3,1.3h20.6c0.7,0,1.3-0.6,1.3-1.3S56.6,62.6,55.9,62.6z"/><path d="M64.8,53.9c-0.7,0-1.3,0.6-1.3,1.3v8.8c0,0.7,0.6,1.3,1.3,1.3s1.3-0.6,1.3-1.3v-8.8C66,54.4,65.4,53.9,64.8,53.9z"/><path d="M60.4,53.9c-0.7,0-1.3,0.6-1.3,1.3v8.8c0,0.7,0.6,1.3,1.3,1.3s1.3-0.6,1.3-1.3v-8.8C61.6,54.4,61.1,53.9,60.4,53.9z"/><path d="M63.7,48.3c1.3-0.7,2-2.5,2-5.6c0-3.6-0.9-7.8-3.3-7.8s-3.3,4.2-3.3,7.8c0,3.1,0.7,4.9,2,5.6v2.4c0,0.7,0.6,1.3,1.3,1.3 s1.3-0.6,1.3-1.3V48.3z M62.4,37.8c0.4,0.8,0.8,2.5,0.8,4.9c0,2.5-0.5,3.4-0.8,3.4s-0.8-0.9-0.8-3.4C61.7,40.3,62.1,38.6,62.4,37.8 z"/><path d="M57,42.7c0-0.1-0.1-0.1-0.1-0.2l-3.2-4.1c-0.2-0.3-0.6-0.5-1-0.5h-1.6v-1.9c0-0.7-0.6-1.3-1.3-1.3s-1.3,0.6-1.3,1.3V38 h-3.9h-1.1h-5.2c-0.4,0-0.7,0.2-1,0.5l-3.2,4.1c0,0.1-0.1,0.1-0.1,0.2c0,0-0.1,0.1-0.1,0.1C34,43,34,43.2,34,43.3v7.4 c0,0.7,0.6,1.3,1.3,1.3h5.2h7.4h8c0.7,0,1.3-0.6,1.3-1.3v-7.4c0-0.2,0-0.3-0.1-0.4C57,42.8,57,42.8,57,42.7z M41.7,49.5h-5.2v-4.9 h10.2v4.9H41.7z M48.5,42.1l-1.2-1.6h4.8l1.2,1.6H48.5z M44.1,40.5l1.2,1.6h-7.5l1.2-1.6H44.1z M49.2,44.6h5.5v4.9h-5.5V44.6z"/></g></svg>