Email or username:

Password:

Forgot your password?
Top-level
Devine Lu Linvega

Each program loaded in the uxn system can draw its own pixels to the screen!

66 comments
bouncepaw ๐Ÿ„

@neauoire what do the lines do? Do they pipe output between subwindows? If so, then cool! I imagined something like that before, happy to see it actually existing.

Devine Lu Linvega

@bouncepaw yeah, that's what it does, in this example, I'm piping the hello world program in another program that just forwards each character, and the porporo.rom is just printing it to the terminal out.

bouncepaw ๐Ÿ„

@neauoire would it be possible to run a host system's command? There are uxn terminals, right?

bouncepaw ๐Ÿ„

@neauoire hot. With some clever routing, I can see how a simple web browser can be implemented. There's a loop: curl wrapper, html renderer, buttons (a very simple program).

I wonder if control flow can be done somehow...

Devine Lu Linvega

@bouncepaw it can, once I'm done with mouse-picking with windows, I'll make you a little video demo!

DELETED

@neauoire this is awesome. I wonder what your host OS is

DELETED

@neauoire for some reason I would've believed it was 9front

Devine Lu Linvega

@stilla I use vanilla plan 9 from time to time, but this is all uxn, it definitely has a certain plan9 vibe. :glenda:

Devine Lu Linvega

@arbe well right now it's using an int, but I might make it loop around an unsigned short for good measure :)

Devine Lu Linvega

Built the stack-machine operating system(or, a kind of livecoding playground) of my dreams this afternoon. Where's that factor raptor with sunglasses emoji

Lizbeth

@neauoire that's insane, really makes me want to setup a little uxn shortcut on the desktop to get into there, it really makes computer stuff looks fun again

Devine Lu Linvega

@ritualdust Once it's a bit more fleshed out, I'll make you a launcher that does exactly that ^^

Helvetica Blanc

@neauoire @ritualdust OMG please! I cannot seem to get it running on MacOS, but I also get lost at the terminal quite easily.

Devine Lu Linvega

@helveticablanc @ritualdust it's really not in a state that can be used easily, gimme a bit of time and it'll be usable.

The advantage of this is that it's easier to use than uxnemu which expects that you give it a rom path, this, you open it, and start playing.

Helvetica Blanc replied to Devine Lu Linvega

@neauoire @ritualdust Oh yeah, I'm in no rush! Its so cool to watch you develop it tho!

Devine Lu Linvega

The wm is basically 100 lines of code, but it does pretty much all I need.

Kiรซd Llaentenn

@neauoire Oh wait, the wm is uxn? how?

Btw, have you seen sowm? Tiny X11 window manager written by the Neofetch guy. github.com/dylanaraps/sowm

Devine Lu Linvega

@unlkfp yeah I came across it a little while back :)

What I'm going for is rio meets puredata

Devine Lu Linvega

The window manager's dropdown menu is its own little Uxn program connected to the main OS node, that will spawn new program nodes.

Devine Lu Linvega

I don't know why I didn't do all this sooner, I wasted so much time trying to contend with i3 and unix's bullshirt.

Alexander Ilyin

@neauoire What do you consider UNIX's bs in this context?

Devine Lu Linvega replied to Alexander

@creitve having only stdin/stdout/stderr for program communication, and the pain of forking routing, and in this case, one thing I really like, is allowing one program to poke() at another program's running memory as a form of pipe.

As well, as all this is stored as an image, recovering state is going to be really easy, it's not tangled into any parts of the subsystem.

Jack Rusher

@neauoire Iโ€™m also surprised you didnโ€™t, especially given Plan9 :)

Devine Lu Linvega

Routing the menu directly into Left makes Left work as a sort of debugger for message passing.

efelbar

@neauoire this really reminds me of some of the things @prahou was scripting in ratpoison, but ohmygod your ui looks elegant! crazy what you can come up with if you leave the constraints of existing software :)

(side note: i've been thinking about a low-power portable computer system for ages now and this looks like the dream wm/os for it! do you know what the current state of running uxn close to metal is?)

Devine Lu Linvega replied to efelbar

@flbr @prahou yeah, it's pretty much a solved problem. See @gustav's uxnfloppy :)

efelbar replied to Devine Lu Linvega

@neauoire @gustav ah oh course! now i'm remembering seeing their progress; i'll have to check it out in more detail :>

[DATA EXPUNGED]
Devine Lu Linvega replied to DELETED

@jameschip yup, so you can connect one output to various programs to fork the stream.

[DATA EXPUNGED]
Devine Lu Linvega replied to DELETED

@jameschip yeah that was the idea. Data can go both ways, but it uses uxn's event flow, so there's 256 bi-directional named ports to communicate data with. Each can trigger various events in the next program, like a refresh, a resize, a note, etc..
wiki.xxiivv.com/site/varvara.h

[DATA EXPUNGED]
Devine Lu Linvega replied to DELETED

@jameschip not really, it just has to be a valid varvara rom(standard uxn program), they always have the same base API to draw pictures, and write files and so on.

I can move the cursor of another application by writing to that application's Mouse/x port, and that, in turn, triggers a Mouse/vector, which the application will respond to because that's what roms do.

[DATA EXPUNGED]
Devine Lu Linvega replied to DELETED

@jameschip yup! That's how files, stdio, etc are passed around in Varvara. I should have to need the file's symbols to communicate with it.

Repeter wants an Ukr victory

@neauoire You're doing something amazing now. I don't understand what it is but I like it and please don't stop.

Devine Lu Linvega

It's starting to be usable enough that I can build the OS from within itself. I no longer need to rely on unix pipes to route data between programs, I can just paint little lines between them. :mac:

The linter rom is the little black dot, I currently don't have anything to draw roms that don't use the screen device.

efelbar replied to Devine Lu Linvega

@neauoire i'm so excited watching you work on this :D
maybe you could draw a rom's icon if it has one, and just the filename if it doesn't?

Devine Lu Linvega replied to efelbar

@flbr yes! I'm hoping to grab the rom's metadata next and display it :) you're one step ahead of me!

efelbar replied to Devine Lu Linvega

@neauoire haha suppose i should have figured :P

David JONES

@neauoire yay Display Postscript! I'm not sure if it worked anything like this but it's what this reminds me of.

Tendigits

@neauoire amazing! Itโ€™s funny, I assumed from earlier posts you were diagraming architectural plans for the system, I didnโ€™t realize the boxes and lines would literally be floating interconnected roms. Iโ€™m enjoying how itโ€™s so visually intuitive.

Jonas

@neauoire Nice! Where does that leaves Potato in all this?

Go Up