Recent submissions

Comment · 15 years ago
> 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 · 15 years ago
Why wouldnt that apply here as well? Some successful guys post here. Do they get hassled?
Comment · 15 years ago
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 · 18 years ago
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 · 19 years ago
How could an offer, that is 62% higher then the price at the stockmarket be refused?
Comment · 19 years ago
Comment · 19 years ago
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 · 19 years ago
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 · 19 years ago
> 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?
Comment · 19 years ago
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 · 19 years ago
I dont have Javascript enabled. Tell me, when the HTML version is ready.
Comment · 19 years ago

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton