Really short post this one on indexing using Cloudant Query to index arrays in your document, e.g. documents that have a field like this: { “ids”: [ “alpha”, “bravo”, “charlie” ] } I was reading the documentation and just could not get it to index these items using anything but the default _all_docs indexer (don’t use … Read More “Cloudant (IBM) Query – Indexing arrays directly using Erlang” »
Category: Programming
I just got my certificate through from Coursera for completing the Heterogeneous Parallel Programming by University of Illinois at Urbana-Champaign on Coursera and I’m very happy! It was a fun (and free) course that covered primarily CUDA programming but towards the end went on to OpenCL. Fun course to do and really helped me rethink parallel … Read More “Heterogeneous Parallel Programming – Completed and Certified!” »
Over the last few days I’ve been working on interfaces to use across multiple programming languages to standardise how some things are done. This stemmed from a requirement to allow processing to be dealt with in any language from any other language. People do this all the time, it’s nothing new, but they generally stick … Read More “Standardising logging and parallelisation in multiple languages” »
As if the news wasn’t good enough that all Windows 7 and 8 users are going to be getting a free upgrade to Windows 10 – the new Windows OS that promises to be everything we wanted and then some. Microsoft have announced that the recently released Raspberry Pi 2 will be getting a specially … Read More “Windows 10 coming to Raspberry Pi 2 – free!” »
Recently I’ve been working with phantomjs in order to do some on-page control without wanting to use an actual browser (phantomjs is headless and requires no X server to be running). One of the first things I wanted to do was created custom modules so I could organise my code clearly. I found a surprising lack … Read More “phantomjs custom module – require and create” »
MySql in C# is rather painless using the MySQL Connector for .net, but one thing it is missing is a no-frills, no extra requirements, no pre-defined ERD return a row as an instance of a class function. Coming from a PHP background, I love the PDO function fetchObject(), it’s just right there and you get … Read More “C# MySqlDataReader – “one line” function to return a row as an instance of a class.” »
I love Cloudant, simple as, their implementation of CouchDB as a DDaaS (as opposed to DBaaS) has no real competitor – as CouchDB develop’s, that may, of course, become a problem as it gives dominance in a market, but for now, we’re good. One of their best features is the dbcopy command, this copies the … Read More “Cloudant’s Rather Awesome dbcopy for re-reducing the output of existing map/reduce data.” »
So often you find yourself needing a list of countries for use in your software and I keep having to re-use this code so here is a list of countries with their ISO codes in a variety of formats you can simply just use. # C# Dictionary ISO { countrycode, countryname } list new Dictionary<string, … Read More “Country/Currency List for C#, JSON, PHP and HTML select” »
Amazon’s EC2 platform has a very in-depth console which allows you to do a lot, but what if you want to automate some of the processes or handling servers? I’ve been working with EC2 a lot recently and automating server starting/stopping based on parameters of the system we use here at MediaSkunkworks and thought I’d … Read More “Using Amazon EC2 with C# .net” »
Dotdeb.org have the PHP 5.4 series available for installation on Debian based OS’s, you can either do it manually or use my installation script I wrote to make the process easier. All you need to do is run: curl https://wade.one/blog/wp-content/uploads/php54.sh | sudo bash And it’ll do the rest for you! Feel free to just download … Read More “PHP5.4.3 Available on Dotdeb.org (Installs fine on Ubuntu)” »