Improving Syntax Highlighting
Adding syntax highlighting to a blog is hard, doing it in a good way is hard. I recently switched my setup away from
@11ty/eleventy-plugin-syntaxhighlight
to a custom solution based on Shiki.
Linked on
Adding syntax highlighting to a blog is hard, doing it in a good way is hard. I recently switched my setup away from
@11ty/eleventy-plugin-syntaxhighlight
to a custom solution based on Shiki.
Linked on
A person seeking help in a time of crisis does not care about TypeScript, tree shaking, hot module replacement, A/B tests, burndown charts, NPS, OKRs, KPIs, or other startup jargon. Developer experience does not count for shit if the person using the thing they built can’t actually get what they need.
ericwbailey.website/published/modern-health-frameworks-performance-and-harm/
Linked on
Today the release pipeline at work broke. No harm was done, but finding the cause of the problem was difficult. While I analyzed the issue, once again, I learned something surprising, nay horrifying, about YAML.
Linked on
The goal here is to thin models by moving query scope methods from the model to a dedicated query builder class, on a per model basis. If your models get larger than you would prefer, I feel that this is the natural place for scopes to be relocated to. Because scopes are an indirect way of extending the eloquent builder on a per class basis, extending the actual query builder on a per class basis just feels right to me.
Linked on
A simple resource for finding and trying variable fonts.
Linked on
The testing landscape is confusing, it’s not well understood, and it’s difficult to find the right information. There’s no one single authority on testing, and it’s clouded by lots of opposing opinions. With the advent of agile, CI/CD and the DevOps movement, some agreement is starting to emerge amongst the community in terms of how we approach testing.
Linked on
If I never see another flick in which an auteur director revisits his childhood and/or pays rhapsodic tribute to the magic of film, I’ll be just fine.
Linked on
What you may not know is that you can also add your own application or package information into the command’s output. For package developers, this allows you to share additional information such as drivers, versions etc. and for application developers, this allows you to add application-specific information.
Linked on
Give the browser some solid rules and hints, then let it make the right decisions for the people that visit it, based on their device, connection quality and capabilities. This is how they will get a genuinely great user experience, rather than a fragmented, broken one.
Linked on
Pure black looks unnatural on a screen, and pure white is too bright. Use close-to-black and close-to-white instead. Any other references to “black” and “white” in these rules assume you’re following this rule.
Linked on
A long-standing trope of the design world is that computers are bad at aligning and balancing the relative scales of elements. This is incorrect.
Linked on
Deliver awesome, robust, reliable websites with Sulu CMS. The ideal combination of PHP developer experience and agency platform. Deliver complex sites and great user experiences for the content teams who work on your site every day.
Linked on
While things were changing, I kept working. After a few weeks tinkering with this redesign, I realized I wasn’t working on a website, not really: it was a worry stone.
Linked on
That’s why I love my website. It’s apolitical. It can’t be bought by a billionaire (maybe). It doesn’t care when I last logged in. It doesn’t push me to gain an audience and could care less if I have a one or not. And the feed is spot-free of algorithms and sponsored content.
Linked on
A Laravel / PHP package that helps you write beautiful API integrations and SDKs.
Linked on
There’s a feeling in the air. A zeitgeist. SPAs are no longer the cool kids they once were 10 years ago. If new browser APIs and features keep landing that slowly chip away at SPAs’ advantages, then more and more teams in the future will probably choose to build MPAs.
nolanlawson.com/2022/05/21/the-balance-has-shifted-away-from-spas/
Linked on
An open-source notification infrastructure for developers. Simple components and APIs for managing all communication channels in one place: Email, SMS, Direct, and Push.
Linked on
Changelogs are pretty common, but they are often used internally instead of being used as a way to engage with your users. It’s an easy and low-effort way to communicate your progress and celebrate wins. It keeps momentum, gathers new users and generally helps your company become more successful.
Linked on
This makes not just testing the UI of an app easier, but also makes onboarding new developers to a project simpler. You don't have to share a dump of your local database – or even from staging or production – with the new developer, but can just tell them to run
php artisan db:seed
in their terminal.
stefanzweifel.dev/posts/2023/01/30/local-environment-seeders-in-laravel
Linked on
One of the biggest open source icons libraries, with fonts available in SVG format, Font, React and React Native libraries, Figma and Framer.
Linked on