DrDobbs Portal Blog 2008-05-09T17:09:25Z tag:,2008:/39 Movable Type Copyright (c) 2008, jerickso Computer Programming: An Art, Science, or Both? 2008-05-09T17:09:25Z 2008-05-09T15:02:43Z tag:,2008:/39.33521 2008-05-09T15:02:43Z If the question is "Is programming an art or science?", then the follow up question is "Are programmers artists or scientists?" Off the top of my head, I can think of lots of people who fit both bills--musicians like... jerickso https://i.cmpnet.com/ddj/images/headshots/JErickson.jpg jerickson@cmp.com Newsletter Ednote
If the question is "Is programming an art or science?", then the follow up question is "Are programmers artists or scientists?" Off the top of my head, I can think of lots of people who fit both bills--musicians like Al Stevens, Herb Schildt, and Charlie Cocchiaro, and artists like Erik Demaine all come to mind.

Rather than fret over the question, however, Carnegie Mellon University is embracing it by offering next fall a new Bachelor of Computer Science and Arts (BCSA) interdisciplinary "integrated double major" program that will let students explore the connections between computation and the arts. Students enrolled in the program will work toward degrees that combine coursework in the School of Computer Science with complementary studies in the College of Fine Arts--Art, Architecture, Design, Drama, and Music.

Eight Carnegie Mellon students are scheduled to transfer into the BCSA degree program this spring, with first-year students in the fall, including the likes of Alyssa Reuter who points out that "Computer science and art are already fused in fields like character animation, game design, electronic music, interactive graphics, and information visualization and robotics. Meanwhile, new tools like rapid prototyping, motion capture, and broadband Internet are spawning revolutions in architectural design, live performance and participatory culture. And computer science itself is increasingly oriented towards personal, expressive media."

Good. And maybe we can put the old "science or art" question to rest--it's both (or is it?)

-- Jonathan Erickson
jerickson@ddj.com

]]>
New Kind of Supercomputer Proposed 2008-05-08T18:06:31Z 2008-05-07T16:32:39Z tag:,2008:/39.33449 2008-05-07T16:32:39Z Researchers at the Lawrence Berkeley National Lab have proposed a new model for supercomputers. The proposed model would use low-power embedded microprocessors, an approach that would overcome limitations posed by today's conventional supercomputers. Supercomputers capable of tasks such as... jerickso https://i.cmpnet.com/ddj/images/headshots/JErickson.jpg jerickson@cmp.com Newsletter Ednote
Researchers at the Lawrence Berkeley National Lab have proposed a new model for supercomputers. The proposed model would use low-power embedded microprocessors, an approach that would overcome limitations posed by today's conventional supercomputers.

Supercomputers capable of tasks such as modeling clouds at the 1- kilometer scale are usually built by increasing the number of microprocessors at a cost of about $1 billion--plus they require about 200 megawatts of electricity to operate.

The approach proposed by Michael Wehner, Lenny Olike, and John Shalf in Towards Ultra-High Resolution models of Climate and Weather would use about 20 million embedded microprocessors at a cost of $75 million to build, require less than 4 megawatts of power, and operate at a peak performance of 200 petaflops.

To move this into reality, the Lab has signed an agreement with Tensilica to explore new design concepts for energy-efficient, high-performance scientific computer systems. The effort focuses on novel processor and systems architectures using large numbers of small processor cores, connected with optimized links, and tuned to the requirements of highly parallel applications such as climate modeling. Under the agreement, the research team will use Tensilica's Xtensa LX extensible processor cores as the basic building blocks in a massively parallel system design. Each processor will dissipate a few hundred milliwatts of power, yet deliver billions of floating-point operations per second and be programmable using conventional programming languages and tools.

