RSSAmplifier

Blog

Tom Dekan

Guides about AI and software

photondesigner.comRSS feed ↗72 posts

Latest posts

My Simple Speech To Text

My simple, fast, and state-of-the-art way to to convert my speech into content

Create a Django and React app with auto-generated Django types

Autogenerated types for Django and React with Django Ninja and openapi-typescript

Massive AI Spending doesn't mean AGI is close

Google and Meta are spending billions on AI. That doesn't mean AGI is close.

How I built a Next.js app that creates images of you using AI 🎨

Fast training, uncensored generation, free to try, open-source.

Snake eating its tail: how can synthetic data possibly work for training AI?

My hypothesis

Ai Basic Logic Fails

Sst Batch Jobs

How to add Stripe to Next.js in 5 minutes 💰

Start taking payments easily and securely in your Next.js app.

Testing generating videos with Google's Veo3

My first experiments with Google's new Veo3 video generation model. I share the results, the prompts used, the current costs.

Getting 13 customer development calls in 3 days using LinkedIn

Here's my LinkedIn strategy to book customer development quickly. Includes things to avoid, templates, and targeting tips for startup founders.

The simplest way to add Google sign-in to your Next.js app

Avoid the ongoing costs of a managed service. It's easier to set up Google sign-in with your own database and BetterAuth.

Automate git commit messages with a simple script (that r/git hated)

I like to automate as much work as possible. Here's a simple shell / bash script I'm using to save time by automatically creating git commit messages. r/git disliked it.

Build a Universal "Search Everything" Component in Next.js

Learn how to create a powerful omnisearch component that queries multiple database tables simultaneously, with a clean UI and keyboard shortcuts.

A Beginner's Guide to Vector Embeddings

The simplest guide to vector embeddings in practice and how to use them, including video demos solving real problems at our startup by quantifying text meaning for classification and similarity tasks.

Your LLM Problem Isn't Tooling. It's Effort

Getting great LLM output with an LLM-as-a-judge requires more effort, not more tools

AI Needs Us? Information Theory and Humans as data

Why superintelligent AI would protect humanity as a source of complexity and knowledge

Can we detect AI-generated text?

I tested 5 AI-text detectors that claim to detect LLM-generated text. The outcome: they don't work well.

How we won Product of the Week on Product Hunt

A guide to launching on Product Hunt and winning Product of the Day and Product of the Week

Making our startup's homepage search statically fast - A simple way using Next.js ⚡

Using Next.js's boringly named but easy mechanism to make our homepage search as fast as possible.

Email to Data (with an LLM)

Speeding up my taxes by converting .eml files to useful data with an LLM

Train an AI to generate text with Python 🧠

We'll train a real GPT AI language model from scratch using Python on macOS, specifically designed to generate Shakespearean text, using the Tiny Shakespeare dataset.

Deploy Django Ninja to production in 9 minutes 🥷🛰️

Very simple. Django or Django Ninja to production using Render

Django Ninja + Next.js - 2 powerful frameworks 🥷⚛️

Django Ninja for a fast, typed API backend + Next.js (with App Router) for frontend

Create a simple Google search bar component with React 🕵🏻‍

Simple search with sample data and debouncing

Use React with Django Ninja (including Auth) in 15 mins ⚡️

We'll create an app from scratch with a React.js frontend (including persistent user authentication) and Django Ninja

Want to ship faster? Spend money 💰

The simplest hack to ship your products faster -> Don't be cheap

React + Django + Ninja (Full-stack in 15 mins) ⚛️🥷

React, Django, and Django Ninja (including CORS setup and Typescript).

Use Vue with Django (including Auth) in 15 mins 🍒

We'll create an app from scratch with a Vue.js frontend (including persistent user authentication) with Django in 10 minutes.

How to use React with Django (in 10 mins) ⚛️

The simplest way to set up a React.js frontend and a Django REST API backend

The simplest way to add polling to Django with HTMX 🗳️

We'll build a dashboard that updates every few seconds with HTMX

Add inline AI suggestions to your Django app 🗯

Use a fast LLM, HTMX, and Photon Designer to recommend actions to the user.

Stream your voice clone 🎼

We'll turn your voice into an infinitely-scalable instrument with Django

The simplest way to add lottie animations to your Django app 🌀

Show competence with smooth animations in your app.

Add Stripe subscriptions to Django in 7 minutes 💵

We'll add the ability for users to pay subscriptions in Django extremely quickly, including local webhook testing.

Build a Connect Four game with HTMX and Django in 8 minutes 🟡🔴

Use HTMX with Django for fast and neat web apps. Keep state changes server-side.

Stream AI chats using Django in 5 minutes (OpenAI and Anthropic) 💧

Simply use server-sent events with Django (no extra packages needed) to stream LLM completions. Avoid waiting for the full completion.

Use Postgres as a simple task queue for Django 🐘

Simply run background tasks using Postgres and python. This has some big advantages.

Add comment threads to Django in 9 mins 🧵

A simple way to let people leave comments in your Django app

7 simple examples using Django GeneratedField ⚡️

Do calculations with your database in a neat and extremely fast way

Simply add (and export) data from your Django database with YAML (3 mins) 🧮

Speed up your time to useful content. A simple guide to adding and exporting data using YAML and Django's management commands

Create a quiz app with HTMX and Django in 8 mins ☑️

Build multi-stage forms with HTMX and Django very quickly.

Simple Django mistake - Not debugging using network responses 🕸️

Avoid wasting a load of time when debugging Django apps, particularly with APIs (like AWS)

The simplest way to add a Django worker (Using AWS Chalice) 🍷

Add an AWS lambda function, with async invocation for background tasks, to development and production (plus GitHub Actions deployment)

Django app killer - Query in for-loop 🌪️

Avoid killing your Django app's performance by putting a database query in a for-loop

The simplest way to add Tailwind CSS to Django 💨

How to use Tailwind CSS with Django

How to add python serverless functions as Django background workers 🗡

I spent 14 hours adding async serverless functions. Here's the guide I was missing using DigitalOcean functions

Build a Django AI colorization app 🎨🦾

Use Django and webhooks to build an app that uses AI to color black and white photos.

The simplest way to add magic link sign-in using Django ✉️

An easy guide to add email sign-in (and verification) to Django using Gmail and others

The simplest way to add Google sign-in to your Django app ✍️

Avoid adding big packages (like Django-allauth or Django-social-auth). It's easier without them.

Use English to query your Django data 🏴󠁧󠁢󠁥󠁮󠁧󠁿

Let non-technical users use English to get answers from your Django data (with OpenAI's Assistant API)