Will Pierce

@nuclei.com

I code, therefore I debug. #Democracy #Python #Dart #Flutter #ClimateChange #Sustainability #Science 🏳️‍🌈 🏜️ 😎

It's a 3 language week already! C++ (and C), Python and Dart. LLMs sure do help with the learning and re-learning of programming language techniques and the open source ecosystems available. 🤓

Dear YouTube, Thank you for teaching me how to pronounce certain technical acronyms that I've only never heard, only read in print. Today I learned #MADIS is pronounced (May-Diss), not mah-diss. ... and #ECMWF is *not* pronounced (Eck-Mwoof)... but Eck-Mwoof has a nice ring to it, I think.

... just submitted my first mobile app to Apple for review before public release. #Dart / #Flutter made it easy to develop for both iOS and Android. As soon as I finish the monetization code for Android, I'll send it to Google for public release review, too.

Math is hard for journalists. I can't count the number of articles which say the 145% tariff on China will make goods 1.45x more expensive. No. It's actually 2.45x. By example: Original price: $100 Tariff imposed: $145 (because 145% of $100 is $145) Total: ($100+$145) = $245. That's 2.45x ! 🧐

Gemini AI generated some ice cream flavors to describe Trump. Runner up: > Meltdown: A bitter orange swirl with a wall of questionable sprinkles. My favorite: > "Covfefe Crunch": An unsettling blend of orange sherbet, questionable nuts, and a lingering aftertaste of chaos. 😆

Bild

TIL: as a mobile app developer with ~8 phones on-hand for testing... I got EIGHT #earthquake alerts for a 6.6 simultaneously. After the shock of the cacophony of alerts, I didn't notice any shaking here in Palm Springs. Glad it was only 5.2 in Julian/SD, not 6.6. Thankful for #USGS! 👍

Adding support for in-app-purchases to my first #Flutter app. About 10x more complex than I expected. Crunching through the Google Play integration first. Apple's recently went through a major deprecation/API-replacement to StoreKit2. I sure hope the dust has settled on the client libraries. 🤞

I haven't needed to use git LFS (large file support) before now, and wow, it works so seamlessly and easily, even with a non-github self-hosted repo. Guilt-free git commits for large-ish video assets!

Today I realized my app can show an error message popup (the kind that auto-dismisses, aka snackbar), for a *variable* duration... based on the length of the string of the error message (plus a constant)... so humans can read them before they disappear... TL;DR: Using constants is unfriendly?

TIL: mobile apps on Apple/iOS don't have a Quit button. On purpose. TIL, Part II: ...and they cannot self-exit, or risk violating Apple's rules for apps.... The company line is that the Home button is the only valid way to "exit" an app. I think Apple needs to loosen up a bit.

To store emojis in MariaDB/MySQL for an existing table using the default/bad collation: ALTER TABLE your_table_name CONVERT TO character set utf8mb4 collate utf8mb4_unicode_ci; In Django's settings .py: 'OPTIONS': { 'charset': 'utf8mb4', } NOTE: collation name and charset are slightly different.

I love when moving a single line of code solves all¹ my problems. It doesn't happen often for me, but when it does, it's a rare kind of magic. Footnotes: 1. obviously not ALL my problems, but the difficult ones at hand.

Ugh, I feel like it won't be long before we get some new reality-TV competition show with an awkward name like "America's Most Patriot!!" where contestants try to out-dumb each other.