Ask Slashdot: How Do You Sort?
Most teachers I knew naturally used a variant of merge sort when sorting a pile of test papers. Most didn't know anything about formal sorting algorithms.
EU Parliament Rejects Asylum For Snowden
bottled water packaging cannot claim to combat dehydration
Less stupid that you might think.
Of course, bottled water works against dehydration... Like almost all non-alcoholic beverages and some types of solid food.
But the reason why this law exist is to prevent sellers from implying that bottled water is the best way to combat dehydration, which is not true. Tap water, soda, juice, etc... work just as well. And in some cases, like when you need electrolytes, there are better alternatives.
You may call it over-regulation but I think that it does make sense.
Majority of Young American Adults Think Astrology Is a Science
Is Whitelisting the Answer To the Rise In Data Breaches?
Game consoles with their OS in ROM are commonly hacked.
California Bill Proposes Mandatory Kill-Switch On Phones and Tablets
A robbery involving mobile devices doesn't mean that the robber robs a mobile device from the robbed.
For example, if robbers use phones to coordinate an assault, then a phone is involved. If a robber steals cash to buy a phone, a phone is also involved.
Just saying that with words like "involve" it is easy to create misleading statistics.
Apple Reportedly Testing Inductive, Solar and Motion Charging For Its Smartwatch
A watch can be easily connected to the blood vessels in the wrist and use the O2 / glucose mix as an energy source like the rest of your body. Recharge by eating. This would be real bleeding-edge technology.
Note that the use of blood as a power source (for implants) is seriously being researched. Look up "biofuel cell".
EU Secretly Plans To Put a Back Door In Every Car By 2020
I seriously doubt the credibility of the article.
Anyways, remote stop doesn't mean that you can stop any car, anywhere. It can be the equivalent of a virtual barrier, for example, an induction loop may be placed at some key points like red lights to transmit the signal only to cars that pass over it.
Red Team, Blue Team: the Only Woman On the Team
Yes, we can consider "stay-at-home parent" as a field. But because it is a job that doesn't have a price tag, it is somehow considered inferior. It's not. Don't underestimate the value of a stay-at-home parent.
Cooking, cleaning, taking care of the kids, shopping, etc... Without a stay-at-home parent, you have to pay good money for someone to do this (here goes your hard earned money). You can also live in filth and neglect your kids (wow, that's progress !). Or you can attempt to do it in addition to your day job (and live an exhausting and stressful life).
Ask Slashdot: Life After N900?
Firefox OS, aka "Boot to Geko" is actually just a web browser running on top of a linux kernel with a minimal interface between the two. It's great if you like web technologies (HTML, CSS, JS, ...) but not if you want something close to a desktop GNU/Linux system. Even Android is better in this regard.
You can probably hack Firefox OS to get a UNIX shell, run native code, etc... but AFAIK, it is against Mozilla's philiosophy so don't expect much support.
Amazon: We Can Ship Items Before Customers Order
BTW, this practice is now illegal in France.
If it happens, you just need to notify the seller that you keep the product at his disposal for two weeks. If he doesn't pick it up, it's yours. Of course you don't have to pay anything.
Wikimedia Community Debates H.264 Support On Wikipedia Sites.
If the word CODEC is so important to you that you write it in all caps, at least use it correctly.
A codec is not a standard nor a format, it's software or hardware that deals with compession and decompression. x264 is a codec, h.264 is not.
And BTW, x264 is free software, that's for sure. But if you use it as a h.264 encoder, you have to comply with the conditions imposed by MPEG-LA. It includes paying royalties in some cases.
Why Birds Fly In a V Formation
Non flying cars do not produce vortexes like planes do. Tailgating work by exploiting the low pressure area behind the front car. There may be a bit of turbulence but it's not what is important.
Planes, like almost all heavier than air things that fly, work by making the air go down, which, by reaction, makes the plane go up. This downwards moving air ends up spinning around, creating the vortex. Cars don't need lift, and generate thrust by pushing on the road, not on the air. As a result, they don't need vortexes.
If I Had a Hammer
It has been done : On May 14, 2005 an AS350 B3 piloted by Eurocopter test pilot Didier Delsalle touched down on the top of Mt. Everest, at 8,848 m (29,030 ft). This record has been confirmed by the Fédération Aéronautique Internationale. ( from http://en.wikipedia.org/wiki/Eurocopter_AS350 )
Who Is Liable When a Self-Driving Car Crashes?
For planes, auto-pilot is easier. Obstacles in air are very uncommon. You could cruise simply by going blindly from A to B in a straight line and the chances of hitting anything will be very low. You just need relatively simple systems to reduce this risk to something insignificant. Take off and landing are a bit trickier but even these are more predictable than driving.
Plus, you still have two highly trained pilots aided by air traffic controllers.
Court Rules Against Online Anonymity
You forgot the obligatory xkcd link.
Here it is : http://xkcd.com/1098/
Comparing G++ and Intel Compilers and Vectorized Code
No, the specs shouldn't be restricted for style reasons. I believe that the permissive specs and "undefined behaviors" are part of what made C and later C++ so successful.
I hate it when languages try to dictate how I should code when there are no technical reasons. My beliefs are that languages should be designed for experts, not for preventing beginners from shooting themselves in the foot. For this, there are compiler warnings, coding standards, static analysis tools, ... (which I believe are essential)
Now let me tell you a few reasons why "if (a = b)" is better than "a = b;" followed by "if (a)" :
- An extra line takes up screen real estate, which is precious.
- In the two line version, "a" is written twice instead of once. It goes against the principle of code factorization.
Of course there are arguments going against it but it is just to show that it is not clear cut. Personally, I would use "if ((a = b))" : it gets rid of the warning, it's a common way of showing that you are not doing a typical equality test and it doesn't suffer the problems I mentioned.
As for point 2, while it is unlikely to find a compiler that have trouble guessing that the two styles mean the same thing, changing compiler is not that simple, especially if you are on an exotic platform.
I also don't believe in point 3 : whether you use it of not, "if (a = b)" remains uncommon, and it will jump at any experienced programmer.
GitHub Takes Down Satirical 'C Plus Equality' Language
From the comments, it looks like the concept of logical equivalence is indeed a hard concept to grasp.
!women || people (a logical consequence) is probably closer to the intended meaning.
GitHub Takes Down Satirical 'C Plus Equality' Language
Only if men != women.
Code.org Stats: 507MM LOC, 6.8MM Kids, 2K YouTube Views
Using the SI :
507 MM = 507*1e6*1e6 = 507 trillions = 507 T
6.8 MM = 6.8*1e6*1e6 = 6.8 trillions = 6.8 T
2 K = 2 Kelvin = -271.15 C = -407.07 F
That's a lot of code, but it took about 1000 times the world population to write it. Also, YouTube views are very cold.
Norway Rejects Bitcoin As Currency; Taxes As Asset, Instead
In France we have a somewhat controversial tax called ISF (Impôt de solidarité sur la fortune).
People owning more than 1.3M€ in assets can be taxed up to 1.5% of their net worth annually.
GuB-42 hasn't submitted any stories.
GuB-42 has no journal entries.