Email or username:

Password:

Forgot your password?
2,451 posts total
Devine Lu Linvega

"We can't see the characters at all on the projected screen with that thin orca-uxn font!"

Good point, typography time.

Devine Lu Linvega

It was a totally valid criticism that Orca's font was so thin that nobody could even read the code projected on the screen, so here's my attempt at a thicker font :)

It combines my favourite elements of Input Mono, Chicago and VGA.

Not too sure about the 'g' and 'y' ascending line at the bottom, I might remove them so it's more in line with the f which doesn't have one.

Devine Lu Linvega

Here's a little story I wrote.

I had just fought my way through a blizzard, on the request of a friend who invited me over to witness the completion of a recent project. I hung my snow-covered coat on something that, by the look of it, might very well have been a time machine. A silhouetted shape across the dark room, invites me to make my way through the unlit workshop and join them.

Devine Lu Linvega

Arched over a heap of what I first perceived to be a exposed innards of some camera-like mechanism, my friend held a minuscule weight above an equally small machined brass hand. After allowing only ever the briefest of time to settle myself before the inscrutable contraption, they carefully lowered a pea-sized weight onto the machine's opened palm.

Devine Lu Linvega

Let me introduce you to one of my favourite #esolang.

Thue is a matrioshka esoteric computer based on string rewriting rules.

A Thue program consists of two parts: a list of substitution rules, which is terminated with a line having both sides of the operator empty, followed by a string representing the initial program state, which may extend over multiple lines.

wiki.xxiivv.com/site/thue.html

Devine Lu Linvega

Wrote a little Thue program that bounces a ball back and forth and writes "ping", "pong" when it hits the walls.
git.sr.ht/~rabbits/thuesday

Show previous comments
Brisling

@neauoire Have you decided to allot a little space for growing food on that island?

Kototama

@neauoire One seed to rule them all, One seed to find them, One seed to bring them all, and in the sun bind them?

Devine Lu Linvega

It is pitch black. You are likely to be eaten by a Thue.

Devine Lu Linvega

I wonder if getas(wooden sandals) would be good boat shoes.. Half the time I only need shoes to get across beds of barnacles. I just need something that's easy to repair.

Show previous comments
DELETED

@neauoire my primary shoes are chala sandals. i bought these ones, but when they wear through i intend to make my own next time, out of whatever junk material i have available

essentially they are insoles with paracord knotted in a particular way. i like them for the simplicity, they work well to protect my feet in town without restricting them

chala.de/en/chala-run/ (beware, some other products on site are leather)

4aminifera

@neauoire hemp sandals are easy enough to fix if you keep a little ball of hemp thread on the boat. also, you could experiment with making full scale hemp shoes. can’t be too difficult.

Brisling

@neauoire I've been thinking about those sandals upcycled from car tyres, those would probably work well for boating, plus they're easy to replace and a cut-up tyre is easy to store

az

@neauoire when I think about it, it makes sense, but I wonder if over time it will settle as devider.

Devine Lu Linvega

Stocking up for food and water for two months is not too hard, but two months without any way of disposing of waste is the tricky one.

Almost everyone we meet stay for at any one place for at most week or two, then they have to make their way back to the city to dispose of trash, refuel, charge their batteries and restock.

hamish campbell

@neauoire yep, we start to run out of fresh food after a week, low on water after 2-3 weeks. Then dry food would see us through a month with some foraging.

Power is pretty infernate and fuel over a year traveling 1,000+ km's #boatingeurope #lifeboat

Devine Lu Linvega

For the past year or so, whenever I write a bit of code that is slightly faster than the last time I did that same thing, I write it down in this little program's memory.

Now, I always run this program over everything I do, and it tells me how I've previously made that same thing faster before.

It's kindda neat, it catches all sorts of things.

git.sr.ht/~rabbits/uxnlin/tree

Devine Lu Linvega

For two (positive) integers N and M, the properties of their greatest common divisor gcd() and the least common multiple lcm() come in pairs; the phenomenon is partly explained by the formula gcd(M, N) Γ— lcm(M, N) = M Γ— N. 🀯

Show previous comments
Kartik Agaram

@neauoire I can't believe I didn't learn this in school..

Leon

@neauoire Are you familiar with how positive integers can be written in the form M = p1^e1 * p2^e2 * ... and N = p1^f1 * p2^f2 * ... where p1, p2, ... are the primes?

A related equation is min(M, N) + max(M, N) = M + N.

If we look at a single prime pi, its exponent is
min(ei, fi) in gcd(M, N),
max(ei, fi) in lcm(M, N)
ei +fi in M*N.

For example with M = 4 = 2^2 * 3^0 and N = 6 = 2^1 * 3^1:

gcd(M, N) = 2 = 2^1 * 3^0
lcm(M, N) = 12 = 2^2 * 3^1
M * N = 24 = 2^(2 + 1) * 3^(0 + 1)

