@dantleech@fosstodon.org
@dantleech@fosstodon.org avatar

dantleech

@dantleech@fosstodon.org

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

Contractor!

This profile is from a federated server and may be incomplete. Browse more on the original instance.

rob, to random
@rob@akrabat.com avatar

I had a excellent first . Fantastic programme of talks on the main stages along with an incredible set of community art installations and activities of all types. Also lasers and a gigantic ZX Spectrum!

Laser lights illuminating the sky, and trees lit up in various colours at nighttime at the EMFCamp festival with tents.

dantleech,
@dantleech@fosstodon.org avatar

@rob cool!

dantleech, to random
@dantleech@fosstodon.org avatar

need to iterate on my invoicing "solution" one way or another.

dantleech,
@dantleech@fosstodon.org avatar

@Pol using Typst, but creating itemized invoices is manual an error-prone. i could iterate on my tooling somehow either to export to CSV or generate the metadata file, or I could switch to another solution.

either way: effort 😅

dantleech, to random
@dantleech@fosstodon.org avatar

so what's the best CSS framework in 2024 or am I going to pull in Bootstrap again?

dantleech,
@dantleech@fosstodon.org avatar

@ocramius that's React though right?

dantleech, (edited ) to random
@dantleech@fosstodon.org avatar

alright, it's starting to come together, it essentially a dashboard system with composable widgets (showing 2 "table" widgets below), will maybe work on getting some graphing in there next, some integration-specific dashboards and maybe some CSS

dantleech, to random
@dantleech@fosstodon.org avatar

should work on my CI artifact "monitoring" project (i.e. monitor artifacts over time, get notifications when performance tests drop off), but I'm excited about the "executable documentation" framework that I made at work - which would make it a true DDD project.

dantleech,
@dantleech@fosstodon.org avatar

@ocramius yes, opcode counting would be good, and possibly not even that hard, but PHPBench just hasn't been on my radar over the past years, hopefulyl that changes soon (he says).

The website (should I ever finish it) would be like shepherd dev but supporting any number of artifacts, with an initial focus on PHPBench (graphs and tables!).

jaapio, to markdown Dutch
@jaapio@phpc.social avatar

I'm investigating options that are available to create a table of contents in #markdown, really wondering what people are using to create that when writing markdown based docs.

Please boost for reach.

#documentation

dantleech,
@dantleech@fosstodon.org avatar

@jaapio we adopted Hugo w/markdown, and TOC is basically a flag in the frontmatter which get's picked up by the HTML template (and rendered as an <aside> I think). We could also insert one "in the markdown" with a Hugo {{ shortcode }}.

tbh I prefer RST though.

dantleech,
@dantleech@fosstodon.org avatar

@jaapio @phpdoc depends. You can have per article TOC, or you can ... iterate over a set of pages, order them by whatever (anything in the front matter e.g. weight) and (probably) pull the header structure from them. It's essentially the save as the navigation.

I found that you can pretty much do anything in Hugo, it's just way less elegant than RST/Sphinx!

dantleech, to random
@dantleech@fosstodon.org avatar

ordered some more books that I won't read!

dantleech,
@dantleech@fosstodon.org avatar

in other reading news I ordered Masters of Doom last week about the story of ID software, which is a really good page-turner and may be one of the few books I will finish.

dantleech, (edited ) to random
@dantleech@fosstodon.org avatar

phpmd executed via. a make file target, which calls a composer script, in a different working directory, using a config not in the project root, delegating to a PHP script called execute, which wraps phpmd with its own options 🙃

you know, OR, you could just composer dev require it and run it in the normal way

dantleech, to random
@dantleech@fosstodon.org avatar

today i've built an expression language parser in 2 hours - mainly by copying code from PHPBench and repurposing it.

the PHPBench code was based on this great blog post:

https://journal.stuffwithstuff.com/2011/03/19/pratt-parsers-expression-parsing-made-easy/

dantleech,
@dantleech@fosstodon.org avatar

unfortunately I over estimated this task by a 35 hours, fortunately nobody actually asked me to do it. so it's a win I guess.

bobmagicii, to random
@bobmagicii@phpc.social avatar

we owe composer for a lot of things, but this is the one thing that makes me wanna buy em a beer the most. and it didn't need ai to do it.

dantleech,
@dantleech@fosstodon.org avatar

@bobmagicii it's a default feature of the Symfony Console component fwiw.

dantleech, to random
@dantleech@fosstodon.org avatar

i love it when i spend some time making a prototype, then try a completely different approach, then realise that both converge on the same solution. in this case it also fitted almost perfectly into a spec, unknown to me, created by a separate team.

mumbles something vague about finding form in a block of marble

dantleech, to random
@dantleech@fosstodon.org avatar

I think I add ignore annotations for 90% of my PHPMD failures. Which I hope is more about rules being too silly than me being a bad person.

dantleech, to random
@dantleech@fosstodon.org avatar

daily teams challenge: there is a meeting, it's in teams, it's happening, but I can't find it.

dantleech, to random
@dantleech@fosstodon.org avatar

me tried for an bleary houred eye to get Caddy working in docker last night, now ah, it's php-fpm not phpfpm but also WTF didn't that show in the logs (to be fair it may have done 😅 )

dantleech, to random
@dantleech@fosstodon.org avatar

hm, easyjet booking seems to be down-or-is-it-just-me

couldn't find their service status but I did find their maintainence page as the top result in google: https://www.easyjet.com/en/maintenance

dantleech,
@dantleech@fosstodon.org avatar

@Pol nope? is that a thing?

dantleech,
@dantleech@fosstodon.org avatar

@Pol are you sure? a quick google and scan of wikipedia and I can't find any reason to think they have: https://en.wikipedia.org/wiki/EasyJet

dantleech, to random
@dantleech@fosstodon.org avatar

grr. part of me really wants to cycle from the UK to WebSummerCamp in Croatia.

My initial mapping put it at around 1,400k, which is 2 weeks of cycling. But my mapping doesn't take into account roads not being perfectly straight and ... mountains, so probably 3-4 weeks, and then I need to get back home.

... or I could just fly, but then I need another summer cycling project.

decisions...

dantleech,
@dantleech@fosstodon.org avatar

decided to not cycle, too many logistics for a month, instead I'll do what I planned to do last year and cycle over the Pyrenees or so.

dantleech,
@dantleech@fosstodon.org avatar

and the flight is booked! looking forward to this years Web Summer Camp in Croatia!

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • thenastyranch
  • rosin
  • GTA5RPClips
  • osvaldo12
  • love
  • Youngstown
  • slotface
  • khanakhh
  • everett
  • kavyap
  • mdbf
  • DreamBathrooms
  • ngwrru68w68
  • provamag3
  • magazineikmin
  • InstantRegret
  • normalnudes
  • tacticalgear
  • cubers
  • ethstaker
  • modclub
  • cisconetworking
  • Durango
  • anitta
  • Leos
  • tester
  • JUstTest
  • All magazines