Best talk ever?
(Funniest, at least!). Well worth the 27min watch.
(Funniest, at least!). Well worth the 27min watch.
DevLog for Jan 5, 2015
Trying out the ByWord app, since it has MarkDown support and also publishes to WordPress. Paid Rs. 900 for it, let’s hope it is useful. Hate the default font, though.
Reading list: * What most young programmers need to learn was nice. I just feel lucky to have been gifted a copy of Code Complete and Pragmatic Programmer when I was 15 (by Colinizer).
Nothing much going on…
I should probably write a ‘Year in Review 2014’ post, but so much of that is going to be NSFW and private that there probably is no point… ;)
Woohoo, 2015! :) Let’s see if I can keep this going this time :)
labsdb-auditor
rewrite patch. Code clean enough for my tastes now, although not documented enough. Lots of back and forth CR with valhallasw was really nice – it’s something I’ve been missing for the past few months. Debating over style and cleanliness was also interesting. Felt like I had been taking code cleanliness and proper design not as seriously as I should have, and this is now time to change that. Also spent time consciously thinking about the commit message I was writing, and shall continue doing that. I think I’ve taken a few things for granted wrt code quality and design, and should be more careful. And learnt a few more tricks about decorators (haven’t built decorators that are parameterized before).Was a great idea! It just worked (with an OTP cable), and I can now probably find much more uses for this thing than I could before. Yay!
I wonder if I can use this to write code. However, a 7 inch tablet is very poorly suited for that task – would need at least a 10″ one. But there aren’t many of those going around these days…
I’ll probably use this for random browsing / commenting, and use my Mac for actual programming.
That was a long break. Should get into better habits. I’m sure I’d miss some here. Oh well.
It was a very interesting week, culminating in some very interesting things at Trafalgar Square. I feel much better as a person and more calmer/chilled out now :) Should remember to take weekends off.
#shout-irc
channel now, and activity seems to be speeding along. Should be fun to see how it goes :)labmon1001
) because it is much easier from a networking perspective. Right now it only has a simple http check for betacluster, but more coming.nagios_commmon
module for config that can be shared between shinken and icinga, and into an icinga
module for everything else. Moved all the custom checks and check config we have, moving other things as we go. This is a bit hard / frustrating since I don’t have access to the machine icinga runs on (neon
), and also because I still do not have +2 in our ops repo (should change in a month, tho!). Am about 40 patches in (small ones!), let’s see how many more it takes!dsh
code into a module. Was fairly trivial. Now to find ways to get it merged :)Five more days left in the UK :( Let me see if I can continue doing these when here, in a more prompt manner.
Back from an awesome vacation. Too awesome to write about, even :) Suffice it to say, England has some really pretty places.
Some Android app work, and lots of monitoring work
mvn
build commands (https://gerrit.wikimedia.org/r/#/c/159482/) and also not cleaning up previous .alpha
subfolders (https://gerrit.wikimedia.org/r/#/c/159481/) – this causes a chain of .alpha.alpha.alpha.*
subfolders, breaking the build.check_graphite
code that lets you individually check a bunch of metrics for thresholds (https://gerrit.wikimedia.org/r/#/c/159473/). This makes it much simpler to do icinga checks on a bunch of metrics that are all measuring the same thing but from different machines. BetaLabs and ToolLabs checks use this.check_graphite
script. Also fucked up trying to replace all double quotes in it with single quotes for consistency – it replaced the double quotes being used inside single quotes, and caused all checks to fail. Fixed shortly by https://gerrit.wikimedia.org/r/#/c/159711/Not a bad day, eh? I’ve been trying to wake up early, perhaps that is helping.
Missed DevLogging for a while.
Am in London now.
check_graphite
does not support wildcard metrics properly – it should check thresholds for each series, but it seems to do that only across the entire series combined, which is kinda useless. Should fix that soon by adding more features to it. Also might try out other alternatives to icinga, since our icinga puppet code is a fuckball anyway.celery
seems to be attempting to read data about a query run from mysql before the web has committed it, which is theoretically impossible (I do a commit before sending the task to celery with the id), so I suspect some mysql fuckery. Will need to debug that sooner than later, and also consider moving to postgres
. But then Quarry will have to deal with SQLite (for result storage), MySQL (for connecting to labsdb) and with postgres for local data, which sounds insanely complex. I also added CORS support to resultsets, and Magnus is playing with it (wooohhooooo!!!). I’m going to add more features to make it easier for people to use results from quarry in their JS applications elsewhere. Should be fun.Am away on ‘vacation’ till Wednesday, yay! :) Should disconnect well.
Chill weekend. Didn’t really do anything code related. Recovering from friday night party :)
Started reading Data + Design which seems quite nice. Also starting a coursera course on Data analysis and Statistical Inference on Sep 1, should be fun.