Code Igniter Codeigniter with PHP 7 on MAMP - Troubleshooting I had codeigniter app that was running well with PHP 5.6 on MAMP. I got the latest version of MAMP Pro with the latest PHP 7. Everything was fine, till I browsed
Trading Backtesting Model - Trade top 5 stocks from the previous day Trying out a toy model that follows the following rule set: * Pick top 5 stocks from the previous day * Invest a fixed amount of INR 5000 in each stock * Exit the stocks the
Startups One Person Company - For Indian Startups This just popped up on my LinkedIn feed from ICICI Bank. Interesting company structure that can be used by freelancers.
Ghost Upgrading Ghost Ghost [https://ghost.org/] is my favorite blogging platform. There are frequent releases on Ghost and I usually upgrade my version a little late .. mainly because I'm lazy. The docs explain
rstats Creating an Organization Chart using R I needed an "Organization Chart" (all the hierarchy yadda yadda) for an application to the government. The typical procedure would be to use Microsoft Visio or Powerpoint. But, I hate all
Trading Using RQuantLib on MacOSX Using RQuantLib on MacOSX * First install QuantLib as mentioned here [http://quantlib.org/install/macosx.shtml] * Install Boost brew install boost * Download QuantLib A version that slightly lags using: brew install QuantLib This
Pebble Creating my first Pebble Watchface Going to try out creating a pebble watchface as mentioned here [https://developer.pebble.com/tutorials/js-watchface-tutorial/part1/]. Installation Install pebble SDK using Homebrew with: brew install pebble/pebble-sdk/pebble-sdk Development I first
Hacks Creating A Native Signature From A Picture To Sign Documents A fun exercise today. I had to sign a document .. self-attestation actually and I hate manual stuff and paper. I wanted to hack a way to get a near real experience of signing
Choropleth US State Level Choropleth using FHFA HPI Data My LinkedIn News (spam?) feed just flashed an interesting choropleth of housing price changes across states (House Prices in Sep 2016 relative to pre-2008 peak) I'll try to replicate something similar
Trading Options Spread position at expiry I've been spending the last couple of weeks creating some algorithmic trading code. I took a spread position on the markets earlier this month. I wagered on fairly large movements from
iPhone Cleaning up my iPhone5s I have a 16GB iPhone 5s. The best iPhone model till date! Screws those 6 & 7 series. They suck! Getting beyond the marketing hype on iPhones from Apple, I strongly believe that
Side Project The Curse of the Side Project Mentality This cartoon summarizes the curse of the side project mentality that people like me suffer from! :-) Its time to focus! :-)
R-Project County level choropleth of the US Presidential Elections Results (2016) The historic election victory of Mr. Trump will be a motivator of posts by data analysts for quite sometime! Here is my attempt to replicate the choropleth shown in this Economist Daily Chart
R-Project Issues with OpenCPU I was running into this terrible error Package 'jsonlite' version 0.9.20 cannot be unloaded. Here is how I tried to debug and fix it * Try out in terminal using
Apache Spark Installing Apache Spark on Ubuntu 16.04 I've finally got to a long pending to-do-item to play with Apache Spark. The following installation steps worked for me on Ubuntu 16.04. * Download the latest pre-built version from http:
Apple Removing DRM protection from iTunes rental movies (Ripping iTunes Rentals) I rent a ton of movies on iTunes but have always disliked the restrictions around portability that Apple thrusts down their users throats. I like to watch a part of my movie on
Mac Resurrecting my Apple TV 3rd Gen I've been a facing a weird lag when I use my Apple TV as an extended monitor. Till recently, it was fine because I decided to use my Apple TV to
Tools Downloading Videos from Youtube using Terminal I wrote earlier about downloading videos from Youtube using Yoda. Trying to download using you-get and it seems to be working better! First, couple of nuances .. you-get needs Python 3. On my OSX,
Trading Box Plot Spread Trading Model Just finished a box plot spread trading model. Here is the payoff diagram :-)
ggplot Reproducing GGPLOT2 AS A CREATIVITY ENGINE Just came across this post in using ggplot in Data Journalism. Reproduced and published the code here [http://rpubs.com/fountainhead/213315]. Code used: library(ggplot2) library(dplyr) library(tidyr) library(magrittr) library(
Tools Read articles on a terminal The current UI trends and viewers including the browser seem to be very bloated for my personal preferences. Looking for a solution, I seem to have settled for now on reading using the
Awesome Coding Challenge for MI5 Completely zapped with these breed of guys understanding the question and actually solving it! Totally in awe! Whooosh! Problem Coding Challenge | MI5 - The Security Service CAN YOU SOLVE THIS PUZZLE? Intelligence isn’
Ubuntu Allow local user to ftp to vsftp service. Solve the login incorrect problem! I just ran into this irritating problem while trying to ftp from my mac to my Ubuntu machine. The service kept returning a login incorrect error and I was literally banging the keyboard
R-Project Creating R Charts with Dual Axes in R Charts with dual axes have been a hot debate topic for quite a while now. I see merits in the arguments against using Dual Axes but then I often them convienient too. I