<?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-18208814</id><updated>2011-04-21T14:08:25.200-07:00</updated><title type='text'>problem solved</title><subtitle type='html'>This blog is intended to keep track of stuff that i've done, so i can look it up after i forget.  of course it helps other too.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://luckycan.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18208814/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://luckycan.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>nick</name><uri>http://www.blogger.com/profile/14906174970119509161</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://whatmind.com/me.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>8</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-18208814.post-114101156557537546</id><published>2006-02-26T19:08:00.000-08:00</published><updated>2006-02-26T19:46:28.533-08:00</updated><title type='text'>must take time....</title><content type='html'>The original reason i started writing this blog, was to keep track of stuff that i do.  damnit...i have not been doing that lately.  its odd that i can't find time to write a few sentences here, considering i spend every waking moment on my computer.&lt;br /&gt;&lt;br /&gt;I have been learning python lately.  from what i have seen of it, its a very cool language.  I like languages like C and perl because of their cryptic syntax, so python is not appealing on that front.  you can write some crazy looking stuff in python, but most of it seems to be written so that it is easy to read.  This is probably a good thing...!  &lt;br /&gt;&lt;br /&gt;Python is more high level that C or perl, but for me is a nice middle ground between the two. C is a very strict langugae.  If you know it well, then you can write quick little programs with no problem.  but if you don't play with it very often, you can find yourself getting very frustrated at the complier for complaining about something that just does not seem wrong.  perl on the other hand will let you do whatever you want basically.  which is why a lot of hackers like it.  it lets you get what you want done, done and there is not a lot of for play.  python enforces a lot of the stuff that C enforces, but still gives you a lot of the flexibility of perl.  i think it will take a little getting used to, but i believe it will lead to a more reliable program in the end.  &lt;br /&gt;&lt;br /&gt;&lt;b&gt;things i like about python:&lt;/b&gt;&lt;br /&gt;  &lt;ul&gt;&lt;br /&gt;   &lt;li&gt;object oriented is good&lt;br /&gt;   &lt;li&gt; core language is simple -- all the complicated stuff is in module,which have their own namespace&lt;br /&gt;   &lt;li&gt;to my knowledge you have to specifically say &lt;code&gt;global somevar&lt;/code&gt;to get access to a variable global with respect to the module.i mention this in particular because i have had problems with perl when it comes to global variables, because of my laid back attitude with them.  I want the interrpreter to bitch...&lt;br /&gt;   &lt;li&gt;list stuff (ie. looping,slicing...)  it has cool list features and i still have more of them to learn&lt;br /&gt;   &lt;li&gt;the dir function.  very useful for someone learning a language you have an object returned from something, and you don't know what it is just say &lt;code&gt;dir(someobj)&lt;/code&gt; and you get a list of all of its methods and properties&lt;br /&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;things i don't like about python, but prolly just need to get used to:&lt;/b&gt;&lt;br /&gt;  &lt;ul&gt;&lt;br /&gt;   &lt;li&gt; I am not a huge fan of exceptions, but they do give you a little more info than a return value of 0&lt;br /&gt;   &lt;li&gt;no enclosing braces for functions. liked it at first, but its kind of throwing me off&lt;br /&gt;   &lt;li&gt; don't think it supports a ++ operator or ?: conditional. i do however think you can define one, but i'm not sure how&lt;br /&gt;  &lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;hopefully as i learn more, i will be able to speak more intelligently about python.&lt;br /&gt;&lt;br /&gt;i will sign off with a code snippet i wrote today.  I always like to write really complicated one liners.  this is my first python complicated one liner&lt;br /&gt;&lt;br /&gt;can you guess what it does?(its actually pretty simple)&lt;br /&gt;&lt;code&gt;&lt;br /&gt;''.join([''.join(list(p)) for p in [(str(x),str(chr(y))) for x,y in zip(random.sample(range(10000),50),random.sample(range(65,91)+range(97,123),50))]])&lt;br /&gt;&lt;/code&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18208814-114101156557537546?l=luckycan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://luckycan.blogspot.com/feeds/114101156557537546/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=18208814&amp;postID=114101156557537546' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18208814/posts/default/114101156557537546'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18208814/posts/default/114101156557537546'/><link rel='alternate' type='text/html' href='http://luckycan.blogspot.com/2006/02/must-take-time.html' title='must take time....'/><author><name>nick</name><uri>http://www.blogger.com/profile/14906174970119509161</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://whatmind.com/me.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18208814.post-113759815678601547</id><published>2006-01-18T07:02:00.000-08:00</published><updated>2006-01-18T07:29:17.023-08:00</updated><title type='text'>my 20%</title><content type='html'>When &lt;a href='http://video.google.com'&gt;google video&lt;/a&gt; first hit the streets, I came accross a video of a presentation by the CEO of google.  It was really long, so i didn't watch the whole thing.  in the part that I watched, the CEO guy talked about google's 70-20-10 business plan.  &lt;br /&gt;&lt;br /&gt;Google believes that you should dedicate 70% of your resources(money,programmer time...) to the main goal of your business.  In google's case this is search and advertising.  These things will continue to rake in the money for them.  20% should be given to things that are somewhat related to the main goals, but not neccessarily.  So &lt;a href='http://www.gmail.com'&gt;gmail&lt;/a&gt; and google video are examples of the 20%.  They promote google and are really cool apps, but they aren't going to make any money.  the last 10% is meant to go towards thing that are totally unrelated to the main goals.  So if a programmer wants to work out an algorithm for bass fishing that will optimize the number of fish caught in n amount of time, they can use their 10% to do that.&lt;br /&gt;&lt;br /&gt;I really like this business plan. programmers especially need some room to roam, or they will totally lose their inspiration.  So yesterday my 20% was to make something that i'm very surprised i've never seen before.  The limitations of a web browser are lessening everyday.  I think that many web developers are not taking into account all of the tools that are available for building web applications.  And by tools i do not mean dreamweaver or golive, but rather the tools that are available in every browser and can  be utilized by opening up a text editor and hacking away. &lt;br /&gt;&lt;br /&gt;&lt;a href='http://www.google.com/ig'&gt;Google's homepage&lt;/a&gt; allows you to change the modules that are displayed on your homepage.  so you can close the weather box, if you don't care, and put up the slashdot box instead.  That is pretty cool, but even cooler than that, they let you drag the boxes around on the screen, just like a real application. When i first saw this, i thought it was black magic.  Then i realized, yeserday, that it was actually really easy.&lt;br /&gt;&lt;br /&gt;&lt;a href='http://www.apley.com/~nick/test/boxes.html'&gt;This&lt;/a&gt; is my example of moving  boxes around on the screen.  The code is very simple.  I think this could be used for all sorts of neat things.  It would be cool to not move the original, but instead to make a new div that had low opacity and move it around, then when it was in place delete it and move the original.  It would also be cool to make the zindex work like you would expect normal windows to work.  That is, when you pic up box a and drag it over box c, box c is still on top.  That needs to not be like that. &lt;br /&gt;&lt;br /&gt;I'm going to keep tweaking and see what else I can come up with.  any ideas let me know...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18208814-113759815678601547?l=luckycan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://luckycan.blogspot.com/feeds/113759815678601547/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=18208814&amp;postID=113759815678601547' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18208814/posts/default/113759815678601547'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18208814/posts/default/113759815678601547'/><link rel='alternate' type='text/html' href='http://luckycan.blogspot.com/2006/01/my-20.html' title='my 20%'/><author><name>nick</name><uri>http://www.blogger.com/profile/14906174970119509161</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://whatmind.com/me.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18208814.post-113739575718015524</id><published>2006-01-15T22:35:00.000-08:00</published><updated>2006-01-15T23:15:57.233-08:00</updated><title type='text'>google has all the answers</title><content type='html'>I think many people share the envy that i have for google.  They seem to be getting everything right these days.  The most perfect work environment, the most successful applications, still rising stock prices...&lt;br /&gt;&lt;br /&gt;Google also has really cool ideas, and a lot of the stuff that they do is really not that hard.  When i first saw the &lt;a href='http://www.google.com/webhp?complete=1&amp;hl=en'&gt;google suggest&lt;/a&gt;, i decided that i had to make my own implementation of it.  I worked on it for a couple of days, off and on, and got a working copy of it (you can find that at &lt;a href='http://www.whatmind.com/goog'&gt;http://www.whatmind.com/goog&lt;/a&gt;).  Once i figured out how to simulate a basic drop down/autocomplete thing, i used it to simplify some other things i was working on.  Its a really cool feature to have in something that has filter fields, or a form that will contain information that has been input into a db already.  &lt;br /&gt;&lt;br /&gt;When i implemented my google suggest, i used firefox to test everything.  naturally IE did not work the same way.  The basic funtionality worked just fine, but some of the cosmetic effects were not exactly as smooth as the firefox version.  The way i created the drop down box was to simply make a div right below the text box, that i wanted it to to a drop down for.  then i set &lt;code&gt;position:absolute&lt;/code&gt; and the &lt;code&gt;display:none&lt;/code&gt; properties.  When i wanted it to show up in the code i just changed the display property to block.  Ohh yea...you have to set the zindex higher than everything else on the page too.  In firefox the effect was for the box to show up right under the text box, just as i wanted. Then i could fill it in with suggestions.  In IE it would show up in strange places.&lt;br /&gt;&lt;br /&gt;This did not become a problem until i actually wanted to use my widget for something where others would be using it, and would potentially be using IE to access the feature.  Instead of thinking "hmm what would the simpliest solution to the problem be...", I decided to look into the google suggest code for help.  If you have never looked at any of google's javascript, then you should take a peak before you continue to read (&lt;a href='http://www.google.com/ac.js'&gt;http://www.google.com/ac.js&lt;/a&gt;).  Either the people who right this code want to torture themselves or they have some program they use to make the code very unreadable and hard to understand.  I think they do this to cut down on network traffic, but i believe it is also a protective measure.  &lt;br /&gt;&lt;br /&gt;So i spent hours trying to figure out how it was that google suggest was able to make this thing work in IE.  After i started looking at the code, I realized that this was probably not going to be the best idea for my morning activities, but then i got so involved that i just could not stop.  After searching through this code for a few hours, copying functions and then spacing them the way i like,  i finally found the function that made the whole thing possible. And it was so simple...&lt;br /&gt;&lt;br /&gt;&lt;code&gt;function kb(s,na){var wb=0;while(s){wb+=s[na];s=s.offsetParent}return wb}&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;s is the object you want to find the location of in the browser window.  na is the array index of the property you want(offsetLeft or offsetTop). I was not familar with this use of text array indexes so, I changed the code around to use the objects properties like i always do.&lt;br /&gt;&lt;br /&gt;so instead of: &lt;code&gt;wb+=s[offsetTop]&lt;/code&gt;&lt;br /&gt;i said: &lt;code&gt;wb+=document.getElementById(s).offsetTop&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;so this function finds the offsetTop and offsetLeft for you, which you can use to move your suggestion box to your text box.  Then, of course, adjust it, so it appears right under the text box.  That you can do with the offsetHeight property of an element. &lt;br /&gt;&lt;br /&gt;my code is a little bit of a mess, but i will clean it up and post it here later.&lt;br /&gt;&lt;br /&gt;the above function could also be written to be recursive and that would be pretty cool.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18208814-113739575718015524?l=luckycan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://luckycan.blogspot.com/feeds/113739575718015524/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=18208814&amp;postID=113739575718015524' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18208814/posts/default/113739575718015524'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18208814/posts/default/113739575718015524'/><link rel='alternate' type='text/html' href='http://luckycan.blogspot.com/2006/01/google-has-all-answers.html' title='google has all the answers'/><author><name>nick</name><uri>http://www.blogger.com/profile/14906174970119509161</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://whatmind.com/me.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18208814.post-113688198975522740</id><published>2006-01-10T00:15:00.000-08:00</published><updated>2006-01-10T00:34:45.123-08:00</updated><title type='text'>good old vim</title><content type='html'>the first book i ever bought about unix was some awful "learn it in 20 days" sort of book.   I quickly realized that these books were not the best to learn from.  not only do they not give enough information about anything you want to do, but a lot of times the information they do give is wrong. I remember reading a book on javascript in 2000, and there was a section about setting up timer.  it instructed the reader to define a variable time and set it equal to the number of seconds times 1000 that you want your javascript program to wait.  Then you do something like this&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;  for(i=0; i&amp;#60time; i++){e = 'i am waiting';}&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;i don't even want to say why that doesn't work.  it should be obvious to anyone that has been exposed to programming. how do things like that make it into publication?&lt;br /&gt;&lt;br /&gt;Anyway... the reason that i got the book was because i had recently gotten access to a machine that was unix based (i don't remember if it was linux or freebsd or what).  my only exposure to the command line was through dos, and there was something mystical about it that i liked.  So i learned all of the basic commands and was able to find my way around the system.  I grabbed /etc/passwd and ran a cracker on it...that was kind of cool.  When i tried to edit documents with the vi or vim editor, I always got very frustrated.  It seemed impossible to get anything done with this insane program that didn't tell you what you were supposed to  do with it.  I remember getting so angry and hitting ctrl-whatever trying to get out of the program or make the document go back to the way it was before.  &lt;br /&gt;&lt;br /&gt;Of course now i have been using it for a number of years and it is one of my favorite programs.  I edit everything in vim. there are all sorts of cool little tricks you can do to make things go quicker.  Someone posted a cool tutorial on it, found &lt;a href='http://jmcpherson.org/editing.html'&gt;here&lt;/a&gt;.  Everytime i read about it, i find something new that i didn't know about before. If your a vim fan, check out the link.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18208814-113688198975522740?l=luckycan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://luckycan.blogspot.com/feeds/113688198975522740/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=18208814&amp;postID=113688198975522740' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18208814/posts/default/113688198975522740'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18208814/posts/default/113688198975522740'/><link rel='alternate' type='text/html' href='http://luckycan.blogspot.com/2006/01/good-old-vim.html' title='good old vim'/><author><name>nick</name><uri>http://www.blogger.com/profile/14906174970119509161</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://whatmind.com/me.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18208814.post-113644693667483760</id><published>2006-01-04T23:04:00.000-08:00</published><updated>2006-01-05T10:09:17.516-08:00</updated><title type='text'>I hate being sick</title><content type='html'>I think half the people i know are sick right now, which is probably why I am too.  Everyone seems to accept the fact that you take medicine when you are sick.  You dont feel well, you take something that will ease the symptoms.  There is no cure, so all you can do is ease it a little bit.  For some reason, I refuse to do so... This makes me feel and look sicker than everyone else.  Why must i be so stubborn?&lt;br /&gt;&lt;br /&gt;I stared at my computer all day today and felt like my eyes were going to pop out of my head.  I did find one neat thing though.  sometimes you come accross something that should be really easy, because its so simple, but you just have never done it before.  This was one of those situations.  I was writing a perl script and i thought it would be cool to prompt for the pw instead of hardcoding it.  When i started coding, I realized that I had no idea how to turn the terminal echo off, in linux.  Turns out it is very easy.  &lt;br /&gt;&lt;br /&gt;turn it off with:&lt;br /&gt;&lt;code&gt;stty -echo&lt;/code&gt;&lt;br /&gt;turn it on with:&lt;br /&gt;&lt;code&gt;stty echo&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;simple as pie.&lt;br /&gt;&lt;br /&gt;Here is a little C code that I wrote to demonstrate:&lt;br /&gt;&lt;code&gt;&lt;br /&gt;#include &amp;#60stdlib.h&amp;#62&lt;br /&gt;#include &amp;#60stdio.h&amp;#62&lt;br /&gt;&lt;br /&gt;int main(){&lt;br /&gt;  char p[10];&lt;br /&gt;&lt;br /&gt;  printf("Password:");&lt;br /&gt;&lt;br /&gt;  system("stty -echo");&lt;br /&gt;  fgets(p,10,stdin);&lt;br /&gt;  system("stty echo");&lt;br /&gt;  removeNewLine(p);&lt;br /&gt;&lt;br /&gt;  if(getLength(p) &gt; 8){printf("Your password was longer than 8 characters...sorry!\n"); return 0;}&lt;br /&gt;  printf("\nYou entered %s as your password\n",p);&lt;br /&gt;  return 0;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;int getLength(char *s){&lt;br /&gt;   int n  = 0;&lt;br /&gt;   while(*s != '\0' &amp;&amp; ++n)s++;&lt;br /&gt;   return n;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;void removeNewLine(char *s){&lt;br /&gt;   while(*s != '\0'){if(*s == '\n'){*s = '\0';return;}s++;}&lt;br /&gt;}&lt;br /&gt;&lt;/code&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18208814-113644693667483760?l=luckycan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://luckycan.blogspot.com/feeds/113644693667483760/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=18208814&amp;postID=113644693667483760' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18208814/posts/default/113644693667483760'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18208814/posts/default/113644693667483760'/><link rel='alternate' type='text/html' href='http://luckycan.blogspot.com/2006/01/i-hate-being-sick.html' title='I hate being sick'/><author><name>nick</name><uri>http://www.blogger.com/profile/14906174970119509161</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://whatmind.com/me.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18208814.post-113599806490938015</id><published>2005-12-30T18:55:00.000-08:00</published><updated>2005-12-30T22:09:33.440-08:00</updated><title type='text'>Perl...That's Hot!</title><content type='html'>I would have to say that perl has become my favorite language.&lt;br /&gt;&lt;br /&gt;Every programming language has little things about it that make it feel really nice to use, but Perl is overloaded with them.  One of my favorite tricks is the map function.  The reason I am so fond of it probably stems back to my roots as a young man interested in computer programming.  All those weird looking nonsensical codes and symbols were so mysterious.  Trying to figure out some ridiculous piece of code is so challenging and fun...&lt;br /&gt;&lt;br /&gt;probably why i didn't like taking software development classes in college.  Form! classes! who needs them?&lt;br /&gt;&lt;br /&gt;Anyway the map function is really simple, but it can make some complicated looking code when things start to get dense.  It looks like this&lt;br /&gt;&lt;br /&gt;map{"stuff to do with stuff"} @stuff&lt;br /&gt;&lt;br /&gt;that might make more sense to me than it makes to you...sorry.  let me explain.  you give the map function an array, @stuff.  for every element in @stuff the function applies the thing in the {} to the element and returns another array. so if you say&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;@stuff = ("pie", "steak', "pizza");&lt;br /&gt;map{"$_ is cool"} @stuff;&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;The $_ is the variable representing the single stuff element.  you get a list like this:&lt;br /&gt;&lt;br /&gt;("pie is cool", "steak is cool", "pizza is cool")&lt;br /&gt;&lt;br /&gt;this can be particularly helpful if you are writing long database queries.  instead of typing the entire thing  you can use a map , in combination with a join, and get the whole query in one line.&lt;br /&gt;ex:&lt;br /&gt;&lt;code&gt;&lt;br /&gt;$query = join(',' , (map{$dbvals{$_}} @dbcolumns));&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;who writes a blog about a function...?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18208814-113599806490938015?l=luckycan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://luckycan.blogspot.com/feeds/113599806490938015/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=18208814&amp;postID=113599806490938015' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18208814/posts/default/113599806490938015'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18208814/posts/default/113599806490938015'/><link rel='alternate' type='text/html' href='http://luckycan.blogspot.com/2005/12/perlthats-hot.html' title='Perl...That&apos;s Hot!'/><author><name>nick</name><uri>http://www.blogger.com/profile/14906174970119509161</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://whatmind.com/me.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18208814.post-113590324778747663</id><published>2005-12-29T16:32:00.000-08:00</published><updated>2005-12-30T14:25:10.590-08:00</updated><title type='text'>37'' monitor + Mac G5 = heaven</title><content type='html'>We just got this G5 and hooked it up to the 37'' monitor.  it is probably the coolest thing I have ever seen.  I am still learning the differences between the linux systems that i have been used to and the mac os x systems that i have been using a lot lately.  I am by no means a linux wizard, but i can get around fairly well.&lt;br /&gt;&lt;br /&gt;Today's simple Problem:&lt;br /&gt; &lt;span style="font-weight: bold;"&gt;How do you add administrative rights to a user in OS x?&lt;/span&gt;&lt;br /&gt;Todays's simple Solution:&lt;br /&gt;&lt;span style="font-size:85%;"&gt;     (1) Open a finder window and  navigate to utilities.  There is a  program called NetInfo Manager...open it.&lt;br /&gt;   (2) There is a list of stuff...click groups and find the admin group in the list that is displayed.&lt;br /&gt;   (3) When you click the admin group, you will see a description at the bottom.  Expand the users arrow and then in the menubar click Directory-&gt;New Value.&lt;br /&gt;   (4) Enter the name of the user that you want to be an admin.&lt;br /&gt;   (5)  Do the same thing you did in 1-4 for groups: appserveradm and appserverusr.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;After all that I had to restart, but there might be a way to refresh everything without...not sure&lt;br /&gt;The user you added should have access to all the stuff the original admin does.&lt;br /&gt;&lt;br /&gt;You can check that the group stuff worked by opening a terminal window and typing groups followed by the username added above.&lt;br /&gt;&lt;br /&gt;PS.  There is also a simpler way, which is to click the checkbox that gives admin rights to the user when you initially create them.  Who pays attention to that stuff though?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18208814-113590324778747663?l=luckycan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://luckycan.blogspot.com/feeds/113590324778747663/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=18208814&amp;postID=113590324778747663' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18208814/posts/default/113590324778747663'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18208814/posts/default/113590324778747663'/><link rel='alternate' type='text/html' href='http://luckycan.blogspot.com/2005/12/37-monitor-mac-g5-heaven.html' title='37&apos;&apos; monitor + Mac G5 = heaven'/><author><name>nick</name><uri>http://www.blogger.com/profile/14906174970119509161</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://whatmind.com/me.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18208814.post-113590268845387329</id><published>2005-12-29T16:29:00.000-08:00</published><updated>2005-12-29T16:31:28.453-08:00</updated><title type='text'></title><content type='html'>I tend to solve the same problems over and over again.  For a few months now i have been telling myself that i need to start blogging little things that i do, so this is it.  I am going to put forth a good effort to blog all the solutions to the little problems that end up taking two to three hours out of my productive time, just because i forgot how to do it.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18208814-113590268845387329?l=luckycan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://luckycan.blogspot.com/feeds/113590268845387329/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=18208814&amp;postID=113590268845387329' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18208814/posts/default/113590268845387329'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18208814/posts/default/113590268845387329'/><link rel='alternate' type='text/html' href='http://luckycan.blogspot.com/2005/12/i-tend-to-solve-same-problems-over-and.html' title=''/><author><name>nick</name><uri>http://www.blogger.com/profile/14906174970119509161</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://whatmind.com/me.jpg'/></author><thr:total>0</thr:total></entry></feed>
