Apple Drops iPhone NDA

Apple:

the NDA has created too much of a burden on developers, authors and others interested in helping further the iPhone’s success, so we are dropping it for released software.

It Must Be Microsoft’s Fault

Steven J. Vaughan-Nichols unleashes a scathing attack on Microsoft following the outage suffered by the London Stock Exchange:

It should have been a great day on the London Stock Exchange.

It was, the traders got to watch funny videos on YouTube all day instead of working.

Later the LSE gave the vague explanation, that “It was software-related, a coincidence, due to two processes we couldn’t have foreseen,” and not caused by high-volume. The spokesperson added, “We’ve introduced a fix and we’re confident it will not happen again.”

Somehow “we couldn’t have foreseen” and “we’re confident it will not happen again” don’t fit very well together.

Well, they didn’t foresee it. It happened, and it crashed the system. They now know what happened, and they’ve made a fix that makes sure that bug never strikes again. Comprende?

So what really happened? I doubt we’ll ever get a detailed, nitty-gritty explanation, but I have friends in London and…

None of them talk to me any more so I had to conjure this story out of my rectum.

On top of this runs the TradElec software itself. This is a custom set of C# and .NET programs, which was created by Microsoft and Accenture, the global consulting firm. Its back-end databases, believe it or not, run on Microsoft SQL Server 2000.

Nothing wrong there, at least they aren’t using a database with it’s own host of corruption and performance issues…

The programmers and serious database administrators in the audience can already see where this is going.

Yep, a Linux fanboy with nothing better to write about is going to do another misinformed rant about Microsoft.

Sorry, Microsoft, .NET Framework is simply incapable of performing this kind of work, and SQL Server 2000, or any version of SQL Server really, can’t possibly handle the world’s number three stock exchange’s transaction load on a consistent basis.

Okay, got any evidence to back up those statements?

I’d been hearing from friends who trade on the LSE for ages about how slow the system could get. Now, I know why.

No then.

What I find really amazing is that the LSE’s software stack hadn’t blown its top earlier. Even setting aside my feelings for Linux, there’s simply no way I’d recommend Server 2003, .NET and SQL Server for a job even a tenth this size. If a customer of mine insisted that they didn’t want open source - more fool them - I’d recommended Sun Solaris, JEE (Java Enterprise Edition) and Oracle or IBM AIX or z/OS, WebSphere and DB2.

Yes yes! Anything but Microsoft! Write it in C++, no C, no Haskell, no Smalltalk, no assembly, no in direct machine code! Yes, that’s the best way to do it!

What I’d really prefer to see is RHEL (Red Hat Enterprise Linux), JBoss, and MySQL or Oracle or Novell’s SLES (SUSE Linux Enterprise Server), JEE, and, again MySQL or Oracle for the DBMS engine.

Ah good old MySQL with it’s corruption and performance issues. Yes, that’s a much better DBMS than SQL Server for crucial financial data. And I’m sure the dog bowl mess that is JBoss and J2EE will be much better to work with than .NET. Like I said, anything but Microsoft!

In any case, though, the real moral of this story is that if you really want HA (high availability) or HPC (high performance computing), Microsoft’s products should be at the bottom of your list. Unix, mainframes, and, yes Linux, are far, far better for companies that need fast and reliable computing.

No, the real moral of the story is that Linux fanboys will latch onto any story where they can falsely discredit Microsoft using lies and spin, and none of them are worth reading. This is one I’m making an example out of.

Vaughan-Nichols fails to mention (or maybe he failed to research) that the outage wasn’t the fault of the .NET application he attacks (TradeElect), but on the “trading gateway between the LSE’s Extranex private network (linking the exchange and clients) and the TradElect electronic trading platform”.

Microsoft’s Woes with the 360

VentureBeat explores what Microsoft did wrong with the 360 in an insightful article:

“Microsoft decided late to add a hard disk drive to most of the machines. It also came up late with a plan to add wireless controllers; all of the previous consoles shipped with wired controllers. The hard drive blocked a lot of the air flow on one side of the machine,” Takahashi wrote. “And the wireless modules had to have enough of their own space to ensure that there was no electrical interference. In the end, the machine was a series of compromises.”

AP Fact Checks Palin’s Speech

The Associated Press does some fact checking on the attacks on Barack Obama made in Sarah Palin’s speech yesterday. It looks like the Republican’s new style of spin is just outright lying.

The Great PC RAM Swindle

AppleInsider on how Apple’s move to 64-bit in Snow Leopard exposes a “great PC swindle”:

One developer we consulted about the issue noted, “consumers are being scammed by [PC] OEMs on a large scale. OEMs will encourage customers to upgrade a 2GB machine to 4GB, even though the usable RAM might be limited to 2.3GB. This is especially a problem on high-end gaming machines that have huge graphics cards as well as lots of RAM.”

Twitterlicious 2.2

