<?xml version="1.0" encoding="iso-8859-1"?>
<?xml-stylesheet href="http://jon.limedaley.com/plog/styles/rss.css" type="text/css"?>
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
    xmlns:atom="http://www.w3.org/2005/Atom"
>
 <channel>
  <atom:link href="http://jon.limedaley.com/plog/rss.php?blogId=1&amp;profile=rss20" rel="self" type="application/rss+xml" />
  <title>&#x44;&#x61;&#x6c;&#x65;&#x79;&#x20;&#x50;&#x6f;&#x6e;&#x64;&#x65;&#x72;&#x69;&#x6e;&#x67;&#x73;</title>
  <link>http://jon.limedaley.com/plog/</link>
  <description> Whatever things are true, whatever things are noble, whatever things are just, whatever things are pure, whatever things are lovely, whatever things are of good report, if there is any virtue and if there is anything praiseworthy -- meditate on these things. 
</description>
  <pubDate>Sat, 25 May 2013 03:50:00 -0400</pubDate>
  <generator>http://lifetype.net</generator>
    <item>
   <title>&#x44;&#x69;&#x73;&#x74;&#x72;&#x69;&#x62;&#x75;&#x74;&#x65;&#x64;&#x20;&#x53;&#x6f;&#x63;&#x69;&#x61;&#x6c;&#x20;&#x4e;&#x65;&#x74;&#x77;&#x6f;&#x72;&#x6b;&#x73;&#x3f;</title>
   <description>
    &lt;p&gt;I came across yet another version of a distributed social network, this one with hardware.&amp;nbsp; &lt;a href=&quot;http://www.freedomboxfoundation.org/&quot;&gt;FreedomBox Foundation&lt;/a&gt; is working on figuring out how to make tons of tiny little web servers that take out the centralized model.&amp;nbsp; The New York Times has &lt;a href=&quot;http://www.nytimes.com/2011/02/16/nyregion/16about.html?_r=1&quot;&gt;a decent article on explaining why Mark Zuckerburg having all of your information is a bad thing&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The introduction video on FreedomBox&#039;s site was a good non-technical description, and with graphics, for all of you who don&#039;t like to read that much...&amp;nbsp; :)&lt;/p&gt;
&lt;p&gt;It mentions diaspora, friendica and buddycloud.&amp;nbsp; I&#039;d heard of diaspora, and I have an account, but it doesn&#039;t interact with me very well.&amp;nbsp; I glanced through buddycloud this morning, and didn&#039;t see anything particularly interesting.&amp;nbsp; friendica emphasizes being able to interact with other current social networks, which is a good thing, since it is a hard thing to get people to switch.&lt;/p&gt;
&lt;p&gt;I guess I should spend some time in figuring out how to install one of them and see if it is worth using.&amp;nbsp; I&#039;ve not been clear on how much you can customize the installations, and how hard it is to add features, etc.&amp;nbsp; And how open the development really is, in terms of them wanting features from outside people, etc.&lt;/p&gt;
&lt;p&gt;Mostly, I think the problem is that I want it just to work, and so I don&#039;t want to spend lots of my own time developing a system.&amp;nbsp; Maybe I could work on figuring out if I could add plugins into LifeType to make it do some interesting things with the new  social networks.&amp;nbsp; LifeType 2.0 (if it ever comes out) started a couple years ago adding some social networking features, and so it might fit in well; I don&#039; t know.&lt;/p&gt;
&lt;p&gt;But, as facebook and google are increasingly unfriendly (Facebook announced they would no longer import notes, such as this one, starting in a couple weeks)&amp;nbsp; I suppose their theory is that people will manually double post, or move to facebook only, or something like that.&amp;nbsp; But, that is a pain, so I&#039;ll probably just stop posting to facebook.&lt;/p&gt;
   </description>
   <link>http://jon.limedaley.com/plog/post/distributed-social-networks</link>
   <comments>http://jon.limedaley.com/plog/post/distributed-social-networks</comments>
   <guid>http://jon.limedaley.com/plog/post/distributed-social-networks</guid>
      <dc:creator>jondaley</dc:creator>
      
    <category>Programming</category>
      
    <category>Internet</category>
      
    <category>Reviews</category>
         <pubDate>Thu, 10 Nov 2011 18:00:25 -0500</pubDate>
   <source url="http://jon.limedaley.com/plog/rss.php?blogId=1&amp;profile=rss20">Daley Ponderings</source>
     </item>
    <item>
   <title>&#x55;&#x70;&#x64;&#x61;&#x74;&#x65;&#x64;&#x20;&#x50;&#x69;&#x63;&#x74;&#x75;&#x72;&#x65;&#x73;</title>
   <description>
    &lt;p&gt;