-- Jonathan Erickson
jerickson@ddj.com

]]>
Checking In on Self-Checkout 2008-05-06T18:23:15Z 2008-05-06T17:43:23Z tag:,2008:/39.33422 2008-05-06T17:43:23Z Call me "anti-social" (my mother does), but interpersonal interaction is overrated--from both sides of the equation. And in today's world of self-service banks, grocery stores, gas stations, airline check-ins, and the like, I don't have to deal with sometimes-surly... jerickso https://i.cmpnet.com/ddj/images/headshots/JErickson.jpg jerickson@cmp.com Newsletter Ednote
Call me "anti-social" (my mother does), but interpersonal interaction is overrated--from both sides of the equation. And in today's world of self-service banks, grocery stores, gas stations, airline check-ins, and the like, I don't have to deal with sometimes-surly attendents and they don't have to deal with me.

I'm not alone in this love of self-checkout. According to an IHL Group 2007 market study, 98 percent of respondents had used self checkout, with almost 50 percent having used it more than five times in the previous years, and 72 percent having readily accepted it. Count me as part of the 72 percent. The study also reported that for 2008, consumers will spend more than $230.7 billion on self-checkout transactions at retail stores, up 28 percent over 2007.

And now IBM has cranked up self-checkout a notch or two with what the company claims is the first-of-a-kind self-checkout technology that lets you shop for and check out purchases practically anywhere in a store. In short, the IBM AnyPlace Checkout system extends the capability of when and where retailers can offer self-service transactions.

On the hardware side, the new system is implemented as a small footprint (15-inch) kiosk, making it attractive to retailers that have limited floor space. IBM has also updated its IBM Checkout Environment for Consumer-Service (CHEC) self-checkout software. The systems are cashless, supporting only credit or debit cards, thereby speeding transactions.

The system runs on AMD 1.8-GHz dual-core processors with 80- or 160-GB hard disk, 512 MB to 4 GB of RAM, and a VIA Chrome9 Integrated Graphics Processor. On the software side, the system can run on Linux, Windows XP Professional, Windows Embedded for Point of Service, and Vista Business. Supported drivers include Windows OPOS and JavaPOS 6.

-- Jonathan Erickson
jerickson@ddj.com

]]>
Oh No! Ono 2008-05-02T21:59:59Z 2008-05-02T21:36:55Z tag:,2008:/39.33347 2008-05-02T21:36:55Z How can you not like a program named after John Lennon's wife. No, not "Yoko" but "Ono." In truth, Ono wasn't named after Yoko, but instead from the Hawaiian word for "delicious." And what's delicious about Ono is the... jerickso https://i.cmpnet.com/ddj/images/headshots/JErickson.jpg jerickson@cmp.com Newsletter Ednote
How can you not like a program named after John Lennon's wife. No, not "Yoko" but "Ono." In truth, Ono wasn't named after Yoko, but instead from the Hawaiian word for "delicious." And what's delicious about Ono is the Internet bandwidth it saves.

The problem is this: Peer-to-peer (P2P) file-sharing services, which connect individual users for simultaneous uploads/downloads directly rather than through a central server, account for as much as 70 percent of Internet traffic worldwide. That level of use has led ISPs to forcefully reduce P2P traffic. And being able to communicate with computers that are in close proximity to each other can save bandwidth and lighten the load, so to speak.

"Finding nearby computers for transferring data may seem like a simple thing to do," says Choffnes, "but the problem is that the Internet doesn't have a Google Map. Every computer may have an address, but it doesn't tell you whether the machine is close to you."

Which is where Ono comes in. Ono is a plug-in for a design to improve download speeds for your BitTorrent client by efficiently identifying nearby P2P clients. The freely available software, which was developed by Northwestern University's Fabian Bustamante and Ph.D. student David Choffnes, helps ISPs reduce costly cross-network traffic without sacrificing performance. In fact, when ISPs configure their networks properly, Ono significantly improves transfer speeds--by as much as 207 percent on average.

Ono is different from other software applications that address the conflict between ISPs and P2P traffic because it requires no cooperation or trust between ISPs and P2P users. Ono, which is written in Java and runs on Windows and Linux, is open source and does not demand the deployment of additional infrastructure.

