Email or username:

Password:

Forgot your password?
Top-level
Devine Lu Linvega

Until now, I must have spent a total of 15 minutes on the actual drawing of the wires. Silly, considering how central to this whole thing these are. So, today I added detection for which corners to draw the wires from and to, to help reduce their overlapping windows content. It's all coming together better than I had hoped, I'm positively surprised at how many of the tasks that I set out to do and have managed to complete already.

rabbits.srht.site/decadv/
#DecemberAdventure

Wires coming out of a window from both corners.
42 comments
Devine Lu Linvega

Woke up hungover, booted porporo, slouched with my face resting on my fist, wondering about input methods, if there wasn't an interesting way that I could possibly program with just the one hand holding the tablet pen, that wasn't an on-screen keyboard. I considered the way I could write letters on the palm pilot, and wonder what went into a system such as that, and then implemented it.

rabbits.srht.site/decadv/
#DecemberAdventure

A bunch of input canvases connected to logging windows.
[DATA EXPUNGED]
DELETED replied to Devine Lu Linvega

@neauoire the magic search engine words are “unistroke recogniser” and there’s a whole mess of implementations here depts.washington.edu/acelab/pr

Devine Lu Linvega replied to DELETED

@zens yup! there's a whole bunch of schemes for different setups. I picked one that didn't do any trigonometry.

Eri replied to Devine Lu Linvega

@neauoire makima!!! One QOL thing if it’s not already implemented, a little backspace button could be a good way to improve tablet-only workflow

Devine Lu Linvega replied to Devine Lu Linvega

I didn't expect shorthand recognition to be such a fascinating rabbit hole to fall into. I've spent a second day on the implementation of such a system. I've wanted to see if the scheme I chose could be extended to cover the rest of the ASCII sheet, and if I could remember each glyph. I've also implemented a punctuation mode. Perhaps I will write tomorrow's entry with a tablet pen.

rabbits.srht.site/decadv/
#DecemberAdventure

Writing a string of text using the shorthand.
krowe replied to Devine Lu Linvega

@neauoire

Sir, it's only Day 12, this needs to be stretchier.

> Stretch Goal: Build my dream operating system, and have fun!

PypeBros replied to Devine Lu Linvega

@neauoire I'm also curious to know whether having to use un-natural glyphs like those used for Palm graffiti can be practical for writing code ...

Devine Lu Linvega replied to Devine Lu Linvega

Okay, one more day on this, it's just too fun. I've split the canvas into three sections so I can input capitalized letters at the top, lowercase letters in the middle, and punctuation at the bottom. This new UX makes the whole thing a lot more practical to use. I'd like to say that I've written lots of code today, but I mostly practiced drawing the alphabet over and over again.
rabbits.srht.site/decadv/
#DecemberAdventure

Sending ascii characters from grail to two programs.
Javier 🖖🏃‍♂️🌻 replied to Devine Lu Linvega

@neauoire Now you could create small drawings for snippet expansion. Imagine drawing something to put the signature in an email or to create and save a file.

Devine Lu Linvega replied to Devine Lu Linvega

This month's list of experiments is thinning, one of the remaining thing I'd like to do is create a rom that exposes the controls that have until now only been available through keystrokes to move, close, center, collapse and draw connections between programs. The interesting bit of this project is to have most of the state of the operating system collected into the bar's ram.
rabbits.srht.site/decadv/
#DecemberAdventure

There's a bar at the top that reflects the cursor's state. The wallpaper is art from Claymore.
Devine Lu Linvega replied to Devine Lu Linvega

Since parts of Porporo are built with itself, to compile it we need to have a partial implementation of the Varvara ecosystem capable of running cli roms, and an assembler, so that the roms that live at the core of porporo can be assembled and transformed into valid C files with the help of the formatter rom. When this is ready we can finally compile Porporo.
rabbits.srht.site/decadv/
#DecemberAdventure

Crazy make file source code in Left.
Devine Lu Linvega replied to Devine Lu Linvega

It looks like the work I set out to do on Porporo is done, all I have left is to document it properly. This project is going to transform the way I work moving forward. Today, I completed a handful of challenges from lovebyte's tcc event from within the operating system itself to test things out, without running into any issues.
rabbits.srht.site/decadv/
#DecemberAdventure

Source code and a canvas with trippy patterns.
[DATA EXPUNGED]
Devine Lu Linvega replied to DELETED

@jameschip it doesn't do much at all, d for drawing lines, m for moving. That's it :)

