News for hackers. Stuff that matters.

zjmil

Re:Ask HN: Programming Courses for Experienced Coders? on Friday December 29, 2023 @12:08PM (#38807370)
I have also taken the "Rafting Trip" course and enjoyed it. Second that it is for more experienced developers.
If you want something related in video form, the lectures[0] from MIT 15.401 Finance Theory I [1] by professor Andrew Lo are great.

[0] https://www.youtube.com/playlist?list=PLUl4u3cNGP63B2lDhyKOs...

[1] https://ocw.mit.edu/courses/15-401-finance-theory-i-fall-200...

Re:Ask HN: Have you bought I bonds yet? Why not? on Thursday September 22, 2022 @01:43PM (#32942238)
No because when I went to register, my account couldn’t be automatically authorized (probably because I had just moved). Instead for authorization they require that I fill out a form, have a certifying officer at a financial institution sign it, and mail it in. I couldn’t be bothered for only 10k.

Form: https://www.treasurydirect.gov/pdf/rs/acctauth.pdf

Re:Ask HN: Good programming streamers / content creators? on Thursday December 23, 2021 @06:53PM (#29668051)
I've quite liked Jon Gjengset's videos on more advanced topics in Rust. https://www.youtube.com/c/JonGjengset
Re:Fzf – the basics part 1 – layout on Friday February 05, 2021 @02:32PM (#26040257)
You could do something like this (not super thoroughly tested):

  npmrf () {
    local script
    script=$(jq -r '.scripts | to_entries[] | "\(.key) => \(.value)"' < package.json | sort | fzf | cut -d' ' -f1) && npm run "$script"
  }

It uses jq's to_entries to pull out the script/command key pairs and then just cuts out the script name after you choose the command (assumes the command name doesn't have spaces).