-- Jonathan Erickson
jerickson@ddj.com

]]>
Parallelism: It's Everywhere, It's Everywhere 2008-05-01T18:01:08Z 2008-04-30T20:35:35Z tag:,2008:/39.33273 2008-04-30T20:35:35Z Parallel computing is everywhere these days. You might even say that it's "pervasive." Hmmm...pervasive parallelism. Has a nice ring, eh? Well, apparently the folks at Stanford University thought enough of the alliteration that they used it to name the... jerickso https://i.cmpnet.com/ddj/images/headshots/JErickson.jpg jerickson@cmp.com Newsletter Ednote

Parallel computing is everywhere these days. You might even say that it's "pervasive." Hmmm...pervasive parallelism. Has a nice ring, eh? Well, apparently the folks at Stanford University thought enough of the alliteration that they used it to name the Pervasive Parallelism Lab (PPL).

The goal of the Lab, which is led by Professor Kunle A. Olukotun of the Stanford Electrical Engineering and Computer Science department, is two-fold: Make parallel programming accessible to the average programmer, and develop algorithms, environments, and runtime systems that scale to thousands of hardware threads. To bridge the gap between where parallelism is today and where PPL hopes it might be a few years from now, PPL team members are focusing on: Education (moving parallelism into a mainstream computer science curriculum), programming paradigms (domain-specific languages and high-level abstractions), architectures (hardware support for new paradigms), and applications (in business, games, embedded, and the like).

Joining Stanford in this venture are companies such as NVIDIA, AMD, Hewlett Packard, IBM, Intel, and Sun Microsystems. While the involvement of processor companies like Intel and AMD rings familiar, the role of companies such as NVIDIA is less so. But NVIDIA has gone a long way in solving computationally intensive problems with its GPUs and software, specifically the CUDA programming environment that gives developers access to the GPU's massively parallel architecture via a familiar C-language environment. (It's worth noting that Dr. Dobb's recently launched the article series "CUDA, Supercomputing for the Masses"; see Part I here and Part II here.)

So is all the buzz about parallelism the real deal or is it just more PR? Well, Bill Dally, chair of the computer science department at Stanford, thinks it's the real deal: "Parallel programming is perhaps the largest problem in computer science today and is the major obstacle to the continued scaling of computing performance that has fueled the computing industry, and several related industries, for the last 40 years." Sounds real to me, too.

-- Jonathan Erickson
jerickson@ddj.com

]]>
Mars Express, or AI to the Rescue 2008-04-29T22:33:56Z 2008-04-29T21:57:33Z tag:,2008:/39.33228 2008-04-29T21:57:33Z Mars Express has never received the kind of media attention as Mars Rover. Probably because a mobile robot like Mars Rover is a lot more exciting than something that hangs around collecting scientific data, which is Mars Express' job.... jerickso https://i.cmpnet.com/ddj/images/headshots/JErickson.jpg jerickson@cmp.com Newsletter Ednote
Mars Express has never received the kind of media attention as Mars Rover. Probably because a mobile robot like Mars Rover is a lot more exciting than something that hangs around collecting scientific data, which is Mars Express' job. But for several years now, Mars Express has been studying the atmosphere, surface, and subsurface of the planet Mars, divining for water and forms of life.

As you might expect, all this involves huge amounts of data that needs to be downloaded to Earth on a scheduled basis. And if not sent at the right time and in the right sequence, that data can be lost forever. To now, engineers managed a tedious, error-prone downloading process using software to generate command sequences sent to Mars Express, instructing it what to do with what and when. According to Alessandro Donati of the Advanced Mission Concepts and Technologies Office at the European Space Agency, part of the problem involves multiple, constantly changing variables--spacecraft orientation, ground-station availability, space-ground communication bandwidth, on-board storage availability, and the like. A scheduling and optimization nightmare, in other words.

Addressing scheduling and optimization problems such as these, researchers at Italy's Institute for Cognitive Science and Technology (ISTC-CNR) have developed an AI tool called MEXAR2 (short for "Mars Express AI Tool"). MEXAR2--which is written in Java and runs on Unix, Linux, Windows, and Mac OS X--works by considering the variables that affect data downloading, then intelligently projecting which on-board data packets might be later lost due to memory conflicts. The program then optimizes the download schedule and generates the commands needed to implement the download.

