Better HN
topnewbestaskshowjobs
Log inSign up

some

110 karma · joined Jul 28, 2007 (19y ago) · 57 submissions

Submissions

comment 15y ago · link · parent

> A lot of people work because they like to work

Or because they are wired in a way that they dont know what else to do. I would feel like i have been fallen into a trap if I was to spend my next 10 years trying to build the next company. I want to broaden my horizon.

comment 15y ago · link · parent

Why wouldnt that apply here as well? Some successful guys post here. Do they get hassled?

comment 15y ago · link · parent

Im very much into light and small notebooks and I love the Lenovo X301. The big advantage over the air is that it has a matte screen. I run linux on it which works perfectly.

comment 18y ago · link · parent

I would prefer the loop this way:

  for each(a in links) 
   if (a.host && (a.host!=thisdomain || String(a).match(/item\?id=/)))
    a.target = "_blank";

comment 18y ago · link · parent

How could an offer, that is 62% higher then the price at the stockmarket be refused?

comment 18y ago · link · parent

Etirovaf has come up now as a YC funded startup:

http://news.ycombinator.com/item?id=104772

comment 18y ago · link · parent

When I was making fun of Xobni some months ago, I said the next product of this kind would be "a browser plugin that lets you search your bookmarks":

http://news.ycombinator.com/item?id=56422

No its here and its called WebMynd. Alright.

Just for the record, here is my prediction: No one will use or remember this project in 2 years.

comment 18y ago · link · parent

We do this thing in PHP with classes. See below. What is the advantage - if any - of namespaces?

  class yo 
  {
   function isBig($number)
   {
      return ($number>1000);
   }
  }

  if (yo::isBig(50)) echo '50 is big';

comment 18y ago · link · parent

> There are no namespaces, so functions often have prefixes to denote their source

Can somebody tell me, how namespaces work?

Say, without namespaces you would do it like this:

  function isBig($Number)
  {
   return ($Number>1000);
  }

  if (isBig(50)) echo '50 is big';
How would this look like when namespaces are used?

10.

Hacker News Documentation

3 points · by some · 18y ago · 4 comments

comment 18y ago · link · parent

Because it brings no benefit to anyone. Not to the one who runs the site and not to the one who signs up to it.

comment 18y ago · link · parent

I dont have Javascript enabled. Tell me, when the HTML version is ready.

comment 18y ago · link · parent

http://google.com/search?q=something+site%3Anews.ycombinator...

comment 18y ago · link · parent

All these words. Show us pictures of different solutions side by side and let us compare on our own.

comment 18y ago · link · parent

I love the design of useit.com. To me its one of the best designed websites out there. By far. I hate most websites. I also like Hacker News. So im surprised to see you disliking useit. Jittery typography? What would be better? One giant block of uniform text?

How would you design useit?

comment 18y ago · link · parent

Its not a comparison at all.

Linus replied to someone who said Linux coding style is not improving because no one sets the rules. Linus said that it is improving via evolution. Style liked by many will be taken over by others, style liked by few will fade out.

Not a comparison. Just a fact.

comment 19y ago · link · parent

F11 also resizes the window to fullscreen. The aim of this project seems to be slightly different: Run Firefox without toolbars.

Still, it sounds crazy to have a dedicated project for this. I would think a commandline-option for firefox would be enough.

comment 19y ago · link · parent

Make sure to wear some flowers in your hair.

comment 19y ago · link · parent

If you would have to choose between small brain and small penis - what would you do?

comment 19y ago · link · parent

45 bytes? Lets see...

wget -O - http://www.muppetlabs.com/~breadbox/software/tiny/teensy.htm... | wc

result: 41150 bytes

comment 19y ago · link · parent

Ok. The same comes again at point 15:

> Do not use functions inside of for loop, such as for ($x=0; $x < count($array); $x) The count() function gets called each time.

comment 19y ago · link · parent

> Set the maxvalue for your for-loops before and not in the loop.

What does this mean?

comment 19y ago · link · parent

> 1. If a method can be static, declare it static. Speed improvement is by a factor of 4.

Wow!

 function Prime1() { ...calc one million prime numbers...}

 static function Prime2() { ...calc one million prime numbers...}
Prime2() will calculate the prime numbers 4 times faster then Prime1()? Cool.

comment 19y ago · link · parent

Using Javascript, the client could as well only send the fields that have changed.

comment 19y ago · link · parent

Cool!

comment 19y ago · link · parent

The woman did nothing wrong.

Im not saying that the legal system is wrong either. But the woman did nothing wrong. I salute her for her courage to go to court.

And Im not going to spend any money on music anymore. Music and money dont go together for me. Im not going to finance people who sue people for sharing.

She did not sell the music. It was a "fan helps fan" thing. She did good, not bad.

comment 19y ago · link · parent

I dont think starting startups gets cheaper.

The whole essay is based on this idea. But Paul gives no reasons, why there should be a such a trend.

comment 19y ago · link · parent

"bashing something you obviously have not even tried"

Yeah, just like heroin, regular work and sex with old people.

Have you even tried bashing things you didnt try or did you just do, what you condemn?

12