@acelaya@mastodon.social
@acelaya@mastodon.social avatar

acelaya

@acelaya@mastodon.social

Full-stack developer.
Senior Frontend Developer at https://hypothes.is
Formerly Senior Software Engineer at adidas.com

Author of https://shlink.io

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

Crell, to php
@Crell@phpc.social avatar

Please, web app developers, consider how your users will upgrade. If your upgrade process is "remove the old one, unzip the new one", then it's not an upgrade process. It's an encouragement to never upgrade.

acelaya, (edited )
@acelaya@mastodon.social avatar

@Crell Do you have some recommendation on how to address that on a self-hosted app?

I maintain one which suffers from this and I would like to eventually address it, but I have never found an approach where there's no risk of breaking things without an easy way to roll back.

I provide a CLI tool which helps, but still requires you to manually "download and unzip".

acelaya,
@acelaya@mastodon.social avatar

@Crell Thanks for the suggestions!

acelaya, (edited ) to DarkSouls Spanish
@acelaya@mastodon.social avatar

Yesterday I started my first "Souls" game, 3. Wish me luck.

acelaya, to random Spanish
@acelaya@mastodon.social avatar

Sleepless nights are good for triaging pet project issues and answering pending discussions ๐Ÿฅฑ๐Ÿ˜ด

SenseException, to php German
@SenseException@phpc.social avatar

talks 10 years ago: "Use value objects instead of arrays."

PHP talks nowadays: "Use value objects instead of arrays."

acelaya,
@acelaya@mastodon.social avatar

@SenseException Does that mean we haven't learned anything? ๐Ÿ˜…

acelaya, (edited ) to Redis Spanish
@acelaya@mastodon.social avatar

The new website has broken so many links. Some redirect to their new corresponding urls, but not all of them, and it's very hard to find anything in their new marketing-focused website ๐Ÿ˜ฉ

acelaya,
@acelaya@mastodon.social avatar

Thankfully, the Internet Archive exists ๐Ÿ™‚

sebastian, to php
@sebastian@phpc.social avatar

It's that time again: I'm thinking about what I want to share at conferences about in general and with in particular.

Feel free to write your ideas and wishes in a reply to this toot.

acelaya,
@acelaya@mastodon.social avatar

@Crell @sebastian I recently learned about TestWith, which can be an alternative to data providers for simple cases.

EDIT: sorry, I just realized you were answering Sebastian, not openly asking the community ๐Ÿ˜…

acelaya,
@acelaya@mastodon.social avatar

@sebastian @Crell Is there any particular reason we should actually avoid it? Or is it just a matter of personal preference?

acelaya, to random Spanish
@acelaya@mastodon.social avatar

Please, don't be the kind of person that reports bugs to projects where the steps to reproduce start with "Create a k8s cluster", "Deploy a container to Azure", "Set-up a cluster in AWS", etc.

grmpyprogrammer, to random
@grmpyprogrammer@phpc.social avatar

Life of the Staff Software Engineer โ€” 6 hours over two days of step-debugging a failed test, and going over ALL the tests, and checking my test factories, to discover deep in the code I was using a datetime library wrong.

acelaya,
@acelaya@mastodon.social avatar

@grmpyprogrammer @derickr You may want to take a look at chronos, an alternative to carbon but with immutable objects
https://github.com/cakephp/chronos

It used to have the same API, but I reckon it has deviated a bit over time.

greg0ire, to random
@greg0ire@phpc.social avatar

Apparently some people need to hear this so here we go: doctrine/orm 3 is compatible with doctrine/dbal 3, so it should be possible for you to upgrade to doctrine/orm 3, test and deploy, let things run for a few days and then upgrade to doctrine/dbal 4 instead of upgrading both packages at once. Also, if you use doctrine/orm is mentioned in your composer.json, but not doctrine/dbal, you're probably doing it wrong.

acelaya,
@acelaya@mastodon.social avatar

@greg0ire I updated both packages a couple weeks ago, and I have had zero problems since.
You guys made an incredible job there.

acelaya, to php Spanish
@acelaya@mastodon.social avatar

New blog post! ๐Ÿ“˜
Capturing remote code coverage in tests with
https://acel.me/sNvEk

acelaya, to php Spanish
@acelaya@mastodon.social avatar

The main item in by whishlist is around interfaces which allow readonly public properties ๐Ÿ˜€

Classes implementing them would be forced to define those properties.

ramsey, to random
@ramsey@phpc.social avatar

Do I know any software engineers who work at at Chess.com?

LinkedIn says I donโ€™t, but maybe Iโ€™m connected to someone here who works there. If so, please DM me. I have some questions about a job posting, and maybe you can help.

acelaya,
@acelaya@mastodon.social avatar

@ramsey Nikola Poลกa works there, but he's not on Mastodon AFAIK
https://x.com/nikolaposa?t=2A0uVUGYJz0sdQMEHkS5XQ

ramsey, to random
@ramsey@phpc.social avatar

Whatโ€™s going on with the version numbers on this package? https://packagist.org/packages/mobiledetect/mobiledetectlib

acelaya,
@acelaya@mastodon.social avatar

@stof @ramsey I have just asked https://github.com/serbanghita/Mobile-Detect/issues/938#issuecomment-1806453889
But based on the previous response, it's probably 4.8 because it adds support to PHP 8 ๐Ÿคทโ€โ™‚๏ธ

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