David Kopec(@davekopec) 's Twitter Profileg
David Kopec

@davekopec

Software Dev https://t.co/zKbwLk6TCo, Author https://t.co/P2Ly8vAlK1, Associate Professor @ChamplainEdu, Publisher @BTVDaily, Podcaster @BusinessBooksCo @KopecExplains

ID:121488648

linkhttps://davekopec.com calendar_today09-03-2010 17:15:54

5,8K Tweets

1,3K Followers

95 Following

Bob Belderbos(@bbelderbos) 's Twitter Profile Photo

In , using mutable objects (e.g. lists / dicts) as default arguments in functions can lead to unexpected behavior.

This happens because the default argument is evaluated only once when the function is defined, not each time it's called.

Better solution: use `None`:

In #Python, using mutable objects (e.g. lists / dicts) as default arguments in functions can lead to unexpected behavior. This happens because the default argument is evaluated only once when the function is defined, not each time it's called. Better solution: use `None`:
account_circle
David Kopec(@davekopec) 's Twitter Profile Photo

I'm auctioning another upgraded Mac mini G4 with Mac OS 9 pre-installed. It's a 1.25 Ghz model with the following enhancements:
- 128 GB Toshiba SSD via an IDE to mSATA adapter
- New stick of OWC 1 GB RAM
- New clock battery
See description for details:
ebay.com/itm/1264422754…

account_circle
Kopec Explains Software(@KopecExplains) 's Twitter Profile Photo

Software that is old and no longer commercially available is termed 'abandonware.' Is it legal and ethical to download abandonware?
pnc.st/s/kopec-explai…

account_circle
Paul Graham(@paulg) 's Twitter Profile Photo

People who don't want to learn how to program can always find a reason why not to. This time it's AI, last time it was that tech was over because the Internet Bubble burst, the time before that it was that all the programming jobs were going to be outsourced to India.

account_circle
David Kopec(@davekopec) 's Twitter Profile Photo

Ever go hiking and think it would be so nice if the physical map they have on the trail was right there on your phone with a GPS blue dot of you over it?

My former student/Champlain alumnus has built Map Map for iOS just for that! A real boon to hikers:
apps.apple.com/us/app/map-map…

account_circle
David Kopec(@davekopec) 's Twitter Profile Photo

The iPad version of Text Board: Snippet Manager is now live on the App Store. Your cloud boards should automatically sync from your Mac to your iPad if it's signed into the same iCloud account.

The website is now live too:
oaksnow.com/textboard/

account_circle
David Kopec(@davekopec) 's Twitter Profile Photo

A new version of my Mac app Retro Dither (1.6) just came out. It's your favorite 1-bit dithering utility—perfect for converting modern photos to MacPaint format for use/display on retro Macs.

apps.apple.com/us/app/retro-d…

A new version of my Mac app Retro Dither (1.6) just came out. It's your favorite 1-bit dithering utility—perfect for converting modern photos to MacPaint format for use/display on retro Macs. #MacPaint #Dither apps.apple.com/us/app/retro-d…
account_circle