Show newer

@nico @mcc I relied on pubs.opengroup.org/onlinepubs/ for availability.

That noted, "${file%/*}" is both faster and more elegant. I like it. (It does fail silently and probably bad if a pathname ends with a slash, though.)

@mcc This inspired me to write and test a somewhat robust shellscript function for inclusion in ~/.shrc or ~/.bashrc:

touchp() { for file in "$@"; do mkdir -p "$( dirname "$file" )" && touch "$file"; done; }

USA: *blows up the countryside and traumatizes pets every July 4th to celebrate sending the king of England a nastygram*

UK: *blows up the countryside and traumatizes pets every November 5th to celebrate sending the king of England a slightly different kind of nastygram*

Folks, wherever in the world you are, could you maybe celebrate whatever without traumatizing your neighbors' pets?

self care shitpost 

be sure to water yourself and give yourself nutrients you weird sentient plant

"Running the 'Reflections on Trusting Trust' Compiler" - Russ Cox (research!rsc): research.swtch.com/nih

If you finally found the solution to your coding problem in a deep comment or something after having dozens of tabs open, you should write about it in your own blog.

Really. Describe the problem in your own words and the solution for it, even if the solution seems really obvious now. Doesn’t matter. Give credit and whatever, but use your own words because you will be surprised at how many people will land on it.

Write the blog post you wish you had found.

It's well known by now that humble bundle isn't about supporting charities anymore, but jfc how dare you call this extra to charity

Here's an example of money to do nothing:

"Here's money, but to receive it, you have to do nothing and keep doing that."

Here's an example of money to do anything:

"Here's basic income. Do anything! Work to earn more money. Work for free. Enjoy more family time. Go back to school. Gain new skills. It's up to you."

re: A brief history of Gaza 

Gaza is a strip of land about as big as Queens in New York City, and about as populous and densely populated, when Israel isn't busy besieging and massacring the Palestinians it trapped there.

Show thread

A brief history of Gaza (CW: graphic imagery) 

Vox, "Gaza, explained" [YouTube, 15:50]: youtube.com/watch?v=lv1SpwwJEW

Show older
Computer Fairies

Computer Fairies is a Mastodon instance that aims to be as queer, friendly and furry as possible. We welcome all kinds of computer fairies!