According to engineers who use it, MEXAR2 has reduced the mission planning team's workload by 50 percent. Moreover, the optimized bandwidth has freed up expensive ground station time for other missions, according to Michel Denis, Mars Express Spacecraft Operations Manager.

-- Jonathan Erickson
jerickson@ddj.com

]]>
Robo Champs, or Having Fun With Simulated Robots 2008-04-26T00:05:21Z 2008-04-25T23:51:11Z tag:,2008:/39.33161 2008-04-25T23:51:11Z Robots are like puppy dogs and other people's babies--how can you not like them? Of course, if the robot is something out of Robot Wars with chainsaw-like appendages--well, you might be just glad that it is someone else's baby.... jerickso https://i.cmpnet.com/ddj/images/headshots/JErickson.jpg jerickson@cmp.com Newsletter Ednote
Robots are like puppy dogs and other people's babies--how can you not like them? Of course, if the robot is something out of Robot Wars with chainsaw-like appendages--well, you might be just glad that it is someone else's baby.

But that kind of robot isn't what Microsoft has in mind with Robo Champs. No, Microsoft has a kinder, gentler robot in mind. One that rescues kittens from trees and saves lives when earthquakes occur. And how can you not like robots like that?

Robo Champs is a league in which you build simulated robots that operate in simulated environments and face a variety of challenges. The "league" part is that you compete with other simulated robots to earn points (chopping off appendages probably deducts points). The competitions range from navigating mazes or collecting data on Mars to driving cars in urban settings or rescuing those in danger when natural disasters occur.

All you need is the software--Microsoft Robotics Developer Studio 2008--which is freely available for non-commercial use. (Okay you'll also need stuff like Visual Studio 2008/Express, as well as other development tools.) Once you have the software set up, you pick an avatar and start coding.

"Simulation" is the key point here. One of the biggest barriers to robot development historically is (expensive) hardware, along with soldering irons, wirewraps, and gears. With Robo Champs, you don't have to deal with all that because you're "simulating" the robot. Then at the end of the formal competition phase, the top four point-getters in the league will be invited to PDC 2008 where they'll download their simulations into real robots and compete for real in championship rounds.

To get a feel for what's what, take a look at this short YouTube video or go to the official site. If you're into robots, you're in for some fun. And if you're not into robots--well, it's still fun.

-- Jonathan Erickson
jerickson@ddj.com

]]>
Dr. Dobb's Developer Diaries, or Your Smilin' Face 2008-04-24T18:38:08Z 2008-04-23T21:01:19Z tag:,2008:/39.33086 2008-04-23T21:01:19Z One of the more popular features in Dr. Dobb's is Developer Diaries where we present "profiles of programmers [and] descriptions of developers." Okay, so we ripped off the concept from the now-famous Dewar's Profiles. But wasn't it Mr. Dewar... jerickso https://i.cmpnet.com/ddj/images/headshots/JErickson.jpg jerickson@cmp.com Newsletter Ednote

One of the more popular features in Dr. Dobb's is Developer Diaries where we present "profiles of programmers [and] descriptions of developers." Okay, so we ripped off the concept from the now-famous Dewar's Profiles. But wasn't it Mr. Dewar himself who said something about imitation being the sincerest form of flattery?

In any event, what I'd like to do is share with you the opportunity to participate in the fun. Okay, it probably isn't much like seeing your "Smilin' face/On the cover of the Rolling Stone", but it is fun nonetheless.

So here's all you have to do:

  1. Briefly answer the following six questions:
    1. Where do you work?
    2. What's your job there?
    3. What do you like about your job?
    4. What do you find challenging about your job?
    5. What have you found that makes your job easier?
    6. What's your hobby?
  2. Get a digital photo of yourself.
  3. ZIP the answers to the questions and your photo into an archive.
  4. Email the ZIP archive to me at Developer Diaries (or directly to me at jerickson@ddj.com).

