@auroraeosrose@phpc.social avatar

auroraeosrose

@auroraeosrose@phpc.social

Breaking things one click at a time. Lover of C and adjacent languages. Unapologetic Windows and PHP fan.

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

Skoop, to windows
@Skoop@phpc.social avatar

Does anyone know what this red microphone icon is in the top left corner of my screen? And how to get rid of it?

auroraeosrose,
@auroraeosrose@phpc.social avatar
auroraeosrose, to random
@auroraeosrose@phpc.social avatar

I'm getting failed php master (8.4) tests on windows due to line ending shenanigans.

As in diffs are failing from a stream outputting the wrong line feed at eof so you get a bogus diff

Wonder who broke that... and when
Ugh, now I have to figure out

auroraeosrose, to random
@auroraeosrose@phpc.social avatar

Why does all "enterprise" software want to horizontally scale application servers but vertically scale the db. The db is always the bigger bottleneck now that most systems have moved off of crufty winforms desktop apps.

auroraeosrose, to random
@auroraeosrose@phpc.social avatar

Actual conversation with vendor yesterday which changed the tone of the meeting and made the sales guy shut up

Them : "All our REST apis are documented with swagger"

Me: "You haven't updated to using openapi"?

Silence, whisper, shuffled papers.

Tech guy: "we're using the latest version of openapi"

After that it was a far more useful conversation lol

auroraeosrose,
@auroraeosrose@phpc.social avatar

@ramsey it was hilarious. A different vendor had a similar conversation "we use kubernates I'm sure you've never heard of it"

I mean how dumb are most tech management in enterprise? Do I want to know?

the_halmaturus, to php Esperanto

Need some help to get a PHP / Postgresql thing fixed.

I am running on debian 12 and have installed postgresql, php and pdo psql. Additionally I created the needed user and database for ulogger.

I can connect with the user / pw with dbeaver and see the empty db.

Unfortunately PHP does not believe it can handle the Postgresql DB and claims in the Error message: "could not find driver"

Packages installed are:
• apt install postgresql
• apt install php
• apt install php-json
• apt install php-fpm/stable
• apt install php-pgsql/stable
• apt install postgresql postgresql-client

Any idea what I could have done wrong or which step is missed?

Thanks in advance, for any help on this question.

​:boosts_ok:​

auroraeosrose,
@auroraeosrose@phpc.social avatar

@the_halmaturus @ramsey @shawnhooper https://www.php.net/manual/en/ref.pdo-pgsql.connection.php

The prefix for the driver is pgsql:

Not psql:

Fix the dsn driver prefix in your dsn string

auroraeosrose,
@auroraeosrose@phpc.social avatar

@the_halmaturus @ramsey @shawnhooper I may have fat fingered that before and wasted 2 hours debugging lol

bobmagicii, to random
@bobmagicii@phpc.social avatar

oh snap being 2024 this is my quadranscentennial of coding pretty much exclusively in PHP.

(25 years, a quarter century)

auroraeosrose,
@auroraeosrose@phpc.social avatar

@bobmagicii I should show you my old code stash some time... I think I am the queen of unfinished projects

ramsey, to random
@ramsey@phpc.social avatar

What does LMTS stand for, as in “Software Engineering LMTS?”

auroraeosrose,
@auroraeosrose@phpc.social avatar

@ramsey lead member technical staff is correct. It's specifically Salesforce terminology as all their tech side has ts as suffixes. So smts, etc. Corps are so weird with titles and nothing really maps...

auroraeosrose,
@auroraeosrose@phpc.social avatar

@ramsey salesforce... Ugh... ERP and CRM are such a mess. Enterprise code just has more bugs lol

auroraeosrose, to random
@auroraeosrose@phpc.social avatar

Why do I always always find the bugs.
Symfony 7 forms. Set attr with id for the form. Get an extra div inside with 2 ids, one that says "form" and one that I added. Now I have duplicates id's on a page.

This has eaten my entire day.

auroraeosrose,
@auroraeosrose@phpc.social avatar

It appears to be related to 35287

Problem is an ID is not set by default on the form tag, which makes Javascript far more complex. So now I'm going to have to do complex overrides because of this absolutely stupid behavior

auroraeosrose,
@auroraeosrose@phpc.social avatar

Now I want to beat my head on the floor.

For anyone else who is getting an extra magic div in their forms right after the form tag...

Override the block form so it's just start and end. That's so weird. Everything else is still working perfectly.

I think it's beer for dinner...

bobmagicii, to random
@bobmagicii@phpc.social avatar

it will be interesting to see how long this query remains viable. its likely the most dumb sql server side relevancy sort ever invented.

auroraeosrose,
@auroraeosrose@phpc.social avatar

@bobmagicii do you have nested case statements? Allow me to shudder in bad ERP report SQL. We can have a party!

auroraeosrose, to random
@auroraeosrose@phpc.social avatar

Ziparchive not working on streams has me a bit irritated and debating yanking out the compiler.... for now a phpland zip implementation solves the issue but sad...

auroraeosrose,
@auroraeosrose@phpc.social avatar

@ramsey there's actually a way to make it work properly now with the underlying library, but there might be side effects and changing the underlying way ziparchive works might be sticky

auroraeosrose,
@auroraeosrose@phpc.social avatar

@ramsey also I'm wanting to unzip from an smb stream not zip for download... fun!

auroraeosrose, to random
@auroraeosrose@phpc.social avatar

One of the reasons I stay where I am despite the bad stuff is that we make real, physical things that are useful at the end of the day. But it also means that the problem space is often a bit different than the typical "web"

auroraeosrose,
@auroraeosrose@phpc.social avatar

@grmpyprogrammer eh, I think management who can't commit or make decisions is pretty universal honestly. I don't know why, I find it weird, but true!

kboyd, to random
@kboyd@phpc.social avatar

In PHP, should enumerator cases be in all caps? Camel case? Snake case? sPoNgEbOb CaSe?

auroraeosrose,
@auroraeosrose@phpc.social avatar

@Crell @ramsey @kboyd @phpfig Ugh, that makes things like auto pretty to human string difficult in a way underscore seperation does not... I forsee many rule overrides in my future

auroraeosrose,
@auroraeosrose@phpc.social avatar

@ramsey @Crell @kboyd @phpfig the majority of my enums need integer backed because I'm talking to 3rd party nonsense and want to not lose my mind

auroraeosrose,
@auroraeosrose@phpc.social avatar

@Crell @ramsey @kboyd @phpfig it would mean double the updates for changes and double the storage space and lots of double checking the mapping, but it would function. I think an ignore rule on cs might be easier though :)

auroraeosrose,
@auroraeosrose@phpc.social avatar

@heiglandreas @ramsey @Crell @kboyd @phpfig actually I'm not using localization for this. I work mainly in the internal enterprise tools for us manufacturing space for my enums use case. The erp stuff is the wider web super internationalized tool.... where enums make no sense.

auroraeosrose, to random
@auroraeosrose@phpc.social avatar
auroraeosrose,
@auroraeosrose@phpc.social avatar

Also closed as completed? Where's the "canceled"

  • 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