@dandb@mas.to avatar

dandb

@dandb@mas.to

Both sets of grandparents came to #Canada from #TheNetherlands shortly after WW2. My parents were both born here in #Ontario, and I live in #HamOnt (where a lot of the #Steenhof & #Turkstra clan still resides).

While most of my extended family are Evangelical/Fundamentalist, I am not part of that spiritual & intellectual dead end.

I write programs with code. That code is often #PHP and #JavaScript/, often leveraging #Laravel and #Vue.

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

dandb, to tv
@dandb@mas.to avatar

Okay, so The Fall of the House of Usher is contemporary apocalyptic literature, no?

dandb,
@dandb@mas.to avatar

@cjhubbs I'm not sure I like it but it does scratch that itch for seeing the powerful humbled.

dandb,
@dandb@mas.to avatar

@cjhubbs I don't think I've ever watched anything by him before, horror is absolutely not my jam, but this was good. A little Netflixy but good nonetheless.

ross, to random
@ross@fosstodon.org avatar

I really want to work on a PHP code base with tests and types again.

Wrangle some data and APIs.

Try out Tinkerwell v4

What can I make? 😉

dandb,
@dandb@mas.to avatar

@ross A really lightweight and basic ActivityPub implementation and a series of blog posts on how to do it 😅

It might just be me that wants that tho

dandb, to php
@dandb@mas.to avatar

Yeah, it takes a bit more work to use a class instead of a bare array, arrays don't have behaviour, don't have input validation, don't provide affordances for devs, and are just plain opaque.

Obvs not always. But often.

dandb, to random
@dandb@mas.to avatar

Why have brick and mortar store responded to the rise of online shopping by making the process of going into a store and purchasing something just so absolutely awful?

Like, I prefer to buy online now because going to the store is much, much worse and takes so much longer to do than it used to, esp with the rise of self-checkout.

Corporations are so detached from reality it seems terminal. Have the c-suite folks ever even used their stores?

dandb,
@dandb@mas.to avatar

@outofcontrol Oh yeah, the passing the buck to the manufacturer stuff drives me crazy. What's the point of local shops indeed.

dandb, to php
@dandb@mas.to avatar

I can't use the "it's compiling" excuse but I sure can use the "PhpStorm is indexing" excuse

ZachWeinersmith, to random
@ZachWeinersmith@mastodon.social avatar

Working on a comic and accidentally created an extraordinarily valuable math symbol

dandb,
@dandb@mas.to avatar

@ZachWeinersmith I vote that probably equals is just the shrug emoji

andrewfeeney, to random
@andrewfeeney@phpc.social avatar

Constructs are just a construct.

dandb,
@dandb@mas.to avatar
dancinyogi, to random
@dancinyogi@mastodon.sdf.org avatar

At the risk of repeating myself, here is a warning. You will move. At some point in your life, you will move. You may say to yourself, "I don't have a lot of stuff; it'll be fine."

WRONG.

"But - I don't buy a lot of stuff -"

You do. Trust me. Look in a closet and think of the logistics involved in packing that closet.

"That's you, not me. You have a lot of stuff, I have next to nothing."

Wrong.

You. Have. More. Crap. Than. You. Know.

Thin it out every year. Trust me!

dandb,
@dandb@mas.to avatar

@dancinyogi I think about this all the time. Just looking about and thinking what it would take to move all this crap.

dandb, to php
@dandb@mas.to avatar

It kind of sucks that even though class strings are a thing in PHP they're not represented in the type system at all.

This might not be possible for the same reasons that generics aren't possibly, but a person can dream.

dandb,
@dandb@mas.to avatar

@grmpyprogrammer Object factories, method references, hydrating things from the database via an object map, all sorts of useful stuff.

dandb, to javascript
@dandb@mas.to avatar

It bothers me sometimes that we need to use JavaScript for ubiquitous behaviours in HTML, like auto-expanding textareas.

Like, I realise that everyone builds everything in JS now, but it would be super handy to push common patterns out of the app layer.

Form fields, despite their critical role in the web seem stuck in some ancient era.

dandb,
@dandb@mas.to avatar

@schizanon Not quite sure what you're trying to get at here.

dandb,
@dandb@mas.to avatar

@schizanon What I'm talking about here is entirely optional. Provide sensible default behaviour and allow for customisation. The current forms implementation does neither well enough imho.

dandb,
@dandb@mas.to avatar

@schizanon for a painful definition of work, yeah

dandb, to php
@dandb@mas.to avatar

The way PhpStorm deals with imported typedefs (eg importing from a declaration file) leaves something to be desired.

Right now intellisense just doesn't really work, though validation does.

Maybe I'm missing some kind of config or just doing it wrong or something?

dunglas, to Laravel French
@dunglas@mastodon.social avatar

🏎️ @soyuka is demonstrating the brand new @ApiPlatform package for Laravel at !

Get a fully-featured REST (hypermedia) or GraphQL API in your projects in minutes 💅

dandb,
@dandb@mas.to avatar

@dunglas any chance this is streaming anywhere? Or will be at somepoint?

dandb, to php
@dandb@mas.to avatar

Is there a good PHP recurrence package out there? I'm look for something that will handle RRULE stuff.

dandb, to php
@dandb@mas.to avatar

Nullsafe array access would be nice. Eg $array?['key'] or something

dandb,
@dandb@mas.to avatar

@benjaminhirsch There are a bunch of situations where I find null coalescing inconvenient.

aral, to ireland
@aral@mastodon.ar.al avatar

“I support the broad aim of the policy, but not the methods. All students should be treated fairly and equally. But the methods of this policy could result in discrimination against those who do not subscribe to gender identity theory and who believe that biology is more relevant than gender identity in matters such as women’s sports and changing rooms,” she said.


“I support people not being bigots but I also support bigots.” Good one, Karen.

https://www.irishtimes.com/ireland/education/2023/10/05/lecturer-objects-to-universitys-gender-identity-policy-which-describes-refusal-to-use-pronouns-as-unlawful/

dandb,
@dandb@mas.to avatar

@aral terfs are tirelessly stupid

scottkeckwarren, to Laravel
@scottkeckwarren@phpc.social avatar

deleted_by_author

  • Loading...
  • dandb,
    @dandb@mas.to avatar

    @scottkeckwarren you can do that with scopes too! Super fun

    dandb, to random
    @dandb@mas.to avatar

    Roasting a leg of lamb (first time!) and I don't have a wireless thermometer, but what I do have is a good old fashioned probe thermometer and an extra smart camera to point at it.

    Jank that saves $$$ isn't jank at all.

    dandb,
    @dandb@mas.to avatar

    @cjhubbs "i fashioned a wifi camera from two paperclips and a rubber band"

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