@qrazi@phpc.social avatar

qrazi

@qrazi@phpc.social

#php, backend, #rugby, he/him

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

sarah, to random
@sarah@phpc.social avatar

Do you include built-in functions in your namespace “use” declarations or not? Why or why not?

qrazi,
@qrazi@phpc.social avatar

@sarah yes, because of PHPStorm tells me.... 🤪 😅

Schrank, to random
@Schrank@phpc.social avatar

You try to debug, but the admin worker is always breaking on your xdebug breakpoints? Let met show you how to avoid it.

https://winkelwagen.de/2024/05/28/shopware-phpstorm-easier-xdebug-in-administration/

qrazi,
@qrazi@phpc.social avatar

@Schrank Oh, never thought to use it for that, that's clever! Love conditional breakpoints, use those a lot to hit only the case I'm interested in, e.g. within a loop.

Come to think of it, the xdebug browser plugin I use activates xdebug by setting a cookie value. If it would set only a get param on the URL, JS requests probably wouldn't activate xdebug sessions either. 🤔 I've run into the reverse where I wanted to debug a request initiated by a JS that did not pass along the current cookies.

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

qrazi,
@qrazi@phpc.social avatar

@heiglandreas @pierstoval @ocramius @phpday I am using FairEmail for a couple of years now, with personal and work Gmail accounts, personal Outlook account and personal Soverin.net account. Very content with it. Also been using Fairphone 3 for almost 2 years, running LineageOS (mostly out of habit). Very happy with it as well

https://email.faircode.eu/

Crell, to php
@Crell@phpc.social avatar

Please, web app developers, consider how your users will upgrade. If your upgrade process is "remove the old one, unzip the new one", then it's not an upgrade process. It's an encouragement to never upgrade.

qrazi,
@qrazi@phpc.social avatar

@Crell @acelaya I've used Ansistrano - https://ansistrano.com/ - for a few projects, that run on small vps', to automate steps I used to do manually. Not sure if applicable to this question though 😅

ramsey, to random
@ramsey@phpc.social avatar

My wife is on Discord with a few folks from all around the world who all play Neverwinter Nights 2 together. One of these folks is in Israel.

While on audio, just now, sirens went off, and they could hear the TV in the background announcing imminent threat of an attack from Iran. Her friend left immediately for a shelter.

I don’t know more details, at this time. I’m sharing because Twitter’s Grok AI made up a similar story earlier this week, but what I’m sharing now is happening in real time.

qrazi,
@qrazi@phpc.social avatar

@ramsey @bedirthan @sequundi @Factal somewhat realtime, although the incident you're describing doesn't seem to be mentioned: https://rocketalert.live/

Then again air raid alarms might happen more often than actual incoming rockets and such... Hope the friend is doing OK!

qrazi,
@qrazi@phpc.social avatar
marcioaleks, to random
@marcioaleks@mastodon.social avatar

Traditional Japanese joinery 🙂

video/mp4

qrazi,
@qrazi@phpc.social avatar

@ramsey It really is right? Also tells me that no hammer is sometimes better than a double-clawed hammer 😂

oatmeal, to firefox
@oatmeal@kolektiva.social avatar

Behind the Campaign to Take Down Harvard’s Claudine Gay

Christopher Rufo, a right-wing activist and controversial commentator, has been
accused by some critics of being linked to the recent attacks on Harvard
President Claudine Gay. This accusation stems from Rufo's vocal opposition to
critical race theory ().

https://www.wsj.com/us-news/education/behind-the-campaign-to-take-down-harvards-claudine-gay-b551f4a5

Use https://github.com/iamadamdev/bypass-paywalls-chrome for to read article in full

@israel
@palestine
@academicchatter

qrazi,
@qrazi@phpc.social avatar

@oatmeal @israel @palestine @academicchatter Or use https://archive.is/ for browser independent paywall skipping, more popular articles are usually already scraped.

