Friday, June 19, 2009

For a number of reasons, I got myself an HP mini 1010nr with the 8GB SSD drive. It's a nice little machine (and cheap: US$ 220), especially if you configure it with 2GB RAM and use the little "hidden" USB port to add some more SSD memory (another 2GB for home directories in my case). While the machine shipped with Windows XP SP3, a brief re-visit of that platform reaffirmed my desire to try the Ubuntu Netbook Remix, a special edition of (currently) Jaunty. Amazingly enough, the base image work almost perfectly off the USB stick (with one  quite notable exception - see below), so I gave it a try. Nixed Windows, put ext4fs on both the internal SSD and the 2GB /home stick, and installed.

Now  I noticed that sound was not working, but there were plenty of folks on the net claiming vicory, so I was not too worried. At the endo of the day, I did get it to work, using the simplified instructions here and fixing the reboot/mute problem this way. Note that you might want to add the following line to the bottom of your /etc/modprobe.d/alsa-base.conf file:

#correct model for HP mini 1010nr

options snd-hda-intel model=hp-m4 

Now, the only thing that turned out NOT to be working was the internal microphone which I need for Skype. The problem is that if you set the default recording devices to unmute, the mute again right after, and the microphone does not work.

After many hours of fairly fruitless searching, I stumbled across this post. It turned out to be close, but not the correct solution for the HP 1010NR: you leave the options as indicated above (reboot if necessary), and then set make sure "Digital" is unmuted, and set the Line Selectors to "line" and not "mic" or "front mic". That's all - microphone works now. 

tags

Friday, June 19, 2009 1:32:06 PM (Eastern Standard Time, UTC-05:00)  #    Comments [3]  | 
Saturday, June 13, 2009

This is a little off-topic: I just got an invite to cast my proxy vote for my Fidelity mutual funds. In addition to the usual crud like blessing the board, there was an initiative to instruct the board not to invest into companies that support genocide in e.g. Darfur. While this should be a no-brainer, I was extremely surprised to see that the current board (which is seeking re-election just two lines up) is strongly suggesting to vote AGAINST such guidance (see also here). Their line of thought is that they are already barred from any direct investment into companies related to Darfur and Sudan, and that every thing else (such as investments into PetroChina Co.) is just sound investment.

I strongly object to this: the activities of the Sudanese government and their henchmen in Darfur have been determined to be genocide and crimes against humanity.I do not want to see any of my money being used for fostering these criminals or any other group that perpetrate the most heinous crimes. At this time, I am very much leaning towards moving my entire portfolio away from Fidelity to TIAA-CREF if there is no satisfactory resolution on July 15.

tags:


Saturday, June 13, 2009 9:47:17 AM (Eastern Standard Time, UTC-05:00)  #    Comments [0]  | 
Tuesday, June 09, 2009

Right now, I am taking a class on Air Traffic Management (ATM), which is already yielding some very concrete useful knowledge: unbeknown to me, the FAA and NOAA have a lot of very interesting tools on the web. These web sites may help you to get a better picture of your expected delay; much better than what gets announced at the airport or within the cabin, anyways.

ATCSCC

The Air Trafic Control System Command Center (ATCSCC) is responsible for mananging the entire National Airspace System (NAS). As such, they are in charge of all re-rerouting and have tons of interesting data for travelers. From their web page I can recommend:

  • The overview map (by region or airport) on their home page gives you an interactive and easy to interpret view of the current air traffic situation. Clicking on the airport yields a summary of expected delays and their real reason (no more airline babble about that strange gasket that was out of order).
  • The Operational Information System has a nice overview about what is going on in the NAS in more detail.
  • The airport arrival demand chart tells you what the line for arrivals at the destination looks like. If there is a backup, you will fly happy holding patterns.
  • The advisories database has all current ATCSCC advisories, including ground stop (i.e. the reasons for sitting on the tarmac for 3 hours before getting cleared for departure). Note that these advisories are not in clear text, but you need to understand the shorthand.

Finally, you can sign up for an airport delay email notification for the 40 busiest US airports at: http://www.fly.faa.gov/ais/jsp/register.jsp

NOAA

The National Weather Service has an aviation weather site at http://aviationweather.gov/. There are a lot of interesting services there for the avid hobby pilot or flightsimulator nerd, but the CCFP is most interesting from a airline-delay-perspective: it provides a 2h, 4h, and 6h convective pattern forcast (read: bad flying weather). This, and the turbulence charts can tell you at what segment of your trip to expect flying coffee cups (in the best case). Putting everything together, you can install the Flight Path Tool for a rich client GUI.

tags:

Tuesday, June 09, 2009 5:06:34 PM (Eastern Standard Time, UTC-05:00)  #    Comments [0]  | 
Thursday, June 04, 2009
Today should be "International Freedom Day", against all suppression of individual liberties, everywhere.

Thursday, June 04, 2009 7:21:53 AM (Eastern Standard Time, UTC-05:00)  #    Comments [0]  | 
Wednesday, June 03, 2009

Working currently on an RelaxNG project, I needed to automate conversion of RNG schemas to a W3C compliant schema in NetBeans. The tool I used to perform the transform is Trang. I added this macro to the build.xml file:

