• 0 Posts
  • 174 Comments
Joined 1 year ago
cake
Cake day: June 6th, 2024

help-circle









  • For the most part it’s best to use system provided sorting implementations, but somebody has to write those implementations, so every once in a while somebody needs to do it (in practice by looking up a reference implementation of course).

    But also it’s good to understand things like big O scaling and why we use quicksort rather than a naive insertion sort and when to use quick sort vs merge sort or some other form of stable sort.



  • I looked into building my own keyboard, and then realized there are some excellent hobbyist tier keyboards that are 99% of what I would have wanted from building myself for like 30% of the cost.

    I’m using the Hexgears Gemini Dawn right now, and I’m quite happy with it, but if I were to get a new one today I might go with something that supports QMK like the Massdrop CTRL.

    The main 2 features I look for are hot-swappable switches and programmable firmware. Personally I like an aluminum frame and look for that as well.

    You’ll pay about $100 for a prebuilt vs like $500 for building it yourself


  • Are you confusing CRF with CBR?

    CRF is the video equivalent of VBR music. The music equivalent of two-pass video encoding is ABR music.

    When tuned for a specific file, CRF and two-pass video will give similar results. They both result in a variable bitrate encoding.

    When using the same config on different files, you might find that two-pass encoding produces unnecessarily large files for something with little movement like anime, or has quality issues for something with a lot of movement like a lot of shaky camera or film grain. Meanwhile the same CRF setting will work well in just about any scenario, using more bitrate for files that need it, and less bitrate for files that don’t.