• 0 Posts
  • 16 Comments
Joined 1 year ago
cake
Cake day: June 13th, 2023

help-circle




  • If you need a UI, flutter is great, but for a complete beginner it has a bit of a learning curve.

    Maybe you could start with a small PWA (progressive web app) using Javascript or typescript. You can do it all in the front-end for something small like this, though you won’t be able to implement some features like synchronization across devices



  • I personally don’t care too much about the headphone jack (or lack thereof) when buying a new phone. That being said, for someone that doesn’t care all that much about audio quality, Bluetooth headphones are just fine, and I prefer having a more water resistant phone (maybe I just bought into the marketing on that point, but it seems harder to waterproof a phone when there are holes in it, though the usb port is still there as a weak point so…)

    I’ve just accepted that the lack of headphone jack is the new norm.






  • My company didn’t leave me a choice, I got an XPS 15 which I had to setup with my distro of choice (but all the internal tooling is for Ubuntu, I personally would have preferred to install Fedora or Debian 12 with i3wm).

    It’s not that bad a laptop but it overheats like crazy and has really shit battery life (barely enough for a meeting), and some of its features I can’t explain : why is a 4k touchscreen on a laptop a good thing? It eats 4x the battery for no noticeable visual improvement. I don’t use my laptop 5 inches from my face.




  • ELI5 : Take the string AAAA.

    A simple Cypher would be to change the letters to the next one in the alphabet and offset by 1 for each letter, the message would encrypt to ABCD.

    If you try to compress that, well you can’t do it, otherwise you lose required information.

    If you were to compress AAAA first, you could represent it as the string 4A. You can then encrypt that to 5B.

    Encrypting is about adding entropy to a message. Compressing is about finding common groups and represent them differently so that the size is lower. Compressing an encrypted message is basically useless because you added so much entropy to the message that there are no more recognizable patterns to apply compression to.