Alexis Rondeau

Archive

June 2023 · 7 dispatches

Comment on I don't need your query language

> The problem with SQL is that it is not a (very) composable language.

I thought the same until a few weeks ago. Then we used the WITH operator for pre-processing and giving things human-readable names.

That helped us manage complexity. The final SELECT statement was very easy to reason about.

Not sure if this is a best (or worst) practice but it helped us ship it.

Comment on I don't need your query language

I had a similar experience this month. We've been pair-programming using Dbt to write "long-form" SQL to bubble up a report to our business users.

After an initial "Uh-oh, I haven't manually written complex SQL in a while..." it all came back fast enough (Thanks, first-semester relational algebra!). Turns out, sql is well-suited for business "in-queries"!

The things that made us scratch our heads came from how the schema had evolved over time. We now have those hairballs at least 'contained' and visible. And it's all pretty readable imho.

I guess my initial unease came from using ORMs for CRUD persistence and very rare exploration. And holy moly, I'm grateful for ORMs. I wouldn't want to manually write those inserts and updates.

So, I guess it depends on what you want to accomplish with your database.

Btw: A HUGE shout-out to Dbt and Dbt cloud for letting us treat sql as code. Didn't expect to love it that much. How was this not a thing earlier?

132 reposts
Reposting @emollick · Jun 9, 2023

The collective intelligence of a team depends on more than the intelligence of individual members. It is limited by the emotional intelligence of the least sensitive team member

But adding folks with high social skills to a team & improving process boosts collective intelligence t.co/xBFpKP80kN

Image from the post
Image from the post
Image from the post

KeyPair

KeyPair makes using keyboard shortcuts during pair programming sessions easier.

1 star · Swift

KeyPair makes using keyboard shortcuts for pair programming sessions easier

https://github.com/akaalias/KeyPair/assets/111555/7fbafcf4-c90b-442a-a5ba-18a2692479cf

🎁 Download KeyPair!

The problem with hotkeys and pair programming

The problem I’ve had is that when one person is the “driver” in a pair programming session and the other is the ‘navigator’, when the driver uses keyboard shortcuts (while using the IDE for example) things start happening on the screen for the ‘navigator’ but it’s unclear why (because the navigator is looking at the screen, not the driver’s hands)

So, the app I made is a small window that shows when the driver uses any keyboard shortcuts that are triggered with the command, option, control, shift and function keys.

From simple things like Command-C/Command-V for copy and paste to complex commands like Command-shift-enter for code refactoring in IntelliJ.

Accessibility Settings

https://github.com/akaalias/KeyPair/assets/111555/2b0629af-0c4b-4c66-ba9c-052869628a5b

Reference and License

  • The main global key monitor that works with Accessibility and keeping the Sandbox intact for notarization by Apple was developed by @karaggeorge in their key-cast project. As their project is MIT licensed (and their code does the heavy-lifting here), this project is also MIT licensed and public.

🎁 Download KeyPair!