<?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: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-5077177</id><updated>2011-12-14T18:38:34.656-08:00</updated><category term='tightvnc'/><category term='ubuntu'/><category term='vnc'/><title type='text'>Development Notebook</title><subtitle type='html'>Notes about developing code</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://johnnylambada.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5077177/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://johnnylambada.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>John</name><uri>http://www.blogger.com/profile/10405938742594476950</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>43</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-5077177.post-3722858655837343030</id><published>2011-12-07T14:30:00.000-08:00</published><updated>2011-12-07T14:34:16.939-08:00</updated><title type='text'></title><summary type='text'>Find android branch namesCrossposted from stackoverflow.mkdir /tmp/zugpushd /tmp/zuggit clone https://android.googlesource.com/platform/manifest.gitcd manifestgit branch -a | sed -n '/^  r/s,.*/,,p'|sort -u|columnpopdrm -rf /tmp/zuggives the following outputandroid-1.6_r1          android-2.2.1_r1        android-2.3.4_r1android-1.6_r1.1        android-2.2.1_r2        android-2.3.5_r1android-1.6_</summary><link rel='replies' type='application/atom+xml' href='http://johnnylambada.blogspot.com/feeds/3722858655837343030/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5077177&amp;postID=3722858655837343030' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5077177/posts/default/3722858655837343030'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5077177/posts/default/3722858655837343030'/><link rel='alternate' type='text/html' href='http://johnnylambada.blogspot.com/2011/12/find-android-branch-names-crossposted.html' title=''/><author><name>John</name><uri>http://www.blogger.com/profile/10405938742594476950</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5077177.post-3393927055557673491</id><published>2011-12-06T08:51:00.000-08:00</published><updated>2011-12-06T09:57:32.923-08:00</updated><title type='text'></title><summary type='text'>Modifying udev on Ubuntu so that an unpriveleged user can use Android adb on a physical Android device:sudo touch /etc/udev/rules.d/51-android.rulessudo ln -s /lib/udev/rules.d/51-android.rules# make sure device is NOT plugged inlsusb | cut -d" " -f 6 | sed 's/:/ /' &gt; ~/.tmp# plug in the devicelsusb | cut -d" " -f 6 | sed 's/:/ /' &gt; ~/.tmp1diff ~/.tmp ~/.tmp1 | sed -n '/^&gt;/s/^..\([^ ]*\) \(.*\)/</summary><link rel='replies' type='application/atom+xml' href='http://johnnylambada.blogspot.com/feeds/3393927055557673491/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5077177&amp;postID=3393927055557673491' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5077177/posts/default/3393927055557673491'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5077177/posts/default/3393927055557673491'/><link rel='alternate' type='text/html' href='http://johnnylambada.blogspot.com/2011/12/modifying-udev-on-ubuntu-so-that.html' title=''/><author><name>John</name><uri>http://www.blogger.com/profile/10405938742594476950</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5077177.post-3342611151952271085</id><published>2011-12-04T11:23:00.000-08:00</published><updated>2011-12-04T11:34:54.684-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='vnc'/><category scheme='http://www.blogger.com/atom/ns#' term='tightvnc'/><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'></title><summary type='text'>I use tightvnc a lot. It's a great way to keep the context of what you were doing going over time. Last weekend I set up a new Ubuntu 10.04 LTS based development box for developing Android applications. The problem was the vncserver I was using kept dying. It took awhile to figure out what the problem was -- I eventually noticed a line similar to the following in /var/log/messages:Dec  4 09:18:00</summary><link rel='replies' type='application/atom+xml' href='http://johnnylambada.blogspot.com/feeds/3342611151952271085/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5077177&amp;postID=3342611151952271085' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5077177/posts/default/3342611151952271085'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5077177/posts/default/3342611151952271085'/><link rel='alternate' type='text/html' href='http://johnnylambada.blogspot.com/2011/12/i-use-tightvnc-lot.html' title=''/><author><name>John</name><uri>http://www.blogger.com/profile/10405938742594476950</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5077177.post-2626922940278954213</id><published>2011-12-02T11:15:00.001-08:00</published><updated>2011-12-02T11:17:08.730-08:00</updated><title type='text'></title><summary type='text'>Here's a handy tidbit that will take the output of an strace and process it so you can figure out what are the likely errors:sed -n '/= -1 E/s/.*= -1 \(.*\)/\1/p' strace.output | sort | awk 'BEGIN{last=""}{if (last=="")last=$1;if ($1==last)lines++; else {printf "%d %s\n",lines,last; lines=1;last=$1;}}END{printf "%d %s\n",lines,last}' | sort -n1 ENXIO1 EOPNOTSUPP2 ECONNRESET2 ENOTCONN3 EIO3 </summary><link rel='replies' type='application/atom+xml' href='http://johnnylambada.blogspot.com/feeds/2626922940278954213/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5077177&amp;postID=2626922940278954213' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5077177/posts/default/2626922940278954213'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5077177/posts/default/2626922940278954213'/><link rel='alternate' type='text/html' href='http://johnnylambada.blogspot.com/2011/12/heres-handy-tidbit-that-will-take.html' title=''/><author><name>John</name><uri>http://www.blogger.com/profile/10405938742594476950</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5077177.post-2498093766170566661</id><published>2007-09-12T14:37:00.000-07:00</published><updated>2007-09-12T14:50:13.058-07:00</updated><title type='text'></title><summary type='text'>It's been awhile.Here's how to use Clearcase's cleartool with rsync:First, on the machine where clearcase is (ie, where you're pulling files FROM), create a script like so: (call it /bin/setviewrun)#!/bin/bashview=$1shiftwhile [[ -n "$1" &amp;&amp; "$1" != "rsync" ]]; do   shiftdone/usr/atria/bin/cleartool setview -exec "$*" $viewNow, on the machine where you want to copy the files to use this rsync </summary><link rel='replies' type='application/atom+xml' href='http://johnnylambada.blogspot.com/feeds/2498093766170566661/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5077177&amp;postID=2498093766170566661' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5077177/posts/default/2498093766170566661'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5077177/posts/default/2498093766170566661'/><link rel='alternate' type='text/html' href='http://johnnylambada.blogspot.com/2007/09/its-been-awhile.html' title=''/><author><name>John</name><uri>http://www.blogger.com/profile/10405938742594476950</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5077177.post-114741248138048653</id><published>2006-05-11T22:30:00.000-07:00</published><updated>2006-05-11T22:41:21.390-07:00</updated><title type='text'></title><summary type='text'>C# Beautified Menu EntriesThere are not many examples of how to do things in C# in a beautiful way.  Even the O'Reilly examples are sometimes pretty crufty.  Here's an example of how to create an entire menu, including submenus without any goofy placeholder variables.  public void CreateMenus() {            MenuStrip menu = new MenuStrip();            menu.Items.AddRange( new ToolStripItem[]{</summary><link rel='replies' type='application/atom+xml' href='http://johnnylambada.blogspot.com/feeds/114741248138048653/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5077177&amp;postID=114741248138048653' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5077177/posts/default/114741248138048653'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5077177/posts/default/114741248138048653'/><link rel='alternate' type='text/html' href='http://johnnylambada.blogspot.com/2006/05/c-beautified-menu-entries-there-are.html' title=''/><author><name>John</name><uri>http://www.blogger.com/profile/10405938742594476950</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5077177.post-114684203677692707</id><published>2006-05-05T08:08:00.000-07:00</published><updated>2006-05-05T08:14:51.183-07:00</updated><title type='text'></title><summary type='text'>.NET PrintPreviewDialog very slow I was having a problem with PrintPreviewDialog.ShowDialog() taking 10s of seconds to show any output.  I did a single step from the ShowDialog() line and none of my code was in the way -- it took ~10 seconds to get to the first line of my PrintPageEventHandler.  After some googling, I tried changing default printers from my network printer to PDFCreator and voila</summary><link rel='replies' type='application/atom+xml' href='http://johnnylambada.blogspot.com/feeds/114684203677692707/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5077177&amp;postID=114684203677692707' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5077177/posts/default/114684203677692707'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5077177/posts/default/114684203677692707'/><link rel='alternate' type='text/html' href='http://johnnylambada.blogspot.com/2006/05/blog-post.html' title=''/><author><name>John</name><uri>http://www.blogger.com/profile/10405938742594476950</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5077177.post-112552752687309217</id><published>2005-08-31T15:31:00.000-07:00</published><updated>2005-08-31T15:32:06.880-07:00</updated><title type='text'></title><summary type='text'>Setting Credentials of your Crystal Reports using your ConnectionStringWhen using Crystal reports with ASP.NET, you'll need to set the credentials for accessing the database because the .rpt file doesn't keep all of the login information (namely the password).  You probably already have this info handy in Your Configuration Settings.  This is a handy routine (I put mine in Global.asax.cs) to </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5077177/posts/default/112552752687309217'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5077177/posts/default/112552752687309217'/><link rel='alternate' type='text/html' href='http://johnnylambada.blogspot.com/2005/08/setting-credentials-of-your-crystal.html' title=''/><author><name>John</name><uri>http://www.blogger.com/profile/10405938742594476950</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5077177.post-112244578397287684</id><published>2005-07-26T22:55:00.000-07:00</published><updated>2005-07-26T23:29:43.980-07:00</updated><title type='text'></title><summary type='text'>NUnit - quick and easyI searched for a quick and easy introduction to NUnit. There are some nice articles, but they all go into more detail than I want. I just want to take a look at something simple to see what all the fuss is about.So, here's the smallest introduction to NUnit 2.2 you'll find. Hopefully after you've gone through this procedure you'll be able to see where you can use NUnit in </summary><link rel='replies' type='application/atom+xml' href='http://johnnylambada.blogspot.com/feeds/112244578397287684/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5077177&amp;postID=112244578397287684' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5077177/posts/default/112244578397287684'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5077177/posts/default/112244578397287684'/><link rel='alternate' type='text/html' href='http://johnnylambada.blogspot.com/2005/07/nunit-quick-and-easy-i-searched-for.html' title=''/><author><name>John</name><uri>http://www.blogger.com/profile/10405938742594476950</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5077177.post-111989501836355444</id><published>2005-06-27T10:55:00.000-07:00</published><updated>2005-07-19T21:48:35.296-07:00</updated><title type='text'></title><summary type='text'>Reading your Outlook Inbox from C# using OleDbDataAdapter  private void ListInbox()  {   string  Mailbox    = "Inbox";   string  Provider   = "Microsoft.Jet.OLEDB.4.0;Outlook 9.0";   string  MAPILEVEL   = "Mailbox - Lastname, Firstname";   string  PROFILE    = "Lastname, Firstname";   string  TABLETYPE   = "0";   string  DATABASE   = @"c:\temp";   DataSet  ds     = new DataSet();   DataTable dt</summary><link rel='replies' type='application/atom+xml' href='http://johnnylambada.blogspot.com/feeds/111989501836355444/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5077177&amp;postID=111989501836355444' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5077177/posts/default/111989501836355444'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5077177/posts/default/111989501836355444'/><link rel='alternate' type='text/html' href='http://johnnylambada.blogspot.com/2005/06/reading-your-outlook-inbox-from-c.html' title=''/><author><name>John</name><uri>http://www.blogger.com/profile/10405938742594476950</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5077177.post-111851227903900717</id><published>2005-06-11T10:49:00.000-07:00</published><updated>2005-07-19T21:49:20.776-07:00</updated><title type='text'></title><summary type='text'>Allow the UI to catch up on a windows forms appfor(a very long time)       Application.DoEvents();</summary><link rel='replies' type='application/atom+xml' href='http://johnnylambada.blogspot.com/feeds/111851227903900717/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5077177&amp;postID=111851227903900717' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5077177/posts/default/111851227903900717'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5077177/posts/default/111851227903900717'/><link rel='alternate' type='text/html' href='http://johnnylambada.blogspot.com/2005/06/allow-ui-to-catch-up-on-windows-forms.html' title=''/><author><name>John</name><uri>http://www.blogger.com/profile/10405938742594476950</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5077177.post-111783184539916532</id><published>2005-06-03T13:33:00.000-07:00</published><updated>2005-07-19T21:49:56.820-07:00</updated><title type='text'></title><summary type='text'>How to hide null ASP.NET data fieldsSay you have a bit of data called Symptoms that you want to display on your web page, and it contains a label (also called "Symptoms"). It might look something like this in your form:Symptoms: &lt;%# DataBinder.Eval(Container.DataItem, "Symptoms") %&gt;Now say, if there is no data in the database, you don't want the field to appear at all. I did some research to find</summary><link rel='replies' type='application/atom+xml' href='http://johnnylambada.blogspot.com/feeds/111783184539916532/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5077177&amp;postID=111783184539916532' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5077177/posts/default/111783184539916532'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5077177/posts/default/111783184539916532'/><link rel='alternate' type='text/html' href='http://johnnylambada.blogspot.com/2005/06/how-to-hide-null-asp.html' title=''/><author><name>John</name><uri>http://www.blogger.com/profile/10405938742594476950</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5077177.post-111773703272926244</id><published>2005-06-02T11:28:00.000-07:00</published><updated>2005-07-19T21:50:48.750-07:00</updated><title type='text'></title><summary type='text'>An app specific bookmarklet that shows known hidden framesjavascript:{x=window.frames['Content'].document.getElementsByTagName('frameset');for(i=0;i&lt;x.length;i++)if(x[i].rows=='0,0,*')x[i].rows='20,20,*';void(0);}</summary><link rel='replies' type='application/atom+xml' href='http://johnnylambada.blogspot.com/feeds/111773703272926244/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5077177&amp;postID=111773703272926244' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5077177/posts/default/111773703272926244'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5077177/posts/default/111773703272926244'/><link rel='alternate' type='text/html' href='http://johnnylambada.blogspot.com/2005/06/app-specific-bookmarklet-that-shows.html' title=''/><author><name>John</name><uri>http://www.blogger.com/profile/10405938742594476950</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5077177.post-111772897129510308</id><published>2005-06-02T09:07:00.000-07:00</published><updated>2005-07-19T21:51:10.436-07:00</updated><title type='text'></title><summary type='text'>ASP.NET Response.TransmitFile() sometimes fails with networked UNC filesSimply replace this:Response.TransmitFile(filename);With this:Stream     s          = new FileStream( filename, FileMode.Open, FileAccess.Read );const int  bufLength  = 1024;byte[]     buf        = new byte[bufLength];int        red;while( (red=s.Read(buf,0,bufLength))&gt;0 )   if (Response.IsClientConnected)      </summary><link rel='replies' type='application/atom+xml' href='http://johnnylambada.blogspot.com/feeds/111772897129510308/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5077177&amp;postID=111772897129510308' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5077177/posts/default/111772897129510308'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5077177/posts/default/111772897129510308'/><link rel='alternate' type='text/html' href='http://johnnylambada.blogspot.com/2005/06/asp.html' title=''/><author><name>John</name><uri>http://www.blogger.com/profile/10405938742594476950</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5077177.post-111756171501229135</id><published>2005-05-31T10:45:00.000-07:00</published><updated>2005-07-19T21:51:27.530-07:00</updated><title type='text'></title><summary type='text'>CacheDependency LimitationAs of ASP.NET 1.1, it looks like you can only get an ASP.NET cache itemto be dependent on about about 40 remote directories or so, then you'll runinto an arbitrary limitation of the ReadDirectoryChangesW win32 apicall.  The exception generated will look something like this:Failed to start monitoring changes to '\\Your\remote\directory'.I doubt that this will be fixed in </summary><link rel='replies' type='application/atom+xml' href='http://johnnylambada.blogspot.com/feeds/111756171501229135/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5077177&amp;postID=111756171501229135' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5077177/posts/default/111756171501229135'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5077177/posts/default/111756171501229135'/><link rel='alternate' type='text/html' href='http://johnnylambada.blogspot.com/2005/05/cachedependency-limitation-as-of-asp.html' title=''/><author><name>John</name><uri>http://www.blogger.com/profile/10405938742594476950</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5077177.post-111699215560603252</id><published>2005-05-24T20:32:00.000-07:00</published><updated>2005-07-19T21:55:40.883-07:00</updated><title type='text'></title><summary type='text'>Calling a server side func in JavaScript with document.createElement('script')CAUTION: THIS DOESN'T SEEM TO WORK ALL THE TIME.  I'VE GONE BACK TO THE HIDDEN IFRAME TECHNIQUEThe following bit of JavaScript and C# code work to gether to dosome remote scripting from the browser to the server.  Basicallysome javascript function running on the client wants to call the'ServerFunc' C# code, and pass it </summary><link rel='replies' type='application/atom+xml' href='http://johnnylambada.blogspot.com/feeds/111699215560603252/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5077177&amp;postID=111699215560603252' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5077177/posts/default/111699215560603252'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5077177/posts/default/111699215560603252'/><link rel='alternate' type='text/html' href='http://johnnylambada.blogspot.com/2005/05/calling-server-side-func-in-javascript.html' title=''/><author><name>John</name><uri>http://www.blogger.com/profile/10405938742594476950</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5077177.post-107412328729422718</id><published>2004-01-14T15:34:00.000-08:00</published><updated>2005-07-19T21:47:37.796-07:00</updated><title type='text'></title><summary type='text'>How to use ldapsearch...[root@prm99ws1 root]# ldapsearch -x -D cn=manager,dc=zzz,dc=net -w ##PASS## -H ldaps://ldap3.zzz.com:636  -b "dc=zzz,dc=net" -s sub "(uid=uidofuser)"version: 2## filter: (uid=uidofuser)# requesting: ALL#bla bla bla...# search resultsearch: 2result: 0 Success# numResponses: 2# numEntries: 1</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5077177/posts/default/107412328729422718'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5077177/posts/default/107412328729422718'/><link rel='alternate' type='text/html' href='http://johnnylambada.blogspot.com/2004/01/how-to-use-ldapsearch.html' title=''/><author><name>John</name><uri>http://www.blogger.com/profile/10405938742594476950</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5077177.post-93492112</id><published>2003-04-29T15:18:00.000-07:00</published><updated>2005-07-19T21:56:19.370-07:00</updated><title type='text'></title><summary type='text'>Converting a file to/from hex using PerlI needed to store binary images in Pick.  Pick, of course, doesn't like to store binary (it can't deal with char(255)), so I deceded to convert to hex.  I could have uuencoded but hex is fine for my purposes.So here's how to convert a file.gif to file.gif.hex:perl -n0777e 'print unpack "H*",$_' &lt; file.gif &gt; file.gif.hexTo convert it back:perl -n0777e 'print</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5077177/posts/default/93492112'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5077177/posts/default/93492112'/><link rel='alternate' type='text/html' href='http://johnnylambada.blogspot.com/2003/04/converting-file-tofrom-hex-using-perl.html' title=''/><author><name>John</name><uri>http://www.blogger.com/profile/10405938742594476950</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5077177.post-92111166</id><published>2003-04-06T16:03:00.000-07:00</published><updated>2005-07-19T21:57:13.086-07:00</updated><title type='text'></title><summary type='text'>Hacking the D3 ExecutableOk, here's the problem.  D3's filesystem osfi is set to create files with 660 permissions (rw ower, rw group, nothing other).  This is secure, but if you want to create files that will work for other users, you have to then go in and change the permissions.  And if you have a boat load of software that doesn't do this, then it just doesn't work out well.  What you'd </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5077177/posts/default/92111166'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5077177/posts/default/92111166'/><link rel='alternate' type='text/html' href='http://johnnylambada.blogspot.com/2003/04/hacking-d3-executable-ok-heres-problem.html' title=''/><author><name>John</name><uri>http://www.blogger.com/profile/10405938742594476950</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5077177.post-91046197</id><published>2003-03-19T23:44:00.000-08:00</published><updated>2005-07-19T21:58:37.866-07:00</updated><title type='text'></title><summary type='text'>How to do a HTTP request with authentication by hand:Let's say your user:pass is fred:supersecret/bin/echo -n "fred:supersecret" &gt; /tmp/xuuencode -m /tmp/x /tmp/yYou'll get:begin-base64 644 /tmp/yZnJlZDpzdXBlcnNlY3JldA======Copy the ZnJIZ... string (including the == at the end) to your cut buffer.  This is your uuencoded user:password.telnet ip.or.host 80Type in: GET /path/to/file.html HTTP/</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5077177/posts/default/91046197'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5077177/posts/default/91046197'/><link rel='alternate' type='text/html' href='http://johnnylambada.blogspot.com/2003/03/how-to-do-http-request-with.html' title=''/><author><name>John</name><uri>http://www.blogger.com/profile/10405938742594476950</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5077177.post-90740615</id><published>2003-03-14T17:24:00.000-08:00</published><updated>2005-07-19T21:59:20.116-07:00</updated><title type='text'></title><summary type='text'>How to upgrade Red Hat 8.0's apache RPMs to the latest Apache releaserpm -i /rhs80.2/SRPMS/httpd-2.0.40-8.src.rpmInstall the Apache source RPM.  Ignore the warning.  You may need to get the src.rpm file from the CD directly.cd /usr/src/redhatGo to the Red Hat sources directorywget http://apache.oregonstate.edu/httpd/httpd-2.0.44.tar.gzGet the latest version of Apache.  Go to www.apache.org and </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5077177/posts/default/90740615'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5077177/posts/default/90740615'/><link rel='alternate' type='text/html' href='http://johnnylambada.blogspot.com/2003/03/how-to-upgrade-red-hat-8.html' title=''/><author><name>John</name><uri>http://www.blogger.com/profile/10405938742594476950</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5077177.post-90129722</id><published>2003-03-04T12:20:00.000-08:00</published><updated>2003-03-04T12:20:07.950-08:00</updated><title type='text'></title><summary type='text'>"The corollary of constant change is ignorance. This is not often talked about: we computer experts barely know what we're doing." (Ellen Ullman)</summary><link rel='replies' type='application/atom+xml' href='http://johnnylambada.blogspot.com/feeds/90129722/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5077177&amp;postID=90129722' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5077177/posts/default/90129722'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5077177/posts/default/90129722'/><link rel='alternate' type='text/html' href='http://johnnylambada.blogspot.com/2003/03/corollary-of-constant-change-is.html' title=''/><author><name>John</name><uri>http://www.blogger.com/profile/10405938742594476950</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5077177.post-89926623</id><published>2003-02-28T15:06:00.000-08:00</published><updated>2005-07-19T21:59:51.713-07:00</updated><title type='text'></title><summary type='text'>How to send email w/o a mail clientNote: you have to telnet to your email server[jl@www jl]$ telnet mail.MySmtpServer.net 25Trying aa.bb.cc.dd...Connected to mail.MySmtpServer.net.Escape character is '^]'.220 mail.MySmtpServer.net ESMTPhelo www.DoesntReallyMatter.com250 mail.MySmtpServer.netmail from: john@MyEmailAddress.net250 okrcpt to: arthur@ReceiversEmailAddress.net250 okdata354 go </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5077177/posts/default/89926623'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5077177/posts/default/89926623'/><link rel='alternate' type='text/html' href='http://johnnylambada.blogspot.com/2003/02/how-to-send-email-wo-mail-client-note.html' title=''/><author><name>John</name><uri>http://www.blogger.com/profile/10405938742594476950</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5077177.post-89923263</id><published>2003-02-28T13:52:00.000-08:00</published><updated>2003-09-25T15:55:26.183-07:00</updated><title type='text'></title><summary type='text'>And so here is my first LDAP schema.  It's pretty simple, it just holds the D3 server and SSH Public key for a user.  It goes in /etc/openldap/schema/cli.schema on Red Hat Linux using OpenLDAP:## My Fabulous private schema## OIDS:#   iso.org.dod.internet.private.enterprise.me.myclient.ldap.attributetype#     1   3   6        1       4          1       15823   1    1             1#   </summary><link rel='replies' type='application/atom+xml' href='http://johnnylambada.blogspot.com/feeds/89923263/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5077177&amp;postID=89923263' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5077177/posts/default/89923263'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5077177/posts/default/89923263'/><link rel='alternate' type='text/html' href='http://johnnylambada.blogspot.com/2003/02/and-so-here-is-my-first-ldap-schema.html' title=''/><author><name>John</name><uri>http://www.blogger.com/profile/10405938742594476950</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5077177.post-89920796</id><published>2003-02-28T13:00:00.000-08:00</published><updated>2003-09-25T16:16:26.510-07:00</updated><title type='text'></title><summary type='text'>This is about a month old, but it bears blogging: The IANA has assigned the following Private Enterprise Number to LinuxWithin.com:  15823The prefix is: iso.org.dod.internet.private.enterprise (1.3.6.1.4.1)I'm assigning the .1 sub-code for use at my customer.</summary><link rel='replies' type='application/atom+xml' href='http://johnnylambada.blogspot.com/feeds/89920796/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5077177&amp;postID=89920796' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5077177/posts/default/89920796'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5077177/posts/default/89920796'/><link rel='alternate' type='text/html' href='http://johnnylambada.blogspot.com/2003/02/this-is-about-month-old-but-it-bears.html' title=''/><author><name>John</name><uri>http://www.blogger.com/profile/10405938742594476950</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5077177.post-89873383</id><published>2003-02-27T17:45:00.000-08:00</published><updated>2003-09-25T15:57:05.590-07:00</updated><title type='text'></title><summary type='text'>These are the notes and important command lines that we learned today on how to build PDF files from TIFF (or other graphic format) files.The test stuff is here: /var/www/dev/html/test/xHere's the command to build the pdf:htmldoc --header ... --footer ... --webpage --bottom 0 --top 0 --left 0 --right 0 -f jl.pdf a1.html  2&gt; /dev/nullHere's what the HTML file should look like (a1.html in </summary><link rel='replies' type='application/atom+xml' href='http://johnnylambada.blogspot.com/feeds/89873383/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5077177&amp;postID=89873383' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5077177/posts/default/89873383'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5077177/posts/default/89873383'/><link rel='alternate' type='text/html' href='http://johnnylambada.blogspot.com/2003/02/these-are-notes-and-important-command.html' title=''/><author><name>John</name><uri>http://www.blogger.com/profile/10405938742594476950</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5077177.post-89747330</id><published>2003-02-25T17:49:00.000-08:00</published><updated>2003-09-25T15:57:42.416-07:00</updated><title type='text'></title><summary type='text'>One more thing about the email server;  I wanted to try my email list test again (send an email to a test list of 50 test users).  So I changed the loglevel-send back to 127.  When I sent to the test list, I had troubles.  After I changed the loglevel-send back to nothing (file exists, but is empty), my list went through with no trouble. Hmmm, seems that having a loglevel can muck things up a </summary><link rel='replies' type='application/atom+xml' href='http://johnnylambada.blogspot.com/feeds/89747330/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5077177&amp;postID=89747330' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5077177/posts/default/89747330'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5077177/posts/default/89747330'/><link rel='alternate' type='text/html' href='http://johnnylambada.blogspot.com/2003/02/one-more-thing-about-email-server-i.html' title=''/><author><name>John</name><uri>http://www.blogger.com/profile/10405938742594476950</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5077177.post-89744320</id><published>2003-02-25T16:49:00.000-08:00</published><updated>2003-09-25T16:18:51.230-07:00</updated><title type='text'></title><summary type='text'>Well, that (see yesterdays blog) didn't work.  I got a call from the admin this morning that email didn't work, and sure enough it was not delivering mail at all.  I undid the change to /var/qmail/control/ldaptimeout and restarted.  It took about 5 restarts ((vi /etc/inittab; kill -HUP 1)*2), but eventually it got through the whole deliver queue.  The problem still remained of why was this </summary><link rel='replies' type='application/atom+xml' href='http://johnnylambada.blogspot.com/feeds/89744320/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5077177&amp;postID=89744320' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5077177/posts/default/89744320'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5077177/posts/default/89744320'/><link rel='alternate' type='text/html' href='http://johnnylambada.blogspot.com/2003/02/well-that-see-yesterdays-blog-didnt.html' title=''/><author><name>John</name><uri>http://www.blogger.com/profile/10405938742594476950</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5077177.post-89693445</id><published>2003-02-24T21:18:00.000-08:00</published><updated>2003-09-25T16:03:16.006-07:00</updated><title type='text'></title><summary type='text'>I've modified the /var/qmail/control/ldaptimeout so that it now takes 120 seconds (2 minutes) for an LDAP connection to timeout.  The default is thirty seconds.  People who send messages to lists have been getting bounce messages that look like this:Hi. This is the qmail-send program at mail.client.com.I'm afraid I wasn't able to deliver your message to the followingaddresses.This is a </summary><link rel='replies' type='application/atom+xml' href='http://johnnylambada.blogspot.com/feeds/89693445/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5077177&amp;postID=89693445' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5077177/posts/default/89693445'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5077177/posts/default/89693445'/><link rel='alternate' type='text/html' href='http://johnnylambada.blogspot.com/2003/02/ive-modified-varqmailcontrolldaptimeou.html' title=''/><author><name>John</name><uri>http://www.blogger.com/profile/10405938742594476950</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5077177.post-89529073</id><published>2003-02-21T17:47:00.000-08:00</published><updated>2003-09-25T16:04:44.520-07:00</updated><title type='text'></title><summary type='text'>Working on my client's email server.Created three new /var/qmail/control files that contain the loglevels for different servicesloglevel-pop3d 64 for debugloglevel-smtpd 64 for debugloglevel-send 64 for debug.  This one is for local and remote deliverys.The problem is this.  When delivering to a large ldap list (everybody@client.net for example), some of the deliverys fail with this error</summary><link rel='replies' type='application/atom+xml' href='http://johnnylambada.blogspot.com/feeds/89529073/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5077177&amp;postID=89529073' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5077177/posts/default/89529073'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5077177/posts/default/89529073'/><link rel='alternate' type='text/html' href='http://johnnylambada.blogspot.com/2003/02/working-on-my-clients-email-server.html' title=''/><author><name>John</name><uri>http://www.blogger.com/profile/10405938742594476950</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5077177.post-89522932</id><published>2003-02-21T15:14:00.000-08:00</published><updated>2003-02-21T15:14:28.006-08:00</updated><title type='text'></title><summary type='text'>Linux Certification: www.lpi.org</summary><link rel='replies' type='application/atom+xml' href='http://johnnylambada.blogspot.com/feeds/89522932/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5077177&amp;postID=89522932' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5077177/posts/default/89522932'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5077177/posts/default/89522932'/><link rel='alternate' type='text/html' href='http://johnnylambada.blogspot.com/2003/02/linux-certification-www.html' title=''/><author><name>John</name><uri>http://www.blogger.com/profile/10405938742594476950</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5077177.post-89520935</id><published>2003-02-21T14:29:00.000-08:00</published><updated>2003-02-21T14:31:19.000-08:00</updated><title type='text'></title><summary type='text'>Doh!  Query programs work so much better when you tell them what, exactly, you are querying.  I had harvested the CHLReferenceNumber from the request response:	try{		CHLReferenceNumber = node.Attributes["CHLReferenceNumber"].Value;	} catch( Exception e){		throw new Exception(" get error: "+e.Message);	}But I forgot to put the CHLReferenceNumber in my Response query.  It's in there now:	</summary><link rel='replies' type='application/atom+xml' href='http://johnnylambada.blogspot.com/feeds/89520935/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5077177&amp;postID=89520935' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5077177/posts/default/89520935'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5077177/posts/default/89520935'/><link rel='alternate' type='text/html' href='http://johnnylambada.blogspot.com/2003/02/doh-query-programs-work-so-much-better.html' title=''/><author><name>John</name><uri>http://www.blogger.com/profile/10405938742594476950</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5077177.post-89516562</id><published>2003-02-21T12:56:00.000-08:00</published><updated>2003-02-21T12:56:06.360-08:00</updated><title type='text'></title><summary type='text'>Crazy morning: raquetball, back and forth to Cam's school, finally to work at 10:00.  Still can't figure out why PD is not working.  CW has fixed their credit reporting problem, but still it times out.  Investigating...</summary><link rel='replies' type='application/atom+xml' href='http://johnnylambada.blogspot.com/feeds/89516562/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5077177&amp;postID=89516562' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5077177/posts/default/89516562'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5077177/posts/default/89516562'/><link rel='alternate' type='text/html' href='http://johnnylambada.blogspot.com/2003/02/crazy-morning-raquetball-back-and.html' title=''/><author><name>John</name><uri>http://www.blogger.com/profile/10405938742594476950</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5077177.post-89467875</id><published>2003-02-20T17:37:00.000-08:00</published><updated>2003-02-20T17:45:10.000-08:00</updated><title type='text'></title><summary type='text'>Ok, I admit it -- I really like C# (and visual studio -- I'm going to mix them up here).  They're really cool for several reasons:	Your programs are so easy to read.  No more mucking about with pointers and stuff, you just say want you want and the computer figures out the hard bits.  As A die-hard programmer from way back (1983 -- no, not way way back, but way back enough), it's hard for me to</summary><link rel='replies' type='application/atom+xml' href='http://johnnylambada.blogspot.com/feeds/89467875/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5077177&amp;postID=89467875' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5077177/posts/default/89467875'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5077177/posts/default/89467875'/><link rel='alternate' type='text/html' href='http://johnnylambada.blogspot.com/2003/02/ok-i-admit-it-i-really-like-c-and.html' title=''/><author><name>John</name><uri>http://www.blogger.com/profile/10405938742594476950</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5077177.post-89449191</id><published>2003-02-20T11:29:00.000-08:00</published><updated>2003-02-20T11:29:28.150-08:00</updated><title type='text'></title><summary type='text'>C# get current threadint tid = System.Threading.Thread.CurrentThread.GetHashCode();This doesn't seem to be the same as the thread id, but can be used in a similar way.</summary><link rel='replies' type='application/atom+xml' href='http://johnnylambada.blogspot.com/feeds/89449191/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5077177&amp;postID=89449191' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5077177/posts/default/89449191'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5077177/posts/default/89449191'/><link rel='alternate' type='text/html' href='http://johnnylambada.blogspot.com/2003/02/c-get-current-thread-int-tid-system.html' title=''/><author><name>John</name><uri>http://www.blogger.com/profile/10405938742594476950</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5077177.post-89447378</id><published>2003-02-20T10:55:00.000-08:00</published><updated>2003-02-20T10:55:10.453-08:00</updated><title type='text'></title><summary type='text'>C# format strings: See the nutshell bookDateTime t = System.DateTime.Now;file.WriteLine(	"{0:00}{1:D2}{2:D2} {3:D2}:{4:D2}:{5:D2}+{6:D4} {7}",	t.Year-2000,		// Y21K!	t.Month,	t.Day,	t.Hour,	t.Minute,	t.Second,	t.Millisecond, s );</summary><link rel='replies' type='application/atom+xml' href='http://johnnylambada.blogspot.com/feeds/89447378/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5077177&amp;postID=89447378' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5077177/posts/default/89447378'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5077177/posts/default/89447378'/><link rel='alternate' type='text/html' href='http://johnnylambada.blogspot.com/2003/02/c-format-strings-see-nutshell-book.html' title=''/><author><name>John</name><uri>http://www.blogger.com/profile/10405938742594476950</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5077177.post-89447170</id><published>2003-02-20T10:51:00.000-08:00</published><updated>2003-09-25T16:06:49.190-07:00</updated><title type='text'></title><summary type='text'>Is Tarentella TE3 useful for my client?"TE3 can take most legacy terminal emulation and display protocols, Remote Desktop Protocol (RDP) for Windows Terminal Server, and any Java-wrapped application, and resolve them to one display protocol for shipment to a Java-enabled Web browser or Tarantella's own proprietary thin client."       -- ZD Net</summary><link rel='replies' type='application/atom+xml' href='http://johnnylambada.blogspot.com/feeds/89447170/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5077177&amp;postID=89447170' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5077177/posts/default/89447170'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5077177/posts/default/89447170'/><link rel='alternate' type='text/html' href='http://johnnylambada.blogspot.com/2003/02/is-tarentella-te3-useful-for-my-client.html' title=''/><author><name>John</name><uri>http://www.blogger.com/profile/10405938742594476950</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5077177.post-89445769</id><published>2003-02-20T10:26:00.000-08:00</published><updated>2003-02-20T10:26:51.516-08:00</updated><title type='text'></title><summary type='text'>Showing Dena my blog...</summary><link rel='replies' type='application/atom+xml' href='http://johnnylambada.blogspot.com/feeds/89445769/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5077177&amp;postID=89445769' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5077177/posts/default/89445769'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5077177/posts/default/89445769'/><link rel='alternate' type='text/html' href='http://johnnylambada.blogspot.com/2003/02/showing-dena-my-blog.html' title=''/><author><name>John</name><uri>http://www.blogger.com/profile/10405938742594476950</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5077177.post-89445458</id><published>2003-02-20T10:20:00.000-08:00</published><updated>2003-09-25T16:07:47.706-07:00</updated><title type='text'></title><summary type='text'>&gt; From: Lynn [mailto:lynn@client.net] &gt; Sent: Thursday, February 20, 2003 8:22 AM&gt; &gt; did you make up the word snarf? I've never heard of it before!  I'm assuming it means stolen/copied/pirated, correct?I replied:Snarf has a long and hallowed history...http://www.webopedia.com/TERM/S/snarf.htmlhttp://info.astrian.net/jargon/terms/s/snarf.htmlIt's actually a command line utility too...</summary><link rel='replies' type='application/atom+xml' href='http://johnnylambada.blogspot.com/feeds/89445458/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5077177&amp;postID=89445458' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5077177/posts/default/89445458'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5077177/posts/default/89445458'/><link rel='alternate' type='text/html' href='http://johnnylambada.blogspot.com/2003/02/from-lynn-mailtolynnclient.html' title=''/><author><name>John</name><uri>http://www.blogger.com/profile/10405938742594476950</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5077177.post-89440266</id><published>2003-02-20T08:43:00.000-08:00</published><updated>2003-02-20T08:43:02.740-08:00</updated><title type='text'></title><summary type='text'>Moved blog from 4johnnylambada.blogspot.com to http://www.linuxwithin.com/blog</summary><link rel='replies' type='application/atom+xml' href='http://johnnylambada.blogspot.com/feeds/89440266/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5077177&amp;postID=89440266' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5077177/posts/default/89440266'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5077177/posts/default/89440266'/><link rel='alternate' type='text/html' href='http://johnnylambada.blogspot.com/2003/02/moved-blog-from-4johnnylambada.html' title=''/><author><name>John</name><uri>http://www.blogger.com/profile/10405938742594476950</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5077177.post-89439124</id><published>2003-02-20T08:21:00.000-08:00</published><updated>2003-02-20T08:38:14.000-08:00</updated><title type='text'></title><summary type='text'>Power failed last night.  Everything seems to have rebooted nicely.  The only problem was the time setting for the gl2 box.  Gotta fix that in CMOS some time.</summary><link rel='replies' type='application/atom+xml' href='http://johnnylambada.blogspot.com/feeds/89439124/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5077177&amp;postID=89439124' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5077177/posts/default/89439124'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5077177/posts/default/89439124'/><link rel='alternate' type='text/html' href='http://johnnylambada.blogspot.com/2003/02/power-failed-last-night.html' title=''/><author><name>John</name><uri>http://www.blogger.com/profile/10405938742594476950</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5077177.post-89418257</id><published>2003-02-19T22:46:00.000-08:00</published><updated>2003-09-25T16:08:38.143-07:00</updated><title type='text'></title><summary type='text'>Just got back from the Ducks game.  They won against the Blue Jackets 2-0.  The last point came in the final seconds against a golie-less net.I went with Bevan.  We sat in really great seats -- a "suite" actually, with a couch and leather seats!</summary><link rel='replies' type='application/atom+xml' href='http://johnnylambada.blogspot.com/feeds/89418257/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5077177&amp;postID=89418257' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5077177/posts/default/89418257'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5077177/posts/default/89418257'/><link rel='alternate' type='text/html' href='http://johnnylambada.blogspot.com/2003/02/just-got-back-from-ducks-game.html' title=''/><author><name>John</name><uri>http://www.blogger.com/profile/10405938742594476950</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5077177.post-89393793</id><published>2003-02-19T15:04:00.000-08:00</published><updated>2003-09-25T16:20:44.290-07:00</updated><title type='text'></title><summary type='text'>The csv2ldif python program converts the user database CSV file exported from Outlook to ldif, which is then imported to our LDAP database.  It has been modified so that it now adds two new lines:objectClass: sambaAccountntPassword: PASSWORD_ENCRYPTED_FOR_NTHere are the changes that were made:226a227&gt;               o.outnv(  "objectClass","sambaAccount")254a256,259&gt;               if </summary><link rel='replies' type='application/atom+xml' href='http://johnnylambada.blogspot.com/feeds/89393793/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5077177&amp;postID=89393793' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5077177/posts/default/89393793'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5077177/posts/default/89393793'/><link rel='alternate' type='text/html' href='http://johnnylambada.blogspot.com/2003/02/csv2ldif-python-program-converts-user.html' title=''/><author><name>John</name><uri>http://www.blogger.com/profile/10405938742594476950</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
