Become a fan of Slashdot on Facebook

 



Forgot your password?
typodupeerror
×

Comment Re:Sail and atmospheric drag... (Score 4, Informative) 87

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.

Comment Re:When you count from 1 to 10, do you stop at 9? (Score 1) 198

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.

Comment Re:No Generic OS for Mobile devices yet. (Score 2) 116

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.

Comment Weather Station, time sync (Score 2) 129

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.

Submission + - AMD Intentionally Added Artificial Limitations To Their HDMI Adapters (phoronix.com)

An anonymous reader writes: NVIDIA was caught removing features from their Linux driver and days later Linux developers have caught and confirmed AMD imposing artificial limitations on their graphics cards in the DVI-to-HDMI adapters that their driver will support. Over years AMD has quietly been adding an extra EEPROM chip to their DVI-to-HDMI adapters that are bundled with Radeon HD graphics cards. Only when these identified adapters are detected via checks in their Windows and Linux Catalyst driver is HDMI audio enabled. If using a third-party DVI-to-HDMI adapter, HDMI audio support is disabled by the Catalyst driver. Open-source Linux developers have found this to be a self-imposed limitation and that the open-source AMD Linux driver will work fine with any DVI-to-HDMI adapter.

Submission + - voyager had finally left the solar system

EricTheRed writes: The BBC is covering the good news that Voyager 1 has finally & officially left the solar system.

http://www.bbc.co.uk/news/science-environment-24026153

What I like to think I'd that a computer from the mid 1979's, older than most people here on Slashdot is still running.

Not many of us have computers anywhere near that old that are still usable — OK got a BBC micro & electron that still work but even they are 5-6 years younger.

Well done to the original JPL Tech's

Comment Re:Missing alternative (Score 1) 587

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" :-(

Comment Re:Start your own (Score 1) 472

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.

Slashdot Top Deals

Let the machine do the dirty work. -- "Elements of Programming Style", Kernighan and Ritchie

Working...