@jerclarke@mastodon.social
@jerclarke@mastodon.social avatar

jerclarke

@jerclarke@mastodon.social

🇨🇦➡️🇲🇽 Canadian living in Mexico City

💚 Web developer for https://globalvoices.org

☸️ Free from addiction with https://recoverydharma.org

🔒 Contact me on Signal: jer.42

🌈 They/them pronouns, please and thank you.

I tend to boost and post nerdy stuff, humor, progressive politics, nature photography, and whatever else makes me 🤔, 😂 or🫠.

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

BasicAppleGuy, to random
@BasicAppleGuy@mastodon.social avatar

Well-rounded.

jerclarke,
@jerclarke@mastodon.social avatar

@BasicAppleGuy Just want to shout out “Displaperture” a free app that lets you give your Studio Display perfectly rounded internal corners, instead of the heretical straight corners you normally get.

grrrr_shark, to random
@grrrr_shark@supervolcano.angryshark.eu avatar

Anyone here dictate to their phone (via headphones) while on a morning walk? I am thinking about starting, but don't really want people staring at me like I am insane.

I shouldn't care, but I do, viscerally, so just take that as a given.

jerclarke,
@jerclarke@mastodon.social avatar

@grrrr_shark I’ve done it a bit, though I tend to walk in a secluded area so the social part isn’t so bad.

The issue for me is having to stop to correct the text. Very frustrating because I try to keep my heart rate up. Not sure what my point is other than I always wish it worked better because it’s such a great idea in theory.

Might be worth trying again after the LLM update to dictation in iOS 17 🤔

jerclarke,
@jerclarke@mastodon.social avatar

@grrrr_shark

P.S. when talking to my AirPods in public it makes me feel better to hold my hand like a phone to my ear. Lets people know I’m not talking to them.

Looking Good Call Me GIF by Bounce

MissingThePt, to random
@MissingThePt@mastodon.social avatar

The first rule of Anagram Club is “bang macular.”

jerclarke,
@jerclarke@mastodon.social avatar

@MissingThePt how dare you sir

tim, to wordpress

I've been a proponent of the "return early" pattern in programming for some time. In code reviews I generally call this out. I recently found an excellent article that provides an alternative coined the "break/continue guard clause" pattern. As a #WordPress developer I appreciated this article using WP Core in the examples.

https://mikeschinkel.org/2019/better-alternative-to-return-early-php-wordpress/

#WordPress #PHP #Development

jerclarke,
@jerclarke@mastodon.social avatar

@shawnhooper @tim Very interesting to me as someone who relatively recently started "returning early" and seeing enormous benefits.

Personally, I think the “while (false)” part of this is a very bad code smell. We shouldn't abuse this structure like that.

I think the key (and the hard part) is the EXTRACTION Mike does before his final solution, breaking the logic into many functions.

Once you extract the sub functions, "returning early" is no longer needed. It's a tight, readable function.

jerclarke,
@jerclarke@mastodon.social avatar

@shawnhooper @tim I think for me it's kind of a false dichotomy, it's not "return early or use do/while", it's “use if/else or use do/while when you can't return early”.

Returning early is for when you skip some chunk of logic, but in this example, you are always doing the logic.

Mike points out some reasons to not return early (pre-emptive concern about needing to apply_filters at the end, which I can relate to), but in that case you can still do it with if/else, and I'd rather do that.

chris, to random
@chris@mastodon.chriswiegman.com avatar

