I’m a technical kinda guy, doing technical kinda stuff.

  • 0 Posts
  • 31 Comments
Joined 1 year ago
cake
Cake day: September 27th, 2023

help-circle

  • I don’t think there’s anything commercially available that can do it.

    However, as an experiment, you could:

    • Get a group of photos from a burst shot
    • Encode them as individual frames using a modern video codec using, eg VLC.
    • See what kind of file size you get with the resulting video output.
    • See what artifacts are introduced when you play with encoder settings.

    You could probably/eventually script this kind of operation if you have software that can automatically identify and group images.


  • True. Hence my caveat of “most cards”. If it’s got LEDs on the port, it’s quite likely to signal which speed it is at with those LEDs.

    I haven’t yet come across a gigabit card that won’t do 10Mbit (edit: switches are a different matter) but sometimes I’ve come across cards that fail to negotiate speeds correctly, eg trying for gigabit when they only actually have a 4 wire connection that can support 100Mbit. Forcing the card to the “correct” speed makes them work.






  • Dave.@aussie.zonetoSelfhosted@lemmy.worldMy homelab had the stupidest outage ever
    link
    fedilink
    English
    arrow-up
    158
    arrow-down
    1
    ·
    edit-2
    3 months ago
    1. Replace CMOS battery.
    2. Get small UPS.
    3. Discover that small UPS’s fail regularly, usually with cooked batteries.
    4. Add maintenance routine for UPS battery.
    5. Begin to wonder if this is really worth it when the rest of the house has no power during an outage.
    6. Get small generator.
    7. Discover that small generators also need maintenance and exercise.
    8. Decide to get a whole house battery backup a-la Tesla Powerwall topped off by solar and a dedicated generator.
    9. Spend 15 years paying this off while wondering if the payback was really worth it, because you can count on one hand the number of extended power outages in that time.
    10. In the end times a roving band of thugs comes around and kills you and strips your house of valuable technology, leaving your homelab setup behind and - sadly - without power. Your dream of unlimited availability has all been for nought.

    Conclusion: just replace the CMOS battery on a yearly basis during planned system downtime.





  • McAfee wrote a program that used the Sqlite library for database storage.

    When going about its data storage business for McAfee’s program, the Sqlite library was storing files in C:\temp with prefixes like sqlite_3726371.

    Users see that and get angry, and bug the Sqlite developers.

    Now probably when initialising the Sqlite library McAfee could have given it the location of a directory to keep it’s temp files. Then they could have been tucked away somewhere along with the rest of the McAfee code base and be more easily recognised as belonging to them, but they didn’t.

    So because of a bit of careless programming on McAfee’s part, Sqlite developers were getting the heat because the files were easily recognisable as belonging to them.

    Because the Sqlite developers don’t have control of what McAfee was doing, the most expedient way to solve the problem was to obfuscate the name a bit.


  • And how if you share a file in Teams and then six months later you want to share a file with the same name to ANYONE else via teams, well that’s a big no-can-do. Teams just went ahead and uploaded that file to your “stuff to share” folder in OneDrive and didn’t put it in a subfolder unique to the chat, or add a unique prefix or suffix or anything because hey, you’ll only ever share a file with a particular name once in your life, right?

    And nobody would ever want to share a file with the same name, but different data, right? So Teams can just give the end user the choice between replacing the current file with the new one, or sharing the same one again to these new guys, because there’s no possible use case for actually having two files named the same with different information in the file, right?

    Nobody would want to share a README.TXT, or Photo001.jpg, or contact.ics, or a zip file of a folder they just downloaded from Teams’ SharePoint interface, the file that’s automatically called “OneDrive.zip” without the option to change it before saving, more than once, right? Right??

    Fuck teams. And fuck Teams(New) too, just for the shitty name.


  • Generally I bash together the one-off programs in Python and if I discover that my “one off” program is actually being run 4 times a week, that’s when I look at switching to a compiled language.

    Case in point: I threw together a python program that followed a trajectory in a point cloud and erased a box around the trajectory. Found a python point cloud library, swore at my code (and the library code) for a few hours, tidied up a few point clouds with it, job done.

    And then other people in my company also needed to do the same thing and after a few months of occasional use, I rewrote it using C++ and Open3D. A few days of swearing this time (mainly because my C++ is a bit rusty, and Open3D’s C++ interface is a sparsely-documented back end to their main python front end).

    End result though is that point clouds that took 3 minutes to process before in python now take 10 seconds, and now there’s a visualisation widget that shows the effects of the processing so you don’t have to open the cloud in another viewer to see that it was ok.

    But anyway, like you said, python is good for prototyping, and when you hash out your approach and things are fairly nailed down and now you’d like some speed, jump to a compiled language and reap the benefits.



  • They are supposed to be the glue that binds the internal team together as well as bonding to external groups.

    The project manager organises external requirements and steers the project in the direction needed for the business. That direction might change depending on the status of other projects, it’s their job to be on top of that.

    They also report progress and roadblocks upstream so that those who manage groups of related projects can work on keeping everything running.

    Whether they’re actually competent, well that’s something else entirely.



  • Having SSD dram allows the SSD to say “done” sooner to the OS despite it taking the same total time.

    That’s exactly why. When writing to a drive the OS waits until the disk says “done” and then goes about it’s business.

    If the drive then takes an extra bit of time internally to write to permanent storage that’s none of the OS’s business as long as it can pull that written data from “somewhere” and deliver it to the OS if asked.