keath's blog

MinGW/MSYS Vista Issues

The MinGW and MSYS environment has a couple of problems under Windows Vista:

First, the install, install-info and patch commands are flagged automatically by Vista as requiring Administrator privileges based simply on their names. Nice. This will cause mysterious permission denied errors during builds. The UAC dialog won't pop up in this case either.

The fix is to add ".manifest" files for each of these commands in the same directory as the command. The manifest file looks something like this:

install.exe.manifest:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
  <assemblyIdentity version="1.0.0.0"
     processorArchitecture="X86"
     name="install.exe"
     type="win32"/>

  <!-- Identify the application security requirements. -->
  <trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
    <security>
      <requestedPrivileges>
        <requestedExecutionLevel
          level="asInvoker"
          uiAccess="false"/>
        </requestedPrivileges>
       </security>
  </trustInfo>
</assembly>

Create and edit one of these for each of the commands above. If you have Cygwin, you can copy them from /cygwin/bin.

The second problem I ran into under Vista is that tar operations on gzipped or bzip2 files will frequently fail with a "child died with signal 13" error. It appears that the MSYS versions of gzip and bzip2 have issues under Vista. I can use the Cygwin versions in their place with no problems. If you're using MSYS to build packages, be careful with having cygwin in your PATH however.

Free Virtual Machines for Windows

I recently had the need for a virtualization solution for Windows to host some Linux-based embedded development tools. Not wanting to shell out big bucks for one of the commercial solutions, I decided to check out some of the free options.

How bout that 'change'?

image

Commuter rail still doesn't have clearance to operate

Capital Metro's commuter rail line, set to begin operation in a few months, still doesn't have approval from the Federal Railroad Administration.

Wear: What's in rail name? Tougher rules

Looks like former rail director, Rich Krisak bailed for Atlanta just in time.

RIP: Richard Wright

image Richard Wright, keyboardist and founding member of Pink Floyd, died today of cancer.

Pink Floyd’s Richard Wright Dies at 65 - Obituary (Obit) - NYTimes.com

BarackObama.com vs. JohnMcCain.com

image image

IdolHands takes a look at BarackObama.com and JohnMcCain.com to see how they stack up against each other in standards-compliance and design. The verdict? Republicans still have work to do.

Houston's "Danger Train" accidents going unreported

image A pedestrian was struck by a Houston Metro Rail train earlier this week. One of nearly 40 rail accidents that go unreported or underreported. Another glimpse of things to come for Austin.

CapMetro commuter rail behind schedule and bleeding cash

Capital Metro's commuter rail line is (not surprisingly) running behind schedule. The rail line running from Leander to downtown Austin is now not expected to open until March.

One more broken promise from CapMetro. First, Austin taxpayers get soaked with annual operating costs that are double what they voted for, now the project is months late.

Rainbow for Firebug - javascript syntax highlighting add-on for Firefox

image 

If you use Firebug, this is a must-have. Rainbow adds syntax highlighting to the Firebug Javascript debugger for Firefox. This really improves readability of the script you're debugging.

Secret blog published in robots.txt

Hasn't been updated in a while, but an interesting idea:

http://www.webmasterworld.com/robots.txt

Hidalgo deputies struggle to figure how to arrest and jail 1,000lb woman

Woman's weight poses challenge for courts in murder case:

The Hidalgo County Jail is not equipped to handle an inmate who weighs nearly 1,000 pounds, Sheriff Lupe Trevino said. And even if a cell and a bed for Rosales were available, deputies are not sure if the physician on staff can handle her various medical needs.

The costs of checking Rosales in for constant medical care could reach as high as $5,000 a day, according to the district attorney's office.

City of Austin pays $50,000 to learn that panhandlers have issues

Austin's Health and Human Services and Police departments paid UT $48,000 to survey Austin's omnipresent panhandlers. I'm sure they were shocked to learn that these people have problems:

Panhandlers in Austin want regular jobs but confront multiple barriers, including mental health problems and lack of identification materials, that make it hard for them to secure them, according to a study conducted by University of Texas researchers for the City of Austin.

I'm more than a little skeptical of the "want regular jobs" part.

This comes after caving to homeless advocates on stricter panhandling. If you haven't been to Austin lately, imagine a busy intersection - just about any intersection in any part of town - and then imagine at least two panhandlers, sometimes three. There are multiple well-established homeless camps under several bridges just in Northwest Austin alone. Even more downtown. Apparently, the police can't do anything to remove them.

