This action will delete this post on this instance and on all federated instances, and it cannot be undone. Are you certain you want to delete this post?
This action will delete this post on this instance and on all federated instances, and it cannot be undone. Are you certain you want to delete this post?
This action will block this actor and hide all of their past and future posts. Are you certain you want to block this actor?
This action will block this object. Are you certain you want to block this object?
Today we celebrate the 12th anniversary of Crystal!
The initial commit was on September 4, 2012 🎉
https://github.com/crystal-lang/crystal/commit/220bb8c736381d5beda5e7bc36c8d7f0d59badf6
I set up Supermaven AI-based code completion (Co-pilot competitor) using their #Neovim plugin. They have a free tier, which seems to work great, and the Neovim plugin could not be simpler to install and use. Only used it for less than a day so far, but I like it. It's fast. https://supermaven.com/
New blog post: "Parsing Protobuf Definitions with Tree-sitter" . It's all about how I used #Treesitter to jumpstart some nice internal #Protobuf tooling at work in #Golang. https://relistan.com/parsing-protobuf-files-with-treesitter
I am working with protobuf
files and wanted to write some new tooling for code generation that doesn't use Go's horrible protoreflect
.
I started parsing the files with Treesitter (in Go), which works great. Writing query S expressions was kinda annoying but then I found that #Neovim has a built-in #Treesitter query editor and live tree/document playground.
Holy crap! This is sooooo nice. 🤯
#nybolt #ev #electriccars #ElectricVehicles #battery #tesla #elonmusk
This one is better than Musk’s Tesla:
“A British startup may have found the answer to one of the frustrations of driving an electric car — waiting around for the battery to charge.
Nybolt, based in Cambridge, has developed a new 35kWh lithium-ion battery that was charged from 10% to 80% in just over four and a half minutes in its first live demonstration last week.
That is much faster than the 20 minutes or so it currently takes some electric cars using a fast charger, such as a Tesla (TSLA) Supercharger. It is also much closer to the two minutes it takes to fill up the average gasoline-powered car.”
https://www.cnn.com/2024/07/01/cars/electric-car-battery-charge/index.html
It still annoys me that installing the aws-cli tools requires all of Python to be installed. Would love a single binary (a la Go) instead #AWS.
I just realized today that SQLite actually has `json_extract()`! This is potentially pretty huge for one of our use cases. Combined with indexes on expressions, this is pretty powerful. I use json_extract() all the time on Athena and Trino. Didn't realized SQLite had it.
At Mozi, our whole backend is evented and event-sourced along the lines of my blog post from 2022 at Community.com. Tom Patterer and I hooked up DBT today, backed by Athena, and we then wired up Amazon Quicskight and got some charts with BI metrics. Fairly happy with that.
Man, these new #GtiHub ARM64/AARCH64 beta runners are fast. Maybe not bogged down with tons of noisy neighbors yet.
#GitHub finally released #ARM64 runners into public beta. I had to make some small changes to the build because the ARM Ubuntu image is a little different. But one of our service build times for the ARM64 container went down from 20 mins --> 4 mins! Win.