@mez@mastodon.nz
@mez@mastodon.nz avatar

mez

@mez@mastodon.nz

Work: Web & software development 🧑🏼‍💻

Play: Ultimate (retired?) 🥏, climbing 🧗🏼, tramping 🏕, D&D 🧙🏼‍♂️

My header is from the Oregon on the US west (best) coast.

That's Guster in my profile pic with me. He's a good pupper, but couldn't move to New Zealand with me.

He/Him, wouldn't be fussed by They

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

mekkaokereke, to random
@mekkaokereke@hachyderm.io avatar

Happy !

Day 26: Bama football

Q: OK fine! There's a lot of racism! But we can't do anything about it! You can't change hearts and minds! I've flipped from denial to helplessness! Talking about racism depressed me and makes me feel bad, because we can't do anything about it! So, can you stop talking about it?

A: No, we won't stop talking about it. Yes, we can do something about it. Let's look at one specific example of a reduction in racism, driven by racists themselves! 🙂🙃

mez,
@mez@mastodon.nz avatar
joncounts, to nz
@joncounts@mastodon.nz avatar

The sky over Ōtautahi is insane at the moment. I hope you’re all outside.

mez,
@mez@mastodon.nz avatar

@joncounts Got out near Lake Ellesmere, absolutely incredible.

(I’ve also never seen so much traffic on the road to Birdlings Flat. Looked like rush hour on the motorway!)

mez,
@mez@mastodon.nz avatar

@joncounts We stayed out until about 10:30. I wish we could have held out until the midnighth show!

mez, to random
@mez@mastodon.nz avatar

Saw a photo of where pretty much everyone (at least attendees) were masked. Went to their website and found their policy. I don't have a lot of experience with conferences and their organisation, but this seems real good. https://kiwipycon.nz/covid-19

I know a lot of people can't do conferences anymore and that's tough. Encourage your conference organisers to go in this direction. It's possible and some people are still trying to keep others safe and included.

mez, to 11ty
@mez@mastodon.nz avatar

Here’s how I added search to my static website without using client-side JavaScript:

https://www.philiprenich.com/blog/adding-search-to-an-eleventy-site-without-client-side-javascript/

Being able to search a blog, on the blog's site and without Google, is awesome. You should do it. Maybe this method will help you. Let me know if you do!


mez, to webdev
@mez@mastodon.nz avatar

What’s your favourite way to add working examples of code in your blog posts that isn’t CodePen? Both for CSS and JS example code.

Thinking a basic web component with declarative shadow DOM might do it nicely since it will fully encapsulate the code? Maybe wrap it in @zachleat browser-window or resize-asaurus component.

mez, to 13thFloor
@mez@mastodon.nz avatar

My reader is full of tech blogs and personal blogs of tech people. It’s very monochrome. I need some variance, some creativity and .

Hit me up with your favorite short story , fiction writers, horror-in-sentence writers.

What about people writing about their hobbies, handcrafts, or hidden treasures?

Game design, world building, adventures?

Boosts welcome

mez, to webdev
@mez@mastodon.nz avatar

I’d be curious to see how people are using Notion to power their websites. Not the code side of things, but the Notion. I just scratch the surface of what Notion can do I think - so I’m curious to see how others use it?
(Pretty sure @andy does this for his site? Care to make a wee video or post some screenshots of your Notion setup?)

mez, to javascript
@mez@mastodon.nz avatar

Hey in a Class, getters can't take parameters, but they can return a function that does. Is there a material difference between that and a method? Compare get thing and findThing() below

class Foo {  
 things = [{id: 1}, {id: 2}];

 get thing() {  
 return id => this.things.find(item => item.id === id)  
 }

 findThing(id) {  
 return this.things.find(item => item.id === id)  
 }  
}  

Is there a performance or functional difference?

mez, to random
@mez@mastodon.nz avatar

