03/09/2021 (things i learned) - mongabay oil firms in west papua sueing in retaliation to being revoked??? fuck capitalist colonialism - also fuck the international news for framing west papuans fighting soldiers so negatively - graphviz python / piton3 - damn i was thinking back about tlou2 and the story hurtssss. When i was watching maybe like wow ok, but remembering what happened in the game feels like noo stop stop stopst op - GIMP can turn pdf to png xD - elararchive.org => https://tomassetti.me/parsing-in-python/ This looks really important for parsing => https://www.nayuki.io/page/simple-flac-implementation Wow this is awesome, found by searching "flac python" on ecosia - python very much slower for converting wav to flac xD - Both celluloid and VLC can play flac files which were interrupted halfway during encoding (much less than halfway xD) - `go build main.go` downloads loads of stuff O.O forgot about dependencies, but wow super painless - `date -d @1607508000` unix epoch time to readable - sqlite-tui is amazingggg tq so much - `sqlite3 -header -csv ./newpipe.db "select * from streams;" > streams.csv` command to extract sqlite database to spreadsheet csv - verified that flac converts back (decodes) to exact same wav file using ffmpeg, BUT different from python's super simple one... - hmmm `fail_if(read_fully(inp, 4) != b"data", "Unrecognized WAV file chunk")`, means the flac docs not good enough - encoding IS noticeably slower than decoding - tunggu sebentar... it (python one) FAILED, the flac file was bigger than the wav... maybe it was just unlucky? => https://klarasystems.com/articles/why-you-should-use-bsd-licensing-for-your-next-open-source-project-or-product/ wow this is a really good explanation of software licenses - https://www.nayuki.io/page/angles-in-elastic-two-body-collisions i wonder if this can be done in lean alr - btw damn some people are so smart omg - hehehe did my first projek euler (Project Euler) in piton3 BM (malay), and first one in a longg timeeee in general. super easy no. 59 XOR bruteforce deciphering - nah... setting up git repos for project euler problems is the right way to do things - hexcompare is cool, doesnt support shifting / check in diff style (forgot what algorithm, similarity check?)