We are in the process of moving to a new filename format for our pictures, simpy using the timestamp from the camera, rather than manually typing in ordering numbers, etc.&amp;nbsp; And that postponed the publishing of our pictures for a couple months, but I finally spent the time today to get it all setup.&amp;nbsp; The &lt;a href=&quot;http://pictures.limedaley.com/index.rdf&quot;&gt;RSS feed&lt;/a&gt; for our pictures was a little strange, so if you normally see our pictures that way, you may or may not have seen all of them appropriately.
&lt;/p&gt;
&lt;p&gt;
You can &lt;a href=&quot;http://pictures.limedaley.com/recent/&quot;&gt;click here to see the most recent pictures&lt;/a&gt;.
&lt;/p&gt;
&lt;p&gt;
And I see that most of our Maggie P pictures are not in the RSS feed - not sure why that is - probably due to too many pictures.&amp;nbsp; Probably the best way to not miss any pictures at this point is to check out the &amp;quot;&lt;a href=&quot;http://pictures.limedaley.com/all_chronologically/&quot;&gt;all chronologically&lt;/a&gt;&amp;quot; folder. 
&lt;/p&gt;
   </description>
   <link>http://jon.limedaley.com/plog/post/updated-pictures</link>
   <comments>http://jon.limedaley.com/plog/post/updated-pictures</comments>
   <guid>http://jon.limedaley.com/plog/post/updated-pictures</guid>
      <dc:creator>jondaley</dc:creator>
      
    <category>Programming</category>
      
    <category>Reviews</category>
         <pubDate>Mon, 21 Sep 2009 17:14:21 -0400</pubDate>
   <source url="http://jon.limedaley.com/plog/rss.php?blogId=1&amp;profile=rss20">Daley Ponderings</source>
     </item>
    <item>
   <title>&#x54;&#x68;&#x69;&#x6e;&#x6b;&#x69;&#x6e;&#x67;&#x20;&#x49;&#x6e;&#x20;&#x22;&#x42;&#x6c;&#x6f;&#x67;&#x22;&#x3f;&#x20;&#x20;&#x4e;&#x6f;&#x70;&#x65;&#x2e;&#x20;&#x20;&#x42;&#x75;&#x74;&#x20;&#x54;&#x68;&#x69;&#x6e;&#x6b;&#x69;&#x6e;&#x67;&#x20;&#x49;&#x6e;&#x20;&#x43;&#x6f;&#x64;&#x65;&#x3f;&#x20;&#x59;&#x65;&#x73;&#x2e;</title>
   <description>
    &lt;p&gt;
