Advertisement · 728 × 90

Posts by Dan

Preview
Space - the Final Straw Many projects I see are organised in a way seemingly advocated by the frameworks they use. This approach is generally: src/ Command/ CleanOrdersCommand.php Controller/ PlaceOrderController.php Form/ S...

Made blog post for project structure make legacy code quick yo: www.dantleech.com/blog/2026/01...

1 month ago 0 0 0 0
Preview
Petition: Repeal the Online Safety Act We want the Government to repeal the Online Safety act.

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

8 months ago 2 4 0 0
Preview
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...

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 🐘🦀

9 months ago 2 1 0 0

Congrats!!

11 months ago 1 0 0 0
Post image

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

11 months ago 1 1 0 0

Oh look, my company's logo :)

11 months ago 10 3 0 0
Preview
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 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

1 year ago 21 9 0 0
Advertisement

Depending on possibly non existing classes or classes which may no longer meet the contract that we implemented is YOLO at its finest 😛

1 year ago 0 0 0 0

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.

1 year ago 0 0 1 0
PHP: rfc:optional-interfaces

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

1 year ago 0 2 4 0
Preview
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.

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.

1 year ago 275 87 88 56

I wouldn’t normally repost The Mail but… 🫡

1 year ago 10 1 1 0
Video

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

1 year ago 2 1 0 0

Really enjoyed giving this workshop on building an Expression Language!

1 year ago 1 1 0 0
Post image

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

1 year ago 1943 867 46 41
Portland Coastal Marathon I stopped running a week before the marathon in order to “train” for it in order to mitigate the various aches and pains that I was accumulating from over-training. Registration closed at 8:30 and my ...

Running the Portland Coastal Marathon: www.dantleech.com/blog/2025/02...

1 year ago 0 0 0 0
Post image

Oops 😬

1 year ago 77191 19303 986 843
Advertisement
Post image

Looking forward to speaking about #PHP Value Obejcts and You 🫵 at DPC on the 21st of March!

1 year ago 3 0 0 0
Preview
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 ...

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

1 year ago 2 2 1 0

lol

1 year ago 0 0 0 0

Not ... sure what you mean?

1 year ago 0 0 1 0
Preview
PHP, DTOs, C-DTO and You 🫵 In my previous post I talked about Value Objects in this post I will talk about DTOs - Data Transfer Objects. As a disclaimer the contents of this blog post represents my current opinion and any abuse...

#PHP, DTOs, C-DTO, and You 🫵 a mildly opinionated blog post

www.dantleech.com/blog/2024/12...

1 year ago 5 2 0 0
Post image

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.

1 year ago 7562 3566 451 140
Post image

So the EU has decided to standardize all chargers to USB C. That's great. Meantime in Brexit:

1 year ago 1 0 1 0
Preview
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

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

1 year ago 28 8 3 4
Post image

As someone who deals with legal documents on a near-daily basis, this is accurate.

1 year ago 3 1 0 0
Preview
The Year This Year of 2024 This is the year that was last year of the year, the year of the year, the best and worst year that was in the last year that was after the year before that. This is my story. Ownership Anxiety ¶ In J...

My Year in the Year 2024 in Years: www.dantleech.com/blog/2024/12...

1 year ago 1 0 0 0
Advertisement
Preview
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...

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

1 year ago 10 3 2 1

Go look up TIME’s 1938 Person of the Year

1 year ago 63 13 3 2