This seems like a good time to get those linux mobile OS running
Mastodon Posts
-
-
I've been pushing for ADR's for years. After reading https://martinfowler.com/articles/reduce-friction-ai/context-anchoring.html I feel that it's now a must for those using coding agents
-
Quite excited to try Voxtral TTS (https://huggingface.co/mistralai/Voxtral-4B-TTS-2603).
The quality of the voices seems much better than kokorojs and I'll be sure to try and generate articles to listen to using it
-
Been having fun implementing an app to host games with friends. Nothing major but it's something I found quite useful. Deployed with SQLite, prisma, astro, react and better auth for authentication.
Might seem overkill but after managing football games for almost 10 years it scratches a small itch I had. Without AI it would be hard to find time for it
-
Relied heavily on opencode. I've steered the application to use a stack I wanted (neon postgres, react, astro). For initial stuff it works great.
My idea is now to get to know the projects, learn a bit about new concepts (electron, transformerjs, ELO system, etc)
-
In the last two weeks I've gotten around to implement projects I've had in my mind for some time:
- Implemented a kahoot-like game for a birthday. Used neon postgres to handle multiplayer and it worked great (some rough edges I'd like to atend)
- Implemented an app to help organize my weekly football games. Includes web notifications, and maybe an ELO system
- Created an app to help my D&D DM manage the music. Heavily based on Kenku.fm but will use to test auto recommendationsFun stuff
-
My next challenge. I've created an opencode agent that serves as a mentor.
You are a **pair programming mentor** -- not a code-writing assistant. Your primary goal is to help the programmer think through problems, arrive at solutions themselves, and deeply understand every line of code that gets written. You never write code on behalf of the programmer unless they are completely stuck and you have exhausted all other teaching strategies.
Gonna be test-driving it for the next days
-
Started working on a side project to enable Porto bus riders to check the info in realtime at https://portomove.cabeda.dev/
Added the option to leave reviews. Not sure if I've opened a door for toxic comments or empty comment boxes 😅
-
I've been trying to get my mind on how the LLM's can help boost the productivity without devs losing their edge. It's way to easy to just let it do it's thing, specially with the latest models.
For now my mental model for this shift is:
1) we can't trust it's output, so we need to verify it, either manually or through formal tests
2) without typing everything we need to do more code exercises to keep the knowledge
3) LLM is a tool, we are still the owners and take ownership of failures -
Crazy that Oracle has a trademark on Javascript
-
Been spending the weekend using Data Analysis for Copilot extension to analyze simple datasets. What previously would take hours of pandas code, now requires basic prompts. For example I've mostly used:
@data Give me me a table distribution with total and percentage for all non-numeric columns.
Strip the strings. Provide for each column the table with and without NA's. Round the percentage to 1 decimal places -
Written a quick experiment with DuckDB
https://www.cabeda.dev/blog/2024/20241002-glue_script_duckdb/
-
Two super powers to learn a new technology: read the documentation/source code and use extensively
-
Fiddling around with a thermal printer + Web USB API. After some hours working with a text encoder found this god saving library.
Just need to understand how to get the QR codes working now 🤔
-
I was very interested in the new memory manager to help compact a month of parquet files. Still got an OOM but as it was ~1B rows of data I guess it's a bit overkill
-
And it seems we just got a new version of #duckdb! Lots of goodies on https://duckdb.org/2024/02/13/announcing-duckdb-0100.html
-
TIL: You can very easily run genAI models locally using https://ollama.ai
With it you can just run `ollama run codellama:13b` and you are good to go!
-
Reading algorithms to live by and I think will be a book to have for later consulting. Regarding probabilities I find we look too much into averages and binary certainties. However life is built of complexity and in fact probabilities follow distributions like the ones below
-
TIL: Pandoc can convert your markdown to good looking slides. Shared a quick example on
-
Advent of Code can be a very humbling experience
-
After all this years I still struggle to install python versions. I think the issue is now around zlib on Mac but ended up with what always works for me.
1. brew install python@3.11 python@3.12
2. alias python=python3.12
3. And use poetry on top for each project -
Going to present at a local meetup after more than a year without doing public speaking. Let's see how it goes 😁
-
TIL: After adding a new patter to gitignore I can remove existing files from VCS with:
git rm --cached `git ls-files -i -c --exclude-from=.gitignore`
-
Getting back to preparing a talk. Feels like getting back to training. You feel awful at first and see no major results
-
Wrote some quick rambles on my checklists for both development as well as peer reviews https://cabeda.dev/2023/20231121-checklists/
-
TIL: DynamoDB always returns the entire item. Even with a Projection Expression it will retrieve the entire item and then filter the intended fields. I guess it's the same with Postgres (row based storage) but my expectations were misaligned
-
Go #Portugal ⚽️🇵🇹🇵🇹🇵🇹
-
I just completed "Calorie Counting" - Day 1 - Advent of Code 2022 #AdventOfCode https://adventofcode.com/2022/day/1
-
Reading on #DuckDB 0.60 release https://duckdb.org/2022/11/14/announcing-duckdb-060.html
Really love that select is optional now
-
TIL: Kernighan’s Law
“Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.” -
Hello World