&lt;a href=&quot;http://simplyserina.wordpress.com/2009/02/24/do-you-think-in-blog/&quot;&gt;Some people&lt;/a&gt; have been talking about whether they think in blogging, as in: &amp;quot;this is so much fun, I should blog about it&amp;quot;, or, &amp;quot;look how cute the kids are being, I should grab a camera so I can post it on flickr&amp;quot;, etc.
&lt;/p&gt;
&lt;p&gt;
I didn&#039;t particularly relate to that, but this morning I re-discovered &lt;a href=&quot;http://www.amazon.com/Codes-Ciphers-Workbook-Norma-Gleason/dp/0486254054&quot;&gt;a cipher book I liked as a kid&lt;/a&gt;, and thought it would be fun to go through some of it.&amp;nbsp; And then thought, I could write a script to do this for me, and then, maybe I should blog about that. hrm....
&lt;/p&gt;
&lt;p&gt;
Isaac Lisa Faith Isaac Todd Heather Shirley Todd Jon Isaac Lisa Isaac Lisa Lisa Mary Jonathan Heather Shirley Jon Faith Mary Isaac Isaac Jon Noah Shirley Heather Todd Shirley Heather Jon Faith Shirley Lisa Noah Heather Jonathan Shirley Isaac Jon Jonathan Lisa Mary Isaac Mary Lisa Shirley Heather Jonathan Heather Jonathan Lisa Mary Faith Joe Lisa Jon Mary Faith Shirley Faith Isaac Todd Todd Jonathan Todd Faith Shirley Joe Isaac Joe Lisa Heather Joe Isaac Heather Joe Jonathan Todd Lisa Heather Jonathan Jon Noah Heather Heather Todd Heather Isaac Shirley Lisa Jon Mary Todd Isaac Faith Joe Todd Noah Faith Faith Isaac Todd Faith Joe Shirley Lisa Jonathan Noah Shirley Lisa Mary Isaac Heather Faith Isaac Faith Mary Heather Joe Joe Shirley Mary Todd Jonathan Mary Heather Noah Jonathan Todd Shirley Lisa Faith Faith Shirley Heather Jonathan Jon Shirley Isaac Faith Jonathan Faith Lisa Heather Joe Mary Mary Joe Joe Lisa Faith Isaac Jon Noah Mary Todd Noah Jon Lisa Noah Faith Jonathan Heather Heather Mary Heather Noah Todd Lisa Shirley Heather Jonathan Joe Isaac Noah Lisa Lisa Noah Todd Heather Heather Shirley Heather Joe Noah Mary Todd Mary Shirley Todd Shirley Lisa Noah Todd Heather Joe Faith Shirley Lisa Joe Lisa Shirley Jon Jon Jon Mary Isaac Noah Mary Heather Heather Shirley Mary Lisa Jon Heather Lisa Todd Shirley Lisa Isaac Shirley Noah Lisa Heather Todd Mary Shirley Lisa Mary Jon Noah Heather Joe Shirley Shirley Lisa Noah Jon Mary Joe Joe Jonathan Faith Mary Shirley Isaac Shirley Todd Shirley Heather Isaac Lisa Joe Jonathan Shirley Joe Faith Faith Faith Joe Todd Heather Isaac
&lt;/p&gt;
   </description>
   <link>http://jon.limedaley.com/plog/post/think-in-code</link>
   <comments>http://jon.limedaley.com/plog/post/think-in-code</comments>
   <guid>http://jon.limedaley.com/plog/post/think-in-code</guid>
      <dc:creator>jondaley</dc:creator>
      
    <category>Programming</category>
         <pubDate>Wed, 25 Feb 2009 12:35:25 -0500</pubDate>
   <source url="http://jon.limedaley.com/plog/rss.php?blogId=1&amp;profile=rss20">Daley Ponderings</source>
     </item>
    <item>
   <title>&#x52;&#x65;&#x63;&#x6f;&#x76;&#x65;&#x72;&#x79;&#x20;&#x52;&#x65;&#x62;&#x61;&#x74;&#x65;&#x20;&#x43;&#x61;&#x6c;&#x63;&#x75;&#x6c;&#x61;&#x74;&#x6f;&#x72;&#x20;&#x28;&#x41;&#x4b;&#x41;&#x2c;&#x20;&#x57;&#x69;&#x6c;&#x6c;&#x20;&#x74;&#x68;&#x65;&#x20;&#x49;&#x52;&#x53;&#x20;&#x47;&#x69;&#x76;&#x65;&#x20;&#x4d;&#x65;&#x20;&#x41;&#x6e;&#x79;&#x20;&#x4d;&#x6f;&#x72;&#x65;&#x20;&#x4d;&#x6f;&#x6e;&#x65;&#x79;&#x3f;&#x29;</title>
   <description>
    &lt;p&gt;
The IRS hasn&#039;t published their calculator yet, and I have been reading about lots of people trying to figure out what to do with line 70 on their 1040 (ie. the famous RRC that is causing probably more time wasted than was worth the money that was sent out last year. 
&lt;/p&gt;
&lt;p&gt;
So, I wrote a &lt;a href=&quot;http://jon.limedaley.com/recoveryrebatecalculator.php&quot;&gt;calculator&lt;/a&gt; this morning.&amp;nbsp; I went through a bunch of cases, so I think I got all of them, but of course, who knows, with all of the tax tricks, etc. if my understanding of the credit is how it actually works. 
&lt;/p&gt;
&lt;p&gt;
And if the IRS ever gets around to actually publishing their calculator, it will presumably be better than mine.&amp;nbsp; Have fun. 
&lt;/p&gt;
   </description>
   <link>http://jon.limedaley.com/plog/post/recovery-rebate-calculator-aka-will-the-irs-give-me-any-more-money</link>
   <comments>http://jon.limedaley.com/plog/post/recovery-rebate-calculator-aka-will-the-irs-give-me-any-more-money</comments>
   <guid>http://jon.limedaley.com/plog/post/recovery-rebate-calculator-aka-will-the-irs-give-me-any-more-money</guid>
      <dc:creator>jondaley</dc:creator>
      
    <category>Programming</category>
         <pubDate>Tue, 17 Feb 2009 13:41:51 -0500</pubDate>
   <source url="http://jon.limedaley.com/plog/rss.php?blogId=1&amp;profile=rss20">Daley Ponderings</source>
     </item>
    <item>
   <title>&#x48;&#x65;&#x6c;&#x70;&#x65;&#x72;&#x20;&#x53;&#x68;&#x65;&#x6c;&#x6c;&#x20;&#x53;&#x63;&#x72;&#x69;&#x70;&#x74;&#x73;&#x20;&#x66;&#x6f;&#x72;&#x20;&#x57;&#x6f;&#x72;&#x6b;&#x6c;&#x6f;&#x67;</title>
   <description>
    &lt;p&gt;
