HNHacker News
TopNewBestAskShowJobs

lefnire

330 karma · joined April 6, 2012

Full-stack JavaScript dev, 10 years in web & mobile with a recent switch to machine learning. Focused on React / React Native, Python, TensorFlow. ML focus on NLP (chatbots), particularly LSTM-RNNs.

Creator of HabitRPG, a startup begun on Kickstarter which now has ~1.5M users. Built an enterprise PDF-creation service employed by 1.5k sites, and websites for clients such as Adidas, BigFix, and UCSF. Obsessed with AI - bonafide Singularitarian and herald for the takeover. Check out my AI podcast http://ocdevel.com/podcasts/machine-learning.

submissionscomments
lefnire··on Derby and Meteor
Yeah - I had a previous post that was successful on HackerNews. Brought the site down, so I took it offline, enabled aggressive & static caching (was previously normal caching), as well as Boost. Imported database to prod, restarted - mostly fixed it, but had to boost my RAM to 1GB, then it survived the rest of the storm. With this happening again, at small 13 points for this post, I'm the same as you - glad to be out of that world.
lefnire··on Derby and Meteor
Ooo, checking that out now. Parse alternative? http://www.quora.com/Firebase/How-does-Firebase-differ-from-...
lefnire··on Derby and Meteor
But I did :(

Edit: Even using Boost

lefnire··on Derby and Meteor
That would be Drupal. Nail on the coffin. I'll be switching to Jekyll + Github Pages sooner than later.
lefnire··on New Year's Resolutions: Improve Habits With an RPG
If you have coding chops, check out the API for that https://github.com/lefnire/habitrpg/wiki/API
lefnire··on New Year's Resolutions: Improve Habits With an RPG
You're looking at the technical definition of RPG, not the traditional. Didn't play much SNES?
lefnire··on New Year's Resolutions: Improve Habits With an RPG
If any of you develop, Habit has very simple one-method REST: https://github.com/lefnire/habitrpg/wiki/API
lefnire··on New Year's Resolutions: Improve Habits With an RPG
I just started seeing this too. I think I know what it is, and am trying to figure out how to go about fixing it. When someone closes their laptop or turns off their phone before closing the browser tab, it crashes the app. Something with socket.io + connect-mongo in DerbyJS, it's a new bug.

Anyway, 500 indeed - but I'm using nodejitsu/forever-monitor to restart the app when it crashes, so it should come back just fine, you'll just have to refresh and wait a bit. Thanks for pointing this out

lefnire··on New Year's Resolutions: Improve Habits With an RPG
Very similar. It's a really cool app, too - had I known about it before, I wouldn't have developed C'est la vie.

Pros/Cons: * Epic is only iPhone, Habit is Web & responsive, so will work on all devices. I'm working on a PhoneGap app too. Anyway, I thought EW only on iPhone was lame, since I have Android. * EW is badge-based, and only tracks improvement. Habit is more traditional RPG-style (exp, hp, gp) and tracks both improvements and failure, so it's better for gauging actual progress. ++ for Habit: it's more real, and more comfortable for SNES RPG players. ++ for EW: you won't experience failure anxiety, as @ElliotH mentioned below.

lefnire··on New Year's Resolutions: Improve Habits With an RPG
Thanks for the comment, your advice shows great understanding of the space because I've come to many of those same conclusions only after time.

Indeed, I've found very few people to use custom Rewards, I may discontinue that. The in-game rewards will become more useful when Groups is developed, so you can compete your avatars.

I've come to deem Habits indeed as useful mostly with APIs, and have considered manual Habit entry as temporary until enough services utilize the API, after which I may discontinue manual Habit-entry.

RescueTime and Fitbit are definitely on the horizon, as well as PivotalTracker, Withings, Anki, and more (see http://goo.gl/beQtz)

lefnire··on New Year's Resolutions: Improve Habits With an RPG
I would say, word all your failures as successes. (+)points for "a day without junk food" instead (-)points for "junkfood". With HabitRPG you can do that by making everything a habit with only "up" enabled - don't use dailies, and make sure your habits have "down" disabled.

Alternatively, if you find compounding failures to be the issue, you can reset your character on HabitRPG (which I do quite frequently) when you're ready to start over.

lefnire··on Poll: What kind of tool do you use to write code?
WebStorm + Emacs
lefnire··on Why don't people like Facebook auth?
Gotcha, it sounds like those 2 are indeed the reasons - and many people feel quite strongly about it. So twitter/other might be a so-so alternative convenience, but password is a vital alternative
lefnire··on Ask HN: Where do you (programmers) find freelancing gigs?
see this answer: http://news.ycombinator.com/item?id=4731232
lefnire··on Show HN: Role Playing Game for Self Improvement (weekend project)
A la your question, I added this commit to prevent deleting long-standing red tasks: http://goo.gl/Wc6Yr . Thanks again for the input
lefnire··on Ask HN: Idea - Github for sharing revenue amongst contributors
http://en.wikipedia.org/wiki/Commercial_open_source_applicat...
lefnire··on Show HN: Role Playing Game for Self Improvement (weekend project)
Ah, I see some of these apps doc you points for deleting tasks. I'll look into that after all
lefnire··on Show HN: Role Playing Game for Self Improvement (weekend project)
Oh wow, don't know how I missed EpicWin... searched high and low before deciding to make it myself. Looks like an incredible app - I'll have to borrow an iPhone & try it out.

As far as deleting tasks they can't do - it's an honor system because you're only cheating yourself. It's like ticking ever day on Joe's Goals to pretend you have a habit streak, or entering broccoli for every meal in MyFitnessPal - defeats the purpose. However, let's say someone is level 10 with good weapons/armor, and they're struggling under a few goals. They could just delete those goals and recreate them for a clean slate. The downside here is that they lose all their historical data on those goals (it keeps a history graph of your progress), so there's some incentive to use Re-roll instead (or to just be accountable).

Now, once I get some 3rd-party productivity app integration (Pivotal Tracker, MyFitnessPal, RescueTime, etc) - those goals will be static (they can't edit them), and will be updated automatically. So that will lock them down a bit more. I'm planning on Pivotal & Pomodoro very soon.

Thanks for checking it out DevAccount!

lefnire··on Show HN: Role Playing Game for Self Improvement (weekend project)
Hey HN, been working on a project & could use all you lovelies' feedback :) I was inspired by habit-tracker apps like Joe's Goals, but I wanted something more robust and personally motivating. So I built a habit-tracker which plays like an RPG. As you accomplish goals, you level up. If you fail your goals, you lose hit points. You can buy weapons and armor, etc. Open source (https://github.com/lefnire/habitrpg), built on DerbyJS (http://derbyjs.com/), and uses BrowserQuest's icon sets. Integration with productivity tools primary on the roadmap (https://github.com/lefnire/habitrpg#roadmap).

I stress-tested some, but Derby is a work in progress - so bear with me, I'll restart if it goes down.

lefnire··on Ask HN: Idea - Github for sharing revenue amongst contributors
That's true, there could be a lot of time in research and offline action going behind a single commit. Any suggestions re: other Github-provided data?
lefnire··on Show HN: Ymacs - Emacs in the browser with Dropbox, GDrive, etc
mind blown
lefnire··on Node.js Frameworks Comparison
I updated the blog to sound less "meh" about Geddy, telling people to give it a whirl - hope I didn't offend. It's been a while since I looked at Geddy, but I remember thinking of it as a direct competitor (and incompatible) to Express, with additional MVC components. I've always taken Express & Connect to be pretty standard at this point, and which have their own universe of middleware modules such as EveryAuth & Passport. The reason I didn't choose Geddy is I'd lose out on these goodies.

Meteor takes a similar, and more extreme approach - you can't use NPM at all, much less Express - which precludes a lot of modules. Quite unattractive to many, but because it takes care of every bit of your app - a complete end-to-end framework - people get over it.

Anyway, Geddy is a seasoned framework which has been around for a while, with titan developers & great architecture - I don't mean to poo-poo it by any means.

lefnire··on Node.js Frameworks Comparison
should be fixed I hope huff puff
lefnire··on Node.js Frameworks Comparison
Woa mama! Sorry guys, site-owner here - wasn't prepared for HN. Trying to get it back up. Anyway, the conclusion - in order: Derby, Meteor, SocketStream, Express, Tower. Express was less in the ordered list and more an "if you don't want the full-fledged framework"
lefnire··on Geeklist Is Raising $1M to Build the Center of the Geekosphere
I'd like to see a proper comparison of Geeklist, Masterbranch, Coderwall, Workforpie, etc. That aside, gratz to Geeklist - and awesome product!
lefnire··on Things I’m loving about derbyjs
vs. Meteor, Derby has server-side rendering (need REST?) and uses NPM.
lefnire··on Meteor Raises $11.2M from Andreessen Horowitz
These two frameworks are so similar, and so close in developmental progress. Derby follows more closely the spirit of Node. Meteor's upper hand is its press/following/critical mass, Derby's its architecture and authors. There's some good discussion going on here https://groups.google.com/forum/?fromgroups#!topic/derbyjs/A...
← PreviousPage 3 of 3