Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
anc2020
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
1.
▲
by
anc2020
15y ago
Last login: Fri Aug 5 18:11:19 UTC 2011 from dc4-arm-01.cam.broadcom.com on pts/0 http://www.raspberrypi.org/?p=78#more-78
2.
▲
by
anc2020
15y ago
hi, feedback here: when I got to 100 lines and then clicked "Compile", I needed to select text to scroll down, your lightbox needs something like overflow:auto to bring up scrollbars. likewise, google account means a bounce for me even thou
3.
▲
by
anc2020
15y ago
Could do, but the aim of my answer was to keep it short and simple and not a full reference to closures (there are some good links on this page with more detail for that).
4.
▲
by
anc2020
15y ago
I'm not sure your code does as intended, won't the function be called only once the element is clicked? This should work okay: for (var i = 0; i < 5; i++) { $(DOMelement:eq(i)).click((function(i) { return function() {
5.
▲
by
anc2020
15y ago
Hi, I wrote the accepted answer and welcome changes or suggestions (it's community wiki).
6.
▲
by
anc2020
15y ago
The conclusions of this article are a bit hasty. Firstly there are other reasons politicians could want to save face other than that they think they are the best candidate, and secondly the outcome of a football game is much much less deter
7.
▲
by
anc2020
15y ago
This totally changed how I used git, wish I'd known about it from the start. Also emacs users should check out magit, which has a good 'add -p' and 'checkout -p' style of working
8.
▲
by
anc2020
15y ago
Sure, but it's just standard practice to do so, and taking a hobby doesn't really get you any closer to being a hacker. And putting "womenz" and "drinking" as hobbies is just lame. Also not wanting to give the wrong impression, the folks
9.
▲
by
anc2020
15y ago
blech. this is an alright recipe to being a standard nerd/web developer and reads far too much like a list of things the author has done, especially the hobbies part which imo has bugger-all to do with being a hacker. my personal idea of a
10.
▲
by
anc2020
15y ago
As far as I can guess, any networking implementation would have to pass low level requests through a proxy on the server, which would end up making things pretty slow even on an unburdened server.
11.
▲
by
anc2020
15y ago
Awesome cd / rm -rf ./* echo *
12.
▲
by
anc2020
15y ago
Okay, great, you're absolutely right that an Array would have been a better choice of data structure, albeit marginally better. That was not my qualm, and neither does it seem to be the qualm of other commenters on this page. Of course, I'm
13.
▲
by
anc2020
15y ago
I appreciate your enthusiasm for correctness, but if I'm reading correctly, the essence of sktrdie's comment was trying to counter the group think that the idea of the article is in some way "bad", "satirical", or "wrong". It may be that I
14.
▲
by
anc2020
15y ago
Sometimes you really do just want to pass a value by reference. It turns out that most of the time you want to do this the variable already is an object or array already, nevertheless there are cases where this would be desirable, so it's n
15.
▲
by
anc2020
15y ago
This article is incorrect, arrays are passed by reference since they are objects. I've added a comment on the blog.
16.
▲
by
anc2020
16y ago
Bit of a plug, I've written something like this except that it doesn't work via GHC and instead outputs source code (which means the gensyms aren't very safe...) I'm not working on it anymore (unfortunately never really got over the static
17.
▲
by
anc2020
16y ago
Rightly or wrongly, because they want to keep the game low tech and reproducible in the park.
18.
▲
by
anc2020
16y ago
"Depending upon the Dell computer your purchase, boot times can be around 30 seconds!" I'm always slightly embarrassed to read exclamations like this knowing it'll wind up as the laughing stock of Reddit/HN in ten years' time.
19.
▲
by
anc2020
16y ago
I'm amazed and slightly worried that they haven't stopped donations yet (assuming this is possible with Kickstarter).
20.
▲
by
anc2020
16y ago
> debian sadly is too dated for my hardware and I don't feel like using sid Did you try debian testing? My experience with rolling release: I tried Gentoo and then Arch, moving off both after they pushed updates which completely broke m
21.
▲
by
anc2020
16y ago
My sister's didn't. More RAM for me (and my next laptop will also be a thinkpad)!
22.
▲
by
anc2020
16y ago
> If you don't like my rules, develop for a different platform. Okay.
23.
▲
by
anc2020
17y ago
The thing is that it's in the context of someone at Google saying they can work on anything they want, meaning pretty much anything.
24.
▲
by
anc2020
17y ago
If it was government, why would they risk hacking more than one company from the same machine? Edit: Seems more likely that the anti-hack claim is bs, as other comments are suggesting Google employees did the hacking from within the office.
25.
▲
by
anc2020
17y ago
http://ycombinator.com/newsguidelines.html "Off-Topic: Most stories about politics, or crime, or sports" This is clearly a non-exhaustive list. "unless they're evidence of some interesting new phenomenon" This phenomenon, as pointed out b
26.
▲
by
anc2020
17y ago
Just to clarify, I _do_ find this interesting. However, I don't find it interesting because I am a "hacker", I find it interesting because I am a person, and people are likely to find this interesting - it has nothing to do with whether you
27.
▲
by
anc2020
17y ago
Really, HN? As someone who is already only interested in HN for hacker stuff and not entrepreneurial stuff, please please do not add articles about snow donuts on HN! Edit: Or I don't know, maybe create another HN style site for Quite Inter
28.
▲
by
anc2020
17y ago
Mine kept one cumulative list adding left to right and another summing right to left. This is conventionally slower, but conceivably faster if you do it in parallel, leaving the final loop to be something like: for i in xrange(len(A))
29.
▲
by
anc2020
17y ago
The best case possible is to iterate the list once - you sum the list from left to right holding cumulative answers and if the final sum is zero, that index is a valid answer. The worst case of the best algorithm is to iterate twice - first
30.
▲
by
anc2020
17y ago
Might need some way of making explicit which libraries are available? eg. if the programmer goes off and writes a multithreaded solution, they might only realise too late that pthread isn't included. Admittedly they should have checked firs
More ›