paul boosted

One of my favorite macOS tips, updated for Ventura, and h/t to @boredzo (for showing me pstopdf)

Add this to your ~/.bash_profile or .zshrc ...

function manp() {
man -t $1 | pstopdf -o $TMPDIR/$1.pdf && open $TMPDIR/$1.pdf && sleep 1 && rm $TMPDIR/$1.pdf
}

Now you can, for example,

manp grep

To see the man page for grep (or any other command) nicely formatted in your PDF viewer of choice (Preview by default).

paul boosted

#Amazon is shutting down its #AmazonSmile program, saying it’s because, “[…] the programme has not grown to create the impact that we had originally hoped”.

I don’t know about that, Amazon. It looks like one heck of an impact to me.

paul boosted
paul boosted

If you're seeing the right-wing media pounce on the idea that Mastodon is basically a big trading floor for abusive images, and that doesn't reflect your experience here, you can thank your admins for de-federating from the servers that allow that stuff.

paul boosted
paul boosted

He talked about electric cars. I don't know anything about cars, so when people said he was a genius I figured he must be a genius.

Then he talked about rockets. I don't know anything about rockets, so when people said he was a genius I figured he must be a genius.

Now he talks about software. I happen to know a lot about software and Elon Musk is saying the stupidest shit anyone's ever said, so when people say he's a genius I figure I should stay the hell away from his cars and rockets.

Sorry about the odd outage on pythonist.as - we’re working to shore it up and stabilise things. Just pretend it’s running an older that needs some TLC (it’s not).

paul boosted

Pie Chart Update: We're 3/4 of the way to our Membership Drive goal 😋

Can you help us fill in the last two slices? We're looking for just 25 more Supporting Members to join us in 2022: bit.ly/3VcrodL

Thank you for making our pie plates and hearts full!

paul boosted

It's like there's a tweet for everything he does. I love this.

paul boosted
paul boosted

WOW. Elon Musk's Twitter straight-up banned the account for Mastodon. Just, wow.

paul boosted

Death, cancer 

paul boosted

Just found out more about the Raspberry Pi computer and I kind of want one now 😖 😫 #computer #RaspberryPi #coding #programming #python

paul boosted
paul boosted
paul boosted

Hey my wife to be needs a job.

Her most recent job was 3 months doing data entry and organization for a wealth management law office.

Before that she was a bartender for about 10 years.

Before that she worked (with me) at a marketing firm. She did a lot of the manual SEO work (posting articles was what we did back then).

She knows just enough #python to be dangerous but isn’t confident enough to get a job doing it somewhere. Ultimately, she wants to be a developer of some sort.

She’s a quick learner and a hard worker (you have to be, to be a bartender) but her lack of office experience is making it difficult to get a decent office job.

She really wants to get out of bartending. It’s a pretty toxic industry.

#GetFediHired :boostok:

paul boosted
paul boosted
paul boosted

Test factory functions in Django

When writing tests for Django projects, you typically need to create quite a lot of instances of database model objects. This page documents the patterns I recommend, and the ones I don’t.

lukeplant.me.uk/blog/posts/tes

paul boosted

someone tried formatting these windows in a Word doc

Show more
Pythonistas Mastodon

Pythonist.as is for Pythonistas! Whether you are a Python pro or want to learn from scratch this #python community is for you :-)