For the best experience on desktop, install the Chrome extension to track your reading on news.ycombinator.com
Hacker Newsnew | past | comments | ask | show | jobs | submit | history | more tarekmoz's commentsregister

I wonder for how long the experiment was done.

I found out that under-sleeping had a very bad impact on me after several months, not in a short/mid term. And I have the feeling this placebo effect would not be the same if you've been under-sleeping for months.

The original article link is broken though, too bad.


How do you tell that the 'bad impact' is due to under-sleeping, and what effects do you notice?

I have sleep issues with some regularity, so I'm very curious to hear of your experiences.


This is just my gut feeling, things are probably more complex, but here's why I think sleep deprivation deeply impacts us:

I used to have a crazy schedule, commuting very early and coming back quite late at home, sleeping between 4 to 5 hours a day. I've noticed I was often in a bad mood, dropping things, feeling anxious. gaining weight and so on... After a couple of years I was feeling depressed and getting sick all the time.

Then I had a new job and started to work remotely from home, and started to sleep 8 to 9 hours per night. Both works were interesting, and commuting to the first one was done by train, so I think the only noticeable difference was the amount of sleep I was getting.

With more sleep, after a month, I became more focused in everything, the depression feelings went away, and had so much more energy. Overall I was more successful in what I was doing - happier and healthier.

I guess all of this sounds obvious, but going through it, making sure I get my 8-9 hours of sleep most of the time is something I am now careful about.


I am fine with Vim in full screen mode through iTerm - The difference seems to be bigger margins, but I don't see much benefit in this.


my thought exactly, why not just buy a smaller screen and get on with code?


He never used Facebook, but oh gawd he loves to use <hr/>.. :)


This is nuts!


I don't know all the details on the project and if there are some single point of failures, but as far as Circus is concerned, a properly working graceful shutdown is a must-have when your app is getting data to process.

e.g. 1/ notify the world you don't accept data anymore 2/ process what you have enqueued 3/ shutdown. In Fabien's use case 1 -> 3 can last for over 5 minutes.


thx, I think I understand what you are saying,

my (perhaps snarky) comment was more to do with 'why be so careful' with the potential data failure (that circus handily addresses) when data is being placed in a 'leaky bucket' (redis) in the first place.


There's one called BluePill: https://github.com/bluepill-rb/bluepill


zeromq is not secured - but they are working on adding security in the protocol.

In the meantime the safest way to avoid any security issue is to run IPC-only zeromq sockets or to set properly a firefwall and to use an SSH tunnel. There's such an option in Circus, where you can pass the ssh server to circusctl.

also, read up http://circus.readthedocs.org/en/latest/design/security


Mostly portability: you can provide a single configuration to manage your stack no matter what the system is

It's also easier to run in the user space if you are not root


> First question, what is a typical use case for wanting multiple instances of a specific process?

distribute the load. For example I can run several "redis workers" that gets jobs to do in a redis queue.

> Second question, if I am running multiple managed processes, how can they all bind to the same managed socket?

if you bind a socket and then forks 10 child processes, they can all accept connections on that socket and let the operating system do the load-balancing.

This is exactly how the Apache pre-fork model works.


Awesome, thanks for answering my questions.


Yes thanks - I have fixed this and triggered a build - it should appear in a little bit


Still not seeing 'em here.


yeah the build is staled on readthedocs ... trying to see how to fix that. They will eventually show up sorry. You can find them in the docs/ directory in the repo


Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search:

HN For You