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.
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.
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.
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.
This isn't just in the US either, we have the same problem here in the UK.
Over the years I've seen loads of youngsters who straight out of university think they know everything until they get the sharp shock of reality.
Businesses go for them as they are cheap but it's those of us who have been around for decades that end up cleaning up the mess or attempt to train them.
There are some are so arrogant they don't want to accept they are wrong, they are the worse.
Nb: I'm self taught, didn't do university & still overworked in my mid forties!
Yes they have as one of my sites using PhpBB suffered from at first.
What I do to get around the scripts is: 1: Have a captcha - although not too complicated as I've found some disabled users have problems with it 2: Restrict posts to be moderated for the first few posts made by a new user. Once they hit a certain limit then their posts go live immediately.
No 2 is important because some people from India, Korea and China are paid to post to forum sites so doing this also captures them as well.
Initially there's a burst of spammers but this falls off as they find out which sites are pro-active in killing them. I still get the odd burst of spam, usually on a Monday morning but it's manageable.
I wish I could retire my msn account but unfortunately it's still the preferred IM system for most here in the UK.
Personally I have my own xmpp server running for IM. Not only is it open but it's also means that I'm in control of my contacts & know that, if it fails it's my own fault;-)
If I need to talk to someone on Google Talk or other xmpp severs its no problem as its federated correctly so I'm pretty much covered.
I'm just wondering what those insisting on msn will do now or the chaos when this happens next year.
I see the same thing in my forums. The capcha gets the spam bots but the mules (humans being paid pittance to spam) still try to get through, strangely they tend to post on a Monday morning.
What I do to catch them is: * moderate the first X posts from any user. * don't allow posts from certain countries, usually India, South Korea & China.
There's no automation on this as its low volume anyhow but it does work.
I think permafrost wouldn't be quite an issue if you think that for large parts of the antarctic it's nearly 2000m thick - just make sure it's still got bedrock beneath it & not water;-)
As for the endless nights, well same goes for the antarctic, just offset by 6 months but then they'll use the downtime for maintenance
Yes I meant to say (at least I was thinking) the last slingshot wouldn't need to gain momentum, just change the trajectory - the momentum being gained from any previous encounters.
If this is a telescope then you don't necessarily want extra momentum just a change in trajectory out of the plane of the ecliptic - although the timescales involved even this wouldn't add to much when you think how far both Voyagers have got since they were launched. Even they are power starved now so any telescope out there wouldn't last as long.
As for parallax observing the other issue there would be the time to wait for a full baseline observation of a specific object - would the instrument still be in operation when the second observation is to be made? Possible but again it's down to power consumption
That's true but then you can do both, hitch a ride on a survey craft to say Jupiter & Saturn, then when passing Saturn use it's gravity well to slingshot the craft - with telescope attach in a perpendicular direction.
Thinking about it, the Voyager's are in such a trajectory, both leaving the solar system away from the plane containing the planets.
To solve your problem at hand (pun intended) - please wash your hands. Frequently. With soap.
That's not the problem, the problem is the oils excreted by the skin. For some people the amount is higher than others so for some people their tablets will appear dirtier simply because they are unwittingly depositing more oil for dirt to attach to.
It's the same reason why with older blackberries the trackball's fail faster than others - it's easier for gunk to clog up the mechanism.
yes I did & obviously this is a prototype so it would be big.
Thing is when it gets to a production model - will batteries cope with a dual core phone? A lot of current phones have problems especially with low signal areas draining the batteries regardless of 'optimum' conditions they tend to use when stating battery life.
Saying that this sort of thing will happen eventually, with Meego being mothballed after Nokia defected to Windows we need a good Linux based OS other than Android
The rendering issues on OS X were known bugs and were in the release notes for 4.0b9. You are using beta software and there are bound to be bugs. It is fixed in their repo, and you can run Minefield (nightly builds) if you want to get the fix.
I know I'm running beta - thats actually why I'm running it.
However not seen the release notes as I was not given a choice - it was upgraded automatically from 4.0b8...
I've been running FireFox 4 Beta for some time, however sadly it updated itself to the latest version yesterday and since then it's been virtually unusable.
Anything running Javascript or Flash produce either blank screens (sometimes just by scrolling the page) or even the window title bar flashes (which it is as I type this).
4.0b9 is definitely a regression - I want 4.0b8 back...
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.
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.
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.
This isn't just in the US either, we have the same problem here in the UK.
Over the years I've seen loads of youngsters who straight out of university think they know everything until they get the sharp shock of reality.
Businesses go for them as they are cheap but it's those of us who have been around for decades that end up cleaning up the mess or attempt to train them.
There are some are so arrogant they don't want to accept they are wrong, they are the worse.
Nb: I'm self taught, didn't do university & still overworked in my mid forties!
Yes they have as one of my sites using PhpBB suffered from at first.
What I do to get around the scripts is:
1: Have a captcha - although not too complicated as I've found some disabled users have problems with it
2: Restrict posts to be moderated for the first few posts made by a new user. Once they hit a certain limit then their posts go live immediately.
No 2 is important because some people from India, Korea and China are paid to post to forum sites so doing this also captures them as well.
Initially there's a burst of spammers but this falls off as they find out which sites are pro-active in killing them. I still get the odd burst of spam, usually on a Monday morning but it's manageable.
Have they sorted out the dodgy keyboard problems?
My 10 year old HP48G was really bad (to the point of almost being unusable) when it came to the 0 & 1 keys
yes, probably down to them thinking that implementing s2s would devalue it somehow - facebook chat doesn't have s2s either
I wish I could retire my msn account but unfortunately it's still the preferred IM system for most here in the UK.
Personally I have my own xmpp server running for IM. Not only is it open but it's also means that I'm in control of my contacts & know that, if it fails it's my own fault ;-)
If I need to talk to someone on Google Talk or other xmpp severs its no problem as its federated correctly so I'm pretty much covered.
I'm just wondering what those insisting on msn will do now or the chaos when this happens next year.
I think it must have been 97/98 but saying that I can't remember anything about no logins etc :-/
I see the same thing in my forums. The capcha gets the spam bots but the mules (humans being paid pittance to spam) still try to get through, strangely they tend to post on a Monday morning.
What I do to catch them is:
* moderate the first X posts from any user.
* don't allow posts from certain countries, usually India, South Korea & China.
There's no automation on this as its low volume anyhow but it does work.
I think permafrost wouldn't be quite an issue if you think that for large parts of the antarctic it's nearly 2000m thick - just make sure it's still got bedrock beneath it & not water ;-)
As for the endless nights, well same goes for the antarctic, just offset by 6 months but then they'll use the downtime for maintenance
Yes I meant to say (at least I was thinking) the last slingshot wouldn't need to gain momentum, just change the trajectory - the momentum being gained from any previous encounters.
If this is a telescope then you don't necessarily want extra momentum just a change in trajectory out of the plane of the ecliptic - although the timescales involved even this wouldn't add to much when you think how far both Voyagers have got since they were launched. Even they are power starved now so any telescope out there wouldn't last as long.
As for parallax observing the other issue there would be the time to wait for a full baseline observation of a specific object - would the instrument still be in operation when the second observation is to be made? Possible but again it's down to power consumption
That's true but then you can do both, hitch a ride on a survey craft to say Jupiter & Saturn, then when passing Saturn use it's gravity well to slingshot the craft - with telescope attach in a perpendicular direction.
Thinking about it, the Voyager's are in such a trajectory, both leaving the solar system away from the plane containing the planets.
http://voyager.jpl.nasa.gov/mission/images/interstellar_1.gif
To solve your problem at hand (pun intended) - please wash your hands. Frequently. With soap.
That's not the problem, the problem is the oils excreted by the skin. For some people the amount is higher than others so for some people their tablets will appear dirtier simply because they are unwittingly depositing more oil for dirt to attach to.
It's the same reason why with older blackberries the trackball's fail faster than others - it's easier for gunk to clog up the mechanism.
My greasy fingerprints all over the goddamn screen.
I suffer from the same problem so a continual problem with tablets that I don't see going away.
yes I did & obviously this is a prototype so it would be big.
Thing is when it gets to a production model - will batteries cope with a dual core phone? A lot of current phones have problems especially with low signal areas draining the batteries regardless of 'optimum' conditions they tend to use when stating battery life.
Well the way everywhere else was hinting it sounded like it was. If Intel can go it alone (they're big enough) then it may succeed. Time will tell
but that will improve.
Saying that this sort of thing will happen eventually, with Meego being mothballed after Nokia defected to Windows we need a good Linux based OS other than Android
The rendering issues on OS X were known bugs and were in the release notes for 4.0b9. You are using beta software and there are bound to be bugs. It is fixed in their repo, and you can run Minefield (nightly builds) if you want to get the fix.
I know I'm running beta - thats actually why I'm running it.
However not seen the release notes as I was not given a choice - it was upgraded automatically from 4.0b8...
I've been running FireFox 4 Beta for some time, however sadly it updated itself to the latest version yesterday and since then it's been virtually unusable.
Anything running Javascript or Flash produce either blank screens (sometimes just by scrolling the page) or even the window title bar flashes (which it is as I type this).
4.0b9 is definitely a regression - I want 4.0b8 back...
I should have and just have.
They always go in threes. First LN, now IK. Who's #3?
Sir Maurice Wilkes - one of the early programming pioneers of the 1940's?
From The National Museum Of Computing, Bletchley Park twitter feed: http://twitter.com/#!/tnmoc/status/9283716039843841
Sad news that today Sir Maurice Wilkes passed away, aged 97. Here he was on a visit last year to #TNMOC http://ow.ly/3gUD2