• 0 Posts
  • 371 Comments
Joined 3 years ago
cake
Cake day: June 30th, 2023

help-circle
  • Yeh, either proxy editing (where it’s low res versions until export).

    Or you could try a more suitable intermediary codec.
    I presume you are editing h.264 or something else with “temporal compression”. Essentially there are a few full frames every second, and the other frames are stored as changes. Massively reduces file size, but makes random access expensive as hell.

    Something like ProRes, DNxHD… I’m sure there are more. They store every frame, so decoding doesn’t require loading the last full frame and applying the changes to the current frame.
    You will end up with massive files (compared to h.264 etc), but they should run a lot better for editing.
    And they are lossless, so you convert source footage then just work away.

    Really high res projects will combine both of these. Proxy editing with intermediary codecs



  • What I’d recommend is setting up a few testing systems with 2-3GB of swap or more, and monitoring what happens over the course of a week or so under varying (memory) load conditions. As long as you haven’t encountered severe memory starvation during that week – in which case the test will not have been very useful – you will probably end up with some number of MB of swap occupied.

    And

    [… On Linux Kernel > 4.0] having a swap size of a few GB keeps your options open on modern kernels.

    And finally

    For laptop/desktop users who want to hibernate to swap, this also needs to be taken into account – in this case your swap file should be at least your physical RAM size.




  • Yeh, ventoy takes an extra step (but ventoy is itself an extra step): find the iso from a legit source instead of using the media creation tool, install software to edit iso, add unattended.xml to the iso, plop iso on ventoy drive.

    Anyone playing around with or working with Linux/windows:
    Check out ventoy. I think they’ve solved their issues of binary blobs and it is so useful.
    Create a Ventoy usb drive. Drag any and all OS ISOs onto the USB stick. Boot from the USB, choose which ISO to actually boot.
    Want to switch flavours of live Linux (or try another installer)? Boot from usb, choose different ISO.
    Absolutely fantastic software





  • Writing reports is hard? Fuck paper work? Policing used to be easier?
    Great, the reports are written for you and the paper work is done for you.
    You are still fucking liable for their contents, as you are (or should be) for your actions.

    Recorded and written reports are the backbone of accountability.

    Don’t want to get fucked by the legal system because you have neglected your duties? Don’t neglect your duties. Do the reporting, do the paper work.

    Using LLM in such reports should be equivalent of perjury. Use LLMs to create bullet points, turn that into a draft (or just submit the bullet points, because someone is likely to feed the report back into an LLM to turn it into bullet points).
    But know that you are (or should be) accountable for every last word on that report!



  • In my experience, a Scheduler is something that schedules time on the CPU for processes (threads).

    So 10 processes (threads) say “I need to do something”:
    2 of those threads are “ready to continue” because they were previously waiting on some Disk IO (and responsibly released thread control while data was fetched).
    1 of the threads says “this is critical for GPU operations”.
    1 of those threads self declares it is elevated priority.

    The scheduler decides which of those threads actually gets time on an available CPU core to be processed.





  • And then OneDrive comes along, someone accidentally saved “to the cloud” (IE the default windows location of OneDrive). And of course someone (you) has to fix all the desync bullshit.
    Fuck excel, fuck Microsoft, fuck OneDrive!

    Thank god my company is transitioning to a decent no code solution (nocobase plus literally anything that can interact with postgres - currently n8n but not yet limited to that. It’s a transition from excel, literally anything is better! (Tho, nocobase is awesome, non has it’s perks)).
    Many parentheses, soz.
    Fuck excel, use a database!




  • towerful@programming.devtoSelfhosted@lemmy.worldUnifi Anonymous...?
    link
    fedilink
    English
    arrow-up
    6
    arrow-down
    1
    ·
    30 days ago

    Pretty much any mikrotik is a fantastic piece of kit to have.
    It is so unbelievably versatile.
    I love the various mikrotik routers, switches and APs I have. I use them all the time for little ad-hoc networks and projects and stuff.
    You will learn a lot about networking when using them.

    But Unifi is a hell of a lot easier to use, and I have not found anything I can’t do on unifi (but I don’t do bgp, mlag, etc at home).