That's it. I'll try to ack receipt of each profile (thanks in advance, by the way) and will let you know if we have any questions. No, you don't have to drink Dewar's scotch, Czech beer, or Z's coffee to participate. Just be willing to have a little fun and see your picture (not) on the cover of Dr. Dobb's.

-- Jonathan Erickson
jerickson@ddj.com

]]>
Building the Digital Data Vault 2008-04-22T05:56:23Z 2008-04-21T23:27:59Z tag:,2008:/39.33022 2008-04-21T23:27:59Z Leave it to Michael Swaine to work the "Svalbard Global Seed Vault" into an article that's supposed to be about computer programming. And leave it to me to let him do it. That's what happens when an article comes... jerickso https://i.cmpnet.com/ddj/images/headshots/JErickson.jpg jerickson@cmp.com Newsletter Ednote

Leave it to Michael Swaine to work the "Svalbard Global Seed Vault" into an article that's supposed to be about computer programming. And leave it to me to let him do it. That's what happens when an article comes in late, and a distressed editor doesn't have time to demand relevance. But when you get down to it, I guess Michael's recent Gates and the Doomsday Seed Vault did have some relevance, thanks to a reference to a scruffy-looking penguin smoking a cigar.

In many ways, the problem Svalbard Global Seed Vault researchers are trying to solve ("to provide a safety net against accidental loss of diversity in traditional genebanks") is akin to the one researchers at the University of California-Santa Cruz have tackled. But at UCSC, scientists are trying to save digital data, rather than seeds.

"The problem is how to build a large-scale data storage system to last 50 to 100 years," explains Ethan Miller. Most large-scale data storage these days involves tape, but digital tape has problems. Which is why Miller, along with grad students Mark Storer and Kevin Greenan and researcher Kaladhar Voruganti, developed Pergamum, which uses hard disk drives to provide energy-efficient, cost-effective storage.

For reliability, Pergamum uses two levels of redundancy--within and between disks--to protect from both disk failures and latent sector errors when writing data to a disk. The system doesn't care what the actual storage medium is, as long as the device can implement a simple protocol that lets it function as part of the network. Each unit is essentially a self-contained box with a network connection. Flash memory provides low-power and persistent storage so that many operations can be performed without activating the hard drive.

While I'm sure Michael will have full technical details real soon now, I'd suggest seeing their paper instead of waiting.

-- Jonathan Erickson
jerickson@ddj.com

]]>
Flou'ing the Coop, Or Music Meets Science 2008-04-18T21:28:05Z 2008-04-18T20:10:47Z tag:,2008:/39.32974 2008-04-18T20:10:47Z In years past, I pushed a lot of piano teachers to the brink. Mrs. Hoettelting had her husband put up a heavy-metal gate that was conveniently locked when I was due for a lesson. Miss Cedarcraft joined a convent.... jerickso https://i.cmpnet.com/ddj/images/headshots/JErickson.jpg jerickson@cmp.com Newsletter Ednote

In years past, I pushed a lot of piano teachers to the brink. Mrs. Hoettelting had her husband put up a heavy-metal gate that was conveniently locked when I was due for a lesson. Miss Cedarcraft joined a convent. Considering all of the suffering I caused with a piano back then, its mind boggling as to the pain I could cause these days.

Just think, for instance, what I could do with Flou (pronounced "flew"). Developed by Jason Freeman, Mark Godfry, and Andrew Beck, Flou is--well, I'm not sure what it is, but it sounds very cool. The best I can tell it is a musical game that lets you use the sound to navigate through 3D worlds, zoom through objects in space, add loops, and apply effects to an evolving musical mix. You can also design worlds and share them with other Flou users. Freeman is an assistant professor at Georgia Tech's Music Technology Group, where he focuses on algorithmic composition, networked music systems, and audience-participative musical environments. Godfrey and Beck are grad students who work with Freeman.

The goal of the Music Technology Group is to push the boundaries of musical expression and creativity through technology, focusing on creating novel musical instruments and applications--stuff like new interfaces for musical expression, algorithmic composition, music information retrieval, audio visual communication, musical networks, digital signal processing, machine and robotic musicianship, and sonification. And they seem to be doing a bang-up job at all this.

