News for hackers. Stuff that matters.

rararational

Re:Stack Overflow: Printing 1 to 1000 in C on Monday March 14, 2011 @04:42PM (#2324350)
Heh, I forgot about join but that for is still a loop right? :)

Or else you could just:

    for i in range(1,1000):
        print i
Plus relying on the string representation of a list isn't silly it as it doesn't change. I just didn't know if range would meet the criteria or not.
Re:Stack Overflow: Printing 1 to 1000 in C on Monday March 14, 2011 @03:15PM (#2323951)
Does this fit the criteria for python:

    print str(range(1,1001)).strip('[]').replace(', ','\n')
Edit: added missing [ as pointed out below
Re:NetBSD now runs on Amazon EC2 on Sunday March 13, 2011 @03:24PM (#2319997)
Only a matter of time, netbsd runs in so many different places it even works well in xen.
Re:Don't touch me, I'm British on Saturday March 12, 2011 @09:51PM (#2318152)
I can't help but think that you are doing something that you think works but in reality doesn't; if anyone decided to touch my shoulder it would definitely break my current concentration and make me wonder what the hell you are getting at, just seems like cheesy friendly guy with no regards to personal space.

If you touched my elbow I'd probably just walk away (as an american raised male it just seems so wrong).

It would probably be different though if it wasn't someone who I just met and had an accord with.

Re:$$ Apple / HP laptop price comparison on Wednesday March 09, 2011 @02:15PM (#2305966)
Last I looked some of the thinkpads (15") on lenovo's website had an option for 1920 by something.
Google just needs a halo.

Which probably just means acquiring talent and company once someone else starts to hit it big.

Re:Hardest captcha ever? on Friday March 04, 2011 @10:35AM (#2288362)
The normal google captcha is pretty damn hard, once I had to go through like 5 or 10 before I got it though lately it seems to have gotten a little bit easier (or I now know how to guess it better).
That is the most eye blinding site colors I have seen chosen in a long time, it is almost like reading white on yellow.

Other than that some more criticisms:

- Why do you only offer a png for the logo (instead of psd or vector svg) - What are suggestions? (Revisions or something else)

You need to proofread some more (if English isn't your first language maybe you can find a proofreader):

> Every name suggested have a not registered domain.

Every name suggested has an unregistered domain. (Probably could be better) There are more but I don't really have the time.

Best of luck some of the logos look promising.

Re:JQuery is for Noobs on Thursday March 03, 2011 @12:58PM (#2285012)
It is actually submissions ranked by HN users whose accounts were created in the first year.
Re:Ask HN: Do you "grandfather" beta users into a free plan? on Wednesday March 02, 2011 @05:46PM (#2281747)
As a user I would love it if I had a free forever account, but in reality as a producer I probably would just give a discount 25%-50%.
Re:J Source to be released under GPL on Tuesday March 01, 2011 @11:44PM (#2278492)
That is actually quite cool, I do remember seeing all the crazy solutions to projecteuler when I was doing those and it even made me try to grok some of what J did and you don't even need an APL keyboard to write it.
Re:"WTF, [rms] can't maintain his own damn website?" on Tuesday March 01, 2011 @05:34PM (#2277534)
To be honest I think the person he is is part of why the FSF GNU succeeded in some sense, he is a radical and often radicals can further change more quickly than any other kind of person.

That said he is very weird and some part of me thinks he would be annoying to hang around with but he always seem to be at least somewhat polite online.

Re:Ask HN: Teach Undergrad or Grad Students on Monday February 28, 2011 @01:17PM (#2272176)
With my personal experience of being a student in graduate level engineering classes, one thought to consider is that while there is a load of books for undergraduate courses when you get in the tougher subjects (or more advanced subjects) there really exist little amounts of new books to teach with which leaves the burden on the teacher to create notes and problems for the students so make sure it is in a field you enjoy and do indeed know a good amount about (of course if it isn't engineering courses you are teaching it may be different).
I'm more surprised at the in two years you will be reading techcrunch than the apple part.

Snark aside I wonder what the karma limit to flag is now.

Re:Brief Thoughts on Angel List on Sunday February 27, 2011 @03:34PM (#2268851)
I've never met you so I can't possibly think you are offensive but I do find your writing style a bit harsh to read, some people obviously like it though.
Re:Brief Thoughts on Angel List on Sunday February 27, 2011 @02:36PM (#2268677)
I would describe his entire writing style as annoying and abrasive which makes it so I can read barely any of it. But I suppose some people like it or the ideas as his writings seem to do well here.
Re:Ask HN: What do you use Firebug or Chrome developer tools? on Saturday February 26, 2011 @03:54PM (#2266504)
Chrome dev tools because I don't have to install anything.

(Though I am using firefox 4 beta for browsing now)

Re:Show HN: I'll help you name your next startup/product for $50 on Thursday February 24, 2011 @02:27PM (#2259426)
I think he was making a joke about it :)
Re:Ask HN: The importance your domain (.com vs .io) on Wednesday February 23, 2011 @02:47PM (#2255492)
I don't find other domains amateurish, but certain domains I'm unlikely to give information to: such as .ru and .ly and maybe in the future .ng but haven't seen evidence for that yet.

I think the main advantage of .com .net .org is the google boost but that might change in the future and if your product is right it shouldn't matter.

Personally I really don't like when the domain name is part of the name it makes it harder for me as typing a period in between a word seems unnatural: bing.com is easier for me than bi.ng.

Re:WordPress names their 3.1 release: Reinhardt on Wednesday February 23, 2011 @10:27AM (#2254338)
They should have been kind enough to use his last name if they were going to name the release after him.

But I've never heard of release names for wordpress before so I don't expect this to mess google search results up when searching for django (python) related things.

Re:Host Your Static Website on Amazon S3 on Thursday February 17, 2011 @10:57PM (#2234165)
You don't need to even do it with javascript you just need to have a form that submits to your server (like say through a cgi script) which then updates the static file on s3.