Recent submissions

Comment · 13 years ago
They certainly are. But my point is that if you're only servicing the same number of IO connections as you have cores, it's not extremely scalable.

Most networking servers should be dealing with hundreds or thousands of concurrent connections.

Comment · 13 years ago
> The idea that threads or processes are intrinsically slow was sheer unmitigated propaganda, and probably not only failed to contain a grain of truth, but are actively false.

Threads / processes:

  * Run some code from A
  * Save state, context switch
  * Run some code from B
  * Save state, context switch

  * Deal with locking, synchronisation, etc
vs

  * Run some code.
There is absolutely no instances where [num threads] > [num cores] is as efficient as not using more threads than cores.
Comment · 13 years ago
Yeah because I have as many cores as I have concurrent HTTP requests, and obviously it's CPU bound...
Comment · 13 years ago
why would anyone still be using threads or processes these days? :/ hardly scalable or efficient.
Comment · 13 years ago
It's really not a defining moment, in any sense of the word.

Same old, same old.

In actual fact though, The independent has stated that it wasn't leaked anything by the government, so the original post is moot. This is no better than gossip about celebrities.

So governments monitor the internet. Wouldn't it be really bizarre if they didn't monitor the internet?

Comment · 13 years ago
I remember when hacker news used to be about hacking, programming, startups etc.

What the hell has this political article got to do with any of the above?

Comment · 13 years ago
The supply of electricity however, is apparently limitless!!!
Comment · 13 years ago
My first laptop was an Amstrad PPC512 in the mid 80s - almost 30 years ago. I'm still not convinced batteries have come that far since then.

I'm actually thinking of going back to my nokia which has a battery that lasts a week on standby. Compared to modern smartphones which last a day.

You're right though - Inefficient bloated buggy software is becoming the driving force for requiring more power from batteries - going back to my original point - I don't want software running my car.

Agree to disagree eh

Comment · 13 years ago
> lithium-ion batteries (the latter were under active development), but they're now the primary power sources for portable devices, and lithium-ion batteries power the Tesla Model S.

What does that mean for the user. Do batteries today last twice what they lasted 30 years ago? Nope. Are rechargeable batteries any more viable today? Nope.

Even batteries in laptops only last a year or so before they are just dead and need replacing.

If you think battery technology has really massively improved in the last 30 years, please let me know what real world improvements there have been...

Comment · 13 years ago
Take an AA battery. Now go back in time 30 years and look at an AA battery.

Identical. Why has battery technology not improved one bit in the last 30 years? Well, obviously there's a massive disincentive - the better the battery, the less people buy, but I don't think that's the main limitation.

I don't think conventional batteries can improve all that much more.

Comment · 13 years ago
I don't believe electric cars are technologically better. Lugging a half ton battery around, then waiting for hours for it to charge doesn't seem that clever to me.

Of all the things that are banes of our lives these days, surely it's everything that runs on a battery.

Remember when phones would last a week or so on a charge? Now you're lucky if a smart phone lasts a day on standby. And people call it progress...

So no, I think the idea of having a massive battery in my car is horrible.

Comment · 13 years ago
Firstly, I don't believe electric cars are a good idea. Secondly, I absolutely hate the idea of cars so dependent on electronics and software.

My neighbour has an old dumper truck he lets me use, probably 50 or 60 years old. It starts every time, first time. There is literally nothing to go wrong on it.

Now contrast that with a modern car, where you need special tools to access the electronics unlock diagnostics. What about when cars have auto update software over wifi? What about when the government forces car makers to embed their own tracking software into them to monitor and spy on civilians.

Tesla isn't quite as bad as the idiotic self drive cars Google is pressing for (So they can drive you to a google advertiser), but they're in the same bucket of nastiness.

Comment · 13 years ago
HN has a raging hard-on for tesla. It's not surprising, but I agree it's ridiculously one sided here.

Personally, I hope Tesla fail, and think they will.

Comment · 13 years ago
It would probably take at most a few hours to rewrite a JSON encoder and decoder. It's hardly a complex piece of code is it.
Comment · 13 years ago
Even that's not correct though. Port 80 is just the default port. Not to mention the number of web servers only doing HTTPS on port 443 and not 80.

More correct would be "A scan of world wide web servers running on the default port 80"

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton