Showing posts with label Computer. Show all posts
Showing posts with label Computer. Show all posts
Saturday, May 26, 2012
Why is there no secure HTTPS download for Adobe Flash?
I mean, come on! MITM?! You got Flash on the majority of computers today, and no HTTPS for updates? SRSLY?
Monday, February 13, 2012
CR2032
If your friends and family ask you from time to time for service for their computers (or you have older PCs running yourself), then you should stock up on some CR2032 batteries. Next time you see a "BIOS checksum error" or some such, chances are the battery on the MF motherboard is dead you just need to replace it to get the computer running again. And you may need to reset the BIOS settings though and see if the default values are OK. And set date and time.
Saturday, October 29, 2011
Proving the Utility of Assertions in Software Development
Sven, this is for you:
Come think to think of it, assertions are the poor men's Test Driven Development, kind of inline tests.
The team observed a definite negative correlation: more assertions and code verifications means fewer bugs. Looking behind the straight statistical evidence, they also found a contextual variable: experience. Software engineers who were able to make productive use of assertions in their code base tended to be well-trained and experienced, a factor that contributed to the end results. These factors built an empirical body of knowledge that proved the utility of assertions.At one company I worked, assertions were discouraged by the head of software development, he considered them "bad style" – he now works for Adobe… And yeah, working for him sucked, big time. BTW, I was interviewing for Adobe when he went there (unbeknown to me) AND AM I A GLAD THEY DIDN'T HIRE ME.
Come think to think of it, assertions are the poor men's Test Driven Development, kind of inline tests.
Tuesday, October 25, 2011
On John McCarthy
But McCarthy's legacy also has a little-noted dark side which also influenced my career, but in a much less positive way. McCarthy was not only one of the pioneers of the study of AI, but also an avid proponent of a particular school of thought about how human intelligence works. McCarthy believed that human intelligence could be modeled as a formal logic. That hypothesis turns out to be (almost certainly) wrong, and the evidence that it is wrong was overwhelming even in McCarthy's heyday. And yet McCarthy steadfastly refused to abandon this hypothesis. Well into his nominal retirement, and quite possibly to his dying day, he was still working on trying to formulate formal logics to model human thought processes.
The way human mental processes actually work, it turns out, is (again, almost certainly) according to statistical processes, not formal logics. The reason I keep hedging with "almost certainly" is that the jury is still out. We have not yet cracked the AI puzzle, but vastly more progress has been made in recent years using statistical approaches that has ever been made using logic. Very few (if indeed any) logic-based systems have ever been successfully deployed on non-toy problems. Statistics-based applications are being deployed on a regular basis nowadays, with Siri being the most recent example.
It took decades to make this switch, arguably due in no small measure to McCarthy's influence. One of the many consequences of this delay was the infamous AI-winter, which lead more or less directly to the commercial demise of Lisp. That the same person was responsible both for the invention of such a powerful idea and for its demise has to be one of the greatest ironies in human intellectual history.
Subscribe to:
Posts (Atom)