Joel relayed

OMFG.
see the blurry laptop in the banner image on this page?
try selecting text on it.
developer.bbc.com/login-requir

Joel relayed

I will never forget that video I saw about talking to cops. It was like an hour and a half split between a lawyer, making the case that you shouldn't talk to cops, and a cop, arguing that you should. The lawyer's argument featured all the standard things - you have the right to a lawyer, the lawyer knows the system better than you, the cops can and will lie to you, they might pin something on you even if you're innocent, etc.. He made some really cogent arguments and stated them well.

But what stuck with me was the cop's argument. It basically boiled down to two points: first, don't worry about it! Second, I shit you not, he made the argument that everyone breaks the law in small ways all the time, so you've done something wrong, and if you get on the cops' bad side they can lock you up if they want.

I saw this when I was a baby liberal in college, and I think that cop's terrible, evil argument singlehandedly radicalized me

Joel relayed

Check out the (ridiculously huge and cheap) Indie bundle for Palestinian Aid. 1000 games for as little as USD $5, including one from yours truly. Lots of good ones in here. itch.io/b/902/indie-bundle-for

linux fun, ulimits 

Why are prlimit's memory sizes in bytes if ulimit's sizes are in kilobytes? I don't know! But testing bears out that that is the case.

Also, like, yeah this is a mess, but that's the whole point of this project, so it fits right in 😄

For extra wonkiness, why not bake the prlimit right into your makefile? You know I did!

Show thread

linux fun, ulimits 

Linux tip: if you want to run a command that might get out of hand, you can use `prlimit` to set process-specific limits to keep it in line.

So if you're, say, trying to build a Verilog project that might have some exponential nesting if you do it wrong, instead of running `make dangerous.vvp`, you can run:

prlimit --as=10000000000 make dangerous.vvp

Then when it gets greedy and tries to address more than 10GB(ish) of memory, malloc will refuse and it'll crash instead of bogging your system to a standstill until you manage to get a kill command thrown at it.

There are plenty of limits to be had, `man prlimit` will tell you about them. Heads up though, while --as (address-space) is a rather blunt weapon, the more reasonable --rss limit is not honored on many systems, including mine, apparently. prlimit doesn't warn you about this, but the ulimit section of `man bash` does.

Also if you don't know what's going on here, I'm skipping a lot of details - happy to elaborate if you're curious!

Joel relayed

ooh, competitive breakout... sounds like a good idea for a game!

RT @kometbomb@twitter.com

memset(0,17,9215)pal({7,7},1)a={92,23,1,1}b={32,99,1,1}
::_::cls()map()rect(0,0,127,127,2)
for p=0,1 do
a,b=b,a
for n=1,4 do
i=n%2+1f=n%2
b[i]+=b[i+2]x,y=b[1],b[2]
if(pget(x,y)!=1-p)mset(x/8,y/8,1-p)b[i+2]=-b[i+2]b[i]=b[i]+b[i+2]
end
circfill(b[1],b[2],2,p)end
flip()goto _

🐦🔗: twitter.com/kometbomb/status/1

Just uploaded my HDL trashfire to Gitlab. Current language stats:

40.75% C++
28.98% Awk
9.42% Verilog
7.70% Rust
6.74% Python

I'm irrationally delighted by this unholy mix, it's beautiful! gitlab.com/cincodenada/nand2te

Oof. Small business I'm a subscriber to just sent an email to 312 customers (which might be all of them) *via cc* 🤦‍♂️

Worst part: the email was apologizing for a (much smaller) mistake. Double oof.

Sent them an email informing them as gently as I could that they just blasted their mailing list out to everyone and saying they should probably notify folks and check with their lawyer just in case.

So, to anyone out there emailing lots of people: use bcc of course, but also this is one of the many reasons you should use some sort of mailing service for anything more than emailing amongst friends.

The half-dozen children (family relationships here are unclear) banded together in solidarity and negotiated a relocation to a shady spot for lunch. Mom is doing great.

Show thread

Small child in the park, distraught: "Mom!! The WIND is too WARM!!!"

Reader, it is 20C and sunny. Which, like, you're right kiddo. This is Portland, it has no right to be room temperature outdoors. How dare.

Joel relayed
I think we on the left could use a lot more friendly, approachable media. While I love me some good aggressive graphic design, right now, I think the right is consistently winning the propaganda game in part because they wrap their ideas with really easy-to-swallow tone and appeals to common sense. We can do that too, in pursuit of a more compassionate, humane, and just world.

So I made a couple images for my local chapter of the IWW that I'm pretty proud of.







I have SVG versions of these if people want to play with them. I'm happy for these to be spread widely; please download them, share them, modify them, whatever. Information wants to be free!

Operation "let's actually use components" at work is off to a solid start, we're at +332/-540 so far in the initial foray ✂️

I picked up an old book of "Everyone's Favorite Piano Pieces" from 1933, and this arrangement of In the Hall of the Mountain King is a trip. It literally starts at B0 (that's the third key from the bottom of a standard keyboard) and eventually ranges up to D#7, which is 10 keys from the top. Phew!

Just spent like 20 minutes trying to figure out why the heck my mouse pointer was jumping around randomly. Got as far as monitoring the output of /dev/mice before I finally realized I still had my drawing tablet plugged in and buried under a pile of paper, so it was just getting confused as heck 🤦‍♂️

Best part, I had just moved from my laptop to the desktop and this was also happening on my laptop, because I was running Synergy and the erratic mouse movements were getting sent over the network to my other computers!

Joel relayed

I have just launched a website inspired by pronoun.is for Spanish speakers:

prono.mbre.es/

I deployed using Hugo, GitHub and Netlify. Quite simple to set up and much easier to edit than plain HTML. I hope people like it ❤️

Joel relayed

@nihilazo So, uh, I got thinking about the two possible answers that aren't in the poll, and that resulted in an alignment chart, of course:

Cackling as I bring std::variant, std::visit, snprintf, and strtok into the list of things I am absolutely desecrating in this project. It really is becoming a monument to doing things in the worst way possible.

Current status on my HDL adventures: generating C++ code with Awk so I can get around not having reflection in this Verilator code I'm writing.

This project just doesn't stop giving! 😄

Joel relayed

I guess as a more general question: are there any guides on making command line tools more accessible? Just a command with feedback and the occasional confirmation prompt, not like a while interactive thing

Show thread
Show older
Cybrespace

cybrespace: the social hub of the information superhighway jack in to the mastodon fediverse today and surf the dataflow through our cybrepunk, slightly glitchy web portal support us on patreon or liberapay!