Mastodon

My public notes and thoughts.

jecabeda

Went for a redraw of my personal place in the internet cabeda.dev. Trying to go for a cozy reading. Now if I could just start writing more...

mainpage of my website
000
jecabeda

Started working on getting Hermes + (convocados.cabeda.dev/) webhook to send messages directly to my football group on WhatsApp.

For now just prototyping. Still find it a lacking that meta doesn't make it easy to setup bots for existing groups

001
jecabeda

Trying to take a raspberrypi 4 to it's max:

- Installed a fan
- Running jellyfin + pinepods
- Setup opencode server to access and do simple tasks on my personal projects
- Tailscape to connect remotely

Now I want these services to be stable. Assessing if opencode might help as a first call responder

001
jecabeda

Prepping for a new D&D campaign

3d model
000
jecabeda

Back to writing my thoughts down. Taking the time to do actual deep dives always amazes me. What I think I had clearly thought out is actually a mess of ideas

For now I'm writing on my studying process using and

000
jecabeda

After 1 year developing with uv python's package manager I've found out how cache intensive the tool is.

Run uv cache clean and deleted ~300GB of storage.

So make sure to run this once in a while 😅

000
jecabeda

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

convocados.fly.dev

000
jecabeda

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)

000
jecabeda

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 recommendations

Fun stuff

101
jecabeda

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

101
jecabeda

Started working on a side project to enable Porto bus riders to check the info in realtime at portomove.cabeda.dev/

Added the option to leave reviews. Not sure if I've opened a door for toxic comments or empty comment boxes 😅

000
jecabeda

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

001
jecabeda

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

000
jecabeda

Two super powers to learn a new technology: read the documentation/source code and use extensively

000
jecabeda

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 🤔

000
jecabeda

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

000
jecabeda

TIL: You can very easily run genAI models locally using ollama.ai

With it you can just run `ollama run codellama:13b` and you are good to go!

000
jecabeda

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

000
jecabeda

Advent of Code can be a very humbling experience

101
jecabeda

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

000
jecabeda

Going to present at a local meetup after more than a year without doing public speaking. Let's see how it goes 😁

000
jecabeda

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`

000
jecabeda

Getting back to preparing a talk. Feels like getting back to training. You feel awful at first and see no major results

000
jecabeda

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

000
jecabeda

Go ⚽️🇵🇹🇵🇹🇵🇹

000
jecabeda

I must be frank and say I struggle to give more to the community than I take. It's incredible the work some developers do and how they interact with their communities.

My wish is to one way also find my place and find people whose lives were made easier by something I did

000
jecabeda

I get that 18 is an LTS release but isn't deprecating both Node 14 e 16 a bit too soon ?

I'm currently without a way to know when I can deploy gatsby 5 to 🤔

000
jecabeda

TIL: you can use Grammarly directly on VS code, which works great to improve your readmes or articles

000
jecabeda

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

000