Eight months ago, Twitterlicious 2.1 was released. Since then, I’ve just not had the time to fix some critical bugs that have been bugging me and every other Twitterlicious user out there! This new 2.2 release aims to fix the two major outstanding bugs:

  1. Twitterlicious is sometimes (for no apparent reason) starts to timeout every connection to Twitter.
  2. Updates with quotes (”) in were cut short.

With these issues hopefully now resolved, I can concentrate on new features to bring Twitterlicious in line with what the API is no capable of.

Download from the usual place.

Great Olympic Moments on YouTube

Jason Kottke with a fantastic collection of Olympic moments you can watch on YouTube:

One of the best ways to watch the Olympics is to chase down all the references made by NBC’s commentators on YouTube and watch them in addition to (or instead of) the regular telecast. Here are some of the ones I’ve found.

Using Photographs to Enhance Videos of a Static Scene

Very interesting research into using still photographs to enhance a video of the same scene by increasing the resolution, enhance the dynamic range and exposure, and even object touch-up and removal.

The Big Picture: Beijing Olympics 2008 Opening Ceremony

Some spectacular photographs from the opening ceremony of the 2008 Beijing Olympics. The Big Picture blog never fails to deliver.

Caring About Fruit Flies

More from the New Scientist about the recent attacks on scientists using animal testing:

[The scientists] study how the brain develops, not in the bigger mammals most of us feel some kinship towards, but in mice and fruit flies. “I’m 99% sure that the public doesn’t care about the wellbeing of fruit flies,” says Frankie Trull, president of the Foundation for Bioethical Research in Washington, DC.

US Animal Extremists Firebomb Scientist’s Car

ArsTechnica has an excellent article examining the reasoning behind the violence used by the animal extremist movement.

The issue at its simplest is that animal rights extremists believe that animals are as deserving of the same rights and protections as humans, and that the use of animals in scientific research is deeply immoral. Since animals can’t speak for themselves, the extremist groups use violence on their behalf. Animal rights activists often claim that the use of any animals in research is unnecessary, implying that the researchers who perform such studies are therefore doing it because they must enjoy causing distress.

Other parts of the article are worth quoting at length:

Unfortunately, that argument breaks down under even the simplest scrutiny. As imperfect as animal models are when applied to human biology and disease, putative replacements such as computer simulations remain decades away. We can’t even accurately model the behavior of a single cell on the molecular level due to the thousands of different (but interrelated) biochemical pathways contained within. If a single cell is out of the question, you can imagine that being able to model organs or complete organisms is several magnitudes harder.

And finally:

Perhaps the problem is our complex relationship with animals. We use them for food, for clothing, as beasts of burden, but also as companions. The habit of anthropomorphizing projects human emotions onto creatures that in many cases are incapable of them; when your dog cranes its head to one side, is it really considering your question thoughtfully, or is it just being a dog?

It’s hard to fathom how passionately misguided you must feel about an issue to resort to inflicting such extreme violence, and in such respects I find little difference between the mentality and goals of religious extremists and animal-rights extremists.

Pressing Enter Doesn’t Submit Form in ASP .NET

I encountered a strange bug today while working on a login page in .NET. This page differed from your run-of-the-mill login page by having the user select their username and then enter their password, so only had one text field on the page.

The bug meant that when the user pressed enter after typing in their password to submit the form, although the form was submitted, the SubmitButton_Click event that is set to trigger with the submit wasn’t evoked. Clicking the button itself worked, but trying to press enter anywhere on the form (except with the submit button selected) didn’t.

Even wrapping the content around a Panel and setting the DefaultButton property on that to the submit button didn’t work. It turns out that Internet Explorer won’t evoke the SubmitButton_Click event when there is only one textbox on the form, even if it’s explicitly set as the default button.

The solution is to create an empty textbox and set it to be invisible through CSS:

<asp:TextBox ID="TextBox1" runat="server" Style="display:none;">
</asp:TextBox>

Note that you can’t set its Visible property to false as that won’t render the textbox at all and you’ll still have the same problem.

Obviously, this is not the ideal solution to the problem, and hopefully this bug will be fixed in Internet Explorer 8. However for now, until I find a better fix, this is the only solution that works around this bug.

It’s a Core Location Blacklist

John Gruber’s take on Apple’s widely reported ability to remotely disable iPhone applications:

Apple has no reason to hide such a configuration in a sneaky place. If it’s “tucked away in a configuration file deep inside” the Core Location framework, doesn’t it seem more likely that this list has something to do with, say, Core Location?

Distorted for Readability

Distored signs in a multi-story car park that you can only read when in the exact right spot.

Olsen’s Involvement in Ledgers Death

There’s something fishy with Mary-Kate Olsen’s involvement in Heath Ledgers suicide. The BBC reports that Olsen is seeking immunity from prosecution before she speaks with investigators about his death, when “other potential witnesses all have answered questions voluntarily, including doctors, Ledger’s ex-girlfriend Michelle Williams, and anyone who was in his apartment around the time of his death.”

