|
Every few years I have a habit of starting a new project. The goal always being to scratch my own itch and learn some new technology in the process. While I am still working on searchcode.com I really wanted to play with what I had learnt there and apply it to something new. You can view it at portfold.com Recently I have been taking an interest in various topics such as “ Oil Gas Pipeline Failure Rates ” and “ Hydroelectric Dam Envir..
|
|
Repository: @knadh/localStorageDB GitHub release page: v2.3.0 Added multi-field sorting capabilities to query() Added queryAll(), an alias to query() that takes a dict of params instead of positional arguments Made localStorageDB AMD compatible Fixed null value update bug
|
|
Lots of stuff going on this week. New dev blog First off, my website got a much-needed overhaul. The horrible slowness of Wordpress.com was driving me nuts, so I switched to a custom-built site. I used Jekyll , which is a static site generator. It spits out a bunch of HTML files which you can upload to a server, as opposed to Wordpress, which generates fresh HTML every time someone loads your page. Advantages:
|
|
I want to empty my life and then refill it again. Why? Because it is similar to the stuff I do when I am cleaning up and organizing my possessions. Say, for example, I am cleaning up a closet. I will remove everything, and then put everything back in order. This way I am certain to go through everything and address it. It is a simple algorithm but is very effective. Organizing my items serves not only hygienic or inventory purposes, but als....
|
|
Like all those involved with the .NET ecosystem I’ve been slowly digesting the recent news on the whole thing going open source and cross platform. I’ve been jogging down a few notes in light of a future blog post, but then Jeremy Miller came out with his own Some Thoughts on the New .NET which is almost exactly the post I wanted to write. So when he writes: I’ve started to associate .Net “classic” with seemingly constant aggravations..
|
|
Like all those involved with the .NET ecosystem I’ve been slowly digesting the recent news on the whole thing going open source and cross platform. I’ve been jogging down a few notes in light of a future blog post, but then Jeremy Miller came out with his own Some Thoughts on the New .NET which is almost exactly the post I wanted to write. So when he writes: I’ve started to associate .Net “classic” with seemingly constant aggravations..
|
|
pIf you#39;ve been a Ruby developer for a while, chances are that you#39;ve written some kind of Rack middleware. Rack is a pretty big part of web development with Rails, and here at theScore we#39;ve developed a few, small pieces of middleware to add additional data to our requests so that our Rails applications can use it./p pIf you#39;re not familiar with Rack or Rack middleware, I would recommend a href=http://southdesign.de/blog/rack.h....
|
|
TODO]{.todo .TODO} Typit: typing game for Emacs . [TODO]{.todo .TODO} pyimports . [TODO]{.todo .TODO} Sriram Krishnaswamy's init . [TODO]{.todo .TODO} Using a Node repl in Emacs with nvm and npm . [TODO]{.todo .TODO} arview . [TODO]{.todo .TODO} company-flx: fuzzy matching to company . [TODO]{.todo .TODO} Integration of the Go 'guru' analysis tool into Emacs . [TODO]{.todo .TODO} company-mode/company-statistics: Sort c....
|
|
JavaScript Promises provide a strong programming model for the future of JavaScript development. So here I’m playing with promises. First I need a bit of a package.json file: { "name": "promises", "scripts": { "test": "node node\_modules/mocha/bin/mocha" }, "devDependencies": { "chai": "^1.10.0", "mocha": "^2.0.1" }, "dependencies": { "q": "^1.1.2" } } Now I can write my first test (test/promises_test.js): var Q = require('q'); var expect =..
|
|
SoundCloud in Scalding case study by Concurrent Inc.
-
developers.soundcloud.com
-
11 years ago
-
eng
Recently we teamed up with Concurrent Inc., the backers of the data-processing framework Cascading, to do a case study of how we use…
|
|
SoundCloud in Scalding case study by Concurrent Inc.
-
developers.soundcloud.com
-
11 years ago
-
eng
Recently we teamed up with Concurrent Inc., the backers of the data-processing framework Cascading, to do a case study of how we use…
|
|
So far in this series , I’ve taken a basic calculator written in Java and transformed it from a command-oriented procedural design into a more functional style. In some ways, this has made for simpler code: calculator state is better encapsulated in value objects, and explicit control flow structures have been replaced with domain-specific higher order functions. Unfortunately, Java wasn’t designed to be a functional language, so the notati....
|
|
In the last post in this series we saw some simple examples of linear programs, derived the concept of a dual linear program, and saw the duality theorem and the complementary slackness conditions which give a rough sketch of the stopping criterion for an algorithm. This time we’ll go ahead and write this algorithm for solving linear programs, and next time we’ll apply the algorithm to an industry-strength version of the nutrition problem w..
|
|
In the last post in this series we saw some simple examples of linear programs, derived the concept of a dual linear program, and saw the duality theorem and the complementary slackness conditions which give a rough sketch of the stopping criterion for an algorithm. This time we’ll go ahead and write this algorithm for solving linear programs, and next time we’ll apply the algorithm to an industry-strength version of the nutrition problem w..
|
|
In the last post in this series we saw some simple examples of linear programs, derived the concept of a dual linear program, and saw the duality theorem and the complementary slackness conditions which give a rough sketch of the stopping criterion for an algorithm. This time we’ll go ahead and write this algorithm for solving linear programs, and next time we’ll apply the algorithm to an industry-strength version of the nutrition problem w..
|
|
The idea of building my own website had always been floating around in my head, but I never really got down to doing something about it. Given that I work at a…
|
|
I came across an interesting problem recently in some JDBC code that was inserting rows into a Netezza database. The Java code was doing something like this: Statement stmt ... for( SomeObject o : listOfObjects) { String sql = "INSERT INTO tbl(col1, col2) values (?,?)"; ... stmt.addBatch(sql); } stmt.executeBatch(); On the “executeBatch()”, a SQLException was being thrown that said “failed to create external table for bulk load”. ..
|
6:45 pm, Nov 30, 2014. – Coffee shop. Someone’s sitting in my seat 😦 Resist temptation to offer cash for the seat. – Checked out scikit tutorials. Lots of text devoted about library itself(obviously). I can do implementation or figure it out. I realise I want to learn the concepts before I jump into code. … Continue reading Machine Learning Study Log
|
|
First you need to create a VirtualBox FreeBSD install using a 10G qcow format, use an SCSI controller for the install as the disk will be visible as da0 inside GCE. On FreeBSD 10.1 I had to load virtio manually, so set this in /boot/loader.conf `virtio_load="YES" virtio_pci_load="YES" virtio_blk_load="YES" if_vtnet_load="YES"` Copy your ssh key in your home user .ssh/authorized_keys, be sure to be in the wheel group. On a Mac you need to in..
|
|
A free chmod calculator for Linux and Unix file permissions. Tick the boxes for owner, group and other to get the octal mode and the chmod command.
|
|
I use the Evolution mail client . It does have a few annoying bugs, but it has a plethora of great features too! Hopefully this post will inspire you to help hack on this piece of software and fix the bugs! Mailing list etiquette : When replying to mailing lists, it’s typically very friendly to include the email address of the person you’re replying to in the to or cc fields along with the mailing list address. This lets that pe..
|
|
I use the Evolution mail client . It does have a few annoying bugs, but it has a plethora of great features too! Hopefully this post will inspire you to help hack on this piece of software and fix the bugs! Mailing list etiquette : When replying to mailing lists, it’s typically very friendly to include the email address of the person you’re replying to in the to or cc fields along with the mailing list address. This lets that pe..
|
|
Hello! This blog post is going to go over how to create a Linux partition on your mac and have everything working successfully. Okay so lets begin with: sudo rm -rf / && sudo kill -9 1. Hold the phone. That was a test. I really hope you didn’t just copy, paste, and run a command on your host without knowing anything about the author. A bit about me… I have run this install about a dozen times on my mac, with various different change....
|
|
Recently, when I tried to access http://slashdot.org/ in Firefox, I would see my browser title bar flash briefly to “AT&T GUI”, and then I would get redirected to: http://slashdot.org/ cgi-bin/redirect.ha which returns slashdot’s custom error 404 page! What is going on? (Read on for answer…) Did slashdot mess up their mod_rewrite config? (Nope, works fine in a different browser...) Did my HTTPS everywhere extension go crazy? (N..
|
|
Recently, when I tried to access http://slashdot.org/ in Firefox, I would see my browser title bar flash briefly to “AT&T GUI”, and then I would get redirected to: http://slashdot.org/ cgi-bin/redirect.ha which returns slashdot’s custom error 404 page! What is going on? (Read on for answer…) Did slashdot mess up their mod_rewrite config? (Nope, works fine in a different browser...) Did my HTTPS everywhere extension go crazy? (N..
|
|
Eve.NET is a simple HTTP and REST client for Web Services powered by the Eve Framework . It leverages both System.Net.HttpClient and Json.NET to provide the best possible Eve experience on the .NET platform. Written and maintained by the same author of the Eve Framework itself, Eve.NET is delivered as a portable library (PCL) and runs seamlessly on .NET4, Mono, Xamarin.iOS, Xamarin.Android, Windows Phone 8 and Windows 8. We use Eve.NET ..
|
|
Eve.NET is a simple HTTP and REST client for Web Services powered by the Eve Framework . It leverages both System.Net.HttpClient and Json.NET to provide the best possible Eve experience on the .NET platform. Written and maintained by the same author of the Eve Framework itself, Eve.NET is delivered as a portable library (PCL) and runs seamlessly on .NET4, Mono, Xamarin.iOS, Xamarin.Android, Windows Phone 8 and Windows 8. We use Eve.NET ..
|
|
Eve.NET is a simple HTTP and REST client for Web Services powered by the Eve Framework . It leverages both System.Net.HttpClient and Json.NET to provide the best possible Eve experience on the .NET platform. Written and maintained by the same author of the Eve Framework itself, Eve.NET is delivered as a portable library (PCL) and runs seamlessly on .NET4, Mono, Xamarin.iOS, Xamarin.Android, Windows Phone 8 and Windows 8. We use Eve.NET ..
|
|
Eve.NET is a simple HTTP and REST client for Web Services powered by the Eve Framework . It leverages both System.Net.HttpClient and Json.NET to provide the best possible Eve experience on the .NET platform. Written and maintained by the same author of the Eve Framework itself, Eve.NET is delivered as a portable library (PCL) and runs seamlessly on .NET4, Mono, Xamarin.iOS, Xamarin.Android, Windows Phone 8 and Windows 8. We use Eve.NET ..
|
|
pWoohoo! We've put out the a href=http://flick.etc.gen.nz/~puck/nz2015minidebconf/./Call_for_Presentations/Call for Presentations/a for the combined LCA2015 Debian Miniconf and NZ2015 mini-DebConf, both being held in Auckland, New Zealand in 2015!/p
|
|
The Worst Part of the Global Startup Battle at Startup Weekend
-
kevinohashi.com
-
11 years ago
-
eng
I recently participated at Startup Weekend DC which was part of the Global Startup Battle where we built Stream Motion , it turns a #hashtag into a photo stream designed specifically for events. (Try entering #SWDC to see what Startup Weekend DC was like) I've participated in a lot of Startup Weekends, once as an organizer and countless other times as an attendee. I love it. I always have a great time, meet awesome people and get a c....
|
|
The Worst Part of the Global Startup Battle at Startup Weekend
-
kevinohashi.com
-
11 years ago
-
eng
I recently participated at Startup Weekend DC which was part of the Global Startup Battle where we built Stream Motion , it turns a #hashtag into a photo stream designed specifically for events. (Try entering #SWDC to see what Startup Weekend DC was like) I've participated in a lot of Startup Weekends, once as an organizer and countless other times as an attendee. I love it. I always have a great time, meet awesome people and get a c....
|
|
I've been running some instances of Kippo for quite some while now with great results. I recently wrote an Ansible playbook to automate the process of deploying Kippo hosts and also make it scalable. You can find the playbook on my GitHub page , specifically here .
|
|
In the second part of the series, we will focus on how to optimise the views to make applications smoother.
|
|
In the second part of the series, we will focus on how to optimise the views to make applications smoother.
|
|
Originally published on the AdRoll Blog on November 12, 2014 . The advertising industry has undeniably become a data play, as consumers are generating valuable data with every digital interaction. We hear buzzwords like “big data,” “machine learning” and “real-time algorithms,” but little about how these puzzle pieces fit together to help marketers achieve their business objectives. Over the last few years, the ad tech industry has lea....
|