Sign in

Matouš Borák

@bora.ma
922 followers 653 following 64 posts

Keeping our never-finished #RubyOnRails code running. 1-day-a-week therapist, dad of 2, loves hiking with them and riding his kickbike. he/him. Mostly dev-related stuff here. 🌍 Prague, Czechia.

PostsRepliesMedia
Matouš Borák @bora.ma · 30/03/2026
My PR fixing a niche issue in the Trilogy gem has just been merged! 🤩 What a rabbit hole that was. github.com/trilogy-libr...
github.com
Read EOF packets with info message after row data by borama · Pull Request #281 · trilogy-libraries/trilogy
As specified in the MySQL Protocol, row data is returned by the server as simple length-encoded strings. For row data longer then 2 ** 24 bytes the length encoding is prefixed with 0xFE which then ...
020
Matouš Borák @bora.ma · 09/01/2026
Maybe that's for you to fork instead ☺️
021
Matouš Borák @bora.ma · 09/01/2026
I always wanted to try Mina github.com/mina-deploy/... but never got to it and it seems rather oldish now unfortunately.
github.com
GitHub - mina-deploy/mina: Blazing fast deployer and server automation tool
Blazing fast deployer and server automation tool. Contribute to mina-deploy/mina development by creating an account on GitHub.
120
Matouš Borák @bora.ma · 04/01/2026
Myslím, že "surface" je výška konkrétního čtverce v síti daného předpovědního modelu. Čili něco jako zprůměrovaná reálná výška oblasti, podle rozlišení modelu. Více o tom např. zde community.windy.com/topic/5297/s...
community.windy.com
"Surface" temperature/wind doesnt show earth's surface values
@sPhoenix Hi NEMS-4 has a better resolution (4km) compared to ECMWF model. And also probably a better terrain resolution. But in Windy NEMS doesn’t show bett...
010
Matouš Borák @bora.ma · 30/09/2025
Is this an intention, regarding the current ruby affairs…? ☺️ Anyways, I always wanted to learn Elixir and now I think it is *the* time.
061
Matouš Borák @bora.ma · 19/09/2025
So glad I got to this wonderful event at least once, it still brings warm memories, thank you for it!
020
Matouš Borák @bora.ma · 15/05/2025
I don't think that is true any more. Many people don't like it but many others do and the term usage spreads continually. www.researchgate.net/publication/...
researchgate.net
(PDF) Od patvaru k SuperStar: Frekvenční a kolokační analýza názvu Česko v korpusové publicistice z let 1990–2018
PDF | The paper focuses on the frequency and collocation analyses of Česko ("Czechia"), the short, geographical name of our country, in the opinion... | Find, read and cite all the research you need o...
010
Reposted by Matouš Borák
Mark Chadbourn @chadbourn.bsky.social · 13/05/2025
Czechia knows what it’s doing.
Map showing the Russian Embassy surrounded by streets named after Russian opposition
15673153
Matouš Borák @bora.ma · 30/03/2025
I still like my TUXEDO dev.to/borama/tuxed...
dev.to
TUXEDO InfinityBook Pro 14: The Linux Laptop
After almost seven years, I decided that the time for an upgrade is up! As a life-long Linux user, I...
030
Reposted by Matouš Borák
Russ Olsen @russolsen.bsky.social · 25/03/2025
I'm thrilled to announce that @baweaver.bsky.social and I have just kicked off work on a second edition of Eloquent Ruby, to be published by our friends at @pragprog.com. The idea is to keep the basic structure of the book the same while updating it to Ruby as it is used today.
2348
Matouš Borák @bora.ma · 23/03/2025
Watched Unfit (www.rottentomatoes.com/m/unfit_the_...) and The Apprentice and both were great and... what a monster he is!
rottentomatoes.com
#Unfit: The Psychology of Donald Trump | Rotten Tomatoes
Mental health professionals discuss the behavior and stability of President Donald Trump.
050
Matouš Borák @bora.ma · 08/03/2025
Tipuju, že to bude příliš dlouhým bezvětřím, lokální zdroje znečištění prostě už pár dní nic nerozfoukává.
010
Matouš Borák @bora.ma · 05/03/2025
Off topic - this was fun but the current political situation as well as certain community leaders statements mostly make me frozen and barely able to work and even less enjoy it. What the hell… 🥶🤷
010
Matouš Borák @bora.ma · 05/03/2025
I just published a post about how we made Tailwind 4 detect CSS classes that are _not_ contained in the main application source files but in one of the gem it uses. It utilizes some tricks to make the gem paths accessible from the project in a stable and relative way. dev.to/nejremeslnic...
dev.to
How to detect classes contained in ruby gems in Tailwind 4
Our main web app uses Tailwind CSS and we are happy to have recently migrated it to Tailwind version...
130
Reposted by Matouš Borák
Xavier Noria @fxn.bsky.social · 31/01/2025
1. Programming gives you the joy of hacking. 2. Testing raises confidence in its correctness. 3. Documenting helps users understand it all. In the case of public software, like OSS, to me, a complete programmer commits to the three of them.
64011
Matouš Borák @bora.ma · 17/01/2025
I look forward to reading this masterhotwire.com but it's still in beta.
masterhotwire.com
Master Hotwire: Master Hotwire to Build Modern Web Apps with Rails Simplicity
"Master Hotwire" is structured to help you build a strong mental model of Hotwire. It combines explanations of functionality with hands-on coding. The book guides you through building a collaborative ...
240
Matouš Borák @bora.ma · 15/01/2025
Thanks, Gregory, for the kind words!
010
Matouš Borák @bora.ma · 14/01/2025
My first Rails PR 🙂. Alright it was just a documentation fix but it was quite nontrivial to find out. github.com/rails/rails/...
github.com
Fix usable values for openssl_verify_mode in Action Mailer configuration guide [ci skip] by borama · Pull Request #54242 · rails/rails
Motivation / Background I followed the Configuration Guide for setting the openssl_verify_mode SMTP settings in Action Mailer. I specifically used a Symbol :none as mentioned in the guide. However ...
1100
Matouš Borák @bora.ma · 07/01/2025
Most of our dev team, including me, is joining! 🙂
151
Reposted by Matouš Borák
Steve Klabnik @steveklabnik.com · 29/12/2024
fishshell.com/blog/rustport/ #rustlang
fishshell.com
Fish 4.0: The Fish Of Theseus
A smart and user-friendly command line shell
615332
Matouš Borák @bora.ma · 27/12/2024
Reading Rebuilding Rails (rebuilding-rails.com) to commemorate Noah and learn from him. Very sad news, RIP.
An excerpt from Noah Gibbs book Rebuilding Rails on Why to rebuild Rails ourselves.
091
Matouš Borák @bora.ma · 25/12/2024
The book contained also a description of the authors fighting with the Soviet censorship when releasing this book for the first time. So absurd and… Russian. They had to update / rewrite it like 20 times before being allowed to publish it.
000
Matouš Borák @bora.ma · 25/12/2024
I enjoyed reading the Roadside Picnic (Stalker) by the Strugatsky brothers (in Czech). A philosophical gem inside a gangster story. Very different than the movie. en.wikipedia.org/wiki/Roadsid...
en.wikipedia.org
Roadside Picnic - Wikipedia
120
Matouš Borák @bora.ma · 25/12/2024
Ideally, guess it from a good name :)
010
Matouš Borák @bora.ma · 25/12/2024
I bet Zack is talking about Recurring tasks as a feature of the Solid Queue gem. github.com/rails/solid_... Since it uses Fugit to parse the cron schedules, I guess it uses ruby's (server's) TZ unless you specify it explicitly github.com/floraison/fu...
130
Matouš Borák @bora.ma · 13/12/2024
I just finished it a couple days ago and got successfully brainwashed (see preface 🙂). Enjoy!
010
Matouš Borák @bora.ma · 11/12/2024
This brings some nice memories, thanks!
010
Matouš Borák @bora.ma · 07/12/2024
About 3 hours but most of the time I just tinkered with proper CSS selectors to extract the right stuff from the page and place the button to the right place. This is actually the complete code:
Source code for a browser extension placing a link to our internal CRM to Outlook web.
030
Matouš Borák @bora.ma · 07/12/2024
I built a Chrome extension yesterday that injects a button into a shared mailbox in our Outlook web so that our admins can look up the given mail sender in our CRM with a single click. It was surprisingly easy! Love to make our Support team happy 😊.
A screenshot from our Outlook shared mailbox with a lookup button shown besides one of the email sender addresses.
140
Matouš Borák @bora.ma · 07/12/2024
During a routine Rails server upgrade, a misconfigured Metabase process sneaked in and took the port 3000. Repeatedly, even after killing it (through systemd automatic restarts). It took me 15 minutes to figure this out and get rid of it...
011
Matouš Borák @bora.ma · 04/12/2024
Yesterday was my birthday and thus a good time to sync my 4K Weeks poster (you basically fill a dot each week to get a high-level view of your life progress) with reality. Turns out I missed just 8 weeks during the last year, not bad! 🙂
My 4K Weeks poster where I draw a dot each week to be in a high-level contact with my life progress. Almost all dots for my past year are filled.
020
Matouš Borák @bora.ma · 02/12/2024
Welcome to BSky, Josef! Nice to see you here.
010
Matouš Borák @bora.ma · 27/11/2024
Thanks for the nudge! I removed the browser check from all our apps. The weirdest thing is that this effectively blocks you from using the mobile device preview in the browser as all the virtual devices have too old User Agent strings… So weird!😣
A webpage open in the mobile device preview in a browser, saying "Status 406, Not Acceptable. Your browser is not supported".
110
Reposted by Matouš Borák
Paul Rickards @paulrickards.bsky.social · 25/11/2024
I’ve been exploring pen plotters for over 10 years (more if you count my first plotter, a Commodore 1520). What started as a curiosity has kept me engaged as a retro computing enthusiast and captivated as an artist. Lets go back in time with some of the plotters I’ve used in various ways. 🧵
A Commodore 1520 pen plotter with 4” wide paper and a color stripped Commodore logo printed on it.
1221229
Matouš Borák @bora.ma · 22/11/2024
Nice read! I experienced many of the same hiccups when setting up Kamal recently. As well as a few others others 😅.
050
Matouš Borák @bora.ma · 20/11/2024
Oh! I see
000
Matouš Borák @bora.ma · 20/11/2024
And allowing everyone is too much, I guess? docs.github.com/en/communiti...
docs.github.com
Changing access permissions for wikis - GitHub Docs
Only repository collaborators can edit a public repository's wiki by default, but you can allow anyone with an account on GitHub.com to edit your wiki.
100
Matouš Borák @bora.ma · 20/11/2024
AFAIK at Basecamp they prefer running it from workstations, we run it from both environments. GHA deploys mean fewer things for our devs to bother with (especially the build context - "am I deploying the right commit?").
010
Matouš Borák @bora.ma · 19/11/2024
Sure! At work and elsewhere too 🙂
010
Matouš Borák @bora.ma · 18/11/2024
They're so lovely! I still have mine from Friendly.rb this year and it reminds me of the nice event.
110
Matouš Borák @bora.ma · 17/11/2024
One related thing I shared lately was this one dev.to/nejremeslnic... but that's rather specific to GitHub Actions. For me the trickiest part was to learn "enough" Docker (I haven't had much experience with Docker up till recently) after I realized Kamal is just a thin wrapper around it.
dev.to
Speed up Kamal deploys in GitHub Actions
Have you got your application successfully deployed using Kamal and GitHub Actions but the deploy...
020
Matouš Borák @bora.ma · 17/11/2024
It really isn't and feel free to ask, perhaps I would know, I went through this recently 😅
120
Matouš Borák @bora.ma · 17/11/2024
Apparently they have already moved off AWS but yeah still... newsletter.pragmaticengineer.com/p/bluesky
newsletter.pragmaticengineer.com
Building Bluesky: a Distributed Social Network (Real-World Engineering Challenges)
Bluesky is built by around 10 engineers, and has amassed 5 million users since publicly launching in February this year. A deep dive into novel design decisions, moving off AWS, and more.
110
Matouš Borák @bora.ma · 17/11/2024
Thanks and good luck with all that! I really like Kamal but it certainly took some time to get through all the concepts 🤞.
110
Matouš Borák @bora.ma · 17/11/2024
Also, as much as I like the simplicity of ufw, it is insecure when used with Docker. www.howtogeek.com/devops/how-t... I was scared to apply the recommended hacks so I moved to firewalld instead. And if I had the option, I'd probably use the hosting-provided firewall instead.
howtogeek.com
How To Use Docker with a UFW Firewall
Surprisingly, Docker does not work out of the box with Linux's "Universal Firewall," or UFW.
120
Matouš Borák @bora.ma · 17/11/2024
Root is AFAIK required just to install Docker itself. Have you seen this? kamal-deploy.org/docs/configu...
kamal-deploy.org
SSH configuration
Deploy web apps anywhere
110
Reposted by Matouš Borák
Sam Aaron @samaaron.bsky.social · 09/11/2024
Learn how to code music with Sonic Pi. For just $25 you can access over 2.5 hours of in-depth knowledge teaching you the basics of programming and music using the powerful and free live coding synthesiser Sonic Pi. www.patreon.com/posts/115659...
patreon.com
Learn how to code music with Sonic Pi | Sam Aaron
Get more from Sam Aaron on Patreon
0116
Reposted by Matouš Borák
Adrian Valenz @adrianvalenz.bsky.social · 14/11/2024
Do I know anyone that knows anyone that's great at marketing. My client is looking for someone to market an app I built them. The app is an peer-to-peer rental marketplace, if that helps narrow down anyone with a focus on that type of app.
003
Matouš Borák @bora.ma · 14/11/2024
My guess is it's related to the crash recovery logs: mariadb.com/kb/en/big-de...
mariadb.com
Big DELETEs
How to DELETE lots of rows from a large table
110
Matouš Borák @bora.ma · 13/11/2024
Ok this looks like a dead end, sorry. At least it inspired me to look into it further and write a post! 😅 bsky.app/profile/bora...
131