News for hackers. Stuff that matters.

stdohm

Re:GitHub Desktop 3.2: Preview your pull request on Saturday March 04, 2023 @01:38PM (#35023226)
Been using GitX for many years . Happy to learn there’s a new fork. Thanks!
Re:Moving a macOS window by clicking anywhere on it on Thursday May 05, 2022 @04:39PM (#31278124)
Something I use all the time to handle applications which might have multiple instances opened at once. For example, web browsers.

Press CMD-TAB to bring up the list of opened applications and then pressing UP or DOWN over a selected application to show the opened instances. After that use LEFT or RIGHT to select the instance you want to show.

Re:Apple M1 Ultra on Tuesday March 08, 2022 @06:24PM (#30608777)
lol, good one! I hope marketing sees this.
goto; conferences

https://www.youtube.com/c/GotoConferences

Good talks on a variety of topics.

Re:Simple SQL in Python on Thursday August 13, 2020 @07:45PM (#24151307)
Total agree and I use query builders all the time. (Yours definitely looks nice.) I was curious though how others might of handled these issues when using libraries like the one posted here which is just raw sql.
Re:Simple SQL in Python on Thursday August 13, 2020 @03:15PM (#24147130)
I'm a fan of using raw sql like this but curious if anyone has solved deduplicating common statements and dynamic queries in a good way.

For example:

1) Imagine lots of queries having to show the results in the context of a user and therefore use the same JOIN and WHERE clause all over. Not being DRY, this breaks down when having to change the clause at all.

2) Imagine a reporting page that allows for filtering and ordering by different columns and therefore need some way to compose the final sql.