• 0 Posts
  • 62 Comments
Joined 1 year ago
cake
Cake day: July 2nd, 2023

help-circle


  • I love this standard. If you dig deeper into it, the standard also covers a way to express intervals and periods. E.g. “P1Y2M10DT2H30M” represents one year, 2 months, 10 days, 2 hours and 30 mins.

    I recall once using the standard when writing a cron-style scheduler.

    I also like the POSIX “seconds since 1970” standard, but I feel that should only be used in RAM when performing operations (time differences in timers etc.). It irks me when it’s used for serialising to text/JSON/XML/CSV.

    Also: Does Excel recognise a full ISO8601 timestamp yet?






  • What do you think WHQL is?

    The problem with CrowdStrike’s solution is that they got csagent.sys driver signed by WHQL, and the driver will download p-code from the internet and execute it. This allows them to push out changes without waiting for Microsoft approval.

    The biggest problem occurs when you don’t sanitize your inputs and someone accidentally uploads a blank file padded with zeroes. The driver dereferences a null value, and crashes your system. Hard.




  • pHr34kY@lemmy.worldtoSelfhosted@lemmy.worldAny MythTV Users Here?
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    3 months ago

    I used MythTV for decades. I really loved the “raw” digital output of the music player. It would casually hop from 44/16/2.0 to 96/24/5.1 between songs and my amp would decode it. I even contributed a small patch to make the visualizer work with 24bit audio.

    The live TV hardware accelerated deinterlacing was really good too. TV recording was super reliable.

    The TVDb lookup was a tad glitchy. It turns out that it didn’t include the year in the lookup. I wrote a patch that did it (and improved my metadata lookups heaps) but never made a PR.

    I jumped to Plex around 2020. Mostly for things like streaming to my phone so I can have my music on the train. I believe Myth was better for HTPC, but Plex isn’t too far off.

    I’m not a fan of Plex audio. Every time I try to make it do AC3 passthrough or skip the OS mixers, the whole thing breaks.


  • The longest outage I’ve had in a decade is when my primary SSD died a 2 months ago and I had to reinstall using config backups. It was down for around a day.

    I’ve thrown a UPS on it and flown overseas for a week or two. It’s basically just email for me and the kids.

    I’ve had longer outages on hosted services, TBH.


  • I host my own mail. When it’s down, the mail just gets delivered after I get online again. Almost all mail servers are configured to retry over a period of several days before giving up.

    Once my health insurer sent me mail by post to tell me that my mail server was down. That was kinda funny.






  • I import from card using my own C program that reads the EXIF timestamps and sorts them into directories using the timestamps for directory and filenames (e.g. “yyyy/yyyy-mm-dd/hhmmss.jpg”).

    Then I would typically use darktable if I want to postprocess. I shoot 99% JPEG. I’ll use GIMP for quick edits.

    If I want to share, I create an album in Lychee, which is a self-hosted PHP gallery on my web server.

    I’ve never used Photoshop or LightRoom. I have no idea what they’re like.



  • pHr34kY@lemmy.worldtoSelfhosted@lemmy.worldDo you encrypt your data drives?
    link
    fedilink
    English
    arrow-up
    4
    arrow-down
    1
    ·
    edit-2
    5 months ago

    I did have LUKS and a USB flash drive with a key to be inserted on boot. It was definitely difficult and caused performance issues. It was particularly difficult to add/remove drives from the array. These days I only encrypt my off-site backups that sit at the office where my coworkers potentially have physical access.

    There have been recent advancements in TPM so disk encryption is easier to maintain and doesn’t affect performance. I’ll need to investigate this one day. My server/NAS is a 4th-gen i5, so it may not support the functions I would need. Full disk encryption will land in Ubuntu soon. I’m hanging out for that.