Almost, but not quite, entirely unlike tea.

Recurrent Training for Software Developers?

Software developers who have been out of school for a while and apply for new jobs routinely bemoan that they have forgotten details of things like algorithms and data structures and other computer science topics that tend to pop up for discussion in interviews. Even software developers working in their current job can stand to be reminded of things they’ve been taught in the past but haven’t thought about for years.

Pilots undergo intense training before getting certified to fly in the first place, but then also must undergo recurrent training on a regular basis.

Instead of checking off having learned algorithm design in college and never thinking about it again, would it be useful for software developers to engage in regular recurrent training to refresh themselves on things they might be letting slip from their thinking?

Taking a full semester-long class might be overkill, and too much to expect out of the schedule of working professionals with families and responsibilities outside of their jobs. Maybe a twice a year spend a day or two being refreshed on things that should have already been studied in detail in the past.

A format of alternating between 15-minute lectures, 15-minute in-class exercises (done by individuals on their own laptops), and 15-minute review of solutions might be a good way to go.

How could such training be set up? Large companies could do it all in house, paying a small staff to be dedicated to administering such classes. Local community colleges could potentially offers this format of class to small companies and individuals in the area, as part of their alleged charter to foster continuing education.

In theory, it could also all be done online, with prerecorded lectures by especially great speakers, but spending the time to meet in person can sometimes be more motivating than watching videos.

Fluffy Electronic Addictions

In Selected Papers on Fun & Games, Don Knuth writes about his experiences playing an early computer game in the 1970s:

Clearly the game was potentially addictive, so I forced myself to stop playing — reasoning that it was great fun, sure, but that traditional computer science research is great fun too, possibly even more so.

Is this something we should keep in mind today, surrounded by countless opportunities to do something frivolous instead of something substantial?

Should Digital Photos Aspire to Look Like Film?

I received an email from B&H Photo yesterday, advertising some new products and sales. After years of doing my minimal photo post-processing in Apple iPhoto, the reduced price on Adobe Lightroom 5 caught my attention. Reading the details more carefully, I was intrigued by the statement:

You can add … simulated film grain to images, great for breathing analog life into digital photos.

In the music production world, I’ve heard a lot of people talking about the virtues of running tracks through analog equipment to maintain or capture “analog warmth” in the face of sterile digital perfection. There are debates as to how needful an analog signal chain actually is, and some producers seem fine with totally digital production, but there are enough adherents to analog audio gear to suggest that there’s some legitimate basis to the claim. Several manufacturers sell analog summing mixers, to do a task in the analog realm that digital computers ought to be excellent at doing (adding things together).

While I’ve heard some photographers share a preference for working with film, I believe this is the first time I’ve seen a major vendor suggest that there might actually be something superior about film photography that digital photographers should consider simulating. So what exactly does this simulated film grain feature do?

I found an example from Mark at Digital Photo Buzz, showing the difference between an unaltered digital photo, the same photo processed in Adobe Photoshop to add “noise”, and the same photo processed in Adobe Lightroom (version 3) to add “film grain”. The processed photos appear at first glance to be blatantly inferior to the original, but then again, after looking at the processed photos for a bit, the original seems almost artificially perfect.

I’ve never done an explicit A/B test between my digital and film cameras, but I happen to have several similar shots taken on two separate trips to Cambridge, Massachusetts, one time with film and the other with digital:

Falafel Truck on Kodak 400 film


Falafel Truck on Canon 5D digital

Falafel Vendor Truck

Harvard University Library on Kodak 400 film


Harvard University Library on Canon 5D digital


(All photos taken with a Canon 50mm/1.4 lens. The film photos were taken with standard off-the-shelf Kodak 400 print film.)

The film photos, as presented, are higher contrast. This could be adjusted in post-processing if desired. I don’t really see anything significant that I would attribute to “film grain” in the film photos; the grain certainly isn’t as obvious as in the simulated grain photo produced in Adobe Lightroom. The digital photos, when viewed full-size, are more detailed, and generally seem like closer representations of what the scene actually looked like (as I recall).

