Dr. Dobb's is part of the Informa Tech Division of Informa PLC

This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them. Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.


Channels ▼
RSS

Design

Bar Bets


Bar Bets

Dr. Dobb's Journal January 2007

Bar Bets

By Jonathan Erickson


So it's a slow night. No football on TV, and you can only stand so much YouTube. How better to while away the evening than sauntering down to the Foo Bar for an hour or two of high-tech high jinks.

On any given night, the Foo Bar is where you'll find Michael Swaine tending bar, serving up pastel drinks with little umbrellas (instead of writing his column) to his usual crowd of sycophants—Cousin Corbett, Mo, Joe, and Larry. You could do worse. Believe me. Around bars, you really could.

If this is the case, here then are a few bar bets you can surely win with this crowd, courtesy of yours truly.

Q: Who is the first person to appear in both "Dr. Dobb's" and on "Lou Dobbs"?

A: If you said Herbert ("Hugh") Thompson, Chief Security Strategist at SecurityInnovation who has written numerous DDJ articles and appeared on "Lou Dobbs Tonight" just prior to the recent U.S. elections to talk about security and electronic voting...well, you'd be buying a round. The "first" person to appear in both is Adam Kolawa, CEO of Parasoft, who was on "Lou Dobbs Tonight" to talk about outsourcing in early 2004, and published an article in DDJ about the same time.

Q: What's the name of the new Microsoft database engine (covered in the December 2006 issue of DDJ)?

A: This is a trick question and sure to win you a Piña Colada. While the article talked about "SQL Server 2005 Everywhere Edition," at the last minute, Microsoft opted to change the product's name to "SQL Server 2005 Compact Edition." According to Microsoft, customers got confused between it and other database product names (Sybase's SQL Anywhere?) in the industry.

Q: Is COBOL the only programming language whose Standard defines handling of decimal currency?

A: Well, thanks to a recent blog I wrote, I would have been buying the Harvey Wallbangers on this one. Mike Cowlishaw was quick to remind me, however, that PL/I and Rexx are ANSI Standards and both have decimal datatypes. Likewise, C# and VB.NET have standard decimal types—and all of these are designed for currency and general arithmetic. (Mike added that we'll soon see decimal in hardware, thanks to IBM's Power6 architecture, which will be incorporating what may be the first-ever decimal floating-point unit in silicon.)

Q: And speaking of COBOL, how many lines of COBOL source code currently are in use?

Bonus Question: How many new lines of COBOL source code are added each year?

A: According to a note that Bruce Hogman sent me, the answer is 250 billion lines of COBOL source code.

Bonus Answer: Bruce added that 1.5 billion new lines of COBOL source code are added each year.

Q: How many cell phones does Nokia produce every minute?

A: Okay, this is a softball question because I told you the answer last month. But still, it is an impressive bit of trivia and sure to get you a Watermelon Margarita at someone else's expense. And the answer is...600 per minute.

And if you're sitting there and the topic of conversation turns to Michael's column, remind him that it is still due, free drinks or not.

Jonathan Erickson

Editor-in-Chief

[email protected]

Dr. Dobb's Journal 2007 Editorial Calendar

January Web 2.0 & Lightweight Development
February Testing & Debugging
March Programming Languages
April Algorithms
May Communications, Networking, & Mobility
June Architecture & Design
July Games, Graphics, & Design
August Distributed Development
September Requirements & Compliance
October Computer Security
November Distributed Computing
December Database Development


Related Reading


More Insights






Currently we allow the following HTML tags in comments:

Single tags

These tags can be used alone and don't need an ending tag.

<br> Defines a single line break

<hr> Defines a horizontal line

Matching tags

These require an ending tag - e.g. <i>italic text</i>

<a> Defines an anchor

<b> Defines bold text

<big> Defines big text

<blockquote> Defines a long quotation

<caption> Defines a table caption

<cite> Defines a citation

<code> Defines computer code text

<em> Defines emphasized text

<fieldset> Defines a border around elements in a form

<h1> This is heading 1

<h2> This is heading 2

<h3> This is heading 3

<h4> This is heading 4

<h5> This is heading 5

<h6> This is heading 6

<i> Defines italic text

<p> Defines a paragraph

<pre> Defines preformatted text

<q> Defines a short quotation

<samp> Defines sample computer code text

<small> Defines small text

<span> Defines a section in a document

<s> Defines strikethrough text

<strike> Defines strikethrough text

<strong> Defines strong text

<sub> Defines subscripted text

<sup> Defines superscripted text

<u> Defines underlined text

Dr. Dobb's encourages readers to engage in spirited, healthy debate, including taking us to task. However, Dr. Dobb's moderates all comments posted to our site, and reserves the right to modify or remove any content that it determines to be derogatory, offensive, inflammatory, vulgar, irrelevant/off-topic, racist or obvious marketing or spam. Dr. Dobb's further reserves the right to disable the profile of any commenter participating in said activities.

 
Disqus Tips To upload an avatar photo, first complete your Disqus profile. | View the list of supported HTML tags you can use to style comments. | Please read our commenting policy.