• 0 Posts
  • 164 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.




  • WolfLink@sh.itjust.workstoScience Memes@mander.xyzshrimp colour drama
    link
    fedilink
    English
    arrow-up
    4
    arrow-down
    3
    ·
    edit-2
    3 months ago

    We don’t really detect direction of light exactly. Instead we detect the location in the eye where the light landed, and have lenses to focus the light onto our retina. That relationship does imply some of the directionality of the light, by ignoring light that goes in certain directions and relating the direction of light that does get detected to the location it ends up.



  • 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