In a more familiar world, Freeman created iTunes Signature Maker, which analyzes music collections and creates a short audio signature to represent who you are and what you listen to. Freeman also developed N.A.G., a "Network Auralization for Gnutella." Also referred to as "sonification" or "audification," auralization is the representation of data through sound. With N.A.G., you can type in one or more search keywords, and N.A.G. looks for matches on the Gnutella peer-to-peer file-sharing network. The software then downloads MP3 files that match keywords and remixes them in real time based on the structure of the Gnutella network.

But Freeman and crew aren't the only ones investigating auralization. It has been a research area for Andrea Polli for a number of years. Her Atmospherics/Weather Works project, for instance, is a distributed software project for the sonification of storms and other meteorological events, including Hurricane Bob. And it sounds really weird.

Music technology indeed. Will someone please pass Mrs. Hoettelting the aspirin?

-- Jonathan Erickson
jerickson@ddj.com

]]>
Beer, Coffee, and Multi-Core Processors 2008-04-17T17:26:45Z 2008-04-17T07:34:41Z tag:,2008:/39.32931 2008-04-17T07:34:41Z Putting aside beer, coffee, and multi-core (not necessarily in that order, of course), I did learn a few things this past week in and about the Czech Republic, as I'll shortly be trying to explain to the boss. In... jerickso https://i.cmpnet.com/ddj/images/headshots/JErickson.jpg jerickson@cmp.com Newsletter Ednote

Putting aside beer, coffee, and multi-core (not necessarily in that order, of course), I did learn a few things this past week in and about the Czech Republic, as I'll shortly be trying to explain to the boss. In all likelihood, she will want to talk about irrelevant issues, such as how a tour of the Strahov Monastic Brewery ended up on my expense report. What can I say? I was interested in brewery IT infrastructure, or at least that's my story and I'm sticking to it. I'm still working on answers to sure-to-come questions about the Svijansky Rytir Jireckova brewery tour, and what the heck does Joe's Garage Beer have to do with C++.

As quickly as possible, I need to get her focused on all of the software development shops in and about Prague. Shops like those of Microsoft, Skype, Deutsche Borse, Accenture, HP, CA, RedHat, Sun Microsystems, LogicaCMG, Infosys, and Monster Technologies. And that's just the short list of companies that have set up shop here. There are dozens if not hundreds of home-grown development centers, like Grisoft and Kerio. An umbrella organization that ties many of these development centers together is the Czech ICT Alliance, which works under auspices of CzechTrade, a government trade promotion organization.

From what I learned, there are about 129,000 people working in the Czech IT sector, although this figure probably doesn't include programmers and other IT workers in industries such as finance and the like. According to some studies, senior programmers in the Czech Republic earn about 16,000 Euros per year, while junior programmers earn about 11,000 Euros annually. Likewise, senior software engineers earn about 22,000 Euros a year, while junior software engineers earn about 16,000 Euros. Wage affordability for employers is one reason why the Czech Republic is so attractive to employers. To illustrate, a systems analyst in, say, Great Britain will command a salary of more than 40,000 Euros annually, while the same job in the Czech Republic is about half that.

Of particular note to a lot of software developers I know is that the Czech Republic has between 65 and 70 golf courses, compared to, say, just seven in Hungary. This is important, as I'll try to explain to the boss, although I luckily don't have to explain any golf-related expenses this time around.

As I previously mentioned, education is a big deal in the Czech Republic, with about 60 universities and colleges in the country. Of the 50,000 annual graduates, about one-third leave school with a degree in a technical or scientific discipline. In terms of IT, there are about 24,000 students in this arena, with about 3,000 graduating annually.

Thanks to reader John Ferguson who sent me a note to "nevermind the coffee, try the beer." Now John, can you can put in a good word for me with the boss? Also, thanks to Rob Demmer of Sun's NetBean team in Prague who took time to share his perspective of software development in the region. Finally, it really hit home in the Intel multi-core/multi-threaded sessions I attended that "Parallelize or Perish" is the real deal. So start tuning up on those concurrency skills now.

