<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-4833122380958966899</id><updated>2024-10-05T11:36:25.553+09:00</updated><title type='text'>Y_{0}</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://densui.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4833122380958966899/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://densui.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/4833122380958966899/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>水銀</name><uri>http://www.blogger.com/profile/15688931597327144737</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>124</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4833122380958966899.post-6365108205864203716</id><published>2015-03-10T22:31:00.001+09:00</published><updated>2015-03-10T22:31:39.654+09:00</updated><title type='text'>Space Engineers and stone removal</title><content type='html'>This is one of those cases where the editor just isn&#39;t wide enough.  Attached is some code that I wrote for a friend because I know some C#.  It is for the starting miner ship, but it&#39;s not completely functional because it does not sort all items to the connector.  You need a second connector to dump waste.  I only had a basic understanding of the game&#39;s systems.  Good luck!

&lt;style type=&quot;text/css&quot;&gt;.csharpcode, .csharpcode pre
{
 font-size: 13.3333px;
 font-width: 400;
 color: black;
 font-family: &quot;Courier New&quot;;
}
.csharpcode pre { margin: 0px; }
.csharpcode .comment { color: #008000; }
.csharpcode .comment2 { color: #808080; }
.csharpcode .type { color: #2B91AF; }
.csharpcode .keyword { color: #0000FF; }
.csharpcode .string { color: #A31515; }
.csharpcode .preproc { color: #0000FF; }
&lt;/style&gt;
&lt;div class=&#39;csharpcode&#39;&gt;Code:&lt;pre style=&#39;border:1px dashed #CCCCCC;overflow-x:auto;overflow-y:hidden;background:#f0f0f0;padding:0px;color:#000000;text-align:left;line-height20px;color:#000000;word-wrap:normal;&#39;&gt; &lt;span class=&#39;keyword&#39;&gt;void&lt;/span&gt; Main() 
 { 
    &lt;span class=&#39;type&#39;&gt;var&lt;/span&gt; blockTerminal = &lt;span class=&#39;keyword&#39;&gt;new&lt;/span&gt; &lt;span class=&#39;type&#39;&gt;List&lt;/span&gt;&amp;lt;&lt;span class=&#39;type&#39;&gt;IMyTerminalBlock&lt;/span&gt;&amp;gt;();
    &lt;span class=&#39;type&#39;&gt;var&lt;/span&gt; blockProduction = &lt;span class=&#39;keyword&#39;&gt;new&lt;/span&gt; &lt;span class=&#39;type&#39;&gt;List&lt;/span&gt;&amp;lt;&lt;span class=&#39;type&#39;&gt;IMyTerminalBlock&lt;/span&gt;&amp;gt;();  
    
    GridTerminalSystem.GetBlocksOfType&amp;lt;IMyCargoContainer&amp;gt;(blockTerminal); 
    GridTerminalSystem.GetBlocksOfType&amp;lt;IMyProductionBlock&amp;gt;(blockProduction); 
    
    &lt;span class=&#39;comment&#39;&gt;//now get the Wastedump connector.  You need to use an object that can eject stuff &lt;/span&gt;
    &lt;span class=&#39;type&#39;&gt;IMyShipConnector&lt;/span&gt; wasteboxport = GridTerminalSystem.GetBlockWithName(&lt;span class=&#39;string&#39;&gt;&amp;quot;Connector&amp;quot;&lt;/span&gt;) &lt;span class=&#39;keyword&#39;&gt;as&lt;/span&gt; &lt;span class=&#39;type&#39;&gt;IMyShipConnector&lt;/span&gt;;    
    &lt;span class=&#39;type&#39;&gt;var&lt;/span&gt; wastebox = wasteboxport &lt;span class=&#39;keyword&#39;&gt;as&lt;/span&gt; Sandbox.ModAPI.Interfaces&lt;span class=&#39;type&#39;&gt;IMyInventoryOwner&lt;/span&gt;;     &lt;span class=&#39;comment&#39;&gt;//this is the transfer target&lt;/span&gt;
    
    blockTerminal.AddRange(blockProduction);  &lt;span class=&#39;comment&#39;&gt;//merge lists, notice the &amp;quot;AddRange&amp;quot; due to the class type&lt;/span&gt;
    blockTerminal.Add(wasteboxport);  &lt;span class=&#39;comment&#39;&gt;//merge lists, note the &amp;quot;Add&amp;quot;&lt;/span&gt;


    &lt;span class=&#39;keyword&#39;&gt;int&lt;/span&gt; i_counterBlockTerminal;
    &lt;span class=&#39;keyword&#39;&gt;int&lt;/span&gt; i_counter_source;
    &lt;span class=&#39;keyword&#39;&gt;int&lt;/span&gt; i_counter_inventory;
    
    &lt;span class=&#39;keyword&#39;&gt;if&lt;/span&gt;(blockTerminal.Count==0)
    {
    ;;
    }&lt;span class=&#39;keyword&#39;&gt;else&lt;/span&gt;
    {
        &lt;span class=&#39;keyword&#39;&gt;for&lt;/span&gt; (i_counterBlockTerminal=0; i_counterBlockTerminal&amp;lt;blockTerminal.Count; i_counterBlockTerminal++)&lt;span class=&#39;comment&#39;&gt;//loop through each block&lt;/span&gt;
        {
            &lt;span class=&#39;type&#39;&gt;var&lt;/span&gt; inventory_source = blockTerminal[i_counterBlockTerminal] &lt;span class=&#39;keyword&#39;&gt;as&lt;/span&gt; Sandbox.ModAPI.Interfaces&lt;span class=&#39;type&#39;&gt;IMyInventoryOwner&lt;/span&gt;; 
       &lt;span class=&#39;comment&#39;&gt;//         throw new Exception(&amp;quot;inventory_source.InventoryCount: &amp;quot;+inventory_source.InventoryCount);&lt;/span&gt;
            &lt;span class=&#39;keyword&#39;&gt;for&lt;/span&gt;(i_counter_source=0; i_counter_source&amp;lt;inventory_source.InventoryCount; i_counter_source++)&lt;span class=&#39;comment&#39;&gt;//loop through each item of the selected block            &lt;/span&gt;
            {       &lt;span class=&#39;comment&#39;&gt;// also, because inventory is of type IMyInventoryOwner, I had to make the &amp;quot;Count&amp;quot; method InventoryCount&lt;/span&gt;
                   &lt;span class=&#39;type&#39;&gt;var&lt;/span&gt; inventory_items = inventory_source.GetInventory(i_counter_source).GetItems(); 
                   &lt;span class=&#39;comment&#39;&gt;// throw new Exception(&amp;quot;inventory_items.Count: &amp;quot;+inventory_items.Count);&lt;/span&gt;
                &lt;span class=&#39;keyword&#39;&gt;for&lt;/span&gt;(i_counter_inventory=0; i_counter_inventory&amp;lt;inventory_items.Count; i_counter_inventory++) 
                {
                    &lt;span class=&#39;type&#39;&gt;var&lt;/span&gt; item_name = inventory_items[i_counter_inventory].ToString().Split(&lt;span class=&#39;string&#39;&gt;&#39;x&#39;&lt;/span&gt;);   &lt;span class=&#39;comment&#39;&gt;//need to split the &amp;quot;amount x name&amp;quot; string&lt;/span&gt;
                    &lt;span class=&#39;comment&#39;&gt;//throw new Exception(&amp;quot;blockTerminal[&amp;quot;+i_counterBlockTerminal+&amp;quot;]inventory_source[&amp;quot;+i_counter_source+&amp;quot;]: &amp;quot;+item_name[0]);&lt;/span&gt;
                    &lt;span class=&#39;keyword&#39;&gt;string&lt;/span&gt; item_type = item_name[1];
                    &lt;span class=&#39;keyword&#39;&gt;if&lt;/span&gt; (item_type.Contains(&lt;span class=&#39;string&#39;&gt;@&amp;quot;Ingot/Stone&amp;quot;&lt;/span&gt;) || item_type.Contains(&lt;span class=&#39;string&#39;&gt;@&amp;quot;Ore/Stone&amp;quot;&lt;/span&gt;))
                    {
                        &lt;span class=&#39;comment&#39;&gt;//move everything into the waste connector&lt;/span&gt;
                        &lt;span class=&#39;comment&#39;&gt;//throw new Exception(&amp;quot;item_type: &amp;quot;+item_type);&lt;/span&gt;
                        inventory_source.GetInventory(i_counter_source).TransferItemTo(wastebox.GetInventory(0), i_counter_inventory, &lt;span class=&#39;keyword&#39;&gt;null&lt;/span&gt;, &lt;span class=&#39;keyword&#39;&gt;true&lt;/span&gt;, &lt;span class=&#39;keyword&#39;&gt;null&lt;/span&gt;); 
                    }  
                }

            }
        }
        &lt;span class=&#39;comment&#39;&gt;//the end of moving things to the connector&lt;/span&gt;
        wasteboxport.GetActionWithName(&lt;span class=&#39;string&#39;&gt;&amp;quot;ThrowOut&amp;quot;&lt;/span&gt;).Apply(wasteboxport); 
    }
 }
&lt;!--[if IE]&gt;

&lt;![endif]--&gt;&lt;/pre&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://densui.blogspot.com/feeds/6365108205864203716/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://densui.blogspot.com/2015/03/space-engineers-and-stone-removal.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4833122380958966899/posts/default/6365108205864203716'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4833122380958966899/posts/default/6365108205864203716'/><link rel='alternate' type='text/html' href='http://densui.blogspot.com/2015/03/space-engineers-and-stone-removal.html' title='Space Engineers and stone removal'/><author><name>水銀</name><uri>http://www.blogger.com/profile/15688931597327144737</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4833122380958966899.post-5547995196120745277</id><published>2014-03-31T18:58:00.001+09:00</published><updated>2014-03-31T18:58:36.715+09:00</updated><title type='text'>Cadence and tunneling ports</title><content type='html'>Cadence periodically changes ports.  There is a &quot;base&quot; connection port, 
and then some client ports.  I recently helped a friend tunnel their license server connection
so that he could push rectangles in the coffee shop. &lt;br /&gt;&lt;br /&gt;

As an example, the license port is specified:
&lt;pre&gt;
CDS_LIC_FILE=5280@ecelinsrv3.ece.gatech.edu
&lt;/pre&gt;
However, Cadence opens a bunch of client ports, so you need to forward more than just the primary port. In the end, the forwarding script (tun.sh) looked like:
&lt;pre&gt;
#!/bin/sh
ssh -C -2 -f -N -g \
-L 5280:ecelinsrv3.ece.gatech.edu:5280 \
-L 32801:ecelinsrv3.ece.gatech.edu:32801 \
-L 32815:ecelinsrv3.ece.gatech.edu:32815 \
ecelinsrv9.ece.gatech.edu
&lt;/pre&gt;

The higher number ports you need to find with:
&lt;pre&gt;
netstat -tulpn
&lt;/pre&gt;
It will list groups of TCP ports, and add those to the script until you get a successful tunneling of the license.  In my case, 32801 and 32815 where the secondary ports to forward that day.  It is also worth noting that these seem to change every once in awhile, so if you cannot get a license, you will need to update the port list. 

</content><link rel='replies' type='application/atom+xml' href='http://densui.blogspot.com/feeds/5547995196120745277/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://densui.blogspot.com/2014/03/cadence-and-tunneling-ports.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4833122380958966899/posts/default/5547995196120745277'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4833122380958966899/posts/default/5547995196120745277'/><link rel='alternate' type='text/html' href='http://densui.blogspot.com/2014/03/cadence-and-tunneling-ports.html' title='Cadence and tunneling ports'/><author><name>水銀</name><uri>http://www.blogger.com/profile/15688931597327144737</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4833122380958966899.post-7770469020365575629</id><published>2014-01-06T08:22:00.002+09:00</published><updated>2014-01-06T08:22:31.296+09:00</updated><title type='text'>Computer Scientists are pretty much worthless when it comes to conserving anything.</title><content type='html'>Bits are equal to power.  Let&#39;s say that I want a simple tool to get a file, in this case &quot;wget&quot;.  One would think that it would be simple to compile it, or get it; however, here&#39;s the build dependency list:&lt;br /&gt;

&lt;pre&gt;
gnutls libtasn1 nettle p11-kit desktop-file-utils glib2 libffi perl5 perl5.12 gdbm popt libxslt libxml2 xz libgcrypt libgpg-error pcre
&lt;/pre&gt;
Perl?  I don&#39;t want Perl.  I can see how libgcrypt and a few others are in there.  I get to eat up flash write cycles, power, time just because someone decided to include perl.  &lt;br /&gt;
&lt;br /&gt;
Program packages should be as small as possible.  This is important in an energy constrained environment or just as a function of time.   
</content><link rel='replies' type='application/atom+xml' href='http://densui.blogspot.com/feeds/7770469020365575629/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://densui.blogspot.com/2014/01/computer-scientists-are-pretty-much.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4833122380958966899/posts/default/7770469020365575629'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4833122380958966899/posts/default/7770469020365575629'/><link rel='alternate' type='text/html' href='http://densui.blogspot.com/2014/01/computer-scientists-are-pretty-much.html' title='Computer Scientists are pretty much worthless when it comes to conserving anything.'/><author><name>水銀</name><uri>http://www.blogger.com/profile/15688931597327144737</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4833122380958966899.post-7909960086093681047</id><published>2013-12-24T02:05:00.000+09:00</published><updated>2013-12-24T02:05:03.845+09:00</updated><title type='text'>removing the password from PDF files.</title><content type='html'>PDF files with passwords really do not make much sense.  &lt;a href=&quot;http://nextretro.blogspot.com/2013/12/making-better-documentation.html&quot;&gt;You can remove the PDF password easily&lt;/a&gt;, and for free.  You just need &lt;a href=&quot;http://sourceforge.net/projects/ghostscript/&quot;&gt;ghostscript&lt;/a&gt; installed.

&lt;pre&gt;
gs -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=PDFnopass.pdf -c .setpdfwrite -f PDFwithPASSWORD.pdf
&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://densui.blogspot.com/feeds/7909960086093681047/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://densui.blogspot.com/2013/12/removing-password-from-pdf-files.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4833122380958966899/posts/default/7909960086093681047'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4833122380958966899/posts/default/7909960086093681047'/><link rel='alternate' type='text/html' href='http://densui.blogspot.com/2013/12/removing-password-from-pdf-files.html' title='removing the password from PDF files.'/><author><name>水銀</name><uri>http://www.blogger.com/profile/15688931597327144737</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4833122380958966899.post-8334179840357551096</id><published>2013-10-27T09:58:00.000+09:00</published><updated>2013-10-27T09:58:33.176+09:00</updated><title type='text'>Cross platform Makefile</title><content type='html'>I needed to change my Makefile to output different target information based on the Operating System.  This turned out more difficult than I thought since Windows doesn&#39;t have uname.  I asked some friends, and the gave me some code snippets.  To start with find the OSCLASS and OSNAME.
&lt;pre&gt;
ifeq ($(OS),Windows_NT)
    OSCLASS = windows
    OSNAME=windows
else
    OSCLASS = unix
    UNAME_S := $(shell uname -s)
    ifeq ($(UNAME_S),Linux)
     OSNAME = linux
    endif
    ifeq ($(UNAME_S),Darwin)
        OSNAME = osx
    endif
endif
&lt;/pre&gt;
You can then do switches based upon the compiling OS.  The biggest one was that I needed to output to a file.  The problem with files that would write to both windows and unix is that the shell commands are different, so I need to address the differences in commands.
&lt;pre&gt;
ifeq ($(OSCLASS),unix)
    FIXDIR = $1
    COMMANDCAT = cat
else
    FIXDIR = $(subst /,\,$1)
    COMMANDCAT = type
endif
&lt;/pre&gt;
Windows uses &quot;type&quot;, whereas unix uses &quot;cat&quot;.  I then also fix the \ issue to go from the the unix / to the windows \ with the FIXDIR command.  When I type &quot;make test&quot;, the following will output the contents of info/chunk2.txt and append it to installer/test.inf.
&lt;pre&gt;
test:
  $(COMMANDCAT) $(call FIXDIR,info/chunk2.txt &gt;&gt; installer/test.inf)
&lt;/pre&gt;
In unix, you will get: cat info/chunk2.txt &gt;&gt; installer/test.inf&lt;br /&gt;
In Windows, you get: type info\chunk2.txt &gt;&gt; installer\test.inf


</content><link rel='replies' type='application/atom+xml' href='http://densui.blogspot.com/feeds/8334179840357551096/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://densui.blogspot.com/2013/10/cross-platform-makefile.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4833122380958966899/posts/default/8334179840357551096'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4833122380958966899/posts/default/8334179840357551096'/><link rel='alternate' type='text/html' href='http://densui.blogspot.com/2013/10/cross-platform-makefile.html' title='Cross platform Makefile'/><author><name>水銀</name><uri>http://www.blogger.com/profile/15688931597327144737</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4833122380958966899.post-7579483923308829691</id><published>2013-10-17T06:15:00.001+09:00</published><updated>2013-10-17T06:15:30.758+09:00</updated><title type='text'>Moore&#39;s Law is Dead?  True!</title><content type='html'>
&lt;a href=&quot;https://sites.google.com/site/degnan68k/semiconductors/moore-s-law-is-dead&quot;&gt;Moore&#39;s Law is Dead&lt;/a&gt;.  Laws of marketing never hold up well.

</content><link rel='replies' type='application/atom+xml' href='http://densui.blogspot.com/feeds/7579483923308829691/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://densui.blogspot.com/2013/10/moores-law-is-dead-true.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4833122380958966899/posts/default/7579483923308829691'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4833122380958966899/posts/default/7579483923308829691'/><link rel='alternate' type='text/html' href='http://densui.blogspot.com/2013/10/moores-law-is-dead-true.html' title='Moore&#39;s Law is Dead?  True!'/><author><name>水銀</name><uri>http://www.blogger.com/profile/15688931597327144737</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4833122380958966899.post-3279634090901376513</id><published>2013-10-15T04:40:00.002+09:00</published><updated>2013-10-17T06:11:36.296+09:00</updated><title type='text'>Referencing datasheets in BIBTEX.</title><content type='html'>The CD4007 inverter pair is referenced as far back as papers from the early 1970&#39;s. &amp;nbsp;It&#39;s a great IC for teaching, but I really had to think of how to reference it using bibtex.&amp;nbsp;I decided to go with the MISC tag.&lt;br /&gt;
&lt;br /&gt;
&lt;pre&gt;
@misc{CD4007,
    author={Texas Instruments},
    title={CD4007UB},
    url={http://www.ti.com/lit/ds/symlink/cd4007ub.pdf},
    note={original document from Harris Semiconductor},
    publisher={Texas Instruments},
    year={2012}
}
&lt;/pre&gt;
&lt;br /&gt;
UPDATE:&lt;br /&gt;
Of course, once I decide on a method, I come up with a better method.  Include:
&lt;pre&gt;
\usepackage{url}
&lt;/pre&gt;
in your TEX document, and then you can have a prettier entry.
&lt;pre&gt;
@misc{CD4007,
  author={Texas Instruments},
  title={CD4007UB},
  howpublished = &quot;\url{http://www.ti.com/lit/ds/symlink/cd4007ub.pdf}&quot;,
  note={original document from Harris Semiconductor},
  publisher={Texas Instruments},
  year={2012}
}
&lt;/pre&gt;

&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEipNZtxTmoZbv-qkddXVR2NHB2dmw3aAbeM30D8tLfw_sjiv4TVcE_HtFrxoOYv5POxqGQOU8Spn521zzn0VsECQUK4wHgINl1ca0TWckBmtsXIp58P6uY5YH4GNb8VAnNL8i402sy5oUPT/s1600/Screen+Shot+2013-10-16+at+5.09.31+PM.png&quot; imageanchor=&quot;1&quot; &gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEipNZtxTmoZbv-qkddXVR2NHB2dmw3aAbeM30D8tLfw_sjiv4TVcE_HtFrxoOYv5POxqGQOU8Spn521zzn0VsECQUK4wHgINl1ca0TWckBmtsXIp58P6uY5YH4GNb8VAnNL8i402sy5oUPT/s320/Screen+Shot+2013-10-16+at+5.09.31+PM.png&quot; /&gt;&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://densui.blogspot.com/feeds/3279634090901376513/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://densui.blogspot.com/2013/10/referencing-datasheets-in-bibtex.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4833122380958966899/posts/default/3279634090901376513'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4833122380958966899/posts/default/3279634090901376513'/><link rel='alternate' type='text/html' href='http://densui.blogspot.com/2013/10/referencing-datasheets-in-bibtex.html' title='Referencing datasheets in BIBTEX.'/><author><name>水銀</name><uri>http://www.blogger.com/profile/15688931597327144737</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEipNZtxTmoZbv-qkddXVR2NHB2dmw3aAbeM30D8tLfw_sjiv4TVcE_HtFrxoOYv5POxqGQOU8Spn521zzn0VsECQUK4wHgINl1ca0TWckBmtsXIp58P6uY5YH4GNb8VAnNL8i402sy5oUPT/s72-c/Screen+Shot+2013-10-16+at+5.09.31+PM.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4833122380958966899.post-3990850300242534560</id><published>2013-09-21T05:51:00.004+09:00</published><updated>2013-09-21T05:51:56.562+09:00</updated><title type='text'>I lost my router...</title><content type='html'>I lost my router in the digital ether, so I pinged until I found my router.  I used nmap to ping all addresses on my subnet.

&lt;br /&gt;
&lt;pre&gt;nmap -v -sP 192.168.1.*
&lt;/pre&gt;
</content><link rel='replies' type='application/atom+xml' href='http://densui.blogspot.com/feeds/3990850300242534560/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://densui.blogspot.com/2013/09/i-lost-my-router.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4833122380958966899/posts/default/3990850300242534560'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4833122380958966899/posts/default/3990850300242534560'/><link rel='alternate' type='text/html' href='http://densui.blogspot.com/2013/09/i-lost-my-router.html' title='I lost my router...'/><author><name>水銀</name><uri>http://www.blogger.com/profile/15688931597327144737</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4833122380958966899.post-4273062021680525936</id><published>2013-07-21T09:39:00.001+09:00</published><updated>2013-07-21T09:39:29.512+09:00</updated><title type='text'>あ、それか？</title><content type='html'>Googleによると、私はの欲しいのは&lt;br /&gt;

&lt;iframe width=&quot;420&quot; height=&quot;315&quot; src=&quot;//www.youtube.com/embed/pQ5zbd8ZJx4&quot; frameborder=&quot;0&quot; allowfullscreen&gt;&lt;/iframe&gt;</content><link rel='replies' type='application/atom+xml' href='http://densui.blogspot.com/feeds/4273062021680525936/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://densui.blogspot.com/2013/07/blog-post.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4833122380958966899/posts/default/4273062021680525936'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4833122380958966899/posts/default/4273062021680525936'/><link rel='alternate' type='text/html' href='http://densui.blogspot.com/2013/07/blog-post.html' title='あ、それか？'/><author><name>水銀</name><uri>http://www.blogger.com/profile/15688931597327144737</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4833122380958966899.post-1139591447068561887</id><published>2013-07-16T02:58:00.000+09:00</published><updated>2013-07-16T20:27:08.278+09:00</updated><title type='text'>Justice vs. idiots.</title><content type='html'>Idiot is a harsh word, but it&#39;s not difficult to not relate to someone and to feel superior to them.  Here&#39;s an excerpt from &lt;a href=&quot;http://observer.com/2013/07/fuming-protesters-shut-down-times-square-after-trayvon-martin-verdict/&quot;&gt;http://observer.com/2013/07/fuming-protesters-shut-down-times-square-after-trayvon-martin-verdict/&lt;/a&gt;
&lt;pre&gt;
Kerry McLean, 32, one of thousands who attended, said the protest was “empowering and cathartic.” Ms. McLean maintained that prosecutors had handled the trial badly. “I’m an attorney and it seemed like a circus to me,” she said. “It’s a travesty of justice. I’m really terrified of the message it has sent to the country and the world … The message that black people’s lives have no value in America.”
&lt;/pre&gt;

Here is my line-by-line breakdown of what is wrong with this complete quote.&lt;br /&gt;
&lt;div style=&quot;background:white;border:grey solid 1px;color:black;&quot;&gt;Kerry McLean, 32, one of thousands who attended, said the protest was “empowering and cathartic.”&lt;/div&gt;
I will start with “empowering and cathartic”.  A &lt;b&gt;cathartic&lt;/b&gt; is a substance that accelerates defecation.  catharsis would be to blow off steam, but considering the origin, I still think it would be misused in this case.&lt;br /&gt;&lt;br /&gt;
&lt;div style=&quot;background:white;border:grey solid 1px;color:black;&quot;&gt;Ms. McLean maintained that prosecutors had handled the trial badly.&lt;/div&gt;
The handled the trial poorly, not badly.  Also, one guesses in what way.  Specifics would have helped the statement.&lt;br /&gt;&lt;br /&gt;
&lt;div style=&quot;background:white;border:grey solid 1px;color:black;&quot;&gt;“I’m an attorney and it seemed like a circus to me,” she said.&lt;/div&gt;
I have found that most attorney&#39;s respect the system even if they disagree with it.  I was also unable to find her bar number in the state of New York.  I was curious which type of attorney she claimed to be.  
&lt;br /&gt;&lt;br /&gt;
&lt;div style=&quot;background:white;border:grey solid 1px;color:black;&quot;&gt;“It’s a travesty of justice. I’m really terrified of the message it has sent to the country and the world … The message that black people’s lives have no value in America.”&lt;/div&gt;
I am not clear how a trial is a travesty of justice.  The message that it sent to world was that a trial happened, which is unlike many other places.  I tried to find a racial breakdown of acquittals based upon race of the jury, but I could not.  I am not convinced that in modern America, race has much to do with acquittals.  Considering that 1/2 of the jury was picked by the prosecution, I am sure the prosecution thought they had the best chance of conviction with their jury choices.  If one thinks that the jury was imbalanced, where were the hispanic men?&lt;br /&gt;
&lt;br /&gt;

I do not really care of the outcome of the trial of Zimmerman, but I am not one to second guess the jury.  The quality of the observer article is really terrible, and it makes Ms. McClean look to be an idiot. If I were to get my information from the observer, I would probably not understand the facts, and I am sure that I would not agree with any position backed by Ms. McClean.  Ms. McClean, the press made you look like an idiot, and I would keep that in mind when making decisions about others.  Also, could someone please send &lt;a href=&quot;http://observer.com/author/orla-ryan/&quot;&gt;Orla Ryan&lt;/a&gt; back to English class.</content><link rel='replies' type='application/atom+xml' href='http://densui.blogspot.com/feeds/1139591447068561887/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://densui.blogspot.com/2013/07/justice-vs-idiots.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4833122380958966899/posts/default/1139591447068561887'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4833122380958966899/posts/default/1139591447068561887'/><link rel='alternate' type='text/html' href='http://densui.blogspot.com/2013/07/justice-vs-idiots.html' title='Justice vs. idiots.'/><author><name>水銀</name><uri>http://www.blogger.com/profile/15688931597327144737</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4833122380958966899.post-1671721472125555681</id><published>2013-07-13T23:08:00.001+09:00</published><updated>2013-07-13T23:08:43.004+09:00</updated><title type='text'>Ubuntuのpopularity-contestはなんじゃそれ！</title><content type='html'>私はunixが好きけど、linuxがあまり。rootのメールにpopularity-contestからじゃまのことがいっぱいあった。
これすると：
&lt;pre  style=&quot;font-family:arial;font-size:12px;border:1px dashed #CCCCCC;width:99%;height:auto;overflow:auto;background:#f0f0f0;;background-image:URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh5tPJOQaK12bHUCLULTHDrnYFMcXrLQYl20M3LP0NilyRpKM7_EKalx5r5N3SOb5bTFl_BDavmmoYjalVUylMMNeX9f5vyFMzMlDYeg5HfPVN4YfB6ufwyDJn33X87h4J89mBylSEkLm2O/s320/codebg.gif);padding:0px;color:#000000;text-align:left;line-height:20px;&quot;&gt;&lt;code style=&quot;color:#000000;word-wrap:normal;&quot;&gt; sudo dpkg-reconfigure popularity-contest  
&lt;/code&gt;&lt;/pre&gt;
メールが止まる。</content><link rel='replies' type='application/atom+xml' href='http://densui.blogspot.com/feeds/1671721472125555681/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://densui.blogspot.com/2013/07/ubuntupopularity-contest.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4833122380958966899/posts/default/1671721472125555681'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4833122380958966899/posts/default/1671721472125555681'/><link rel='alternate' type='text/html' href='http://densui.blogspot.com/2013/07/ubuntupopularity-contest.html' title='Ubuntuのpopularity-contestはなんじゃそれ！'/><author><name>水銀</name><uri>http://www.blogger.com/profile/15688931597327144737</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4833122380958966899.post-5889993492683986825</id><published>2013-07-09T09:53:00.001+09:00</published><updated>2013-07-09T09:53:08.758+09:00</updated><title type='text'>wget with a certificate error (https://dl.dropboxusercontent.com)</title><content type='html'>
I like to use wget when I get links in chat.   I was getting a certificate error from dl.dropboxusercontent.com, which might just be from an old version of wget.  The issue is solved with the &lt;b&gt;--no-check-certificate&lt;/b&gt; flag.
&lt;br /&gt;
&lt;pre&gt;
wget --no-check-certificate https://dl.dropboxusercontent.com/u/XXXXXX
&lt;/pre&gt;
</content><link rel='replies' type='application/atom+xml' href='http://densui.blogspot.com/feeds/5889993492683986825/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://densui.blogspot.com/2013/07/wget-with-certificate-error.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4833122380958966899/posts/default/5889993492683986825'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4833122380958966899/posts/default/5889993492683986825'/><link rel='alternate' type='text/html' href='http://densui.blogspot.com/2013/07/wget-with-certificate-error.html' title='wget with a certificate error (https://dl.dropboxusercontent.com)'/><author><name>水銀</name><uri>http://www.blogger.com/profile/15688931597327144737</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4833122380958966899.post-3019903931653547753</id><published>2013-06-19T04:45:00.000+09:00</published><updated>2013-06-19T04:45:24.817+09:00</updated><title type='text'>dumping postgres database via backup script</title><content type='html'>I came across an issue when trying to backup a database via pg_dump.  The issue was that I needed to type the password.  mysql will let me dump the database with the password on the command line, but postgresql does not and requires a prompt or a variable. You can use &lt;a href=&quot;http://www.postgresql.org/docs/9.1/static/libpq-envars.html&quot;&gt;PGPASSWORD&lt;/a&gt; or &lt;a href=&quot;http://www.postgresql.org/docs/9.1/static/libpq-pgpass.html&quot;&gt;.pgpass&lt;/a&gt; and I used the environmental variable.&lt;br /&gt;&lt;br /&gt;
In my BASH script, backup.sh, I have:
&lt;pre&gt;
TIMEATSTART=$(date +%Y-%m-%d-%s) 
DIRECTORY_ARC=$USER_HOME/archive
FILENAME_DBBACKUP=db-$TIMEATSTART.gz

export PGPASSWORD=dbpassword
pg_dump -U dbuser database_name | gzip -c &gt; $DIRECTORY_ARC/$FILENAME_DBBACKUP
&lt;/pre&gt;

The script makes a convenient backup of my database_name database to an archive/db-00000000000.gz file in my home directory.  </content><link rel='replies' type='application/atom+xml' href='http://densui.blogspot.com/feeds/3019903931653547753/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://densui.blogspot.com/2013/06/dumping-postgres-database-via-backup.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4833122380958966899/posts/default/3019903931653547753'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4833122380958966899/posts/default/3019903931653547753'/><link rel='alternate' type='text/html' href='http://densui.blogspot.com/2013/06/dumping-postgres-database-via-backup.html' title='dumping postgres database via backup script'/><author><name>水銀</name><uri>http://www.blogger.com/profile/15688931597327144737</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4833122380958966899.post-9198675383006922012</id><published>2013-06-14T06:03:00.001+09:00</published><updated>2013-06-14T06:03:32.177+09:00</updated><title type='text'>Isn&#39;t public debt the debt of the public?</title><content type='html'>&lt;a href=&quot;http://detroit.cbslocal.com/2013/06/13/ag-schuette-dia-collection-cant-be-sold-to-pay-debt/&quot;&gt;The art in Detroit&lt;/a&gt; cannot be sold because it is owned by the public.  Considering that the debt is that of the public, it seems that something is logically wrong.  Detroit is a city of &quot;people&quot;, and those &quot;people&quot; voted for, or leveraged the use of money that caused the debt.  Regardless of what the lawyers *think* the answer is, the correct answer is that the people owe on the debt.  </content><link rel='replies' type='application/atom+xml' href='http://densui.blogspot.com/feeds/9198675383006922012/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://densui.blogspot.com/2013/06/isnt-public-debt-debt-of-public.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4833122380958966899/posts/default/9198675383006922012'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4833122380958966899/posts/default/9198675383006922012'/><link rel='alternate' type='text/html' href='http://densui.blogspot.com/2013/06/isnt-public-debt-debt-of-public.html' title='Isn&#39;t public debt the debt of the public?'/><author><name>水銀</name><uri>http://www.blogger.com/profile/15688931597327144737</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4833122380958966899.post-1687030193461403555</id><published>2013-06-04T09:25:00.001+09:00</published><updated>2013-06-04T09:25:42.828+09:00</updated><title type='text'>When someone steals your keys, they might steal your car.</title><content type='html'>Summary:  Someone breaks into your house and steals everything, including your keys, and then later steals the car.  &lt;a href=&quot;http://www.cbsatlanta.com/story/22434247/several-cars-damaged-before-chase-ends&quot;&gt;http://www.cbsatlanta.com/story/22434247/several-cars-damaged-before-chase-ends&lt;/a&gt;

&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;sui:&lt;/b&gt;  hello. &lt;br /&gt;
&lt;b&gt;r:&lt;/b&gt;  yo &lt;br /&gt;
&lt;b&gt;sui:&lt;/b&gt;  I&#39;m meeting B. Wednesday for Frisbee!&lt;br /&gt;
&lt;b&gt;r:&lt;/b&gt;  oh nice&lt;br /&gt;
&lt;b&gt;sui:&lt;/b&gt;  totally miss playing frisbee with you&lt;br /&gt;
&lt;b&gt;r:&lt;/b&gt;  we should have done that more&lt;br /&gt;
&lt;b&gt;sui:&lt;/b&gt;  how are things? &lt;br /&gt;
&lt;b&gt;r:&lt;/b&gt;  things are alright did a pretty crazy camping trip over last weekend&lt;br /&gt; 
got my truck stolen monday night&lt;br /&gt;
good stuff&lt;br /&gt;
&lt;b&gt;sui:&lt;/b&gt;stolen?&lt;br /&gt;
&lt;b&gt;r:&lt;/b&gt;  heh yah&lt;br /&gt;
&lt;b&gt;sui:&lt;/b&gt;  you need to get out of ATL.  it&#39;s a sign.&lt;br /&gt;
&lt;b&gt;r:&lt;/b&gt;  well when we got robbed they stole spare keys to my truck and D&#39;s bmw&lt;br /&gt;
&lt;b&gt;sui:&lt;/b&gt;  from your apartment?&lt;br /&gt;
&lt;b&gt;r:&lt;/b&gt;  we&#39;d been being careful&lt;br /&gt;
parking our cars elsewhere&lt;br /&gt;
until we got them rekeyed&lt;br /&gt;
but my truck ended up at the apartment for like 4 hours one night&lt;br /&gt;
and it got jacked&lt;br /&gt;
&lt;b&gt;sui:&lt;/b&gt;  :/&lt;br /&gt;
&lt;b&gt;r:&lt;/b&gt;  they caught the guy though&lt;br /&gt;
&lt;b&gt;sui:&lt;/b&gt;  oh?  that&#39;s good.&lt;br /&gt;
&lt;b&gt;r:&lt;/b&gt;  tried to pull him over bc he didn&#39;t have his lights on at 230am, he fled
ended up hitting a residential speedbump, tubling over and totalling 5 parked cars on the side of the street, landed on the roof of a house
got out and started running&lt;br /&gt;
i&#39;ve got insurance to cover it&lt;br /&gt;
&lt;b&gt;sui:&lt;/b&gt;  ha, well, I think at least the insurance company will believe you&lt;br /&gt;
&lt;b&gt;r:&lt;/b&gt;  talked to insurance lady, and she was like, oh yah, i saw you on the news&lt;br /&gt;
&lt;a href=&quot;http://www.cbsatlanta.com/story/22434247/several-cars-damaged-before-chase-ends&quot;&gt;http://www.cbsatlanta.com/story/22434247/several-cars-damaged-before-chase-ends&lt;/a&gt;&lt;br /&gt;
that video isn&#39;t worth watchign really&lt;br /&gt;
but the text is accurate&lt;br /&gt;
oh, so get this, atlanta police are not allowed to pursue&lt;br /&gt;
so if they try to pull you over&lt;br /&gt;
and you floor it&lt;br /&gt;
they&#39;re supposed to disengage&lt;br /&gt;
so running from the police is a totally viable option in atlanta&lt;br /&gt;
&lt;b&gt;sui:&lt;/b&gt;  wow&lt;br /&gt;
&lt;b&gt;r:&lt;/b&gt;  so this officer tried to pull guy over, he fled, officer stopped pursuit (i actually talked to the guy) and the fleeing guy got into an accident like a mile down the road&lt;br /&gt;
&lt;b&gt;sui:&lt;/b&gt;  wow, that guy seems to be a professional loser&lt;br /&gt;
&lt;b&gt;r:&lt;/b&gt;  yah...&lt;br /&gt;
we looked up his jail record&lt;br /&gt;
was never in jail for more than a month&lt;br /&gt;
wonder if we have like a 15 strikes and you&#39;re out policy in atl&lt;br /&gt;
&lt;b&gt;sui:&lt;/b&gt;  still a month is enough to make sure you don&#39;t have a real job&lt;br /&gt;
&lt;b&gt;r:&lt;/b&gt;  well&lt;br /&gt;
true&lt;br /&gt;
but not enough penalty on this shit&lt;br /&gt;
probably robs 10 places before getting caught&lt;br /&gt;
make a few thousands dollars, spend a month in jail&lt;br /&gt;
worth it&lt;br /&gt;
&lt;b&gt;sui:&lt;/b&gt;  Is the car being removed in the video yours?&lt;br /&gt;
&lt;b&gt;r:&lt;/b&gt;  dunno, that video keeps changing&lt;br /&gt;
i was in it for a while&lt;br /&gt;
but i was boring, tired, and annoyed they were interviewing me&lt;br /&gt;
so they took me off&lt;br /&gt;
all vehicles were towed at night&lt;br /&gt;
mine is kinda triangle shaped&lt;br /&gt;
&lt;b&gt;sui:&lt;/b&gt;  You need to work on your inherent sense of showman ship I guess.  Still, what a few weeks for you&lt;br /&gt;
 </content><link rel='replies' type='application/atom+xml' href='http://densui.blogspot.com/feeds/1687030193461403555/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://densui.blogspot.com/2013/06/when-someone-steals-your-keys-they.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4833122380958966899/posts/default/1687030193461403555'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4833122380958966899/posts/default/1687030193461403555'/><link rel='alternate' type='text/html' href='http://densui.blogspot.com/2013/06/when-someone-steals-your-keys-they.html' title='When someone steals your keys, they might steal your car.'/><author><name>水銀</name><uri>http://www.blogger.com/profile/15688931597327144737</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4833122380958966899.post-2679193792830606129</id><published>2013-06-01T06:01:00.000+09:00</published><updated>2013-06-01T06:01:34.270+09:00</updated><title type='text'>Install SLIM for PHP in a single stroke...</title><content type='html'>I use &lt;a href=&quot;http://www.slimframework.com/&quot;&gt;SLIM&lt;/a&gt; for my web service for a personal project that I have been working on.  It works great, but I forget the steps to install it because I revisit this project every 3 months or so.  The BASH script below downloads the slim framework, writes the initial index.php file and sets up the .htaccess file.  I run this from the root of my website directory.



&lt;pre  style=&quot;font-family:arial;font-size:12px;border:1px dashed #CCCCCC;width:99%;height:auto;overflow:auto;background:#f0f0f0;;background-image:URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh5tPJOQaK12bHUCLULTHDrnYFMcXrLQYl20M3LP0NilyRpKM7_EKalx5r5N3SOb5bTFl_BDavmmoYjalVUylMMNeX9f5vyFMzMlDYeg5HfPVN4YfB6ufwyDJn33X87h4J89mBylSEkLm2O/s320/codebg.gif);padding:0px;color:#000000;text-align:left;line-height:20px;&quot;&gt;&lt;code style=&quot;color:#000000;word-wrap:normal;&quot;&gt; #!/bin/sh  
 #  
 #This installs the SLIM framework in a single command.  
 WEBSERVICE_ROOT=api  
 WEBSERVICE_FILE=index.php  
 echo &quot;installing SLIM framework and dependencies in ./$WEBSERVICE_ROOT&quot;  
 if [ -d $WEBSERVICE_ROOT ]  
 then  
      echo &quot;api exists... slipping creation&quot;  
 else  
      mkdir $WEBSERVICE_ROOT  
 fi  
 echo &quot;{\&quot;require\&quot;: {\&quot;slim/slim\&quot;: \&quot;2.*\&quot;}}&quot; &amp;gt; $WEBSERVICE_ROOT/composer.json  
 cd $WEBSERVICE_ROOT &amp;gt; /dev/null ;  
 curl -s https://getcomposer.org/installer | php -d detect_unicode=Off  
 php composer.phar install  
 echo &quot;RewriteEngine On\nRewriteCond %{REQUEST_FILENAME} !-f\nRewriteRule ^ $WEBSERVICE_FILE [QSA,L]&quot; &amp;gt; .htaccess  
 if [ -f $WEBSERVICE_FILE ]  
 then  
   echo &quot;$WEBSERVICE_FILE exists\n&quot;  
 else  
      echo &quot;&amp;lt;?php\nrequire &#39;vendor/autoload.php&#39;;\n&quot; &amp;gt;&amp;gt; $WEBSERVICE_FILE  
      echo &quot;\$app = new \Slim\Slim();\n&quot; &amp;gt;&amp;gt; $WEBSERVICE_FILE  
      echo &quot;\$app-&amp;gt;get(&#39;/hello/:name&#39;, function (\$name) {\n&quot; &amp;gt;&amp;gt; $WEBSERVICE_FILE  
   echo &quot;echo \&quot;Hello, \$name\&quot;;\n&quot; &amp;gt;&amp;gt; $WEBSERVICE_FILE  
   echo &quot;});\n&quot; &amp;gt;&amp;gt; $WEBSERVICE_FILE  
      echo &quot;\$app-&amp;gt;run();?&amp;gt;\n&quot; &amp;gt;&amp;gt; $WEBSERVICE_FILE  
 fi  
 echo &quot;it should have worked, try http://127.0.0.1/api/hello/test and you should see \&quot;Hello, test\&quot;&quot;  
&lt;/code&gt;&lt;/pre&gt;
</content><link rel='replies' type='application/atom+xml' href='http://densui.blogspot.com/feeds/2679193792830606129/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://densui.blogspot.com/2013/06/install-slim-for-php-in-single-stroke.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4833122380958966899/posts/default/2679193792830606129'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4833122380958966899/posts/default/2679193792830606129'/><link rel='alternate' type='text/html' href='http://densui.blogspot.com/2013/06/install-slim-for-php-in-single-stroke.html' title='Install SLIM for PHP in a single stroke...'/><author><name>水銀</name><uri>http://www.blogger.com/profile/15688931597327144737</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4833122380958966899.post-7806067057584555353</id><published>2013-05-31T10:06:00.001+09:00</published><updated>2013-05-31T10:06:43.271+09:00</updated><title type='text'>Semper Fidelis</title><content type='html'>I have been picking up Richard for years, as he hitch-hikes along HI 56.  I am on his mailing list, and he sent this: &lt;br /&gt;
&lt;br /&gt;


&lt;blockquote&gt;
This past Monday, Memorial Day, I walked to the bus shelter in front of the Kapaa Neighborhood Center to hitch up north to Kilauea. It was after 6 PM, the sun setting fast in the west. An old man was seated at the bus shelter, apparently waiting for the bus. I recognized him as a man I rode with on the bus many months earlier. His name was Gordon, and he served in the US Marine Corps in World War Two.&lt;br /&gt;
 &lt;br /&gt;
As I approached the shelter, I asked Gordon if he was waiting for the bus north. He said he was. I broke the news to him the last bus had already left. Being a holiday, Memorial Day, the last northbound bus left Kapaa at 5:07 PM.
 &lt;br /&gt;&lt;br /&gt;
I said to him the only thing we can do is to hitch. I was going to Kilauea, and Gordon was going as far as Princeville. I started hitching, and he stood by my side. Us two guys, me 52 and he 80-something, waited one and a half hours for a ride. At least a couple of hundred cars must have passed us. Night fell, and the street lights came on. We were getting tired.
 &lt;br /&gt;&lt;br /&gt;
Finally, a pick up truck stopped and the younger man driving asked me where I was headed. By this time Gordon had sat down, and was just out of the light from the street light so the driver could see only me.
 &lt;br /&gt;&lt;br /&gt;
I told him I was headed to Kilauea, but that my friend over there was going all the way to Princeville, and there was no way I was going to leave him by himself waiting in the night here in Kapaa. I added that he is a veteran, and this is HIS day, Memorial Day.
 &lt;br /&gt;&lt;br /&gt;
The young man said he was not planning on going as far as Princeville, but for a veteran on Memorial Day, he would drive him anywhere he needed to go!
 &lt;br /&gt;&lt;br /&gt;
We strapped Gordon in the passenger seat, and I got situated in the back. The driver said he needed to make a brief stop to pick up some tools for his job tomorrow, and we would then continue on our way.
 &lt;br /&gt;&lt;br /&gt;
When we stopped in Anahola for the tools, we briefly talked story. I said that Gordon served our country during World War Two in the First Division of the US Marines in the Pacific. I added that my father also served in the US Marines in the Pacific during that war, but in the Third Division.
 &lt;br /&gt;&lt;br /&gt;
And the driver? Surprise, surprise, his father was a US Marine, and like my father, served in the Third Division, but in Vietnam many years later.
 &lt;br /&gt;&lt;br /&gt;
You see, US Marines have this tradition and duty of never leaving people behind the enemy lines, and apparently, lots of other places too.
 &lt;br /&gt;&lt;br /&gt;
We have a lot to be thankful for to all of our service men and women, including the US Marines. Service and duty and honor are not just things for war, but for life.
 &lt;br /&gt;&lt;br /&gt;
Those of us who hitch hike from time to time on Kauai have a saying that when you wait a long time for a ride, the one that comes eventually is a REALLY good one. This past Monday did not disappoint.
 &lt;br /&gt;&lt;br /&gt;
Richard

&lt;/blockquote&gt;</content><link rel='replies' type='application/atom+xml' href='http://densui.blogspot.com/feeds/7806067057584555353/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://densui.blogspot.com/2013/05/semper-fidelis.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4833122380958966899/posts/default/7806067057584555353'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4833122380958966899/posts/default/7806067057584555353'/><link rel='alternate' type='text/html' href='http://densui.blogspot.com/2013/05/semper-fidelis.html' title='Semper Fidelis'/><author><name>水銀</name><uri>http://www.blogger.com/profile/15688931597327144737</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4833122380958966899.post-8459293895134823392</id><published>2013-05-20T01:20:00.001+09:00</published><updated>2013-05-20T01:20:02.355+09:00</updated><title type='text'>myTouch 4g, I hate you, and T-Mobile applications.  I will send you all to binary heaven.</title><content type='html'>Somewhere along the way, the T-Mobile people forgot that a they are a phone company, that or Android forgot they are making it easy to make phones.  I HATE the LG myTouch 4G.  I have nothing installed but the base software, and it still is laggy.  The solution (of course) is always to get the latest phone software.  I decided to just remove all of the running software that wasn&#39;t important to phone functionality.
&lt;br /&gt;
&lt;br /&gt;
I created a step-by-step guide, but then I found an easier way.  I had to find a windows machine though:&lt;br /&gt;
&lt;a href=&quot;http://forum.xda-developers.com/showthread.php?t=803682&quot;&gt;http://forum.xda-developers.com/showthread.php?t=803682&lt;/a&gt; has a link to something called Super One Click.  It rooted my LG phone in a single click.  I then downloaded an application uninstaller. (Of couse, check what you are removing before you do it.)&lt;br /&gt;
I then removed things that I didn&#39;t want such as: &lt;br /&gt;
Tetris (default install, cannot remove... super)&lt;br /&gt;
Twitter &lt;br /&gt;
Facebook &lt;br /&gt;
T-mobile store&lt;br /&gt;
&lt;br /&gt;
The TOS can go to binary hell with my crapware.
</content><link rel='replies' type='application/atom+xml' href='http://densui.blogspot.com/feeds/8459293895134823392/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://densui.blogspot.com/2013/05/mytouch-4g-i-hate-you-and-t-mobile.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4833122380958966899/posts/default/8459293895134823392'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4833122380958966899/posts/default/8459293895134823392'/><link rel='alternate' type='text/html' href='http://densui.blogspot.com/2013/05/mytouch-4g-i-hate-you-and-t-mobile.html' title='myTouch 4g, I hate you, and T-Mobile applications.  I will send you all to binary heaven.'/><author><name>水銀</name><uri>http://www.blogger.com/profile/15688931597327144737</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4833122380958966899.post-5085235290240749479</id><published>2013-05-13T23:45:00.001+09:00</published><updated>2013-05-13T23:45:34.823+09:00</updated><title type='text'>At least the NSF likes metric</title><content type='html'>&lt;pre&gt;
The Metric Conversion Act of 1975, as amended, and Executive 
Order 12770 of 1991 encourage Federal agencies to use the 
Metric System (SI) in procurement, grants and other business
related activities. Proposers are encouraged to use the Metric 
System of weights and measures in proposals submitted to the 
Foundation. Grantees also are encouraged to use metric units 
in reports, publications and correspondence relating to 
proposals and awards. 
&lt;/pre&gt;

I am still waiting for road signs...


</content><link rel='replies' type='application/atom+xml' href='http://densui.blogspot.com/feeds/5085235290240749479/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://densui.blogspot.com/2013/05/at-least-nsf-likes-metric.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4833122380958966899/posts/default/5085235290240749479'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4833122380958966899/posts/default/5085235290240749479'/><link rel='alternate' type='text/html' href='http://densui.blogspot.com/2013/05/at-least-nsf-likes-metric.html' title='At least the NSF likes metric'/><author><name>水銀</name><uri>http://www.blogger.com/profile/15688931597327144737</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4833122380958966899.post-5805075579946040697</id><published>2013-05-11T09:09:00.000+09:00</published><updated>2013-05-11T09:09:27.152+09:00</updated><title type='text'></title><content type='html'>This happened today:&lt;br /&gt;
&lt;a href=&quot;http://www.freep.com/article/20130510/BUSINESS/305100093/McDonald-s-labor-protest-Detroit-wages&quot;&gt;http://www.freep.com/article/20130510/BUSINESS/305100093/McDonald-s-labor-protest-Detroit-wages&lt;/a&gt;
&lt;br /&gt;I respect the right of people to organize to improve their condition.  Quotes like:
&lt;pre&gt;
“They [McDonald’s] make $200 billion a year and they’re crying about 
giving minimum-wage workers $15 an hour?,” Rideout said in an interview.
&lt;/pre&gt;
make me wonder why reporters pick the quotes of ignorance.&lt;br /&gt;  
McDonald&#39;s makes about $2 billion a quarter.&lt;br /&gt;
I question the value of minimum wage, rent control, or anything that gives an artificial value.  I&#39;m pretty sure that if NYC dumped rent control and minimum wage, everyone would make more money.  I&#39;ll pay an extra $2 bucks for a papaya dog.



</content><link rel='replies' type='application/atom+xml' href='http://densui.blogspot.com/feeds/5805075579946040697/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://densui.blogspot.com/2013/05/this-happened-today-httpwww.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4833122380958966899/posts/default/5805075579946040697'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4833122380958966899/posts/default/5805075579946040697'/><link rel='alternate' type='text/html' href='http://densui.blogspot.com/2013/05/this-happened-today-httpwww.html' title=''/><author><name>水銀</name><uri>http://www.blogger.com/profile/15688931597327144737</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4833122380958966899.post-8817982388506180525</id><published>2013-05-08T09:30:00.000+09:00</published><updated>2013-05-08T09:30:04.421+09:00</updated><title type='text'>With our general as our God...</title><content type='html'>

&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjYj55zR80X3dCDfZg0L2GM2nSeS9qcp_ERU-TCZck_Zceh4HYB0cG_1jwK3iTA-a3FWoIHMYDKk3iZl5D9LdmoAsPFyvkxSIXSx_3Jtj5LfGXOt1YYLjHMN2KOUuvWfo6oXlFAK-ajXYpD/s1600/kimjongil.png&quot; imageanchor=&quot;1&quot; &gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjYj55zR80X3dCDfZg0L2GM2nSeS9qcp_ERU-TCZck_Zceh4HYB0cG_1jwK3iTA-a3FWoIHMYDKk3iZl5D9LdmoAsPFyvkxSIXSx_3Jtj5LfGXOt1YYLjHMN2KOUuvWfo6oXlFAK-ajXYpD/s320/kimjongil.png&quot; /&gt;&lt;/a&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXvQGNgCQODRmqNrfSyc9qrhy3uGet7G2lZ9NDKmDTCnOMnK0rr248VR2aZ2Lkew8wpJJ7bZg_W7dIXJ6Gh1mlRXnQjoXIWIyFRvlJU2TO66ml3HnF7qdbby2GiZi92hLpIgRfqDFhjiiI/s1600/obama.png&quot; imageanchor=&quot;1&quot; &gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXvQGNgCQODRmqNrfSyc9qrhy3uGet7G2lZ9NDKmDTCnOMnK0rr248VR2aZ2Lkew8wpJJ7bZg_W7dIXJ6Gh1mlRXnQjoXIWIyFRvlJU2TO66ml3HnF7qdbby2GiZi92hLpIgRfqDFhjiiI/s320/obama.png&quot; /&gt;&lt;/a&gt;
&lt;br /&gt;

I just recently finished two documentaries on negative utopias, Detroit (&lt;a href=&quot;http://en.wikipedia.org/wiki/Detropia&quot;&gt;Detropia&lt;/a&gt;) and North Korea (&lt;a href=&quot;http://en.wikipedia.org/wiki/Kimjongilia_(film)&quot;&gt;Kimjongilia&lt;/a&gt;).
&lt;br /&gt;
Negative utopia&#39;s both seem to have &quot;Dear Leader&quot; prominently displayed.  
</content><link rel='replies' type='application/atom+xml' href='http://densui.blogspot.com/feeds/8817982388506180525/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://densui.blogspot.com/2013/05/with-our-general-as-our-god.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4833122380958966899/posts/default/8817982388506180525'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4833122380958966899/posts/default/8817982388506180525'/><link rel='alternate' type='text/html' href='http://densui.blogspot.com/2013/05/with-our-general-as-our-god.html' title='With our general as our God...'/><author><name>水銀</name><uri>http://www.blogger.com/profile/15688931597327144737</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjYj55zR80X3dCDfZg0L2GM2nSeS9qcp_ERU-TCZck_Zceh4HYB0cG_1jwK3iTA-a3FWoIHMYDKk3iZl5D9LdmoAsPFyvkxSIXSx_3Jtj5LfGXOt1YYLjHMN2KOUuvWfo6oXlFAK-ajXYpD/s72-c/kimjongil.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4833122380958966899.post-3258715791129707709</id><published>2013-04-17T06:26:00.005+09:00</published><updated>2013-04-17T06:26:52.163+09:00</updated><title type='text'>Life as a RPG</title><content type='html'>&lt;a href=&quot;https://habitrpg.com/&quot;&gt;https://habitrpg.com/&lt;/a&gt;&lt;br /&gt;
It&#39;s either a brilliant idea or completely daft.</content><link rel='replies' type='application/atom+xml' href='http://densui.blogspot.com/feeds/3258715791129707709/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://densui.blogspot.com/2013/04/life-as-rpg.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4833122380958966899/posts/default/3258715791129707709'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4833122380958966899/posts/default/3258715791129707709'/><link rel='alternate' type='text/html' href='http://densui.blogspot.com/2013/04/life-as-rpg.html' title='Life as a RPG'/><author><name>水銀</name><uri>http://www.blogger.com/profile/15688931597327144737</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4833122380958966899.post-5230507211861855936</id><published>2013-04-10T01:57:00.000+09:00</published><updated>2013-04-10T01:57:14.329+09:00</updated><title type='text'>Journalism and typos</title><content type='html'>boston.com couldn&#39;t make it 3 words without a grammatical error.&lt;br /&gt;
&lt;a href=&quot;http://www.boston.com/dailydose/2013/04/09/does-size-really-matter-study-suggests-well-endowed-men-more-sexually-attractive/bNG9lbdoramxWh1aKE8M8I/story.html&quot;&gt;Does size matter?&lt;/a&gt;
&lt;br /&gt;

&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhybzDapS-Y5C9APKJZ60WXVxGKGwdYsctFZliXT_XH22oMOxtDid7K3wlUwHcgsxE2NM9DiAz-tIhsgFkGHqehpZqek85YqMqBA_beH9zX9xVxa77r__AsqiaZJIiGZKCLJ1dbaIwBy1c0/s1600/boston.png&quot; imageanchor=&quot;1&quot; &gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhybzDapS-Y5C9APKJZ60WXVxGKGwdYsctFZliXT_XH22oMOxtDid7K3wlUwHcgsxE2NM9DiAz-tIhsgFkGHqehpZqek85YqMqBA_beH9zX9xVxa77r__AsqiaZJIiGZKCLJ1dbaIwBy1c0/s320/boston.png&quot; /&gt;&lt;/a&gt;

&lt;br /&gt;
I&#39;m loathe and so can you!
&lt;br /&gt;
Cranial size?

</content><link rel='replies' type='application/atom+xml' href='http://densui.blogspot.com/feeds/5230507211861855936/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://densui.blogspot.com/2013/04/journalism-and-typos.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4833122380958966899/posts/default/5230507211861855936'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4833122380958966899/posts/default/5230507211861855936'/><link rel='alternate' type='text/html' href='http://densui.blogspot.com/2013/04/journalism-and-typos.html' title='Journalism and typos'/><author><name>水銀</name><uri>http://www.blogger.com/profile/15688931597327144737</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhybzDapS-Y5C9APKJZ60WXVxGKGwdYsctFZliXT_XH22oMOxtDid7K3wlUwHcgsxE2NM9DiAz-tIhsgFkGHqehpZqek85YqMqBA_beH9zX9xVxa77r__AsqiaZJIiGZKCLJ1dbaIwBy1c0/s72-c/boston.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4833122380958966899.post-7449566080201853592</id><published>2013-03-20T19:57:00.000+09:00</published><updated>2013-03-20T19:57:25.788+09:00</updated><title type='text'>Evolution vs. Selection</title><content type='html'>Swallows have evolved? &lt;a href=&quot;http://www.newscientist.com/article/dn23288-birds-evolve-shorter-wings-to-survive-on-roads.html&quot;&gt;http://www.newscientist.com/article/dn23288-birds-evolve-shorter-wings-to-survive-on-roads.html&lt;/a&gt;  More likely, there has been selection via automobile.  There is a distinction between evolution and selection, which seems to be lost of media.  Selection drives evolution, but evolution is on a long time scale. &lt;br /&gt;&lt;br /&gt; Shorter wings work better in dodging cars; therefore, birds with shorter wings reproduce more, and propagate the genes for shorter wings.  QED
&lt;br /&gt;
&lt;br /&gt;
The unanswered question to me is the energy cost of shorter wings per weight.  Perhaps there are more bugs?
</content><link rel='replies' type='application/atom+xml' href='http://densui.blogspot.com/feeds/7449566080201853592/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://densui.blogspot.com/2013/03/evolution-vs-selection.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4833122380958966899/posts/default/7449566080201853592'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4833122380958966899/posts/default/7449566080201853592'/><link rel='alternate' type='text/html' href='http://densui.blogspot.com/2013/03/evolution-vs-selection.html' title='Evolution vs. Selection'/><author><name>水銀</name><uri>http://www.blogger.com/profile/15688931597327144737</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4833122380958966899.post-8800061476938254204</id><published>2013-03-18T23:21:00.001+09:00</published><updated>2013-03-18T23:21:15.984+09:00</updated><title type='text'>シンダさんは「人が死ぬ」と言う。</title><content type='html'>
ha:&lt;br /&gt;

&lt;a href=&quot;http://www.hindustantimes.com/India-news/Hyderabad/Hyderabad-blasts-12-dead-78-injured-Shinde-says-toll-may-rise-PM-vows-punishment/Article1-1015253.aspx&quot;&gt;http://www.hindustantimes.com/India-news/Hyderabad/Hyderabad-blasts-12-dead-78-injured-Shinde-says-toll-may-rise-PM-vows-punishment/Article1-1015253.aspx&lt;/a&gt;
&lt;br /&gt;
Shinde thinks more might &quot;shinde&quot;.&lt;br /&gt;
Things like this are only amusing momentarily for the multilingual.
</content><link rel='replies' type='application/atom+xml' href='http://densui.blogspot.com/feeds/8800061476938254204/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://densui.blogspot.com/2013/03/blog-post_18.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4833122380958966899/posts/default/8800061476938254204'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4833122380958966899/posts/default/8800061476938254204'/><link rel='alternate' type='text/html' href='http://densui.blogspot.com/2013/03/blog-post_18.html' title='シンダさんは「人が死ぬ」と言う。'/><author><name>水銀</name><uri>http://www.blogger.com/profile/15688931597327144737</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>