@phphil@phpc.social avatar

phphil

@phphil@phpc.social

Software Engineer based in 🇨🇭 working with #php on #payments, #accounting and #reconciliation.

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

OndrejMirtes, to random
@OndrejMirtes@phpc.social avatar

We have a date! PHPStan 1.11 with error identifiers, PHPStan Pro reboot, checking truthiness of @​phpstan-pure, and new callable-related PHPDoc tags, is almost finished & is going to be released one week from now 🙌
https://phpc.social/@OndrejMirtes/112279892917977486

molly0xfff, (edited ) to crypto
@molly0xfff@hachyderm.io avatar

Kickstarter's bizarre blockchain announcement in December 2021 makes so much more sense now that we know Andreessen Horowitz secretly promised them $100 million to pivot to a blockchain-based product built on the also-a16z-backed Celo blockchain.

At the time, I wondered why COO Sean Leow was so insistent on the move despite being apparently very confused about the whole concept.

https://fortune.com/crypto/2024/03/11/kickstarter-blockchain-a16z-crypto-secret-investment-chris-dixon/
(archive: https://web.archive.org/web/20240311124253/https://fortune.com/crypto/2024/03/11/kickstarter-blockchain-a16z-crypto-secret-investment-chris-dixon/)

inthehands, to random
@inthehands@hachyderm.io avatar

Cheng Heng restaurant in St. Paul. Great food, full of heart, truly a neighborhood place where you see all kinds of people eating side by side — and the owners are some of the nicest people you’ll ever meet. (They’re extremely proud of their son who works for NASA.) So good.

inthehands,
@inthehands@hachyderm.io avatar

Our investment-driven economy rewards growth so heavily it’s just completely skewed our idea of what “success” looks like. I’m talking about the enshittification cycle (middle player capturing both sides of a market and then squeezing them dry), yes, but not only that. I’m talking all the variations on nothing counting as success except •growth• and •extraction•.

Sustainability? Just being a lovely restaurant for 20+ years? Bah! What about taking it to the next level? Where’s the ROI??

GeschichteFM, to random
@GeschichteFM@hemmer.land avatar

Neue Folge über eine der bekanntesten Detekteien der Welt. Ihr Gründer, Allan Pinkerton, verhinderte vielleicht einen Anschlag auf Abraham Lincoln – ab den 1870er-Jahren wurden Pinkerton-Agenten aber vor allem engagiert, um Streiks niederzuschlagen.

https://www.geschichte.fm/archiv/gag438/

sjvn, to random
@sjvn@mastodon.social avatar

I love Elle Cordova and her clever, funny videos. This one is for all my writer and editor friends.

video/mp4

freakonometrics, to random French
@freakonometrics@mastodon.social avatar

idiot detection system...

video/mp4

w3c, (edited ) to random
@w3c@w3c.social avatar

W3C has posted that we are no longer active on X/Twitter and have directed all our followers here to Mastodon.

We are encouraging all W3C-related accounts to do the same.

Encourage your friends to follow us here!

phphil, to php
@phphil@phpc.social avatar

Is there a fun story behind the new https://www.php.net/manual/en/function.str-increment.php / str_decrement functions in ? Sounds like a feature someone needed for a very particular use case. Surprised something like that made it from userland into PHP.

Girgias,
@Girgias@phpc.social avatar

@shawnhooper @phphil RFC author here.
You never could decrement strings, but the main reason to introduce it is to provide a pathway for people relying on string increments which doesn't have total bonkers behaviour (try incrementing "4d9" twice and see the result).

Also string increment with ++ is not officially deprecated yet in 8.3, but will be in a later release (again to provide a deprecation free path away from the ++ operator).

mattblaze, to random
@mattblaze@federate.social avatar

36 years ago today was the Max Headroom TV STL hijacking. https://en.wikipedia.org/wiki/Max_Headroom_signal_hijacking

I regard this incident as the best and purest hacking prank in modern history. The combination of sophisticated, meticulous technical planning and execution, utterly juvenile content, essential harmlessness, lack of financial motive, and never getting caught or identified (or later taking credit) remains, in my opinion, unmatched to this day.

Pure art.

kaiarzheimer, to random

Project management simplified. You may thank me later.

SWR2Wissen, to random German

Wann ist Israelkritik antisemitisch?

Kritik an konkreten Handlungen ist legitim. Mithilfe der 3-D-Regel lässt sich prüfen, unter welchen Bedingungen Israelkritik jedoch antisemitisch ist. Doch sie hat auch Grenzen.

https://www.swr.de/wissen/1000-antworten/wann-ist-israelkritik-antisemitisch-100.html

ewolff, to twitter
@ewolff@mastodon.social avatar

/ X is losing money, user, market share and value. BUT THEY DECREASED THEIR INFRASTRUCTURE COSTS BY 60%!!!!! Don't you want to be like Twitter?
https://world.hey.com/dhh/x-celebrates-60-savings-from-cloud-exit-7cc26895
Question: How much less traffic is Twitter handling now? 60%?

mjg59, to random
@mjg59@nondeterministic.computer avatar

PLEASE check your kids' Halloween candy. Just found an Okta admin access token in a Snickers bar.

beberlei, to random
@beberlei@phpc.social avatar

Almost 13 years after Doctrine ORM 2.0 was released there is now the first beta version for Doctrine ORM 3.0: https://github.com/doctrine/orm/releases/tag/3.0.0-beta1

Thanks @greg0ire @SenseException @derrabus @mpdude and Sergei.

molly0xfff, to crypto
@molly0xfff@hachyderm.io avatar

From yesterday's exhibits in US v. Sam Bankman-Fried:

The prosecution shows that the "insurance fund" that FTX bragged about was fake, and just calculated by multiplying daily trading volume by a random number around 7500

FTX @FTX_Official The 5.25 million FTT we put in our insurance fund in 2019 now makes the fund worth over 100 million USD https://ftx.com/status Screenshot: Backstop Fund Size: 5,478,274.51613972 USD, 5,250,000.000000000 FTT Last updated: 14/02/2021, 08:05:00

mttaggart, to random

Hey, good job patching all your browsers for the latest WebP vulnerabilities (there's a new one today, btw).

Know what probably didn't get updated?

Yeah, all those Electron apps.

Mastodon, to mastodon
@Mastodon@mastodon.social avatar

#Mastodon 4.2 is rolling out across the social web! On our quest to make Mastodon more delightful and easy to use, we've overhauled search, sign-ups, cross-server interactions and a whole lot more:

https://blog.joinmastodon.org/2023/09/mastodon-4.2/

feditips, to random
@feditips@mstdn.social avatar

The latest version of Mastodon (4.2.0) brings full text search, so you can search by words instead of hashtags.

However, for privacy reasons this only includes posts by people who have actively opted into full text search.

If your server is updated to 4.2.0 and you want to opt into full text search:

  1. Log into your server's website
  2. Click your profile icon
  3. Click "Edit Profile"
  4. Click tab "Privacy & Reach"
  5. Tick box "Include Public Posts In Search results"
  6. Click "Save Changes"
fediversereport, to random
@fediversereport@mastodon.social avatar

The Swiss Government has officially launched their Mastodon server at https://social.admin.ch/

In their official press release the Government confirms it is a trial for one year. They state that "Mastodon has several characteristics that make it fundamentally attractive for government communications", such as being beyond the control of others, as well as it being privacy friendly.

Official press release: https://www.admin.ch/gov/de/start/dokumentation/medienmitteilungen.msg-id-97696.html

Speaker of the Swiss Government: @gov

twostraws, to random
@twostraws@mastodon.social avatar

UK folks: I’ve spent months creating a huge, free school resource aimed at helping kids aged ~11-19 get into cybersecurity. The site includes over 250 capture the flag-style challenges, plus a huge simulated hack story to finish. 100% free! https://www.hacktivate.io

Crell, to php
@Crell@phpc.social avatar

The most important metric for automated testing is "if the tests all pass, how comfortable am I just hitting deploy?"

Code coverage, test count, and all your other measurements can and should inform that metric, but ultimately that's the only metric that matters.

#PHP #Testing #Programming

frainfostudent, to random

Also, one of many great sights from / .

nick_tune, to random
@nick_tune@hachyderm.io avatar

A wooden table is made from wood.

A glass table is made from glass.

Why is a coffee table not made from coffee?

This is actually relevant to domain modelling: sometimes we name things after their properties and sometimes their purpose.

And sometimes we're talking about the same physical thing from the perspective of a different subdomain where it has a different name.

These factors also play a role in determining how we decide to shape boundaries.

grumpygamer, to random
@grumpygamer@mastodon.gamedev.place avatar

Wonderfully funny and informative talk from @dylanbeattie

https://www.youtube.com/watch?v=mrGfahzt-4Q

molly0xfff, to crypto
@molly0xfff@hachyderm.io avatar

a blockchain organization and an oil company collaborate to fix the climate

https://www.gitcoin.co/blog/gitcoin-shell-collaboration

molly0xfff,
@molly0xfff@hachyderm.io avatar

next up:
• nike and nestle team up to improve child labor conditions
• u.s. army and palantir work together to advocate demilitarization
• amazon and pinkerton join forces to support trade unions

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