-- Jonathan Erickson
jerickson@ddj.com

]]>
Just Czechin' In 2008-04-15T23:20:58Z 2008-04-15T23:01:50Z tag:,2008:/39.32880 2008-04-15T23:01:50Z Much to the delight of the boss, I made it to Prague Czech Republic where I've been emersed in multi-core/multi-threading (mc/mt) and Rohozec, Chodovar, and Pernstejn beer. Come on...I knew the boss would buy that bit about hanging out... jerickso https://i.cmpnet.com/ddj/images/headshots/JErickson.jpg jerickson@cmp.com Newsletter Ednote

Much to the delight of the boss, I made it to Prague Czech Republic where I've been emersed in multi-core/multi-threading (mc/mt) and Rohozec, Chodovar, and Pernstejn beer. Come on...I knew the boss would buy that bit about hanging out at coffeehouses and attending lectures, but you know me better than that. Purely educational research, of course.

Still, I did catch a couple of sessions on mc/mt. When it comes down to it, the key issues regarding mc/mt implementation as we move from the GHz era into the multi-core era are:

  • Scalability
  • Predictability/Determinism
  • Maintainability

From what I can tell, no one of these issues is any more important than the other. Scalability, for instance, is critical as we move from multi- to many-core (the difference being from a processor that has, say 4 or 8 cores, versus one that has a whole bunch more). If you don't keep scalability in mind when writing multi-core apps, then you may have to do a lot of re-architecting and re-coding when you jump up to 40 or 60 or 80 cores on a processor. Of course, if the program you're writing doesn't do what you expect (i.e., predictability), then it doesn't matter how many cores it has. And finally, you (or more likely another developer) have to be able to understand the program enough to make changes when (not "if") required.

Here's something else I learned, maybe because I'd never given it any thought. The upcoming class of many-core processors will likely have cores of different sizes. Big cores for big jobs (database activity or server stuff), and little cores for quick-and-dirty jobs. Makes perfect sense, but like I said, I'd just never thought about it. Which is why, of course, I go to conferences like this in the first place.

What?!? You thought it was the beer?

-- Jonathan Erickson
jerickson@ddj.com

]]>
Prague Bound, Or the Czech In the Mail 2008-04-11T15:52:58Z 2008-04-11T15:47:37Z tag:,2008:/39.32772 2008-04-11T15:47:37Z Countering my usual claim that no good thing can come from going into the office, I went into the office on Thursday and found myself on a plane to Prague Czech Republic on Sunday. I'm delighted about the opportunity... jerickso https://i.cmpnet.com/ddj/images/headshots/JErickson.jpg jerickson@cmp.com Newsletter Ednote

Countering my usual claim that no good thing can come from going into the office, I went into the office on Thursday and found myself on a plane to Prague Czech Republic on Sunday. I'm delighted about the opportunity to go to Prague, and the boss is equally delighted that I'm not hanging around the office and generally disrupting a pleasant working environment.

So what am I going to be doing there? Well, I hear that there's great coffee to be had in Prague, so there's a good chance you'll find me in a coffee house or two.

And as Michael Swaine reported last year in his article Software Development In Eastern Europe Prague is a hotbed of software development. From what Michael discovered, the software dev action in the Czech Republic is due in part to an excellent educational system which is turning out some 5000 engineering grads a year. More over, there's a motivated and talented labor pool with professional standards and favorable labor costs.

It's hard to find a major computer company that doesn't have a presence in Prague. Off the top of my head, there's Intel in a big way, along with CA, Microsoft, IBM, and Sun, to mention a few. (Sun's NetBean development is done in Prague). I'd be curious as to other dev centers in Prague that you might be aware of. As for the specific reason for my being there (other than the coffee), I'll be learning more about multi-core and parallelization, a favorite topic of mine, at an Intel conference examining the same. I will keep you posted as to what I learn and how good the coffee is.

But I've already learned one thing. If going into the office leads to a trip to Prague, well, maybe going into the office isn't such a bad thing after all.

