@afilina@phpc.social
@afilina@phpc.social avatar

afilina

@afilina@phpc.social

Legacy software modernization, project rescue, architecture, test automation, public speaking.

I'm supporting a tactical unit in Ukraine directly. You can help me do more: https://afilina.com/donate/ua-supplies

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

afilina, to random
@afilina@phpc.social avatar

In 1997, when we still had 56k modems, if your website took 10 seconds to load, you lost most of your users. Today, Outlook spins for 20 seconds on a 300 Mbps connection, despite being in cache, and everyone is somehow fine with this regression.

This is without counting the lengthy SSO loop that we need to repeat every morning, because "remember me" is also no longer a feature in 2023, it seems.

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

Let's try something fun. When coding, what part do you start with? If other, please specify in replies.

afilina, to random
@afilina@phpc.social avatar

F*ck cancer.

afilina, to random
@afilina@phpc.social avatar

I thought that Jira had the worst UI, but then I discovered Azure DevOps. Do these big companies design terrible UIs on purpose?

afilina, to random
@afilina@phpc.social avatar

A doctor's document says "sex at birth", which I think is a sensible way to approach the topic. Sure, someone born a female is at risk of female-exclusive problems, but that doesn't mean that all contexts require this information. Even then, specifying "at birth" is a way to not be insensitive to the patient. At least that's my understanding, since I can't imagine what it's like to have gender dysphoria.

afilina, to random
@afilina@phpc.social avatar

This looks suspiciously similar to azjezz/psl, just with a different API. It even has the same name: PHP Standard Library.

The PHP community would be better if devs worked together instead of copying and re-branding someone else's work. Credit to azjezz for the original PSL.

afilina, to random
@afilina@phpc.social avatar

Why is the x-powered-by header so common in the PHP world? I feel like exposing this is a security breach, because it allows people to focus their search in the CVE database. This is especially true as software ages and devs don't keep up with upgrades.

Like "hey, I run PHP 5.3, I thought you'd like to know how outdated and vulnerable I am".

afilina, to random
@afilina@phpc.social avatar

Skipping test automation today is a great way to later pay for devs to spend more time cursing than getting work done.

afilina, to random
@afilina@phpc.social avatar

Why are JS frameworks so darn complicated? I can't even keep a mental model of a simple table with a few buttons. I need to add so much boilerplate code that I'd rather use jQuery. Either I'm missing something blindingly obvious about those frameworks, or they're just added complexity and weird patterns with marginal gains.

afilina, to random
@afilina@phpc.social avatar

The new Slack layout is a deal breaker. Now I'm shopping for an alternative. Any suggestions?

I work with multiple clients and contractors for a short duration. This means that easy onboarding is a must. Also, it makes no sense to pay per seat (external Slack users worked well for this).

Should the app manage multiple workspaces, it should under no circumstances try to merge anything to "simplify". It is critical that the separation between workspaces is clear at all times.

afilina, to random
@afilina@phpc.social avatar

Got tired of trying to fit a full name into the narrow constraint of first_name/last_name of an API today. Anyone whose name might resemble "Dr. Andrew C. Martin Jr." probably let out a big sigh right now. Please, just let people type their name into a single field.

afilina, to random
@afilina@phpc.social avatar

I'm confused. Is there no way to simply override the PHP's default file:// stream wrapper? Why must I reinvent the default implementation just to make one small change? Has nobody even published an unofficial implementation that can be "good enough"? Filters are great, but I can't auto-append them to every stream, which also means that I can't change the opening part. unless I missed something (docs are a bit light there).

afilina, to random
@afilina@phpc.social avatar

I remember about 15 years ago a dev told me that the only thing limiting his productivity was that he couldn't type faster. I have never met someone who knows exactly what code they need to type at every second, and I met some amazing devs.

afilina, to random
@afilina@phpc.social avatar

Shout out to league/csv for continuing to be an awesome library. It's intuitive, a breath of fresh air after a long week of fighting every single tool. This one doesn't fight you. It just helps you without getting in the way.

afilina, to random
@afilina@phpc.social avatar

I need your advice on testing React. I want to mock API responses, but without using a complex Docker setup. Ideally, a way to simply say what fetch should return. Then I can test that the UI correctly responds to every scenario provided by the API contract. Was thinking Jest.

afilina, to random
@afilina@phpc.social avatar

I'm always suspicious of scrum masters who can't do technical work, because my assumption is that they're project managers in disguise.

A scrum master is supposed to be a leader. If one doesn't do the job with the team, then they're managing, not leading.

Of course, I'm not a fan of scrum or other such frameworks. I only follow the agile principles.

afilina, to random
@afilina@phpc.social avatar
  • Hey, your security policy blocks every single blog, so it hurts my ability to research issues effectively.
  • You can open a ticket on a case-by-case basis.

Are you kidding me?! I am forced to work with PHP 4.4 and 5.3, SAP and IBMi garbage, deprecated JS, plus some of the worst architecture I've seen since 1997.

I visit a gazillion blogs every day when researching this stuff. Babysitting every ticket would become my new job.

Some companies secure and red-tape themselves out of productivity.

afilina, to random
@afilina@phpc.social avatar

Haha, nice! My most important meeting EVER, which cost me tens of thousands of dollars to get to, and now Teams refuses to join the meeting. What a piece of garbage.

afilina, to random
@afilina@phpc.social avatar

Is it possible that some people come up with overly complex architectures because they're worried that showing something too simple will cause others to question their worth? It's a theory I have but not sure how to test, so I'm just following the logic.

afilina, to random
@afilina@phpc.social avatar

Finally got around to Diablo 4 in the evening. Mandatory launch week login fiasco. How many decades before they learn.

afilina, to random
@afilina@phpc.social avatar

I created a dockerized process for contributors to render the PHP docs locally. This allows them to preview their changes before opening a PR. It has been a recurring problem, because it's really hard to understand this setup.

Since I suck at Docker, please take a look at my short PR to make sure that I don't make a fool of myself. Thanks.

https://github.com/php/doc-en/pull/2638

afilina, to random
@afilina@phpc.social avatar

Whoever designs software that logs people out daily should read a recent book about software security. </rant>

afilina, to random
@afilina@phpc.social avatar

Here's a fun one:

"Uncaught ArgumentCountError: Too few arguments to function [redacted], 11 passed in [redacted] and exactly 13 expected."

There are hundreds of method signatures not matching usages in this codebase. It used to be merely a warning in PHP 5, which we know that devs usually hide.

afilina, to random
@afilina@phpc.social avatar

This commit to remove dead code is immensely satisfying.

afilina, to random
@afilina@phpc.social avatar

Ugh, the PHP CS Fixer setup instructions for PHPStorm are so long and confusing that I might as well just use the CLI instead. I've been told that I'm a very impatient person :)

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