@thomastospace@phpc.social avatar

thomastospace

@thomastospace@phpc.social

30 year old living in Limburg, The Netherlands.

Learning how to operate old Dutch windmills.

#PHP & #Symfony developer during the day. Has the life goal of finishing a side-project.

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

thomastospace, to random
@thomastospace@phpc.social avatar

Google has started the 'Manifest V2 phase-out', which to put it in simple user-friendly words:

Google is phasing out features that make current adblockers work. uBlock Origin will not be able to block ads as effectively as before.

https://blog.chromium.org/2024/05/manifest-v2-phase-out-begins.html

Now, how to solve this? Well, there's one answer. Move to Firefox:
https://www.mozilla.org/en-US/firefox/new/

Firefox on Android is great as well, and supports adblockers as well!

thomastospace,
@thomastospace@phpc.social avatar

@davespice Yeah. That 'access this page' part is something I'm happy to do, but I'm not explaining that to others in the household.

For them, things will go from 'it works' to 'now it doesnt'.

Still love pihole though.

thomastospace,
@thomastospace@phpc.social avatar

@davespice My main reason for not doing that is not wanting to become the it department of the house. 😅

thomastospace,
@thomastospace@phpc.social avatar

@captainepoch There's a big difference between supporting v3 and phasing out v2. Firefox already supports Manifest v3.

Mozilla's implementation is not restricting adblockers in the way Chrome does.

Criticizing Firefox here is also something I just don't understand. The only thing it will do is making Chrome users doubt and not move away. It's time to move to protect the web.

thomastospace, to random
@thomastospace@phpc.social avatar

Just got a ticket for in a month. Gotta be the closest conference I'll ever travel to.

Who else is going?

thomastospace, to random
@thomastospace@phpc.social avatar

Just published a blog!

My First Day with the Fairphone 5 - A “Review” from a Regular User

It was an interesting day switching to this new phone.

https://thomasto.space/first-day-with-the-fairphone-5/

@WeAreFairphone

thomastospace, to php
@thomastospace@phpc.social avatar

In my adventures about Time in Programming, and specifically , I always thought that timezones were part of the system files, not part of PHP itself.

This was wrong, as I found out while reading the timezone database mailinglist, where @derickr posted the following:

“I have just updated the tzdb for PHP, and one of our tests started failing”

I'm loving how deep the hole of 'time in programming' is.

thomastospace, to random
@thomastospace@phpc.social avatar

It has arrived! My Fairphone!

Of course, the last picture taken with every phone, is the picture of the box of the new phone.

thomastospace, to random
@thomastospace@phpc.social avatar

Since it's approaching almost a week of owning the , I'll be working on another blogpost.

What are your questions, or things you want to know about the ?

thomastospace, (edited ) to Symfony
@thomastospace@phpc.social avatar

I've updated my list of resources to prepare for . It's now all updated for 7.0.

https://thomasberends.github.io/symfony-certification-preparation-list/

I've also written a short little blog about the project here: https://thomasto.space/an-easier-way-to-prepare-for-symfony-7-0-certification/

thomastospace, to random
@thomastospace@phpc.social avatar

Excellent talk by @Skoop on DDD! Good one to start off the conference.

thomastospace, to php
@thomastospace@phpc.social avatar

Talk update: Even ChatGPT is wrong!

So, my talk will be about time, and one of the big things is that a lot of developers save into UTC all the time. But, that doesn't actually work in all cases, and it made little Tommy late to his appointment.

I'll be diving into the problems with time, how to avoid them, and fun things like timezones, clock psr, clock component.

Skoop, to random
@Skoop@phpc.social avatar

Phun with PHAR: I try to get PHPStan up and running with extensions, but it seems impossible to make PHPStan PHAR work with extensions.

I don't really understand why extensions don't work with the PHAR. It should not really be an issue, right?

thomastospace,
@thomastospace@phpc.social avatar

@Skoop Is there an option for composer to know to select that file?

thomastospace,
@thomastospace@phpc.social avatar

@Skoop Curious: Separate composer config, where do you keep it?

thomastospace,
@thomastospace@phpc.social avatar

@Skoop Oh neat, since we access phpcs, phpstan, phpunit, etc. with shell scripts that would be quite easy to swap over.

