dev://❤ posts on software engineering
Advanced Prompting Techniques for Modern Large Language Models: A Comprehensive Guide

Advanced Prompting Techniques for Modern Large Language Models: A Comprehensive Guide

Published on Thu Sep 26 2024 - 3947 words - Reading time: 27min

An in-depth exploration of effective prompting methods for large language models, including Chain-of-Thought, Few-Shot, and Tree of Thought techniques, and a comparison of the current models of ChatGPT and Claude.

Read Advanced Prompting Techniques for Modern Large Language Models: A Comprehensive Guide

Podcast notes: 🎙 The Building Blocks of Agentic Systems

Podcast notes: 🎙 The Building Blocks of Agentic Systems

Published on Thu Sep 26 2024 - 1290 words - Reading time: 9min

Insights from the TWIML AI Podcast episode discussing LangChain and its role in AI development.

Read Podcast notes: 🎙 The Building Blocks of Agentic Systems

PLANSEARCH for LLMs

PLANSEARCH for LLMs

Published on Tue Sep 24 2024 - 885 words - Reading time: 6min

Explore the fascinating developments in AI reasoning capabilities, comparing OpenAI's o1 models with the PLANSEARCH approach. Discover how these advancements are revolutionizing problem-solving in fields like coding, science, and mathematics.

Read PLANSEARCH for LLMs

Stop Coding Already!

Stop Coding Already!

Published on Mon Sep 23 2024 - 1379 words - Reading time: 10min

Discover why taking a step back to plan before diving into coding can lead to more efficient and successful projects. Learn about the benefits of mental modeling, note-taking, and using AI tools to refine your ideas before writing a single line of code.

Read Stop Coding Already!

Maximizing Security and User Experience in OAuth flow on a SvelteKit app

Maximizing Security and User Experience in OAuth flow on a SvelteKit app

Published on Sun Sep 22 2024 - 1249 words - Reading time: 9min

Discover how to implement a robust OAuth flow in a SvelteKit application, focusing on enhancing both security measures and user experience. Learn about leveraging the state parameter, preventing CSRF attacks, and creating a smoother authentication process.

Read Maximizing Security and User Experience in OAuth flow on a SvelteKit app

Convert a MySQL or Postgres database to SQLite

Convert a MySQL or Postgres database to SQLite

Published on Mon May 30 2022 - 892 words - Reading time: 6min

If you want to convert old MySQL-driven websites to static sites, a SQLite database on your harddrive could be helpful. Here is how to convert MySQL to SQLite.

Read Convert a MySQL or Postgres database to SQLite

Subscribable stores in React

Subscribable stores in React

Published on Sat May 21 2022 - 1075 words - Reading time: 8min

Subscribable stores are a pattern which is relatively new for React applications.

Read Subscribable stores in React

Limit access of Strapi users to their own entries

Limit access of Strapi users to their own entries

Published on Sun May 15 2022 - 995 words - Reading time: 7min

What I wanted was that when a user requested a list of or a certain entity, the backend should only respond with entities which belong to the user. By default, Strapi would send all entities from everyone.

Read Limit access of Strapi users to their own entries

Strapi quirks you should know about

Strapi quirks you should know about

Published on Sat Apr 30 2022 - 633 words - Reading time: 5min

When I first came across Strapi, I had some misconceptions about it which are not immediately clear when reading about the framework in their docs.

Read Strapi quirks you should know about

A typed event system for Typescript

Published on Tue Apr 19 2022 - 885 words - Reading time: 6min

I wrote a simple, typed event emitter/subscriber system on the weekend.

Read A typed event system for Typescript

Access denied for 'root'@'localhost'

Published on Thu Dec 09 2021 - 398 words - Reading time: 3min

MySQL won't let me authenticate as root user through an SSH tunnel in dbeaver.

Read Access denied for 'root'@'localhost'

Media Query organization in SASS

Media Query organization in SASS

Published on Fri Nov 19 2021 - 398 words - Reading time: 3min

SASS makes working with media queries / breakpoints easy, if you apply this pattern

Read Media Query organization in SASS

The Redirect Response pattern

The Redirect Response pattern

Published on Mon Oct 04 2021 - 773 words - Reading time: 6min

Using HTTP callbacks with your API gives interesting possibilities to reduce client side javascript.

Read The Redirect Response pattern

Introducing and using Obsidian

Introducing and using Obsidian

Published on Tue Sep 28 2021 - 663 words - Reading time: 5min

I discovered a valuable note-taking app I want to share with you

Read Introducing and using Obsidian

Mocking modules with jest and typescript

Published on Thu Dec 10 2020 - 509 words - Reading time: 4min

Since it took me some time to understand the behaviour and the jest docs don't tell much about it, I wanted to write down how to mock modules with jest and especially update the return values of module functions across your tests.

Read Mocking modules with jest and typescript

The new old school

The new old school

Published on Wed Oct 14 2020 - 1455 words - Reading time: 10min

My blog is finally online again. This time as a statically generated page. Here is how I made it.

Read The new old school

Updates about react hook router

Updates about react hook router

Published on Tue Apr 30 2019 - 819 words - Reading time: 6min

It's been about a month, since I released my initial version of hookrouter. Lots of things happened since then.

Read Updates about react hook router

Modern and clean routing with hooks

Modern and clean routing with hooks

Published on Thu Mar 21 2019 - 1626 words - Reading time: 11min

A quick experiment about using hooks for routing in a react app turned out to be very flexible and powerful.

Read Modern and clean routing with hooks

Create a react component as npm module

Create a react component as npm module

Published on Wed Mar 06 2019 - 1374 words - Reading time: 10min

There are a lot of guides out there that advise you to use webpack to wrap up your components before publishing them to npm. This is absolutely not necessary. I would even consider it bad practice. Its much easier without webpack, too.

Read Create a react component as npm module