The Motorola Moto X is a fantastic option, especially given the price. Almost stock Android, timely updates, and great hardware. I have one, and it's probably my favorite smartphone to date. EDIT: Or, if you want the cheaper option, the G is almost as good and significantly cheaper...
sloosecannon
Posts
-
Need a new phone... -
What is null equal to?Woops, logic derp. Yep, you're right. The code is Java for context, but it does lazy logic evaluation too...
-
What is null equal to?Which can be simplified to
if (null==value)
{
throw new NullPointerException();//It was null, we don't like their kind here
}
else
{
//Do something
} -
What is null equal to?Eh, not my choice. Code style rules...
-
What is null equal to?Mmmh, yeah, there's stuff like that in there too. I'll have to see if I can anonymize it enough to be internet postable. Let's just say someone did not understand object oriented coding and how Java works. We got to use this library before we actually took over developing it as contractors, and all the problems we had with it before are starting to make sense now...
-
What is null equal to?I understand the concept of null, however, evidently "those who came before" didn't... Hence why I'm posting this here ;)
-
What is null equal to?I come before you with a question, a yearning in my heart. What is null..... Equal to?
...
if (value == null || value.equals(null)) {
return "null";
}
...Evidently, the concept of "null" and "null pointers" and "null pointer calls" is lost on the guys who wrote this particular line of code. It doesn't make any errors, probably because someone added the first condition after a few NPEs happened... EDIT: Clarification - the title is rhetorical.
-
Cheap Android tablet - hasn't anyone tried this yet?I doubt it would be as easy as copying a windows ISO onto an sdcard, but you can probably flash an img or a zip. Never used that tablet so I don't know how the bootloader/recovery/boot system works, but flashing capabilities are pretty standard. Of course, if the bootloader is locked/protected, all bets are off.
-
Another glittering career falls at the first hurdleOuch...
-
That's rude, latest Adobe flash updateEh, I usually set chrome to block all plugins unless I specifically tell it to show them. Judging by this behavior though, it wouldn't surprise me if Flash changed that when you update too...
-
User Expectations for cancel buttonI do believe the Windows UI guidelines cover this... Provide a command button to halt the operation if it takes more than a few seconds to complete, or has the potential never to complete. Label the button Cancel if canceling returns the environment to its previous state (leaving no side effects); otherwise, label the button Stop to indicate that it leaves the partially completed operation intact. You can change the button label from Cancel to Stop in the middle of the operation, if at some point it isn't possible to return the environment to its previous state. From: http://msdn.microsoft.com/en-us/library/windows/desktop/aa511268.aspx