HNHacker News
TopNewBestAskShowJobs

armenb

276 karma · joined February 20, 2012

submissionscomments
armenb··on The Art of Approximation in Science and Engineering [pdf]
The textbook of the draft can be accessed at:

https://ocw.mit.edu/resources/res-6-011-the-art-of-insight-i...

armenb··on Unikernels: Rise of the Virtual Library Operating System
The process isolation is very useful but they've got a point, why we should run million lines of code until we get to the point to run a single web server? Have we ever asked our self why the operating system which its only responsibility is running a web-server should take 300 seconds to boot?
armenb··on Unikernels: Rise of the Virtual Library Operating System
This reminds me of Ling/Erlangonxen, unfortunately Ling is not a free-software, it's opensource but not a free-software.

And the fact that your operating system is the actual language you're coding with, reminds me of the fantastic project by Niklaus Wirth, The Project Oberon. The project Oberon is a language and operating system you can learn more about it at http://www.inf.ethz.ch/personal/wirth/ProjectOberon/, http://www.inf.ethz.ch/personal/wirth/ and a video by professor Niklaus Wirth himself: http://bit.ly/1ClvKSX

armenb··on [dead]
The chat client uses Gyre which is port of Zyre [1] framework in Go. Disclaimer I'm the author.

[1] https://github.com/zeromq/zyre

armenb··on Runsit – A process manager in Go
Forgot to tell you that nginx shouldn't be daemonized:

  echo "daemon off;" >> /etc/nginx/nginx.conf
armenb··on Runsit – A process manager in Go
For instance I use following config (nginx.json) for nginx:

{ "user": ["_env", "${USER}"], "cwd": "/var/www", "standardEnv": true, "numFiles": 1024, "binary": "/usr/sbin/nginx" }

And php-fpm.json:

{ "user": ["_env", "${USER}"], "cwd": "/usr/sbin", "standardEnv": true, "numFiles": 1024, "binary": "php-fpm", "args": [ "-F" ] }

Hope that helps

armenb··on Runsit – A process manager in Go
Yes it is.
armenb··on Runsit – A process manager in Go
Unfortunately there isn't much doc, but it's not that hard to set up. Take a look at run.sh file and config directory. Andrew Gerrand has a init script[1] in his fork for it which might be useful.

[1] https://github.com/nf/runsit/tree/master/doc/initd

armenb··on Runsit – A process manager in Go
Just an introduction: Currently I'm using runsit as an alternative for supervisord and I'm happy with it so far. Stdout and stderror of the processes can be queried with a very simple HTTP interface. Runsit watches a config directory for any changes and applies them immediately. Config files are in json format.
armenb··on Show HN: Easy photo sharing – no sign-up required – weekend project
Do you mind if I ask couple of technical questions?

- How did you cope with the traffic from HN?

- The image resize service you implemented (photo.pixomize.com) is so simple and clean I want to know how did you implemented it? is it implemented from scratch?

What I like about photo.pixomize.com is the simplicity in the URL and how you can simply create thumbnail and download it and it's pretty fast.

There are lot's of image resize services out there which do the exact same thing as a SaaS.