...will he ever win?

December 31, 2009


Douglas Crockford

Quarterly Royalty Statement

Format Net Units Net Sales Royalty % Net Royalty
-------- -------- -------- -------- --------
Book 4,019 53,009.79 10.000 5,300.98
License 2 89.41 10.000 8.94
On-Line Access 3 3,573.06 10.000 357.31
PDF 104 1,899.17 10.000 188.92
*Reserve Withheld


-1,060.20

-------- --------
--------
Net 4,128 58,561.43
4,795.95

December 31, 2009 04:44 PM

December 29, 2009


Douglas Crockford

Bertrand

Constraints are an interesting way to write programs. In a constraint system, instead of listing a jumble of instructions, you declare a set of relationships which when solved yields an answer. Amazing things have been done with constraint systems, including Ivan Sutherland's groundbreaking Sketchpad (1963), but they haven't received enough attention from the mainstream.

In 1988, Wm Leler published the brilliant Constraint Programming Languages: Their Specification and Generation, which describes Bertrand, a system for describing and realizing constraint languages. Bertrand uses Augmented Term Rewriting to build languages and to normalize and simplify a system of constraints. Leler has made the Bertrand codebase available at http://groups.google.com/group/bertrand-constraint.

Constraints can solve a large class of problems, including graphical layout. Design rules can be expressed as formulas which can yield a pleasing page layout that fits the constraints of a display device. I am optimistic that constraint systems can be used to repair or replace CSS.

December 29, 2009 06:34 PM

January 06, 2009


EFF News

UMG v. Veoh: Another Victory for Web 2.0

Over the holidays, video hosting site Veoh won another victory under the DMCA safe harbors, this time against Universal Music Group (UMG). The ruling should put to rest the argument that transcoding and other activities necessary for making content accessible on the web are not covered by the DMCA's Section 512(c) safe harbor for storing material on behalf of users (i.e., hosting user-generated content). This is good news not just for Veoh, but also for YouTube and every other site that hosts material uploaded by users.

Like many other companies that host content on behalf of users, Veoh has been bedeviled by copyright lawsuits. The copyright owners make the same argument in each of these suits: the hosting service should be liable for every infringing bit uploaded by naughty users and responsible for the full cost of policing for infringement. Fortunately, Congress enacted the DMCA's safe harbor provisions back in 1998 to protect service providers from exactly these risks, offering immunity from copyright damages to those who implement a notice-and-takedown system. In August 2008, Veoh won a big victory against adult video purveyor Io Group, relying on these provisions.

Veoh's latest victory was against UMG, which sued Veoh because Veoh users allegedly uploaded UMG music videos without authorization. The issue before the court was whether the DMCA safe harbor for hosting only covers the actual act of storing bits on a server, or whether it also covers related activities, such as:

  1. automatically transcoding video files uploaded by users into Flash format;
  2. automatically creating copies of uploaded video files that are comprised of smaller “chunks” of the original file;
  3. allowing users to access uploaded videos via streaming;
  4. allowing users to access uploaded videos by downloading whole video files.

Relying on the statutory language, as well as the legislative history, the court concluded that all of these activities are covered by the DMCA Section 512(c) safe harbor. Lots of online service providers will greet this ruling with relief. If the court had accepted UMG's arguments, every web host would lose the safe harbor as soon as it made web pages available to the public. The ruling should also help YouTube in its ongoing battle with Viacom, which also turns on the continuing strength of the DMCA safe harbors.

But the Veoh ruling also points out a surprising irony: while YouTube and Viacom are fighting their interminable litigation trench war, many interesting DMCA legal questions are being resolved in smaller, faster-moving cases involving companies like Veoh. At this rate, the highly-anticipated Viacom v. YouTube lawsuit may end up a footnote in the legal fights that define the rules governing user-generated content.

January 06, 2009 01:29 AM

Al-Haramain Warrantless Spying Case Can Proceed

Today, Chief Judge Vaughn Walker of the United States District Court in San Francisco denied the government's third motion to dismiss the Al-Haramain v. Bush litigation. The ruling means that the case can proceed and the court also set up a process to allow the Al Haramain plaintiffs to prosecute the case while protecting classified information.

Al-Harmain Islamic Foundation, the Oregon chapter of an Islamic charity, sued the Bush Administration for the illegal surveillance of the organization and its attorneys as part of the NSA warrantless wiretapping program. The case was based on a secret document that was inadvertently disclosed by the government that, according to the plaintiffs, demonstrates that they were subjected to unlawful electronic surveillance outside the scope of the Foreign Intelligence Surveillance Act (FISA).

In late 2007, the 9th Circuit Court of Appeals ruled that despite the disclosure, the "Sealed Document" itself was a state secret, but sent the case back to the District Court to determine whether the FISA law nonetheless allowed the case to go forward, under a doctrine called "preemption." Last summer, the Court had ruled that FISA does preempts the state secrets privilege, and gave Al-Haramain the right to amend its complaint to show that they were "aggrieved persons" within the meaning of FISA through evidence other than the Sealed Document. If they could do so, the case could proceed.

