Elektrine
Log in Register
Paige Chat Timeline Gallery Friends Email Drive DNS Private DNS Domains VPN Kairo Nerve
Remote

Dan Leech

@dantleech@fosstodon.org
mastodon 4.7.3
  • Open on fosstodon.org

Developing the Phpactor (@phpactor@phpc.social) language server, PHPBench, and other stuff. Working with #PHP, #Go, Typescript. Bad musician, not good at spelling. Learning #Rust painfully.

Will upgrade your PHP projects in exchange for money. My opinions are yours unless otherwise stated

0 Followers
0 Following
49 Posts
Joined October 29, 2022
Website:
https://www.dantleech.com
Github:
https://github.com/dantleech
LinkedIn:
https://www.linkedin.com/in/daniel-leech-a32851252/
Open post
Dan Leech @dantleech@fosstodon.org
· 2w ago
note to self: if you buy a monitor that's got less screen estate than your old monitor then you will be dissapointed.
4
3
0
0
Open post
Dan Leech @dantleech@fosstodon.org
· 3w ago

Hello Daniel, I hope you don't mind me reaching out...

I do mind. Unconditionally.

3
0
1
0
Open post
Dan Leech @dantleech@fosstodon.org
· 2mo ago
My feelings towards slop are not getting better. I can no longer tell what's real and what's not: if I should be impressed, entertained, worried - if I should give something my attention at all. I don't want AI slop in my face and the only content I trust on social media is that which is created by people who hate slop as much as I do.
11
0
2
0
Open post
Dan Leech @dantleech@fosstodon.org
· 2mo ago
POV the upgrade you've been working on is faster in every single envuironment except the one you don't have access to, where it is, slower.
3
2
1
0
Open post
Dan Leech @dantleech@fosstodon.org
· 3mo ago

The interface cargo cult:

I'm seeing:

  • XInterface is registered as a service ID in the controller. OK.
  • It returns a concrete implementation.. OK.

Then:

  • The concrete implementation's class is also registerd in the DI
  • It returns the interface
  • The concrete implementation X is not retrieved via. the XInterface service but by X.
  • The "XInterface" is not used in production code
  • There is a test that tests that X implements the XInterface.

That's it.

3
1
0
0
Open post
Dan Leech @dantleech@fosstodon.org
· 2mo ago
them: so that will be £20 a month for 12 months. me: _thinks_ me: _still thinking_ me: so that's £120 a year them: ... no
2
3
0
0
Open post
Dan Leech @dantleech@fosstodon.org
· 2mo ago
  • This washing machine has AI weight-sense technology.
  • This TV has AI Brightness.
  • etc.

It's called a fucking algorithm (and if it's not then WTF are you doing)

2
1
1
0
Open post
Dan Leech @dantleech@fosstodon.org
· 2mo ago
So have put enough effort into this for now. #php package to visualize/survey installed composer dependencies: https://github.com/dantleech/depgraph
GitHub

GitHub - dantleech/depgraph: Comprehensable Composer PHP dependency diagrams for your small business or enterprise.

Comprehensable Composer PHP dependency diagrams for your small business or enterprise. - dantleech/depgraph

2
0
1
0
Open post
Dan Leech @dantleech@fosstodon.org
· 6mo ago

Blog post about #php collections and cats in pipes: https://www.dantleech.com/blog/2026/03/15/php-collections-and-you/

(ok, they're in cans, and I didn't write about them)

#php

fosstodon.org

Fosstodon