Currently all those tools are in the current composer file, but well, that's just waiting for it to go wrong.

ocramius, to random
@ocramius@mastodon.social avatar

Thanks, I guess, Mastodon?!

thomastospace,
@thomastospace@phpc.social avatar

@ocramius Open source is open source 😁

thomastospace,
@thomastospace@phpc.social avatar

@ocramius It's actually quite a cool project. It's software to run a lot of different sex toys the same way, so you can use open source software to control it.

Of course, it's also quite funny, and the name is perfect.

Schrank, to firefox
@Schrank@phpc.social avatar

Assuming I switch from Safari to , what plugins do I want? What settings changed?

thomastospace,
@thomastospace@phpc.social avatar

@Schrank
Firefox Multi-Account Containers, it's basically 'profiles', which means you can have a work account logged in in one tab, and a private account in the other.

uBlock Origin, for blocking ads, of course.

Consent-o-Matic, automatically disagrees with most cookie popups.

And of course, your favorite password manager.

Changing settings isn't needed, but right-click the Pocket button and remove it. And if you like darkmode, you can enable the dark theme in Settings.

thomastospace, to random
@thomastospace@phpc.social avatar

Oh, I see I reached over a 100 followers here. I'll promise some extra posts tomorrow.

Also, if any of you are ever in the province of Limburg, The Netherlands, tell me and you'll get a tour.

thomastospace, to random
@thomastospace@phpc.social avatar

I just started a plain typescript project, and was too lazy for a docker setup so I just installed Node with apt and went on my way.

I installed Typescript, that went fine, but when trying to use it it gave a vague error.

Quick search fixed it, but... I'm amazed by the cause: Typescript didn't support the version of Node I had installed, which sure.. That's okay. But why didn't NPM tell me this? NPM does not have node version constraints?!?

🤯

thomastospace, (edited ) to random
@thomastospace@phpc.social avatar

I've made a website for my little project: PlateBingo!

It's the game I wanted in my childhood. I loved seeing where cars were from! Drive around, and cross the countries cars are from off from the map.

I've wanted this to be a great website for ages, but in the end, releasing this is more important.

Check it out at https://platebingo.eu/

thomastospace,
@thomastospace@phpc.social avatar

@voidedmain Added! Thanks for the reminder. I think this might've been the first time I forgot 😅

jon, to random
@jon@gruene.social avatar

Welcome to today's thread - South East Europe Day 05 03 Jun 2024 - Vilnius - Warszawa, onto night train

Crossing these borders:
Road border 🇱🇹 🇵🇱
Zebrzydowice 🇵🇱 - Bohumín 🇨🇿

These borders on the borders map:
https://umap.openstreetmap.fr/en/map/crossborderrail-all-the-borders_935041#10/54.2528/23.3199

Today's routes on the routes map:
https://umap.openstreetmap.fr/en/map/crossborderrail-all-the-borders_935041#10/54.2528/23.3199

thomastospace,
@thomastospace@phpc.social avatar

@jon Inactive! Dalheim 🇩🇪 - Vlodrop 🇳🇱 .

A line which will also stay closed forever. Connection to Mönchengladbach can be better done from Venlo, and nobody wants new trains through the forest.

Still an interesting history.

thomastospace,
@thomastospace@phpc.social avatar

@jon Funny you've been to a railborder 8 km away from me, and I haven't been myself.

pilhuhn, to php
@pilhuhn@mastodon.social avatar

seems to have some fan-boys out there ;-)

Or a big vulnerability…

thomastospace,
@thomastospace@phpc.social avatar

@pilhuhn It's an old one!

Info here: https://nvd.nist.gov/vuln/detail/CVE-2017-9841 / https://github.com/vulhub/vulhub/blob/master/phpunit/CVE-2017-9841/README.md

Basically, you shouldn't expose the vendor directory, but a lot of sites did this anyway. There was a file in PHPUnit which if it was public (which the maintainer never expected to be), you could execute code.

thomastospace, to random
@thomastospace@phpc.social avatar

This weekend there wasn't a lot of wind, so here's the inside of the rotating very slowly.

The mill itself isn't connected in this video.

Very slowly rotating wheel inside of a windmill. The mill doesn't move.

  • 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