Posts

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

wyri, to Ubiquiti
@wyri@haxim.us avatar

First part of a new long term home project coming in. An #Ubiquiti PoE+ switch to power a small #Kubernetes cluster built using #raspberrypi nodes. Going to blog about every step once it has been completed. But it is going to be a few quarters long project doing bit by bit

wyri,
@wyri@haxim.us avatar

spaced out with weeks/months in between. Rather excited, but lots of questions so will probably poke with lots of questions 😎.

wyri,
@wyri@haxim.us avatar

And sometimes you get interruptions like this cute little kitten:

wyri, to php
@wyri@haxim.us avatar

So what is everyone writing #PHP these days using for mocks and spies?

beausimensen,
@beausimensen@phpc.social avatar

@wyri Thanks for putting that together, @lcobucci! This is pretty much exactly what I meant when I wrote “…when I've needed a spy I usually end up implementing it directly in the code.”

For all intents and purposes, I’d call this a spy. It’s sole purpose is to fulfill a contract and record how it’s called. I’ve occasionally shipped spy implementations alongside contracts to facilitate testing, but they usually end up in a Testing\ sub-namespace.

wyri,
@wyri@haxim.us avatar

@beausimensen @lcobucci Yup that's exactly what I needed in this situation, a spy, a way to look into it to know if expected calls were made and not care about the rest.

Thinking back, over the years, I probably need a spy most of the time and ended up adding mock calls that I didn't needed/cared for.

wyri, to Kubernetes
@wyri@haxim.us avatar

As I'm importing my cloud cluster into I want to look at a new ingress. Looking for something very lightweight, runs on both ARM64 and AMD64 so it can run on my cloud and home clusters for simpler management, and is easy to manage (the less work the better). What is everyone using?

johanneskastl,
@johanneskastl@digitalcourage.social avatar

@wyri Traefik?

wyri,
@wyri@haxim.us avatar

@johanneskastl Got that running on my home cluster. Works well, but also interested to see what is out there :).

wyri, to php
@wyri@haxim.us avatar

Let me partially rewrite this package I thought, how hard can it be? Yup now I'm learning all about the small details and timings of the protocol the package implements 😅 .

NanoSector,
@NanoSector@nanosector.nl avatar

@wyri Is this RabbitMQ?

wyri,
@wyri@haxim.us avatar

Found one minor mistake and it runs great now. Time to update all the examples, and test all of them. Run the test suite and see how much of it has broken. But it runs:

wyri, to php
@wyri@haxim.us avatar

OH: More people use than 5.x

wanwizard,

@ramsey @arnan @wyri It would have been better to restart the project, re-using bits that were usable. But the majority feared the work and voted against it. So now instead of working on something better, they spend time patching and fixing legacy crap code...

wyri,
@wyri@haxim.us avatar

@syntaxseed Aye, this was from the @reactphp call where we looked at usage statistics and realised that promise v2 came out so quickly after promise v1 that v1 barely got any usage. It got more users on HHVM then on 5.x 😂

wyri, to php
@wyri@haxim.us avatar
merms,

@wyri Yeah, it’s actually pretty good to have the perspective you provided. 😄

smh. People are the worst.

edorian,
@edorian@phpc.social avatar

@wyri @rdohms go full architect: "I've written an ADR that solves the problem in theory. Implementation is left to the team.

If it doesn't work it's on them"

wyri, to php
@wyri@haxim.us avatar

Hate it when this happens:

jrf_nl,
@jrf_nl@phpc.social avatar

@wyri I do, but definitely don't get told often enough, so thank you!

wyri,
@wyri@haxim.us avatar
wyri, to Black_cats
@wyri@haxim.us avatar

For this , I present you Deathwing the , sleeping on an elevated made of with a onder it. And nodes to the left in enclosures.

mxu,

@wyri That's an awesome version 1....And i look forward the version 6 - i.e. Cat6!
... <silence>
...<more silence>
...ok, i'll show myself out. 😄

johnwhitley,
@johnwhitley@mastodon.social avatar

@wyri Proving that not only is The Internet made of Cats, but so is the Tiny Datacenter.

wyri, (edited ) to php
@wyri@haxim.us avatar

