Show more

Since everyone seemed to love my terminal mockups, I've made another one!

This is a further design exploration, showcasing:
• background jobs label/popover
• `ls` displaying an actual list of files! Of course, they are interactive, you can drag'n'drop them from here, click them to open, and right-click for more options.
• autosuggestions being contextual: here, they suggest you to re-run `apt` as root or read the docs
• a collapsed card
• `git` using real graphics

"Explain sleep."

"You lie down until you pass out from boredom - sometimes there’s hallucinations - then you're interrupted by the most penetrating noise engineered by sadists, at which point you need to remind your body how to work and try not to think about the several hours you were vulnerable and basically useless."

"Should I avoid sleep?"

"Enh, some people like it, maybe you'll be one of them."

"Alright. Downloading Sleep-Protocols."

I've made a mock-up to illustrate my ideas about the next-gen terminal experience!

Featuring:
• the pathbar
• username, hostname and git branch displayed in the UI, shrinking the shell prompt back to just a $
• commands as cards
• syntax highlighting, including graying out the output a bit to differentiate it from commands themselves
• autocompletion (displayed in a native widget)
• built-in error handling options
• the time each command took (on the right)

Wow sometimes FreeBSD amazes me. I downloaded an i386 Linux version of StuffIt Expander from archive.org and it just run on FreeBSD (with Linux emulation turned on of course). Here's the top of help output from the binary:

unstuff 5.2.0.611 2001/06/28 15:24 - archive expander

Using 4 computers at once today... as you do. These 3 (Windows, Linux, Mac OS), plus FreeBSD desktop. I’m developing CI scripts for a Rust crate that needs to run on all 4 OSes and needs a bit of special setup (such as Xvfb on UNIX like ones).

mastodon.social/media/O8tRBk7b

Rust epaper display driver is going well. Now just got to work out why red isn’t coming out properly. mastodon.social/media/iKriIGbz

Microsoft becomes a Gold OpenBSD sponsor undeadly.org/cgi?action=articl

Would be nice if some of the commercial Linux distros that almost all ship OpenBSD code (such as OpenSSH) did the same.

First image on Raspberry Pi Zero + Inky pHAT e-Paper display from my embedded Rust driver. No heap allocation, no unsafe (in my code). Clearly still some bugs to work out though.

mastodon.social/media/wBZTO5O8

Electron Show more

I've just released wl-clipboard 1.0 🎉

wl-clipboard is to #Wayland what xclip is to X11, but much nicer in every way. Check it out at github.com/bugaevc/wl-clipboar

wl-clipboard started out as a proof of concept, turned into something useful that I could announce to the world, and now it's rock-solid and feature-packed.

(1/5)

So the Inky pHAT library is a Python package. I planned to reimplemt it in Rust long before I started using it... That plan is basically essential at this point though. Python is so slow on this thing. Even pip3 --help takes many seconds to run... Then there's numpy, which is a dependency of the einky package. It's been compiling for like 10 to 15 minutes.

Finally collected all the necessary dongles to use my Raspberry Pi Zero!

Now to get Inky Phat working on it... mastodon.social/media/v4hDc82f

New Futures RFC! This caught my eye:

> A major driver in this experience has been Google's Fuchsia project, which is using all of these features at large scale in an operating system setting.

I am no fan of Google but I'm intrigued to see what comes of Fuchsia and the possibility of it being the first widely deployed operating system with significant Rust components.

github.com/aturon/rfcs/blob/fu

I turned a 5 line shell script into a 72 line Rust program... \o/

The Rust version does generate slightly more sophisticated output, and has error handling though.

It displays the CPU and GPU temperature on a Raspberry Pi.

github.com/wezm/pitemp

introducing the worlds smallest mobile solar powered #gopher #tilde site with just 267 active users. solar battery is swapped out every 16 hours. proxy access at gopher.club #new #introductions

Show more
Mastodon

Follow friends and discover new ones. Publish anything you want: links, pictures, text, video. This server is run by the main developers of the Mastodon project. Everyone is welcome as long as you follow our code of conduct!