@j3j5@hachyderm.io
@j3j5@hachyderm.io avatar

j3j5

@j3j5@hachyderm.io

#Backend engineer, #PHP & #Laravel tinkerer, #BotMaker

I like #openData #science #urbanism #bikes and other weird things.

ES 🌎 https://mastodon.uy/@j3j5

#GoodBots #BotsGüenos

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

evan, (edited ) to random
@evan@cosocial.ca avatar

Which major change would a time traveler from 1974 notice most about cities today?

j3j5,
@j3j5@hachyderm.io avatar

@andrewfeeney @evan

WHERE ARE ALL THE NEWSPAPERS??

CalaeCatCafe, to Cats
@CalaeCatCafe@mastodon.social avatar
j3j5,
@j3j5@hachyderm.io avatar

@CalaeCatCafe I found this fella today outside home, that green thing is all plastic, some sort of fake vegetation but apparently it can also work as a mattress, on the reverse side 🤷

j3j5,
@j3j5@hachyderm.io avatar

@CalaeCatCafe haha, thanks, this cat is ridiculously photogenic so props to him

https://mastodon.uy/@j3j5/112305916758258701

sarah, to php
@sarah@phpc.social avatar

What do you use for offsite backups for applications and databases?

j3j5,
@j3j5@hachyderm.io avatar

@sarah I may be out of date here but I've been reliably using duplicity for the past +10 years and it's always worked great

https://duplicity.us/

j3j5, to random
@j3j5@hachyderm.io avatar

I wonder why Amazon would push so hard for ppl to end their union membership. It's almost as if they were afraid of workers getting together and organizing...
:blobfoxthonking: :blobfoxthonking: :blobfoxthonking:

https://martinh.net/@m/112371054788297805

j3j5, to random
@j3j5@hachyderm.io avatar

Naomi warned us about the Razer masks 3 years ago

cabbey, to php
@cabbey@phpc.social avatar

ok #php brain trust.... say you wanted to automate some code changes. Simple stuff like "find all the instance methods that call self::staticFoo() and change them to call $this->foo() instead"... what static analysis tool would be the first one you would reach for to do that? Before anyone says "a grep and perl pies pipeline" note that static methods that call self::staticFoo() must remain as is. Next up would be "find all the places ->info['foo'] is read and replace it with ->getInfoFoo()."

j3j5,
@j3j5@hachyderm.io avatar

@cabbey without a doubt, rector is the tool for that

https://github.com/rectorphp/rector/

j3j5, to random
@j3j5@hachyderm.io avatar

@nora blob.love, love it! 👌

GossiTheDog, to random
@GossiTheDog@cyberplace.social avatar

My Mastodon server, cyberplace.social, has received a legal threat in an attempt to have a user's thread deleted. It is styled as a cease and desist.

I have published the email here:
https://github.com/GossiTheDog/Cyberplace/blob/main/LegalThreats/Cease%20and%20Desist%20Order%20-%20Felix%20Juhl

j3j5,
@j3j5@hachyderm.io avatar

@GossiTheDog if only Barbara Streisand would have taught us anything...

darnell, to random
@darnell@one.darnell.one avatar
j3j5,
@j3j5@hachyderm.io avatar
GlitchyZorua, to VintageOSes
@GlitchyZorua@wetdry.world avatar

THIS IS NOT A DRILL
JUST GOT OFFICIALLY OPEN-SOURCED

HOLY SHIT

https://github.com/microsoft/MS-DOS

j3j5,
@j3j5@hachyderm.io avatar

@GlitchyZorua Now we can finally check whether John Doe was right!!

https://www.youtube.com/watch?v=srRigD-8oFM

j3j5, to php
@j3j5@hachyderm.io avatar

Does anybody on the fedi Laravel community knows Aaron Francis? It's really sad that his (awesome) fast-paginate package seems abandoned like this, maybe just a statement acknowledging he can't/doesn't want to maintain it anymore can make the community fork it to keep it maintained. This L11 support PR has been opened and unanswered for 2 months already.

https://github.com/hammerstonedev/fast-paginate/pull/58

j3j5, (edited )
@j3j5@hachyderm.io avatar

@stefanzweifel yeah, I don't want to put any pressure on him, at all, honestly, I didn't even comment on the PR just to avoid that, that's why I asked if anybody knows him because a friendly nudge is always better than an email from a stranger (imo). Can't think of a way to word that email that doesn't sound beggy, it's just a pity because it's a great package.

