Vini
banner
vinimdocarmo.com
Vini
@vinimdocarmo.com
Having fun with database internals, distributed systems and trying to document my joy along the way 👋 Software Engineer @ WeTransfer
What if you have an array and you want to transform it into a max-heap? Here you go:
March 18, 2025 at 1:18 PM
Can do some basic @duckdb.org operations now 🤩 🦆
March 13, 2025 at 8:58 AM
I was solving a DP LeetCode problem in Python and I really wanted to visualize my decision tree structure in the terminal. I'm not a Python expert nor I wanted to waste my energy implementing a "pretty print" function. Copilot was disabled, but I turned it on and did what one must (ask the AI):
March 6, 2025 at 1:46 PM
That’s how I best learn things 🎨
December 25, 2024 at 8:57 AM
Nice! For those using ClickHouse and want to read all rows from all the parquet files at once, the following query will give you a glimpse on how to achieve that (see the usage of /* at the end of the S3 path):
November 20, 2024 at 8:14 AM
TIL: window functions work in ORDER BY! Pretty useful for complex sorting. Check this out
November 15, 2024 at 8:31 PM
We got a dog 💜
November 15, 2024 at 7:15 PM
If a node is breaking the heap property push it down by swapping places with smaller children recursively.
November 3, 2024 at 3:45 PM
Sharing some personal notes on the max-heap data structure commonly used for implementing priority queues. I might keep sharing these kind of notes here in case it helps someone else.
November 3, 2024 at 9:10 AM
Postgres is everywhere nowadays
October 31, 2024 at 4:45 PM