@mwop@phpc.social
@mwop@phpc.social avatar

mwop

@mwop@phpc.social

he/him

Laminas Project and Mezzio project lead. PHP-FIG founding member and current Core Committee member, and collaborator on multiple specs. Current Zend Product Manager.

I draw Zentangle-inspired art in my spare time.

#ActuallyAutistic
#zentangle
#ZentangleInspiredArt
#php

https://mwop.net

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

SenseException, to php German
@SenseException@phpc.social avatar

talks 10 years ago: "Use value objects instead of arrays."

PHP talks nowadays: "Use value objects instead of arrays."

mwop,
@mwop@phpc.social avatar

@Crell ooooh! I missed that this introduced the general usage! Fun!

mwop,
@mwop@phpc.social avatar

@Crell Right... But you can't have

interface Name {
public readonly string $value;
}

right? That's what I was getting at with the "only props with hooks in interfaces" remark.

mwop,
@mwop@phpc.social avatar

@heiglandreas @ramsey @Crell @SenseException Part of the property hooks RFC is the ability to define properties with expected hooks on interfaces. (Won't work for generic properties; basically defines if a get, set or both hooks are required in the implementation.)

bagder, to random
@bagder@mastodon.social avatar

Nowadays when I post something on my blog I almost always have to delete one or more comments that are highly offensive or outright attacking me verbally.

Can't we all just be friends instead?

mwop,
@mwop@phpc.social avatar

@bagder I recently removed comment functionality from my site. While I wasn't getting a ton of offensive/derogatory comments... it just felt like to much mental load to EVER have to deal with them.

sekka, to random
@sekka@shark.community avatar

Random: as someone who existed during the 80s, "Stranger Things", wood paneling and cigarette smoke is a lot closer to the aesthetic than the weird neon artifacts you see out there.

mwop,
@mwop@phpc.social avatar

@sekka Neon was the aspiration, the dream of modernity; wood paneling and cigarette smoke were the reality.

sarah, to random
@sarah@phpc.social avatar

How do people locate and remove dead code from their projects in PHP these days?

mwop,
@mwop@phpc.social avatar

@Crell @sarah intelephense and NLS in nvim both highlight unused properties, methods, and variables. And tools like psalm or phpstan will tell you, too.

nicomen, to github Norwegian Bokmål
@nicomen@oslo.town avatar

So what do we use instead of ?

mwop,
@mwop@phpc.social avatar

@nicomen self-host forgejo. Gets you most of what you would do with self-hosted gitlab, but with far fewer resources required.

ramsey, to php
@ramsey@phpc.social avatar

Who will I see at next week? I’m giving a keynote on Thursday, and I’m super nervous. It’s only the second keynote I’ve ever given, and the first one was over 10 years ago. 😬😰

mwop,
@mwop@phpc.social avatar

@ramsey I'll be there, cheering you on!

mwop, to random
@mwop@phpc.social avatar

As a kid, I always read the comics page of the newspaper, and this continued until I stopped getting one in the early 00s. Then I started reading webcomics, including some of my favs from the newspaper.

I discovered that For Better or For Worse was re-running from the beginning on the web, with author comments, and I’ve read it every day.
1/x

mwop,
@mwop@phpc.social avatar

One thing I’d forgotten, until reading Lynn Mead’s commentary this week, was that the story dropped when the OKC bombing happened. I remember the horror of reading that news, the confusion and anger as we, as a nation, dealt with terrorism that ultimately originated I our own borders.

It’s hard to understand the amount of suffering that goes with an event like that.

But the story of a family almost losing their child to tragedy, and the heroic death of their dog? Visceral.

4/x

mwop,
@mwop@phpc.social avatar

This week was a moment I remember vividly from its original run in my college years.

The youngest in the family, April, goes to play with a toy boat in the stream, swollen with recent rain, and falls in.

The oldest dog, Farley, jumps in after to save her, and the younger pup goes back to the house to alert the family. They get to her and pull her and Farley out. April is safe… but oh, poor, heroic Farley…

2/x

mwop,
@mwop@phpc.social avatar

I’ve read a lot of books and comics in my life. Some I hardly remember within a week. Others leave a lasting impact.

Sometimes it’s the subject, sometimes a feeling, sometimes the context.

I remember reading these when they came out. It was the last place I lived in college, an old Victorian house, where my friends and I rented the upstairs apartment. There were windows at each corner, with bench seats, and I’d read the comics while sitting there.

3/x

mwop,
@mwop@phpc.social avatar

And for me, that’s what helped me understand and process the larger horror.

I always thought of my daily comics as a guilty, juvenile pleasure. But over the years, I’ve come to appreciate good storytelling, and commentary on the human condition.

Art matters.

5/5

mwop, to random
@mwop@phpc.social avatar

I really wish these two jerks would get along.

mwop, to firefox
@mwop@phpc.social avatar

So irritated that decided NOT to support PWAs on Linux. (Yes, I know about the extension, but it's a PITA to keep up-to-date, and because it uses an ADDITIONAL runtime in the background, it's a waste of system resources.)

I've concluded that the only way to use Outlook consistently on Linux is via the web (love OWL for TB, but invites/events often disappear)... and without reasonable PWA support in FF, I'm having to contemplate returning to a chromium-based browser. 😥

mwop,
@mwop@phpc.social avatar

@dgoosens @heiglandreas That looks interesting! Main concern is the "uses OS native web view" - on most Linux systems, it's a version of WebKit that's faaaaar behind most browsers, and can cause compatibility issues. But will definitely keep an eye on it!

mwop,
@mwop@phpc.social avatar

@Crell Yeah, I think they abandon the feature on all desktop versions.

mwop,
@mwop@phpc.social avatar

@heiglandreas Don't get me started...

mwop,
@mwop@phpc.social avatar

@dgoosens I've been having a horrible time with electron apps randomly crashing, on a regular basis, so that's not really a solution for me. Actually tried several solutions similar to Rambox this past week, and all of them exhibited these issues, as do my slack and logseq apps.

1/2

mwop,
@mwop@phpc.social avatar

@alessandrolai @mwop @wez That's a non-starter for me. Too much friction, particularly as it's for Outlook specifically that I need it. Opening links in there all day. 😐

mwop,
@mwop@phpc.social avatar

@wez That's my chromium browser of choice, and what I have installed alongside FF already. Would rather support another browser engine, but that's the next best solution.

Did NOT want to do the browser change dance across my devices again, but 🤷

mwop,
@mwop@phpc.social avatar

@dgoosens It's particularly annoying with Outlook, as it often happens while trying to do trivial things like moving calendar events or just scrolling. This may be Wayland related, but I've never seen the same issues with Wayland in regular chromium browsers, which makes me think it's Electron.

2/2

mwop,
@mwop@phpc.social avatar

@dgoosens Frankly, not willing to try Rambox as it's still electron based, and I've observed these issues on EVERY electron app I've tried and/or use daily.

When I used Outlook as a PWA under chrome-based browsers in the past, it "just worked". No crashing or bad behavior. The reason I switched to FF was wanting to encourage browser diversity. 🙃

mwop,
@mwop@phpc.social avatar

@heiglandreas @dgoosens @mwop I tried that earlier this week - was crazy unstable for me. Kept crashing - see my earlier thread with @dgoosens. Have had that issue with all electron apps. 🙃

mwop,
@mwop@phpc.social avatar

@sephster wish I could! Not authorized by our IT, though.

TB is... But it only does IMAP/SMTP. I used Owl for TB for a few months, but it wasn't syncing all calendar events, even if I started from a fresh profile..hence where I am now...

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