In today's ruling, the Court held that in their amended complaint the Al-Haramain plaintiffs had presented sufficient evidence that they were "aggrieved persons" and rejected the Government's claims to the contrary, saying: "Without a doubt, plaintiffs have alleged enough to plead 'aggrieved persons' status so as to proceed to the next step in proceedings . . ."

In order to allow litigation to proceed while keeping the secrets under wraps, the Court ordered the government to arrange security clearances for Al-Haramain's attorneys. The Court also ordered the government to allow Judge Walker to review the Sealed Document in his chambers by January 19th. Finally, the Court required the government to review the classified submissions in the case, and declassify as much as possible. The Court will schedule a hearing later this month to plan next steps.

January 06, 2009 01:23 AM


Ars Technica

Norwegian podcast puts entire Beatles catalog online—legally

This may be a case of unintended consequences. The NRK, Norway's national broadcasting service has scored permission from the country's music rights holders to release podcasts of any programs that it's done that are less than 70 percent music. A notable component of the NRK's collection is a series of broadcasts that includes the entire Beatles catalog.

Read More...

January 06, 2009 01:16 AM


Linux Weekly News

AMD Releases Open-Source R600/700 3D Code (Phoronix)

Phoronix has the details on AMD's release of 3D drivers for ATI R600 and R700 graphics processors. "Since earlier this year we have been waiting for AMD to release documentation and/or code on the ATI R600 series concerning 3D acceleration so that the open-source Linux drivers can begin to support the newer ATI graphics processors. It has taken longer than expected for AMD to complete and release this information, but it's now available. AMD has released the fundamental Linux code needed to begin fostering the development of an open-source R600 3D driver. Furthermore, this code also concerns the latest R700 series of graphics processors! The microcode for the newest GPUs has also been released."

January 06, 2009 01:04 AM


Gizmag

Audience response app for iPhone/iPod Touch

January 6, 2009 The Apple iPod/iPhone/iTunes App Store ecosystem is producing some remarkably useful tools for life, work, play, and now education. A free app for the iPhone or iPod Touch from ResponseWare transforms them into wireless, interactive audience response tools that could transform the way people learn and collaborate in many environments. The app allows alphanumeric entry for single response, multiple response, fill-in-the-blank and essay questions and the diversity of response types it offers enhances a presenter’s communication options. It displays the question and answer choices on the iPod/phone during polling and participants logged into an interactive session can review previous polls as well as instant message the leader/ with questions and feedback. Beyond education, we also see the platform getting a serious workout in any collaborative environment as a way of exploring and responding to the needs/views of an audience in any forum. This idea has legs!..

Tags: , , , , ,

Related Articles:

January 06, 2009 12:41 AM


Hack a Day

2y0d02b


The GP2Y0D02 is an infrared proximity sensor with a detection field that extends 80cm. This type of sensor can be used to build collision avoidance systems for robots. We’ll demonstrate this sensor using a single resistor and a multimeter.

2y0d02b

