Live data from Hacker News

The Uxn Ecosystem

100r.co

51–58 of 58 posts

Re: The Uxn Ecosystem

#51
post #50
post #49

Earlier quoted context omitted.

1. UTF8 encoding is trivial and everything already speaks it by default nowadays; 2. it is useful to explicitly differentiate byte arrays from text; 3. if you'd change your mind later on and decide you do want to support Japanese (like here: https://100r.co/site/niju.html ), you haven't dug yourself into a hole.

The problem it's uxn it's ported to tons of devices. Would utf8 work under platforms like the Nintendo DS or DOS with a simple header file?

Should do! All the detail would be inside uxn, and the whole idea is that uxn virtualizes away from the underlying environment.

Re: The Uxn Ecosystem

#52
post #49

Earlier quoted context omitted.

Then you could just implement ISO-8859-1 instead. It is the same range but a simpler encoding, and external programs could be used for conversion if necessary.

1. UTF8 encoding is trivial and everything already speaks it by default nowadays; 2. it is useful to explicitly differentiate byte arrays from text; 3. if you'd change your mind later on and decide you do want to support Japanese (like here: https://100r.co/site/niju.html ), you haven't dug yourself into a hole.

1. UTF-8 is not an unreasonable encoding, but it is an encoding of an unreasonable character set and is also unnecessary here. It is better to avoid needing unnecessary conversions that will then be needed in both programs, even though it should not be necessary. Not everything is using UTF-8 and Unicode. I continue to use (and write) programs that do not use Unicode. (And, if it is necessary, conversion program can also be written in uxn; the fact that uxn does not use Unicode does not prevent this; you can implement whatever character sets/encodings that you want to do.)

2. Sometimes it might, but that has nothing to do with uxn. Sometimes it isn't helpful to be differentiated anyways, and sometimes this differentiating byte arrays from text causes problems, too (it isn't really so uncommon).

3. The niju program does not use Unicode and does not need it; it works better without it. If you do want more sophisticated Japanese text, even then there are better ways than using Unicode.

Re: The Uxn Ecosystem

#53
post #20

The author's account on Mastodon ( https://merveilles.town/@neauoire ) is a treasure trove of many cool little projects and screenshots from the parallel computing universe that is Devine's computer. I strongly recommend the podcast episode with him at Future of Coding: https://futureofcoding.org/episodes/044.html and the follow up where he talks about Orca, his incredible live music environment: https://futureofcodi…

They mentioned a calendar that breaks the year into twenty-six fortnights labeled by alphabets A to Z. But, 26 fortnights is only 364 days. Are you going to make years of only 364 days in this calendar, or will adding extra days beyond these 26 fortnights, or something else?

Re: The Uxn Ecosystem

#54
post #50
post #49

Earlier quoted context omitted.

1. UTF8 encoding is trivial and everything already speaks it by default nowadays; 2. it is useful to explicitly differentiate byte arrays from text; 3. if you'd change your mind later on and decide you do want to support Japanese (like here: https://100r.co/site/niju.html ), you haven't dug yourself into a hole.

The problem it's uxn it's ported to tons of devices. Would utf8 work under platforms like the Nintendo DS or DOS with a simple header file?

UTF8 is an extremely simple and lightweight text encoding. Check out Plan 9's man page on UTF, it would fit on a t-shirt: https://plan9.io/magic/man2html/6/utf

Unicode is also just a representation for text, and a handful of common operations - you work with arrays of characters, rather than arrays of bytes. It was worth its cost on 1992 hardware; Nintendo DS is over a decade more recent.

I recommend studying libutf in sbase[0]. It's not a single header file solution (although utf.h[1] is an excellent place to start reading), but it does provide a fairly comprehensive implementation. There's also a good introduction to Unicode in Plan 9's C programming guide[2]. Even if you choose to only support runes that fit in a single byte, you gain the ability to tell byte blobs apart from text, which is useful both for reasoning about your program, and for future-proofing it, in case you needed to put places like Łódź or Πάτρα on your map.

[0]: http://git.suckless.org/sbase

[1]: http://git.suckless.org/sbase/file/utf.h.html

[2]: https://plan9.io/sys/doc/comp.html

Re: The Uxn Ecosystem

#55
post #48

Earlier quoted context omitted.

> capitalism will crush you in the end It's already crushing the majority of us. Unless some people are brave enough to forge alternate paths and live different lives, it will crush the rest of us too eventually.

Living your life on a boat in the middle of the ocean means you are not spending your life crushing capitalism back. I saw a quote today somewhere on the fediverse: "It’s not the barricade but the rifle that you have to hold onto." - Buenaventura Durruti If you defend your one boat from capitalism, while it subsumes everything around it, what have you really won?

Freedom to live your life on your own terms and as evidenced by this thread, providing a beacon on the path others can choose to follow.

Re: The Uxn Ecosystem

#56
post #36
post #34

I think 100r reminds me of the thing we're missing the most nowaydays - bravery. We're afraid to take chances, to explore ideas, to take a slightly harder path or to explore difficult challenges. We're risk averse and we're unwilling to try new things. Reading about their trips, about all the work they do on the boat and their approach to code (love the concept of making software for one person!) makes me feel like a…

[flagged]

The understanding that initiative enlightenment is the fact that bravery is universally fungible across domains.

This eliminates the need to define the "correct" way of doing things as "the way everyone else does it", because you can acquire the bravery to accomplish your most important goals from any other domain. You can break the narrative.

The first step is just to have the bravery to start. That's where I'm stuck at fwiw. :/

Re: The Uxn Ecosystem

#57
post #14
post #4

Everything about this group is fascinating. They are digital nomads on a boat. Every article [0] is a peek into an existence I didn't think or even consider was possible. I always get thrown into a rabbit hole when I visit their site. In another life maybe. [0]: https://100r.co/site/dry_toilet_installation.html

Shitting in the seas is more complex than I thought.

Not always. A lot of the boats I've been on opt for a bucket instead of a head.

Re: The Uxn Ecosystem

#58
post #37
post #36

Earlier quoted context omitted.

[flagged]

This has got to be one of the saddest replies possible. We have everything to gain from it. If we're unwilling or unable to explore the parts of existence that scare us we cannot possibly come up woth new things. It is the very essence of our evolution and growth, going beyond the comfortable and known. Capitalism is easily the worst thing that has happened to us.

> Capitalism is easily the worst thing that has happened to us.

Oh, I don't know about that. Sure capitalism is bad, but some of the worst famines and genocides came out of communist societies.

Post reply on HN