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

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 😵‍💫

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
#Laravel

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é!

j3j5, to Laravel
@j3j5@hachyderm.io avatar
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??

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!

nixCraft, to random
@nixCraft@mastodon.social avatar
j3j5,
@j3j5@hachyderm.io avatar
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

@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

j3j5,
@j3j5@hachyderm.io avatar

@JoMomma @mjg59 you mean regetwitter?

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

Color me surprised that 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 🤷

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.

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:

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

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 ☝️

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

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

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.

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.

#Laravel #Monolog #PHP

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

How do you capitalize the name of this network?

j3j5,
@j3j5@hachyderm.io avatar

@J12t @evan @liaizon @trwnh oh no! we've already started using the argument "because Meta does it" and they aren't even fully federating yet :picardfacepalm:

j3j5,
@j3j5@hachyderm.io avatar

@J12t @evan @liaizon @trwnh sorry, didn't mean to flame, I don't have a personal preference for upper vs lower, but I was surprised to see the argument bc it's one of the fears I have with Threads, obviously, referred to technical matters, not vocabulary

j3j5, to random
@j3j5@hachyderm.io avatar

Oh no, Wikipedia's API, you are one of those 🙃

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