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

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??

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 🤷

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:

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.

#Laravel #Monolog #PHP

j3j5, to random
@j3j5@hachyderm.io avatar

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

wendigo, to random
@wendigo@metalhead.club avatar

Any thoughts on the Hugo static site generator? Kirby CMS didn't seem like my bag, especially with a subscription fee. They may not call it one, but if you only get 3 years of updates, then it is one (for all practical purposes)...

j3j5,
@j3j5@hachyderm.io avatar

@wendigo I'm currently using it for "my site", which is a landing page with a few links and a little blog. I've recently added a few more pages and after some readings, it wasn't that hard so I'm liking it a lot. What are your doubts? did you try it locally already?

j3j5,
@j3j5@hachyderm.io avatar

@wendigo @vanessawynn @benmo @jake4480 as mentioned somewhere else, initial setup is very easy and, if you find that any of the existing themes ( https://themes.gohugo.io ) works for your needs, it's overall pretty easy to start/maintain. If you want to customize stuff (besides what the theme allows), you need to get your hands dirty with (S)CSS, HTML and worst case scenario, a little bit of Go. And also as already mentioned, their docs aren't bad but they aren't great either.

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

frumble, to KDE German
@frumble@chaos.social avatar

Was ist denn nun mit dem -Plugin für 6, wurde das tatsächlich entfernt? Kann man es sich dann wenigstens noch nachinstallieren?

j3j5,
@j3j5@hachyderm.io avatar

@frumble @beta ok, you're right, apparently they've changed their ToS, search for Unsplash here https://pointieststick.com/2023/07/26/what-we-plan-to-remove-in-plasma-6/

  • 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