Also shout out to @joshwcomeau.com. Their exceptional SVG articles inspired me out of the day's funk.
Also shout out to @joshwcomeau.com. Their exceptional SVG articles inspired me out of the day's funk.
Arrays, a primitive type, can't inherit or implement interfaces. So to type-hint something you can pass to a `foreach` you would otherwise need to accept arrays and traversable objects. The iterable alias handles that for you!
Arrays, a primitive type, can't inherit or implement interfaces. So to type-hint something you can pass to a `foreach` you would otherwise need to accept arrays and traversable objects. The iterable alias handles that for you!
It's all in cryptid
It's all in cryptid
Wrote a long piece on how current model training and design choices threaten our critical thinking skills: maggieappleton.com/ai-enlighten...
Wrote a long piece on how current model training and design choices threaten our critical thinking skills: maggieappleton.com/ai-enlighten...
We shall see. In any case, very intriguing.
We shall see. In any case, very intriguing.
Maybe Laravel is telling me I should be handling more of this logic in the view...
Maybe Laravel is telling me I should be handling more of this logic in the view...
I want to reach a point where I stop thinking of letters and develop muscle memory for common patterns. Maybe it's time for me to start drilling diagrams and trigrams in BSL. 🤔
I want to reach a point where I stop thinking of letters and develop muscle memory for common patterns. Maybe it's time for me to start drilling diagrams and trigrams in BSL. 🤔
Shapes with rounded corners are a nightmare in CSS but it's now easy with the new shape() function! 🥳
Let's start with a classic: The Hexagon
css-tip.com/rounded-hexa...
Yes, you can animate the radius and rotate the shape. Modern CSS is cool!
Shapes with rounded corners are a nightmare in CSS but it's now easy with the new shape() function! 🥳
Let's start with a classic: The Hexagon
css-tip.com/rounded-hexa...
Yes, you can animate the radius and rotate the shape. Modern CSS is cool!
css-tip.com/infinite-log...
#CSS
css-tip.com/infinite-log...
#CSS
There's a bunch of really fascinating ideas in this post alone, and there's a follow up post with more! #laravel
There's a bunch of really fascinating ideas in this post alone, and there's a follow up post with more! #laravel
They have an example rendering an image placeholder, but imagine passing your paint worklet a blurhash variable, rendering an lqip while loading.
They have an example rendering an image placeholder, but imagine passing your paint worklet a blurhash variable, rendering an lqip while loading.
svelte.dev/playground/3...
svelte.dev/playground/3...
E.g. `@can('create', \App\Models\User::class)`
E.g. `@can('create', \App\Models\User::class)`
Why would I take 1 minute to write the current date, when I can spend 10 minutes working out how to properly interpolate a formatted date into my branch name.
Why would I take 1 minute to write the current date, when I can spend 10 minutes working out how to properly interpolate a formatted date into my branch name.
As an example, years ago, formatting a model's attributes for output I wrote a system which format based on the attribute name, ending "diameter" (append mm), or "volume" (ml), etc.
As an example, years ago, formatting a model's attributes for output I wrote a system which format based on the attribute name, ending "diameter" (append mm), or "volume" (ml), etc.