@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.

mez, to webdev
@mez@mastodon.nz avatar

While we’re all trying to figure out best practices for web components, I think we need to also be discussing when they are the best solution for the situation.

I’ve been trying to use them to add a search input for a table of data, and based on styling and how the Shadow DOM works, I’m just not convinced this is actually a good use case. It has fragility hidden by the structure of web component technologies.

#WebComponent #WebDev

panda, to rust
@panda@pandas.social avatar

I just setup Vaultwarden and moved away from SaaS Bitwarden.

Vaultwarden is FAST. It loads within the blink of an eye.

and 's devs is really killing it.

mez,
@mez@mastodon.nz avatar

@panda It’s also extremely satisfying when you see Bitwarden post that they’ll have downtime when a new update happens and it doesn’t affect you.

miclgael, to random
@miclgael@mastodon.au avatar

If in your job you had to change a Twitter icon into an X icon. I’m sorry.

mez,
@mez@mastodon.nz avatar

@miclgael The Guardian just said “Screw it” and changed to a “Copy link” button instead!

mez, to random
@mez@mastodon.nz avatar

@eleventy Is the date on the conference website my local timezone or somewhere else?

mez,
@mez@mastodon.nz avatar

@eleventy Thanks! Just need to know which side of the date line it is! 😅

cory, to webdev
@cory@social.lol avatar
mez,
@mez@mastodon.nz avatar

@cory Any reason you set the template up outside of the component class?

mez,
@mez@mastodon.nz avatar

@cory Nah, I’m just trying to figure out the best way to do it too! I had put it on this.template in a similar fashion. While sort of disconnected, it does seem a bit cleaner. Not sure. It’s at least not duplicated in the markup!

I do like the conditional to check if the end-author has supplied their own, that’s a neat trick!

mez, to foss
@mez@mastodon.nz avatar

Hashtagging and boosting this from a few days ago to try to see if I can get enough traction to get some insights. https://mastodon.nz/@mez/111910114039402903

mez, to random
@mez@mastodon.nz avatar

Trying to write a blog post about web components to understand the various ways they can be authored and used, but it’s just an absolute pile of mostly disjointed notes and thoughts. I’m not even sure what I want out of web components yet.
How do I pull this word vomit in to something cohesive??

kissane, to random
@kissane@mas.to avatar

Genuine, non-snarky question for devs building things on ActivityPub: Is the idea of "socializing" technical changes/add-ons just…kind of not a thing in this slice of FOSS?

In my experience, this stuff varies widely across subfields and projects, and I guess I'd expected it to be table stakes ~here, but maybe not?

mez,
@mez@mastodon.nz avatar

@kissane I’m extremely on the side-line here, but it feels like at least a couple of unfortunate things are at play in why this may not be happening. One is the techbro mantra of “Move fast and break things” - even if one isn’t a techbro, that mantra has wormed its way into the culture. Even just “I’m programming and it’s cool that this thing I wrote works and does X” has echos of it.

mez,
@mez@mastodon.nz avatar

@kissane The other thing is microblogging hot-takes. “I have a strong controversial opinion, and that’s good for Engagement” - I can see this playing both on the side of implementing a feature or in the feedback to a feature - possibly making the creator less likely to solicit or take feedback on board.

joncounts, to FIRE
@joncounts@mastodon.nz avatar

Here's Marley's Hill in the Port Hills of Ōtautahi-Christchurch, NZ, as seen from our house. The photo of it on fire is this morning, the other I took on Saturday.

I've been taking photos of this view every fortnight from our deck, watching how the hill has been recovering from the 2017 Port Hills fire. The clock has just been reset.

See Flickr for the full-res photos if you want to zoom in.

https://www.flickr.com/photos/mollivan_jon/53529741335/

https://www.flickr.com/photos/mollivan_jon/53529309841/

A photo Marley's Hill in the Port Hills, Ōtautahi-Christchurch, New Zealand. It's covered mostly in young pines that have grown up since the 2017 Port Hills fire.

mez,
@mez@mastodon.nz avatar

@joncounts Feels too early to ask things like this (but hey, Selwyn has already brought it up) - would planting native trees rather than pine help? Pine trees are just a bunch of matchsticks! Natives are still wood, but would it help?

mez,
@mez@mastodon.nz avatar

@phil_stevens @joncounts 100% this is what I was thinking. I’m from a pine-region in the USA originally. Coevolved with fire is a great way to put it. They, as a whole, do well with fire. Not getting fire is bad for their ecosystems (and makes the fires worse when they happen)