<macrodef name="rng2xsd" description="Conversion from RNG to XSD schemas">
    <attribute name="rng" />
    <attribute name="xsd" />
    <sequential>
        <echo message="Convert RNG schema (trang/oxygen): @{rng}"/>
        <java classname="com.thaiopensource.relaxng.translate.Driver"
               failonerror="true" maxmemory="128m" fork="true">
            <arg value="-I"/>
            <arg value="rng"/>
            <arg value="-O"/>
            <arg value="XSD"/>
            <arg value="@{rng}"/>
            <arg value="@{xsd}"/>
            <classpath>
                <pathelement location="resources/tools/trang-20081028.jar"/>
            </classpath>
        </java>
    </sequential>
</macrodef>

All necessary libraries reside in the ./resources/tools directory. Now, in order to use this macro on a number of RNG files, I decided to use the <for> directive from ant-contrib. James Allen has good instructions on how to integrate ant-contrib within NetBeans (or arbitrary ant environments) without having to drop the ant-contrib Jar into the ant/NetBeans installation.

<target name="convertRng2Xsd">
    <echo message="Converting RNG Schemas..."/>
    <mkdir dir="${xsd-schemas}"/>
    <for list="${rng-files}" param="file">
        <sequential>
            <rng2xsd rng="${rng-schemas}/@{file}.rng" xsd="${xsd-schemas}/@{file}.xsd" />
        </sequential>
    </for>
</target>
Here I am iterating over the ${rng-files} property that contains a comma delimited list of the RNG files you want to convert (without the .rng extension). I filled this through <pathconvert>:
<pathconvert property="rng-files" pathsep=",">
    <mapper>
        <chainedmapper>
            <flattenmapper />
            <globmapper from="*.rng" to="*" />
        </chainedmapper>
    </mapper>
    <path>
        <fileset dir="resources/schemas" includes="*.rng" />
    </path>
</pathconvert>

Obviously, these XSDs can then be used with any other tools, such as JAXB.

Wednesday, June 03, 2009 2:00:09 PM (Eastern Standard Time, UTC-05:00)  #    Comments [3]  | 
Friday, May 29, 2009

This is a happy Friday afternoon rant.

I am still following the headlines for Sun (as long as that is still possible), and today I found some interesting headline: "Oracle Should Spin/Sell Sun Hardware Unit, Analyst Says". Well, interesting enough, I open the article, expecting some deep insight into what is going on. Unfortunately, the full report was not available, but the blog did mention the $23 dollar target set by the analyst, and that he would not know who might be interested in buying the Sun hardware business from Oracle.

Wow, impressive. Unless there is a lot of interesting detail in that research report (which is not available on AmTech's website), this is completely trivial: yeah, Oracle holding on to Sun's hardware business seems illogical from the outside. Good thing we have an analyst telling the world that. And Oracle will soon be at $23? I would neve have guessed that, given that they are currently at about $20, the market is pointing upward, and there is a good chance that the market will see the completion of the aquisition some time in the summer as something positive.

I think that I should consider a second career as software industry analyst: Money for nothing and the chicks for free...

Friday, May 29, 2009 4:24:50 PM (Eastern Standard Time, UTC-05:00)  #    Comments [0]  | 
Thursday, May 14, 2009

Trust is one of those concepts in IdM that are hard to define or measure, yet are at the basis of most of our transactions. There are a few different ways to look at trust or capture its essence, including reputation systems, assurance frameworks, and similar solutions. At the end of the day, however, it most often comes down to this:

Basic law of trust (BLT): Alice will only trust Bob in a transaction, if the benefits outweigh the perceived risk plus her personal margin of safety.

Sometimes there are situations where we MUST trust another party (through legal requirements or lack of other options), but these can be seen as special cases.  

Now, applying the BLT, one has to manage both parts of the equation: risk (including the safety margin) and benefits. The benefits can be rather manifold, and cover all aspects of internet usage: services, purchases, personal enjoyment.

The risk on the other side can also fall into different categories: financial, reputation, legal, etc. In many cases the financial risks are most prominent: for example, when I buy some book on the internet, how can I be assured that (i) I really get the book, and (ii) my financial and personal information (shipping address) is safe and not misused. Obviously, I do have to trust the retailer and his ecosystem of partners (payment provider, shipping company, etc.) to perform the requested services to my satisfaction.

Reputation of the retailer does play a critical role: if I personally know people that had a good shopping experience at the retailer, and in addition know that there are (apparently?!) many good review by people I do not know, I am tempted to assume that the risk is not too big. At the end of the day however, it really comes down to this:

Financial trust - sue and collect: Alice will only trust Bob, if - in case something goes wrong - Alice has legal recourse and can expect Bob being able to pay sufficient damages.

I am not 100% sure if this is really at the foundation of trust in commercial transactions, but it seems to be at least one important factor. Obviously this is not a very optimistic point of view, hence the title of the blog entry.


Thursday, May 14, 2009 7:56:58 AM (Eastern Standard Time, UTC-05:00)  #    Comments [1]  | 
Tuesday, May 12, 2009
Ok, fair enough - I give up: now on Twitter: @beuchelt. Big question: what are people using to keep up with Twitter? Right now I got the MicroBlog plugin for Pidgin, but I am not 100% sure if I like it.

Tuesday, May 12, 2009 8:04:20 AM (Eastern Standard Time, UTC-05:00)  #    Comments [0]  | 

Copyright by Gerald Beuchelt.