• 0 Posts
  • 9 Comments
Joined 1 year ago
cake
Cake day: August 4th, 2023

help-circle




  • You can sometimes deal with performance issues by caching, if you want to trade one hard problem for another (cache invalidation). There’s plenty of cases where that’s not a solution though. I recently had a 1ns time budget on a change. That kind of optimization is fun/impossible to do in Python and straightforward to accomplish Rust or C/C++ once you’ve set up your measurements.



  • WSL is just a well integrated VM running Linux. It’s mainly intended for CLI tools, but there’s nothing preventing you from e.g. running an X server and having programs appear in the Windows “window manager”.

    The super key is largely inaccessible though. It’s tied very deeply into Windows, which is still the one talking to the keyboard.




  • AlotOfReading@lemmy.worldtoAndroid@lemmy.worldUSB-C
    link
    fedilink
    English
    arrow-up
    7
    ·
    1 year ago

    Apple was one of the major contributors to the USB-C standard, including the physical connectors.

    The tongue design was used because it makes high speed a lot easier. If your traces are in the center of the connector, you can do a cutout of the PCB and mount a “dumb” connector housing for the socket. You can also have a ground plane right in the middle and use both sides for differential pairs, which is exactly what happened. It also means you don’t have to deal with the pain of high frequency signals leaving the board into the air like other connectors.

    But yes, don’t shove screwdrivers into your USB sockets either.