Ken's Meme Deflector

Peddling the same prosaic resources you can get from a simple Google search

Monday, January 30, 2006

10 Tough Decisions: #1 CDT vs. DIY

Support for C and C++ is officially supported in Eclipse by the C/C++ Development Tools (CDT) project. It offers a plethora of features for the language, including a C/C++ editor, a debugging environment, content assist, makefile generator, and parser. If you are building an Eclipse-based IDE for an embedded processor, is it the right choice? Or are you better off starting from scratch with the base platform? That's the question that I'll be examining in this post.

With all the features that the CDT offers, already designed, implemented and tested, you might wonder why anybody would choose not to base an IDE for their embedded processor on it. It's a no-brainer, right? Especially when you consider how much effort you'd have to spend to replicate even the most basic features it provides out of the box.

This is a deceptively tough decision, though, and a lot of it depends on what you want out of the IDE.

Do you want your IDE to be different?

The CDT offers a full-featured standard platform on which to build a C/C++ development environment. The key idea here is standard. When you choose to use the CDT, you are accepting all of the design choices that went into it, and limiting the range of possibilities for customization.

To be sure, there are ways that you can customize a CDT-based C/C++ environment. But the possibilities are much narrower when you base your environment on the CDT rather than the base platform.

When do you need it?

While choosing the CDT reduces the range of design choices, it also reduces the length of the todo list.

If you need to get a C/C++ development environment out the door quickly, the CDT can get you there. Most of the hard work has already been done by the CDT developers.

The time-to-market benefit is especially noticable if the processor you are targeting is already supported by the GNU tools, in which case there is very little work to do. I've heard of IDEs built in a couple weeks this this way.

Market Fit

The CDT is a huge piece of software. It solves problems that I never even knew existed. Out-of-the box, it sports its own disassembly view, code completion, and an extensive build system, among other things. However, in the course of building all these features, the CDT developers committed to a host of decisions about how it would work.

These decisions, though, might not coincide with what your end user expects or wants. It could be as superficial as their being more familiar with the look and behaviour of another development environment or as fundamental as the CDT not supporting some essential debugging feature.

