Teach Yourself Programming in Ten Years
Why is everyone in such a rush?
Walk into any bookstore, and you'll see how to Teach Yourself Java in 7 Days alongside endless variations offering to teach Visual Basic, Windows, the Internet, and so on in a few days or hours. I did the following power search at Amazon.com:
pubdate: after 1992 and title: days and
(title: learn or title: teach yourself)
and got back 248 hits. The first 78 were computer books (number 79 was Learn Bengali in 30 days). I replaced "days" with "hours" and got remarkably similar results: 253 more books, with 77 computer books followed by Teach Yourself Grammar and Style in 24 Hours at number 78. Out of the top 200 total, 96% were computer books.
The conclusion is that either people are in a big rush to learn about computers, or that computers are somehow fabulously easier to learn than anything else. There are no books on how to learn Beethoven, or Quantum Physics, or even Dog Grooming in a few days. Felleisen et al. give a nod to this trend in their book How to Design Programs, when they say "Bad programming is easy. Idiots can learn it in 21 days, even if they are dummies.
Let's analyze what a title like Learn C++ in Three Days could mean:
Learn: In 3 days you won't have time to write several significant programs, and learn from your successes and failures with them. You won't have time to work with an experienced programmer and understand what it is like to live in a C++ environment. In short, you won't have time to learn much. So the book can only be talking about a superficial familiarity, not a deep understanding. As Alexander Pope said, a little learning is a dangerous thing.
C++: In 3 days you might be able to learn some of the syntax of C++ (if you already know another language), but you couldn't learn much about how to use the language. In short, if you were, say, a Basic programmer, you could learn to write programs in the style of Basic using C++ syntax, but you couldn't learn what C++ is actually good (and bad) for. So what's the point? Alan Perlis once said: "A language that doesn't affect the way you think about programming, is not worth knowing". One possible point is that you have to learn a tiny bit of C++ (or more likely, something like JavaScript or Flash's Flex) because you need to interface with an existing tool to accomplish a specific task. But then you're not learning how to program; you're learning to accomplish that task.
in Three Days: Unfortunately, this is not enough, as the next section shows.
Teach Yourself Programming in Ten Years
Researchers (Bloom (1985), Bryan & Harter (1899), Hayes (1989), Simmon & Chase (1973)) have shown it takes about ten years to develop expertise in any of a wide variety of areas, including chess playing, music composition, telegraph operation, painting, piano playing, swimming, tennis, and research in neuropsychology and topology. The key is deliberative practice: not just doing it again and again, but challenging yourself with a task that is just beyond your current ability, trying it, analyzing your performance while and after doing it, and correcting any mistakes. Then repeat. And repeat again. There appear to be no real shortcuts: even Mozart, who was a musical prodigy at age 4, took 13 more years before he began to produce world-class music. In another genre, the Beatles seemed to burst onto the scene with a string of #1 hits and an appearance on the Ed Sullivan show in 1964. But they had been playing small clubs in Liverpool and Hamburg since 1957, and while they had mass appeal early on, their first great critical success, Sgt. Peppers, was released in 1967. Malcolm Gladwell reports that a study of students at the Berlin Academy of Music compared the top, middle, and bottom third of the class and asked them how much they had practiced:
Everyone, from all three groups, started playing at roughly the same time - around the age of five. In those first few years, everyone practised roughly the same amount - about two or three hours a week. But around the age of eight real differences started to emerge. The students who would end up as the best in their class began to practise more than everyone else: six hours a week by age nine, eight by age 12, 16 a week by age 14, and up and up, until by the age of 20 they were practising well over 30 hours a week. By the age of 20, the elite performers had all totalled 10,000 hours of practice over the course of their lives. The merely good students had totalled, by contrast, 8,000 hours, and the future music teachers just over 4,000 hours.
So it may be that 10,000 hours, not 10 years, is the magic number. Samuel Johnson (1709-1784) thought it took longer: "Excellence in any department can be attained only by the labor of a lifetime; it is not to be purchased at a lesser price." And Chaucer (1340-1400) complained "the lyf so short, the craft so long to lerne." Hippocrates (c. 400BC) is known for the excerpt "ars longa, vita brevis", which is part of the longer quotation "Ars longa, vita brevis, occasio praeceps, experimentum periculosum, iudicium difficile", which in English renders as "Life is short, [the] craft long, opportunity fleeting, experiment treacherous, judgment difficult." Although in Latin, ars can mean either art or craft, in the original Greek the word "techne" can only mean "skill", not "art".
Here's my recipe for programming success:
Get interested in programming, and do some because it is fun. Make sure that it keeps being enough fun so that you will be willing to put in ten years.
Talk to other programmers; read other programs. This is more important than any book or training course.
Program. The best kind of learning is learning by doing. To put it more technically, "the maximal level of performance for individuals in a given domain is not attained automatically as a function of extended experience, but the level of performance can be increased even by highly experienced individuals as a result of deliberate efforts to improve." (p. 366) and "the most effective learning requires a well-defined task with an appropriate difficulty level for the particular individual, informative feedback, and opportunities for repetition and corrections of errors." (p. 20-21) The book Cognition in Practice: Mind, Mathematics, and Culture in Everyday Life is an interesting reference for this viewpoint.
If you want, put in four years at a college (or more at a graduate school). This will give you access to some jobs that require credentials, and it will give you a deeper understanding of the field, but if you don't enjoy school, you can (with some dedication) get similar experience on the job. In any case, book learning alone won't be enough. "Computer science education cannot make anybody an expert programmer any more than studying brushes and pigment can make somebody an expert painter" says Eric Raymond, author of The New Hacker's Dictionary. One of the best programmers I ever hired had only a High School degree; he's produced a lot of great software, has his own news group, and made enough in stock options to buy his own nightclub.
Work on projects with other programmers. Be the best programmer on some projects; be the worst on some others. When you're the best, you get to test your abilities to lead a project, and to inspire others with your vision. When you're the worst, you learn what the masters do, and you learn what they don't like to do (because they make you do it for them).
Work on projects after other programmers. Be involved in understanding a program written by someone else. See what it takes to understand and fix it when the original programmers are not around. Think about how to design your programs to make it easier for those who will maintain it after you.
Learn at least a half dozen programming languages. Include one language that supports class abstractions (like Java or C++), one that supports functional abstraction (like Lisp or ML), one that supports syntactic abstraction (like Lisp), one that supports declarative specifications (like Prolog or C++ templates), one that supports coroutines (like Icon or Scheme), and one that supports parallelism (like Sisal).
Remember that there is a "computer" in "computer science". Know how long it takes your computer to execute an instruction, fetch a word from memory (with and without a cache miss), read consecutive words from disk, and seek to a new location on disk. (Answers here.)
Get involved in a language standardization effort. It could be the ANSI C++ committee, or it could be deciding if your local coding style will have 2 or 4 space indentation levels. Either way, you learn about what other people like in a language, how deeply they feel so, and perhaps even a little about why they feel so.
Have the good sense to get off the language standardization effort as quickly as possible.
With all that in mind, its questionable how far you can get just by book learning. Before my first child was born, I read all the How To books, and still felt like a clueless novice. 30 Months later, when my second child was due, did I go back to the books for a refresher? No. Instead, I relied on my personal experience, which turned out to be far more useful and reassuring to me than the thousands of pages written by experts.
Fred Brooks, in his essay No Silver Bullet identified a three-part plan for finding great software designers:
Systematically identify top designers as early as possible.
Assign a career mentor to be responsible for the development of the prospect and carefully keep a career file.
Provide opportunities for growing designers to interact and stimulate each other.
This assumes that some people already have the qualities necessary for being a great designer; the job is to properly coax them along. Alan Perlis put it more succinctly: "Everyone can be taught to sculpt: Michelangelo would have had to be taught how not to. So it is with the great programmers".
So go ahead and buy that Java book; you'll probably get some use out of it. But you won't change your life, or your real overall expertise as a programmer in 24 hours, days, or even months.
I really enjoyed reading this article if you would like to visit the original post please go here :
http://norvig.com/21-days.html
Why HTML5 is a big threat to Adobe?
Adobe has been avoiding to publicly admit that Flash lite is useless in 99.9% of cases because Flash lite is so different from Flash for PC.
The marketing team of Adobe has been smartly using the statement "Over 800 million (mobile) devices shipped with Flash" over and over again, trying to convince us that Flash is already de facto standard, ignoring the fact that most of Flash contents on web-site today are written for Flash 8 or 9, and Flash lite on those mobile devices are not able to display those contents.
As far as I know, this is the first time Adobe publicly admitted that putting "full" Flash Player (Flash 10) on majority of smartphone is very important for Adobe to become the true de facto standard in the mobile industry.
As all of us already know, the biggest challenge for Adobe is iPhone. Even though nobody besides a small number of executives in Adobe and Apple know the real reason, Apple won't (or can't) put Flash on iPhone and will remain this way for a very long time (if not forever). Along with the fact that the most of web traffic from mobile devices are coming from iPhone, this is making virtually impossible for Adobe to dominate the smartphone market.
While iPhone itself is enough pain in the neck, here comes HTML5. It started with a small "hack" made by engineers in Apple who put tag into Safari browser for Apple Dashboard. It was very awkward extension - mixing the "immediate" mode into the "retained" mode, but made it possible to create flash-like web applications inside HTML pages. Later, Google chose WebKit as the rendering engine for Chromium. Both Firefox and Opera started supporting tag, and it became a part of proposed HTML5 standard.
The tag is just a small piece of HTML5. Many other features in HTML5, such as tag, CSS animation, SVG, and WebSocket are threats to Flash. Once HTML5-compatible browsers became the norm, the technical advantage of Flash player will disappear.
There is even a rumor that Apple is working on HTML5 authoring tool, which would directly compete with Adobe's Flash authoring tool. This makes sense. If I were inside Apple today, I would definitely propose such a product.
The biggest hurdle for HTML5 is Internet Explorer, which still has a very large market share. Microsoft just made an announcement that they will support HTML5, but I think it takes years for them to catch up. In addition, supporting HTML5 is a double-edged sword for Microsoft. While pretending to support HTML5, Microsoft may even (incorrectly) think there is a chance to make Silverlight more relevant than Flash while Adobe is busy fighting with HTML5.
If we just look at PC market, it probably takes at least three years for HTML5-compatible browsers to become the majority (unless something really drastic happens within a year). Adobe does not need to worry about this market too much.
On the other hand, the smartphone market is very different. Mobile Safari is already the #1 browser in the market because of iPhone and its traffic (iPhone users are much more active than Blackberry users). We also know that a flood of Android-based smartphone will hit the market in later this year and 2010 - most of them will have a Webkit-based browser. This fact - Webkit is becoming the de facto standard of smartphone browsers, will accelerate the adaption of HTML5 by web developers in mobile mobile - way faster than PC market.
Let's pretend you are a web developer. If your client ask you to create smartphone version of their web-site, which looks great on iPhone and also works other smartphones such as Blackberry, Palm Pre and Andoroid phones, which technology should you use? The answer is obvious - HTML. If your client ask you to make it animated, interactive or multi-media rich, you'd probably choose one of those new features in HTML5.
This is obviously a big threat to Adobe. Considering the fact that more and more people access web from their smartphones than from their PCs, this is a REALLY BIG threat.
source: http://satoshi.blogs.com/uie/2009/10/why-html5-is-a-big-threat-to-adobe.html
Opera 10.5 Released… Go get it :)

