TLDR: If you do not secure boot with your keys and instead use someone else’s you can not guarantee you are booting securely. XKCD's very valid opinion about security For starters, if you boot into your computer with the default Microsoft EFI keys they have been leaked or they were leaked back in 2016. This means that anyone who has access to Microsoft’s keys can hypothetically get the first execution in front of your EFI firmware. ...
Unusual python syntax
Lets first start with yes there are wierd things that are syntacticaly correct, but are ard to read. For example in c++ and javascript you can use inline functions and the && and || operator to performs if else statements. In python there are these list generators where it is possible to have a for loop inside of an array. Another wierd bit of syntax that is syntactially correct would be using the star opperator in a functions arguments. ...
pytorch Loading Model
When trying to learn AI I realized that loading the model on a smaller and less capable device would be necessary. Considering I would like t o hypothetically load the model up on my phone or a cheep laptop. I first started googling around, but that got me no where considering i did not have the structure set up to save the file. First you need a model in a nn. ...
Ai
...
Math
This is a test $ \begin{bmatrix} s & 0 & 0 & 0\\ 0 & s & 0 & 0\\ 0 & 0 & s & 0\\ 0 & 0 & 0 & 1\\ \end{bmatrix} $ $ \begin{bmatrix} cos(ay) & 0 & sin(ay) & 0\\ 0 & s & 0 & 0\\ -sin(ay) & 0 & cos(ay) & 0\\ 0 & 0 & 0 & 1\\ \end{bmatrix} $ $ \begin{bmatrix} cos(i) + cos(☊) \times cos(☊) \times (1 - cos(i)) & - sin(☊) \times sin(i) & cos(☊) \times sin(☊) \times (1 - cos(i)) & 0 \\ sin(☊) \times sin(i) & 0 & - cos(☊) \times sin(i) & 0 \\ sin(☊) \times cos(☊) \times (1 - cos(i)) & cos(☊) \times sin(i) & cos(i) + sin(☊) \times sin(☊) \times (1 - cos(i)) & 0 \\ 0 & 0 & 0 & 1 \\ \end{bmatrix} $ $ \begin{bmatrix} cos(\theta) & 0 & sin(\theta) & 0\\ 0 & s & 0 & 0\\ -sin(\theta) & 0 & cos(\theta) & 0\\ 0 & 0 & 0 & 1\\ \end{bmatrix} $ $ \begin{bmatrix} x & y & z & 0\\ \end{bmatrix} $ ...
Gnome Health mobile patch
When trying the Gnome health app on the pinephone there are a few noticeable problems as of release 0.93.3. The first one is the add data button. The problem with this is that the dialog box takes 600 units wide. This is more than can fit on the pinephone’s screen at the default 200% scaling factor. This means that the save and cancel buttons are hidden. The first component that was needed to fix was the resizable property. ...