@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.

gabboman, to OH

bee careful if you use php

https://www.youtube.com/watch?v=kQdRT2odUIk

-FUCK-IT-APPLIES-TO-ONE-OF-MY-SERVERS

j3j5,
@j3j5@hachyderm.io avatar

@gabboman Is there any written info about this? I've found this ( https://www.gamingdeputy.com/exploiting-vulnerabilities-in-glibc-through-php-scripts/ and the links to the distros pages) but is there anything else besides updating glibc to mitigate apps? I don't have the mental bandwidth to hear a guy talking for 6min about it :(

scottslowe, to linux
@scottslowe@fosstodon.org avatar

One of my sons—who is an avid PC gamer—is letting me use a previous-generation gaming rig he built to see if I want to buy it for use as my primary workstation. It’s a pretty decent box (Intel Core i7-12700K CPU, NVIDIA GPU, M.2 NVMe, 32GB of RAM).

I’m divided WRT which distribution & DE to install. I used w/ for quite a while, but I’ve also recently been using w/ . Is easier to get NVIDIA drivers working? (I honestly don’t know.)

Thoughts?

j3j5,
@j3j5@hachyderm.io avatar

@scottslowe I don't have experience with NVIDIA, but honestly, Arch has the best documentation on their wiki and great support on their forums.
I'd check the Arch Wiki and forums to see if your GPU is specifically mentioned because their documentation and forums are the best nowadays (imho).

j3j5, to random
@j3j5@hachyderm.io avatar

Security Tip: Be Careful Of Transliteration 🤯

https://securinglaravel.com/p/security-tip-be-careful-of-transliteration

Adam_Cadmon1, to random
@Adam_Cadmon1@mastodon.online avatar

Off! Is still my go to outdoor anti-mosquito spray. I hate those f*ckers. I wish I could genocide them.

Why don't we focus this insatiable need to kill many things in a direction that is beneficial?

j3j5,
@j3j5@hachyderm.io avatar

@Adam_Cadmon1 @rafa_font was writing some time ago about different techniques for getting rid of the mfs

https://mastodon.online/
https://mastodon.online/
https://mastodon.online/

j3j5, to random
@j3j5@hachyderm.io avatar

My attention span today is like 5min 😵‍💫

j3j5, to Laravel
@j3j5@hachyderm.io avatar
valorin, to Laravel
@valorin@phpc.social avatar

Do you use Encrypted Environment files in Laravel?

I think they are great for some special use cases, but given the prevalence of API keys and credentials found in repos, is it worth it to use them all the time?

There was a bit of a debate about this last time I posted it, so I'm curious to see how we're all feeling about them now. Or maybe I'm just being a old security grump? 🧐

https://securinglaravel.com/p/security-tip-encrypting-environment

j3j5,
@j3j5@hachyderm.io avatar

@valorin I don't use them on any of my projects but I do see how they can be useful for a shared local .env

Prod credentials on the repo on the other hand? No way José!

xakan, to php French
@xakan@social.zdx.fr avatar

Moi ce que j'aime avec , c'est que c'est so 2024.

Genre strtoupper(), la fonction censée convertir les caractères en majuscules, ne gère pas du tout les accents.

Ainsi, strtoupper('très') retournera 'TRèS'.

Classe 😅

j3j5,
@j3j5@hachyderm.io avatar

@xakan sorry if you already know this, but you're suppose to use "mb_strtoupper()" for that:

https://www.php.net/manual/fr/function.mb-strtoupper.php

j3j5,
@j3j5@hachyderm.io avatar

@xakan yeah, character encoding is weird, all the mb_ functions deal with the "multi byte" encodings like utf-8, as a speaker of a language with accents (spanish), I always use those just in case :)

j3j5, to random
@j3j5@hachyderm.io avatar

LB: what??

gorskon, to random
@gorskon@med-mastodon.com avatar

Color me surprised that #antivaxxers might not use the best digital security practices. BTW, if my burner email pops up in that leak, know that I signed up just to monitor this particularly bonkers group of antivaxxers.😂

image/png

j3j5,
@j3j5@hachyderm.io avatar

@gorskon

> We are now among many Fortune 100 companies that have been hacked recently.

That's one way to put it I guess, I may try this with my boss if we ever get hacked 🤷

kepano, to random
@kepano@mastodon.social avatar

Still very WIP, but I am revamping the UI for right-to-left languages such as Arabic, Dhivehi, Hebrew, Farsi, Syriac, Urdu.

So many little questions I had never thought about:

  • Which way does a "back" arrow go?
  • Do progress bars fill right-to-left?
  • Are slashes in paths reversed?
  • Do window buttons get mirrored on major OSes?

This has been an eye-opening experience. Using start/end values rather than left/right is something I will think about with every project going forward.

Screenshot of the Obsidian user interface showing right-to-left Arabic language
Screenshot of the Obsidian user interface showing right-to-left Arabic language