As I &lt;a href=&quot;http://jon.limedaley.com/plog/post/where-does-the-time-go-the-numbers-are-even-correct-this-time...&quot;&gt;wrote&lt;/a&gt; &lt;a href=&quot;http://jon.limedaley.com/plog/post/where-does-the-time-go&quot;&gt;earlier&lt;/a&gt;, I use &lt;a href=&quot;http://www.truxton.com/~trux/software/&quot;&gt;worklog&lt;/a&gt; to keep track of my time.  I use some other scripts to help manage worklog&#039;s output, and now that I made one of the scripts work even nicer today, I figured I should post them.

&lt;/p&gt;
&lt;p&gt;
I use get-time to see where I spent time on a particular day. It defaults to today, but you can give it an argument like &quot;yesterday&quot;, &quot;-2 days&quot;, &quot;last thursday&quot;, etc.  Now that it runs without user interaction (courtesy of &lt;a href=&quot;http://expect.nist.gov/&quot;&gt;expect&lt;/a&gt;) I have added it as a cronjob to email me at midnight with the previous day&#039;s work.
&lt;/p&gt;
&lt;p&gt;
I use get-all to show me all work done since I first started using worklog.  Now that I have been running it for more than a year it might not be as useful as it once was, since the average is probably different from the max and min, which might be more interesting (and maybe a future shell scripting project)
&lt;/p&gt;
&lt;p&gt;
get-summary isn&#039;t intended to be run by itself, though I suppose there might be some use for it - showing you how much work you have done this month, or something like that.  (Oh - I just realized that I might be using worklog differently than some people - I make a new directory for each month, and move the files at the end of the month -- and now that I have this handy expect script, I could probably automate the whole thing, and email it to Heather, so she wouldn&#039;t have to ask me to do it any more...) 
&lt;/p&gt;
&lt;p&gt;
Note, to get worklog to run in a cron job, you&#039;ll need to add a TERM=dumb bit, otherwise worklog won&#039;t output its time.log file at all - something to do with cron&#039;s tty not being set.  Quite frustrating to figure out after spending an hour with a script that worked from the command line, but not from the cron. 
&lt;/p&gt;
&lt;p&gt;
Scripts: &lt;a id=&quot;res_97&quot; href=&quot;http://jon.limedaley.com/plog/gallery/1/get-time&quot; title=&quot;Helper worklog script used to get one day&#039;s worth of work.&quot;&gt;get-time&lt;/a&gt;
&lt;a id=&quot;res_95&quot; href=&quot;http://jon.limedaley.com/plog/gallery/1/get-all&quot; title=&quot;worklog helper script to get all work done since the world began.&quot;&gt;get-all&lt;/a&gt;
&lt;a id=&quot;res_96&quot; href=&quot;http://jon.limedaley.com/plog/gallery/1/get-summary.exp&quot; title=&quot;Expect script used by get-all and get-time.&quot;&gt;get-summary&lt;/a&gt; 
&lt;/p&gt;
   </description>
   <link>http://jon.limedaley.com/plog/post/helper-shell-scripts-for-worklog</link>
   <comments>http://jon.limedaley.com/plog/post/helper-shell-scripts-for-worklog</comments>
   <guid>http://jon.limedaley.com/plog/post/helper-shell-scripts-for-worklog</guid>
      <dc:creator>jondaley</dc:creator>
      
    <category>Programming</category>
         <pubDate>Mon, 08 Dec 2008 15:25:56 -0500</pubDate>
   <source url="http://jon.limedaley.com/plog/rss.php?blogId=1&amp;profile=rss20">Daley Ponderings</source>
                                                  </item>
    <item>
   <title>&#x53;&#x6f;&#x66;&#x74;&#x77;&#x61;&#x72;&#x65;&#x20;&#x44;&#x65;&#x76;&#x65;&#x6c;&#x6f;&#x70;&#x6d;&#x65;&#x6e;&#x74;</title>
   <description>
    &lt;p&gt;
I have been quite behind in my magazine reading, and this morning I caught up to August (2008 - at some points, it has been necessary to specify the year when saying how far behind I am).
&lt;/p&gt;
&lt;p&gt;
There is &lt;a href=&quot;http://www.ddj.com/architect/209101238&quot;&gt;an interesting article in Dr. Dobbs, by Scott Ambler&lt;/a&gt;, regarding methods of estimating costs of software development, and whether the typical, fixed price model is even ethical.
&lt;/p&gt;
&lt;blockquote&gt;
	&lt;p&gt;
	&quot;&lt;em&gt;fixed price&lt;/em&gt; refers to a project where the cost, schedule and scope are set early in the lifecycle.&quot;
	&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;
His examples include very large numbers (at least compared to my current projects), which I found distracting, but the percentages are useful.  I liked this quote, which is the reason for this post: 
&lt;/p&gt;
&lt;blockquote&gt;
	&lt;p&gt;
	Traditionally, we&#039;ve wanted to believe in the concept that &quot;software engineering&quot; is 80 percent science and 20 percent art, but in practice development has proven to closer to 20 percent science and 80 percent art.  Or perhaps the 20 percent of software engineering that is art is simply 16 times harder than the 80 percent that is science.
	&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;
I have a meeting in two weeks where I&#039;ll meet a potential customer for the first time, and they&#039;ll likely expect a fixed-price quote, though they did say they have enough money for the project, so hopefully, it won&#039;t be too hard to figure out what the project should cost.  I just saw another quote from a related article on the online version of th e magazine, where the author quoted someone else saying that customers expect vendors to provide a &quot;five 9&#039;s&quot; estimate on &quot;one 9&quot; of requirements. I think that&#039;s pretty accurate.
&lt;/p&gt;
   </description>
   <link>http://jon.limedaley.com/plog/post/software-development</link>
   <comments>http://jon.limedaley.com/plog/post/software-development</comments>
   <guid>http://jon.limedaley.com/plog/post/software-development</guid>
      <dc:creator>jondaley</dc:creator>
      
    <category>Programming</category>
      
    <category>Reviews</category>
         <pubDate>Fri, 14 Nov 2008 09:46:19 -0500</pubDate>
   <source url="http://jon.limedaley.com/plog/rss.php?blogId=1&amp;profile=rss20">Daley Ponderings</source>
     </item>
    <item>
   <title>&#x53;&#x53;&#x48;&#x20;&#x4c;&#x6f;&#x67;&#x69;&#x6e;&#x20;&#x41;&#x74;&#x74;&#x65;&#x6d;&#x70;&#x74;&#x73;</title>
   <description>
    &lt;p&gt;
I think I have written before about &lt;a href=&quot;http://denyhosts.sourceforge.net/&quot;&gt;DenyHosts&lt;/a&gt;, but this evening, it prevented somewhere around twenty thousand individual hosts trying to login to one of my servers.  The hackers have gotten smarter - that they used to just try from one host, which was trivially blockable, even manually.  But, thanks to denyhosts (and the fairly easily trackable behavior by the hackers), they think they get a couple chances to guess a password before being blocked.  Note, that I say &quot;think&quot;, because they actually don&#039;t get any, due to the way they are doing it.
&lt;/p&gt;
&lt;p&gt;
But now, they are trying to be trickier, by only trying five times, and then using a global network, switching to a different machine in a different country, and trying five times from that computer.
&lt;/p&gt;
&lt;p&gt;
Fortunately, DenyHosts has &lt;a href=&quot;http://stats.denyhosts.net/stats.html&quot;&gt;a blacklist that I can contribute to&lt;/a&gt;, and my system sends all of the IP addresses that attempt to login into mine, and so as long as someone is using denyhosts, they&#039;ll benefit from my logging, and perhaps the hacker won&#039;t even get a single chance to login to someone else&#039;s server, since they&#039;ll already be blacklisted.
&lt;/p&gt;
&lt;p&gt;
I am not sure what the hackers think they are going to achieve on my servers - seems like it would be better to spend time elsewhere.  They have figured out I use denyhosts, or a similar application, so seems like they should go to an easier target.
&lt;/p&gt;
&lt;p&gt;
Perhaps their goal is some sort of denial of service, but I don&#039;t think that is particularly possible in this case, or at least, not in the way they are going about doing it.  I don&#039;t know if the hosts.deny file has a practical limit to the number of entries - I don&#039;t notice any lag time when logging in, ie. the parsing of the file doesn&#039;t seem to take that long.
&lt;/p&gt;
&lt;p&gt;
Maybe the goal is to get so many IP addresses in the database that people can&#039;t use it, and maybe if the case of dynamic IP addressing, one of my customers could end up with a blacklisted IP.  So far, so good though, so we&#039;ll see how it goes. 
&lt;/p&gt;
   </description>
   <link>http://jon.limedaley.com/plog/post/ssh-login-attempts</link>
   <comments>http://jon.limedaley.com/plog/post/ssh-login-attempts</comments>
   <guid>http://jon.limedaley.com/plog/post/ssh-login-attempts</guid>
      <dc:creator>jondaley</dc:creator>
      
    <category>Programming</category>
      
    <category>Reviews</category>
         <pubDate>Tue, 08 Jul 2008 23:40:22 -0400</pubDate>
   <source url="http://jon.limedaley.com/plog/rss.php?blogId=1&amp;profile=rss20">Daley Ponderings</source>
     </item>
    <item>
   <title>&#x56;&#x4d;&#x57;&#x61;&#x72;&#x65;&#x20;&#x31;&#x2e;&#x30;&#x2e;&#x35;&#x20;&#x53;&#x65;&#x72;&#x76;&#x65;&#x72;&#x20;&#x70;&#x61;&#x74;&#x63;&#x68;&#x20;&#x66;&#x6f;&#x72;&#x20;&#x32;&#x2e;&#x36;&#x2e;&#x32;&#x35;&#x20;&#x6b;&#x65;&#x72;&#x6e;&#x65;&#x6c;</title>
   <description>
    I had the privilege of installing VMWare 1.0.5 on a brand new 2.6.25 kernel.&amp;nbsp; I downloaded the &lt;a href=&quot;http://communities.vmware.com/thread/121847&quot;&gt;2.6.XX patch for vmware 1.0.4&lt;/a&gt;, applied the one change from asm to linux in vcpuset.h.&amp;nbsp; That had worked for me before when using 1.0.5 on a 2.6.24 kernel, but today I downloaded a 2.6.25 kernel for someone and of course, someone changed something slightly, causing the vmware module (vmnet) to no longer compile.&amp;nbsp; Fortunately for me, a small bit of hacking fixed it, and now I can go to bed.The function that is missing in the 2.6.26 kernel is sock_valbool_flag, which was recently made inline, so it causes a &amp;quot;implicit declaration of function&amp;quot; error when running the standard vmware-config.pl script.&amp;nbsp; I saw that the function still exists in the kernel sources, but was made a static function, and moved to sock.c.&amp;nbsp; So, after taking a look at the function, I figured it wouldn&#039;t hurt to simply copy it from sock.c into vmware&#039;s bridge.c and off I went.&amp;nbsp; tada!
   </description>
   <link>http://jon.limedaley.com/plog/post/vmware-1.0.5-patch-for-2.6.25-kernel</link>
   <comments>http://jon.limedaley.com/plog/post/vmware-1.0.5-patch-for-2.6.25-kernel</comments>
   <guid>http://jon.limedaley.com/plog/post/vmware-1.0.5-patch-for-2.6.25-kernel</guid>
      <dc:creator>jondaley</dc:creator>
      
    <category>Programming</category>
         <pubDate>Fri, 18 Apr 2008 00:28:25 -0400</pubDate>
   <source url="http://jon.limedaley.com/plog/rss.php?blogId=1&amp;profile=rss20">Daley Ponderings</source>
     </item>
    <item>
   <title>&#x4c;&#x69;&#x66;&#x65;&#x54;&#x79;&#x70;&#x65;&#x20;&#x31;&#x2e;&#x32;&#x2e;&#x37;&#x20;&#x72;&#x65;&#x6c;&#x65;&#x61;&#x73;&#x65;&#x64;</title>
   <description>
    &lt;p&gt;
After a slightly hectic day yesterday, when I noticed some strange behavior on one of my servers, we &lt;a href=&quot;http://lifetype.net/post/2008/03/30/lifetype-1.2.7&quot;&gt;released a new version of LifeType&lt;/a&gt;.&amp;nbsp; While I am not impressed that the bug existed in the first place, I think it is pretty neat that a development fixed was released within 4 hours of the bug being discovered, and an official release within 36 hours.&amp;nbsp; The last time we had a security issue, we released the fix in less than 24 hours, but it is harder on a Sunday.
&lt;/p&gt;
&lt;p&gt;
The security issue itself wasn&#039;t all that interesting - we were checking a blacklist in a case-sensitive manner, and so filename.PHP was incorrectly allowed to be uploaded, and filename.php was correctly blocked.
&lt;/p&gt;
&lt;p&gt;
What was interesting was what the Iranian hacker was doing once he uploaded the script.&amp;nbsp; It turns out he actually uploaded the script a month ago, modified my customer&#039;s home page (just added a link to his own site) and then came back now to actually do his &amp;quot;real&amp;quot; work.&amp;nbsp; My theory is that perhaps there are people who get paid $5 for every web site they figure out how to hack into, and give the URL to the payer.&amp;nbsp; Then, they payer gets around to actually logging (manually) and setting up his attack.&amp;nbsp; In this case, they used my customer&#039;s account to try to crash another bulletin board.&amp;nbsp; They weren&#039;t trying to actually get access to it, just bring it down to be annoying.&amp;nbsp; I forgot to save the name of the site they were trying to bring down, so I can&#039;t contact them to see how they fared, but like the previous spammer code I looked at, this one was also quite nifty.&amp;nbsp; Some Russians distribute some PHP code that is fairly obfuscated (I almost gave up trying to figure out how it worked, but managed to finally get it unobfuscated) that prints a handy web page that allows an attacker to view information about the server, check /etc/passwd for insecure accounts, run whatever program he wants (and download the source and compile if needed), auto-update the software from the Russian site if there is an upgrade, email logs of the progress, etc.
&lt;/p&gt;
&lt;p&gt;
&amp;nbsp;
&lt;/p&gt;
   </description>
   <link>http://jon.limedaley.com/plog/post/lifetype-1.2.7-released</link>
   <comments>http://jon.limedaley.com/plog/post/lifetype-1.2.7-released</comments>
   <guid>http://jon.limedaley.com/plog/post/lifetype-1.2.7-released</guid>
      <dc:creator>jondaley</dc:creator>
      
    <category>Programming</category>
      
    <category>Reviews</category>
         <pubDate>Sun, 30 Mar 2008 20:38:10 -0400</pubDate>
   <source url="http://jon.limedaley.com/plog/rss.php?blogId=1&amp;profile=rss20">Daley Ponderings</source>
     </item>
    <item>
   <title>&#x44;&#x65;&#x62;&#x69;&#x61;&#x6e;&#x20;&#x49;&#x6e;&#x73;&#x74;&#x61;&#x6c;&#x6c;&#x65;&#x64;&#x20;&#x52;&#x65;&#x6c;&#x61;&#x74;&#x69;&#x76;&#x65;&#x6c;&#x79;&#x20;&#x50;&#x61;&#x69;&#x6e;&#x6c;&#x65;&#x73;&#x73;&#x6c;&#x79;&#x20;&#x6f;&#x6e;&#x20;&#x6d;&#x79;&#x20;&#x53;&#x6f;&#x6e;&#x79;&#x20;&#x4c;&#x61;&#x70;&#x74;&#x6f;&#x70;</title>
   <description>
    &lt;p&gt;
I am sure this will excite many of our normal readers, but I have finally (after four years) switched my laptop to Linux.&amp;nbsp; Now that I am using it everyday, it is much nicer to be in this environment, instead of having putty windows all over the place.&amp;nbsp; Perhaps if I had a better window manager for windows, I would have been alright, but anyway...
&lt;/p&gt;
&lt;p&gt;
I have a Sony PCG-V505DC2 for those search engines to help other folks trying to figure out any issues with installing Linux, and Debian specifically.
&lt;/p&gt;
Fortunately, there isn&#039;t much to report.&amp;nbsp; Here are my notes as I went through the process:
&lt;p&gt;
I had a lenny nightly build 07/02/2007 netinstall cd lying around, so I used that.&lt;br /&gt;
&lt;br /&gt;
After the packages downloaded, libc6 failed on &amp;quot;preparing libc6&amp;quot;. There was a process running /var/lib/apt/tmp.ci/... and tmp.ci didn&#039;t exist so I killed it, and the installation recovered, saying there was an error. I tried again, and no luck.&amp;nbsp; I then just installed using the sources from the&lt;br /&gt;
cd and that worked.&amp;nbsp; Finished the install and rebooted.&lt;br /&gt;
&lt;br /&gt;
Changes the sources to the lenny branch, and updated everything.
&lt;/p&gt;
&lt;p&gt;
&lt;span style=&quot;font-size: medium&quot;&gt;Touchpad&lt;/span&gt;&lt;br /&gt;
text-mode working fine, no touchpad.&amp;nbsp; simply installed gpm, and the touchpad started working.&amp;nbsp; Installed xorg, and xwindows is up and running.
&lt;/p&gt;
&lt;p&gt;
&lt;span style=&quot;font-size: medium&quot;&gt;Wireless&lt;/span&gt;&lt;br /&gt;
I used lspci to see that my wireless card is an atheros ar5212/AR5213 and found that &lt;a href=&quot;http://madwifi.org/wiki/UserDocs/Distro/Debian/MadWifi&quot;&gt;madwifi&lt;/a&gt; was the way to go for that.&lt;br /&gt;
&lt;br /&gt;
wow.&amp;nbsp; module-assistant is really nifty!&amp;nbsp; Call me a lazy linux guy, but I pretty much don&#039;t use software that requires me to compile it - debian packages have pretty much everything I need.&amp;nbsp; But, using this driver for the wifi card with module-assist was quite nice.&amp;nbsp; zero work for me.&amp;nbsp; I&lt;br /&gt;
think that the computers should *just work* and let me get on with the stuff I care about doing, and that is how this has worked (so far).
&lt;/p&gt;
&lt;p&gt;
&lt;span style=&quot;font-size: medium&quot;&gt;Sound&lt;/span&gt;&lt;br /&gt;
I had to run alsaconf to get the sound to work - not sure what it did.
&lt;/p&gt;
&lt;p&gt;
&lt;span style=&quot;font-size: medium&quot;&gt;Windows/DOS&lt;/span&gt;&lt;br /&gt;
Yes, there are still a couple things that we need windows for: a BITS application, and Heather&#039;s BookReader application.&amp;nbsp; (and I am actually doing DOS development making USB flash drives work using Borland&#039;s Turbo C compiler. Ah, the good old days.&amp;nbsp; Though actually, I didn&#039;t know how good they were, as I only ever programmed in BASIC when DOS was around.&amp;nbsp; Running the DOS setup.exe was fun.&amp;nbsp; And recalling QEMM and the 640KB limit.&amp;nbsp; Fortunately, I still had some DOS and Procomm floppies around)&amp;nbsp; Installed VMware 1.0.5 with a little bit of trouble.&amp;nbsp; Had to set CC to gcc-4.1 to get it to compile the modules correctly on 2.6.22. For 2.6.24, I had to download &lt;a href=&quot;http://communities.vmware.com/thread/121847&quot;&gt;some patches&lt;/a&gt;, and make small edit.&amp;nbsp; Note, I am using 1.0.5, but the patches for 1.0.4 worked fine.&amp;nbsp; I had some networking trouble, but it turns out that is by design.&amp;nbsp; You apparently can&#039;t bridge the network to a wireless network.&amp;nbsp; But, it works fine for the wired side.&amp;nbsp; Unless I can figure another way around it, the real estate web site I use requires IE, so I&#039;ll have to have networking working for that... 
&lt;/p&gt;
&lt;p&gt;
&lt;span style=&quot;font-size: medium&quot;&gt;Hotkeys&lt;/span&gt;&lt;br /&gt;
Hotkeys didn&#039;t work right away, and after some investigation, found that acpid and hal had to be patched, or else wait until a new kernel came out. &amp;nbsp; Fortunately for me, the kernel (2.6.24) was released to Debian testing this morning (a couple days after I initially installed it).&amp;nbsp; My backlight and volume keys now work perfectly.&amp;nbsp; Heather wasn&#039;t that impressed with the amount of work it took to get them working.
&lt;/p&gt;
&lt;p&gt;
Here are the ACPI files that I wrote. &lt;a id=&quot;res_67&quot; href=&quot;http://jon.limedaley.com/plog/gallery/1/hotkeys&quot; title=&quot;ACPI event script.  Save it as /etc/acpi/events/hotkeys&quot;&gt;event&lt;/a&gt; and &lt;a id=&quot;res_68&quot; href=&quot;http://jon.limedaley.com/plog/gallery/1/fn-keys.sh&quot; title=&quot;ACPI helper script to parse different function keys.  Save it as /etc/acpi/scripts/fn-keys.sh. (Note, you&#039;ll have to create the scripts directory as I made that part up myself)&quot;&gt;script&lt;/a&gt;.
&lt;/p&gt;
&lt;p&gt;
&lt;span style=&quot;font-size: medium&quot;&gt;Power&lt;/span&gt;&amp;nbsp;
&lt;/p&gt;
&lt;p&gt;
The power button was trivial to add to ACPI, but I am working on a script where you have to hit it twice within a couple seconds, since I bump it every once in a while.
&lt;/p&gt;
&lt;p&gt;
The battery was recognized by default, and showed up on my task tray (I use icewm).
&lt;/p&gt;
&lt;p&gt;
Closing the lid was recognized by default, and turns off the backlight.&amp;nbsp; Suspending would be nicer, and I&#039;ll have to configure that at some point.
&lt;/p&gt;
&lt;p&gt;
Speaking of suspending and hibernating, I haven&#039;t worked on that yet, so I don&#039;t know if that is difficult. It seems to suffer from the problem of 47 different ways to do it (some of them compatible, some of them directly incompatible), and so the documentation is pretty scattered. 
&lt;/p&gt;
&lt;p&gt;
The sonypi module is loaded by default, in addition to the sony-laptop module. There is a warning that makes it sound like they aren&#039;t compatible with each other, and that sony-laptop is the new one, but in /etc/init.d/hotkey-setup, they are both loaded together.&amp;nbsp; I don&#039;t know... it just works. 
&lt;/p&gt;
   </description>
   <link>http://jon.limedaley.com/plog/post/debian-installed-relatively-painlessly-on-my-sony-laptop</link>
   <comments>http://jon.limedaley.com/plog/post/debian-installed-relatively-painlessly-on-my-sony-laptop</comments>
   <guid>http://jon.limedaley.com/plog/post/debian-installed-relatively-painlessly-on-my-sony-laptop</guid>
      <dc:creator>jondaley</dc:creator>
      
    <category>Programming</category>
      
    <category>Reviews</category>
         <pubDate>Fri, 28 Mar 2008 11:56:39 -0400</pubDate>
   <source url="http://jon.limedaley.com/plog/rss.php?blogId=1&amp;profile=rss20">Daley Ponderings</source>
                                   </item>
   </channel>
</rss>