The Department of Conservation requested photos from my recent hike so they could have up to date information about some alpine conditions. The images were too large to email, so I made a public album on my self-hosted NextCloud instance and sent that. Unfortunately, I was told their govt browsers were unable to open the link :( Instead, they asked me to upload them to Google Drive or One Drive…
Yay, govt safety controls forcing the usage of Google and Microsoft! 🙄

mez, to webdev
@mez@mastodon.nz avatar

Hey #WebDev a while ago I read a blog post about different ways to style your code to define #WebComponentrs. I think it was in relation to having a base class / component factory.

Thinking about style choices like
class MyComponent extends HTMLElement {}
customElements.define(“my-component”, MyComponent)

or

customElements.define(“my-component”, class extends HTMLElement {})

Anyone remember that article?

/cc @cferdinandi @zachleat

mez, (edited ) to webdev
@mez@mastodon.nz avatar

You, a , need to add a simple filter / search on an un-paginated table. Assume client-side enhancement is totally fine. (alternates/reasoning in replies!) Do you:

ifixcoinops, to random
@ifixcoinops@retro.social avatar

Every winter: 🦝 ah, time to make the annual "Here's how to DIY an anti-SAD lightbox" post
Every summer: 🦝 oho, time to make the annual "Here's how to suck cold air in" post

mez,
@mez@mastodon.nz avatar

@ifixcoinops Hi, it’s winter down here 🇳🇿 Can I see the anti-SAD post?
It's also cold if you have a reverse of your summer one, but since the outside daytime air is still Cold, the heatpump and insultation is probably my best bet.

mez, to webdev
@mez@mastodon.nz avatar

I’m reading this article about the de-skilling of the web, web dev burnout, and how we are no longer allowed to be specialists. I’m reading it while at work where I’m trying to figure out why my SQL queries aren’t working, what I’ve done wrong in a backend server framework, and there’s a design waiting for me to review before I implement it in CSS and HTML. 😖

Please let me hone in on just a couple of these and practice a craft…

https://www.baldurbjarnason.com/2024/the-deskilling-of-web-dev-is-harming-us-all/

mez,
@mez@mastodon.nz avatar

Proposal to rename “full-stack developer” to “overflow developer” or “stack overflow developer”

mez, to random
@mez@mastodon.nz avatar

TIL there’s a big difference between “Looks like this is your issue” and “Looks like this is your issue” and it’s impossible to tell them apart in plain text.

fraying, to random
@fraying@xoxo.zone avatar

I’m late to this, I know, and I never played the game, but holy shit is Arcane: League of Legends (Netflix) a damn masterpiece of adult animation. Just spectacular. Gorgeous. Intense. An absolute must-watch for anyone who likes animated storytelling or really anyone who liked Game of Thrones before it went to shit. Yeah, it’s that good.

mez,
@mez@mastodon.nz avatar

@fraying Castlevania was another good animation for adults.
But yeah, Arcane, especially those first 3 episodes. 💯

fraying, to random
@fraying@xoxo.zone avatar

FEDERAL BILLIONAIRE TAX NOW
https://archive.is/feepm

mez,
@mez@mastodon.nz avatar
mez, to random
@mez@mastodon.nz avatar

Finally got a hard drive issue sorted out and all my self hosted bits and pieces running again. I guess this is the risk of not renting hardware. Still, fun to have it all working again and aside from catastrophic failures, I think I’m set now.

mez, to random
@mez@mastodon.nz avatar

Are AIs/LLMs going to push everyone away from VC & Big Tech content & communication products to self-hosted and/or FOSS products? That would be nice. Though it feels like the method of getting there is the rejuivination that comes after a raging and destructive wildfire.

mez,
@mez@mastodon.nz avatar

@aligorith True. Plus that other wildfire over there (crypto) is somehow still raging while salting the earth and returning nothing useful. So I don’t expect this one to burn out any time soon.

mez, to random
@mez@mastodon.nz avatar

So Slack is going to read private messages and shared files all so that it can…
checks notes
Recommend other channels for you?! That is a hilariously bad cost/value prop.
Oh, also it will suggest emojis for you.

Tech bros are burning the planet because they can’t decide for themselves between 😡 or 🤬 https://cyberplace.social/@GossiTheDog/112453073300903901

mez, to telegram
@mez@mastodon.nz avatar

I have telegram because it was really easy to set up a bot and a bash script to send messages to it-basically my own little notifications app. But it’s also the only thing I use telegram for. What’s a good alternative? Free and open source preferred. Self hosting as well

mez,
@mez@mastodon.nz avatar

@chebra Does this mean hosting an entire Matrix setup? I’ve been curious if something like Matrix would work, but don’t understand the system well enough.

mez, to random
@mez@mastodon.nz avatar

I hope the @eleventy conference was a blast! It was overnight for me, so I’m looking forward to going back and watching the videos.

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