@peterdrake@qoto.org
@peterdrake@qoto.org avatar

peterdrake

@peterdrake@qoto.org

CS professor, game designer, and fire dancer ordinaire.

This profile is from a federated server and may be incomplete. Browse more on the original instance.

peterdrake, to python
@peterdrake@qoto.org avatar

Multiple assignment swapping is handy when implementing sorting algorithms (for teaching purposes) in :

a[i], a[i - 1] = a[i - 1], a[i]

freemo, to random
@freemo@qoto.org avatar

@peterdrake

To update you and eveyone interested. We have 4 out of 5 of the versions tested on beta. The last one is where we expect some problems. If so we will apply 4 out of 5 and work on the 5th. Otherwise we might have all 5 updates applied to production soon. The first 4 succeeded which is a nice first step!

peterdrake,
@peterdrake@qoto.org avatar

@freemo ... and now?

peterdrake,
@peterdrake@qoto.org avatar

@freemo Where is this gitlab?

peterdrake,
@peterdrake@qoto.org avatar

@freemo Where do I follow the progress?

peterdrake, to random
@peterdrake@qoto.org avatar

Up and at 'em, people! These delivery trucks aren't going to bark at themselves!

s1m0n4, to juggling
@s1m0n4@ohai.social avatar

🤹‍♀️ 1h of

I've been trying the mills mess with 3 balls for what feels like a godzillion years and now I finally see the light at the end of the tunnel🕯️😁. I'm close!
The same goes for alternating 2-1 doubles with the clubs

Then it was time for my session.

2x45s, 2x30s:
1️⃣ High knees
2️⃣ Floor ladder (cardio)
3️⃣ Side plank
4️⃣ Bulgarian split squat
5️⃣ Scissors
6️⃣ Squat jump
7️⃣ Wall chair
8️⃣ Hollow hold
9️⃣ Russian twists @ 3kg
🔟 Adductors

Me struggling with mills mess 3 balls
Me struggling with clubs double 2-1 sequence
Me doing a 180° rotation while juggling with clubs. Ending the sequence by passing a club under my leg

peterdrake,
@peterdrake@qoto.org avatar

@s1m0n4 I can do that one with balls but not yet with clubs/torches. Good work!

peterdrake, to art
@peterdrake@qoto.org avatar

Art question:

Some projects in the colored pencil book I'm working through ask for various shades of gray. My 36-color Prismacolor set doesn't have any grays, just black and white. What should I do? Fake it by varying pressure with the black colored pencil or graphite?

peterdrake,
@peterdrake@qoto.org avatar

@nyrath Probably closer to tutorials.

peterdrake, to random
@peterdrake@qoto.org avatar

It turns out ZZ Top's 1973 song La Grange is not, in fact, about orbital mechanics.

peterdrake, to pdx
@peterdrake@qoto.org avatar
peterdrake, to random
@peterdrake@qoto.org avatar

A safe deposit box implies the existence of a dangerous deposit box.

peterdrake, to random Luxembourgish
@peterdrake@qoto.org avatar

Pickachu is a bluegrass type Pokémon.

peterdrake, to drawing
@peterdrake@qoto.org avatar
peterdrake, to random
@peterdrake@qoto.org avatar

TLDR: draw.io is groovy for drawing diagrams.

A while back I went through the tutorials for Inkscape and was fairly impressed.

Now that I sat down to draw some box-and-arrow data structure diagrams, I found that (a) the knowledge had fallen out of my head and (b) it was nearly impossible to figure out how to do things by playing with the program. I probably spent the better part of an hour trying to center text vertically within a box. A DuckDuckGo search was useless, because I kept getting videos explaining how to do much fancier things like getting text to lie along a curve. The only source that explained the procedure was, surprisingly, ChatGPT.

Clearly this is far too powerful a tool for my task -- like slicing butter with a chainsaw.

I looked for open source alternatives and alternativeto.net reminded me of draw.io. I had used this before, but been annoyed that it insisted on saving things within Google drive and manually drilling through my directory structure each time. Fortunately, there is now a standalone desktop app that lets me save things locally. It feels much friendlier -- poking around for a few seconds tends to find what I need.

#inkscape #drawio

peterdrake,
@peterdrake@qoto.org avatar

@DeltaWye Not sure.

peterdrake, to python
@peterdrake@qoto.org avatar

If you want to build a simple #Python desktop application with a GUI, is tkinter the standard weapon of choice?

(This is for classroom use, so simplicity of the code is more important than it being fast, powerful, or bulletproof.)

peterdrake,
@peterdrake@qoto.org avatar

@bmaxv The final project for the class is a (single-player against an AI opponent) Scrabble game. I'd want the simplest thing that can support that. Basically just drawing colored shapes and text on the screen and recognizing mouse clicks and keypresses.

peterdrake, to random
@peterdrake@qoto.org avatar

My workplace is preposterously scenic.

A frickin' gingerbread house
Verdant trees

peterdrake, to python
@peterdrake@qoto.org avatar

In , I can define a class Fraction to represent a rational number. I can then create one with Fraction(2, 3).

Is there a way to overload a construction operator so I can say something like 2 ./. 3 instead?

unclepj, to random
@unclepj@zirk.us avatar

Waiter: Welcome to IHOP, what can I get you this morning?

Me forgetting the word waffle: I’ll have the uh… the… graph… pancake.

peterdrake,
@peterdrake@qoto.org avatar

@unclepj Plaidcake?

peterdrake, to random
@peterdrake@qoto.org avatar

George C. Scott as Gollum: "My preciousss ... bodily fluids."

peterdrake, to random
@peterdrake@qoto.org avatar

Grant me the serenity to do by hand the things I cannot automate,
the skill to automate the things I can,
and the wisdom to know the difference.

peterdrake, to random
@peterdrake@qoto.org avatar

frantically pressing numbers on keypad I'm in!

Convenience store clerk: Sir, that's a microwave oven.

peterdrake, to random
@peterdrake@qoto.org avatar

Spotted: A Mini Cooper with the license plate WEE CAR.

peterdrake, to ubuntu
@peterdrake@qoto.org avatar

My Ubuntu installation of Discord is borked.

snap refresh discord

gives:

snap "discord" has no updates available

but when I try to launch it, it gets caught in an update failed, retrying loop.

I tried uninstalling and reinstalling it.

Any ideas?

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • kavyap
  • DreamBathrooms
  • cisconetworking
  • magazineikmin
  • InstantRegret
  • Durango
  • thenastyranch
  • Youngstown
  • rosin
  • slotface
  • mdbf
  • khanakhh
  • ethstaker
  • JUstTest
  • everett
  • GTA5RPClips
  • Leos
  • cubers
  • ngwrru68w68
  • osvaldo12
  • tester
  • tacticalgear
  • modclub
  • anitta
  • normalnudes
  • provamag3
  • lostlight
  • All magazines