Welcome to the hobo capital of the southwest.

 

Update: much more on this at Quid Nimis

Immigration notes

Two stories today on illegal immigration. First, the Statesman has a report about state Sen. Dan Patrick and Rep. Frank Corte, Jr.'s request to the Attorney General to issue an opinion on the policies of "sanctuary cities" (like Austin) that restrict the ability of local police to enforce immigration laws. Cities like Austin argue that police should be focused on crime, not immigration. Entering the country illegally is a crime.

Also, the Travis Monitor reports on the upcoming state house district 50 race between Democrat incumbent Mark Strama and Republican challenger Jerry Mikus. North Austin conservatives will be interested to know that their representative voted in favor of giving illegal immigrants welfare.

AISD to vote on property tax increase next Monday

I blogged about this a couple of weeks ago. AISD met last night to take public input on a proposed property tax increase to pay for teacher raises and benefits. No one opposed to the increase showed up for the meeting. The board will vote next Monday to put the proposal on the November ballot.

I'm not vehemently opposed to giving teachers a raise personally. I just wish any tax increases would be matched with a complimenting increase in accountability.

Supporting the Eclipse Project

image

I just donated to the Eclipse Foundation and became a "Friend of Eclipse". I've been using the Eclipse platform for years for a variety of applications both professional and personal. It has certainly paid me, so I thought it was time to give a little back.

ATF, we miss you

One of the reasons I donated was to help support the PDT (PHP Development Tools) and ATF (AJAX Tools Framework) Eclipse projects (although I also use the Java and C/C++ tools pretty heavily too). PDT is rapidly become the standard platform for PHP development and ongoing work on the project has been robust.

The ATF is a great project, but has been a bit resource starved for the past year or so. ATF allows you to integrate with your favorite AJAX toolkit (like Dojo, jQuery or whatever) and then develop and debug Javascript code using the embedded Mozilla XULRunner. It's a very slick way to develop Javascript code without shelling out big bucks for a commercial package. Unfortunately, the last stable build was released nearly a year ago and doesn't run on Ganymede (the current version of Eclipse).

Hopefully, we'll see a new release from the ATF project soon.

D-Bus gotchya

I happened to need to compile some D-Bus code and ran into a compile error:

dbus-example.c:8:23: error: dbus/dbus.h: No such file or directory

I checked to make the D-Bus development headers were installed and they were. A little Googling shows that others commonly run into this as well - the problem is that the D-Bus headers aren't included in the default compiler include path. You you need to explicitly specify them with:

gcc -I /usr/include/dbus-1.0 -I /usr/lib/dbus-1.0/include -ldbus-1 -o dbus-example dbus-example.c

Austin Bloggers puts the smackdown on real-estate blogs

Austin Bloggers News and Announcements: Zero Tolerance:

In the past week, I've removed six real estate blogs from the portal for violating the guidelines of this site. I intend to remove on sight any real estate blog (or, for that matter, any non-personal blog) that violates the guidelines.

I was wondering when this was going to happen. As the housing market has gotten tighter, real estate agents are obviously trying to squeeze all of the exposure they can out of every possible medium. Unfortunately, they've been pushing it too far on Austin Bloggers lately - in many cases using the aggregator as a free listing site. Austin Bloggers usage guidelines prohibit commercial/promotional posting.

Austin considering $2.3bn wood-burning biofuel plant

Our mayor and city council... the bigger the price tag, the more they seem to like any proposal that comes to the chamber.

The Travis Monitor: Up in Smoke - Austin's BioFuel Boondoggle

Incredible video enhancement technology

image

This technology uses photographs to enhance the resolution, exposure and other aspects of a static video scene. It can also be used to add, remove or alter objects in the scene.

Here is a video of the technique in action:

Don't believe for a minute Pickens is motivated by altruism

Valleywag has more on T. Boone Pickens' energy scam:

Greenwashing: T. Boone Pickens proves where there's a drill, there's a way

Greenwashing — the practice of gussying up old-fashioned capitalism as newfangled Earth-saving — is an art form. I used to think local greenwashers Pacific Gas & Electric and spam-prone solar shill Steve Westly were the masters. But they look like rank amateurs compared to Oklahoma native T. Boone Pickens. The man is a case study in how to effectively cloak your greed in green. As a result, he's won plaudits, taxpayer money, and eminent domain over private property. The latest example?

Update: The Travis Monitor has more.