In this post, I talked about the letter frequency in English presented in Peter Norvig’s research. And then I thought… what about my own mother tongue? So I got a corpus of 5000 books (832,260 words), a mix of Bulgarian authors and translations, and counted the letter frequency. Here’s the result in CSV format: letters.csv […]
Archive for the 'misc hackery' Category
Taking Mozilla’s DeepSpeech for a spin
Dec 1st, 2017Speech-to-text, eh? I wanted to convert episodes of my favorite podcast so their invaluable content is searchable. I’m moderately excited with the results but I’d like to document the effort nonetheless. DeepSpeech First thought – what open-source packages exist out there? Checking out wikipedia I see a brand-new one from Mozilla – DeepSpeech. Intriguing. Install […]
When did blog comments die?
Jan 6th, 2017I disabled comments on this blog and a few other some time ago because I couldn’t keep up deleting spam and it was getting embarrassing. I decided to clean the old ones up, add more protection (captcha? 1 + 5 = ?) and enable again. Needless to say, I failed because of procrastinating at step […]
10 more search results
May 14th, 2010Thought I should share a fun little greasemonkey script that puts twitter-like MORE button (hm, maybe should’ve named it MOAR 🙂 ) at the end of the Yahoo search results. Clicking the button gives you 10 more results without a page refresh. Neat. Download: userscripts.org and a 39 seconds demo…
There will be junk
Feb 18th, 2008Tip #1 for writing better code – edit. With this book I write, I find I’m spending more time editing than writing. The first draft is usually bad. The first draft “works” in the sense that it covers the material, but not necessarily in the best possible way. Same thing with writing code, it’s one […]
Project management for the rest of us
Jan 6th, 2008Life is what happens to you while you’re busy making other plans. – John Lennon Project is what happens while you’re busy with strategy, planning or priotitizing. – Stoyan Stefanov And I’m not even talking about other equally amusing activities such as updating your Gantt charts, percent task completion and WBS 😀
Fancy formatting
Dec 21st, 2007Writing readable code means proper indentation. Usually you’d tab (or use 2 or 4 or 3 spaces) after every curly bracket. Something like this: if (true) { // indent if (false) { // another indent // and some more } } Same goes when you have a bigger hash/object sort of thing: var memememe = […]