@sven@phpc.social avatar

sven

@sven@phpc.social

Open source developer.

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

Crell, to Kotlin
@Crell@phpc.social avatar

and are lightyears better than for , at least in the quality of their output. It actually reports something useful, unlike KTLint.

Dear flipping god, how do people work with tools this bad?

sven,
@sven@phpc.social avatar

@Crell we (the PHP community) are very spoiled when it comes to tooling. It’s so good!

Skoop, to random
@Skoop@phpc.social avatar

Is my search-fu leaving me, or is there no PHAR for Rector?

sven,
@sven@phpc.social avatar

@Skoop @heiglandreas this is the way.

Skoop, to random
@Skoop@phpc.social avatar

Am I the only one being sad about so many projects moving away from YAML configs towards attributes?

sven,
@sven@phpc.social avatar

@Skoop yes 😅 I’d rather work with well-typed classes than yaml files

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."

sven,
@sven@phpc.social avatar

@mwop @heiglandreas @Crell in the example it just enforces that the $name property should be publicly accessible. That’s more than just an implementation detail if you ask me 😄

ramsey, to random
@ramsey@phpc.social avatar

I sat down at my computer to work on something. I was excited to work on it. Enthusiastic! It was going to be the most productive time I’ve had in a while to work on it.

Now, I can’t remember what it was.

sven,
@sven@phpc.social avatar

@ramsey that’s the worst 🙃

grmpyprogrammer, to random
@grmpyprogrammer@phpc.social avatar

What is the unofficial motto of Composer?
https://phpc.social/@alessandrolai/112141307720394198

sven,
@sven@phpc.social avatar

@grmpyprogrammer I like this one.

heiglandreas, to random
@heiglandreas@phpc.social avatar

That's what discrimination can look like.

And I'm not thinking about the size or the fact that public transport isn't free.

It's designed to have your ticket in the right hand.

The fact that that can also mean "the correct hand" is just emphazising that....

sven,
@sven@phpc.social avatar

@heiglandreas Re: the size. The vast majority of these public transit gates in NL will also have a wider (about double the width) alternative next to it.

About the right-handedness: yes I’ve thought about this too.

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

Can someone explain how Vocaloid words? I’m trying to figure out who did the vocals/speaking on several Porter Robinson tracks, and he apparently used the Avanna voice from Vocaloid 3. So, is he the one providing the vocals, and his voice goes through the synthesizer, or is it fully generated by the synthesizer?

sven,
@sven@phpc.social avatar

@ramsey afaik Porter does his own vocalisations. At least he did live when I saw him.

Skoop, to random
@Skoop@phpc.social avatar

Not really happy with the latest WatchOS update of Apple. The "Activity" complication does not show the status of all three rings, but only the Kcal status, swipe up does not show the battery status anymore. Why? Why did they have to change this?

sven,
@sven@phpc.social avatar

@Skoop that’s been like that for a while now, no? Have I missed something or are you just late with updating? 🤪

sven,
@sven@phpc.social avatar

@Skoop huh interesting. Either way, I wasn’t too happy with the changes at first either. But like everything, I got used to it and even forgot I was annoyed with it to begin with.

sven,
@sven@phpc.social avatar

@Skoop auto updates are very flaky for me. Sometimes it’ll run them, but 9 times out of 10 I have to manually kick off an update.

sven,
@sven@phpc.social avatar

@Skoop the rings, no unfortunately. Battery status (and silent mode, theater mode, etc) can be accessed by clicking the flat button (not the crown) once.

sven, to php
@sven@phpc.social avatar

What are some good resources for building clients/SDKs in ? E.g. what should I consider, how much customization is required, what expectations are there when you pull in an API client?

andrewfeeney, to infosec
@andrewfeeney@phpc.social avatar

Suppose you have a sign in form which first accepts an email address and then proceeds to MFA steps. If you enter an email which does not match one in the system you get an error. "No matching account found" or whatever. Conversely if you enter an email which matches, you progress to the next screen. In this way you can know whether or not a particular email address is registered with the service.

What would be an alternative approach that doesn't reveal this information?

sven,
@sven@phpc.social avatar

@andrewfeeney Adobe does this. But they just expose that “email not found” error. 🤦‍♂️

sven,
@sven@phpc.social avatar

@andrewfeeney sheesh.

sven, to php
@sven@phpc.social avatar

I'm continuously surprised by how few of my co-workers at a PHP company are active in the larger PHP community (meetups, open source development, blogs, ...).

sven,
@sven@phpc.social avatar

@grmpyprogrammer yeah, that’s probably true. ☹️

sven,
@sven@phpc.social avatar

@Crell idk, I haven’t been a part of any other programming communities 😄

andrewfeeney, to random
@andrewfeeney@phpc.social avatar

jake_peralta.gif

sven,
@sven@phpc.social avatar
grmpyprogrammer, to random
@grmpyprogrammer@phpc.social avatar

My instincts to automate boring things rarely fails me. Why should I remember what order to run six commands in — a shell script will do it. Why scan a calendar all the time when reminder apps will tell me? Why impulse buy when I can send an email to future me asking if I still want it? My thermostat lowers and raises temperatures for me on a schedule. 🤷‍♂️

sven,
@sven@phpc.social avatar

@grmpyprogrammer I recently started a new job and one of the first things I did was introduce a shell script to automate running some often-used commands.

MR rejected because “just copy and paste them from the readme” 🙃

All this to say; I relate to your instincts to automate boring and repetitive tasks.

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