Sign in

André Brasil

@andbrl.bsky.social
9 followers 16 following 1 posts
PostsRepliesMedia
Reposted by André Brasil
Worf Email @worfemail.bsky.social · 20/03/2025
All crew, Again, please do not insert unknown USB drives from random planets into computer ports on the Enterprise. Worf
13933216
Reposted by André Brasil
The New Yorker @newyorker.com · 04/05/2025
The Portuguese modernist Fernando Pessoa attributed much of his best writing to fictional alter egos—scholars have tabulated as many as 72 of them.
newyorker.com
Fernando Pessoa’s Disappearing Act
The mysterious masterpiece of Portugal’s great modernist.
717129
Reposted by André Brasil
Julia Evans @b0rk.jvns.ca · 29/04/2025
terminal escape codes wizardzines.com/comics/escap...
Panel 1: a program's input and outputs are streams of bytes

everything you type goes into standard input

all the output you see comes from either 
standard output or standard error

your terminal emulator can only communicate with programs by reading/writing bytes

panel 2: some inputs/outputs are text and some are special instructions

in: mouse position, ctrl+left arrow
out: make text green, make cursor invisible

panel 3: these special instructions are called "escape codes"

they're called "escape codes" because they all start with the ESC character

panel 4: example: how colours get set

program: “^[[31m”

Terminal emulator: “ok, I'll make text red from now on!!”

(there are also codes for bold, underline, background colour)

panel 5: programs can easily "break" your terminal by printing escape codes

program: “oops I made your cursor disappear”

It's easy to fix though, run reset to print a special escape code that resets everything

It's easy to fix though, run reset to print a special escape code that resets everything
515429
André Brasil @andbrl.bsky.social · 30/04/2025
I made a Chip-8 interpreter in Go! Try it out here: gochip-1082672001032.europe-west2.run.app Source code 👉 github.com/oliveira-a/g...
gochip-1082672001032.europe-west2.run.app
Gochip
010
Reposted by André Brasil
Picard Tips @picardtips.bsky.social · 19/01/2025
Picard management tip: Don't assume anything is possible or impossible until you've asked the people who will be doing the work.
014532