| | I'd been doing other non iPhone programming and it's worrying how quick I can forget simple things but after a couple of hours it came back. However there's all the new IOS 4 stuff to learn. it just never ends! In 15 months time I will have been working almost continuously programming for 30 years. I started on Apple hardware (Programming an Apple II in Basic) and here I am still on Apple! Have a great week! | | Become a "Whys" Guy I like to know why something fails. Successful code is boring because it just works but if it goes wrong then knowing why it went wrong is very instructive. Some of the most interesting problems have been from peering beneath the hood and finding out what went wrong. Think of it as less of a failure and more of an opportunity to learn. My favorite was a website that I worked on back in the Dot Com boom/bust of 2000. We had a COM component called in the web pages that talked to SQL Server 6. When the site traffic caused the CPU to hit a modest 5% then the component and the website crashed. It turned out that it was an older compiler to blame. I had a hunch and spent 30 minutes changing it to work with the next version of the compiler and that fixed the problem. The earlier compiler had incorrectly generated code that interacted with COM and this was fixed in the next version. One approach to solving problems is "the little kid" approach. Keep asking why, at least 5 times. Apparently Toyota do this to improve quality. Why did the website crash? Because the component crashed. Why did the component crash? Because the compiler generated bad code. Why didn't we use a different compiler? No one knew how to change the code. Why did no one know? Because it was a new compiler and no one was familiar with it. Why... | A Unique Way to Make Money Unless someone derives a way of factorizing large numbers quickly, this should be cryptographically secure. BitCoin is a virtual digital currency. There's no central server to break into, it's all networked and uses cryptography to stop people duplicating money or spending it 2, 3 or more times. The idea is that people generate their own BitCoins using the open source software to do a lot of processing. However there will never be more than 21 million BitCoins in existence. If this sounds limiting, think of them as large virtual chunks of gold and each can be split into 100 million parts (each BitCoin fraction can go to 8 decimal places). Anyway I doubt if there are 21 million real gold bullion bars in existence. According to their website there are 16 companies accepting BitCoin including a MMO (game) and a casino. I'm not an economist so I don't know if this is viable but I do know that if there is a way to game the system and make money out of it there will be some very smart brains trying to do that. For instance doing arbitrage between FX rates, or using the power of super computers to generate a lot of BitCoins. The main thing that bothers me is that anyone with a computer can create BitCoins. It's not like everyone with a printer can print money! If you download the Linux Tar File from Sourceforge, it contains version 0.3 of the Coin generating software which is written in C++. Disclaimer I have no connection financial or otherwise with BitCoin and suggest you exercise caution in doing anything that could cost you money. | Back on the iPhone I'm working on an App and during a moment of downtime took a look at iPhone open source projects in three online repositories. Note that while searching may produce hundreds of results, it's often a lot less, typically under 1/3rd of the results. - Sourceforge.net - 313 results but only 85 in Objective-C
- Codeplex.com - 79 results but I think under 30
- Code.Google.com - 1890 with label iPhone.
Realistically there is perhaps 500-750 across all three sites in varying states of activity. But if you're looking for source code examples, it's not a bad place to start. Not all open source is found in repositories; for instance the Sparrow Framework looks quite promising and is an open source OpenGL framework by an Austrian developers Incognitek. Sparrow is a library that lets you develop OpenGL iPhone / iPad applications without needing to use the OpenGL framework itself and is written completely in Objective-C. | Code Library for C, Objective-C, C++ and C# This is the code library with all examples, free downloads for this topic. | | | | C / C++ / C# Ads | | | | Featured Articles | | | | | More from About.com | | | | | | Plan a Unique Vegas Wedding The minister, music and champagne are just the beginning -- why not get married aboard a helicopter or have a pirate swing in to deliver your rings? Arrrr! More>
| | | | Join About.com's User Panel! Share your opinions and help us make About.com more relevant, informative and enjoyable to use. More>
| | | | | Sign up for more free newsletters on your favorite topics | | | | You are receiving this newsletter because you subscribed to the About C / C++ / C# newsletter. If you wish to change your email address or unsubscribe, please click here. About respects your privacy: Our Privacy Policy Contact Information: 249 West 17th Street New York, NY, 10011 © 2010 About.com | | | | | Must Reads | | Advertisement | |