Dan
dantleech.bsky.social
Dan
@dantleech.bsky.social

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
Reposted by Dan
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
July 23, 2025 at 5:38 AM
Reposted by Dan
The mago-analyzer PR is up! 🚀 It's still a work-in-progress before we merge, but all the details are inside.

For the brave who wish to suffer, the code is available for your viewing pleasure.

🔗 github.com/carthage-sof...

#php #rust #mago #staticanalysis 🐘🦀
feat: introduce codex, algebra, and analyzer by azjezz · Pull Request #230 · carthage-software/mago
This pull request introduces the new analyzer crate, along with its core dependencies: codex and algebra. This lays the foundational infrastructure for type analysis by defining the core data struc...
github.com
July 11, 2025 at 1:46 AM
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
May 10, 2025 at 7:26 PM
Reposted by Dan
Oh look, my company's logo :)
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! 💃
May 7, 2025 at 8:53 PM
Reposted by Dan
✦ 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
March 21, 2025 at 12:30 PM
Reposted by Dan
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
March 15, 2025 at 3:25 AM
Reposted by Dan
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
March 13, 2025 at 2:30 AM
Reposted by Dan
I wouldn’t normally repost The Mail but… 🫡
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.
March 2, 2025 at 1:22 PM
Reposted by Dan
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
February 28, 2025 at 2:40 PM
Really enjoyed giving this workshop on building an Expression Language!
Expression Languages? What are they, why are they, when are they?
February 27, 2025 at 9:44 AM
Reposted by Dan
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
February 16, 2025 at 8:59 AM
Reposted by Dan
Oops 😬
February 8, 2025 at 1:50 AM
Looking forward to speaking about #PHP Value Obejcts and You 🫵 at DPC on the 21st of March!
January 31, 2025 at 10:54 AM
Create an expression langauge in #php or another #programming language in one our or more (or read in 5 minutes or less) with my patented* expression langauge recipe (blog post) with added Godzilla:

www.dantleech.com/blog/2025/01...
The One Hour Expression Language
This blog post is based on a talk I did entitled The One Hour Expression Language and aims to provide a review of both the concepts and the code in that talk1. An expression language2 in our sense is ...
www.dantleech.com
January 19, 2025 at 9:49 AM
Reposted by Dan
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.
December 27, 2024 at 9:55 AM
So the EU has decided to standardize all chargers to USB C. That's great. Meantime in Brexit:
December 28, 2024 at 6:31 PM
Reposted by Dan
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
December 28, 2024 at 12:50 PM
Reposted by Dan
As someone who deals with legal documents on a near-daily basis, this is accurate.
December 25, 2024 at 1:37 PM
Reposted by Dan
Food is a complicated topic, especially trying to balance nutrition with lower climate impacts and animal welfare, but I’ve taken a stab at explaining a bunch of it here with no nonsense or judgement. philsturgeon.com/unf-king-the...
Unf**king the Climate - Part 2: Food
Talking about food gets loud and ideological, but we're going to have a judgement free chat about livestock, flexitarianism, veganism, and my favourite: the invasivore diet. Let's fix the planet a lit...
philsturgeon.com
December 20, 2024 at 12:11 PM
Reposted by Dan
Go look up TIME’s 1938 Person of the Year
time.com TIME @time.com · Dec 12
Donald Trump is TIME's Person of the Year time.com/7200212/pers...
December 12, 2024 at 2:17 PM
I don't like the whole "can't edit posts" feature on this platform. Editing posts is basically my thing.
December 10, 2024 at 11:43 AM