Johan Vervloet

@vohanj@phpc.social
200 Followers
466 Following
1,092 Posts
#php developer
fighting against crud
trying to convince you that you need automated tests
author of some #wiezen related web apps
gitlabhttps://gitlab.com/johanv
bloghttps://blog.johanv.org

I haven’t had many problems with #PhpStorm’s #Xdebug integration in a long time. Most of the time, it Just Works, but today, it decided it doesn’t like me, and so now, my afternoon has been spent trying to get it to work again.

This is the error I see in the step debugging console. The only thing I know has changed is PhpStorm (it upgraded).

```
Cannot find file '/path/to/ramsey/uuid/Standard input code' locally.
```

#PHP

Today's #Muppets GIF of the Day is...
Photos of @utilitybend@front-end.social giving a talk on the first day of #CSSDay (5 June 2025). @stephenhay@front-end.social is also present in the fourth photo.
📷 OM-3 & 75 mm ƒ1.8 (45 mm ƒ1.8 for the fourth photo)
@Crell I don’t want to say I won’t support ramsey/uuid anymore, but yeah, this can replace it. What it really does is provides a proving ground for identifier/identifier. If it seems like a useful idea, I’ll propose it to PHP-FIG. https://github.com/php-identifier/identifier
GitHub - php-identifier/identifier: Common interfaces for identifiers

Common interfaces for identifiers. Contribute to php-identifier/identifier development by creating an account on GitHub.

GitHub

The contact form on my website is basically only ever filled out by robots, so I added a checkbox that says, "I am a robot. Only check this box if you are a robot." https://stevendbrewer.com/contact-me/

Robots appear to find it irresistible.

Microservices is not a bad plan. Yet, you can still build a monolith by separating different Bounded Contexts into different git repositories and package them in a single runtime, each as a top-level module. The runtime artifacts could be combined with JARs or DLLs, for example.

Given SA=Static Analysis, and MT=Mutation Testing, please reply.

RT for reach!

I use only MT, without SA
1.6%
I use only SA, without MT
67.2%
I use both SA and MT
31.1%
Poll ended at .

KDE Plasma 6 on FreeBSD 14.3 on my Lenovo ThinkPad T480:

- Intel iGPU working via i915kms ✅
- Audio working out of the box ✅
- Intel AX210 WIFI via wifibox ✅

Power consumption is still worse than under Linux (3,5h vs. 5h+) but I'll try to optimize that further.

So far, I'm *very* satisfied with how well FreeBSD runs on the ThinkPad T480  

#freebsd #unix #freebsd14 #thinkpad #lenovo

×

KDE Plasma 6 on FreeBSD 14.3 on my Lenovo ThinkPad T480:

- Intel iGPU working via i915kms ✅
- Audio working out of the box ✅
- Intel AX210 WIFI via wifibox ✅

Power consumption is still worse than under Linux (3,5h vs. 5h+) but I'll try to optimize that further.

So far, I'm *very* satisfied with how well FreeBSD runs on the ThinkPad T480  

#freebsd #unix #freebsd14 #thinkpad #lenovo

@Larvitz I would be curious if you discover away to get HDMI display and audio working.

Bonus points, if you figure away to get non-free media codecs working. Streaming something like Netflix would be cool.
@Linux @Larvitz Netflix on FreeBSD would be cool, but the problem is the lack of Widevine DRM support. They simply didn’t build it for FreeBSD and it will probably never run there

@NebulaTide @Linux @Larvitz I've been watching Netflix on my laptop with FreeBSD for about five years. You can find lots of resources and other users online who use it too.

https://www.freshports.org/www/linux-widevine-cdm
https://www.youtube.com/watch?v=mBYor4wL62Q
https://forums.freebsd.org/threads/www-linux-widevine-cdm-fails-to-install.97391/
and so on

FreshPorts -- www/linux-widevine-cdm: Widevine CDM plugin as provided by Google

A browser plugin designed for the viewing of premium video content. This software is distibuted as a compiled Linux binary and is intended to be consumed either by a Linux-native browser or via www/foreign-cdm port.

@alfonsosiciliano @Linux @Larvitz Are you doing this on FreeBSD?
GitHub - mrclksr/linux-browser-installer: Script to install Linux browsers under a Linux chroot on FreeBSD

Script to install Linux browsers under a Linux chroot on FreeBSD - mrclksr/linux-browser-installer

GitHub
@alfonsosiciliano @Linux @Larvitz Oh, now I got it. Youre using the Linuxulator to run a browser with DRM-Support on FreeBSD. This is something that works, but of course it would be nicer if we hadn't to do the workaround. (Not that it doesen't work, it's just not as elegant as it could be)

@NebulaTide @Linux @Larvitz I understood your reasoning and your comments. A social network is definitely not a good place for a technical discussion.

I'm only concerned that some users reading the comments won't misunderstand that they can't use Widevine&C on a laptop with FreeBSD. There might be a misunderstanding with linuxulator too, it is not an emulator or a virtual machine, but a native compatibility layer that allows running Linux binaries.

@alfonsosiciliano @Linux @Larvitz Please don't get me wrong. I did not want to critizise or start a discussion. I know that the Linuxulator is currently the only way to go if you want to watch Netflix on FreeBSD and it works quite well. I was just wondering if you had found another solution to run it natively on FreeBSD, as this is - according to my knowledge - recently not possible. You have confirmed this and that's totally okay.

@Linux External Display via HDMI (plus HDMI Audio) worked out of the box. Here with my Dell screen plugged in.

Netflix is DRM infected and I don't think, there is a way to use it on FreeBSD. The Codecs (h264, h265 etc.) wouldn't be the issue there.

@Larvitz BSD has come a long way.

For years, you could not get audio to work via HDMI and if you could get the display working, you were often stuck with a small display of 800x600, or worse.

I am going to in the future give OpenBSD a try. The last time I tried FreeBSD, it would not even boot the ISO correctly. My PC isn't new hardware either (old 10+ year old Dell T3610). I'm told OpenBSD may have more options.
About DRM, you could try this solution: forums.freebsd.org/threads/watc... I didn't test it, but it seems to work for some people. 😉

Watching Spotify and listening...
Watching Spotify and listening to Netflix in 2023

As a few people already noticed, www/chromium has been recently patched to enable Widevine support. (It's debatable whether that's a good or bad thing, but the demand is certainly there.) This is done with the help of www/foreign-cdm, which is a relatively straightforward proxy for the Content...

The FreeBSD Forums
@Larvitz Probably you should get rid of wifibox. I think Intel AX210 is not supported and it provides high speed internet.

@hchauhan Oh I tried (for almost 3 hours) and the AX210 wifi card in combination with my home-wifi (Wi-Fi 6, 6Ghz, 160Mhz channel width) just didn't work on FreeBSD without wifibox.

With wifibox, everything works smoothly and reliably.

@Larvitz I think it is still 5Ghz. I have Alder Lake-P PCH CNVi WiFi chip and my speeds are amazing!

@hchauhan Tried it out again. With WIFI directly on BSD, I get terrible speeds (~45 mbps) and the WiFi is unstable (it's choosing a 2.4Ghz network and constantly disconencts after few minutes with bad kernel/driver errors in dmesg).

WIth wifibox, the connection is stable, I get amazing speeds (>500mbps) and it's just working.