The fastest brwoser on earth for windows platform has been released & you can download it from here.
Just a reminder of what's new in this release:
1- New Look
2- HTML 5 + CSS 3 support
3- Private browsing
4- Superfast JavaScript engine
5- Smother graphic rendering
6- Privet browsing
7- Fully integrated with windows 7 superbar
Opera 10.5 Beta 2 for Windows is OUT

- www.itechmax.com
Yesterday, Opera team released Opera 10.5 beta 2
no major changes only bug fixes as far as i can see
if anyone interested in detailed change log it can be found here.
Opera 10.5 Beta 1 Faster than Chrome 4

Benchmark Results by Betanews
Opera team released a new version of my favorite browser opera (Opera 10.5 beta 1). I really love the new GUI it's simple and beautiful. Yes, there is some similarity between the look & feel of opera 10.5 and Google chrome but to me opera looks more elegant.
The benchmarks that i saw today says that Opera 10.5 beta 1 is the fastest browser it's even faster than chrome v5 dev version. here is a short list of what's new in Opera 10.5 beta 1
1- Redesigned interface (much better than opera 10.1)
2- HTML 5 + CSS 3 support
3- Private browsing
4- Much Much faster JavaScript engine
5- Smother graphic rendering
You can download it and try it from here ( http://www.opera.com/browser/next/) just rememeber it's a beta version so don't expect it to be bug free. Currently, Opera 10.5 beta 1 only available for windows platform.
Side Note: Sorry for the podcast delay i'm really really sorry but i'm busy with projects that I'm comittieted to deliver on time so it's taking all my time for now the minute I have a space to breath I promise you that I will release the first episode of whatiknow podcast
. Thank you for your understanding.
The thrilling potential of SixthSense technology
This an amazing video that I would love to share with you
I hope you enjoy watching it as I did
Soon: Whatiknow.net Podcast

Ok I’m planning with my friend Gavin to release a podcast on weekly bases or monthly bases still not decided yet but the idea will see the light very soon I promise. The podcast in general will be about technology but some episodes will be more about risk management & information security.
Of course during the podcast we will have some amazing knowledgeable guests
so stay tuned.
The Burden of planning
Hi and سلام to All
Or rather, why there should be a Planning Phase in the project plan?
From all the staff at whatiknow.net a great Eid Muburak to all our Islamic readers and greetings to all others.
I have been asked to blog about the requirement for planning in IT, that is; what is planning? what does it do? and why should I do it? The reason for this topic is extremely funny (to me that is) but not to my fearless project manager friend who eats, breathes and sleeps according to PMBOK. Yes, I would like to call him 'grasshopper'. His story goes along the line of (from the horse's mouth so to say);
I am engaged at a client who wanted some documentation done, simple stuff. Operational processes and procedures, you know what I mean? How difficult is it to run a project for and to deliver documentation?
At this stage, I nearly drowned on the sip of tea I had taken. Ha, a project that has the deliverable 'documentation' hidden somewhere in it's Charter and Scope is more of a nightmare than say meeting your bank manager in the unemployment queue. So, how is documentation related to planning? Well, put it this way, remember the carpenter/dress making saying; 'Measure twice, cut once'?
Planning allows you to do this. Measure what is expected and plan the delivery.
Now, the client has a Quality Management System (QMS) in place (ISO 9002) which stipulates certain requirements for documentation, how it is created, stored, distributed and communicated. Yes, the company actually has a 'template' for an operational process and procedure that was signed off by the QMS board. So? What's the problem? Nothing if you are the client, aches and pains if you are my friend!
My friend then went on to tell me that his company had been given the work to "Compile, Approve and Implement" the processess and procedures and you guessed it, the sales person did not even ask the subject matter expert for expected time frames. After all, you can write a process in say 3 days, 10 processess equals 30 days less 5 as you will not have to do all from scratch. So, total man-days is 25 (including discount). And the deliverables? Draft, Approve and Implement 10 business processes and procedures (process and procedure seen as 1 document).
Simple? Yes. Understandable? Yes. Doable? Yes!
The question is, will it meet the client's expectations? No. Why? The client's QMS requires all documents to be reviewed by relevant internal parties and to follow a change management process. One of the requirements of the change management process is the 'Reason to create and/or modify the document' and this is where the tremors started, went to 9.5 on the Richter Scale and ended up with a Tsunami with the different departments at the client getting along like a house on fire, No survivors!
Lets see, my friend has been there for 4 months now, he is running the project at a loss and his company can not withdraw due to contractual obligations. I estimate that they will be at the client for another 3 months.
So, what will planning have told us?
- That there was a QMS in place and what was required.
- The process to follow to create, modify or delete a document.
- Certain default document requirements as in, Who, What, Where, When, Why and How?
- Identified all relevant parties and departments.
- Confirmed the template.
- Confirmed the content.
- Confirmed the 'Implementation' process.
- Confirmed that the client did all processes and procedures following Business Process Management principles.
- Allowed my friend to motivate why 3 days per document was not sufficient and to request a 'Change of Scope'. That is, to manage the project by Scope Change
.
So, what would the planning phase have included?
- Meet with the client, Subject Matter Expert NOT Salesperson.
- Identify documents to be delivered with the client (their buy-in and agreement).
- Understand client's methodology and requirements (QMS and DMS).
- Agree on the content of the documents (what has to be in, their buy-in and agreement).
- Roles and Responsibilities (you can not have the QMS board meet to agree on a document).
- Get the client to understand why the project is bigger than what was specified.
- Identify key role players.
- Schedule the meetings in advance.
- Agree on the deliverable template (Word, Excel, Visio, Open Office etc).
- Know the dynamics of the client's site. Who sits higher in the tree and who may prevent you from getting paid.
Taking this into account, what do you charge the client? I believe that all work done at a client for the client is chargable, maybe at a lessor rate as no intellectual property should be required. Shjould it be free? No, as the client may see this as a business process management exercise and delay the start of the project resulting in a delay to your payment.
What are your thoughts, next up, planning for technology roleout.
DFI hybrid mobo runs 2 systems simultaneously!
These days, the word "hybrid" gets tossed around like a rag doll. We've got hybrid cars, hybrid SLI and hybrid image stabilization -- and that's just for starters. But friends, this hybrid is one worth paying attention to. DFI has been working overtime in order to concoct the next great mainboard, and if this thing can really deliver as advertised, we'd say the gurus responsible for it will succeed greatly. The Hybrid P45-ION-T2A2 motherboard can actually house a complete Atom / Ion-based system on one side, while handling a traditional Socket 775 CPU system on the other. In other words, this single motherboard can power -- let's say -- a low-power server system and your next gaming setup. At the same time! We're still waiting on a firm release date and price, but 'til then, hop on past the break for a swell demonstration vid.
Source: Engadget.com