Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!


Forgot your password?
Slashdot Deals: Cyber Monday Sale Extended! Courses ranging from coding to project management - all eLearning deals 20% off with coupon code "CYBERMONDAY20". ×

Comment Re: Deep cynicism (Score 1) 113

I am sure the FBI has better things to do than spy on innocent people. From the sheer fact that they were monitoring him we can safely assume that he is a spy, and is guilty as sin.

He got away with it this time, but justice will be served eventually. And one thing's for sure, whether he got away with it or not, everybody knows he is a spy now so you can bet nobody will make the mistake of trusting him with that kind of power again!

Yes, because forget about "innocent until proven guilty", or even "innocent until a trial starts", let's just have "guilty if any government agency files any charges, even if they withdraw the charges later".
It's great that we have objective, rational people like you on juries to decide whether people spend life in jail, walk free or are executed. We can all sleep safely knowing that, thanks to objective, rational people like you, nobody will ever be wrongfully imprisoned or executed without the highest standards of evidence.

Comment Re:Hahah (Score 1) 246

What kind of rational human being does this? Did you try to set fire to your schools property because of a bad grade? I'll look past the B&E and unauthorized access.

He is dangerous, to himself and others. If not juvie, then a psych eval and treatment.

He's a kid, not a rational human being. He needs emotional help, like lots of kids (and sadly, lots of adults). Do you honestly think he'll get that help by being thrown in "juvie", excluded and shunned from normal society?

Comment Re:Hahah (Score 1) 246

He did the crime (actually several), he must do the time.

If he wants to play big boy games then he must accept big boy penalties. Fuck your PC "Oh but he's a kid with his whole life ahead of him!" bullshit, he's chosen his path, let him reap the consequences.

This medieval attitude is one reason why the US has the biggest prison population in the world and one of, if not the worst rates of recidivism.

What this kid needs is some help, not "big boy penalties", a.k.a. incarceration and a lifelong criminal record which marks him as "different" from normal people in a way that affects him negatively for the rest of his life. Stop doing that.

Comment Re:and no one gives a damn. (Score 1) 328

One thing we've noticed is the other side: it's often cheaper to just buy the movie, watch it at home (home-popped popcorn) and throw away the disc afterwards than it is to watch it in the theatre.

Home movies have gotten so much cheaper than theatres that this is feasible for most movies. We still see the odd one in the theatre, but that has gotten quite rare over the years.

You actually have something there. HDTV's are relatively cheap compared to the original vacuum tube variety that was used for standard definition. Even if you want to buy a 4K HDTV over the now standard 2K (1080p) 15:9 aspect ratio HDTV's you may pay about 10% more. In fact it is possible to set-up a reasonable home theatre (includes HDTV, DVD/BD player, amplifier and speakers) system for under $2000. Of course you could spend ridicules amounts of money on a home theatre system as well.

If you are into watching movies it is actually cheaper to either rent or if you think you may want to watch the movie again then purchase the Blu-ray. Even if that movie is the latest release and costs say $30 it would still be cheaper to purchase and watch with friends and family than go to a movie theatre.

It probably would be cheaper over the long-haul, plus you don't have people standing up in front of you in the middle of the "closure" scene just to beat the queue to get out... argh, so inconsiderate! Also, you can pause it at any point to talk, make tea or go for a piss. And you don't have to spend time and money travelling to/from the theatre and parking. I'm poor so I neither go to the cinema nor have a big home cinema system, but that'll definitely be my preferred choice upon leaving poverty :D

Comment Re:i vote with my wallet (Score 1) 328

cool. then boycott copyrighted works and advocate for changing the law. don't steal. is that what you want to teach your kids?

The point of contention here is that these "copyrighted works" are very old and could be considered culturally significant, and that the current rights holders are not the people who created the works.

Consider this: imagine these laws were even more extreme and it was illegal to share or view an image of the Mona Lisa or a copy of Shakespeare's works online without paying Fox or MGM a stupid sum of money. In that case, would you advocate that society boycott reading Shakespeare or viewing the Mona Lisa? Is that what you want to teach your kids -- to lie back and accept an unjust situation? If so, why? If not, why is it a different situation to "Attack of the 50-foot Woman"?

