@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

Some of you know, I'm learning to control a windmill.

Have some pictures of the brake of a windmill.

Pulling the rope slightly and then letting go of it slowly will drop the beam, which will move the beam so the circular beam around the rotating bit gets tightened.

A large rotating wheel with a beam around it. There's a bit of room between the wheel and beam. The beam is connected to the beam of the previous picture with metal.

sarah, to random
@sarah@phpc.social avatar

New post: The danger of boolean flags in object methods https://sarah-savage.com/the-danger-of-boolean-flags-in-object-methods/

thomastospace,
@thomastospace@phpc.social avatar

@sarah Very small thing in the post, the > characters got lost and became >

Still an interesting approach though. Gonna consider that one.

alex, to random
@alex@bouma.social avatar

🔖 Should I Use JWTs For Authentication Tokens?

No. Not satisfied? Fine, fine. I'll write a longer answer.

🔗 https://tny.app/56l5vchu

thomastospace,
@thomastospace@phpc.social avatar

@alex It's kinda funny, using JWT greatly reduced complexity for us, while the blogpost says JWT is more complicated.

We don't have refresh tokens, we don't save any tokens in the database.

We have 1 thing added to the user: passwordUpdatedAt. If the token creation time is older than that, we reject it. So we do hit the database on each request, but we do that anyway.

If we ever need to invalidate tokens for a user, we just update that. Never had that happen though. 😅

jaapio, to php Dutch
@jaapio@phpc.social avatar

discovered livetechhelper.com, while the initiative could be positive explained, the execution is horrible! I found https://livetechhelper.com/repos/jaapio/phpunit
I can help with but obviously any income should go to the original maintainers not to me because I created a fork!

Same applies to other projects, should we stop this?! ?

thomastospace,
@thomastospace@phpc.social avatar

@jaapio Since it's not opt-in and it's literally pretending to advertise services you offer...

Wow, this is awful. This is asking for people to get angry at maintainers for not offering 'promised' services.

thomastospace,
@thomastospace@phpc.social avatar

@jaapio Yeah, I'm all for funding open source, but randomly advertising people's non-existent services together with rates is just not okay.

ocramius, to random
@ocramius@mastodon.social avatar

Fully switched to my Fairphone after @phpday 2024, and it feels like a good phone without Android bloatware (looking at you, Samsung, Google, etc.).

A bit big, but it runs as it should, and I feel better knowing that I'll be able to replace any part of it in very few minutes, if it breaks.

The fairbuds headphones feel amazing too: better than my old Sony WF-1000XM3, for which I had even custom silicone plugs made. Also there, the Sony ones failed due to batteries dying, while here I change 'em

thomastospace,
@thomastospace@phpc.social avatar

@ocramius @phpday I bought it on release and don't regret it. Let's hope it can last 10+ years. 🎉

thomastospace,
@thomastospace@phpc.social avatar

@derickr @ocramius @phpday Yeah same. Watching reviews of the phone afterwards made me realize that tech reviewers are really focussed on specs vs price, while the regular consumer just wants a good phone.

And on price, Fairphone beats them anyway if you calculate per year of support 🤷‍♂️

thomastospace,
@thomastospace@phpc.social avatar

@derickr @ocramius @phpday curious: do you use another launcher? If so, which one?

I can't stand the Google search bar on the homescreen 😅

thomastospace,
@thomastospace@phpc.social avatar

@derickr @ocramius @phpday Ah, like that! Shame I can't use the space, but better than seeing Google all the time.

thomastospace,
@thomastospace@phpc.social avatar

@derickr Instead of the search bar, there's now a date. Would love to put app icons or widgets there.

thomastospace,
@thomastospace@phpc.social avatar

@royalrex @derickr @ocramius @phpday I skipped Nova since I don't trust the random company that owns it & it's not open source.

thomastospace,
@thomastospace@phpc.social avatar

@royalrex @derickr @ocramius @phpday Unfortunately not, there's a few promising open source onces, but either not active anymore or still unstable.