6
3
9
0
Open post
Dan Leech @dantleech@fosstodon.org
· 2mo ago
I've had some negativity in regards to Phpactor recently, mostly as it has been distributed as the default PHP LS for Zed and falls short of people's expectations in terms of usability and performance - and I've also seen it described as a "joke". "Jokes" aside I can't argue with the performance aspect and also don't have the time or energy to dedicate to it that I once had, so I put a disclaimer at the top of the README. Was nice to get some unexpected positive comments on that commit .
1
1
1
0
Open post
Dan Leech @dantleech@fosstodon.org
· 6mo ago
Replying to
@tante@tldr.nettime.org I basically blank everything after "ChatGPT/Claude/Trump said" and skip to the next paragraph.
4
1
0
0
Open post
Dan Leech @dantleech@fosstodon.org
· 7mo ago
TFW you leave pretty detailed feedback on a PR explaining why suggsetions were made and the response is: "they're mostly personal opinions, but that's ok". Like, no, they're objective suggestions to improve the code. I leave "personal opinioins" to CS fixers. Also shit day makes shit worse.
5
0
1
0
Open post
Dan Leech @dantleech@fosstodon.org
· 6mo ago

RE: @phpbench@phpc.social

and the docs include "active" examples that are tested part of the build. That's one of the things I'm happy abut with the PHPBench docs - most of the examples are run in CI.

phpc.social
4
0
0
0
Open post
Dan Leech @dantleech@fosstodon.org
· 3mo ago

corporate PC:

  • no you can't run that Rust binary
  • but I can run PHP right?
  • yep
1
0
1
0
Open post
Dan Leech @dantleech@fosstodon.org
· 6mo ago

I know I'm in the minority here, but BIG emojis and animated gifs have no place in messaging software. In fact all animation must be stopped.

3
1
1
0
Open post
Dan Leech @dantleech@fosstodon.org
· 8mo ago
Unhinged, sweary but beautifully illustrated blog post about legacy project structure: Space - the Final Straw https://www.dantleech.com/blog/2026/01/30/space-the-final-straw #php
dantleech.com
5
4
9
1
Open post
Dan Leech @dantleech@fosstodon.org
· 12mo ago

Had a great #unKonf in Mannheim, enjoyed the format and met some great people. Would unKonf again. Recommended 👍

fosstodon.org

Fosstodon

9
2
4
0
Open post
Dan Leech @dantleech@fosstodon.org
· 6mo ago

me: I'll just quickly refactor the PHPBench expression language to support `.` notation for relative paths.
me: oh god I'm pulling on this thread and it never stops.

2
1
0
0
Open post
Dan Leech @dantleech@fosstodon.org
· 6mo ago

because destroying power plants and civlian infrastructure is a proven method to win hearts and minds and end wars right.

2
0
1
0
Open post
Dan Leech @dantleech@fosstodon.org
· 6mo ago

If an app sends me marketing notifications then thats an instant uninstall. Bye AirBnb

2
0
0
0
Open post
Dan Leech @dantleech@fosstodon.org
· 6mo ago

plan: take afternoon off:

- go for a run
- draw a picture
- do some open source stuff

2
0
0
0
Open post
Dan Leech @dantleech@fosstodon.org
· 6mo ago
Replying to
@shochdoerfer @alessandrolai @LeedsPHP @phpugmrn it would be awesome if a federated service got traction. Commercial products always risk being incentivised to enshittify when they have critical mass and then you just have another meetup situation 😅
2
1
1
0
Open post
Dan Leech @dantleech@fosstodon.org
· 7mo ago
Replying to
@edorian it already exists! https://docs.phpunit.de/en/12.5/attributes.html#testwith
docs.phpunit.de
2
2
0
0
Open post
Dan Leech @dantleech@fosstodon.org
· 6mo ago

oh no. I asked "what if my home server could be my smart TV" and it led me to KDE Plasma:

https://wiki.nixos.org/wiki/KDE#Installation

Entering another rabbithole.

wiki.nixos.org

KDE - Official NixOS Wiki

KDE Plasma is a desktop environment that aims to be simple by default, powerful when needed.

1
1
0
0
Open post
Dan Leech @dantleech@fosstodon.org
· 6mo ago

Just found a grainy and distorted phone video of me playing Chopin's Ballade No 1. in 2008.

