Viewing profile — xhuang
xhuang
HN member- Joined
- Thu, Aug 06, 2009, 3:04 PM UTC
- HN karma
- 12
- Public activity
- 30 items
- HN profile
- View on Hacker News ↗
About xhuang
Recent public activity
-
comment
Comment #3458347
How did you do that? the doc said there is a $branch variable, how do you add it?
-
comment
Comment #2797994
isn't it also means there was that much water xx billion light years ago, it could be all gone now!
-
comment
Comment #2311338
nice one, the bogo is amazing :)
-
comment
Comment #2082826
I think PHP allow assignment in 'if'
-
comment
Comment #2073259
someone need to invent a html tag for that :)
-
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…
-
comment
Comment #1964184
great resources
-
comment
Comment #1947080
the command go with pushd is popd,which pop the last path you pushed into the queue.
-
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...
-
comment
Comment #1709037
gist: replace
-
comment
Comment #1538118
ironically you can just grep it:) curl -d "username=foo&password=bar" https://yourbank.com | grep balance
-
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"
-
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…
-
comment
Comment #1374256
i think it should be a phpinfo()
-
comment
Comment #1367664
thanks, just wondering what tools did you use to reformat it?
-
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…
-
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.
-
comment
Comment #1146859
quality post!
-
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.
-
comment
Comment #1110050
blueprint is awesome, it comes with bulit-in typography and you can also have plugins
-
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…
-
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:)
-
comment
Comment #1066995
if you not using comet, strophe.js is very good JS client library for xmpp.
-
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…
-
comment
Comment #1024985
good work, can't wait all mainstream browsers support websocket, polling sucks!