@horuskol@phpc.social
@horuskol@phpc.social avatar

horuskol

@horuskol@phpc.social

I used to build things with HTML, CSS, JavaScript and PHP (2002 - 2023).

Now I'm spending more time creating boardgames, and hoping to sell some.

I also like using saws, chisels, and hammers.

An ex-Englishman living in South Australia.

he/him

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

horuskol, to boardgames
@horuskol@phpc.social avatar

Prototyping - unfortunately not going well with this experiment.

I need slightly stronger but more flexible magnetic tape.

horuskol, to HashtagGames
@horuskol@phpc.social avatar

🎵
Annie are oaky?
Are you oaky?
You oaky, Annie?
🎵


horuskol, to boardgames
@horuskol@phpc.social avatar

Prototyping a new game...

Hexagonal boards are a pain to draw out.

Couldn't find a single piece of cardboard large enough, so had to cut four ten inch squares instead.

horuskol, to boardgames
@horuskol@phpc.social avatar

Found a nice bookshop in a small town when on holiday last week, and chanced upon What Board Games Mean To Me.

https://www.simonandschuster.com.au/books/What-Board-Games-Mean-To-Me/Donna-Gregory/9781839082726

Looking forward to reading it.

#BoardGames

horuskol, to random
@horuskol@phpc.social avatar

Bit of a sad day.

I had high hopes that ViewCrafter would be a great development/design tool when I started working on it over five years ago. I struggled getting product-market fit, and I completely lost momentum on it in 2020 while I was occupied with family things, and never really returned to the project in earnest.

Today, I finally terminated the instance that was running the app.

horuskol, to boardgames
@horuskol@phpc.social avatar

A few things happened this last year or so and had me thinking, and now I've decided that it's about time for me to leave web development behind and turn towards new horizons.

I've been a PHP and JavaScript developer for 20+ years. It's been a blast, but I don't get the same satisfaction from it that I used to.

What's next?

Got some ideas for #BoardGames that I've been putting together and testing out.

horuskol, to random
@horuskol@phpc.social avatar

Welp, that was a great #LaraconAU

Hope all of you that came had as good a time as I did.

Flying back home so I can get to #DDDAdelaide tomorrow.

horuskol, to random
@horuskol@phpc.social avatar

Wassup!

Been offline for a few weeks - needed a break from everything.

Now waiting for a flight to Sydney to join a bunch of great people going to #LaraconAU #Laracon #Laravel #PHP

horuskol, to HashtagGames
@horuskol@phpc.social avatar

Dogears on my pages,
Remind where I've read up to

  • Womack & Womack

#LibraryASong
#HashtagGames

horuskol, (edited ) to random
@horuskol@phpc.social avatar

What is your preferred medium for learning about code or something related to development?

horuskol, to Disney
@horuskol@phpc.social avatar

Wish streaming services would make it easier to mark episodes or movies as watched or unwatched.

Want to rewatch season 1 of Wheel of Time on #Prime - but the interface keeps trying to get us to watch the first episode of season 2 and makes it hard to reset the earlier episodes.

Or on #Disney where movies get stuck in our "continue watching" list even though we've watched it all.

horuskol, to php
@horuskol@phpc.social avatar

I didn't expect to be able to read from a write-only stream in #PHP

(I might have forgotten this was possible - it's been a long time since I worked directly with streams)

https://3v4l.org/9HjGW

horuskol, to CSS
@horuskol@phpc.social avatar

Trying to think of a name for a function that takes a colour with some transparency and a solid background colour, and produces the equivalent non-transparent colour.

Would flatten be the right name?

#CSS #Design

I guess it's just a specific use of mix.

horuskol, (edited ) to CSS
@horuskol@phpc.social avatar

A conversation and a separate observation got me thinking about

<figure>
<img />
<figcaption />
<figure>

Of course, the image has an alt attribute which describes the contents of the image - so what goes in the figcaption?

What I've just seen on a site was:

<figure>
<p />
<figcaption />
</figure>

The p element had a couple of spans that used CSS animations - and the (visually-hidden) figcaption described the animation. Should it be visually-hidden, though?

#HTML #Accessibility

horuskol, to random
@horuskol@phpc.social avatar

I noticed my hard drive was getting a bit full yesterday - so I went on a tidy up.

Now I just realised that I deleted the directory with all my local working copies of my personal/organisation sites... 😬

Luckily - they're all up on github - but local config files are gone 😭

How's your Friday going?

horuskol, to random
@horuskol@phpc.social avatar

Finding technical articles without dates makes things really difficult when software and integrations change quite dramatically on a yearly basis.

Please put dates on your articles (cough cough Google) - whether it's a support KB or a blog.

horuskol, (edited ) to random
@horuskol@phpc.social avatar

I think my biggest gripe about docker-composer up -d is that you don't get a signal to indicate that mysql is still spinning up in its container.

Just got to wait long enough, try running your app or connecting to the database in someway. Get told to wait longer...

horuskol, to php
@horuskol@phpc.social avatar

Interesting quirk from PHPStan, and kind of makes sense:

if ($response?->successful()) {
$tag = $response?->json('tag');
...
}

It complains about using nullsafe on $response?->json() - but not on $response?->successful().

I guess this is because the $response cannot be null if it passes the condition.

#PHP

horuskol, to random
@horuskol@phpc.social avatar
horuskol, (edited ) to til
@horuskol@phpc.social avatar

Today I learnt about this syntax for passing an object's method as a callable:

function needs_callable(callable $fn) {
$fn($args);
}

needs_callable($object->method(...));

Though, I think I'd prefer writing the needs_callable signature to typehint for the class (or interface) as callable is pretty general, and being told I passed the wrong class is a better error than mismatched arguments in the callable itself.

https://www.php.net/manual/en/functions.first_class_callable_syntax.php

#TIL #PHP

horuskol, to random
@horuskol@phpc.social avatar

Five hour window for a tech visit 😕

When do you want to bet they actually come?

horuskol, to accessibility
@horuskol@phpc.social avatar

It's #FollowFriday, but I want to put a little twist on it:

Do you have a blog with an #RSS feed?
Do you write about #WebComponents #Accessibility #WebDevelopment #JavaScript #PHP #CSS ?

Because I'd like to follow you and your feed :)

horuskol, to php
@horuskol@phpc.social avatar

Working on my #PHP based static site generator.

I've introduced a pipeline flow to it which uses middleware to pass the list of generated files along. I found an interesting approach to building the pipeline - took a bit of squinting to really understand how the chain works.

I'm not sure if there'll be problems if there's a lot of files or middleware - but it's sufficient for my own purposes, for now.

https://github.com/SavvyWombat/caxton/blob/1884dd7468192170f9a59ca40d8e1afe88222619/caxton#L59

horuskol, to random
@horuskol@phpc.social avatar

@shane

Also, welcome to the FediVerse 👋

horuskol, to random
@horuskol@phpc.social avatar

Finally getting back to my own work and just published my new simple site generator on packagist:

https://packagist.org/packages/savvywombat/caxton

  • 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