Thursday, June 3, 2021

Font Scaling in QT5 and OBS

 If you like to use OBS and have high resolution displays (4k, 8k, etc.) you may run into known silliness with poor EDID support in X and in the monitors themselves with regard to size and DPI.  If you find  yourself getting teeny tiny fonts in the obs UI (or any other QT app) the fix is easy. Just add the following to your ~/.profile.


export QT_AUTO_SCREEN_SCALE_FACTOR=0

export QT_FONT_DPI=80

That's it.

Sunday, May 23, 2021

External USB Hard Drives

 So I decided to have a look at taking external hard drives apart. Something the data storage community (e.g. /r/datahoarders) call "shucking". You buy external drives, open them up like a clam, and take out the meaty goodness.

For various reasons hard drive manufacturers have wildly different pricing and channels designed for intended "use cases". In general much of this is cosmetic and if you aren't paying attention you can spend 2-5x the price of a plain old hard drive for no good reason.

Therefore I bought two USB powered external miniature drives and opened them up. One by Seagate and the other by Western Digital. Both claimed to be USB 3.0 drives with 5TB of capacity. However they were two very different kinds of drives.


First off, the connection to the computer came up as usb-storage for one and uas for the other. For those that don't know, the simple difference is "uas" is better than "usb-storage". The former allows for advanced SATA features such as command queueing and letting the drive optimize access. The latter is a bit dumber.

Western Digital (usb-storage) 5TB $99/Amazon

The western digital was fairly easy to pry apart, though not without marring the case. Inside we see what at first looks like an ordinary hard drive.


Closer inspection, however reveals that the controller board has the USB port directly built into it. These drives are unusable as anything other than a USB attached drive.


Seagate (uas) 5TB $109.99/Amazon

The Seagate on the other hand reveals a nice surprise.

What's under the foil you ask? Well let's have a look.

That's a nice little accessory card that incorporates a USB3.0 to SATA connector. It's like getting two toys for the price of one.


Sadly, however, these drives are quantity restricted due to the massive demand causing storage prices to spike. The cryptocurrency madness of CHIA has ruined the HDD market just as Ethereum ruined the video game market.