← Înapoi la Urmăritori

Cel mai recent articol

Ultima verificare

Urmăritori 0 urmăritori
Articole: 63
  1. I’m experimenting with a two-step pipeline for structured outputs.

  2. Software Willy Wonka

    I call my LLM agents “Oompa-Loompas”.

  3. Claude Code has a nice feature where you can type @ followed by a file name to reference files in your conversation.

  4. 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.

  5. Build tools add a lot of complexity.

  6. Taming your shell for LLMs

    I recently got frustrated with Codex’s command permissions.

  7. Creating new files is safer and simpler.

  8. This post shows how to run some Ansible playbook tasks in parallel.

  9. I stopped using shell aliases and moved everything into executable scripts.

  10. I have been using the Cursor IDE for some time already and I really like its documentation indexing feature.

  11. ZIP as a bundle format

    At some point in the past, I created a tool for a project (not relevant for this post).

  12. Some time ago, I found (and used for a while) the htl library.

  13. I was recently reading the source code of mizu.js1 and I liked the utility “function”2 they have to handle keyboard shortcuts/combinations.

  14. How to query a list of Python dictionaries using DuckDB, without previously converting to another format.

  15. Cron jobs inside your web app

    When you have a web application, almost always, you need to run some functions/scripts regularly.

  16. My take on Web Components

    Lately, I’ve been trying to learn more JavaScript.

  17. DuckDB as a vector database

    DuckDB version 0.10.0 has been released, bringing some new array functions.

  18. This post could also be called “Or how to do React in Python” or “HTML as a function of state”.

  19. These are just a few Python snippets that I have been using a lot for timing and profiling functions using only the standard library.

  20. Replacing FFI with a CLI

    I recently read a post from vercel about porting turborepo to rust.

  21. macOS port 5000 not working

    macOS AirPlay Receiver now listens on port 5000 by default, which conflicts with the default port used by some frameworks (like Flask).

  22. I recently learned 1 a nice pattern to improve parameter handling in shell scripts.

  23. I like using Makefiles.

  24. 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.

  25. Validate Python dataclass types

    In Python you can create dataclasses with the wrong type.

  26. As part of my recent experiments with mmap1 I have learned how to share data between processes using a memory-mapped file.

  27. 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).

  28. Using Apple Notes as a CMS

    Intro I was exploring different ways I could use Apple Notes as a CMS (Content Management System).

  29. This blog started as a place to share new things I learned about programming.

  30. After trying a few note-taking apps, I ended up using Apple Notes.

  31. 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.

  32. Sometimes calling a subprocess is better than using a dependency/package.

  33. I wanted to query a large TSV file stored in S3.

  34. Python automation utils

    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…

  35. tl;dr conn.execute( "select * from ... where ... in (select value from json_each(?))"

  36. Musings about automation

    Engineers like automating tasks.

  37. In this post, I want to share some reasons why using SQLite turns into a pretty convenient developer experience.

  38. One of the main pain points of using SQLite in production deployments or VMs is managing the database.

  39. Python generators are mighty, but they lack a couple of useful features.

  40. Extending SQLite with Rust

    SQLite has a powerful extension mechanism: loadable extensions.

  41. 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.

  42. The best code is easy code

    The best code is the one that is easy to understand.

  43. In this post I want to explain a new deployment method I came up with while working on drwn.io.

  44. A Bloom filter is a probabilistic data structure present in many common applications.

  45. What is a Bloom Filter?

  46. Hash functions are a fundamental part of modern programming.

  47. 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…

  48. Feedback is one of the most importante things when you are creating a product (probably the most important one!)

  49. Some time ago I published a post about managing Conda environments.

  50. Single file applications

    Storytelling is part of the human essence.