j3j5,
@j3j5@hachyderm.io avatar

@stefanzweifel no worries, there are already enough comments there. I have a fork with that PR already merged that I'm using in the meantime. I held my nose and went to twitter to check and apparently he's aware of it🤷

I'll just wait.

https://twitter.com/aarondfrancis/status/1770447016503447572

protonprivacy, to random
@protonprivacy@mastodon.social avatar

What do you tell the “nothing to hide” crowd to convince them to value their privacy more?

See what @davidbombal and our founder & CEO Andy Yen have to say here: https://www.youtube.com/watch?v=acWkkLaEsrU

j3j5, (edited )
@j3j5@hachyderm.io avatar

@protonprivacy @davidbombal I love this quote @bijram shared for that:

https://graz.social/@bijram/112025032653191748

Latest extreme real-life example, Israel murdering people for being in the same WhatsApp group than other people.

andrewfeeney, to php
@andrewfeeney@phpc.social avatar

#PHP and #infosec folks, what do you make of this?

https://youtu.be/kQdRT2odUIk

j3j5,
@j3j5@hachyderm.io avatar

@andrewfeeney this was my conclusion yesterday after checking around, basically, upgrade glibc everywhere!

https://hachyderm.io/@j3j5/112311386903090357

j3j5,
@j3j5@hachyderm.io avatar
j3j5, (edited ) to Laravel
@j3j5@hachyderm.io avatar

Question for my fellas:

Do you think Bus::dispatch()and dispatch() behave exactly the same? Should they?

Boosts appreciated, obviously :)

j3j5,
@j3j5@hachyderm.io avatar

We're getting close to finishing so I'll expand. While fixing a bug on the rector-laravel package, I find out that you can queue closures using dispatch (as per the docs) but you can't when using Bus::dispatch(). I thought this was a bug but I got the issue closed (probably for not being assertive enough, haha). What do you think?

https://github.com/laravel/framework/issues/51150

j3j5,
@j3j5@hachyderm.io avatar

@michael lol, I know 🙃 worst part is that it's got way better with the years, it used to be much worse in the past 🤷

j3j5, (edited )
@j3j5@hachyderm.io avatar

@michael yeah, not my first rodeo and I keep reporting making PRs because I still benefit from them. I can understand from the other side, a repo like that isn't easy to manage, but that's why I try to make the issues and PRs as clear as possible. I think in this case Dries didn't read past the "not 100% sure if it's a bug" 🤷

eb, to random
@eb@social.coop avatar

In 2023, The Onion filed it's first SCOTUS briefing: https://www.supremecourt.gov/DocketPDF/22/22-293/242292/20221003125252896_35295545_1-22.10.03%20-%20Novak-Parma%20-%20Onion%20Amicus%20Brief.pdf

It was widely regarded as the 'greatest briefing of all time', for it's use of parody to defend parody (they called the judiciary "Latin dorks").

The case in question regarded a man who mocked his local PD through a satirical FB page. The PD looted his home. He sued. The 6th court ruled that the PD couldn't have known about his right to free speech.

SCOTUS said "Petition DENIED". The bad law stands.

j3j5,
@j3j5@hachyderm.io avatar

@decibyte @eb I think you're mistaking it with the famous Pharma Police

j3j5, to php
@j3j5@hachyderm.io avatar

tl;dr: upgrade glibc on your servers!

Summing it up, there's a vulnerability (CVE-2024-2961) on glibc that, apparently, can be used to get RCE on servers running PHP.
It's recommended that you update glibc to a patched version.

https://security-tracker.debian.org/tracker/CVE-2024-2961
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2024-2961

There's an upcoming talk on May 10 where the researcher will explain how it was used to hack PHP servers.

https://www.offensivecon.org/speakers/2024/charles-fol.html

#PHP #glibc #iconv

ramsey, (edited ) to random
@ramsey@phpc.social avatar

How do you pronounce “glibc”? (as in the GNU C Library)

Edit: I consider “gee” as pronounced with a soft G, so you might also write it as “jee.”

j3j5,
@j3j5@hachyderm.io avatar

@ramsey also, sorry for assuming you were talking about this but I just finished reading about it and saw you asking about glibc, on my mind IT HAD to be related

j3j5,
@j3j5@hachyderm.io avatar

@derickr @ramsey thanks! that's what I understood from the other replies from Ondřej as well.

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