December 29, 2016 / Node-RED, Huginn, IFTTT, Zapier, Flow, RaspberryPi, RPi

Huginn is an open-source software similar to Yahoo Pipes, IFTTT, Zapier, or Microsoft Flow. Node-RED is another similar open-source software but it’s aimed more at IoT applications. I was using Huginn for about a year for the purpose of ingesting data and outputting RSS feeds. This week I swapped out Huginn and started using Node-RED instead. So far it’s working

read more »
December 27, 2016 / Thinkpad, Lenovo, laptop, E431, Start-up, Arch, Linux Unix QNX

click to see full image

read more »

I recently bought a 2016 4-door Mazda 3 i Sport with Automatic transmission and the Preferred Equipment Package (MSRP $20,730.00). This is the second time I bought a car and I viewed it as another learning experience. The table below shows the various prices I got from different sources. They’re wildly different from what I actually paid in the end.

read more »
May 12, 2016 / Parser, Compiler, ECMAScript, JavaScript

Here’s an interesting discussion that came up during a code review at my company Kash. One reviewer said the following JavaScript code looks weird and was surprised that it even works: and that the following coding convention is more preferable and more readable: The author of the change disagrees and wonders why there is confusion about that. The code says

read more »
March 24, 2016 / dotcom, domain

A little while ago I came across Flippa. It’s a marketplace that allows people to sell domain names they own. It was surprising to me to see 4-letter domain names being sold on there. I guess I just haven’t been paying attention to domain names. Aside from .com domains, I also saw 4-letter .org domain names like ocag.org being sold.

read more »

Although I took a compiler course while in university over 10 years ago, I don’t write parsers or compilers on a day-to-day basis. So even though I understand that parsers are probably what’s behind some of the JavaScript tools I use, it sometimes feel a bit like magic. Today we enjoy tools like Babel, ReactJS, ESLint or JSHint, and UglifyJS,

read more »

Pingdom recently sent out an email notification telling users that their free monitoring tier will no longer feature 1-minute check interval. That’s too bad because I’ve been using the free tier for my personal blog. When I needed something for my company I was happy to pay Pingdom for the higher tier. The new free tier from Pingdom only allows

read more »

UPDATE: FastMail wrote about how they sanitise emails to protect their users. I encourage all email app developers to read it and do it properly, while maintaining good layout and readability.


tl;dr The only apps that can protect your privacy are the built-in Email app, FastMail, or Gmail (not Inbox). One of the first things I did after

read more »
October 31, 2015 / Mad Coding, RegEx, Regular Expression, NFA

UPDATE the excellent course on Coursera by professor Robert Sedgewick also covers this with an implementation via digraph I recently came across Russ Cox’s explanation on how many regular expression implementations behave in an exponential way in certain situations, whereas if a Nondeterministic Finite Automaton (NFA) is used then it has no such issue. Definitely go have a read. It’s

read more »
October 29, 2015 / Mad Coding, Hakyll, Haskell

When Hakyll v4 was released, I wrote about upgrading from v3 to v4 and I also wrote about paginated post listing. Things have changed since the release of Hakyll v4.5.4.0 as it now gained pagination support. That’s good because I’ve been wanting to make my post listing better by showing more than 2 posts per page, so I figured it’s

read more »

 
Older Entries »