Rethinking configuration for my / client generator while transforming it into a package generator. Currently using hydrating into classes. Mainly looking to support both those wanting to keep it simple and those with complex setups without to much duplication.

wyri,
@wyri@haxim.us avatar

@jaapio @dseguy Yeah no, so it's an unsupported feature IMHO then. I'll stick to this for now then:

wyri,
@wyri@haxim.us avatar

So full into it is then: https://toot-toot.wyrihaxim.us/@wyri/111654449355589397

Especially when looking across the networks is the clear winner: https://twitter.com/WyriHaximus/status/1740119059285561846

Been working on this slowly over the past few days and honestly is the way to go. Other formats are nice, but allows for so much flexibility 💗 !

wyri, to random
@wyri@haxim.us avatar

Baroness Draka enjoying the outside, even though she didn't even made it a meter out of the house

wyri,
@wyri@haxim.us avatar

@raiaren She is, just don't cross her, she is smaller than the rest and sneak attacks them 😹

wyri,
@wyri@haxim.us avatar

@animalsfarm She lives up to it tho, like all our cats somehow 😅

wyri, to random
@wyri@haxim.us avatar

Alright new toy/project came in today. The Everything Presence One by . It's up and connected to the , pod is up and running, now to connect to it and the experimenting begins!

image/png
image/png
image/png

grabthar,

@wyri good requirements are key, but a gimmick or two and a splash of fun can make a project come alive.

wyri,
@wyri@haxim.us avatar

The EPO is in its final place! Still fiddling a bit with the mmWave sensor to only trigger when desired. But that also means slightly reaiming them a bit. Going to take the time of day and the amount of light into account as well. So it that it only turns on when there isn't a lot of light, or not to bright in the middle of the night unless we overrule it.

wyri, to Kubernetes
@wyri@haxim.us avatar

Run your own cluster on 's they said, it will be fun they said. So now once every blue moon there is a leader change in the middle of a apply 🤣

wyri,
@wyri@haxim.us avatar

@ninoles Looking forward to that. And cloud companies are working hard on that. Just don't run into weirdly documented issues edge cases because then all of this suddenly start to matter again 🤦‍♂️

wyri,
@wyri@haxim.us avatar

@ninoles @badnetmask Great rant on both of those, and this discussion in general: https://www.youtube.com/watch?v=RQWFwZBfGv8

wyri, to php
@wyri@haxim.us avatar

laughs in

Took a couple of weeks but it's reliably running locally on my laptop. At higher throughput than some years ago on dedicated hardware, before the refactoring 😎 .

Bunny consuming 60K messages a second from a local RabbitMQ server

merms,

@wyri (There should also be a 1.0 release at some point, I guess. But that might be just me. 😅 I think Bunny is heavily used in production, and SemVer says that 0.* interfaces are allowed to change at any time.)

wyri,
@wyri@haxim.us avatar

@merms No need to apologise for prioritising your newborn over replying. Congratulations 🎉 ! And yes there should be a 1.0 release. Doing the merging of both clients is a bit box to tick off for that.

And yes you're right, it had its own event loop in the sync client. Kinda forgot about that after yanking it out 😅 .

To bad you can't help me test 0.6 before tagging it outside my own set up for it. But thanks for the context on it.

wyri, to privacy
@wyri@haxim.us avatar

Just a FYI but if your cookie wall starts with "We value your privacy" and then forces me to go through a list of 1512 partners to turn them off one by one, instead of an easy "Reject all" next to your "Accept all". You don't give a flying fuck about my .

wyri,
@wyri@haxim.us avatar

@anthony @brunty Yup, could be geo. But tried on desktop and either my auto-fuckoff fix it for me, or unlock blocks it, or it doesn't show there. And yes I'm using Chrome on Android.

wyri,
@wyri@haxim.us avatar

@50gp @brunty @anthony Ok sure, I'm using Pi-Hole as a network wide adblocker but that doesn't catch it. How would you install an adblock extension on Chrome on Android?

wyri, to random
@wyri@haxim.us avatar
wyri,
@wyri@haxim.us avatar

@SuitedUpDev Well tbh focus stealing from another app should be a capital offense

SuitedUpDev,
@SuitedUpDev@mastodon.online avatar

@wyri oh hell yeah!

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