I do a little bit of everything. Programming, computer systems hardware, networking, writing, traditional art, digital art (not AI), music production, whittling, 3d modeling and printing, cooking and baking, camping and hiking, knitting and sewing, and target shooting. There is probably more.

  • 7 Posts
  • 218 Comments
Joined 2 years ago
cake
Cake day: June 4th, 2023

help-circle











  • I’ve used powershell in previous jobs and if you learn it really well I cannot deny it is super powerful.

    For a college project, a friend of mine somehow made a hexadecimal file dumper with it, with formatting and everything (think like what you would see in wireshark) in one, reasonably long, line of powershell.

    However I’m just not a big fan of it personally for syntactical reasons (even with the syntax being super logical) and much prefer bash, or other unix-like native shells. I’ve been thinking about taking zsh for a spin recently to see what it’s like.





  • I guess in that case you could do the following, though it is a bit of work:

    1. Learn what actions are supposed to be taken in the demand for selfie identification

    2. Record a video of yourself performing the actions, but not with your hand moving in front of your face for that section

    3. Record a different video of just your hand moving past the camera

    4. Deepfake the face video

    5. Composite the video of the hand over top of the deep fake video with chroma/luma keying

    6. Use virtual webcam software to play back the video into the actual demand for selfie identification

    Wouldn’t work if a real human being is there asking, but should work for a known set of instructions ahead of time that is being audited by software.


  • Couple things to warn you about as I understand them (take with a grain of salt, this is what I remember from reading about this stuff quite some time ago in school).

    RAID is great, but if you are performing mirroring (RAID 1) in your RAID levels, it can be dangerous to do it on multiple SSD’s of the same size. This is because SSD’s longevity is based on how many writes they have in their life time - it is a set amount. This is also why larger SSD’s will typically last longer than smaller SSD’s.

    The problem therein is that if you are mirroring data between 2 SSD’s that are of the same size, when one hits that lifetime write limit, it is likely the other will do the same in very quick succession, or at the same time, meaning that mirroring was not the best idea because both disks can fail at the same time. This is not true for something like a RAID 5, and should only be something to be concerned about if, again, you are using a RAID 1, 51, or something like that etc.

    If for some reason you do want to do mirroring, then look at using spinning disks instead as their mean time between failure is wider in these cases, meaning you are less likely to lose 2 disks at the same time when mirroring.

    Spinning disks are also a good bet if you don’t really need the speed of the SSD’s. They are cheaper for more storage and these days you can typically find some surplus seller who can sell you a lot of them for cheaper than what you would pay new or used for new spinning disks or used SSD’s, but you will lose a lot of read/write speed. Again, which one to go with depends on what kind of data you store and how you access it.

    Also make sure you understand the difference between software RAID and hardware RAID, and the benefits and downsides of using each. Hardware RAID has to be supported by your hardware, but it is much faster when it is writing any additional data to other disks (like when it clones bits onto a second drive in a RAID 1 mirror, or when it writes parity to the disks in a RAID 5). Software RAID you can set up on anything even if the hardware does not support it, so it allows more chances to play around with what you want to invest in for hardware (you can use an old PC tower as a RAID NAS even if it doesn’t support hardware RAID in it’s BIOS for example, which means you don’t have to pay a lot for an actual NAS).

    As others have said as well, you also want to buy more disks than you actually need (I like to have at least 2 unused disks on hand) for cases where you get a disk failure in your RAID array. Furthermore, like others have said, this does not protect against floods, fires, a meteor falling on your house etc - and so it is good to look into a way to make off-site backups on a rotating schedule.

    For this, look up what a 3-2-1 backup is and how that works if you really want to make sure your data is safe.