Feb. 24th, 2023

dybr

Feb. 24th, 2023 09:10 pm
juan_gandhi: (Default)
 
Lucky day, no meetings. Oh. Maybe I missed one. Whatever, who cares.

Spent a day playing with slick, postgres, etc. By the end of the day cleaned up the tables and wrote the code that at least fills the db and reads the records (which are in the db split into two tables).

Who cares. Just learned how to deal with pg via slick. Not bad, not bad. No json involved. Pretty much type-safe.

Sent a PR by the end of the day.

Oh, I'm also on this pager duty - but that was easy.

Ok, around 10pm figure out that I let in little Bobby Tables in my code. interpolation of a sql statement is not the brightest idea, right? So there. Added some checks; later will figure out what can I do to properly parameterize the statements. But now I just check what I'm given, and throw little Bobby Tables under the bus.

Profile

juan_gandhi: (Default)
Juan-Carlos Gandhi

December 2025

S M T W T F S
  12 3 4 56
7 8910111213
14151617181920
21222324252627
28293031   

Most Popular Tags

Page Summary

Style Credit

Expand Cut Tags

No cut tags
Page generated Dec. 9th, 2025 05:22 am
Powered by Dreamwidth Studios