Here is a very nice visualization tool for k-means clustering: https://www.naftaliharris.com/blog/visualizing-k-means-clustering/ .
I found an old project of mine called Jerly. I wrote it in 2004-2005. I tried it in 2017 and it still works fine :) You can find it on GitHub.
Jerly is a Java implementation of Earley’s efﬁcient parsing algorithm for lambda-free context-free grammars. To put it in a nutshell, it tells you if a word can be generated with a set of rules or not.
Have you ever wondered why regression is called “regression”? It makes no sense. Why is it not “line fitting” for instance?
Here is a nice read that explains why it’s called “regression”.
Under Manjaro, Python 3.5 was updated to version 3.6. This is a big change, so check out the release notes, you might have to do some manual changes.
You want to grab a Twitch video in mp3. For instance, you want to listen to it offline.
You need two programs for it:
ffmpeg. Let’s take a concrete example:
$ youtube-dl -g "https://www.twitch.tv/wearethevr/v/115335579" https://vod067-ttvnw.akamaized.net/v1/AUTH_system/vods_c631/wearethevr_24261824064_585034506/chunked/index-dvr.m3u8 $ ffmpeg -i "https://vod067-ttvnw.akamaized.net/v1/AUTH_system/vods_c631/wearethevr_24261824064_585034506/chunked/index-dvr.m3u8" -f mp3 out.mp3
Where https://www.twitch.tv/wearethevr/v/115335579 is the URL of this particular Twitch video.
I wrote a script for it to automate the whole process: twitch2mp3.
Under Manjaro I wanted to install new fonts. I needed a font pack; I didn’t want to bother with individual fonts.
At https://wiki.archlinux.org/index.php/fonts#TrueType I found some packages:
The Google font kit contains hundreds of fonts.
If you type a text in Gimp and you want to see the text with different fonts, i.e. you want to browse the fonts, here is how to do it.
Move the mouse above the font selector button (between “Font:” and “Sans” on the screenshot) and use the mouse wheel. That’s the trick.