News for hackers. Stuff that matters.

hdeshev

(Stackful.io developer here)

Yes, thanks to the websocket support that landed in recent Nginx releases.

Our Chef-based stack(s) are open source and hosted on github. We are thinking of packaging them in a form that is convenient to run in a local Vagrant box or something of that sort, so that you can easily test your app without wrecking your production environment first.
Most of the backend and frontend is written in Python and we are working on a Python stack. Stay tuned!
Regarding cuisine vs. Chef Solo... I think it mostly depends on what your scripts do. In my opinion, Fabric/Cuisine make it absurdly easy to execute commands against a remote server and most of the time that's enough for a decent deployment. Chef's execution API is, to put it mildly, clumsy. I cringe every time I have to type something like:

execute "#{virtualenv_dir}/bin/pip install -r #{requirements_file}" do user deploy_user group deploy_user end

IMO Chef shines when you have to move a lot of config files and generate node- and role-specific configs. I feel it's a lot simpler to just have recipe-specific files and templates packaged with the recipe and move them over with commands like cookbook_file and template.

Right now we are using both the technologies. Our stacks are Chef-based since we want people to be comfortable with reading (and possibly modifying) its code. We also reuse a lot of the Opscode recipes which simply do not exist for Fabric/Cuisine. Fabric and Cuisine have their place when we bootstrap a server and prepare the Chef environment and at several odd places where they keep things running together.

One of the Stackful.io devs here.

I'm all for server tweaking and I do it all the time, but sometimes it gets boring. I could probably do something better than configure php5-fpm for the thousandth time.

Right now, Stackful.io takes the pain from that when it comes to Node.js development. You just pick a server size and hit a button. 2 minutes later your machine is ready to rock and you can deploy your app with a simple Git push.

We are planning on doing the same for the other major web technologies. We have some pretty good progress with a Python stack and a PHP one is in our queue.

Re:Apple's inspirational note to new hires on Monday May 07, 2012 @05:44AM (#3938326)
I'd think all those Foxconn workers need a similar inspiration plaque. They don't play it safe too, you know.
Thousands times this. I've seen situations like that in all sorts of businesses and software projects aren't unique in their inability to deal with complexities and bad communication.

On the other hand, learning to manage software projects gets you an almost unfair advantage at managing "simpler" and more mundane projects where everyone and his mother underestimates the complexities and all the ways things can go wrong.

Re:Ubuntu Releases 12.04 LTS Precise Pangolin on Thursday April 26, 2012 @08:36AM (#3893567)
Released today? Really? On the Chernobyl disaster anniversary - April 26?

I don't believe it's a coincidence!

Re:Effective Web App Analytics with Redis on Wednesday March 28, 2012 @04:41PM (#3768227)
And that's why I love Hacker News! Thanks for the tips, trun!

I'll make sure I use batching first, and look into the unions technique after that.

Re:Effective Web App Analytics with Redis on Wednesday March 28, 2012 @11:11AM (#3766625)
Sound advice. I didn't mean to go to the SQL vs. NoSQL war zone and I have nothing against SQL DB's. All I wanted to say is that I find the current Redis solution easier to implement than the [clumsy] one I did in the past.
Re:Effective Web App Analytics with Redis on Wednesday March 28, 2012 @10:45AM (#3766460)
I took a look at it when starting work on those features, but decided against it. I wanted as much freedom as possible in storing, accessing, and displaying data since we'll need to build something more sophisticated in terms of analytics later on.

We use our analytics engine to show charts to our users as well. I can't do that with graphs generated from tools like Cacti/Ganglia/Graphite... As is the case with almost all sysadmin tools, they don't look too good.

Re:Effective Web App Analytics with Redis on Wednesday March 28, 2012 @10:35AM (#3766409)
ZSET's indexed by time_ts sound cool until you need to increment a value for a time since you'd have to change a key of the item in a set. I have no idea how that might work.

Thinking of it, you could probably remove the old value and insert the new (incremented) one, but that seems both slower and non-atomic.

Yes, learning some programming to be an iOS developer isn't enough, but that doesn't mean that guys like k-mcgrady can't learn on their own. Keep it up, man!

I know a programmer that knows so much of language and compiler theory he is always a source of knowledge and inspiration to me. He has a university degree in... accounting.

Older ยป