I didn't read music fluently at the time (and I can barely do so now). But I learnt by a combination of muscle memory, ear and slowly counting notes on the staves over many many months.

All forgotten now.

1
0
0
0
Open post
Dan Leech @dantleech@fosstodon.org
· 6mo ago
Replying to
@sephster couple it with Nix Flakes for a handiness multiplier
1
2
0
0
Open post
Dan Leech @dantleech@fosstodon.org
· 6mo ago

Have added a "line item" view to my plain-text-time-logging TUI. Along with Phactor this is the only other one of my projects that I use frequently. I have logged 866 days so far since October 2022.

For some reason I also made the worst DSL for filtering.

https://github.com/dantleech/pttlog

github.com
1
0
1
0
Open post
Dan Leech @dantleech@fosstodon.org
· 9mo ago

@DaveLiddament thanks for this series, I learnt a few new things. happy xmas!

(also not sure you covered --onto - that's one of the tricks I learned over the past years)

2
2
0
0
Open post
Dan Leech @dantleech@fosstodon.org
· 6mo ago

Maintaining a feature branch. Feel like that greek person trying to push a rock up a hill but people are pushing it from the other side. Also it makes me the its-too-late-its-already-merged reviewer of code thats so awful I want to cry.

1
3
1
0
Open post
Dan Leech @dantleech@fosstodon.org
· 6mo ago

ok, spent maybe 5 (!?) hours today updating the @phpbench@phpc.social expression language to support generating the JSON required to feed the `github-action-benchmark` github action and getting it all running on Phpactor.

https://phpactor.github.io/phpactor/dev/bench/

Next I guess I'll document how to set it up.

PHPBench 1.6 released: https://github.com/phpbench/phpbench/releases/tag/1.6.0

Haven't spent that long doing any O/S in ages. Tired. 😆

phpactor.github.io
1
0
0
0
Open post
Dan Leech @dantleech@fosstodon.org
· 6mo ago
Replying to
@markusstaab@phpc.social @Romm@mastodon.social fww I've just added support for JSON output in master branch of PHPBench and considering supportng that GH action output format directly (although it can also be a copy/paste JSON config) 🤔
1
0
0
0
Open post
Dan Leech @dantleech@fosstodon.org
· 6mo ago
Replying to
@jaapio@phpc.social @peach@phpc.social https://github.com/tmate-io/tmate is interesting. But surely the bigger barrier is teaching/converting your co-workers VIM 😅 (hmm, tmate doesn't look so alive)
GitHub

GitHub - tmate-io/tmate: Instant Terminal Sharing

Instant Terminal Sharing. Contribute to tmate-io/tmate development by creating an account on GitHub.

1
0
0
0
Open post
Dan Leech @dantleech@fosstodon.org
· 7mo ago
Replying to
@edorian I'm quite enamoured with #TestWith([1,2,3]) but I wonder if I can pass closures as arguments with that 🤔
1
2
0
0
Open post
Dan Leech @dantleech@fosstodon.org
· 8mo ago
Replying to
@mintopia@phpc.social sounds interesting! I need to start preparing for my talk.. 👀
1
1
0
0
Open post
Dan Leech @dantleech@fosstodon.org
· 6mo ago
Replying to
@sephster ja. i love it.
0
0
0
0
Open post
Dan Leech @dantleech@fosstodon.org
· 2mo ago
you know it's hot when you're still pouring sweat 20 minutes after finishing a run.
0
1
0
0
Open post
Dan Leech @dantleech@fosstodon.org
· 2mo ago
Replying to
@brunty@brunty.social "they tried to be clever" is Go's problems in a nutshell 🤣
0
1
0
0
Open post
Dan Leech @dantleech@fosstodon.org
· 2mo ago
Replying to
@loicfaugeron@phpc.social https://www.tiktok.com/@nofxer999/video/7182129834716302598
tiktok.com
0
1
0
0
Open post
Dan Leech @dantleech@fosstodon.org
· 2mo ago
F-Keys are a lie in 2026 (and probably since 2006 when laptop manufacturers unaimously agreed that it was too expensive to have dedicated media buttons).No I can't use them on MacOS due to every combination I can think of resulting in some random shitty MacOS thing happening and nothing gets through to Kitty.
0
1
0
0
Open post
Dan Leech @dantleech@fosstodon.org
· 6mo ago
Replying to
@brunty hmm, the thumb trick does not work for me 🤔
0
4
0
0
Open post
Dan Leech @dantleech@fosstodon.org
· 6mo ago
Replying to
@loicfaugeron@phpc.social would be very interesting for Phactor - my only concern is how much you can trust the upstream provider of the PHP "binary"- but maybe it's already establushed enough that we're "past that" ?
0
1
0
0
Open post
Dan Leech @dantleech@fosstodon.org
· 6mo ago

grr. trying to build Python RST docs locally for the first time in years is not fun. Also I ran 15 miles yesterday and the sun is shining and I want to run another 15 but I know if I do I will destroy my legs.

0
0
0
0
Open post
Dan Leech @dantleech@fosstodon.org
· 2mo ago
Replying to

@george@phpc.social although now the opposite is true and cam't use the media keys even when holding down the magic fn button. oh well 🤣

0
1
0
0
Open post
Dan Leech @dantleech@fosstodon.org
· 22mo ago
Replying to
@HerveRenault @phpactor yeah after 8 years figured it was about time to fix that 😅
0
0
0
0
Open post
Dan Leech @dantleech@fosstodon.org
· 31mo ago
Replying to
@spacebuffer@fosstodon.org @phpactor@phpc.social yeah, will be better when it works in more places, hopefully something for the next release :)
0
2
0
0
Open post
Dan Leech @dantleech@fosstodon.org
· 2mo ago

