Troubleshooting.

[FIXED] ruby on rails :: LoadError: cannot load such file -- distribution

Specifically for the wco  stack, gem 'iron_warbler' had to be included in that particular instance's (micros_*) Gemfile. Which is a bit disappointing since I wanted libraries to be decoupled - but hey, I'm not going to fix this right now. But please be aware: it may seem that there is a separation between libraries and some libraries (namely models and content) can be installed without the rest of the stack - but that's not the case. The whole stack must be installed.

[FIXED]: An external drive not mounting on mac (fsck, not fdisk)

This happened to me recently... I may have unplugged an external 5Tb harddrive without ejecting it from mac os x 13, and it could not be mounted again. I plugged the harddrive into a windows machine, run "repair" there (whatever that means) and the data was perfectly readable. It's just that the disk would not mount on mac.

Stackoverflow to the rescue! The solution is:

sudo pkill -f fsck

Or actually

ps aux | grep fsck 

Google Fi: Suggested APN Settings

APN Name	Google Fi
APN	h2g2
Proxy	
Port	
Username	
Password	
Server	
MMSC	http://m.fi.goog/mms/wapenc
MMS Proxy	
MMS Port	
MCC	310
MNC	260
Authentication Type	
APN Type	
APN Protocol	IPv4/IPv6
APN Roaming Protocol	IPv4/IPv6
Bearer	
MVNO Type	
MVNO Type

.

Pytorch cuda tries to allocate memory but it is not available

If you see an error similar to this one:

RuntimeError: CUDA out of memory. Tried to allocate 11.88 MiB (GPU 4; 15.75 GiB total capacity; 10.50 GiB already allocated; 1.88 MiB free; 3.03 GiB cached)

then, try reducing the batch size.

    train_loader = DataLoader(
        train_dataset,
        shuffle=False,
        pin_memory=False,
        batch_size=2, # was: 16
        num_workers=12,
    )