It’s so difficult (and expensive) to run a #Matrix#Synapse server for my own domain. Is it worth it?
I started out wanting to support Matrix, and I've set up a number of channels for my community on Matrix, but everything happens on Discord and IRC right now, and we have a bridge between Discord and IRC, but we can't bridge to Matrix at the moment, so is it even worth it to keep maintaining a separate Matrix presence?
If not, I’m just gonna shut it down. I don’t want to spend the money.
@ramsey What struggles are you facing? I'm running my own and everything's fine. And what's the problem with bridging Discord? I'm doing that as well and it works fine.
I have a FREE book on object-oriented programming available for you to download and enjoy. It's my way of giving back to the #php community. Check it out: https://masteringobjectorientedphp.com
One thing that’s funny about #ai and #programming is I keep hearing the same thing. “Oh I use it for generic snippets, just common tasks and functions”.
The amusing thing about that is when I first started working with a #php app years ago there was already a solution to that problem. It was called “the PHP Cookbook” published by O’Reilly. I was told “oh we buy you a PDF copy and you just search for whatever you are trying to do and use that code. It saves a ton of time for junior programmers.”
Not only was it true, it did save me a ton of time and headaches, but we didn’t need to steal anything. The authors got paid, it worked offline, it didn’t require scraping the entirety of human knowledge to write or nuclear power plants worth of energy to distribute.
It also helped me learn. Since I would have a solid foundation to the solution, I felt more confident experimenting. I always had a known-functioning standard library solution as my base. So when something broke I knew where to start debugging.
Just an incredible thought that instead of paying $20 for a pdf once we decided this was the way to go.
@matdevdug I mean, pretending that CTRL+F and an AI are somewhat equivalent is not the argument you wanna be making.
Sure, reading a book and learning stuff is good and everyone should do it. But some problems are really specific and no book will have an example that you can find within few minutes.
@preinheimer I dislike that egoistic piece of shit who bought Twitter as much as any sane person, but forever clinging to the name Twitter when it has clearly been renamed is more of a negative signal to me.
Though it's tolerable now, since that idiot hasn't changed the URL yet.
@maegul While nice to have it natively, the current proposal is seriously lacking. I've been using my own LemmyWebhook package and unless they seriously rework the proposal, it's gonna be the winner when it comes to capabilities.
Though I'm looking forward to actually deprecating it in favor of a native solution, if that time comes.
@argv_minus_one@Crell In PHP not everything can be null, null is its own type in the engine, thus it needs to be specifically allowed in the signature.
@Crell@argv_minus_one Well, I've read it, I still disagree and think nulls are still valid. Of course, enums are great, but as I said, they have different use-cases. Some of them overlap, but fundamentally, nulls and enums are not interchangeable.
I have a confession: Windows 11 is actually... surprisingly... very very nice.
For the price of a very beefy Macbook Pro, and the third of a price of a Mac Pro, I have an insanely fast machine with an insane CPU, an insanely fast GPU, more RAM than I'll ever need, an SSD 3x times faster than Mac top of the line.
And now, an OS that is really, really nice.
How come I didn't see that?
We are working on our official #SteamDeck subreddit to create a place for the community to share news, ask questions, post about your performance findings, and interact with us. Come join us as we get it up and running!
I need some #PHP feedback on a test implementation of jwt token auth:
JWT tokens are valid forever, however we would like to invalidate all tokens when a user changes their password.
We've solved this by saving a random value at the user, and storing this in the token. Whenever the token is used, we check if this is the same. When a password gets changed, we also change this value, which then makes all old tokens invalid because they don't contain this value.
“Please complete this survey on a laptop or desktop. Some questions may not function properly on mobile devices.”
That’s a good way to ensure I don’t take your survey, since I’m probably only going to take it when I’m staring at my phone, trying to kill time somewhere.
The problem with “people should stop complaining about OSS maintainers getting paid”takes is our economic system. It is biased towards value extraction and promotes harmful behaviour
It’s rational to be sceptical about commercialisation. Experience has told us that, wthout obvious safeguards in place or a business model that’s directly and reliably complementary to the project in question, “hey I got money” is usually bad news in FLOSS
@baldur I think it really depends on people involved. I was approached to make one of my libraries an official one for the commercial project and get paid to develop it.
So I'm still maintaining the same project I created and in addition I get paid to do it. I also get an additional exposure for it because it's official. Getting paid is not the problem, people are.
Anyone here on #phpc using #Lemmy? The #php communities there are pretty much dead, which sucks, I was kinda hoping it woule become the Reddit replacement.
@strypey I did, but they seemed dead the last time I did. Sadly, nothing replaced r/php for me yet, that's probably the only thing that I miss from Reddit.
@strypey It's a weird trend with php itself, r/php is kinda the exception, not the rule. Every php forum (or similar) ever eventually devolved into extreme newbies asking the same stuff over and over (think on the level of "how to do a for loop").
As far as I know, r/php is the only place if you're a professional and want to talk with other professionals.