mez, to random
@mez@mastodon.nz avatar

Me, reading recently @mozilla headlines: downsizing 🧐, focusing on Firefox 🥳, ....and AI 😳🤬

Hm, yay, you wot mate?!

lightweight, to random
@lightweight@mastodon.nzoss.nz avatar

Oh dear - Mayor Mauger is pretending to wring his hands about the 15.8% rates rise in Ōtautahi. https://www.rnz.co.nz/news/national/509019/christchurch-s-15-point-84-percent-rates-rise-we-can-t-keep-doing-it-like-this I wonder if not building the stupid stadium might have made up the difference? He's not worthy.

mez,
@mez@mastodon.nz avatar

@scattermutant @lightweight @dave Feels like this fits in here somewhere:

mez, to webdev
@mez@mastodon.nz avatar

Yesterday, I told a colleague we need to not reach for JavaScript by default, but use it to enhance sites. I just got a blank, confused look in response. “How will we do things though?” He asked?
“Like what?”
“Upload files”
“With a form and a network request! It’s stable, core tech, everyone can use it. We can enhance it with a little spinner if we must, but that doesn’t require an entire framework!”

Send help 😞

mez,
@mez@mastodon.nz avatar

@whereisk Yeah, I was thinking about it this morning and realised I need to do better at guiding the company away from JS-by-default and JS-to-start by clearly explaining the reasoning w/out requiring them to have deep knowledge. Which also means building up the trust they have in my knowledge. A lot of non-technical stuff I’ve probably let fall by the wayside in these conversations.

mez, to random
@mez@mastodon.nz avatar

I'm still confused by the @nextcloud ecosystem and development. At first blush it seems mature and stable, but then I find weird / obvious UI issues (items from Tasks only show on the monthly calendar view). They seem to be investing in AI integrations, but ignoring unbelievably large client-side JS downloads or the aforementioned basic UI feature completion.

I get it isn’t enterprise software and is OSS, so that’s fine. But it feels scattershot. What am I missing?

mez,
@mez@mastodon.nz avatar

@viktor @nextcloud Thanks for the reply Viktor! Rewriting in Vue is a big undertaking. (Do you know if it’s v2 or v3?)

I’m unfamiliar with the history (aside from something something ownCloud), and I think that plays in to my surprise at certain bugs when I see stable releases and high version numbers. Are the core apps (calendar, deck, etc) developed at different cadences and by different teams? It’s a really big ecosystem, and that complexity is what I want understand.

lightweight, to random
@lightweight@mastodon.nzoss.nz avatar

Semi-regular Fediverse question: is anyone from the NZ Ministry of Education here? If so, let me know (DM is fine if you want to keep a low profile).

Broader question: is anyone from any country's Min of Ed or Dept of Ed in the Fediverse?

mez,
@mez@mastodon.nz avatar

@lightweight I thought I saw somewhere today that a bunch of France’s govt departments had official accounts. 🤔

mez, to random
@mez@mastodon.nz avatar

Do we still need to encode smart quotes in 2024 on the web?

mez, to nz
@mez@mastodon.nz avatar

Does anyone know what causes the unnatural harsh edged and straight lines on the NZ rain radars?

Is that as good as the tech is or do we just have hand-me-down equipment from bigger countries?

mez, to random
@mez@mastodon.nz avatar

@kissane I'm doing some dataset graphing and just realised I'm grappling with the same types of maths that FB use when they talk about how much bad content they "proactively remove". Halp.

westbrook, to webdev
@westbrook@mastodon.social avatar

What follows are some theoretical user stories for external styling of custom elements (usually with shadow DOM).

Favorite/boost the ones you think are important.

Add some you might think are missed.

Argue some that you think don't capture the nuance of the situation.

Happy Friday!

mez,
@mez@mastodon.nz avatar

@westbrook Not being fully up on breaking into the Shadow DOM and CSS Parts, I’m not 100% if my use case is covered.

As a web component author, I want to provide useful style defaults that can be overridden by the consumer, while also getting the benefits of slots and encapsulation for improved templating. The ability to wrap existing consumer markup is important for progressive enhancement.

mez,
@mez@mastodon.nz avatar

@westbrook Basically the other side of the coin: as a component consumer I want the components I use to match the style of the rest of my site/application. I must be able to overwrite the defaults. Preferably, my general styles can do this: input { border :1px solid blue; }
I want to progressively enhance my site, so wrap HTML with custom elements to improve them if JS is available.

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