But is one flat-out better than the other? Aesthetically, I kind of like the look of the film photos better. The digital photos may be more perfect, but the film photos seem to have some imperfections that come across well, maybe similar to the color added to sound running through a tube preamp. It’s hard to beat the convenience of digital over film, but perhaps I’ll start pulling my ancient Canon EOS-3 out more often…

Government-Mandated Flame-Retardant Mattresses

Two days ago we received delivery of a new mattress. Upon initially lying down to go to sleep on it, I detected a strange odor and reasoned that it must be emanating from either the new sheets, the new mattress cover, or the new mattress, but was too tired to think much about it. The odor became increasingly bothersome throughout the night, and in the morning I determined that it was most likely coming from the mattress itself.

Some web searching suggested that this was not unusual, and that common wisdom was to let the mattress air out for a day or two (or four) before sleeping on it. This was the second mattress we had purchased from the same shop, and nobody had mentioned anything about this to us. The first mattress, though, was left unused for several weeks before we moved into the house, so it likely had time to air out on its own.

My web searching also turned up some unexpected information on the potential toxicity of mattresses.

In 1972, the United States federal government decided to help prevent burning cigarettes set mattresses ablaze by issuing 16 CFR Part 1632, Requirements for Mattresses and Mattress Pads. Accompanied by a prescribed test procedure, this government mandate required mattress manufacturers to construct their mattresses to be able to endure limited exposure to burning cigarettes without catching on fire themselves. Since traditional mattress materials were not inherently flame-retardant, manufacturers complied by adding flame-retardant chemicals.

In 2006, the government decided that guarding against burning cigarettes was insufficient, and expanded their mattress construction criteria to include guarding against various open flames in 16 CFR Part 1633, Standard for the Flammability (Open Flame) of Mattress Sets. The new test criteria involves exposing the mattress to open flame generated by a burner device for a total of 30 minutes. (Details are listed within 16 CFR Part 1633 itself.) Manufacturers complied to this demand of enduring a half-hour of fire by adding yet more flame-retardant chemicals.

So our mattresses are very unlikely to engulf us in flames. But what about the chemicals being added to the mattresses? Are these safe for us to sleep on night after night? Since the government cares so much about us not setting our beds on fire, surely they would have interest in what chemicals are employed to fire-proof the mattresses?

They did conduct some thorough research on the extent to which the various chemicals used in mattress construction could be absorbed by its users, but when it comes to actually making a decision on what chemicals go into the bed, they leave that up to the mattress manufacturers. The 16 CFR Part 1633 Questions & Answers document explains:

Ultimately, it is the responsibility of the manufacturer to ensure that its products do not present an unreasonable risk to consumers. Thus, manufacturers should conduct the appropriate exposure testing and risk assessment to ensure that any new products that are placed on the market are not hazardous substances.

Some of the chemicals involved are blatantly harmful in large quantities. But are the quantities conveyed through a mattress large enough to be problematic? Should we be concerned? There have been reports of people experiencing a variety of unexpected symptoms after getting a new 16 CFR Part 1633-compliant mattress, but there seem to be plenty more people who have never noticed anything wrong at all. We ourselves slept on a Part 1633-compliant mattress for five years without even realizing it.

If you want to avoid these flame-retardant chemicals in your mattress, there are ways around it. Standard off-the-shelf mattresses are required by federal law to be flame-retardant, but with a prescription from your doctor you can have one special-made that does not use flame-retardant chemicals. (One of our family doctors opined that there are lots of other things more useful to do for the overall health of your body than to get a chemically untreated mattress.) You could also buy unassembled mattress components and make your own mattress. At least one retailer sells beds that keep the chemical treatment in a sealed and removable portion of the bed.

In the end, we can thank the federal government for creating potentially-questionable regulations that enable us to continue to sleep while smoking cigarettes and enjoying sundry other forms of open flame…

Page 14 of 18