j3j5,
@j3j5@hachyderm.io avatar

@naiyer @kepano @shadeed9 I came here to link this, great resource!

mjg59, to random
@mjg59@nondeterministic.computer avatar

Twitter just doing a "redirect links in tweets that go to x.com to twitter.com instead but accidentally do so for all domains that end x.com like eg spacex.com going to spacetwitter.com" is not absolutely the funniest thing I could imagine but it's high up there

j3j5,
@j3j5@hachyderm.io avatar

@JoMomma @mjg59 you mean regetwitter?

j3j5,
@j3j5@hachyderm.io avatar

@zheng3_jim lol, all hail to @nasamuffin , they posted it first and I've been laughing about it in my head the whole evening 😅

https://jorts.horse/@nasamuffin/112241987939159764

nixCraft, to random
@nixCraft@mastodon.social avatar
j3j5,
@j3j5@hachyderm.io avatar
eliocamp, to random
@eliocamp@mastodon.social avatar

I've been thinking about that Sabine Hossenfelder video* that is doing the rounds and I have to say that I mostly don't like it. It raises real issues with how the incentives are laid out in science, yes, but the whole framing is (sometimes explicitly) that that is all academia is and there's nothing of value. Besides, these are not new issues and a lot of people have been talking about these points in a much more productive way.

1/n

j3j5,
@j3j5@hachyderm.io avatar

@eliocamp related to this, the book "Guerrilla Science: Survival Strategies of a Cuban Physicist" really changed my perception of what "doing science" and "research" really is about and how important answering the small questions is. Specially because contrary to many people's belief, there's still a ton of small questions we (humanity) have unanswered.

carnage4life, to random
@carnage4life@mas.to avatar

This is the most boomer thing I’ve ever heard happen at a startup.

j3j5,
@j3j5@hachyderm.io avatar

@periplum this is the correct take ☝️

sonny, to rust
@sonny@floss.social avatar

Are you experienced with GTK and Rust ? :gnome: ❤️ :rust:

We are looking to contract someone to work on the new GNOME Password Manager 🔑

We want it to become a core/default app and help secure millions of users.

You'll be working with the GNOME Foundation, a non-profit dedicated to building emancipatory technologies for everyone.

Please send resume / portfolio to stf@gnome.org

Boosts welcome :boost_love:

#GTK #Rust #rustlang #GNOME #Linux #Ubuntu #Linux #Fedora #OpenSUSE #Debian

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

@sonny I know of one Jia Tan, he's pretty good with open source and critical infrastructure I hear and he's looking for a new gig

ramsey, to random
@ramsey@phpc.social avatar

Open source development is a pretty good argument for implementing UBI.

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

@ramsey the scale of the boost The Commons may get from UBI is hard to even imagine, not only in software but in many other areas

j3j5, to random
@j3j5@hachyderm.io avatar

Yesterday I found a bug (thanks @hananc !) on my bot server that caused the posts from all the bots would only be delivered to the server of the first follower (🤡). It is now fixed so if you're wondering why now you see messages from some of the bots on bots.uy that you didn't previously, that's the reason.

futurebird, to random
@futurebird@sauropods.win avatar

It's always bothered me that when people adapt Kafka's Metamorphosis they depict Gregor Samsa as a roach. Cockroaches do not undergo metamorphosis. They are born as nymphs which are just smaller wingless versions of the adult form.

Kafka writes that Gregor can only enjoy rotten food. Which also makes him not at all roach-like. Roaches strongly prefer fresh vegetables to rotten ones.

I always imagined him as a beetle. Which implies that the man Gregor was a larvae for all his pre-bug life.

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

So, after a post* from @a , I introduce you to

@Wikipedia_EN_alerts

It checks every half an hour articles that belong to the category "All articles proposed for deletion" ( https://en.wikipedia.org/wiki/Category:All_articles_proposed_for_deletion ) AND to "All articles with topics of unclear notability" ( https://en.wikipedia.org/wiki/Category:All_articles_with_topics_of_unclear_notability ) and post a random one from the list.

I feel that I could add other alerts to it so if anybody has an interesting use case lmk and I can look into it.

As always, all suggestions welcome!

*https://pdx.social/@a/112134480706713741

j3j5,
@j3j5@hachyderm.io avatar

@hananc @a @Wikipedia_EN_alerts
Thanks!! I'm going to try and make another one for the Spanish wiki this week.

j3j5,
@j3j5@hachyderm.io avatar

@a I was thinking to add some hashtags to increase visibility, but it's a polite bot who is posting as "unlisted" so hashtags won't help much.

j3j5, to Laravel
@j3j5@hachyderm.io avatar

TIL about the IntrospectionProcessor in Monolog 😍
It injects line, file, class and function where the log message came from to all records' context.

Hot Tip: to use it in Laravel add it with the following parameters on your AppServiceProvider.

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