@oliver@phpc.social avatar

oliver

@oliver@phpc.social

Earning a living with #PHP since 2005. In love with modernizing legacy codebases, excited by mission critical features.

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

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

Switched from desktop to last week, so far so good. Everything runs way faster, and the effect on battery life is noticeable as well. The only thing I had to do exra was docker-compose up --force-recreate since a network has been missing.

https://orbstack.dev/

louis, to random
@louis@emacs.ch avatar

Starting work tomorrow with external monitor removed, single Laptop screen only. Trying to increase focus time.

Did anyone have success with that approach?

oliver,
@oliver@phpc.social avatar

@louis I tried using 2 screens several times, and couldn't get used to that setup.

One screen, and one window at a time is what works the best for me. Also, notifications configured in such a way that I don't see or hear them until I want so, with just a few exceptions (e.g. meeting reminders).

djumaka, to random
@djumaka@phpc.social avatar

I must have something wrong with me, if I'm spending a fun evening a day before NY Eve coding and having fun with unit tests, instead of sleeping or something festive, IDK. Wife/kids are sound asleep, so I guess this is a bit of a me-time...

oliver,
@oliver@phpc.social avatar

@djumaka no distractions, perfect time to finish something that's been on your mind during the day, or just to reflect on stuff. but, don't start working on something because you may be surprised to see the sun rise up 😄

cebe, to random German
@cebe@phpc.social avatar

How do you choose a frontend stack for 2024?
Backend is PHP and has an API for all possible actions.

oliver,
@oliver@phpc.social avatar

@cebe choose something that won't make you lose your mind and/or make you spend an insane amount of time to build & maintain.

oliver,
@oliver@phpc.social avatar

@cebe I'm in the backend world 99.9% and the remaining 0.01 is some jQuery, for the past... many many years. I can offer a tap on the back or a shoulder to cry on 😄

On a more serious note, I'd really try to start with something very simple. In fact, if the web (browser) is the only frontend that the app has, then I wouldn't use any frontend framework. Vanilla js, jQuery or something similar at most.

GeeH, to random
@GeeH@phpc.social avatar

It's 6am can't sleep mattress fucked send help

oliver,
@oliver@phpc.social avatar

@GeeH at least you know what's the problem. In my case it took several months of waking up more tired than before going to bed to realise that the stupid mattress is to blame.

trunksapp, to random
@trunksapp@mastodon.social avatar

Integrating generative AI is really simple and all the hotness right now, but I'm not going to do it.

trunks is free, and to keep it free I need to keep costs down.

Luckily, that should be relatively easy when on device models are available across most platforms, and those will be much more private than sharing your images or text with a generative model in the cloud.

oliver,
@oliver@phpc.social avatar

@trunksapp I wouldn't mind paying for a premium version (reasonable price for features I'd need), but I'd probably switch to another app should the trunks incorporate anything "AI" 🙃

paninid, to LLMs
@paninid@mastodon.world avatar

Synthetic machines which are purpose-built to automate synthetic websites containing synthetic content (which are not protected IP), and are then re-ingested by other synthetic machines to generate more unprotected synthetic content is a good way to cause and also pollute our information ecosystem.

I feel like were Chernobyl of the internet and everyone is inside the containment zone.

https://www-bbc-com.cdn.ampproject.org/c/s/www.bbc.com/news/technology-67826601.amp

oliver,
@oliver@phpc.social avatar

@paninid
> What are we doing here?

Inflating a balloon 😬

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

I know things are rough for tech folks right now but wanted to put out there that I will be doing small remote training sessions over Zoom. Small classes (3-4 folks and me) in the evening Eastern US time for maybe 90 minutes a session for 4-6 sessions. US$200. Need to firm up the materials but email me chartjes AT grumpy-learning.com. Might do a version for the same price that is just recordings.

oliver,
@oliver@phpc.social avatar

@ramsey codeception is good, too, especially for apps that are (near) impossible to write unit tests for.

Clicking around is slow even when automated, but it does the job well when you need to refactor something to a more sane level, and you don't want to manually do everything all the time (especially when getting to a crucial point is cumbersome)

oliver, to Cats
@oliver@phpc.social avatar

That look 😄

oliver,
@oliver@phpc.social avatar

@ilijastuden Donio je ti iz Egipta :)

oliver,
@oliver@phpc.social avatar

@oliver ima na toj polici još nešto što ti je poznato 😄

oliver,
@oliver@phpc.social avatar

@ilijastuden ima na toj polici još nešto što ti je poznato (a nije vjetrenjača)

oliver, (edited )
@oliver@phpc.social avatar

