Show newer

Another recent example.

Indent all but the first line of your paragraphs. This is useful when you have long lines which, when wrapped, become hard to dicern. It's like a cross between a description list (<dl>) and a list (<ul>).

```
p {padding-left:2rem; margin:0; text-indent:-1rem}
```

Also, use <dl> and <time>!

Show thread

Reminder that negative margins and paddings in CSS are a thing, and are quite useful. Some of my favourite uses follow.

More space between document sections:

```
h1, h2, h3, h4, h5, h6 {
margin: 2rem 0 -0.5rem;
}
```

When viewport width is small (mobile, etc.), <pre> stretches to the walls, and it's content is aligned with the rest of the document's text:

```
pre {
margin: 0 -0.5rem;
padding: 0.25rem 0.5rem;
}
```

torresjrjr.com/ast/style.css

torresjrjr.com/

~b boosted

Reading a paper written by @cwebber, and this stuck out to me:

Do you and I mean the same thing? Lojban enthusiasts clearly solved language, creating something completely syntactically unambiguous! Except, oh no, turns out syntactic unambiguity does not mean meaning unambiguity. What’s a bear? From an evolutionary standpoint, something moved from a pre-bear state to a bear-state, but evolution didn’t put a pin in it… this was rough, statistical, approximate. Not to mention, what’s a “dead bear”? Is it still a bear? When does it decompose into bear goo? And when does it decompose beyond that? Vocabulary thus seems to be a tug-of-war between fuzziness and crispness.

“Bear Goo” is a fun metaphor. :thaenkin:

https://dustycloud.org/tmp/interfaces.html

~b boosted

I'm working on the standard library of the language we're developing. Here's datetime::arithmetic, a lot of fun to work on :)

paste.sr.ht/~vladh/36b8032168a

~b boosted

Working on OpenGL support for our language. Self-implemented math stdlib, linear algebra functions, OpenGL bindings.

@freemo
Thank you for hosting and administrating this instance. If I can give back, please let me know how.

~b boosted
~b boosted
~b boosted
:9front:front ships with /lib/font/bit/vga/unicode.font, but not with the old-timey MacOS font, "Chicago". So I found a TTF, used ttffs in Inferno to convert it to the Plan 9 bitmap format, and then made a tarball. Here's the tarball. You can install it by un-tarring it in /fonts (Inferno) or /lib/font/bit (Plan 9).

I couldn't find a monospace version; I don't know if one was produced. Code is more readable than expected, but Pike be damned, variable-width fonts are terrible.
chicago.png
chicago.tgz

List of keyboard "complications" that should become commonplace, from a mostly laptop & terminal user (in descending order of importance):

a. Thumb keys. Long spacebars are a waste of space. Split 'em!

b. A Control thumb key. I might just consider using emacs. Damn emacs' pinky. Scrolling in vim is a pain without this.

c. Scrollers. Those flat scroll wheels or barrels on some keyboards that adjust the volume. Should be remappable; imagine whizzing through tmux windows, cmus track entries... a tonne of unforeseen possibilities.

d. Context Menu key (analoguous to "right click"). Usually found on your typical boomer 2000's GUI desktop setup. I sometimes miss this on my laptop.

e. "fn numpad". Some keyboards have a mode where m=0, j=1, k=2, l=3, u=4, etc. I've not much experience with it, but could be useful with rapid entry. But software can also do this, so meh.

ThinkPad mouse "bean"? I haven't fiddled with it, and doesn't look effective.

Flat joystick? I have a keeb with one and it sucks.

Split/Ergo keebs? I tried the Moonlander, wasn't for me. I like my keebs flat and low.

That's it. If a keyboard with the aforementioned complications exists, please bombard me with your wisdom.

~b boosted
@devinprater Terminals are not "more accessible" to blind users because they lack metadata. Screenreaders need to know when a piece of text has a different locale because they can switch TTS settings; they need to know semantic meanings because blind users can't just "see" text with different meanings.

Single-locale line-mode interfaces without any ascii art or other prettification *is* quite accessible, but this is a subset of programs for the terminal.

I say this as someone who hardly uses GUI apps besides the browser and inherently graphical tasks (e.g. viewing images/videos). Whenever I do a "blind for the afternoon" challenge (something I highly recommend), accessible widget toolkits (ideally supporting AT-SPI) are ten times easier to operate.

I'd recommend reading documentation for assistive technologies/standards like AT-SPI to see what all is required; not all of this maps well to a terminal.
~b boosted

TIL about lichess.org/ , one of the world's most popular chess servers, run entirely on free software by a nonprofit, ad-free, supported by donations with a budget of ~$420K/year according to lichess.org/costs

They've been around since 2010.

As awesome as this is to see, imagine how many free/open nonprofit alternatives to Big Tech platforms would exist if, down to the municipal level, we decided to support them with funding & infrastructure.

~b boosted
~b boosted

We have closed the loop.

The launcher can now assemble tal files on the fly, you can use Left to write #uxn programs, Nasu to make graphics, Dexe to include them into your projects.

That means you can have a complete workstation on a NDS, GBA, Playdate, etc..

Thanks to everyone who helped to put this together.

~b boosted
>[centralized service] banned me
>oh i know i'll sign up for [different centralized service]
>it'll be different this time
>
Show older
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.