Better HN
topnewbestaskshowjobs
Log inSign up

avand

273 karma · joined Oct 10, 2009 (17y ago) · 73 submissions

Submissions

1.

Budget to a “Free House” – the story of budgeting my way to my first home(medium.com ↗)

1 points · by avand · 3y ago · discuss

2.

One man's search for the perfect job(medium.com ↗)

1 points · by avand · 10y ago · discuss

3.

Your bookshelf, where books go to die(medium.com ↗)

2 points · by avand · 10y ago · discuss

4.

Nobody cares about your software updates(medium.com ↗)

1 points · by avand · 10y ago · discuss

5.

Hypothesis-driven Development(medium.com ↗)

2 points · by avand · 10y ago · discuss

6.

Write Less JavaScript(avandamiri.com ↗)

5 points · by avand · 11y ago · 5 comments

7.

Calculated Attribute Pattern for Ruby Models(avandamiri.com ↗)

2 points · by avand · 11y ago · discuss

8.

Here and Now(avandamiri.com ↗)

1 points · by avand · 12y ago · discuss

comment 13y ago · link · parent

If you subscribe to the philosophy that every line of code is a liability, which I do, this really hits home.

comment 13y ago · link · parent

#awesomesauce

comment 13y ago · link · parent

You're blowing my mind here. Really good stuff.

What I think is really cool is that all this stuff is coming. There are a lot of stakeholders deeply invested in seeing these ideas come to fruition.

To the future! Cheers.

comment 13y ago · link · parent

Thanks for the kind thoughts!

I agree, the whole concept of a cloud-based music library is very new. Forget music, the concept of the cloud is new! I'm looking forward to a holiday filled with questions like, "where is it, who owns it, is it secure?"

Once people are comfortable with the paradigm shift, will really be cooking with gas.

comment 13y ago · link · parent

Selecting music to play at any given moment is entirely human. Play Strength was not intended to make music selection automatic.

I think humans can make better decisions with data. Play Strength attempts to expose insights already locked inside your music library.

For example, one of the big changes in driving some hybrid vehicles is a real-time monitor of how power is flowing in and out of the battery. I think just seeing that data changes your driving habits.

That's what I was going for with Play Strength. Thanks for sharing your thoughts.

comment 13y ago · link · parent

All told, I think rating songs in your library is a really personal thing.

@JimEngland, you use stars purely as an organizational tool, which is slick. It's cool that the iTunes interface extends it self to different uses.

@tkahnoski and @zeedog, how would you elegantly expose controls for those different feelings?

comment 13y ago · link · parent

I need something more binary. Deciding between three and four stars seems totally arbitrary.

16.

Play Strength, a Rdio Feature Concept(avandamiri.com ↗)

47 points · by avand · 13y ago · 19 comments

17.

Create Great Technical Interviews(blog.taketheinterview.com ↗)

15 points · by avand · 14y ago · discuss

comment 14y ago · link · parent

Well thanks for the insights. I'll keep triggers in mind when I come across a problem like this in the future.

comment 14y ago · link · parent

Thanks for sharing. I agree with @bunkat here (though I didn't read the whole page). I find the language around analytics apps (including big boys like Mixpanel) to be generally vague. If you're catering to a primarily developer audience, you may consider just showing me how easy it is. StatHat does a good job of this.

comment 14y ago · link · parent

That's slick.

comment 14y ago · link · parent

I pinged the guys over at RedisToGo to get you some more clarity on the pricing.

Speaking for ourselves, we've historically preferred to have someone else manage our infrastructure. Setting up Redis is fairly trivial, I agree. However, setting up a secure machine out on the internet and making sure it's always there is less trivial. Rather than juggle an ops/engineer role, we just double down on engineering. I'm sure at some point this may need to change. Hopefully, when that day comes we can afford a sysadmin!

comment 14y ago · link · parent

To be fair, we may have over-engineered this solution. I've been doing some work with compound indexes with Mongo and they seem to be performing really well. Maybe I'll have to write a guest post for MongoHQ too ;)

Appreciate the time and thoughtful response.

comment 14y ago · link · parent

We definitely could have done this in Postgres.

Our API is a Rails project and though we do a lot of work that's "off the rails," so to speak, we do try to follow a convention where possible. A convention that's worked well for us is to use Postgres only for database-backed models in the app. So when it came time to solve this problem, Redis seemed like a good choice.

Map/reduce isn't an option here. First, it's too slow. Second, it's asynchronous by nature, which doesn't work well when trying to load a webpage. We did consider using it in the background, however, to generate the counter-caches.

Thanks for reading!

comment 14y ago · link · parent

I've never used SQL triggers. We host our Postgres database with Heroku. As a result, I think I've ruled out database level solutions.

On a related note, it feels good to know that everything our app needs to run is in the code base. Back in my C# days, I remember relying on stored procedures that were configured manually at the database level. Rails fights that with migrations and the callback chain too, so I guess that thinking has sunk in for me.

Thanks for the comment.

comment 14y ago · link · parent

Good god. I can't believe I missed that. Thanks. I'll make sure that gets fixed.

26.

Snappy Dashboards with Redis(blog.togo.io ↗)

66 points · by avand · 14y ago · 44 comments

27.

Track Expenses in Google Docs via SMS(avandamiri.com ↗)

4 points · by avand · 14y ago · 1 comment

123