HackerTrans
トップ新着トレンドコメント過去質問紹介求人

harryvederci

no profile record

コメント

harryvederci
·9 か月前·議論
"Everything Is Content Now" by Patrick (H) Willems:

https://www.youtube.com/watch?v=hAtbFwzZp6Y
harryvederci
·4 年前·議論
For work it's different, but for my side project:

    $ git log --pretty=oneline | wc -l # Total amount of commits.
    1369
    $ git log | grep '^    \.$' | wc -l # Count commits with a message of "."
    902
harryvederci
·4 年前·議論
By now, you saying you're about to implement something yourself is probably an indicator for everyone else that they don't have to do it.

"We're good, everyone. Justine is on it."
harryvederci
·4 年前·議論
Interesting approach, I'm taking notes!

Something I'm currently doing for my CV application[0] is auto-generating variables for every table/column name in my SQLite DB. As I'm using a dynamically typed language, it's normally easy to mess up with a typo when getting a valuable out of a query result. But when I use the auto-generated variables I'll know I messed up during compile time. That also means my SQLite schema is always my source of truth. Maybe there are better ways to do it, but I find it really useful so far!

[0] https://withoutdistractions.com/cv - I'm doing a "Show HN" today here: https://news.ycombinator.com/item?id=31246696

(I have to admit I'm kinda jaleous you beat me to the front page within half an hour. What sacrifice did you make to which algorithm deity? I won't tell anyone.)