• 1 Post
  • 208 Comments
Joined 7 months ago
cake
Cake day: September 4th, 2024

help-circle



  • I enjoyed my time with our newborn, but it’s no vacation. I took 4.5 months of paternity leave in a row.

    Sweden is pretty generous with parental leave. Me and the Mrs get 480 days to share between us. 390 of which are at some 80% of our salary. The other 90 days pay peanuts, but great to have when you need some time off to get started with preschool and stuff. You have 90 days earmarked for yourself that can’t be transferred to the other parent.

    At 5 days a week those 480 days last two years.











  • I have a storagebox at hetzner. My script does:

    • Mount the storagebox over sshfs with public key file
    • Mount a gocryptfs folder, with supplied key on local file
    • Rsync my stuff to the encrypted folder
    • Unmounts in reverse order

    I can access the storagebox by password, too. So this is my disaster recovery in case my house burns down with all my devices. I’ll just buy another laptop the next day, and me and the Mrs can admire all my code and our wedding videos within a few hours.


  • Just be mindful that some manufacturers do the extremely shitty thing of placing the socket on the headphones in a very specifically shaped recess that only their cables will fit.

    That sounds like a good idea, actually. A lot of those adapters/cables are bastardisations of the USB-C standard, and just re-use a couple of pins to pass on analog audio. I’ve seen at least three variations of it. If it’s not standard, it should not be possible to plug it in to any standard socket.

    The right way to do it is with a proper digital-to-analog converter in the adapter. I hope that’s the most common way today, but I haven’t shopped around in recent years.





  • I’m a bit torn.

    I want there to be diversity and free choice regarding where I get my apps from, so one less choice only strengthens Google’s monopoly.

    As a user, Amazon’s app store was just sketchy.

    As a developer I don’t want to be submitting every update to yet another store for every release. I have had users mail me and ask to add my app to the Amazon app store, because their device didn’t come with Google’s play store.