Elektrine lite

← Feed

Dan Leech

dantleech@fosstodon.org

<p>Developing the Phpactor (<a href="https://phpc.social/@phpactor" target="_blank" rel="nofollow noopener" translate="no"><span class="invisible">https://</span><span class="">phpc.social/@phpactor</span><span class="invisible"></span></a>) language server, PHPBench, and other stuff. Working with <a href="https://fosstodon.org/tags/PHP" class="mention hashtag" rel="tag">#<span>PHP</span></a>, <a href="https://fosstodon.org/tags/Go" class="mention hashtag" rel="tag">#<span>Go</span></a>, Typescript. Bad musician, not good at spelling. Learning <a href="https://fosstodon.org/tags/Rust" class="mention hashtag" rel="tag">#<span>Rust</span></a> painfully.</p><p>Will upgrade your PHP projects in exchange for money. My opinions are yours unless otherwise stated</p>

Posts

  • View post

    &gt; Hello Daniel, I hope you don&#39;t mind me reaching out... I do mind. Unconditionally.

  • View post

    note to self: if you buy a monitor that&#39;s got less screen estate than your old monitor then you will be dissapointed.

  • View post

    Is anybody capable of doing the two-fingered &quot;right click&quot; on a Mac? Or is is something that Mac users tend to simply not do? Is there something wrong with my fingers?

  • View post

    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&#39;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 &quot;mac&quot; keyboard layout even when selecting Britsh PC (that was one of the problems I had intended to solve)

  • View post

    POV the upgrade you&#39;ve been working on is faster in every single envuironment except the one you don&#39;t have access to, where it is, slower.

  • View post

    My feelings towards slop are not getting better. I can no longer tell what&#39;s real and what&#39;s not: if I should be impressed, entertained, worried - if I should give something my attention at all. I don&#39;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.

  • View post

    you know it&#39;s hot when you&#39;re still pouring sweat 20 minutes after finishing a run.

  • View post

    I&#39;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&#39;s expectations in terms of usability and performance - and I&#39;ve also seen it described as a &quot;joke&quot;. &quot;Jokes&quot; aside I can&#39;t argue with the performance aspect and also don&#39;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...

  • View post

    them: so that will be £20 a month for 12 months. me: _thinks_ me: _still thinking_ me: so that&#39;s £120 a year them: ... no

  • View post

    - This washing machine has AI weight-sense technology. - This TV has AI Brightness. - etc. It&#39;s called a fucking algorithm (and if it&#39;s not then WTF are you doing)

  • View post

    So have put enough effort into this for now. #php package to visualize/survey installed composer dependencies: https://github.com/dantleech/depgraph

  • View post

    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&#39;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.

  • View post

    corporate PC: - no you can&#39;t run that Rust binary - but I can run PHP right? - yep

  • View post

    The interface cargo cult: I&#39;m seeing: - `XInterface` is registered as a service ID in the controller. OK. - It returns a concrete implementation.. OK. Then: - The concrete implementation&#39;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 &quot;XInterface&quot; is not used in production code - There is a test that tests that X implements the XInterface. That&#39;s it.

  • View post

    @DaveLiddament thanks for this series, I learnt a few new things. happy xmas! (also not sure you covered `--onto` - that&#39;s one of the tricks I learned over the past years)

  • View post

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

  • View post

    Have added a &amp;quot;line item&amp;quot; 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

  • View post

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

  • View post

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

  • View post

    Just found a grainy and distorted phone video of me playing Chopin&amp;#39;s Ballade No 1. in 2008. I didn&amp;#39;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.

  • View post

    oh no. I asked &amp;quot;what if my home server could be my smart TV&amp;quot; and it led me to KDE Plasma: https://wiki.nixos.org/wiki/KDE#Installation Entering another rabbithole.

  • View post

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

  • View post

    plan: take afternoon off: - go for a run - draw a picture - do some open source stuff

  • View post

    Blog post about #php collections and cats in pipes: https://www.dantleech.com/blog/2026/03/15/php-collections-and-you/ (ok, they&amp;#39;re in cans, and I didn&amp;#39;t write about them) #php

  • View post

    ok, spent maybe 5 (!?) hours today updating the @phpbench 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&amp;#39;ll document how to set it up. PHPBench 1.6 released: https://github.com/phpbench/phpbench/releases/tag/1.6.0 Haven&amp;#39;t spent that long doing any O/S in ages. Tired. 😆

  • View post

    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.

  • View post

    RE: https://phpc.social/@phpbench/116272317320771775 and the docs include &amp;quot;active&amp;quot; examples that are tested part of the build. That&amp;#39;s one of the things I&amp;#39;m happy abut with the PHPBench docs - most of the examples are run in CI.

  • View post

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

  • View post

    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.

  • View post

    TFW you leave pretty detailed feedback on a PR explaining why suggsetions were made and the response is: &quot;they&#39;re mostly personal opinions, but that&#39;s ok&quot;. Like, no, they&#39;re objective suggestions to improve the code. I leave &quot;personal opinioins&quot; to CS fixers. Also shit day makes shit worse.