Creează un cont pentru a te abona la acest blog și a-i urmări articolele pe pagina Lectură.
-
I’m experimenting with a two-step pipeline for structured outputs.
-
I call my LLM agents “Oompa-Loompas”.
-
Claude Code has a nice feature where you can type @ followed by a file name to reference files in your conversation.
-
In LLM coding, people will spend weeks learning frameworks and tooling, and spend basically zero time learning how to talk to the thing that’s actually writing the code.
-
Build tools add a lot of complexity.
-
I recently got frustrated with Codex’s command permissions.
-
Creating new files is safer and simpler.
-
This post shows how to run some Ansible playbook tasks in parallel.
-
I stopped using shell aliases and moved everything into executable scripts.
-
I have been using the Cursor IDE for some time already and I really like its documentation indexing feature.
-
At some point in the past, I created a tool for a project (not relevant for this post).
-
Some time ago, I found (and used for a while) the htl library.
-
I was recently reading the source code of mizu.js1 and I liked the utility “function”2 they have to handle keyboard shortcuts/combinations.
-
How to query a list of Python dictionaries using DuckDB, without previously converting to another format.
-
When you have a web application, almost always, you need to run some functions/scripts regularly.
-
Lately, I’ve been trying to learn more JavaScript.
-
DuckDB version 0.10.0 has been released, bringing some new array functions.
-
This post could also be called “Or how to do React in Python” or “HTML as a function of state”.
-
These are just a few Python snippets that I have been using a lot for timing and profiling functions using only the standard library.
-
I recently read a post from vercel about porting turborepo to rust.
-
macOS AirPlay Receiver now listens on port 5000 by default, which conflicts with the default port used by some frameworks (like Flask).
-
I recently learned 1 a nice pattern to improve parameter handling in shell scripts.
-
I like using Makefiles.
-
Before you read I found out the code here doesn’t work outside IPython, I didn’t realize that get_ipython() only works when running inside IPython.
-
In Python you can create dataclasses with the wrong type.
-
As part of my recent experiments with mmap1 I have learned how to share data between processes using a memory-mapped file.
-
Here are some benchmarks I ran to compare the speed of running a list of regexes on all the Markdown files in my Obsidian folder (210 when I wrote this).
-
Intro I was exploring different ways I could use Apple Notes as a CMS (Content Management System).
-
This blog started as a place to share new things I learned about programming.
-
After trying a few note-taking apps, I ended up using Apple Notes.
-
I was recently reading the documentation of nnethercote/counts, in there, Nicholas explains a few pain points when using a table as a profiling output.
-
Sometimes calling a subprocess is better than using a dependency/package.
-
I wanted to query a large TSV file stored in S3.
-
Here are some utility functions that have been useful when writing automation scripts. requests I like using requests or httpx, but if you add a dependency to your script, now you’ll need to create an environment, install the depdencies, etc. just to run…
-
tl;dr conn.execute( "select * from ... where ... in (select value from json_each(?))"
-
Engineers like automating tasks.
-
In this post, I want to share some reasons why using SQLite turns into a pretty convenient developer experience.
-
One of the main pain points of using SQLite in production deployments or VMs is managing the database.
-
Python generators are mighty, but they lack a couple of useful features.
-
SQLite has a powerful extension mechanism: loadable extensions.
-
If you have ever used the built-in sqlite3 module in a multithreaded Python application, you may have seen this message. sqlite3.ProgrammingError: SQLite objects created in a thread can only be used in that same thread.
-
The best code is the one that is easy to understand.
-
In this post I want to explain a new deployment method I came up with while working on drwn.io.
-
A Bloom filter is a probabilistic data structure present in many common applications.
-
What is a Bloom Filter?
-
Hash functions are a fundamental part of modern programming.
-
This works only in the same Python process, you can’t share an in-memory SQLite database between processes in this way. import sqlite3 # NOTE: you need to use uri=True # 3 connections to the same in-memory database (DB1 / memdb1) DB1_1 = sqlite3.connect…
-
Feedback is one of the most importante things when you are creating a product (probably the most important one!)
-
Some time ago I published a post about managing Conda environments.
-
Storytelling is part of the human essence.