Posts

Showing posts from August, 2007

Those Dang DPCs Clogging the MMCSS

Vista's funky networking performance amid multimedia playback elicited a reply from Microsoft's own Mark Russinovich:Besides activity by other threads, media playback can also be affected by network activity. When a network packet arrives at [the] system, it triggers a CPU interrupt, which causes the device driver for the device at which the packet arrived to execute an Interrupt Service Routine (ISR). Other device interrupts are blocked while ISRs run, so ISRs typically do some device book-keeping and then perform the more lengthy transfer of data to or from their device in a Deferred Procedure Call (DPC) that runs with device interrupts enabled. While DPCs execute with interrupts enabled, they take precedence over all thread execution, regardless of priority, on the processor on which they run, and can therefore impede media playback threads.Network DPC receive processing is among the most expensive, because it includes handing packets to the TCP/IP driver, which can result …

Google Sky

Image
Google today announced the release of Sky for Google Earth, a tool to marvel at the heavens and, with outstretched arm, reach for the hand of god.
Full Moon over GainesvilleIt is the most romantic software I have ever used. And I say this having played Leisure Suit Larry.

Open Spectrum

Image
Amusingly, my post on carbon tax is the eighth result for that query.
Carrying a chair through London, this man was sporting a Linux in a Nutshell t-shirtAT&T crippling BlackBerry GPS so that they don't outshine the iPhone? The FCC intends to adopt rules that allow open devices and open applications, a step toward preventing such chicanery, but I wait to see the auction's actual wording.Also, a Washington Post editorial on white space devices.Preorder my next book, Linux System Programming, today. Easily the greatest Linux system programming text I have ever read.

Robert's Blog Moved

Image
If reading this, you likely know that my blog moved to blog.rlove.org.The feed is available in both Atom and RSS.
London Bridge, River Thames, LondonIf you use a feed aggregator or run a planet, please update.

From the Worst Named to the Best

Image
For awhile now, I have intended to move away from PyBlosxom, mainly due to its name. Blogger does not have import functionality, but it does provide access via the incredibly powerful GData API, which is an Atom-based protocol for writing and reading data to and from Google services. Our mission is to organize the world's information and make it universally accessible and useful. In pursuit of that goal, GData lets you access data from outside of Google proper, or even from contexts other than a web browser.
Afternoon Tea, The Capital Hotel, LondonAnyhow, I wrote py2blogger over the weekend, a tool for importing your pyblosxom files into Blogger via GData. It likely works for blosxom, too.Two caveats. First, later versions of pyblosxom support storing entries in various formats. This tool works only with the classic model: Publish date is the file's m time, blog title is the first line in the file, blog entry is all subsequent lines.Second, Blogger implements rate limiting to h…

Carbon Tax

Image
John Dingell (D-MI), the Dean of the House of Representatives, in today's Washington Post: The Power in the Carbon Tax.The Congressman argues for a carbon tax but concludes that a cap-and-trade system is the more likely congressional outcome. The democratic presidential candidates apparently favor cap-and-trade over a carbon tax, too. Both observations are unfortunate.Several criticisms of cap-and-trade vìs-a-vìs the more efficient carbon tax:Implementing a cap-and-trade system is complex and requires the creation of government bureaucracy; a carbon tax is transparent and simple—less likely to be gamed, less likely to invite special interestCap-and-trade, with a fixed number of permits, makes no provisions for business cycle adjustments Most models of cap-and-trade (those without an auction, for example) do not raise revenue for the government—generating revenue from a Pigovian tax is great, because it can allow the government to lower taxes on productivity Permit prices can be v…