0 Followers
58 Following
102 Posts

queer trans girl, software engineer, I like coding my own tools and ecology, 161

🏳️‍⚧️ 👩‍💻 🌷

webhttps://mayaks.eu/
geminigemini://mayaks.eu
A fiery, communal and hopeful Bealtaine to all those who celebrate, today is a perfect day to dance up the sun, light up a giant sacred fire with your neighbours and burn your landlord's house down
https://www.youtube.com/watch?v=UqVpXe5_GUQ
Beltane Border Morris dance up the sun (May day 2016)

YouTube

so the last days brought me back to university time (similar to bad dreams I often have) working on implementing signed and unsigned integer arithmetic in Javascript for uxn ts, a choice I made and a dragon I had to slay myself

so JS does not have 16-bit signed and unsigned single numbers, only 32-bit signed numbers, so if you add 2 big 16-bit numbers that overflow it will just return a big 32-bit number. It can be fixed when overflowing by shifting numbers by 16 bits or by using JS u16 and u8 arrays that will impose the limits for its elements. Now it works in uxnts (I hope for most of the operations), love you mathematics.

#uxn

Sooo, while I am struggling to implement proper unsigned 16 bit int arithmetics in TS for uxnts, I did a little fun test.

Can I run uxnts with my hello world rom on Pebble watch? Yes. Am I serious about making it support more than simple text? Prob no 🙃 But maybe
I used simply.js deprecated sdk to make it run uxnts btw

here is the code, it's just packed uxnts with sdk refs
https://github.com/mayakarabula/uxnts/blob/main/pebble.ts

#uxn

uxnts/pebble.ts at main · mayakarabula/uxnts

Uxn emulator for web engines and cli written in TypeScript (Work In Progress) - uxnts/pebble.ts at main · mayakarabula/uxnts

GitHub

my vibes this morning, dreams aren't going to dream themselves 😇

#work

doing some cool community #gardening 😊 we got some turnips, radishes, some salad, chives

has someone made an implementation of chess in uxn? I would be super interested, and would be happy to fill this gap myself too ^^

♟️♟️♟️

#uxn

soooo, I have come back to the topic of running uxn in the browser and generally JS runtime, but what I felt was lacking in trying to run uxn in pure JS were types/structs, generally code readability, so I have started work on porting uxn to Typescript (based on current C implementation) hope it's not too blasphemous, below is an example of running simple hello.rom, as it does not include other devices than the system yet

<3

repo: https://github.com/mayakarabula/uxnts
but it's very much WIP now

#uxn

GitHub - mayakarabula/uxnts: Uxn emulator for web engines and cli written in TypeScript (Work In Progress)

Uxn emulator for web engines and cli written in TypeScript (Work In Progress) - GitHub - mayakarabula/uxnts: Uxn emulator for web engines and cli written in TypeScript (Work In Progress)

GitHub
Vincent Déniel on Twitter

“I made a comic about programming! Which team are you on? Vim with tons of plugins or IDE?”

Twitter

The best-kept retro-mac secret is that the following web sites exist:

https://system6.app/
https://system7.app/
https://macos8.app/
https://macos9.app/

If you ever wanted to play with an old MacOS, this is the least effort to get started.

#retroComputing #vintageComputing #macos #emulation

Infinite Mac

A classic Mac loaded with everything you'd want.