At AMI Semiconductor, our digital signal processors are so resource-constrained that it only makes sense to program them in assembly (we don't even offer a C compiler). A highly-tuned assembly programming environment, then, was essential for our customers, and something we found lacking in the CDT when we first considered it.

Opportunity Costs

The do-it-yourself option is an expensive one. And in more ways than one. When you choose against the CDT, you end up devoting considerable resources to recreating features that already exist in the CDT, and in many cases falling short of their mark. What's more, all that effort spend on re-inventing the wheel could have been spent tayloring the CDT to your processor.

10 Tough Decisions You Must Make When Developing An Eclipse-based IDE

If you are planning to build an Eclipse-based IDE for an embedded processor, you have some important decisions to make; decisions that will set the stage for all of your future development.

In this series of posts I'll discuss 10 of these decisions. I'll identify some of the factors you should consider in making them, and tell you how we, at AMI Semiconductor, decided for our IDE.

These are the decisions I'll address:
  1. CDT vs. DIY
  2. GNU tools vs. DIY
  3. ant vs. make
  4. stable vs. latest
  5. coordinated vs. independent release schedules
  6. branch and fix vs. wait for Eclipse developers
  7. replace views vs. live with it
  8. stand-alone product vs. set of plug-ins
  9. open source vs. proprietary
  10. join Eclipse Foundation vs. work independently


[Disclosure: Mark Melvin and I are slated to give a talk at EclipseCon on this topic in March. Any comments or feedback you can send our way before the February 17th content deadline would be greatly appreciated.]


Thursday, January 26, 2006

Why the republicans want a huge national debt

Dave Pollard explains why republicans want a huge national debt:
So now you know why Bush is not only unworried but actually pleased with skyrocketing deficits. They give him the excuse to cut government services and programs (if you read the harsh rhetoric of his annual budget he makes no bones about the fact he sees only defense and 'homeland security' expenses as essential), and to sell off 'priceless' parks, national forests and other public lands inexpensively to Republican campaign donors.
Technorati tags: , , , ,

How to Build a High-Traffic Web Site

Steve Pavlina has some tips for building a high-traffic website:
My traffic-building strategy isn’t based on tricks or techniques that will go out of style. It’s mainly about providing genuine value and letting word of mouth do the rest. Sadly, this makes me something of a contrarian today, since I happen to disagree with much of what I’ve seen written about traffic-building elsewhere. I do virtually no marketing for this site at all. My visitors do it for me, not because I trick them into doing it but simply because they want to.

Here are 10 of my best suggestions for building a high traffic web site...
Technorati tags: , , , ,

Lessons in Hindsight

Guy Kawasaki shares some of the lessons he's learned in hindsight. One in particular caught my attention:
4. People act like their last names sound. People may start to look like their dogs, but I think that they act like their last names sound. For example, I have a buddy named Will Mayall. He helps me with anything technical; for example, when I ask him if he can make my web site or blog do something, his initial response is, “I may be able to” and then two hours later he's done it “all.” Hence, “may all.” Similarly, there's Jean-Louis Gassée. He's a funny guy--always armed with a great (usually sexual) metaphor to explain anything. He is a “gas” for the things that he “says”--hence, “gas say”. Then there's Kawasaki--my high school football teammates told me that I was a “cow's ass sagging.”
As you might guess, this didn't find this observation encouraging.

And for those of you who might be wondering, I pronounce my last name so that it rhymes with sick, not psyche. Not that either pronunciation is all that flattering.
Technorati tags: , , ,

Tuesday, January 24, 2006

Analog Hole bill

Cory Doctorow writes of a proposed bill that would regulate analog-to-digital converters:
The entertainment industry, always a bastion of media savvy, has proposed its "A-Hole" bill as a legal means of limiting the conversion of analog music and video to digital files. Under the bill, every maker of a device that can convert analog signals to digital ones (like iPods, camcorders, and PCs) would be required by law to be built with a detector for a proprietary watermarking technology called VEIL (the use of free/open source in these technologies would be outlawed to prevent the removal of VEIL detectors).
I wonder if the law would apply to digital hearing aids. Besides lowering the capabilities of hearing aids — today's hearing aid processors are already squeezed to the last cycle in an effort to provide better audio so any additional processing to detect watermarks will come at the direct expense of reduced audio quality — such a law would also have the consequence of prohibiting the hard-of-hearing from listening to recorded music.

It's surprising that such a bill would even be considered as it is relatively simple for anybody to build an analog-to-digital converter from components that can be found Radio Shack. Schematics can be found in most introductory electronics texts. Anybody intent on ripping audio from CDs could set themselves up with a few days of hacking.

I also wonder what effect such a law would have on the makers of anti-lock braking systems, which also use analog-to-digital converters; not to mention medical equipment, industrial controllers, and avionics.

Technorati tags: , , , ,

Why oil prices are jumping again

In the spirit of The Long Emergency, one of the most frightening books I've ever read, Dave Pollard explains why oil prices are jumping again.

Technorati tags: , , , ,

Monday, January 23, 2006

How to Kick Butt On a Panel

Guy offers some advice on how to kick butt on a panel:
Today I moderated a very good panel at a conference, and while this experience is fresh in my mind, I want to explain how to kick butt on a panel. At any given conference, there are about three keynote speakers and twenty five panelists, so the odds are much higher that you'll be a panelist than a keynote speaker. Thus, I hope this entry appeals to a broader audience.
Note to self: Reread this before EclipseCon.
Technorati tags: ,

Monday, January 16, 2006

Larry releases Bleezer blogging software

Larry Borsato announced today that Bleezer is shipping:
If you are a blogger, Bleezer will give you the ability to post to all of your blogs, regardless of what service you use, on any platform you want. The Bleezer website also has a blog so that you can keep up with new features and versions.
Larry has been cranking away on Bleezer over the past couple months. When Larry first told me about Bleezer in late November, I really wasn't expecting very much. He'd been working on it for only a few weeks at that point, and it showed. I couldn't even post an article to my blog with the first version I offered to beta test. But as we came through December, Larry got on a roll, fixing bugs and adding features faster than I could keep up. Before I knew it he'd tranformed Bleezer into a surprisingly capable blogging client.

Don't get me wrong, Bleezer is still fairly bare-bones, but Larry has some big ideas for it, and at the rate he's been going at it lately, I'm guessing they aren't that far off.

If you like to give it a spin, you can download it for yourself from the Bleezer website.

Congratulations, Larry, on getting it out. And thanks for fun tool.

Technorati tags: , , ,

Thursday, January 12, 2006

The Next Pandemic Blog

The CBC has written a pseudoblog to accompany a docudrama that aired last night. They call it the next pandemic blog:
The Next Pandemic Blog is a fictional portrayal of a hypothetical pandemic of H5N1 avian influenza – from initial outbreak through mass transmission to global spread.
Although a blog in only the loosest sense of the word — the content is static and pre-written out into June 2006 by a fictitious character — it's an interesting read.

Obviously this shouldn't be confused with some of the CBC's more serious ventures into the blogosphere.
Technorati tags: , , , , ,

Tuesday, January 10, 2006

Blognip

Paul Kedrosky calls it catnip for bloggers. Introducing egoSurf.

My current standings:
  • google.com: 8386
  • yahoo.com: 7987
  • msn.com: 4354
  • del.icio.us: 0
  • technorati.com: 7806
Fun stuff.

Technorati tags: , , ,

Conservative Cabinet of Rick Mercer's Dreams

Rick Mercer has put together a rather humourous fantasy cabinet for the Conservative Party:
I have it on very good authority however that Stephen Harper is spending a lot of time playing the game these days. Word is the back room on the Harper bus resembles the woodshed from A Beautiful Mind; the walls are littered with the names of potential conservative cabinet ministers. Luckily my secret mole in the Tory Campaign (Tom Flannagan) has been taking photos of the notes with his hand held palm device and forwarding me the information on a daily basis. This is what the Tory Cabinet looks like so far.
Technorati tags: , ,

What’s Your Autism Quotient?

Out of curiosity, I took the autism spectrum quotient test that Steve Pavlina mentioned in today's post. The result of the test is a score that indicates your level of autism:
  • 0-10: low
  • 11-22: average (most women score about 15, and most men score around 17)
  • 22-31: above average
  • 32-50: very high (most people with Asperger Syndrome or high functioning autism score about 35
  • 50: maximum
I managed to score a 29, just three points away from the 'very high' category. Now I've always known that I'm an introvert, but that result came as a bit of a shock.

I guess I'd better find a Toastmasters' club. And fast.

Monday, January 09, 2006

Drug buyers driving gun crime

CBC News:
Anyone who buys illegal drugs is contributing to the gun violence that is plaguing Toronto, the city's police chief says.
Later in the story, police chief Bill Blair is quoted as saying,
"I think everybody who uses illegal drugs and gives money into these things bears some responsibility for the violence that's taking place."
I guess it's safer for him to blame drug users than to blame the politicians who have created the black market with their outright ban on drugs.

The story goes on to say
As a result, Blair says part the police strategy to curb gun violence will be measures to cut off the demand for illegal drugs.
Cut off demand? Good luck with that.

Technorati tags: , , , ,

Mulroney's Revenge: The Breakup of Canada

The leaders of the major political parties in Canada are having a televised debate tonight.

Dave Pollard gives us some food for thought by arguing that a vote for the Conservatives is a vote for disintegration of Canada:
So why am I talking about the breakup of the country? When Mulroney was Conservative leader, his Québec wing was substantially separatist. Separatists saw the Conservatives as their allies. Western alienation is not all that different from Québec nationalism, except that until Harper came along it was less virulent. Now, 14 years after they last governed, the Conservatives and the Bloq separatists are again poised to take power. As I mentioned, the Bloq is strongly left-of-centre, while the Harper Conservatives are strongly right-of-centre. The only thing they have in common is the same desire to shift power from the federal government to the regional (provincial) governments that Mulroney tried to impose on Canadians with the Charlottetown Accord. The only difference is that this time there will be no referendum -- the Conservatives and Bloq will try to use their 44% 'majority' to do the only thing they can agree on, the very thing that Pierre Trudeau warned against: weaken the federal government to the point of gradual disintegration, leading to the eventual, substantive breakup of the country. Once federal powers have been given away to the provinces they can never be taken back.

Friday, January 06, 2006

It's official ... Google acquires Waterloo's Reqwireless

Gary Will confirms the rumour. Google acquired Reqwireless:
It's true ... Google is in Waterloo. It acquired Waterloo's Reqwireless last summer. Confirmation was made today by Google following months of speculation — both about Google coming to Waterloo and about who acquired Reqwireless.
Technorati tags: , ,