iA on AI
6 Dec 2023 via ia.net
A nuanced take on AI by the makers of iA Writer.
by sebastian de deyne
6 Dec 2023 via ia.net
A nuanced take on AI by the makers of iA Writer.
6 Dec 2023 via thunk.dev
Another blam on the Thunk blog:
Product Managers, Agile, and other product development processes solve communication problems. If everyone had telepathic powers, those problems would shrink or disappear. The next best thing to telepathy is a team who excels at communication. If your team communicates to bridge these knowledge gaps, your need for PMs and Agile will shrink.
I occasionally send out a dispatch with personal stories, things I'm working on, and interesting links I come across.
A product management mindset from Jason Cohen.
If you do little things first, there’s no time for big things. If do big things first, then you can fill in the smaller things.
And:
It’s not important that every sprint is perfectly balanced between all types of work. It is important that we’re balanced over a period several months, otherwise something important is getting starved. Indeed, it’s often wise to build imbalanced sprints intentionally, because that means greater focus, less context-switching, and therefore getting more quality work done.
29 Nov 2023 via gleam.run
Gleam is a statically typed language that runs on the Erlang virtual machine. From distance, it looks like a love child of Go and Elixir (count me in!)
One neat language feature is a todo keyword. First-class syntax to mark a piece of code as work in progress and to stop the compiler from yelling at your half-implemented code.
fn favourite_number() -> Int {
// The type annotations says this returns an Int,
// but we don't need to implement it yet.
todo
}
pub fn main() {
favourite_number() * 2
}
I love this warm color scheme from Steph Ango (kepano, CEO of Obsidian) based on printing inks and warm paper. It’s my new default theme in Sublime Text—which is still my preferred editor when I’m not slogging through large PHP codebases.

16 Nov 2023 via thunk.dev
John Drexler shares an easy to implement prioritization scheme when working with a client.
It’s a gift when another team gives you a wishlist of product improvements. Ask them to put their lists in order of importance, and then focus the conversation just on the top 5. This saves you loads of time. But it also brings them into the prioritization discussion and gets them to think like Product Managers too.
(I suppose it’d defeat to point to add a comment here.)
Writing about the symbiosis between trees and mushrooms? Don’t start talking about how humanity has depended on trees since the blah blah blah. Just jump right in! Talking about new features in your app? Don’t start with the fluffy stuff about how excited you are to announce yada yada ya – just tell me what improved.
Boom! The text is lighter, faster, less wasteful.
The native array_filter() in PHP and collect()->filter() in Laravel also work without providing a filter callback.
array_filter([0, 1, '', 'a', false, true, []]);
// [1, 'a', true]
collect([0, 1, '', 'a', false, true, []])->filter();
// [1, 'a', true]
If you don’t provide a callback, PHP will remove all empty values from the array.
A team of astronomers have calculated the average color of the universe and named it cosmic latte. I’d love to have a cosmiclatte CSS color one day.
13 Nov 2023 via rias.be
A stale while revalidate cache macro by Rias Van der Veken. With stale while revalidate, expired cache items will still be used when requested, but the data will be revalidated right after. That means the current request will be handled faster than if the cache would have to be revalidated, and the next request will receive fresh data.
Stale while revalidate is often used in web applications, popularized by Vercel’s SWR React library.
Technology didn’t have to glow. […] There were devices that simply did what they were for, without demanding attention.
I’ve always had a soft-spot for e-ink screens. Tom MacWright puts it better than I ever could, we should be the ones demanding attention from technology, not vice-versa.
Stefan Zweifel explains how he stores user preferences in a Laravel application using spatie/laravel-data. With the data package, you can store user settings as a blog of JSON in your database—so you don’t need to update your table schema for every change—and have a typed object to work with in code.
He mentions poor query performance as a possible tradeoff if you need to query the database for a specific value.
One thing to keep in mind is that querying for specific settings can lead to performance issues and should probably be avoided.
If your app regularly needs to query for users who have selected a particular date_format , it’s better to promote this setting to its own column. This makes the work of your database and possible indexing much easier.
If this is something you need, you could solve it with a virtual column mapped to a JSON value of the settings object. There’s a nice tutorial on that on the Kirschbaum blog
This week, I released Svelte by Example, a tutorial/resource/whatever-you- want-to-call-it introduction to Svelte.
The goal of Svelte by Example is not to turn you into an expert Svelte consultant after reading it through, but to introduce you to the framework’s main concepts, and hopefully peak your curiosity and have you dig deeper.
If you’ve been curious about Svelte but haven’t had time to give it a look yet, it’s for you!
Keep reading if you want to learn more about how the site is built.
Here’s a quick trick with the :only-child selector to display an empty state in a list.
I love this description of the Go programming language from Rob Napier:
Go feels under-engineered because it only solves real problems. If you’ve ever worked in a wood shop, you’ve probably made a jig at some point. They’re little pieces of wood that help you hold plywood while you cut it, or spacers that tell you where to put the guide bar for a specific tool, or hold-downs that keep a board in place while you’re working on it. They’re not always pretty. They often solve hyper-specific problems and work only with your specific tools. And when you look at ones that have been used a lot, they sometimes seem a little weird. There might be a random cutout in the middle. Or some little piece that sticks off at an angle. Or the corner might be missing a piece. And when you compare them to “real” tools, “general” tools like you’d buy from a catalog, they’re pretty homey or homely depending on how you’re thinking about it.
But when you use one of them in your shop, you learn that the random cutout is because you store it against the wall and it would block the light switch otherwise. And if you put your hand on that little extra piece that sticks out, then the board won’t fall at the end of the cut. And the corner… well the corner is where you messed up when you were first making it and it’s kind of ugly, but it never actually matters when you use it. And that’s Go.