recently @neauoire started working on a ternary stack machine -- so of course i had to jump in and help emulate balanced ternary arithmetic: if you didn't have access to floating point math and you wanted to mix a stereo u8 PCM sample down to a mono u8 PCM sample and have it sound ok how would you do it? currently i'm promoting each 8-bit sample to an unsigned short and averaging them, e.g. (left+right)/2. it sounds ok but not great: as expected it gets quieter and it maybe also introduces some artifacts. @d6 averaging is the correct way to do this. The problem you’re experiencing is non-linear human perception. (And maybe some cancellation of out of phase frequencies) You’ll just have to fudge in a volume boost… which will probably take you out of 8-bit range. just watched @neauoire's #strangeloop talk. wish i had been there but it was still fun to watch later on. i don't think they even say the word #uxn in the talk but the talk does relate to a lot of the work that they (and i and others) have been interested in for awhile now: @d6 @neauoire the talk he asks people about in the beginning mentions uxn, the one about concatenative programming languages: https://youtu.be/umSuLpjFUf8 @d6 I think it's more fun if it's presented as a way of doing things, than some sort of app to download. That's why I have stopped saying the name. ^^ thinking of implementing tar for #uxn would only support files and directories, and wouldn't do a lot of the fancier stuff, but combined with a tool for compression/decompression feels like it could be useful. choose your weapon Anonymous poll
Poll
defederation
8
14.8%
denunciation
2
3.7%
decapitation
13
24.1%
defenestration
54 people voted. 31
57.4%
Voting ended 21 Jun 2023 at 3:16. my energy/enthusiasm have been at a low ebb recently. but one thing i do want to come back to is my (in-progress) proof of concept chat server for uxn using uxnet: http://plastic-idolatry.com/erik/media/uxnet.txt if i get this working, i think i am going to try to create two extensions to uxnet: (1) add a client/server option for connecting with SSL (2) i want to try to implement TCP hole punching in uxnet, so that clients can talk directly (only using a server to start the connection) i think (2) would be especially useful for playing games. right now each game would need its own dedicated server, versus being able to use a shared "relay server" for all the different games/applications folks might use. we need a trash developers conference, where people give excited presentations about running useful, exciting new software on computers they found in the trash.
Show previous comments
@d6 follow @trashrobot for more on this exact subject, he has a whole book / self replicating wiki / hardware setup to proselytize @d6 For about 2/3 of my PhD work, the computer I used at home was what I called "my zero-cost computer". It was a frankenputer from various discarded bits. Before it was finished, I gave in and paid $25 for a CD drive because while I *could* load Slackware from floppies, it seemed easier to load RedHat from a CD. Later, I also paid for a Cyrix 5x86 to upgrade the processor. I replaced it when a bearing in the hard drive went, and the read/write head left a nice gouge in one of the platters. sharing some progress on implementing a deck of playing cards for #uxn http://plastic-idolatry.com/erik/media/deck-demo.mp4 this video is just me moving and flipping cards around but still feels pretty compelling.
Show previous comments
@d6 omg that's very cool. It's crazy how this is going in leaps and bounds between each video. drew some 8x16 card tiles for future #uxn games. i'll probably start with a free form card-moving rom. ultimately i'd like to write roms for tarot and solitaire. so the #uxn mandelbrot demo has had a bug for awhile. today i found the bug and fixed it! major milestone achieved! the emulation is accurate enough that i can edit term.tal in emacs running in determ! (i did actually work on determ on february 17-18 but am late with the write-ups for those days.) another day, another progress report: http://plastic-idolatry.com/erik/2023/funaday/14.html as an aside i have to mention how fun it is to be working with #uxn. i really appreciate the community around it and the general ethos. a great mix of do-it-yourself ethos collaborative energy and goodwill. another slow but steady update for today: http://plastic-idolatry.com/erik/2023/funaday/11.html i'm cleaning up the code a bit and knocking out some old TODOs. kind of tempted to write a #uxn post called "that programming thing you care about probably doesn't matter" not such a flashy update today, but i dove back into writing C for unix. in particular i'm trying to enable uxn to create a pty and fork a subprocess directly. that would remove the need for a "wrapper" which sets things up, and would enable uxn roms to run other programs (at least on unix). some great progress on determ for #funaday. fixed some crucial bugs, updated the site, and took some screenshots! so i made a #FunAday page for my project -- which is hacking on my #uxn terminal emulator every day in february: http://plastic-idolatry.com/erik/2023/funaday/ the page is still a bit sparse but there's more to come. |
@d6 that is kinda badass
@d6 damn okay okay, on week 1 of decadv too. When can we started playing with this in uxn11 :eyes_fast: