Live data from Hacker News

Viewing profile — xhuang

xhuang

HN member
Joined
Thu, Aug 06, 2009, 3:04 PM UTC
HN karma
12
Public activity
30 items

About xhuang

My name is vito - http://www.vitohuang.com http://hnofficehours.com/profile/xhuang/

Recent public activity

  1. comment
    Comment #3458347

    How did you do that? the doc said there is a $branch variable, how do you add it?

  2. comment
    Comment #2797994

    isn't it also means there was that much water xx billion light years ago, it could be all gone now!

  3. comment
    Comment #2311338

    nice one, the bogo is amazing :)

  4. comment
    Comment #2082826

    I think PHP allow assignment in 'if'

  5. comment
    Comment #2073259

    someone need to invent a html tag for that :)

  6. comment
    Comment #2045587

    There is a JAVA version of reddit at http://www.codereddit.com Normally I use eclipse's internal browser to read it along side my normal code, no one ever notices it I wish there i…

  7. comment
    Comment #1964184

    great resources

  8. comment
    Comment #1947080

    the command go with pushd is popd,which pop the last path you pushed into the queue.

  9. comment
    Comment #1886064

    why not use sessioin buddy[0] plugin, which save your tabs, so you don't have to open 20+ all at once [0] https://chrome.google.com/extensions/detail/edacconmaakjimmf...

  10. comment
    Comment #1709037

    gist: replace

  11. comment
    Comment #1538118

    ironically you can just grep it:) curl -d "username=foo&password=bar" https://yourbank.com | grep balance

  12. comment
    Comment #1528131

    This is ugly, but it should do the job: "#000000" if sum([int(i,16) for i in re.findall("..",myColour)]) > 382.5 else "#ffffff"

  13. comment
    Comment #1450364

    removing high level language in the middle is good, if you need performance, why not just use redis to server json directly, in the case you need scale up your db why not use crunc…

  14. comment
    Comment #1374256

    i think it should be a phpinfo()

  15. comment
    Comment #1367664

    thanks, just wondering what tools did you use to reformat it?

  16. comment
    Comment #1367231

    i think you can change the border radius to get different shape out of your element box(top-left, top-right, bottom-left, bottom-right corners). http://www.css3.info/preview/rounde…

  17. comment
    Comment #1337472

    this is very good idea, but the design of the page make me want to close the window - it hurt my eyes.

  18. comment
    Comment #1146859

    quality post!

  19. comment
    Comment #1131368

    just wondering for this question("how strong is an egg"), i think binary search will be the minimum tries, so its quite useful.

  20. comment
    Comment #1110050

    blueprint is awesome, it comes with bulit-in typography and you can also have plugins

  21. comment
    Comment #1098810

    nice and clean UI, i have used kohana php framework before, its very clean and easy to use, idea for side projects. one thing i noticed is that you haven't have a customized 404 pa…

  22. comment
    Comment #1086219

    thanks for this, i just started django development couple days ago, and this is very useful. another thing worth mention is that use generic view, it will save lots typing:)

  23. comment
    Comment #1066995

    if you not using comet, strophe.js is very good JS client library for xmpp.

  24. comment
    Comment #1048508

    great post, i thought i was the only one like that, sometimes i feel really stupid that i can't come up with a good solution for the problem, and in the end fail to do anything. th…

  25. comment
    Comment #1024985

    good work, can't wait all mainstream browsers support websocket, polling sucks!