Tuesday, February 22, 2011

While Awake

After finishing a day's work, this starts to happen (exceptions are friday and saturday).

if (time > midnight)
    while(awake)
    {
        tiredness++;
        if (tiredness > 100)
        {
            awake = false;
            sleep(); // will eventually reset tiredness and thinking skills
            return;
        }
        if (tiredness > 50)
            thinking_skills--;
    }

Something like that.  The problem is, I'm tired, so my thinking skills are steadily decreasing at the point of writing this.  So I can't be sure if what I'm saying is sensible.  Oh, and cats are cute.

Tuesday, February 8, 2011

Tired, too many characters for twitter

Sometimes when I'm quite tired, like now, I feel like posting something to somewhere.  This is that something in this case.  My tired self is sometimes nonsensical, but this hopefully will make some sense.
When you're doing work and getting tired while doing it, if you get to the state that you begin to forget what the question is while you're reading it, and you start to make up parts of it, that's when you know you're quite tired.  This happened to me recently.  The worst part is, I think it was more accurate than what I thought my more awake self thought the problem was.  If that didn't make any sense, please disregard it.

Wednesday, February 2, 2011

AutoHotKey and Synergy can act strangely together

So, I have my desktop and laptop connected with Synergy, with my desktop as the server.

If you don't know what synergy is, and you have multiple computers, visit http://synergy-foss.org/.  Synergy is basically a way to move 1 mouse and keyboard onto other computers connected through a network.  Very handy tool.
On my desktop, I have it set so that when I press the Scroll Lock key, it plays my music folder, since I never use that key otherwise.
When I press scroll lock while the mouse is on the other screen, music starts playing, which is fine.  The problem, is that the mouse gets stuck on the other screen - it gets walled it on my laptop.  It is easily fixable by stopping Synergy, but other than that, it seems impossible.  It is a very unique situation, of having the mouse unable to access the computer it's connected to.  It's not a major problem, but I found it to be a humorous glitch worth sharing.