MagicLike, to random
@MagicLike@mstdn.social avatar

Ok, can someone explain to me how I got to following 2,6k people :neocat_googly_woozy:

thomastospace,
@thomastospace@phpc.social avatar

@MagicLike I thought I was special 😭😭

MagicLike, to random
@MagicLike@mstdn.social avatar

ohno Germany has "too many" solar panels, poor poor capitalism

thomastospace,
@thomastospace@phpc.social avatar

@MagicLike I think it was only that the price went negative sometimes? Happens here as well. Not really an issue, and people with dynamic contracts just turn on literally everything.

thomastospace,
@thomastospace@phpc.social avatar

@MagicLike yeah, we have the same problem although a bit less. CO2 output of Dutch electricity is falling at a decent rate, but there's still a few stupid decisions here and there.

Hope one day most can be covered by my own electric car (with vehicle to grid) while being charged with solar panels.

thomastospace,
@thomastospace@phpc.social avatar

@MagicLike Yeah, but in the end (after about 125.000km), those extra emissions beat an ICE car. Together with electric cars seeming way more durable, it could become a thing you only buy once. If it then also helps the grid along, it will earn back the extra emissions even quicker.

Of course, most days my travel is free of emissions by working from home, which in the end is the best.

thomastospace,
@thomastospace@phpc.social avatar

@MagicLike True. That's why I'm kinda hesitant to eventually upgrade. I can do 99% of the work on my car myself. That's also a lower impact.

thomastospace, to php
@thomastospace@phpc.social avatar

Making PDF's in makes me cry.

thomastospace,
@thomastospace@phpc.social avatar

@sirber Using one of the libs yeah, in this case Fpdi.

Html2Pdf would be great, but unfortunately in this case, we need to put data on an existing pdf.

thomastospace,
@thomastospace@phpc.social avatar
thomastospace,
@thomastospace@phpc.social avatar

@heiglandreas @sirber Just to check, with Pdflib you mean this one? https://www.pdflib.com/

Emi, to random
@Emi@mastodon.gamedev.place avatar

You can't imagine the amount of tech support emails we receive on the Godot contact email accounts. Why do you think this happens? Do we have the email somewhere I'm not aware of that says "for tech support email us at..."? 🫠

thomastospace,
@thomastospace@phpc.social avatar

@Emi If I search 'Godot support', I end up on the contact page. Even though there's a 'support' part on top, the main way of contact on the page is e-mail.

Maybe a separate Support page which focusses completely on community support would redirect most traffic there. With a little link at the bottom for commercial support linking to the current contact page.

thomastospace,
@thomastospace@phpc.social avatar

@Emi I didn't even notice it links to that page 😅

And yeah, making a support page + making it more like the community page, but only with the parts that focus on Support (so no link to Reddit for example), would likely help a lot.

And of course, make it super easy to reply to the emails. Making it so you can just copy/paste a default response will also help with handling the influx.

maccath, to random
@maccath@phpc.social avatar

Anyone know any nice, peaceful offline Android games that aren't full of ads or competitive nonsense?

I really enjoyed playing I Love Hue and I Love Hue Too, but I kinda completed them both a long time ago and have never quite found a replacement. 😔

https://play.google.com/store/apps/details?id=com.zutgames.ilovehue

thomastospace,
@thomastospace@phpc.social avatar

@maccath One thing I realized: I check Steam to find games, and quite a lot of 2d indie games are on Android as well.

Here's a search filter for 2D + indie + linux support. My guess is that most games with that, will be on Android.
https://store.steampowered.com/search/?tags=492%2C3871&os=linux&supportedlang=english&ndl=1

mattgrayyes, to random
@mattgrayyes@chaos.social avatar

For @emf, I’m making Mastodot, which in theory prints toots that are hashtagged for the event!

thomastospace,
@thomastospace@phpc.social avatar

@mattgrayyes That's so epic! Also love that the alt text gets added even though it would be quite useless in this case 😅

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