Newsfeed

Keycloak: How to override the password reset emails

In order to override the text of the password reset emails in Keycloak, you want to do the following.

Make your own copy of the default themes. These can currently be found at: https://github.com/Halazv2/keycloak-theme/tree/master/themes/base/email 

Then, make changes to the theme as appropriate. There are several themes: the login theme stores the styling of the login pages. But the email theme contains the wording of the emails. 

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,
    )

A recommendation to rename "criticality" -> "priority"

Just throwing two cents here - if the pandemic taught us 10 things, one of those ten gotta be that small details in communication matter very much. With that, I recommend renaming the word "criticality" -> "priority". The reasoning is as follows. And be careful with the red color in the smart sheet too, please, for the same reason.