ObjectMutator.js: Generating All (or some subset) of Combinations an Object at the Property (or Key/Value pair) Level
Greetings, internet. I’m in the middle of a project moving some old Qt stuff to the browser (using Javascript and React.js.) The project isn’t all that exciting, but sometimes even the most boring projects can turn into delightful programming games and yield insights on where to increase productivity. Case in point: how a language’s type…
My First Experience with Server-Side Swift (using Perfect from perfect.org) – Part 2
In Part 1, I talked about why I chose Swift on the backend and my general overall experience using Perfect on the backend. In Part 2, I want to talk about my experience using Perfect-Mustache and Perfect-Redis. The gist of this post: I hit some minor issues using Perfect-Mustache, but I was able to…
React.js: What’s this.props.children in JSX all about?
If you’re expecting the second installment of the post on Server side swift, don’t worry. I’m still documenting some things! Lately I’ve been toying with the idea of converting an old UI written in Qt to make it work with React, and React is new to me. In React, the user interface is defined in…
My First Experience with Server-Side Swift (using Perfect from perfect.org) – Part 1
Motivations Most of the work I take on involves languages like C++, Swift, or Objective-C and is not typically web based. While I’m normally nestled comfortably in the embrace of C++ template meta-programming or the warm walls of an operating system kernel, even I can sense the uncivilized barbarians at the gate (Javascript) and…
C++, WebSockets, and Mt.Gox
I’ve been reading quite a bit about websockets lately. To test my understanding of the concepts involved, I was trying to connect an application to Mt.Gox in order to collect bitcoin-related pricing information. I was having some difficulty getting all of the parameters aligned properly with all of the various websocket libraries, so I went…
jQuery, Websockets, and Bitcoin Time and Sales
If you haven’t seen Clark Moody’s Mt.Gox bitcoin market data website yet, you should. It’s a really beautiful presentation of realtime Mt.Gox BitCoin orderbook depth, the trade tape, and charts at various time frames. I was so impressed by Clark’s presentation of market information that I wanted to dig into how modern web sites present information…