Dan
@dantleech.bsky.social
91 followers 72 following 22 posts
Developing Phpactor language server, PHPBench, and other stuff. Working with #PHP, #Go, Typescript. Bad musician, not good at spelling. Learning #Rust painfully. Contractor! My opinions are yours unless otherwise stated. https://fosstodon.org/@dantleech
Posts Media Videos Starter Packs
Reposted by Dan
asgrim.dev
UK folks should sign this petition (which I know never makes a difference, because why would the government actually listen to people?) but worth a shot. Starting to see effects of this roll out and it's making me angry 🙄

petition.parliament.uk/petitions/72...

#OSA #OnlineSafetyAct #UK #UKPolitics
Petition: Repeal the Online Safety Act
We want the Government to repeal the Online Safety act.
petition.parliament.uk
Reposted by Dan
dantleech.bsky.social
I've been working on an DBGP (Xdebug) step-debugging TUI. It allows you to step forwards and backwards, shows inline values and has vim-like key bindings. This release includes a macos build.

github.com/dantleech/de...

#php #rust #xdebug
Reposted by Dan
edorian.bsky.social
Oh look, my company's logo :)
chadwhitacre.com
Yesterday, @opensourcepledge.com was on Nasdaq Tower in Times Square. I got to be there for it! Thank you to Nasdaq and congratulations to all of the featured companies who #paythemaintainers! 👏 What a great way to keep celebrating #maintainermonth! 💃
Reposted by Dan
mnapoli.bsky.social
✦ Bref Cloud is live ✦

Modern PHP hosting should be simple: instantly scalable, redundant, monitored, and secure.

Get the best of AWS and serverless with an intuitive dashboard and CLI. No need to become an AWS expert

try it out ↓
bref.sh/cloud
Bref Cloud - Serverless PHP hosting on AWS Lambda - powerful, scalable, simple – Bref
Deploy PHP applications on AWS Lambda for unlimited scalability and enterprise-grade reliability. Get all the power of serverless without the complexity.
bref.sh
dantleech.bsky.social
Depending on possibly non existing classes or classes which may no longer meet the contract that we implemented is YOLO at its finest 😛
dantleech.bsky.social
If it may or may not be included then it may or may not work 😅 we can already write adapter classes and more correctly, put them in separate packages with hard dependencies on the versions they actually support. It's just effort - and probably that's really the problem that needs to be solved.
Reposted by Dan
matthewtrask.com
Why would I sign a contract and then ignore it?

This feature seems odd, and not sure why so many people are voting yes.

wiki.php.net/rfc/optional...
PHP: rfc:optional-interfaces
wiki.php.net
Reposted by Dan
nytimes.com
Meta won a legal victory on Wednesday against a former employee who published an explosive, tell-all memoir, as an arbitrator temporarily prohibited the author from promoting or further distributing copies.
Meta Seeks to Block Further Sales of Ex-Employee’s Scathing Memoir
An arbitrator has prevented the employee from promoting her book and disparaging the company until private arbitration concludes.
www.nytimes.com
Reposted by Dan
philsturgeon.com
I wouldn’t normally repost The Mail but… 🫡
mattmfm.bsky.social
The Mail, a staunchly right-wing newspaper in the UK, uses their Sunday edition to lambast ‘bully’ Trump and call for his state visit to be scrapped.
Reposted by Dan
veewee.bsky.social
Spent the day improving my workflow!

Introducing the "wsdl inspect:ui" command which opens up a TUI to inspect what information we know about your WSDL.

#php #soap
dantleech.bsky.social
Really enjoyed giving this workshop on building an Expression Language!
nor.dev
Expression Languages? What are they, why are they, when are they?
Reposted by Dan
claesdevreese.bsky.social
As Vance 'lectures' Europe on free speech, it is good to be reminded that the United States ranks 55 (!) on the World Press Freedom Index.

The top 10 countries are ALL in Europe.

#journalism #democracy #freepress

rsf.org/en/index
dantleech.bsky.social
Looking forward to speaking about #PHP Value Obejcts and You 🫵 at DPC on the 21st of March!
dantleech.bsky.social
Not ... sure what you mean?
Reposted by Dan
harryeccles.bsky.social
I seem to have upset the Nigel Farage fan club - so let me be clear.

This man sows hate, lies and division.

He is a grifter and a conman.

He does not represent the vast majority of Britons.

Repost if you agree

P.s. multiculturalism is great.
dantleech.bsky.social
So the EU has decided to standardize all chargers to USB C. That's great. Meantime in Brexit:
Reposted by Dan
shawnmc.cool
I got tired of mocking frameworks in class-based languages, so I created the simplest, most compatible, and most powerful mocking library that I could imagine. It's great for PHP / Java and other class-based languages.

github.com/ShawnMcCool/...
GitHub - ShawnMcCool/ultra-mock: A mocking framework for testing any class-based programming language.
A mocking framework for testing any class-based programming language. - ShawnMcCool/ultra-mock
github.com