Hacker Newsnew | past | comments | ask | show | jobs | submit | 2007-07-08login
Stories from July 8, 2007
Go back a day or month. Go forward a day, month, or year.
1.Younger job seekers hold the advantage (because they can do startups instead) (boston.com)
13 points by farmer on July 8, 2007 | 16 comments
2.To Those About to Hack (kirit.com)
10 points by nickb on July 8, 2007 | 6 comments
3.StartupWeekend: 70 Founders Create One Company in a Weekend (techcrunch.com)
10 points by kkim on July 8, 2007 | 9 comments
4.Java vs. K: a screencast (nyu.edu)
8 points by henning on July 8, 2007 | 11 comments

Ah yes, graduate school - the snooze button on the clock-radio of life.
6.Fortune Favors Big Turds | Screw The Money, This Is My Art (zedshaw.com)
9 points by jamongkad on July 8, 2007 | 5 comments
7.Meet Joe Hewitt, iPhone Web App Interface Guru (wired.com)
9 points by pg on July 8, 2007 | 1 comment
8.Has anyone created an RSS-based recommendation engine yet?
9 points by altano on July 8, 2007 | 11 comments
9.UGC doesn't have to mean chaos-- Threadless selectively ignores votes for a better experience (nytimes.com)
8 points by joshwa on July 8, 2007

Binary is good. Do I rate your comment above a 6 or a 7? What does 7 mean to the next guy, and is it the same as it means to me? Up down is good because I only vote when I feel strongly about it.

Unfair comparison.

First things first, his java skills are rusty. Here's how a real java programmer would write this. Does the exact same thing as his final java sample; it's just less than half the size:

 import java.util.HashSet;
 import java.util.Random;
 import java.util.Set;
 public class BDays {
	public static void main(String[] args) {
		int people = Integer.parseInt(args[0]);
		int days = 365;
		int sampleSize = 1000;
		int total = 0;
		
		Random random = new Random();
		
		for ( int k = 0 ; k < sampleSize ; k++ ) {
			Set<Integer> s = new HashSet<Integer>();
			for ( int i = 0 ; i < people ; i++ ) s.add(random.nextInt(days));
			if ( s.size() < people ) total++;
		}
		
		System.out.println(total);
	}
 }

secondly: Regarding the manual import writing and compiling stuff, well, I'll try and put this nicely: That's masochistic. Download jEdit, Eclipse, NetBeans, IDEA, or any other java programming environment other than 'notepad' and 'cmd', and you no longer need to compile anything, just hit F11 or CMD+R or similar, and you'll see your results right away. Note that in the above sample, the first 5 and last 2 lines were generated completely automatically by my IDE (Eclipse), so in practice we're talking about just 5 lines of actual code. The rest is generated or setup stuff.

thirdly: To optimize this code, you could stop generating birthdays the moment there's an overlap. Doing this in the K example is more complicated than the java example, in java you'd change the line 's.add(Random.nextInt(days))' to:

  if ( !s.add(Random.nextInt(days)) ) break;
that's all you need to do. In K, by using the _draw shortcut (A method that exists in a number of mathemetically oriented add-on libraries, by the way) you lose that flexibility.

Between the cartoon swearing I actually like the java code better.

Java could certainly use more functional stuff and there are legitimate arguments to be made for adding something to your toolbox (I suggest Scala; compiles to JVM so you can mix and match java and scala at will). However, these trivial examples invariably have archaic java compared to state of the art $OTHER_LANGUAGE. These straw man comparisons are thus pointless exercises as no actual java programmer would ever be convinced by this kind of thing. They'd just blame to horrible quality of the java example.


Curiously, westin2, I notice you submitted this comment from the same IP address as the submitter, jalexa2, and that your accounts were created 2 minutes apart.

Still more remarkable, I notice two other users (also created at the same time) upvoting the article from that same IP address. Must be getting crowded in front of that computer.

13.Amazon EC2 + S3 Doesn't Cut it for Real Applications (25hoursaday.com)
6 points by nickb on July 8, 2007 | 8 comments

I smell bullshit. Note from the article:

> Companies are having a hard time recruiting and retaining young talent, and as a result are accommodating what would have once been considered extreme demands. ....so many younger workers have gained the advantage when it comes to negotiating the terms of a new job.

and

> Today, however, economists and sociologists see such homecomings as a rational response to exorbitant housing prices in big cities, and entry-level wages that do not cover living expenses.

So which is it? Employers can't find employees, or the labor market is so oversaturated in big cities that entry level positions don't pay living wages?

My guess is that every company only wants to hire "the top 5% of graduates." So competition for the perceived best (ivy league, specialized skills) grows while Joe State and Cathy Community go chill with the folks and work at Walmart.

EDIT: how do you make block quotes?


Not a bad read, although I wonder what reality some of these writers live in. If we look at startup participation / entrepreneurism amongst, say, people under 30 years of age, is the percentage really that high on a national scale? If even 1% of 18-30 year olds are opting to run startups instead of getting a job, I'd be surprised (although I'd love some numbers!)

A Y Combinator acceptance is nothing compared to eternal salvation. Angel funding indeed.

arc:

 (def bdays (people)
   (count [no (iso _ (dedup _))] (n-of 1000 (n-of people (rand 365)))))

A truly advanced Lisp dialect will infer parentheses.
19.GoPHP5.org - helping speed the transition to PHP 5.2 (gophp5.org)
5 points by nickb on July 8, 2007 | 1 comment

I don't know exactly what your situation is, but if he is not someone you owe something to, the optimal solution would be to apply to YC first. If you're accepted, you can invite this would-be investor to Demo Day, where he can compete with all the other investors to fund you; if not, he's plan B.

Note that this assumes that you're not indebted to the guy in any way-- that he is simply a source of money.

BTW, 3 years is a lot of money. It suggests to me that you're either raising too much or (more likely) underestimating your expenses.

21.Competition For Scribd (techcrunch.com)
5 points by rami on July 8, 2007
22.Feedback Requested: Superlatives, a Facebook App - How can we make this better? (esgut.com)
5 points by gambeht on July 8, 2007 | 3 comments

Good comment. A recent article from businessweek talked about the 10 top employers favoured by new grads. Three of them were fed. agencies, one established accounting firm, google, etc. New grads crave job security, comfortable lifestyles, cars, houses and growing bank accounts. After racking up large student loans you can't blame them. And this would be a major impediment to them starting a business in general.

I think this article refers to maybe 0.05% of new grads.

24.Replicating iPhone Buttons the '-webkit' way (launchpadhq.com)
4 points by nickb on July 8, 2007
25.All Shook Up, Right Down to the Musical Core (Universal vs Apple) (nytimes.com)
4 points by gibsonf1 on July 8, 2007
26.Web 2.0 entrepreneurs are living a chiched life (livinginfirstlife.wordpress.com)
7 points by jalexa2 on July 8, 2007 | 11 comments
27.Windows developers begin slow defection to Linux (builderau.com.au)
4 points by nickb on July 8, 2007 | 3 comments

Some even have their parents in the room for added help, and many respected companies are willing to engage parents in the hiring process if that's what the candidate wants

(!!!)

Wow. Depending on the circumstances, I would escort the iddle bitty baby right to the front door, or...

Explain that nepotism is absolutely forbidden.

29.Technology's Untanglers: They Make It Really Work (nytimes.com)
4 points by jcwentz on July 8, 2007

I also think the K version is completely unreadable. I feel reminded of the Perl-One-Liner signature tradition (what was the name for it?).

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: