Follow Slashdot blog updates by subscribing to our blog RSS feed


Forgot your password?

Comment Good luck with that plan (Score 1) 233

Any Blu-Ray disc I try and which doesn't play on component will go back as "defective" or "unfit for sale."

Good luck with that. Don't be surprised if the retailer sends you an apology and a new copy of the disc.

Be prepared for a lot of calls to regional customer service centers and having to wade past a couple of lower tiers of "customer service" on each call in order to get someone to give you your money back or a store credit (more likely). Each lower tier will claim that they cannot refund your money because of the piracy issues.

I only state this because I've actually had to go through this whole fiasco with DVDs which were legitimately defective. Bought one...defective. Returned it, took another from the same bin in exchange. Turned out defective. Returned to store, exchanged for another...same bin...defective. Pissed off, I went to a *different* store, bought the *same* title and had no problems. The first store likely got a bad batch; I had to fight with Store #1, locally and regionally, for a few hours to get them to refund my blasted money. When I first asked for refund, I was willing to a) prove the disc was defective by playing it on any DVD player in their store (if it worked, I told them I was willing to keep it and chalk it up to a defective player on my end) and b) take a store credit because I shopped there frequently. By the end of the ordeal, I wanted cash in my hand. What a hassle.

Comment translation scripts are the key (Score 2, Informative) 121

The best way to bring up a newbie in pair programming is to give her simple stuff that she can do reasonably quickly and well enough. The most common highly delegatable by far for text-based programmers like me is translation scripts. It's a breeze to specify; You need to figure out what other programs you are going to interface with and then just tell them what you need in and out. Best to have real files to work with. For example, in my field I use a lot of distance matrixes that consist of an array of labels and a 2-dimension square of numbers that is diagonally symmettric; but there are many different formats for these and my CompLearn system only supports one text matrix format. So already there are a bunch of simple translation programs that I can easily delegate by saying "see this distance matrix output from program X?" Translate it to something that works with CompLearn! This is also useful for the output side of most programs that need to work with the real world. And of course the venerable and highly useful HTML screen scraper is a great subtype of this big class of programs. The reasons this is so good to delegate are as follows:

  • It only needs to work, it doesn't need to interface to the rest of your program, so if they really mess up the interface or have bad style it is probably no big deal.
  • It is usually simple enough to dispense with all custom objects/classes and sometimes even functions are unnecessary for these things. the goal should be to get it working as quickly and easily as possible with a minimum of fuss: perfect for agile goal-oriented development and extremers.
  • Once they write a half-dozen or a dozen of these they are ready to start playing with lambdas, functions or maybe small classes. As a scientific programmer, half my coding is translation scripts and as I get more and more into text-based systems the percentage seems to go up. text goes a long way and the skills are very composable with existing unix utilities and pipelines without any hassle at all.

My favorite language for this kind of thing is Ruby, but I think Perl or Python would be fine too; anything that supports regexp and decent strings is a winner.

Happy Pair Programming and good luck! Rudi

Slashdot Top Deals

Machines certainly can solve problems, store information, correlate, and play games -- but not with pleasure. -- Leo Rosten