Comment Re: Why do people still care about C++ for kernel (Score 1) 365

Well, one way, you can monitor heap usage and trend the usage immediately following full GCs.

The other way to look at it is as a function of time.

None of that applies to modern server-centric garbage collection (GC1). "Stop the world while I collect garbage" makes a server worthless if you have 64 GB and GB takes minutes, which is why the default GC for the server SDK hasn't worked that way since mid Java 7.

That's not quite true; even without a "stop the world" collector, you can still look at the amount of time the parallel GC thread is busy. In fact there seems to be quite a bit of information available with tools such as jstat. Perhaps this could help you better understand actual heap use (this is also a problem I face at work -- processes that run out of heap after many hours, expectedly... argh).

Some info about jstat: http://www.cubrid.org/blog/dev...
Info about G1 (although you already seem very familiar with it): http://www.infoq.com/articles/...

Comment Re:Time for GATT Article XX tariffs (Score 1) 427

Surely, when the UK has a population of around 65 million, and China has a population of around 1400 million it makes a difference. We are talking about influencing government policy. So, we spend a huge effort changing UK policy, and at most we can effect a reduction in an output of:

7.7t * 65m = 500.5 million t ... while at the same time China is outputing:

7t * 1400m = 9800 million t.

The entire UK output is 5% of China's. If the UK can reduce its output by 20% (hugely unlikely, as just holding steady seems impossible to do), while the Chinese increase theirs by just 1% then the two effects cancel out (to some rounding error that I can't be arsed to calculate).

Focusing on those countries who are both raising their output the most and also have the largest populations (hello too India) seems perfectly sensible.

So if it's "hugely unlikely" to reduce the UK's output, when their per capita emissions are higher than China's, how can we expect China to do it?

Surely it's both fairer and more realistic to treat the targets on a per capita basis and not penalise China for having a large population.

Comment Re:R... (Score 1) 143

"Portable assembly language" is an oxymoron. And I have never heard anyone use that phrase to describe C.

A quick web search will solve that for you. The phrase has been bandied about for quite a few years now, although many people disagree on the topic.

Never mind building abstractions. The C language itself is a significant abstraction from the machine level. Only a small handful of operators and constructs in C have a close analogue to assembler statements (e.g., accumulation, shift and bitwise logical operators.) Therefore I maintain that it is not a low-level language.

While I certainly agree that C is a significant (and useful) abstraction from the machine -- or more specifically, the assembler -- level, I think you've glossed over quite a few things that are much closer in C to how it works at the machine code level, compared to most other languages. Some that spring to mind are:

  1. Pointers and pointer arithmetic -- and not just for fun; you need to use them to get things done.
  2. Array indexing -- this is little more than syntax sugar atop pointer arithmetic. Indexing element i of an array is equivalent to referencing *(array_base + sizeof that type * i), and accordingly there is no bounds checking etc.
  3. No real strings -- just arrays of characters which suffer from the same problems above.
  4. No garbage collection or even refcounting -- if you want to return a string value from a function, you need to either take a buffer (and, ideally, the size of the buffer since you can't automatically determine it) and store the string there, or you need to dynamically allocate memory and return a pointer. Whoever called the function then needs to "free" that pointer later. That's some pretty low-level stuff you have to do just to pass some strings around!

These are just a handful of many things you need to live with in assembly AND in C, unless you use some non-universal, non-standard library for e.g. strings or GC (Hans Boehm's drop in one seems pretty good though). Additionally, C forces you to declare the types of each variable and function, yet cannot properly enforce type-safety and has no type inference which would have made the job easier.

C is undeniably less low-level than assembly, I consider C to be a low-level language in an arbitrary line-in-the-sand sense. Of course, my view on this is no more valid than yours since how we define "low-level" as some absolute marker is pretty subjective!

Comment Re:R... (Score 1) 143

C is most certainly a low-level programming language. There's a reason people call it "portable assembly language". Of course, as with almost all programming languages, people build useful abstractions in C to bridge the gap somewhat. But that doesn't make C itself a high-level language, any more so than does the use of functions and macros to increase the expressive power of an assembly language.

1000 pains = 1 Megahertz