Sharp GP2Y0D02 fixed 80cm IR proximity detector (Digikey #425-2064-ND, $14.38). Datasheet (PDF).

The GP2Y0D02 requires a 5volt power supply (not shown). A 0.1uF bypass capacitor between power and ground (C1) is a good idea, but we didn’t use it in our demonstration. The open collector output (pin 1) pulls to ground when no object is detected, a 12K pull-up resistor (R1) holds the signal high when an object is detected.

In the demonstration we connected the output of the sensor to a multimeter. When nothing is in front of the sensor, the detector holds the output low (0.40volts). When we put a PCB in front of the sensor, the output changes to high-impedance and the pull-up resistor (R1) holds the signal high (5volts).

Why open collector?

An open collector output doesn’t toggle between high and ground, it toggles between ground and unconnected. The unconnected state, also called high impedance, exerts nothing on the output and allows the signal line to float. This is an undefined state for most microcontrollers that returns rapidly varying values, so we use a resistor (R1) to hold the signal high. The open collector output overcomes the small amount of current flowing through resistor to register the low state. Without this resistor, the output will never reach a proper high state.

Open collector outputs are useful when several sensors need to share the same microcontroller pin. Multiple sensors outputting high to the same microcontroller pin is generally considered a bad practice that can damage parts of a circuit. Multiple open collector outputs, however, can only switch to ground; a single resistor holds the signal high. In the case of multiple GP2Y0D02s, the signal will be high only when all connected sensors detect an object and switch to high impedance state.

Like this post? Check out the parts posts you may have missed.

      

January 06, 2009 12:08 AM

January 05, 2009


Douglas Crockford

Things I Learned As A Kid (Number 22 in a series)

There is a Santa Claus.

There isn't a Santa Claus.

The deal about Santa? The same goes for his elves, the Easter Bunny, the Tooth Fairy, God, and the Halloween Ghosts and Goblins.

January 05, 2009 11:44 PM


Linux Journal

What would you exchange Exchange for?

It's long been clear to me that the biggest lock-in Microsoft has, at the enterprise level, is not with Windows or personal apps, but with Exchange Server. And the biggest problem there is this: it's good. Enterprises like it. And, since Exchange works only or best with Windows machines, the lock-in extends to much else. Linux and Mac boxes get purged and replaced by Windows ones.

Or so goes the story I hear from folks at big enterprises.

So I'm wondering about alternatives.

read more

January 05, 2009 10:52 PM


Bruce Schneier

FBI's New Cryptanalysis Contest

From their website.

January 05, 2009 08:56 PM


Ars Technica

Last call for tech policy "Who's Who" nominations!

It's the last week for nominations to our first-ever "Who's Who: People to Watch in Tech Policy" list.

Read More...

January 05, 2009 08:30 PM


Hack a Day

Caleb Kraft


[matiaz] has released an exploit which allows homebrew on the PSP3000. It takes advantage of a vulnerability when loading save games on a game called GripShift. You can see the PSP running unsigned code in the video.

[thanks wraggy]

      

January 05, 2009 08:24 PM


Ars Technica

Twishing attacks steal data in 140 characters or less

2009 is barely underway, and already we see new fun emerging from Twitter-phishing, also known as—you guessed it—twishing. Predictions for the effect this could have on the failwhale-powered service are numerous and varied as bloggers and journalists weigh in on whether phishing could sink Twitter in 140 characters or less.

Read More...

January 05, 2009 07:34 PM


Linux Weekly News

Openmoko: looking forward to 2009

Those who are interested in the Openmoko phone may want to look at this lengthy look forward by founder Sean Moss-Pultz. "Nobody will doubt the value of openness for the mobile industry anymore. This seems like good news at first glance. But what openness are they talking about? Look around and you'll find it's pretty different than what we've been talking about. Yes, the very definition of openness is changing. This troubles me because we cannot influence markets with our words - only our products. And the quality of our products is not world class yet. The bar has been seriously raised. Time is running out. We need to find a way to lead again. I don't believe playing catch up will work. Something fundamental needs to change."

January 05, 2009 06:38 PM

Monday's security updates

Debian has updated xterm (arbitrary code execution), ruby (denial of service).

Red Hat has updated kernel (multiple vulnerabilities).

January 05, 2009 06:21 PM

The GNOME DVCS survey

Elijah Newren has posted a lengthy analysis of the recently-concluded developer survey on distributed version control systems. "It looks like there's a strong preference in the community toward switching, and that git has a strong lead in preference among the community, followed by svn, then bzr, then mercurial."

January 05, 2009 06:21 PM


Ars Technica

Used game prices tank as the market rewards big hits

The gaming industry may look recession-proof, but new data shows the price of used games is going down, and poorly-planned new IP is wiping out smaller developers. 2009 could be rockier than we assumed.

Read More...

January 05, 2009 06:12 PM

2009: science celebrates 400 years of Galileo, 200 of Darwin

It's a big year for science, as anniversaries of major scientific accomplishments by Darwin and Galileo are set to kick off celebrations of progress in astronomy and biology.

Read More...

January 05, 2009 05:38 PM


Linux Journal

Season's Greetings Mass Mailer

In my last article for Linux Journal, (http://www.linuxjournal.com/content/best-wishes-new-year) I shared some of my New Year's Resolutions. One of those resolutions was to communicate more regularly with my friends and family. In this article, I'm going to describe one of the first steps I took toward making this happen.

read more

January 05, 2009 05:29 PM


robots.net

BaR2D2 - A Mobile Robot Bartender

Inspired by a Radio-Controlled cooler, Jamie Price got the idea to build a robot bar named BaR2D2. The result is a robot loaded with sound-activated neon lighting, motorized drawer for ice and mixers, and a rotating beer turntable that rotates beer bottles into position, where they are lifted to serving level by an elevator. It's also equipped with a six bottle shot dispenser. The base for the robot was constructed from an electric wheelchair obtained on Craigslist for $75. A 12VDC, 35 AH battery provides power. Victor 883 Speed Controllers are used with differential drive steering. While BaR2D2 needs to be controlled via radio at present, perhaps someone will tackle an autonomous creation along these lines. Such a beast would no doubt do well in the ROBOEXOTICA bartending robot competition.

January 05, 2009 05:26 PM


Hack a Day

7color_laser


7color_laser

[rog8811] sent in this really cool hack where he used the optics sled from a PS3 as a foundation for a 7 color hand held laser projector. Combining a green laser, a blue ray laser, and a red laser, he is able to produce a variety of color  including white. There are step by step instructions on how to make a multicolored laser. He then goes even further, showing how to integrate this into a hand held projector with pre programmed patterns. You can see some examples of the different colors and patterns in this video.

      

January 05, 2009 05:13 PM


Ars Technica

Netflix bypasses US mail, set-top box with new HDTVs from LG

If you don't like having handfuls of set-top boxes for every little thing, LG Electronics hopes that its new line of "Broadband HDTVs" will help cut down on the clutter by integrating Netflix streaming directly into the TV.

Read More...

January 05, 2009 05:03 PM


Linux Weekly News

Palm needs Nova to shine (San Francisco Chronicle)

The San Francisco Chronicle looks at another entry into the Linux-based mobile phone space. Palm is expected to unveil "Nova" as a replacement for Palm OS on both phones and mobile internet devices. "Palm is poised to make what some analysts are calling its last stand at this week's Consumer Electronics Show, where it is expected to introduce its long-awaited Linux-based operating system. [...] Code-named Nova, it will power a new generation of smart phones and potentially other devices. The move is Palm's best chance to get back into the smart phone market, which it pioneered with its Treo handsets and later ceded to companies such as BlackBerry-maker Research in Motion and Apple with its iPhone."

January 05, 2009 04:47 PM


Cool Tools

5-in-1 Painter's Tool

I'd seen these scrapers for years and always figured them to be a gimmick, just a glorified putty knife. Then a friend helped me with a roofing project and brought one along. The more I used it, the more I came to see it as the single most handy, versatile and cheapest jobsite tool I've found. The basic functions: scraper, putty knife, chisel, pick, paint roll cleaner (squeegee).

I have probably a dozen of them floating around right now, always one or two on a jobsite. At a buck or so a piece, they are an incredible bargain. The pointy end does a great job of cleaning out crevices, scraping off excess glue or weld slag, prying up staples and getting into tight places. Makes a great little pry bar for wood trim. They can be used as a wedge and make a dandy temporary door stop/door hold open. The point can double as a Phillips screwdriver in a pinch. The flat side does a great job of opening cans. Sharpened up, the large flat blade can be used as a wood scraper or wood chisel. Great for those places where you may hit metal and don't want to trash a good chisel.

You can also customize them for specific tasks easily by filing or grinding them down if, say, you're refinishing and need a specific-sized scraper for the trim or you want to sharpen one side to a near-razor edge. I have seriously beat on these with a hammer and never had one shatter or snap. But they don't bend like a cheap screwdriver when prying with them. The steel is high-quality enough to do the task -- quite stiff and does not bend easily at all -- but still relatively easy to work with, file, etc.

I've had more expensive versions and cheaper ones and there isn't a noticeable amount of difference in the tools. I prefer the Dollar Store ones with the wood handle (great for hammering cans closed, etc.), but the scrapers with the nylon handle (below) are also sufficient.

-- Norman Bolser

5-in-1 Painter's Tool
$2
Available from Amazon

Related Entries:
3M Masking Tape Dispenser Unger Trim Scraper COOL TOOLS UNTRIED

January 05, 2009 04:47 PM


Linux Weekly News

6 best personal finance apps for Linux (TechRadar)

TechRadar takes a look at personal finance applications for Linux. The article looks at five free applications (GnuCash, KMyMoney, Buddi, Grisbi, and JGnash) as well as the Moneydance 2008 proprietary solution. "This kind of software is all about the data; getting it in, getting it out and doing useful things with it. In terms of getting data into the package, there are three things we need. We want software that makes it easy to add items to the spending side because you'll be less likely to update your ledger if doing so proves annoyingly difficult. [...] We want filters that will import transaction data downloaded from our bank account and allow easy reconciliation between local and remote records. Finally, we want to be able to set up periodic transactions that can be added to the ledger at certain points each month to deal with things such as mortgage payments."

January 05, 2009 04:39 PM


Ars Technica

China targets Google, Baidu in latest 'Net filth crackdown

China's state agencies are porn-hunting again, but this time their targets also include search engines like Google and Baidu.

Read More...

January 05, 2009 04:31 PM


bldgblog

Stonehenge Beneath the Waters of Lake Michigan

[Image: Standing stones beneath Lake Michigan? View larger].

In a surprisingly under-reported story from 2007, Mark Holley, a professor of underwater archaeology at Northwestern Michigan University College, discovered a series of stones – some of them arranged in a circle and one of which seemed to show carvings of a mastodon – 40-feet beneath the surface waters of Lake Michigan.
If verified, the carvings could be as much as 10,000 years old – coincident with the post-Ice Age presence of both humans and mastodons in the upper midwest.

[Image: The stones beneath Lake Michigan; view larger].

In a PDF assembled by Holley and Brian Abbott to document the expedition, we learn that the archaeologists had been hired to survey a series of old boatwrecks using a slightly repurposed "sector scan sonar" device. You can read about the actual equipment – a Kongsberg-Mesotech MS 1000 – here.
The circular images this thing produces are unreal; like some strange new art-historical branch of landscape representation, they form cryptic dioramas of long-lost wreckage on the lakebed. Shipwrecks (like the Tramp, which went down in 1974); a "junk pile" of old boats and cars; a Civil War-era pier; and even an old buggy are just some of the topographic features the divers discovered.
These are anthropological remains that will soon be part of the lake's geology; they are our future trace fossils.
But down amongst those otherwise mundane human remains were the stones.

[Image: The "junk pile" of old cars and boat skeletons; view larger].

While there is obviously some doubt as to whether or not that really is a mastodon carved on a rock – let alone if it really was human activity that arranged some of the rocks into a Stonehenge-like circle – it's worth pointing out that Michigan does already have petroglyph sites and even standing stones.
A representative of the University of Michigan Museum of Paleontology has even commented that, although he's skeptical, he's interested in learning more, hoping to see better photographs of the so-called "glyph stone."

[Image: The stones; view larger].

So is there a North American version of Stonehenge just sitting up there beneath the glacial waters of a small northern bay in Lake Michigan? If so, are there other submerged prehistoric megaliths waiting to be discovered by some rogue archaeologist armed with a sonar scanner?
Whatever the answer might be, the very suggestion is interesting enough to think about – where underwater archaeology, prehistoric remains, and lost shipwrecks collide to form a midwestern mystery: National Treasure 3 or Da Vinci Code 2. Even Ghostbusters: The Return.
But only future scuba expeditions will be able to tell for sure.

January 05, 2009 04:08 PM

Of networks, grids, and infrastructures, or: How to make a planet

If I have several blogging resolutions for 2009 – and I do – one of them is definitely to read InfraNet Lab more often.

[Image: Offshore energy islands, via InfraNet Lab].

Easily one of the most interesting architecture blogs out there today – though it's really an infrastructure blog, hopefully heralding a new focus for design writers in the next few years – and written by Toronto-based architect Mason White, it tracks massive infrastructure, waste, energy, and design projects across the global landscape, taking in geology, engineering, network economics, ecology, construction innovation, future fuels, and much more.
Read it and you'll know how to "harvest energy from the earth's rotation" using mega-gyroscopes, you'll discover how a more efficient offshore seaweed industry might work, you'll pick up clues for how to design a mountain and then how to connect that mountain to others using aerial tramways, you'll get an architectural glimpse of habitat meshing, you'll take an hallucinatory tour through Taiwanese mushroom farms, you'll visit underground waste isolation sites in New Mexico, you'll turn around and go the opposite vertical direction – into the sky – to farm water from the atmosphere, and you'll even punt around the artificial inland waterways of Britain using strange mechanized structures and seeing that archipelago as hydrology first, geography later.
So go check it out – and make 2009 the year of networks, grids, and infrastructures.

January 05, 2009 03:13 PM


Linux Weekly News

Debian votes to move forward with Lenny release

The results of the Lenny general resolution vote for Debian are in. The project has chosen to "Assume blobs comply with GPL unless proven otherwise" which will allow the Lenny (5.0) release to proceed. The basic problem is one that recurs each time a release is imminent in that kernel firmware does not meet the Debian Free Software Guidelines. We looked at this contentious vote a few weeks back; since that time project secretary Manoj Srivastava has resigned and Bdale Garbee has stepped in as acting secretary. It would appear that the outcome was decided shortly after the vote ended on December 27, but we somehow missed the announcement until now.

[ Update: The announcement email is now available: "Since the election concluded, several developers have asked for some statement from the DPL and/or Secretary as to what this result really means. Steve and I have discussed it, and we think it's pretty clear. This result means that the Debian Lenny release can proceed as the release team has intended, with the kernel packages currently in the archive." ]

January 05, 2009 03:06 PM


Ars Technica

Israel/Hamas battle goes Web 2.0

Forget the Iraqi Information Minister; governments are now turning to Twitter, YouTube, and blogs to shape public opinion about war, and the Israel/Gaza conflict looks to be one of the most wired yet.

Read More...

January 05, 2009 02:53 PM


The Daily WTF

CodeSOD: Enterprise Level Access

Some time ago Martin F. was sent in by his IT consulting company to help fix some problems with the HR Database at a major European banking / insurance firm.  He admits that the WTF worthy warning signs were there at the onset (among them being that he was the 4th in a series of consultants assigned to this project), but being relatively naive to such things, he accepted the position and spent a year shaking his head in bewilderment and, at the same time, his fists at Rob.  He was an HR 'specialist' and a true IT genius who had a self-proclaimed hobby of programming in Visual Basic and was, of course, long gone from the corporation.

The HR Access-pool

The problem database held monthly snapshots of information about all the (over 50,000) employees of the bank, such as their names, DOBs, home address, function, fixed and variable salaries going back about 4 years.  Over that period of time, it had expanded to an impressive 2 Million records in size which is not unheard of in any large corporation, but your typical "Select and Group By" query on 200 people took about eight minutes.  However, as Martin came to discover, this was mostly due to the fact the corporate HR database was in reality an Access database sitting on some network fileshare.

Feeding-wise: every month, some 100 local providers from daughter companies would fill-in an Excel-based tool (created by the infamous Rob) that exported CSVs and send them by e-mail to the manager of the application. He would, in turn...

1. Process every file through a series of checks implemented in Ms Access. That would export new "Verified CSVs"
2. Consolidate all the verified files into another Access database
3. Find and remove people who appeared twice and do the necessary corrections (to avoid them being counted as multiple FTEs). Overwrite the "verified CSVs" with the result
4. Import the CSV's into temporary tables of the master database
5. Perform some more checks and corrections
6. Consolidate the temporary data into the master tables
7. Export all the valuable statistics to Excel files for those who needed them (mainly the financial reporting).

This song and dance took 2 people a week to accomplish. After that was done: leave 3 days for feedback and corrections from the providers, then go to step 1 and repeat the process for the "final" version. 

Ol' Teller

One of Martin's first tasks was to correct some flaws in the Excel-based input tool (which every provider had a different version of since problems were dealt by e-mail on a case-to-case basis).  Under the spreadsheet's ordinary looking thin veneer was a writhing dung heap of undocumented VBA code and WTFs galore that could possibly stand on its own as a separate CodeSOD submission, but for Martin, one procedure stood out as being truly a case of doing something completely wrong.

Private Function Row_Is_Empty(iRowNr As Long, lLastCol, sh As Worksheet) As Boolean  
   Dim j As Integer
   Dim is_empty As Boolean
   Dim teller As Integer
   teller = 0
   Dim curr_cell As String
     
   For j = 1 To lLastCol
         curr_cell = Trim(Replace(sh.Cells(iRowNr, j).value, Chr(10), ""))
      If curr_cell <> vbNullString Then
        teller = teller + 1
      Else
        teller = teller
      End If
   Next j
 
   If teller = 0 Then
   is_empty = True
   Else
   is_empty = False
   End If
 
   teller = 0
   If is_empty = true Then  
   Row_Is_Empty = is_empty
   Else
   Row_Is_Empty = false
   End If
   is_empty = False
   teller = 0
End Function
 

 




Brought to you by the Non-WTF Job Board:



January 05, 2009 02:00 PM


Bruce Schneier

Trends in Counterfeit Currency

It's getting worse:

More counterfeiters are using today's ink-jet printers, computers and copiers to make money that's just good enough to pass, he said, even though their product is awful.

In the past, he said, the best American counterfeiters were skilled printers who used heavy offset presses to turn out decent 20s, 50s and 100s. Now that kind of work is rare and almost all comes from abroad.

[...]

Green pointed to a picture hanging in his downtown conference room. It's a photo from a 1980s Lenexa case that involved heavy printing presses and about 2 million fake dollars.

"That's what we used to see," he boomed. "That's the kind of case we used to make."

Agents discovered then that someone had purchased such equipment and a special kind of paper and it all went to the Lenexa shop. Then the agents secretly went in there with a court order and planted a tiny video camera on a Playboy calendar.

They streamed video 24/7 for days, stormed in with guns drawn and sent bad guys to federal prison.

Green's voice sank as he described today's sad-sack counterfeiters.

These people call up pictures of bills on their computers, buy paper at an office supply store and print out a few bills. They cut the bills apart, go into a store or bar and pass one or two.

Many offenders are involved with drugs, he said, often methamphetamine. If they get caught, so little money is involved that federal prosecutors won't take the case.

It's interesting. Counterfeits are becoming easier to detect while people are becoming less skilled in detecting it:

Part of the problem, Green said, is that the government has changed the money so much to foil counterfeiting. With all the new bills out there, citizens and even many police officers don't know what they're supposed to look like.

Moreover, many people see paper money less because they use credit or debit cards.

The result: Ink-jet counterfeiting accounted for 60 percent of $103 million in fake money removed from circulation from October 2007 to August 2008, the Secret Service reports. In 1995, the figure was less than 1 percent.

Another article on the topic.

January 05, 2009 12:34 PM


Ars Technica

Ars at Macworld '09: Rumor roundup and live keynote plans

Ars plans to cover this year's Macworld Expo keynote live on the front page this Tuesday, and we'll do it better than ever before. Even without Steve Jobs, the Philnote is sure to bring some surprises. Read on to see what has been rumored thus far.

Read More...

January 05, 2009 12:30 PM


Idiot Toys

PROMOTIONAL CHRISTMAS: Another mature lady making very little effort

Blogger broke over Christmas, so we weren't able to fully unload our PROMOTIONAL CHRISTMAS work. Here's the last one - it really is the MD of the company in a Santa hat and her red suit jacket. Hopefully companies will feel able to hire models again in time for Christmas 2009, otherwise it's going to be a long, miserable year with nothing to look forward to. THE HARD SELL: "Thanks to the

January 05, 2009 11:59 AM

WENGE FLASH: Wenge spotted in ASDA

The National Wenge Association has been working hard! Wenge has gone mainstream, and is now a STAR COLOUR of the latest ASDA furniture range. 2009 - the year of Wenge. Let's paint the town Wenge. "I was in my local ASDA (yes, I know) today when I noticed this - Wenge on sale!" "Apparently they have a whole Wenge finish range. Of crap furniture in smashed up boxes." "If ASDA is selling

January 05, 2009 10:21 AM


Gizmag

New World Sailing Boat Speed Record

January 5, 2009 Australia’s Macquarie Speed Sailing Team is seeking ratification of a new World Sailing Speed Record set on December 19, thereby claiming the title of the world’s fastest sailing boat. Macquarie Innovation was timed over the 500m qualifying course at 48.57 knots and recorded speeds in excess of 51 knots during the 20 second run on December 19, 2008. It is expected that the final ratified speed will be reduced to 48.15 knots due to tidal influences experienced on the course – albeit still the fastest speed ever recorded by a sailing boat. What makes the attempt so significant is the boat’s remarkably efficient use of wind energy – the speeds were recorded in just 17 kt winds, and when the team gets the 20 knot winds it has been waiting for, the outright record of 50.57 kts set by French kite-boarder Alexandre Caizergues in Namibia on October 4, 2008 will almost certainly be bettered...

Related Articles:

January 05, 2009 08:51 AM


bldgblog

Arrested Development

Instead of putting people under house arrest – where they'd stay at home all day, unable to leave their own property for weeks or months at a time – you instead send them out to some perfect suburb in the middle of, say, Nebraska or Utah, a remote development where each house is fully furnished and tastefully maintained, but each also has only one inhabitant: a minor criminal of some sort, dwelling on the immorality of shoplifting or tax fraud and serving-out a short period of house arrest. They can even get their mail redirected there, and watch Netflix.
But out on the far periphery are watchtowers, and the streets are lined with cameras.

January 05, 2009 05:33 AM


Ars Technica

Nothin' but a number: two views of life on the grid

A world in which we are sliced and diced into "buckets" and numbers, microtargeted, then bombarded by customized ads caters to a computer's speed and a company's bottom line. But what gets lost?

Read More...

January 05, 2009 05:30 AM


Gizmag

Honda's Hybrid Billboards

January 5, 2009 Primary among Honda’s brand values are its role as a leader in creating low emission, fuel efficient vehicles, and its most recent promotional efforts have taken Hybrid technology to new heights, quite literally. The massive billboards featuring the new Honda Accord Euro are illuminated by green solar power; with green energy electric backup. Just like a Hybrid. Outdoor advertising specialists, APN Outdoor have installed solar panels on several of the billboards being used in the Australian launch...

Related Articles:

January 05, 2009 04:00 AM


Ars Technica

VIA's Nano processor finally showing up in systems

With CES just around the corner, companies are beginning to talk about what we're going to see, and VIA has got some interesting plans for its Nano processor. Samsung will also be shipping a 12" US laptop with the chip.

Read More...

January 05, 2009 04:00 AM

NASA may get a boost from the Pentagon under Obama

China's burgeoning space program spurs the Obama team to consider fusing NASA and Pentagon space efforts.

Read More...

January 05, 2009 02:43 AM


Hack a Day

parking


parking

Autoblog dug up this classic mechanical engineering project from 2006. A team of five University of Toledo students constructed a system to help parallel park a car. First, you drive nose first into the space. Hydraulic rams then lower the drive wheel out of the trunk, raising the rear of the car. The single wheel is also hydraulically driven and moves the car into the space. They have a blog documenting the six week build. Have a look at the demonstration video below.

      

January 05, 2009 01:18 AM


Ars Technica

Semiconductor industry slides past dark and into "pitch black"

We won't start seeing quarterly and yearly reports for at least another week, but bad news is already coming in regarding Q4 semiconductor performance. Sales fell 10 percent in November, leaving industry sales above 2007 by only the slimmest of margins.

Read More...

January 05, 2009 01:00 AM


Hack a Day

RobotSkirts


With the Chaos Communication Congress concluded, it’s time to start looking towards the next massive European hacker event. This means Hacking at Random August 13-16th in the Netherlands. It’s a four day long camp experience that will feature many conference talks, interactive projects, and more.

The team has selected three tracks in their official call for papers: Dealing with data, Decentralization, and People and politics. You can find more details in the post. Deadline is May 1st.

[photo: mark]

      

January 05, 2009 12:00 AM

January 04, 2009


Ars Technica

College courses: even "offline" classes are online now

This week's edition of Science has a series of perspectives on how computer technology is revolutionizing the education experience. We take a look at one of the biggest trends: the online migration of education materials and classrooms themselves.

Read More...

January 04, 2009 11:00 PM


Ubuntu Fridge

Ubuntu Weekly Newsletter #123

The Ubuntu Weekly Newsletter, Issue #123 for the week of December 21st- January 3rd, 2009 is now available.

In this Issue:

* Notifications, indicators and alerts
* Making LoCo Team Rock
* Planet Ubuntu and Corporate Blogs
* Ubuntu Stats
* Ubuntu Live on TV
* Ubuntu Berlin review of 2008
* Tunisian Team Events in December
* 12 days of Launchpad
* Ubuntu Forums News
* In the Press & Blogosphere
* Full Circle Magazine #20
* Meeting Summaries
* Upcoming Meetings & Events
* Updates & Security
* And much, much more!

The Ubuntu Weekly Newsletter is brought to you by:

* Nick Ali
* John Crawford
* Craig Eddy
* Kenny McHenry
* Dave Bush
* And many others

If you have a story idea for the Weekly News, join the Ubuntu News Team mailing list and submit it. Ideas can also be added to the wiki!

Except where otherwise noted, content in this issue is licensed under a Creative Commons Attribution 3.0 License BY SA Creative Commons License

January 04, 2009 10:33 PM


Ars Technica

New book from IBMers: Sony suckered into funding Xbox chip

A new book by two of the IBM engineers behind the Playstation 3's Cell gives the behind-the-scenes story of how two rival consoles ended up sharing much of the same technology.

Read More...

January 04, 2009 09:30 PM


bldgblog

In the winter of light

"There are architecture photographers [who] refuse to photograph anything from November up to February," Michiel van Raaij writes on his blog Eikongraphia. "In their view the long shadows and dimmed light intensity of the winter season compromises their work. The effect is that – in the architecture media – not only the sun always shines, but that it is also never winter."

There are several interesting observations here, but I'm particularly struck by the thought that the spherical trigonometry of the earth's surface – and its angular effect on shadows – has an impact on how we might popularly view and represent architectural space.
By extension, then, if raised only on images of buildings in which there are no visible shadows – and in which surfaces thus appear to be all but shaved of ornament – are architects actually designing for a particular season of light? That is, buildings that are meant to look good, and photograph well, only in summer?
How amazing it would be to find that architectural styles begin to change – moving away from the Clement Greenberg-like flatness of international modernism toward a new era of ornamentally active deep surfaces – if something as simple as when photographs are taken were to change.
All the works of Frank Gehry, photographed in the anemic, angular light of midwinter. I sense a book idea here, if any enterprising photographers might be reading this...

January 04, 2009 08:08 PM


Ars Technica

Ars Technica's 2009 "Tech Resolutions"

Ars staffers share their New Year's tech resolutions, pledging that 2009 will be the year that e-mail is tamed, the perfect backup system is located, and games are actually played for fun. We can dream, anyway.

Read More...

January 04, 2009 07:00 PM


Idiot Toys

PROMOTIONAL CHRISTMAS: Something to do the with Mall of America

A budget-busting FOUR Santa uniforms were acquired for this shoot! Plus entry fees to the park, transport to get there, lunch for everyone and the photographer - times are clearly still booming at the Mall of America. BECAUSE OF THIS: "Santa coasts in to Mall of America with the world famous Radio City Rockettes to kick off their first ever North American tour in Minneapolis. Santa will

January 04, 2009 06:16 PM


Hack a Day

lightnoise


lightnoise

[Alex] built what he calls a light to sound converter. It reacts differently depending on the type of light: remote controls, light bulbs, TV screens, etc. A photodiode is used with an amplifier to pick up the light change. That signal is dumped through a dual opamp. He swapped in several different types of photodiodes and settled on the BPW34 intended for visible light. He’ll be incorporating this into a much larger project.

      

January 04, 2009 06:16 PM


Idiot Toys

PROMOTIONAL CHRISTMAS: Santa getting "checked out"

She'll he grabbing his sack and asking him to cough next. Definitely looks the type. THE OFFICIAL EXPLANATION: "Jane Sadler, M.D., family medicine physician on the medical staff at Baylor, checks Santa's heart rate during his physical at Baylor University Medical center at Dallas where he was declared fit for duty to make his trip around the world this year."

January 04, 2009 06:15 PM

PROMOTIONAL CHRISTMAS: A lady wearing a nice hat for credit cards

This one's for Wirecard, which is some sort of virtual payments system. Again, the "credit crunch" has meant that instead of full "sexy santa" outfits, all we get this year is a woman in her normal work clothes in a hat. Use that card to hire some proper models and red skirts next year, Wirecard.

January 04, 2009 06:14 PM


bldgblog

Fortifications Tour

In between discovering this thing the other day and sitting down to post about it this morning – it was cancelled.
What was it?
A fortifications tour through the United States and Europe, planned for 2009. And it sounded awesome.

As you can read in the trip's accompanying PDF (3.2MB), Cornell professor Arthur Ovaska, architects Austin + Mergold, and their students would "travel along the east coast of the US and traverse Europe north to south in pursuit of a transformation in space and history of a particular type. The typology is fortifications. It is neither building nor landscape, but a hybrid, shaped in response to thousands of years of war."

Although I don't at all agree with the statement that "architects no longer design for war" – this might be true for, say, Zaha Hadid and Norman Foster, but it is in no way true for military spatialists employed on prototype base housing, prefab field shelters, or even secure urban embassy design – I nonetheless think the very idea of this trip is pretty amazing.Here's the actual itinerary:

[Image: View larger].

You'd engage in design studios along the way – this sounds so unbelievably cool to me, imagine filling whole sketchbooks and blogs with images of well-fortified hill towns, walled cities, bunkers, and urban cores – and, lest you fear for their absence, we're reminded that "coffee & refreshments will be served."

You would even have studied "operational walls":I have to assume that the trip was cancelled because of lack of enrollment, or some other trickle-down effect of the financial crisis (after all, enrollment, airfare, accommodation, and so on was all estimated at a rather eye-popping $20,000 – perhaps I'm wrong, but I feel like BLDGBLOG could organize a cheaper version of this trip quite easily).

[Image: The pack and the bunker: equipment for landscapes].

How exciting would that be, though? You get Bryan Finoki, Nick Sowers, Javier Arbona, Enrique Ramirez, Edwin Gardner, the Complex Terrain Laboratory, and a dozen others; you all buy a copy of Paul Virilio's Bunker Archaeology; and then you head over to Europe for five or six weeks of cheap hotel rooms, high-speed trains, rural bus routes, and some overgrown fortifications. You visit bunkers and tunnels and dungeons and barrows. You sketch things, make short films, and one of you draws a comic book. You read Beowulf and shave Javier's leg hair while he's sleeping...
Etc. etc.
Then you visit Spartan battlefields in Greece and update the rest of the world via Twitter. At the end, you all split a book deal.
Perhaps a serious plan for 2010...
Read more about the actual trip in the original PDF.

January 04, 2009 05:22 PM


Hack a Day

projector


projector

The team from Tech-On has taken the time to teardown two interesting microprojectors. The first model they tackled was the Optoma PK101. It’s based around a digital micromirror device (DMD) like those used in DLP. Separate high intensity red, green, and blue LEDs provide the light source. A fly-eye style lens reduces variations between images. They noted that both the LEDs and processors were tied directly to the chassis to dissipate heat.

The next projector was the 3M Co MPro110. It uses Liquid Crystal on Silicon (