<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" 
   xmlns:atom="http://www.w3.org/2005/Atom"
   xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule" 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" 
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/">
<channel>
   <title>Get Up 8</title>
   <link>http://hakki.cornelii.org</link>
   <atom:link href="http://hakki.cornelii.org/index.rss"
       rel="self" type="application/rss+xml" />
   <description>Michael's Internal Dialogue</description>
   <language>en</language>
   <copyright>Copyright &#169; 2004-2012 Michael Cornelius</copyright>
   <ttl>60</ttl>
   <pubDate>Wed, 02 Sep 2009 20:25 GMT</pubDate>
   <managingEditor>michael@ninthorder.com (Michael Cornelius)</managingEditor>
   <generator>PyBlosxom http://pyblosxom.sourceforge.net/ 1.4.2 8/16/2007</generator>

<!--
vim: nobackup
-->
<item>
   <title>Ripples from an Ugly House</title>
   <guid isPermaLink="false">ripples</guid>
   <link>http://hakki.cornelii.org/ripples.html</link>
   <description><![CDATA[ 
<p>A friend, in response to <a
    href="http://journalstar.com/news/local/govt-and-politics/article_1bc58996-9769-11de-ae56-001cc4c03286.html">an
    article in the LJS</a>, <a
    href="http://www.facebook.com/posted.php?id=165401597&amp;share_id=145334527384&amp;comments=1&amp;ref=share#div_story_145334527384_145334527384">said</a>:</p>

<blockquote>
    <p>...Is part of being in a neighborhood with others mean they
    have to conform to the standards of certain people in the group? In
    the new article the end mentions someone who said, <q>They said the
        property owner should be left alone as long as he doesn't bother
        anyone.</q> Is there danger to the neighborhood if this house is
    left as it is?</p></blockquote>

<p>I tried to respond in the forum where this took place, but length
limits on responses made a thoughtful, complete response impossible, so
I moved it here:</p>

<p>A hundred people, many with reservations about liberty,
individuality, and social justice, turned out to demonstrate that the
owner <em>is</em> bothering them, so the initial premise of the resident
quoted at the end of the article is simply flawed. The owner, by
allowing his property to fall into disrepair, dilapidation, and blight,
is bothering someone, so now what?</p>

<p>...And that was the main theme of the evening: So now what do we do,
not only about this house, but the problem of decaying and dilapidated
properties in general?</p>

<p>I can think of a few <q>dangers</q> the neighborhood faces resulting
from properties like this, causing us to consider the question <q>So now
    what?</q></p>

<ul>
    <li>There are actual physical dangers like vermin infestation, mold,
    problems with sight lines on the intersection in question, and
    attractive nuisance.</li>
    <li>The neighbors across the intersection are trying to sell their
    house. Are potential buyers more or less likely to purchase their
    house with the problem house sitting just across the street? What
    effect will this have on surrounding property values?</li>
    <li>Anyone who has lived in Lincoln for any length of time knows
    that there's a stigma attached to the north side (north of O), and
    the core neighborhoods (around downtown, both north and south). Does
    blighted housing stock aggravate or mitigate this perception?</li>
</ul>

<p>Blight and the perception of blight drive decreasing economic
diversity in Lincoln's core, as more affluent residents &mdash; those
who can afford it &mdash; opt to live in the suburbs or on acreages.
This has all sorts of negative consequences, such as continuing decline
in the core as it's starved for resources, pressure on critical services
to cover an exponentially increasing area (increasing costs and
decreasing effectiveness), and increased natural resource
consumption.</p>

<p>A lot of hay has been made about things like paint colors, because
its easy to point at that by both those calling for change and those
saying live and let live. The real issues are more profound.</p>

<!--
vim:tw=72:ft=html:nobackup
-->
 ]]></description>
   <pubDate>Wed, 02 Sep 2009 20:25 GMT</pubDate>
</item>
<item>
   <title>Remove Experts Exchange from Google Search Results</title>
   <guid isPermaLink="false">gm_xx</guid>
   <link>http://hakki.cornelii.org/gm_xx.html</link>
   <description><![CDATA[ 
<p>About once I week I do a <a href="http://google.com/">google</a>
search, usually regarding the vagueries of C++ destructors or something,
that produces a raft of hits from experts-exhange.com and the top of the
results. Since experts-exchange.com hooking you with questions, then
hitting you up for cash before it actually gives you the information
you're looking for, these bogus results are a distraction from the task
at hand.</p>

<p>Usually I just hold my nose and scroll by these results, but then a <a
    href="http://twitter.com/lzantal/status/3517240842">tweet</a>
reminded me of the <a href="http://www.hhhh.org/wiml/virtues.html">Three
    Virtues</a>. Why the hell isn't the computer doing this work for
me?</p>

<p>So after teaching myself a little javascript and a little xpath
(again), I rolled a <a
    href="https://addons.mozilla.org/en-US/firefox/addon/748">greasemonkey</a>
<a href="http://userscripts.org/">user script</a> to remove these pesky
obstacles to real information.</p>

<p>The script can be found <a
    href="http://userscripts.org/scripts/show/56709">here</a>.
You will need to install greasemonkey (and <a
    href="http://www.mozilla.com/en-US/firefox/">firefox</a>) before you
can use it.</p>

<p>Todo:</p>
<ul>
    <li>UI for adding domains to remove from the searches.</li>
    <li>Support other search engines.</li>
</ul>
<!--
vim:filetype=html:tw=72:ai:nobackup
-->
 ]]></description>
   <pubDate>Sun, 30 Aug 2009 15:32 GMT</pubDate>
