pboivin

@pboivin@phpc.social

Archivist turned Web developer. Linux and FOSS enthusiast. Sunday morning musician. Living in Tiohtià:ke / Montréal, QC.

he/him

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

pboivin, to repair

This happens to me at least once a year, often with lower quality audio equipment. The plastic deteriorates and becomes sticky.

> To make plastics feel soft, manufacturers use compounding additives [...] that can come to the surface over time and create a sticky feeling. This process is called plasticizer migration. It’s a problem well-known both in car dashboards and guitar knobs.

https://www.ifixit.com/News/93833/ask-ifixit-how-do-i-fix-sticky-plastics

#repair #diy #plannedobsolescence

adele, to SmallWeb
@adele@phpc.social avatar

I see many toots about . They often talk about personal websites. That's a good point, however, it would be cool if concept also apply to professional, institutional or governmental websites.
Are there actors promoting or developing for huge websites?
(A huge website with many services or users is compatible with a lightweight frontend)

pboivin,

@adele Not explicitly promoting the , but this reminded me of some news organizations with light weight variations on their main website. I've seen a few, here's one near me :
https://www.cbc.ca/lite

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

What’s your favorite DAW (Digital Audio Workstation)?

pboivin,

@zombierustpunk I've been using Bitwig for a little while, it's super fun! I've never really used Ableton so I can't do an accurate comparison, but the 2 have similarities.

outofcontrol, to random
@outofcontrol@phpc.social avatar

Missed a call from FedEx this morning. In Quebec all messages are in French first… the iPhone tried its best to transcribe the message for me, a new feature I think on the iPhone? For record, there was no English message that should have followed… 🙁

Loved “this you can also keep putting in mama…”

pboivin,

@outofcontrol Looks like it understood Bonjour, maybe there's hope 😅

noellemitchell, to blogging
@noellemitchell@mstdn.social avatar

I'm excited to get back into learning coding since I deleted my WordPress.com blog and I'm not focused on blogging anymore 😊

pboivin,

@noellemitchell Fun coincidence, I think hand crafting a small blog is a great type project to learn programming 😄

itsjoshbruce, (edited ) to php
@itsjoshbruce@phpc.social avatar

Is Symfony Console the way to go for creating custom CLI tools using PHP?

I think someone pulled something together from Laravel components.

I'd like to find something excessively lightweight - like CLI is all it does with few or no dependencies.

Curious about what folks are using.

I'll probably start with Symfony as I've built what I'm planning once before.

#PHP #Laravel #Symfony #CLI

pboivin,

@itsjoshbruce Minicli is a light option I've been using lately. It has no dependency and provides just enough convenience over doing a plain PHP script.
https://github.com/minicli/minicli

outofcontrol, to php
@outofcontrol@phpc.social avatar

Looking for some PHP related videos to watch over the holidays? Checkout this PHP YouTube directory:

https://github.com/php-youtubers/directory

Saw that Nuno posted this on X, here it is on Mastodon for all you folk. Multiple languages and not all videos are specifically about PHP, but a reasonably good list. Enjoy!

pboivin,

@outofcontrol @awoodsnet
> Laracasts.com and one other I can’t remember his name, young fellow, British, ring any bells?
Luke Downing?

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

I have or I will be, personally, blocking the threads.net domain on my Mastodon account?

pboivin,

@outofcontrol I think I want to give it a fair shot, see if I can connect with new people. Good to know I can block at the domain level if needed.

pboivin,

@outofcontrol I understand, and share the same opinion of Meta as a company...

I know it's not the same but here's something I'm thinking about, playing on the comparison between the Fediverse and email. Say Meta launched a new email service, MetaMail or something. Would you consider blocking this domain in your email client?

pboivin,

@outofcontrol Yes, this makes sense. I guess in theory, Meta could already be pulling data from the Fediverse and monetizing somehow. But the Threads-ActivityPub integration enables monetizing as content on the Threads platform? I'm already feeling like I'm out of my depth in this line of thought 😅️

I guess personally, I'm interested to see how the integration will play out, mostly focusing on the convenience.

amadeus, to opensource
@amadeus@mstdn.social avatar

What service do you use to a bunch of with friends and family (avoiding the obvious mega services available)? I'm looking for something with a low barrier web interface (no account, private link access), download capability, and maybe self-deleting after a few days. Preferably and .

pboivin,

@amadeus I think is a great option. For one-time sharing via link with a small group of people, I'm wondering if a simple install with a photo-centric theme and a password protected post could do? If you're already setup for PHP web hosting, I can't think of anything simpler.

lewiscowles1986, to random
@lewiscowles1986@phpc.social avatar

How do you explain {complex computer science topic} to a 5 year-old..

https://mastodon.social/@nixCraft/111408950784492553

You don't!
If I have to fetch my cricket bat and start squishing heads, I totally will!

Let the kids be kids.

They can have breakdowns over incidental details like SQL later in life, should they make poor enough choices.

pboivin,

@lewiscowles1986 I agree with the sentiment. I can also appreciate a "like I'm 5" take on a complex topic, as a full grown adult (allegedly).

pboivin, to php

I've been deep into for the past few months so this is a bit surprising to me, but I've been having a lot of fun learning lately! I'm pairing it with Filament as a light, headless CMS in this demo project:
https://github.com/pboivin/filament-peek-demo-with-astro

kaiserkiwi, to php
@kaiserkiwi@corteximplant.com avatar

I'm a web developer for 17 years now and I never had the self-confidence to publish something open source.

But there was a package for Laravel Nova I use for Questlog and some smaller things weren't as I liked them. So I contributed to the package. It was a pretty nice feeling.