Sherifazuhur, to israel
@Sherifazuhur@sfba.social avatar

Israeli high school kids try to lynch the principal of a school because she shared an haaretz article calling for more humanitarian aid in Gaza (not even an anti war article) @israel

מהומה בהפגנת תלמידים בבית הספר עירוני י״ד בתל אביב שמוחים נגד המנהלת שלהם שפרסמה פוסט תמיכה בעזתים

https://x.com/nukedeverywhere/status/1740021580405842392?s=12&t=uM8me4uwdP7D0z4nanVVuw

https://nitter.net/nukedeverywhere/status/1740021580405842392?s=12&t=uM8me4uwdP7D0z4nanVVuw

qrazi,
@qrazi@phpc.social avatar

@MusiqueNow @Sherifazuhur @israel Google Translate translates the Hebrew to "Riot in a demonstration of students at the 14th municipal school in Tel Aviv protesting against their principal who published a post in support of the Gazans". The video itself IMHO doesn't seem to show a (attempted) lynching, but seems to be more shoving between students, with an adult trying to stop it. Some reporting on this https://newsrnd.com/news/2023-12-27-brawl-at-prestigious-school-in-tel-aviv---principal-forced-to-separate-students-over-principal-s-statement-%7C-israel-hayom.BJUcxDcKDp.html (links to original Hebrew) also no mention of lynching.

qrazi,
@qrazi@phpc.social avatar

@MusiqueNow @Sherifazuhur @israel that article does mention that the principal is under investigation for incitement for the post on Facebook.

qrazi,
@qrazi@phpc.social avatar
qrazi,
@qrazi@phpc.social avatar

@Sherifazuhur @MusiqueNow @israel Agreed and even then take into account that videos can be edited, cut and faked to push a specific angle of a story. In this case the original poster on X seems to be pushing a specific narrative, that is not at all backed up by the video accompanying said post, and not by any other sources I found. Was interesting to me to see how this sort of thing gets put out in the world. Quick glance at comments on X shows IMHO a lack of critical thinking.

Sherifazuhur, to Israel
@Sherifazuhur@sfba.social avatar

#Israel Wants US-Made Apache Helicopters for Use Against Hamas (so Israel can kill even more Gazan civilians) @israel @palestine

https://www.thedefensepost.com/2023/12/27/israel-apache-helicopters-hamas/

qrazi,
@qrazi@phpc.social avatar

@Sherifazuhur @israel @palestine "The Israeli Defense Forces (IDF) has requested additional[sic] Apache attack helicopters from the US..." Non-trivial detail for those not in the know who just go by the headline. Probably won't change the overall assessed value of the article by users, but thought it worth pointing out 😅

futurebird, to random
@futurebird@sauropods.win avatar

...

Am I full of conspiracies or is YouTube making it harder to add videos to the queue? (I only watch videos after queuing them up, screening them and stuff.) But, first they hide the little icon in the upper left to add videos... now the "three dots" aren't always visible.

I feel like I'm being railroaded into letting "the algorithm" select what I watch.

I feel like I have on a hazmat suit when I use most of the internet these days. Extensions for ads, click bait titles, it's a war.

qrazi,
@qrazi@phpc.social avatar

@futurebird I've been trying to use Freetube since about two weeks for pretty much those reasons https://freetubeapp.io/ (and using Newpipe on my Android)

skaly, to random
@skaly@mastodon.social avatar

And here you can see a Gazan child once again saying her dream is to kill all Jews. This is on Gaza's TV, this is in their schools.
Hamas is basically a factory for suicidal terrorists who are controlled by their billionaire puppeteers in Qatar and Iran. Jews in Israel are not their final goal, only the first one. I grew up Israeli Jewish. You think I was ever taught to kill Muslims? Never. Nor does ANYONE I know.

See:
https://www.instagram.com/reel/Cz9W67oLUJa/?igshid=ODhhZWM5NmIwOQ==

