I just released NameQL, a tool to help you find a great name for your next product or company. NameQL considers thousands of potential names in milliseconds and shows you the best, and only the ones where [name].com is available. Did I mention that...
It was April 4th, 2016, and our bootstrapped SaaS company, Mealime, was doing just fine, thank you very much. At $6,600 MRR and near-0 costs, it earned enough for its 3 founders, Jeff, Maria and me, to live off of. Sure, it was no monumental success. My “salary” was barely a 5th of what I would earn as a developer for another company. But that modest success meant something big to us: if the slow growth continued, we would never have to “work” again. In short, we had something to lose.
Interested in learning to program? I’ll be teaching a free 3-week mini-course in Courtenay. Join me!
Hacker News is a news aggregator where visitors vote on stories. When your story gets a lot of votes it is a big deal: it can increase your audience by orders of magnitude. I analyzed 1.3 million Hacker News stories and found that when a story is submitted makes a big difference.
Neural networks are a beautiful concept. They are also beautiful to watch.
You are sitting at a slot machine with two levers, labeled A and B. When you pull a lever, sometimes a dollar comes out of the slot and sometimes not. The casino tells you that each lever has a fixed chance of giving you a dollar (its success rate) but, of course, they don’t tell you what it is. Since you don’t have any way of distinguishing them to start, you pull lever A and a dollar comes out (Yipee!). What do you do next?
So you want to be a Data Scientist? The good news is that there are tons of great resources out there to learn from. The bad? None is comprehensive, and choosing the best can be completely overwhelming. I created this list to help you stay focused on learning what’s important, the easiest way possible.
You have a form who’s fields don’t match up to a model. What do you do? Ask any web developer, and they will confidently defend one of three patterns: fat controllers, callbacks, or form objects. It’s an on-going, heated, debate. I would like to propose a fourth pattern, form extensions, which I will argue is often the most pragmatic approach. It is probably not a new idea, but it certainly doesn’t get the lip-service it should. It deserves a name, and a first-class position in a web-developer’s toolbelt.
I was searching for just the right roles system to go with my cancan authorized, ActiveRecord-backed Rails app, and didn’t find anything I liked. There are at least a dozen gems out there, but they were all either too simple, too complex, or too ugly...
Knee-deep in ActiveRecord::Relation code yesterday, I was reminded of some interesting nuggets that I’ve seen used far too rarely. Here, I’ve gathered my top ten most underused relation methods from that list for your reading delight.
Soulmate is an excellent auto-suggestion gem built for speed on sinatra and redis. I recently switched a project’s auto-suggestion engine to it from sphinx, and saw 200ms average response times drop to 10ms. Aside from speed, another huge boon was being able to completely separate the auto-suggestion engine from the main app. This allows it to get overwhelmed with a huge number of requests without significantly affecting the user’s experience. (Decoupling is good!).
Internet Explorer is still more than 60% of my traffic, and I need to do a lot of feature testing on it. A lot of folks push up to a staging server then point a virtual machine to that server. This is too slow for me. Especially when I’m hunting down and fixing particularly pernicious css bugs, there is a lot of tweaking involved, and re-deploying for each test just doesn’t cut it.
Creating my preferred scaffolding for new ruby projects by hand has gotten old. Sure, there are tools out there like bundler’s bundle gem to do this for you, but they aren’t flexible enough to meet everybody’s preferences. I want something as flexible as my tastes are fickle, something I can change the template to on a whim.
When I’ve put a ton of effort into a personal project, I tend to get paranoid that I’ll somehow find a way to toast it. I know, I know, git, github, and time machine already have my back. Sometimes that’s just not enough, though, and I find myself...