Yesterday I wanted to contribute again but… The package is now abandoned. But I need it! So I made the decision to publish it on my own. I left multiple references to the original package but it still feels weird.

But hey, I published my first open source package. Even if it's based on the work of another person, it still feels pretty good.

If anyone it's curious, it's a niche plugin for Laravel Nova to see and manage your jobs from the queue worker. So if you use Laravel Nova and are as annoyed as I to look in the database to see the pending or failed jobs or don't want to open the terminal to restart failed jobs, give it a try!

https://github.com/kaiserkiwi/nova-queue-management

#PHP #Laravel #LaravelNova #Coding #OpenSource

pboivin,

@kaiserkiwi I didn't know the original package but I believe that keeping useful software alive is really important. From what I can tell, you did everything right: changed the package name, gave credit to the original author and added a note to explain the fork. Kudos!

Kovah, to Laravel
@Kovah@mastodon.social avatar

Every time I work with , I spend significantly more time reading and trying to understand the documentation, than with every other tool or framework. The amount of edge cases you run into is frustrating, and it feels like you are basically lost if your use case is just a bit special.
Can’t be the only one with these problems.

pboivin,

@Kovah I'm curious to know what are some of the edge cases you're encountering. Coming from Vue, I've been enjoying Livewire so far but I agree that you kinda have to learn to think in Livewire. The greatest advantage for me is that it completely abstracts AJAX - you bind form fields to class properties, call methods, etc. It feels like Vue in many ways but it's also quite different conceptually, and that's where I tend to get tripped up.

ross, (edited ) to wordpress
@ross@fosstodon.org avatar

One of the things about being employed (nearly two years now!!!) is that side projects aren't really a thing.

So I'm embracing constraints.

I have a secret little project that's SO good and I can see how it could quickly turn into “A Thing”.

But it will remain a little thing just for me. It does what I need it to. And that is enough.

On another project someone asked this week “Is this codebase still active?”

The answer was: “This code is finished”

Constraints are good. 😃

pboivin,

@ross This resonates with me. "This code is finished" is not a sentiment I witness often in the wild, but it makes so much sense. It's a good counter balance to the unrealistic forever growth mindset that looms in our field.

davidbisset, to CSS
@davidbisset@phpc.social avatar

and the death of web craftsmanship

https://pdx.su/blog/2023-07-26-tailwind-and-the-death-of-craftsmanship/

"...it reduces your HTML to a gigantic pile of near-gibberish classes."

Still digesting, but i'm not a Tailwind user. I'm not violent against it but i've been working with CSS since it's invention.

pboivin,

@davidbisset There are some good arguments in there, and I'll be the first to agree that markup with Tailwind classes looks like HTML diahrea. But I don't think it's fair to say that the tool or the folks behind it represent the "death of web craftsmanship". Seriously, the Tailwind team is obviously very passionate, creative and hard working. They are shaping the tool they want to be using.

sarah, to random
@sarah@phpc.social avatar

What’s the best way to learn AWS as a PHP developer?

pboivin,

@sarah There's a really good introduction series on Laracasts (focused on the AWS console, not Laravel specific):
https://laracasts.com/series/aws-fundamentals/

pboivin, to fedora

Has anyone recently switched from to ? Not looking to start any wars here, I've been a happy user of Pop for years... But I think I would benefit from switching to a more upstream experience. I'm already using extensively. I'm also on a common model of Thinkpad, so not worried about any hardware issues. Are there any challenges I should prepare for in the transition? Something I might have overlooked that could impact my productivity?

pboivin,

@vwbusguy Digging deeper, I appreciate it! So I would describe myself as a terminal enthusiast but yes, a regular GUI user. I enjoy stock Gnome and this is the reason why I contemplate a switch — I don't think Cosmic DE is really catering to my personal workflow. Switching away from the Ubuntu base is pretty much the cause of my uncertainty... As a developer, I am using a mix of containerized and non-containerized tools, but I'm not too worried there.

pboivin,

@vwbusguy All in all, I agree with you. Pop has been really solid and by all accounts, I'm sure Fedora will be too.

I like your two-tone profile picture by the way, it's well done :)

outofcontrol, to Laravel
@outofcontrol@phpc.social avatar

Any reason to not have local .env and .env-staging files in #Laravel? I have a use case where the DB migrations are different on the two, and I can’t refresh the DB each run. Using the attached in bootstrap/app.php and having multiple .env files inside a root /env directory. Would love to hear alternative solutions to this that may not need changes to bootstrap/app.php

pboivin,

@outofcontrol I'll sometimes generate the .env file for the target environment as part of the deploy process, from values in a "secrets manager" type of service. This adds a bit of complexity so it may not be appropriate for all types of projects.

pboivin,

@outofcontrol Regarding migration differences between environments, one option would be to check for App::environment() at the beginning of the migration and either adapt it or skip if not applicable.

pboivin,

@outofcontrol Thanks for the details, I see I misunderstood the context 😄️

Just a thought on the branching strategy: Can you avoid merging stating into main, and instead merge from the feature branch into main? This will give you more flexibility in the end as main and staging diverge. You can push patches onto main between long features, and you can always hard reset staging to main if it gets too out of hand.

Crell, (edited ) to php
@Crell@phpc.social avatar

Hey #PHP devs. I'm curious. When using a global class like SplFileInfo, Exception, Attribute, etc, do you say \Exception inline in the code, or do you use it at the top of the file and then use it as Exception inline?

pboivin,

@Crell I missed the first poll but I think I would have been in the use group. I answered No for this one because I don't really see a problem with a mixed approach within a single code base. I don't know if I can come up with a convincing example here but it may be more on a file by file basis for me. In more terse and functional contexts I'd use \This and in regular 1 class/1 file I'd use That;

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