@ilijastuden ova 😄 donedavno je stajala u šteku sa još nekim. Prije par dana uzmemo ove police, krene redanje knjiga i kad sam vidio ovu... to nije moja knjiga 🤦🏼‍♂️

cammerman, to random
@cammerman@mstdn.social avatar

The great dirty secret of the software industry is that an awful lot of the work that is critical to sustainably build and maintain a software system/product/whatever only happens in the wild because one person with a little extra care and a little extra time decided "I'm not going to wait for this to get priority. I'm not going to wait for permission. I'm just going to do this because it should be done, and damn the consequences."

oliver,
@oliver@phpc.social avatar

@cammerman yep, that's me. Except that the process of integrating the changes isn't so much "foot in the door". I usually do the work upfront and then parachute the ticket(S) at the beginning the sprint, when the changes are ready for QA. It sucks, but it works.

oliver, to random
@oliver@phpc.social avatar

This month long code freeze is killing me. reported several thousands of errors and it's a real struggle to organise pull requests in any meaningful way while everything is on hold until January 🥶

grmpyprogrammer, to random
@grmpyprogrammer@phpc.social avatar

An Intern curious about what is for breakfast

oliver,
@oliver@phpc.social avatar

@grmpyprogrammer this one always runs to sit on the chair, but is never satisfied with the offerings

ramsey, to random
@ramsey@phpc.social avatar

I haven’t written any code in almost a month—not even for open source projects.

oliver,
@oliver@phpc.social avatar

@theshaunwalker "like I'm all thumbs" reminded me of something :)

A bit more than 10yrs ago I suffered a very severe burnout. It took a full year before my mind was somewhat at peace with looking and understanding any kind of code. It was a strange feeling to eventually start solving problems by coding stuff, but pleasant in general. However, actually typing the code was quite a challenge for a month or so; I literally lost that feeling in my hands, it was like I'm using someone else's fingers

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

Air is so bad tonight in Sarajevo, Bosnia and Herzegovina, that my phone warned me that its lens is dirty when I tried to snap a photo of it.

kellan, to random
@kellan@fiasco.social avatar

Where is the content talking about contemporary software development issues? Like "How to migrate away from GraphQL?", "Maintaining software that was written by a team twice this size", "HTML and CSS for React Engineers", etc?

oliver,
@oliver@phpc.social avatar

@kellan how would you call this thing: Promote all good devs to management positions, then hire whoever you can to make up for those devs, but after years of such practice still not be able to figure out what the f is going on

arnan, to random

When I was about 10 years old I read a book series…
But I only remember that it was a 6 or 8 part book series was very good, it had magic in it and that one country had red gold as a thing and the main characters had a magic stone that couldn’t track people over water…

I’ve been trying to find those books, but damn is it frustrating to not remember anything else except where they were in the library, and knowing you want to read it again…

Really good books though. I think. 😩

oliver,
@oliver@phpc.social avatar

@arnan I'm not a fan of today's "AI", but... Gpt3.5 told me (I didn't fact-check it):

It sounds like you might be referring to the "Inheritance Cycle" series by Christopher Paolini. In this series, there's a magical world with various types of magic, and one of the countries, Alagaësia, has a precious material called "red gold." The main characters possess a magical object called a "Rider's stone" or "elf stone," which cannot track individuals over water.

oliver,
@oliver@phpc.social avatar

@arnan Damn. It did seem like a wrong answer because the titles were a bit too young.

I have a couple of those books that I am not able to remember, too, so I kinda get the frustration. I hope I will figure them out some day.

Meanwhile, is "The Belgariad" maybe the answer to your question?

oliver,
@oliver@phpc.social avatar

@arnan too bad. Maybe try with GPT4 (if you or someone you know has a subscription), in case its model has read more books :) or, maybe turn to Reddit? There must be a community for that!

dseguy, to php French
@dseguy@phpc.social avatar

Class invasion, it when an object access anything it wants in another object of the same class. Thanks to the way checks each object's perimeter.

The same checks allow the other object to access the current one's, as seen in that example.

https://3v4l.org/9XWmu

https://php-dictionary.readthedocs.io/en/latest/dictionary.html#class-invasion

oliver,
@oliver@phpc.social avatar

@dseguy reading it carefully... yes, it kinda makes sense that it's allowed to work that way, because it is, well, INSIDE the parent class. But, I would really hate to work with such codebase. Why would anyone intentionally want to write something like that 🤯

joschi, to macos

OrbStack, worth it on macOS with Apple Silicon?
🔗 https://orbstack.dev/

oliver,
@oliver@phpc.social avatar

@antonanders @joschi I've gave it a shot last week and it's running smooth. Maybe worth trying again, they've had a couple of releases in the meantime with numerous fixes: https://docs.orbstack.dev/release-notes

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