Even more suspiciously:

Police say the masseuse who discovered Ledger’s body spent nine minutes making three calls to Olsen before dialling 911 for help, then rang the actress a fourth time after paramedics arrived.

At some point during the calls, Olsen, who was in California at the time, summoned her personal security guards to the apartment to help.

NetShare Added Then Removed

Nullriver released their NetShare application onto the iTunes App Store last night, only to have it removed only a few hours later.

It’s surprising that this app was approved in the first place, since AT&T typically charge an extra $30 per month to allow tethering use in the US. Upon investigating the terms set out by other telecos, O2 UK say:

You may not use your SIM Card in any other device, or use your SIM Card or iPhone to allow the continuous streaming of any audio / video content, enable Voice over Internet (Voip), P2P or file sharing or use them in such a way that adversely impacts the service to other customers of O2 or The Cloud.

Which seems to restrict the use of streaming audio and video content, something which the built-in YouTube app allows you to do, along with Last.fm radio streaming app. However what it doesn’t explicitly forbid is the use of a tethering application to allow you to access the internet through another device, as long as the SIM card is still in your iPhone, so with O2 UK there is nothing to stop you using NetShare.

If, like me, have your iPhone unlocked and on another network such as T-Mobile UK, they may have even less restrictions. From T-Mobile’s web’n'walk fair use policy:

This plan comes with a fair use policy of 1GB a month. We’ll monitor how much you send and receive each calendar month so that we can protect our network for all our web’n'walk customers. If you use more than your fair use policy amount, we won’t charge you any more, but we may restrict how you can use your plan, depending on how often you go over your amount and by how much.

Which seems to allow everything, as long as you keep within the 1GB fair use policy. As Apple has exclusive contracts with one teleco for each country the iPhone is being sold, it is possible for them to restrict NetShare to only countries that allow tethering apps. The chance of the app appearing back on the App Store is small though, which begs the question, why was it approved in the first place?

What Do Small Open Source Projects Do With Money?

Not much.

What would your favorite small open source project do with a sudden influx of money? Imagine you donated $5000 to a project, where would the money go? Less scrupulous developers might spend the money on Mountain Dew and Twinkies, but more likely the money would just sit, doing nothing.

Lightroom 2

Lightroom 2.0 is now out of beta with a massive list of new features. It costs $299 in the US, and $99 for 1.0 users to upgrade.

The highlights for me is the new Profile Editor which allows you to create your own custom profiles for the rendering of RAW files, letting you choose how you want them to look. Hopefully this means I can create a profile that renders my Fuji S5 Pro’s raw files like the straigh out of camera JPEGs.

Another long standing bug is that the vignette effect filter only applied to the corners of the whole image, irregardless of whether you cropped the photograph or not. Now you can choose whether to apply it to the whole photograph or just the cropped area.

WordPress Client for iPhone

WordPress for iPhone allows you to post to and edit your WordPress blog from your iPhone. But without any form of copy & paste, it makes writing even the most trivial post insanely difficult.

I would also like to be able to view and edit the most recent comments too.

PwnageTool Unlocks iPhone 2.0

If you’ve been using an original, unlocked iPhone with a SIM from an “unofficial” provider, then you haven’t been able to upgrade to the new 2.0 firmware because, well, it would lock your phone. You’ve had to sit by twiddling with the old 1.1.4 firmware while been reading reviews of the fantastic new applications and all the new things you can do with them.

The new firmware has been out for over a week now without a released unlock tool, although videos of a proof of concept unlock have been floating around the internet.

This week, the iphone-dev team finally released their long anticipated PwnageTool that’s capable of unlocking the original iPhone with 2.0 firmware. Infact it’s quite clever in that it takes the official firmware, and transforms it into a jailbroken and unlocked version that you restore with iTunes!

The process is pretty straightforward, but still not without pitfalls which could be hard to dig yourself out, so I’ve made some notes of problems I’ve had during the unlock, so you don’t have to:

  • You’ll need three other files along with PwnageTool to unlock your phone, the two bootloaders and the original firmware. PwnageTool should be able to find those automatically after you download them.
  • If Safari extracts the original firmware to a folder, drag the iPhone1,1_2.0_5A347_Restore.ipsw.zip file from the trash to your desktop and remove the .zip from the end of the filename.
  • PwnageTool might fail when it tries to enter DFU mode (also known as recovery mode). Don’t worry, manually put your phone in recovery mode by having the iPhone plugged into your computer, holding the home and power button for seven seconds, and then releasing the power button (but still holding the home button) and wait for iTunes to report that your iPhone is in recovery mode.
  • I would use Expert mode to stop PwnageTool from replacing the Apple boot logo with their stupid pineapple.
  • To restore your cracked firmware, hold alt/option when clicking the Restore button (shift in Windows) and then you can browse to the file you want.

PwnageTool is for Mac users only, but if you look hard enough), you can find a pre-cracked firmware that you can just restore with iTunes on Windows.