HNHacker News
TopNewBestAskShowJobs

Gyy0

5 karma · joined December 5, 2013

submissionscomments
Gyy0··on Ask HN: Best Open Source Beginners Book for learning Shell
I love Paul Sheer's "LINUX: Rute User's Tutorial and Exposition" [1] It is about much more than just the shell, but you can stop whenever you want.

That was my "free" book recommendation, if you want to buy a "regular" book, then "The Unix Programming Environment" [2] can't be beat. You can find a dirt cheap "low cost edition", or buy it second hand online.

[1] http://rute.2038bug.com/index.html.gz

[2] http://cm.bell-labs.com/cm/cs/upe/

Gyy0··on Real Men Go to Sleep
"Sleep is for sissies." also reflected in the Ben Franklin maxim "There will be plenty of time to sleep once you are dead."

A friend had a short stint working in Taiwan and he was surprised by the fact that almost everyone took a nap sometime during the day. Long term thinking that.

Gyy0··on Have I been pwned? Check if your email has been compromised in a data breach
And lets also not forget, this why you should always use http://www.mailinator.com/ instead of your real address.

Lots of sites block mailinator, but then use one of their aliases – foobar@spamgoes.in ... then check http://foobar.mailinator.com/

Gyy0··on Have I been pwned? Check if your email has been compromised in a data breach
This is what caused me to start using a password manager. I always knew that I should, but it seemed to be a major pain, if I had known how convenient it is, I would have switched to it long back.

Instead I first started off with my own "password generator":

    import random
    import string
    import sys

    def generate_random(length, simple):
        chars = string.printable[:-6] if not simple else string.letters + string.digits
        return ''.join(random.sample(chars, 1)[0] for x in range(length))

    def username():
        return generate_random(length=4, simple=True)

    def password(length):
        return generate_random(length=length, simple=False)

    if __name__ == '__main__':
        length = 6
        if len(sys.argv) > 1 and sys.argv[1].isdigit():
            length = int(sys.argv[1])

        for i in range(20):
            print username(), password(length)
Gyy0··on Android Support vs iOS Support
It's also deceptive to say "iOS needs a whole OS update to update things like [...]", it needs an incremental update, which it gets, so how is that an issue at all? That you can't update them individually?
Gyy0··on I Will Not Learn Rails
Meh, this is so meh.