-- Jonathan Erickson
jerickson@ddj.com

]]>
Bill and Ellie's Day Off in Latin America 2008-04-10T19:25:58Z 2008-04-04T22:19:57Z tag:,2008:/39.32605 2008-04-04T22:19:57Z Bill Gates and my next-door neighbor Ellie have a lot in common. For one thing, they both have a Windows-based PC. Well, Ellie does. I've seen it. I'm only guessing that Bill does, since it's been years since I've... jerickso https://i.cmpnet.com/ddj/images/headshots/JErickson.jpg jerickson@cmp.com Newsletter Ednote

Bill Gates and my next-door neighbor Ellie have a lot in common. For one thing, they both have a Windows-based PC. Well, Ellie does. I've seen it. I'm only guessing that Bill does, since it's been years since I've been invited to his house. (Come to think of it, it's been a while since Ellie invited me to her house too, so there's something else they have in common.)

Okay, a third thing they have in common is that they both support educational efforts in South America. In Ellie's case, she very commendably gives all of her spare change to rural educational efforts in Peru, and goes to Peru a few times a year to see how her dollars are being spent.

For his part, Bill is promoting the development and improvement of education through information and communication technology for teachers and students in Latin America through an agreement between Microsoft and the telecommunications company Telefónica to expand an online training network to provide online content, services and curricula to innovative teachers in Latin America. The program is already up-and-running in Spain, Mexico, and Colombia, and hopefully will expand to Argentina, Brazil, Chile, and Peru in the near future.

The Microsoft/Telefónica collaboration will support and extend services offered through Telefónica Foundation's EducaRed program to provide teachers, students, and parents with innovative tools and educational content, making it easier to access online and classroom training and collaboration tools.

Microsoft's Partners in Learning has benefited more than 59 million students and teachers in Latin America and has invested more than $25 million in grants and software through the company's Unlimited Potential program.

To the best of my knowledge, Ellie has yet to hit the $25 million mark.

-- Jonathan Erickson
jerickson@ddj.com

]]>
Batteries: Improve or Diehard 2008-04-07T21:30:52Z 2008-04-04T21:33:31Z tag:,2008:/39.32603 2008-04-04T21:33:31Z If ever there was a job for me, it was as an "environmental tester" at a company where I used to work. I watched with envy as the lab technicians baked computers in an oven, submerged them in water,... jerickso https://i.cmpnet.com/ddj/images/headshots/JErickson.jpg jerickson@cmp.com Newsletter Ednote

If ever there was a job for me, it was as an "environmental tester" at a company where I used to work. I watched with envy as the lab technicians baked computers in an oven, submerged them in water, dropped them from a height of 6 feet--and then plug 'em in and power 'em up to see if they still worked.

Alas, they never let me transfer into that group. Some silliness about my destructive urges being a little scary. But now I've learned that Sandia National Labs have a similiar--albeit more specialized--testing group. The Power Sources R&D group gets to spend their day driving nails into lithium-ion batteries, heating them to extreme temperatures, overcharging them, and generally wreaking havoc to see how much abuse they can take before they blow up.

"Lithium-ion batteries, generally found in laptop computers and power tools, have greatly improved over the past few years," says researcher Peter Roth. Gee, I'd hope so. "Improve or Diehard" might be a good motto for the group.

Actually, the goal of the Power Sources R&D group has little to do with laptop batteries and everything to do with battery-powered vehicles. Specifically, Roth and his team are working on the FreedomCAR program, which is investigating lithium-ion batteries to be part of hybrid electric-gasoline and plug-in hybrid powered vehicles.

Current hybrid vehicles run on gasoline and use nickel-metal hydride batteries as the energy storage device for the electric motor. The battery part of the FreedomCAR program focuses on safe lithium-ion batteries that have six times the energy density of lead-acid batteries and two to three times the energy density of nickel-metal hydride batteries. According to Roth, newer lithium/iron phosphate batteries are extremely resilient and less reactive than other types when subjected to extreme conditions.

"Extreme conditions." That's where I'd like to come in.

-- Jonathan Erickson
jerickson@ddj.com

]]>