@neauoire Are you familiar with how positive integers can be written in the form M = p1^e1 * p2^e2 * ... and N = p1^f1 * p2^f2 * ... where p1, p2, ... are the primes?

A related equation is min(M, N) + max(M, N) = M + N.

If we look at a single prime pi, its exponent is
min(ei, fi) in gcd(M, N),
max(ei, fi) in lcm(M, N)
ei +fi in M*N.

Devine Lu Linvega

Started noodling around with printing decimal points.

Devine Lu Linvega

neighbor paddles over "so how long you think y'all be staying in here"
rekka and I in unison "like, forever."

tech? no! man, see...

@neauoire huh, people say yall in Canada?

(that's cool; I think it's a good word. just unexpected)

Devine Lu Linvega

There's this funny thing with fractions where, if you divide 2 by 3, getting 2/3, you can flip the numbers to get the reciprocal 3/2.

Now, while a division takes two whole numbers and gives you a fraction, there's no way to get back to two whole numbers again. It's destructive in a way, so I've added this little operator that is basically the opposite of a division, but that is also not a multiplication, taking the fraction 2/3, and giving you 2 and 3.

Show previous comments
Csepp 🌒

@neauoire What number representation is used here? It looks like the display format is integer part plus fraction. Are the individual component regular machine words or bignums?

nakst

@neauoire A few years ago I came up with a neat algorithm for this for a floating-point number, including support for expressions with square roots and multiples of pi. It works by trying to deduce a repeated fraction for the number (similar to how the golden ratio is constructed). The code is here: gist.github.com/nakst/f8a70fd6 I looked around the internet for a while to see if anyone had described this algorithm, but I couldn't find anything :(

R. L. Dane :debian: :openbsd:

@neauoire
I love how your UI design is coming along. It's starting to look really user-friendly. Kind of like an alternate reality where the first Mac had less RAM and two more colors. πŸ˜„
(And a much lighter OS)

Devine Lu Linvega

A fraction represents a part of a whole.

The Numerator is the top of part of a fraction.

The Denominator is the bottom of part of a fraction.

An proper fraction must be less than 1, like 3/4 and 7/12.

An improper fraction is more than 1, like 9/2 and 13/4.

A mixed fraction is a whole number and a portion less than 1 together, like 2 3/4.

Devine Lu Linvega

I'm not sure if you're familiar with this visual way of multiplying numbers together, it has nothing to do with fractions, but I just thought about it. I think it's called vedic multiplication sometimes, or just the sticks method.

I'm using a thicker line here to represent 4 to save me some time, so intersections with the thicker line are worth 4, two thick intersecting lines would be worth 16.

Devine Lu Linvega

Added snarf buffer support so I can paste directly into the calculator, it makes for a pretty neat little hex/dec converter.

# set-hex mode
30
$ set-dec mode
. print stack

wiki.xxiivv.com/site/cccc.html

Devine Lu Linvega

We were having coffee outside this morning, Rekka looked at the lifelines sleeves and asked "do you think it's rusty inside".

Turns out the metal cables we rely on to keep us from falling overboard are completely corroded, and some spokes are even cut through.

#theBoatyard

Show previous comments
Kira, feral fox 🦊 πŸ³οΈβ€βš§οΈ

@neauoire woah @rek what made you think of this?? :o I would have, I think, imagined that "nah it looks pretty sealed from the outside air".

Bill Mania

@neauoire Yup, I've seen that on past boats of mine. Will you replace them with more coated wire or leave them bare?

Devine Lu Linvega

Here's something I have never seen before.

The binary for the graphical calculator works BOTH as a graphical user interface, and is equally usable in the console without the GUI.

The same rom file can be used with both the cli and gui emulators.

git.sr.ht/~rabbits/cccc/

Job

@neauoire am I seeing correctly that typing in the cli updates the graphical ui too?

Devine Lu Linvega

trophic πŸ‘ cascade πŸ‘ effect

Devine Lu Linvega

After 4 weeks away, we're only half-way through our water tanks.

Bakfietsouder

@neauoire wow! Did you collect a lot of rainwater?

nomand

@neauoire how much water does Pino carry plus how much in jerry cans?
I'm currently 1/3rd of water capacity on Irie, need to get new bladders.

Devine Lu Linvega

To add onto the food preservation thread, which is unfortunately private.

If you're hoping to keep oats for a while, don't stock up on the rolled oats, instead get whole oats, and process(grind/roll) them as needed, they take half as much space that way, and will last a lot longer.

#theGalley

spooky blip πŸ‘»

@neauoire I remember when you got (or were gifted?) that grinder; do you happen to have a model number or other documentation available for it if I were to look for a similar on the second hand market? This is one of those things I probably *could* find a higher-tech solution for, but don't *need* to

(Though I guess a burr-style coffee grinder, like the one I have, actually probably works for grains in a pinch. It's just a motor and blades, eh?)

Go Up