Dan 3(?) with a KVM setup switching between personal and client-provided laptop.

  • Switching takes around 4 seconds which is pretty annoying.
  • The Keychron Q17 is nice but I can't type well on it yet :/
  • Having a single USB-C cable going to each laptop is great.
  • This setup kinda suggests getting a webcam + mic - also annoying.
  • The Mac insits on having a "mac" keyboard layout even when selecting Britsh PC (that was one of the problems I had intended to solve)
0
2
0
0
Open post
Dan Leech @dantleech@fosstodon.org
· 2mo ago
Replying to
@george@phpc.social ah yeah that works 👍️ thanks
0
2
0
0
Open post
Dan Leech @dantleech@fosstodon.org
· 6mo ago
Is anybody capable of doing the two-fingered "right click" on a Mac? Or is is something that Mac users tend to simply not do? Is there something wrong with my fingers?
0
5
0
0
Open post
Dan Leech @dantleech@fosstodon.org
· 23mo ago
Replying to
@GeeH@phpc.social a compiler 🧐
0
0
0
0
Back
313k7r1n3
Elektrine

Tor hidden service

elekhj7afj4qnrr4yd3bkzslsyo5jgfxw3orgjkhlcxifueodybyiiad.onion

I2P eepsite

j6b6cyk6gjmepjih7jjadxgxvvf3lzzujljuu2v4biemzpg3naya.b32.i2p

Platform

  • Email
  • Chat
  • Timeline
  • VPN
  • DNS

Company

  • About
  • Contact
  • FAQ
  • Lite (no JS)

Legal

  • Terms of Service
  • Privacy Policy
  • Transparency Report
  • Report Abuse
  • Warrant Canary
  • VPN Policy

Support

  • support@elektrine.com
  • Report Security Issue
Mail client setup IMAP mail.elektrine.com:993 POP3 mail.elektrine.com:995 SMTP mail.elektrine.com:465
© 2026 Elektrine. All rights reserved. Server: 03:03:31 UTC