When it comes to building a push/pop system, both Redis and MongoDB can be used as effective solutions. However, there are a few key differences between these two databases that can impact which one you choose for your system. Redis is an in-memory data structure store that can be used as a database, cache, and … Read More “Expanding on performance of Redis vs MongoDB for a push/pull system” »
Category: Programming
I’ve been working on a new as-fast-as-possible platform for a specific situation I can’t go in to right now but I wanted to use MongoDB, however, I needed to reduce costs and use AWS so I wanted to use DocumentDB and needed to compare. Sadly DocumentDB does not cover 100% of MongoDB. Here’s the comparison: … Read More “MongoDB vs DocumentDB” »
PHP is a widely used programming language that has been evolving rapidly in recent years. PHP 8.2 is the latest release, which came out on November 25th, 2021. This version brings several improvements, new features, and bug fixes, making it more efficient and secure than PHP 7.4. In this blog post, I’ll briefly discuss the … Read More “PHP 8.2 vs 7.4” »
I love my Pi2 and my Pi3, they’re amazing pieces of cheap kit I can do anything with – although to be honest I don’t use them anywhere near as much as I should. So here is a compilation of things I found useful this last week when I finally got around to building my … Read More “Useful tidbits for Raspberry pi users on Raspian – aka things I wish I knew quicker/easier” »
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” »
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.” »