</item>
<item>
   <title>Door-to-Door Magazine Scam</title>
   <guid isPermaLink="false">magazine_scam</guid>
   <link>http://hakki.cornelii.org/magazine_scam.html</link>
   <description><![CDATA[ 
<p>We've enjoyed vists from two young men in the last week, each with with
well-rehearsed pitches about some National Communications Award and dog-eared
lists of magazine titles with no prices. Their appeals were emotional, and they
turned up the pressure when I said, <q>No, thanks.</q></p>

<p>According to the FTC and other sources these come-ons are a scam, and you
end up paying many times the cover price of the magazine and will probably
never receive an issue.</p>

<p>The officer I spoke to with <a
href="http://www.lincoln.ne.gov/city/police/">LPD</a> last night suggested
that, when such people
knock on the door, we should ask to their peddler's permit. If they cannot
produce one, the officer asked me to call LPD (441-6000) and report it.</p>

<p>The police are very interested in this, and I gather there may be abusive
labor practices involved along with the fraud.</p>

<p>FTC page on magazine sales scams:
<a
href="http://www.ftc.gov/bcp/edu/pubs/consumer/telemarketing/tel03.shtm">http://www.ftc.gov/bcp/edu/pubs/consumer/telemarketing/tel03.shtm</a></p>

<!--
vim:ft=html tw=72 nobackup
-->
 ]]></description>
   <pubDate>Wed, 24 Jun 2009 14:14 GMT</pubDate>
</item>
<item>
   <title>Quick and Dirty Text-to-Speech in Python</title>
   <guid isPermaLink="false">quick_py_tts</guid>
   <link>http://hakki.cornelii.org/quick_py_tts.html</link>
   <description><![CDATA[ 
<p>I looked around for some python bindings for <a
    href="http://www.cstr.ed.ac.uk/projects/festival/">Festival</a>, but neither pyfestival nor pyfest seem to be maintained. I was too tired to use swig or similar to wrap the C++ library. Instead, I wrote a thin shim between python and the Scheme-based command interpreter. (You must have festival installed.)</p>

<pre><code>
import os

BIN="/usr/bin/festival"

class Festival(object):
    def __init__(self):
        self.p = os.popen("%s --pipe" % BIN, "w")

    def eval(self, scm):
        self.p.write(scm + "\n")
        self.p.flush()

    def say(self, text):
        text = text.replace('"', '')
        self.eval('(SayText "%s")' % str(text))
</code></pre>

<p>Import <a href="http://cornelii.org/~michael/festival.py">the module</a>, instantiate a Festival object, and call its "say" method to create utterances.</p>

<pre><code>
&gt;&gt;&gt; import festival
&gt;&gt;&gt; tts = festival.Festival()
&gt;&gt;&gt; tts.say("Hello, world.")
</code></pre>

<p>It's quick. It's dirty. It works.</p>
 ]]></description>
   <pubDate>Sun, 21 Jun 2009 04:25 GMT</pubDate>
</item>
<item>
   <title>Building cURLpp 0.7.2</title>
   <guid isPermaLink="false">building_curlpp</guid>
   <link>http://hakki.cornelii.org/building_curlpp.html</link>
   <description><![CDATA[ 
<p>I want to use <a
    href="http://rrette.com/textpattern/index.php?s=cURLpp">cURLpp</a>
for a project I've been working on, but there's no package for
Ubuntu.</p>

<p>I downloaded the tarball, but discovered that example 18 would not
compile. It would fail with the following error:</p>

<blockquote><pre><tt>
example18.cpp: In function ‘int main(int, char**)’:
example18.cpp:85: error: ‘BoostWriteFunction’ is not a member of ‘cURLpp::Options’
example18.cpp:85: error: ‘test’ was not declared in this scope
example18.cpp:85: error: expected type-specifier
example18.cpp:85: error: expected `;'
make[1]: *** [example18.o] Error 1
</tt></pre></blockquote>

<p>I discovered that usage of the <a href="http://boost.org/">Boost
    libraries</a> was an option, and wasn't being tested for in example
18. <code>boost::bind</code> is one of the tools I frequently use in
C++, the Boost support seems less optional to me, so I cleaned and ran
<tt>configure --with-boost</tt>. Still, I got the error.</p>

<p>It became clear that the <tt>configure</tt>-generated config.h was
not being included. This patch fixed that, and fixed the compile:</p>

<blockquote><pre><code>
--- ../../curlpp-0.7.2-orig/curlpp/global.h     2007-09-22 09:31:10.000000000 -0500
+++ global.h    2009-04-05 10:57:58.000000000 -0500
@@ -26,6 +26,8 @@
 
 #ifndef HAVE_CONFIG_H
 #include "config.win32.h"
+#else
+#include "config.h"
 #endif
 
 #endif
</code></pre></blockquote>

<!--
vim:filetype=html:tw=72:ai:nobackup
-->
 ]]></description>
   <pubDate>Sun, 05 Apr 2009 16:02 GMT</pubDate>
</item>
</channel>
</rss>