qrazi,
@qrazi@phpc.social avatar

@slowenough @dom @skaly I found a better source for that clip here: https://www.memri.org/tv/hamas-tv-childrens-show-encourages-killing-jews.

OP stated imho clearly she and anyone she knows was never been taught to kill Palestinians the way it is done in this clip - or how its done in Hamas controlled schools. Nowhere does she deny the things you bring up.

So your message comes across as what-about-ism, to me at least. What is the - unsaid point - you're making? I have some assumptions I could make, but perhaps asking is better.

qrazi,
@qrazi@phpc.social avatar

@slowenough @dom @skaly

Article is paywalled for me, but could read it: https://archive.is/AV02x. I get the point you make in your clarification. And I hadn't read the article before, it's very interesting indeed.

I do think your point is absent from your initial reply though.

SuitedUpDev, to random
@SuitedUpDev@mastodon.online avatar

Stroopwafel beer.... What could possibly go right... 😂

qrazi,
@qrazi@phpc.social avatar

@SuitedUpDev 😫 goes well with the bitterpouce... 🤭

ryanhoulihan, to random
@ryanhoulihan@mastodon.social avatar

All queer relationships are essentially a Calvin and Hobbes scenario, which is the ideal dynamic for enduring the human condition

qrazi,
@qrazi@phpc.social avatar

@ryanhoulihan I don't know what I'm doing, so can't speak on it either... 😬 Should I be watching Secretary? 🤔 😂

#neverTooStraightToLearn

SuitedUpDev, to random
@SuitedUpDev@mastodon.online avatar

Oops... I accidentally slipped with my keyboard and mouse and booked a flight 🙈

qrazi,
@qrazi@phpc.social avatar
grmpyprogrammer, to random
@grmpyprogrammer@phpc.social avatar

To be transparent — I don’t always make the best decisions either in my code, but whenever I go back to fix something I always refactor towards patterns that have proven their use over my career. Sometimes I crank shit out because even Grumpy Internet Superstars have bosses and deadlines. But I always regret not using patterns and tests when it comes time to make changes

qrazi,
@qrazi@phpc.social avatar

@grmpyprogrammer that honestly makes me feel less bad about my own work 😅

askonomm, to php

Quite happy with how easy it is to define content types in Shape CMS. They don't do anything yet, but the structure is there, easy to use and extensible.

You can make your own fields by extending the base field class or by extending other field classes. Anything goes as long as the field implements the correct interface.

But it would be nice if I could enforce this on a type level, eg array<ContentFieldInterface>. Maybe one day.

#php

qrazi,
@qrazi@phpc.social avatar

@grmpyprogrammer @askonomm An option could be to have a interface / class instead of array? Then you can type hint all the way I think?

pwaring, to php
@pwaring@fosstodon.org avatar

Today's 'banging head against the desk moment': PHP complaining about a function (session_start or header) being called after output sent.

But there is nothing between the start of the file and the function call?!

Turns out the file had the UTF-8 Byte Order Mark, which is invisible in most editors but does count as output.

https://en.wikipedia.org/wiki/Byte_order_mark

#PHP

qrazi,
@qrazi@phpc.social avatar

@pwaring had those type of errors often enough to enable showing invisible characters in my editors... Hope didn't cause to big of a headache!

afilina, to random
@afilina@phpc.social avatar

Writing software without tests is like fiddling with a TV antenna until the picture is clear, and then stop touching it because it finally works.

qrazi,
@qrazi@phpc.social avatar

@afilina Oh, that is a great analogy!

qrazi, to Rugby
@qrazi@phpc.social avatar

What?!? I go for a bit of a stroll and this happens? Congrats to the Fijians! @rugby

SuitedUpDev, to random
@SuitedUpDev@mastodon.online avatar

I made nasi goreng for an entire orphanage! :smugcat: :apartyblobcat:

qrazi,
@qrazi@phpc.social avatar

@SuitedUpDev This is the way

  • 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