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).
#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.
Finland has closely watched the Russian troll factory's efforts to create chaos in free democracies. We now educate our children to recognize #misinformation and rank #1 in our ability to resist it.
I wish the Americans would do the same.
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 #python that needs some TLC (it’s not). #MastodonAdmin
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: https://bit.ly/3VcrodL
Thank you for making our pie plates and hearts full!
Just found out more about the Raspberry Pi computer and I kind of want one now 😖 😫 #computer #RaspberryPi #coding #programming #python
I've just finished my free five-lesson course teaching how to make an MMO with Python and Godot. Read on my blog, or watch on YouTube!
https://tbat.me/projects/godot-python-mmo-tutorial-series
Discussions: https://discu.eu/q/https://tbat.me/projects/godot-python-mmo-tutorial-series
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:
Radial: the new clean and powerful HTTP library
https://github.com/shhivv/radial
Discussions: https://discu.eu/q/https://github.com/shhivv/radial
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.
https://lukeplant.me.uk/blog/posts/test-factory-functions-in-django/
I like computers and magic and writing and stuff o/