About:

I make online things. Before the internet, I made offline things.

Website:

Specializations:

Outgoing Links:

Simon Willison
Subscribe to RSS:
The text explains the process of randomizing grouped results in a database query using Eloquent subqueries. It provides a contrived scenario of building a movie recommendation app and explains the SQL query and Eloquent query to a...
The text discusses the frustrations of writing LiveView feature tests and the use of the PhoenixTest library to make the process more enjoyable. It also highlights some pitfalls encountered and their workarounds.
The author reflects on a week of low productivity due to post-covid slump, but managed to create a solution for iOS notifications and worked on a project called Hap. The book of the week was 'Company of One' and the author acquire...
The author discusses the concept of 'The Complexity Halo' where after working on a complex problem, one tends to over-complicate the next one. They suggest asking specific questions about the current task to avoid disappearing dow...
The author caught Covid after three years of avoiding it, and spent the week dealing with symptoms. They also transitioned their website to a new platform and made progress on long-standing tasks. The author also found a relevant ...
The author shares their weeknotes, discussing their work on Hap, a real-time monitoring tool, and their efforts to find a new contract. They also talk about their struggles with networking, updating their GitHub, and their reading...
The text discusses the organization of Ecto schemas in a Phoenix application, highlighting the difficulty in distinguishing between schemas and data access modules within a context. The author suggests creating a separate schemas ...
The text discusses the naming conventions for Elixir Phoenix context functions when creating and updating resources using changesets. It provides code examples and explanations for creating and updating user resources, as well as ...
The text discusses the challenges of naming things in a project, particularly in relation to retrieving the status of products. It highlights the complexity of product lines and the need for a consistent nomenclature. The author u...
The author discusses the decision to focus on email notifications for the Happy Stack platform, but also adds support for other notification channels behind the scenes. This approach makes it easier to add new channels and avoids ...
The text discusses the challenges of using TypeScript's path mapping feature to solve the problem of relative imports. It explains the issues with the feature and provides solutions for configuring path mappings for JavaScript and...
...

0Verify a Checksum

2020-07-30

...
The text explains how to use TypeScript with Gatsby, highlighting the shortcomings of the official solution and providing a better way to run Gatsby on ts-node for proper type-checking and TypeScript support in Gatsby's configurat...
The text explains how to customize Decap CMS previews in Gatsby by using a JavaScript module. It provides examples of creating a custom article preview, populating the preview template, and setting the article title and body.