bits 0x31 - Calender Week 49, 2023
I will no longer put embedded ytb videos here, instead I’ll simply put the URL + some descriptions.
Good Reads
TIL: there are various algorithms to generate diffs, and the ‘patience’ one is pretty interesting. It makes diffs much more human readable
Git Source Code Review: Diff Algorithms by Fabien Sanglard
https://fabiensanglard.net/git_code_review/diff.php
Dynamic linking by Drew
https://drewdevault.com/dynlib
Learns
Fun
VICE - The New Wave of Ultra-Violent Ugandan DIY Action Cinema: Wakaliwood
In the Ugandan slum of Wakaliga, a thriving action film industry called Wakaliwood has emerged. Mixing elements of Western action films and Chinese Kung Fu movies with Ugandan culture, Wakaliwood’s films have garnered a cult following not just in in Uganda, but all over the world. We spend a day on the set of the next Wakaliwood hit.
https://www.youtube.com/watch?v=sy0OOVTmsJI
Not so fun
Code reviews: as part of my work as RA, I was reviewing code from a student to be merged into the main branch of a research project. That was painful because the code clearly doesn’t meet the standards. I won’t comment on the implementation itself because I myself may not be able to do better. However there are obvious source of pains:
- super LONG line with ~240 characters that soft-wraps 2 times on my monitor.
- 200+ lines of code inside of a else{} block, the level can be easily reduced with a early if-not-return.
- I won’t argue which indentation is better (spaces / tabs), but it’s definitely a crime if you mix them.
the modern websites are no longer websites. They are mini applications running in a heavy runtime called Browser.
[+] click to leave a comment [+]
>> SEND COMMENT <<