Bonds for Microsoft

From Business Week:

Bonds for Microsoft

Cash is king these days—so much so that even debt haters are willing to take out loans to get more of it. On May 12, Microsoft sold bonds for the first time in its cash-rich history, adding $3.75 billion to its already impressive stash of $25 billion. Rumors of potential acquisition targets soon followed—not just Yahoo! (YHOO) but also business software rival SAP (SAP). So far, CEO Steve Ballmer is denying he’s got any mega-deals in the works.

Funny as it is, I’ve been assigning my students a problem involving bond issuance by Microsoft since 2002 or so…

Posted in Business, Finance and Investments | Leave a comment

An ethanol glut?

From Business Week:

BW ethanol

Lobbying for a Better Blend

The ethanol industry is about to hit a wall—the “blend wall.” U.S. biofuel factories now have the capacity to make about 12 billion gallons of ethanol a year, and the U.S. market can’t use much more than that. That’s because annual U.S. gasoline consumption is about 137 billion gallons, and gas isn’t allowed to contain more than 10% ethanol, a blend called E10. If every drop of gas actually met that limit, the ethanol market would be 13.7 billion gallons. But for logistical reasons, a portion of the gas sold will never contain any ethanol.

The looming blend wall is making it harder to get new ethanol plants financed, so corn growers and ethanol producers are lobbying to increase the blend to allow up to 15% ethanol (E15). Opposing them: a coalition of oil producers, food companies, and green groups, which complained to the Environmental Protection Agency that raising the quotient may lead to higher food prices and other woes. In April, the EPA agreed to review the issue.

Posted in Business, Technology | Leave a comment

CWIHP publishes the Vassiliev notebooks

From the Cold War International History Project:

The Vassiliev Notebooks are an important new source of information on Soviet intelligence operations in the United States from 1930 to 1950. Though the KGB’s archive remains closed, former KGB officer turned journalist Alexander Vassiliev was given the unique opportunity to spend two years poring over materials from the KGB archive taking detailed notes–including extended verbatim quotes–on some of the KGB’s most sensitive files.

Though Vassiliev’s access was not unfettered, the 1,115 pages of densely handwritten notes that he was able to take shed new and important light on such critical individuals and topics as Alger Hiss, the Rosenberg case, and “Enormous,” the massive Soviet effort to gather intelligence on the Anglo-American atomic bomb project.

Alexander Vassiliev has donated his original copies of the handwritten notebooks to the Library of Congress with no restriction on access. They are available to researchers in the Manuscript Division. Electronic copies of the original notebooks, transcribed Russian versions, and translated English versions are available for download free of charge from http://www.wilsoncenter.org/CWIHP/VassilievNotebooks.

* * * * *

Posted in History | Leave a comment

Protected: Testing include_HTML with SSL

This post is password protected. To view it please enter your password below:


Posted in General | Enter your password to view comments.

Introducing the Bookworm plugin

If you are familiar with Drupal, you are probably familiar with the concept of a “book”. A Drupal “book” is a collection of Web pages that are automatically tied together with proper hyperlinks, so that there is no need to build navigation manually.  There is typically a table-of-contents page and a number of chapter pages.  Recently, I needed to build a few “books” in WordPress, so I ended up writing a little plugin that I called Bookworm.

The data organization in WordPress allows to build “books” rather easily. WordPress pages are hierarchical, so it is possible to create any number of chapter pages to which the table-of-contents page would be a parent.  So all you need is a way to automatically generate a table of contents (essentially, a linked list of the current page’s children) and a a way to automatically build a navigation menu with links to previous chapter page, table of contents, and next chapter page.

Enter the Bookworm plugin.

Put [bookworm_list_pages] into the table-of-contents page, and it will output a list of pages which list the current page as their parent.  For now, pages can be listed only in order of their ID (which, conveniently, is also the order in which they were created).  Putting [bookworm_flip_pages] into a chapter page will output hyperlinks to previous chapter, table of contents (which is assumed to be on the parent page), and next chapter.

Posted in Technology | Leave a comment

The WordPress Projects page

It’s been a while since I wanted to give my modest WordPress-related efforts a place of their own.  Well, here it is: the WordPress Projects page.

Posted in Technology | Leave a comment

include_HTML gets a facelift

Include_HTML, the little WordPress plugin that I wrote a while ago, has been getting a small, but enthusiastic, following. Growth pains, as was to be expected, were soon to follow. It turns out that include_HTML is not working with WordPress 2.7. Luckily, the issue was fairly easy to fix, so I am pleased to present include_HTML 0.2…

The installation is WordPress standard:

  1. Download and unzip the include-html-0-2.zip file.
  2. Create an include-html directory on your WordPress server under wp-content/plugins.
  3. Put include-html.php into that directory.
  4. Activate the plugin using WordPress’ administrative interface.

Usage has not changed from the previous version: create a file containing (or dynamically generating using PHP or any other programming language) any combination of HTML and JavaScript you want (for example, let’s say the file is accessible as http://mysite.com/myfile.php) and include it into your post or page as follows:

[include_HTML: http://mysite.com/myfile.php]

Posted in Technology | Comments Off

include_HTML gets temperamental

A reader asks a question:

I am unable to add the a form object (book.php) after inserting [include_HTML: http://mysite.com/book.php] into page. Is there any issues with this plugin working with wordpress 2.7.1?

I did a quick test on a 2.7 installation and confirmed that the plugin indeed doesn’t work.   The reason has something to do with how the visual editor in 2.7 works.   Back in the times of WP 2.3, when include_HTML was developed, [include_HTML: http://example.com/] was stored as such.  Now, whatever the reason, the HTML editor transforms it into this:

[include_HTML:  http://example.com/]

There are two fixes for this problem:

1. Omit the whitespace between include_HTML: and the URL, like this:

[include_HTML:http://example.com/]

2. If you’re comfortable with PHP coding, open the plugin file (include-html.php), find the include_HTML_display() function in it, and edit one line as described below:

I have updated the plugin code accordingly.

Posted in Technology | 2 Comments

Crises, Bubbles, Crashes…

Brad DeLong posts a copy of a syllabus for a first-year PhD class titled Financial Crises, Bubbles, and Crashes. I had to have my own copy, so here it is…

Posted in History | Leave a comment

Juan Enriquez speaks at TED

Juan Enriquez discusses the future of the economy, healthcare, technology, and evolution (the original is here).

Posted in Technology | Leave a comment