30/05/2025

Notes on installing Matlab on Kubuntu 25.04

 I don't use matlab a lot, which means I keep running into the same snags on installing.

No. 1: "error while loading shared libraries and libexpat.so.1: file too short" during install. 
That's a broken links issue that can be resolved by setting the X and K flags during unzipping 
unzip -X -K matlab_R<yourversion>.zip

Source: MATLAB answers

No. 2: Matlab crashed while trying to load the addon explorer, with some complaint about memory issues.
Apparently a Java issue to do with the open files limit (see this discussion). 

I simply increased the system-wide hard limit, but would probably try doing it via ulimit -n first next time.

10/05/2025

Passive aggressive Easter egg of the week

import seaborn as sns
import numpy as np
data = np.random.randint(0,10,(50,5))
sns.violinplot(data,palette='jet')