Comment Re:Erik the Red (Score 4, Funny) 344
I do seem to have this reputation
I do seem to have this reputation
That's exactly what they do, using the momentum wheel to change it's attitude so the sail is only used when it can get the benefit of those photons.
The downside is that although the apogee is risen from 725km to 727km, the perigee has been lowered from 710km to 707km.
This is the reason that the mission duration is just about 1 month. This is the first week & it's proved it, the rest of August will be to see how far they can go. After that it will then begin to deorbit which will last about a year.
I'm surprised no body's mentioned the Leaf as a currency.
Specifically 1 deciduous forest equates to 1 ship's biscuit
This is crap. Either 'toIndex' actually means 'onePastToIndex', or the final if test should be if (toIndex >= arrayLen) .
Try calling this function with arrayLen=10, fromIndex=1, toIndex=10 -- no exception, despite the zero-based array's last element being index 9.
If you ask somebody to count from 1 to 10, do they stop at 9?
If you see the following prototype: int randomValue( int fromValue, int toValue), what is the highest value you would expect could be returned?
Identifiers should be named accurately! Bad identifiers like this make code unnecessarily difficult to read, and makes it easier for bugs to go unnoticed.
If the allegation is that Google copied this code, and they've replicated the bad names along with the trivial algorithm, it does seem likely they authored their version via cut & paste...
It might actually be correct, it depends on what's calling this method.
For example take either String.substring(begin,end) or String.subSequence(begin,end)
In either of those methods begin is the first inclusive index but end is the last exclusive one , so when you want chars 1..9 then begin is 1 but end is 10
There's plenty of api call's in there which follow the same pattern.
As I've never driven...
Cyanogenmod is doing a good job getting a more unified version of Android on many vendor's devices. I have several devices using it and it works well. (http://www.cyanogenmod.org/)
I have to agree. Currently running it on a Nexus 4 & 1st gen 7 as well as a 1st gen Kindle with no problems whatsoever.
Not all beer is carbonated with CO2. In fact most of the beer I drink isn't carbonated at all... i.e. true Bitter
The "healthier than water" part comes from hundreds of years ago when Beer was cleaner than water.
First one has been running for well over a year now connected to the Weather Station, uploading to various locations including twitter. The Register even picked up on this one as part of a 20 things to do with a pi.
The second is an NTP server using GPS as the time source.
The third is a pure experimental/dev PI.
I've got one more model B & two A's just waiting for a project.
Been meaning to setup a PI Cam on one to complement the weather station so that I get a sky camera (cloud cover by day, long exposure at night for meteor's etc.
As in asterisk which does run on a pi.
Not got round to using it myself but there's a plug in for that or even worse the - press 1 for thus, press 2 for that bit functionality.
Yes the TI-99/4A was my first computer & it did indeed have 16K of ram. It was even 16 bit which most people don't realise for a machine out in 1979/80!
http://en.wikipedia.org/wiki/Texas_Instruments_TMS9900
A pity I didn't try it back then but there was a rudimentary genlock in the display circuitry which was why one of the system colours was called "Transparent"
With the young ones, I think you've been lucky & I've got the rest of them
As for the older ones, yes you can't get stuck with older technology. If you don't keep up it's quite easy to get left behind. Sometimes the problem is that they were held back, now that's a real problem & to me would be time to look elsewhere.
Let the machine do the dirty work. -- "Elements of Programming Style", Kernighan and Ritchie