Become a member
Sign in
luqmaan
luqmaan

luqmaan

https://github.com/luqmaan https://twitter.com/luqmonster

Editor of Horrible Hacks
29 Following
119 Followers
·
  • Profile
  • Claps
  • Highlights
  • Responses

Latest

luqmaan
luqmaan in Horrible Hacks
Mar 7, 2018 · 4 min read

Using systemd as a better cron

systemd is a pretty great way to schedule cron like tasks using Linux. In the past, I’ve used everything from cron to full blown distributed task scheduling systems. For my latest project (kickdb.com), I had been using a pretty hacky combo of tmux, while, and sleep on a tiny…

156

6 responses
luqmaan
luqmaan in Horrible Hacks
Jan 9, 2018 · 3 min read

Customizing scores in Elasticsearch for product recommendations

Elasticsearch has a really nifty feature called function_score that allows you to modify the scores of documents. It took me a while to figure out the exact syntax of function_score, so I’m sharing it here.

320

luqmaan
luqmaan in Horrible Hacks
Jul 17, 2016 · 4 min read

Things I wish I knew about Redux

I’ve been working on React/Redux apps for about a year. I wish I knew these things when I started.

Looking back, these things should have been obvious to me. But they weren’t. I feel dumb. Don’t be dumb. Learn from my mistakes.

746

19 responses