andrea crotti (@andreacrotti) profile picture

Experienced generalist software engineer specialiased in Python and Clojure backend, working on LLMs in fintech.

England
Joined May 2010
Photo by andrea crotti (@andreacrotti)Photo by andrea crotti (@andreacrotti)Photo by andrea crotti (@andreacrotti)Photo by andrea crotti (@andreacrotti)Photo by andrea crotti (@andreacrotti)Photo by andrea crotti (@andreacrotti)Photo by andrea crotti (@andreacrotti)Photo by andrea crotti (@andreacrotti)Photo by andrea crotti (@andreacrotti)Photo by andrea crotti (@andreacrotti)
Am I the only one to open some files with Vim from inside a projectile vterm in #Emacs, just because I can and it actually works :D?
80
If you have a Python monolith, consider using docs.astral.sh/uv/concepts/p… and converting your monolith into a monorepo. uv is brilliant and with workspaces, extracting internal libraries is a breeze.
73
I found out that there are libraries (like langgraph) that include a migration system github.com/langchain-ai/lang… to create/migrate tables in your database for their own purposes. I just extracted the migrations to alembic to control them myself, but it seems crazy to me.
91
Considering if I should give #nixos another try as my main OS (I used it for a year maybe 5-6 years ago). I would not be able to say "I use #arch btw" though, but it's tempting.
1
125
I love to finally work in a team where everyone uses pre-commit, with auto formatting and linting with ruff and mypy. No more pointless comments in PRs about style, and everyone is happy. With ruff-format-on-save and #emacs it's a bliss.
2
95
Oh no we hate all these parenthesis (from the clojure haters), in the meanwhile I opened a random OSS rust project and saw this
3
5
3
44
2,225
For anyone interested in #clojure and repls, I've published a new blog post: andreacrotti.pro/2024-11-08-… feel free to comment here or on there, any feedback is very welcome!
1
51
I was wondering how on earth was #Emacs able to validate that random graphql-mesh config file I was editing. It turns out that lsp-yaml looks up a schema catalog raw.githubusercontent.com/Sc… and automatically uses the schema that matches to validate, mind blown!
85
So God loves consts, but is a #javascript developer after all?
There's a basic property of the universe called the cosmological constant, but what if it's not really a constant? In today's episode, we explore new data questioning dark energy's 'constant' nature and possible implications. Listen here 🎧: pod.link/73329284
1
79
If you are trying to learn a new language that has a poor REPL experience (for example Kotlin), I suggest checking if there is a Jupyter kernel for it, a great way to get a much faster feedback cycle. github.com/jupyter/jupyter/w…
1
64
Mahmood poteva duettare con i Mammuttones visto che passava per la Sardegna #Sanremo2024 @LiveSpinoza
1
1
131
Replying to @juxtpro
@juxtpro , nice slide from @refset talking about Update
1
2
250
Wordle 223 4/6 🟩⬛⬛🟨🟨 🟩🟩🟩⬛⬛ 🟩🟩🟩⬛⬛ 🟩🟩🟩🟩🟩
You don't need a fancy #EUROS2020 sweepstake generator when you can do it with just a few lines of #Clojure
2
Just found out today that JWT is pronounced as JOT, and it's even in the official RFC: datatracker.ietf.org/doc/htm…
This new #kaocha #clojure plugin github.com/andreacrotti/kaoc… will let you retry flakey tests automatically, feedback welcome!
"Handy Haversacks" - Day 7 - Advent of Code 2020 adventofcode.com/2020/day/7 made me sweat quite a bit #AdventOfCode Thanks to the great loom library and #clojure at least I didn't have to write the graph traversal myself.
1
The best kind of diff stats: +309 −33,351. More than 10 years of accumulated code in my #emacs configuration finally got some badly needed pruning: github.com/AndreaCrotti/Emac…
2
A long time ago in a meetup we had a tool that would keep sending every IP who joined the contest an API request, keeping track of the responses and creating a leader board. My google-fu is failing badly to find anything capable of doing that, anyone knows what I mean?