Devine Lu Linvega replied to Devine Lu Linvega

Decided to revisit trying to make one of these 3d tunnels effects after failing last year, with some help from the #lovebytetcc folks, I was able to make a neat 210 bytes demo and learnt a neat trick to approximate distance between two points without a square root function.
rabbits.srht.site/decadv/
#DecemberAdventure

3D Tunnel effect and its source code and binary representation.
rezmason replied to Devine Lu Linvega

@neauoire

max(|x|,|y|) + min(|x|,|y|) ÷ 2 eh?

I can see why you like it. It's got kind of a stellar bias, which makes it mysterious.

I wish to trade it kelp. 😁

A white irregular octagon on a black background. Its interior region is defined by max(|x|, |y|) + min(|x|, |y|) ÷ 2 < 1 .
Devine Lu Linvega replied to Devine Lu Linvega

I've done a lot of creative coding these past few days, but today I figured I might do well going over everything with the peephole optimizer, linter, formatter, tidying things up a bit. I've also found a little optimization to the theme loading code that resides at the core of nearly every graphical application I've written.
rabbits.srht.site/decadv/
#DecemberAdventure

Source for the linter.
Alexander Cobleigh replied to Devine Lu Linvega

@neauoire off topic but that is an absolutely gorgeous wallpaper, what is it & who's the artist?

Devine Lu Linvega replied to Alexander

@cblgh it's in the alt text of the img tag, but the author is Simon Goinard

Devine Lu Linvega replied to Devine Lu Linvega

I guess hand writing and brush strokes haven't quite left my mind since the other day, and so I find myself revisiting Oekaki, I knew that I could use that little trick from monday to approximate distance between points, and connected it to the brush tool to add a quick and dirty natural line thickness.
rabbits.srht.site/decadv/
#DecemberAdventure

Squiggles drawn in oekaki and its source code.
Devine Lu Linvega replied to Devine Lu Linvega

I was helping a friend with their toy scheme compiler last night and we got talking again about SECD, and to help explain the thing, I started putting together a base implementation of the abstract machine's runtime so we could target it with their compiler. It has been a long time since I played with SECD so I've updated the lisp documentation on the XXIIVV wiki with a couple of notes of things I had forgotten.
rabbits.srht.site/decadv/
#DecemberAdventure

SECD opcode implementation in Left.
Devine Lu Linvega replied to Devine Lu Linvega

Finished preparing the SECD runtime, I've been wondering if there ever were other functional languages designed to target it besides Pure Lisp(Lispkit), I looked around a bit but I couldn't find any. I noticed there was very little documentation out there on it, so I've started a page of my own. I think I might expand the self-hosted compiler to support line comments and the 'quote expression, because in its current state it's a bit of a pain to use.
rabbits.srht.site/decadv/
#DecemberAdventure

PureLisp and SECD machine encode side-by-side.
Thomasorus replied to Devine Lu Linvega

@neauoire can I have this wallpaper please? 👉👈

Devine Lu Linvega replied to Thomasorus

@thomasorus look for "cibo lain" and you'll find it :)

Devine Lu Linvega replied to Devine Lu Linvega

Wrote very little code today, I closed Henderson's "Application and Implementation", and reopened SICP.. I felt like I needed a refresher of the last chapters(esp. the one about a LISP implementation). So yeah, today was drinking lots of tea, scrolling up and down the wizard pdf, maybe I should get the actual book at some point..
rabbits.srht.site/decadv/
#DecemberAdventure

Porporo desktop but there's a picture of Joshiraku reading SCIP on top.
Morgan Arnold replied to Devine Lu Linvega

@neauoire ah, i've been reading sicp on and off for the last while. it's a really cute little book. i feel like every time i look at it i gain a deeper appreciation for scheme

Kototama replied to Devine Lu Linvega

@neauoire do you have the physical version of it? I wanted to find a second hand copy but it's hard to find or almost as expensive as new

Devine Lu Linvega replied to Kiëd

@unlkfp I'm not sure, manhattan? The code is on the page

Kiëd Llaentenn replied to Devine Lu Linvega

@neauoire Just saw it now. It's really interesting, I don't think I've ever seen it before; at a cursory glance it doesn't seem to be equivalent to either manhattan or chebyshev?

(Manhattan is dx+dy, Chebyshev is max(dx,dy), and yours seems to be max(dx,dy)+min(dx,dy)/2, if I'm reading it correctly.)

I should play around with it a bit and do some comparisons.

Go Up