deleted_by_author

  • Loading...
  • jerclarke,
    @jerclarke@mastodon.social avatar

    @chris Thanks for the reminder that this is an option. Been noticing the “5g” and thinking how it’s probably just draining my battery.

    chris, to random
    @chris@mastodon.chriswiegman.com avatar

    deleted_by_author

  • Loading...
  • jerclarke,
    @jerclarke@mastodon.social avatar

    @chris My partner has been loving her Samsung integration between phone, tablet, and windows laptop. Just like apple nites but more powerful tools.

    On Tuesday it suddenly stopped working. Blocked to only sync to “Galaxy Book” windows laptops.

    It’s a tough one out there!

    jerclarke, to random
    @jerclarke@mastodon.social avatar

    The plumage don't enter into it.

    shawnhooper, to books
    @shawnhooper@fosstodon.org avatar

    Ah, the “computers” section in used book stores.

    jerclarke,
    @jerclarke@mastodon.social avatar

    @shawnhooper The mere mention of XHTML gives me such a wave of nostalgia 🫠

    jerclarke, to Palestine
    @jerclarke@mastodon.social avatar

    Another excellent reflection on the situation in by @justinling , this time comparing it to the US quagmire in Iraq:

    “Whatever the strategic objectives of invasion, without a clear exit strategy you will have no choice but to fight the forever war. Any action you take will radicalize the people you control — and it will radicalize your own people as well.”

    https://www.bugeyedandshameless.com/p/israel-ground-war-gaza-hamas

    atomicpoet, to fediversenews

    Hey, check out this graph! Take a moment to look at it because, honestly, it's pretty amazing. The growth of WordPress on the Fediverse is truly impressive.

    In Q4 2022, there were 924,888 posts, and fast forward to Q4 2023, we're seeing a whopping 2,998,430 posts. Can you believe that? It's a 324% increase year over year!

    I've always had a hunch that ActivityPub-enabled WordPress would make a big splash, and if this chart keeps going up, it looks like my prediction might just come true!

    SOURCE: https://fedidb.org/current-events/wordpress

    @fediversenews

    jerclarke,
    @jerclarke@mastodon.social avatar

    @atomicpoet @fediversenews

    Any evidence this represents actual fedi activity? People actual engaging with all these “posts in the fediverse”?

    Strikes me that a lot of that blog content is both effectively and often literally spam.

    jerclarke, to CSS
    @jerclarke@mastodon.social avatar

    So “Container Queries” are now working in all major browsers, assuming people have updated since Sep 2023…

    Can we please start using them for everything?

    https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_container_queries

    I think I'll start employing it for responsive refinements, where the page still always makes sense without them, but uses them to get perfect layouts at every possible breakpoint, which is the long-awaited promise of container-based styles.

    jerclarke, to photography
    @jerclarke@mastodon.social avatar

    The benefits of waking up early 🌄 🇲🇽

    derickr, to random
    @derickr@phpc.social avatar

    🚀 I've been working on optimising @Xdebug's debugger this week.

    📜 On the home page of a default WordPress installation, the number of instructions that Valgrind counted went from 3.7 billion to 2.9 billion — providing that there are no breakpoints at all configured.

    ➡️ Next up: being more clever of when to actually check for line breakpoints (the most common ones).

    jerclarke,
    @jerclarke@mastodon.social avatar
    chris, to random
    @chris@mastodon.chriswiegman.com avatar

    deleted_by_author

  • Loading...
  • jerclarke,
    @jerclarke@mastodon.social avatar

    @chris OMG fine grained control over what makes a badge should be table stakes, but none of the big brands offer that either.

    chris, to random
    @chris@mastodon.chriswiegman.com avatar

    deleted_by_author

  • Loading...
  • jerclarke,
    @jerclarke@mastodon.social avatar

    @chris I NEVER thought of myself as a highrise person until I happened to move in to a 9th floor apt and now I never want to go back.

    shawnhooper, to random
    @shawnhooper@fosstodon.org avatar

    Watched BEEF on Netflix last night. The whole series, in one sitting. Not the silly comedy I was expecting at all. Highly recommended.

    jerclarke,
    @jerclarke@mastodon.social avatar

    @shawnhooper Nice another rec for this one.

    I loved PainKiller, if you haven’t seen it yet.

    jerclarke,
    @jerclarke@mastodon.social avatar

    @shawnhooper Ah yeah, same! I’m on House of Usher now which it turns out is somehow ALSO about Purdue 🙃

    appleinsider, to random
    @appleinsider@mastodon.social avatar
    jerclarke,
    @jerclarke@mastodon.social avatar

    @appleinsider Too bad, though it barely ran on my 2019 16” MBP. They clearly gave up on putting an effort in long before this.

    I just want to play TF2 like the old days.

    jerclarke, to Bloomscrolling
    @jerclarke@mastodon.social avatar

    This strawberry wasn’t waiting to be eaten 🍓

    onepict, to random
    @onepict@chaos.social avatar

    A question for some folks for a crowdsource thing.

    What excuses do you get from #conferences, when you ask about a #masking or public health policy due to #Covid?

    I need some answers for..... Reasons.

    #PHPledge

    jerclarke,
    @jerclarke@mastodon.social avatar

    @onepict Here’s a genuine answer from someone infected with covid after a conference last week: Wearing a mask while sitting quietly is no bother, but during conversations it can be very disruptive, especially for non-native speakers on both sides of the comversation.

    I’m starting to think we should just do online meetings. Easier to talk through zoom than masks.

    jerclarke, to random
    @jerclarke@mastodon.social avatar

    i don’t think mastodon needs to feel threatened by threads

    stroughtonsmith, to random
    @stroughtonsmith@mastodon.social avatar

    There is a significant trend of new big-budget games on the Mac that do not support Intel, from Resident Evil to Death Stranding to Lies of P to Layers of Fear. All require an M1 chip or higher 👀

    How long before app developers start to go Apple-Silicon-only?

    jerclarke,
    @jerclarke@mastodon.social avatar

    @stroughtonsmith The question to me is: Will Apple be able to sustain these developers with long term support, and avoid the historical rug-pull deprecations that have broken all historical releases.

    Really hoping so!

    jerclarke,
    @jerclarke@mastodon.social avatar

    @stroughtonsmith The question to me is: Will Apple be able to sustain these developers with long term support, and avoid the historical rug-pull deprecations that have broken all historical releases.

    Really hoping so!

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