<?xml version='1.0' encoding='UTF-8'?><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/" xmlns:blogger="http://schemas.google.com/blogger/2008" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" version="2.0"><channel><atom:id>tag:blogger.com,1999:blog-235865750918356195</atom:id><lastBuildDate>Fri, 06 Sep 2024 10:12:02 +0000</lastBuildDate><title>Sam&#39;s Everyday Life</title><description></description><link>http://sam-saito.blogspot.com/</link><managingEditor>noreply@blogger.com (Sam)</managingEditor><generator>Blogger</generator><openSearch:totalResults>8</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><item><guid isPermaLink="false">tag:blogger.com,1999:blog-235865750918356195.post-7406143757586271271</guid><pubDate>Tue, 28 Oct 2008 15:02:00 +0000</pubDate><atom:updated>2008-10-28T08:23:51.347-07:00</atom:updated><title>How does Vending Machines work?</title><description>Have you ever wondered how vending machines work? Ever wondered how does the machine recognizes the currency? How does it determine which coin or bill did you insert? Here&#39;s a brief explanation:&lt;br /&gt;&lt;br /&gt;Bills:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Bills are printed with magnetic ink, and different denominations generate distinctive magnetic fields.&lt;/li&gt;&lt;li&gt;Ultraviolet scanning technology can determine the different fluorescent properties of bills.&lt;/li&gt;&lt;li&gt;Digital cameras can reference the optical patterns in bills with a database of authentic patterns.&lt;/li&gt;&lt;/ul&gt;Coins:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;The machine checks its diameter&lt;/li&gt;&lt;li&gt;Weight&lt;/li&gt;&lt;li&gt;Thickness&lt;/li&gt;&lt;li&gt;Composition&lt;/li&gt;&lt;li&gt;Some say it has two magnets to slow down the speed because of its magnetic content. Only Iron is magnetic, I don&#39;t think coins are made out of Iron.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;</description><link>http://sam-saito.blogspot.com/2008/10/how-does-vending-machines-work.html</link><author>noreply@blogger.com (Sam)</author><thr:total>1</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-235865750918356195.post-4715012526039453026</guid><pubDate>Sat, 25 Oct 2008 14:55:00 +0000</pubDate><atom:updated>2008-10-25T20:22:02.391-07:00</atom:updated><title>Drivers Manual</title><description>Have you ever had the feeling that drives read the drives manual all wrong?&lt;br /&gt;&lt;br /&gt;Have you ever came across a slow driver that drives on the left side of the road? Oh yeah, and drivers that like to go faster............they drive on the right side of the road.&lt;br /&gt;&lt;br /&gt;Am I the one that read the drivers manual the wrong way?&lt;br /&gt;&lt;br /&gt;What does yellow light mean? &quot;Hurry up, you can make it&quot; I thought it was, slow down it&#39;s about to change or pass with precaution. Last night I saw like 6 cars that ran through the red light! Hahahaha, and there was a police man.&lt;br /&gt;&lt;br /&gt;When a police man turns his back on the way you are driving, what does it mean? Ok, if you have read the manual, you should know that that means STOP. Suprisingly nobody know this and they keep going.&lt;br /&gt;&lt;br /&gt;When the red light is on and its safe to turn right o left you can pass (that&#39;s what some people say). This is the case when there&#39;s no police dude. The saddest thing is that the police guy doesn&#39;t do crap about it.&lt;br /&gt;&lt;br /&gt;When you signal that you want to switch lanes, do you pass right away or do you wait for someone to let you pass? Most of the drivers turn on the signal and they pass right away and when you hunk the horn they give you the finger or in the case of Guatemala you can get a crazy dude pointing a gun at your head, niiiiiice!&lt;br /&gt;&lt;br /&gt;Blocking intersections. Rush Hours. People are so damn desperate to get home or wherever they need to be, that they forget that there is a manual for driving. Think about it, if there red light is on and you are coming across an intersection, do you stop before the intersection or do block it? Like I said, people are so damn desperate that they block the intersection, for what? they obstruct they way of other people that want to go home aswell. If you come across an intersection, STOP BEFORE IT!!!! or if there is space pass, DO NOT BLOCK IT!!! We all want to go home early.&lt;br /&gt;&lt;br /&gt;If you fit in one of the described cases above..........pleeeeeease get one of this little books, read it carefully, then drive!</description><link>http://sam-saito.blogspot.com/2008/10/have-you-ever-had-feeling-that-drives.html</link><author>noreply@blogger.com (Sam)</author><thr:total>1</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-235865750918356195.post-9152267798723403939</guid><pubDate>Wed, 30 Apr 2008 19:06:00 +0000</pubDate><atom:updated>2008-12-09T23:37:37.216-08:00</atom:updated><title>In memory of a great friend</title><description>&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJRs7r4MFo3BBvdFlppBFAx0UL3n6SW0BeVTcC8GIcTax_hC236F_xPvL492d1UL0rddQZidmzEVFc5fGTVMmDzChLC53Ungc1bFtXYTWF-nlwnqhTMnZAmIjOjlL6V6zNmHpmPtJTDRY1/s1600-h/superhectorvisitsgoogleplex.jpg&quot;&gt;&lt;img style=&quot;margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJRs7r4MFo3BBvdFlppBFAx0UL3n6SW0BeVTcC8GIcTax_hC236F_xPvL492d1UL0rddQZidmzEVFc5fGTVMmDzChLC53Ungc1bFtXYTWF-nlwnqhTMnZAmIjOjlL6V6zNmHpmPtJTDRY1/s320/superhectorvisitsgoogleplex.jpg&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5195126820864386450&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;This post is dedicated to a great friend and mentor. His job description : &lt;strong&gt;“Try to take over the world with limited resources and limited personnel”&lt;span style=&quot;font-size:100%;&quot;&gt; &lt;/span&gt;&lt;br /&gt;&lt;/strong&gt;&lt;br /&gt;Hector Polo, una gran persona que nos dejo a todos marcados con recuerdos, conocimientos y en mi caso con muchos robotios para adornar mi escritorio, claro esta que Hector Polo causo muchas cosas mas en mi persona.&lt;br /&gt;&lt;br /&gt;Hector tenia la vision de convertirnos en una empresa lider en cualquier area de la tecnologia. Desarrollar productos hechos por Guatemaltecos a todo el mundo. Muchos de los que conocimos a HP compartimos este pensamiento. Ser una empresa lider en nuestra area, ser los mejores en lo que hacemos y hacerlo como quisieramos. Nuestra filosofia es la misma que comparte Google. Eres como eres, como te miras, como te vistes, no importa que idioma hables, de donde vienes, simplemente ser el mejor y dar siempre lo mejor de ti.&lt;br /&gt;&lt;br /&gt;El sueño mas grande de este hombre ¨es¨ (Digo es porque sigue siendo el sueño de muchos y su sueño seguirá.) tener su propio GooglePlex pero de EbClosion. Asimismo tener a toda la gente altamente calificada para poder salir a batallar cuando fuera necesario. Construyó un gran equipo, perdimos a algunos en el camino, pero estamos los que estamos y seguiremos el camino que Hector nos ha encaminado.&lt;br /&gt;&lt;br /&gt;Hasta siempre Super Hector! Desde arriba nos estaras guiando y orientando para continuar con tu sueño que ahora se vuelve parte de nosotros.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3kMU0GmLl14yJZIMNVW5R2Z52t9Z3eoNZa_RSySZFhkDQJKzRQ1nTGmbSydy9ynaDOxvI9QFiSAar6jr1WJ6Nv4Apn8VfyNNO18TwA1OnJn1iwHquyVCWSba2SrBJOZSNNA1uZEzEsDyY/s1600-h/P1040251.JPG&quot;&gt;&lt;img style=&quot;margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3kMU0GmLl14yJZIMNVW5R2Z52t9Z3eoNZa_RSySZFhkDQJKzRQ1nTGmbSydy9ynaDOxvI9QFiSAar6jr1WJ6Nv4Apn8VfyNNO18TwA1OnJn1iwHquyVCWSba2SrBJOZSNNA1uZEzEsDyY/s320/P1040251.JPG&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5198386217151538898&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Como todos sabran no soy de las personas que le gustan los reconocimientos. Simplemente hago mi trabajo xq me gusta y claro, xq me pagan por hacerlo. Hace unos meses atras nos dejaron unos compañeros de equipo y pues nos toco a 3 compareños y a mi asumir todas las responsabilidades del departamento de programacion. Y en la foto salimos master chief y yo, Hector agradeciendome frente a todo el personal.</description><link>http://sam-saito.blogspot.com/2008/04/in-memory-of-great-friend.html</link><author>noreply@blogger.com (Sam)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJRs7r4MFo3BBvdFlppBFAx0UL3n6SW0BeVTcC8GIcTax_hC236F_xPvL492d1UL0rddQZidmzEVFc5fGTVMmDzChLC53Ungc1bFtXYTWF-nlwnqhTMnZAmIjOjlL6V6zNmHpmPtJTDRY1/s72-c/superhectorvisitsgoogleplex.jpg" height="72" width="72"/><thr:total>1</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-235865750918356195.post-4370121086625551690</guid><pubDate>Sat, 16 Feb 2008 14:14:00 +0000</pubDate><atom:updated>2008-02-16T07:07:47.244-08:00</atom:updated><title>DMB</title><description>Recently I saw a blog from &lt;a href=&quot;http://fenixluvanna.blogspot.com/2008/02/carter-beauford-playin-41.html&quot;&gt;Fenix Luvanna&lt;/a&gt; who had my favorite drummer Mr. Carter Beauford from my favorite band DMB. I realized, holy crap I&#39;m Dave&#39;s greatest fan and I don&#39;t have a blog to show how big of a fan am I.&lt;br /&gt;&lt;br /&gt;Tell ya the story.........I come from a family of musicians (&lt;span style=&quot;font-size:85%;&quot;&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;that doesn&#39;t mean I&#39;m good&lt;/span&gt;&lt;/span&gt;!)  My favorite bands are those that make the difference, such as DMB. I&#39;ve always liked bands that have  a unique-interesting sound, to name a few: DMB, Dream Theather, Rush, Petrucci, Rage Against The Machine, Robert Randolph &amp;amp; The Family Band.&lt;br /&gt;&lt;br /&gt;I&#39;ve had the oportunity to see DMB live twice at The Molson Centre in Montreal, Canada. Right next to where I used to work back in Montreal {...break, surfing Youtube found this video}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;object height=&quot;355&quot; width=&quot;425&quot;&gt;&lt;param name=&quot;movie&quot; value=&quot;http://www.youtube.com/v/idkddlChfRE&amp;amp;rel=1&quot;&gt;&lt;param name=&quot;wmode&quot; value=&quot;transparent&quot;&gt;&lt;embed src=&quot;http://www.youtube.com/v/idkddlChfRE&amp;amp;rel=1&quot; type=&quot;application/x-shockwave-flash&quot; wmode=&quot;transparent&quot; height=&quot;355&quot; width=&quot;425&quot;&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;As I was saying. One day one my co-workers said to me &quot;Hey Sam, did you know that DMB is playing the Molson Center&quot;, I went crazy! Ran down the stairs, ran to every single music shop to buy the freakin&#39; tickets. First time! I&#39;ve been a fan of DMB for more that 10 years and I have to say, I&#39;ve never been to a concert like that one! Unbelievable! Never seen so many fans of DMB together!&lt;br /&gt;&lt;br /&gt;Cheers guys! Enjoy the Vids!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;object height=&quot;355&quot; width=&quot;425&quot;&gt;&lt;param name=&quot;movie&quot; value=&quot;http://www.youtube.com/v/f4zpzEIdoPc&amp;amp;rel=1&quot;&gt;&lt;param name=&quot;wmode&quot; value=&quot;transparent&quot;&gt;&lt;embed src=&quot;http://www.youtube.com/v/f4zpzEIdoPc&amp;amp;rel=1&quot; type=&quot;application/x-shockwave-flash&quot; wmode=&quot;transparent&quot; height=&quot;355&quot; width=&quot;425&quot;&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;p&gt;Robert Randolph &amp;amp; The Family Band - I Need Love&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;object height=&quot;355&quot; width=&quot;425&quot;&gt;&lt;param name=&quot;movie&quot; value=&quot;http://www.youtube.com/v/K4bFX1ZEKyA&amp;amp;rel=1&quot;&gt;&lt;param name=&quot;wmode&quot; value=&quot;transparent&quot;&gt;&lt;embed src=&quot;http://www.youtube.com/v/K4bFX1ZEKyA&amp;amp;rel=1&quot; type=&quot;application/x-shockwave-flash&quot; wmode=&quot;transparent&quot; height=&quot;355&quot; width=&quot;425&quot;&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;p&gt;DMB - Dreamgril&lt;/p&gt;In words of Dave......leave only your footprints!</description><link>http://sam-saito.blogspot.com/2008/02/dmb.html</link><author>noreply@blogger.com (Sam)</author><thr:total>1</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-235865750918356195.post-4187092302098344550</guid><pubDate>Wed, 23 Jan 2008 17:17:00 +0000</pubDate><atom:updated>2008-12-09T23:37:37.484-08:00</atom:updated><title>Codes</title><description>Who would imagine that a famous soda company produces more than 360million bottles a year for a promotion?&lt;br /&gt;&lt;br /&gt;I&#39;m currently working for a e-Bussines Company and yeeeeeees, we are developing this amazing system, that will do what, what&#39;s the porpuse? No idea what so ever! They just told us...........&quot;guys you need to develop this promo for this famous soda company&quot;. (Ok you guys must be thinking what does the title has to do with the blog, wait i&#39;m getting there). I think the purpose of this is to do something like Facebook, were the users don&#39;t win anything at all.&lt;br /&gt;&lt;br /&gt;Ok, here&#39;s the story of the &lt;span style=&quot;font-weight: bold;&quot;&gt;Famous Soda Company Codes, &lt;/span&gt;for this project I was asked to create a program to generate around 360 million codes, 30 million codes per year. Hahahahaha, crazy stuff I know! So yeah, here I go with a previous built of the program done in &lt;a href=&quot;http://www.php.net/&quot;&gt;PHP&lt;/a&gt; about a year ago, hahahaha, pretty old! Ooook, let&#39;s go back a bit!&lt;br /&gt;&lt;br /&gt;This &quot;famous soda company&quot; the biggest client we&#39;ve worked for! We&#39;ve done big projects with them such as... (ok, some just told me not to post the name of the company)As long as I can remember team work has been key here! The problem was..........organization, schedules, deadlines. Ok been that said...........let&#39;s fwd to present day.&lt;br /&gt;&lt;br /&gt;December of 2007, Team Leaders, who shall remain anonymous - came to me and said &quot;Dude, we need to generate 30Million Codes every month&quot;, &quot;We need 10million right away&quot;. How about that hey? Cracked myself up for awhile and then realized that what he/she said, was for real! (hahahahahaha, I think about it and crack myself up again!) Anyways, I started searching for the old program that did this, for my luck I found it! Couple of things I found out:&lt;br /&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;It was done in a program that I &lt;span style=&quot;font-style: italic;&quot;&gt;have&lt;/span&gt; (&lt;span style=&quot;font-size:85%;&quot;&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;till this day i have no idea how to use it&lt;/span&gt;&lt;/span&gt;) no idea to use.&lt;/li&gt;&lt;li&gt;It wasn&#39;t finished&lt;/li&gt;&lt;li&gt;Oh yeah it crashed everytime I tried to run it!&lt;/li&gt;&lt;/ol&gt;That&#39;s to name a few of the issues! Then I found out that the software was re-done in a lighter version in php, haha! Other problems appeared! Briefly explained algorithm......&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;No 2 letters from the same phone key should be together (&lt;span style=&quot;font-size:85%;&quot;&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;e.i AB, AC = 2 in the key pad&lt;/span&gt;&lt;/span&gt;)&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;span lang=&quot;ES-TRAD&quot;  style=&quot;font-size:10;&quot;&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;Codes most be 7 Digits long&lt;/span&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;Ok, do the math?! O another thing, no 2 codes could be the same, UNIQUE Codes!!!! Impressive algorithm I must say!. Try this:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjKXBWLc9kKv64oEHE3u4UgnLY_RnXvssbLwuthB45R9j2xYAgnOQXE0WvCqp9rXU7Klhl0dltW3E4aTyusSvGn6BZwS11Q6jA7n-NK4PA3kC2Dth0FC_BUQW4eNBwVqV3ZYZ0mhyc60pfn/s1600-h/code.jpg&quot;&gt;&lt;img style=&quot;margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjKXBWLc9kKv64oEHE3u4UgnLY_RnXvssbLwuthB45R9j2xYAgnOQXE0WvCqp9rXU7Klhl0dltW3E4aTyusSvGn6BZwS11Q6jA7n-NK4PA3kC2Dth0FC_BUQW4eNBwVqV3ZYZ0mhyc60pfn/s320/code.jpg&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5158775235784678658&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Yes, that&#39;s part of the code, ACTUAL CODE! Beautiful mind! Ok.....moving on with the post!&lt;br /&gt;&lt;br /&gt;About 2 days ago I tried running this huuuge script via web browser, hahahahaha, bad idea, my powerbook&#39;s vents were flying!! Oh yeah talk about the TEMP!! Around  82 Degrees! I thought it was going to blow or take-off, hahahahaha.&lt;br /&gt;&lt;br /&gt;I worked on the script the day after (yesterday) all day, none stop. Around 3pm I left the script running, and that when I had my episode with &lt;span style=&quot;font-size:85%;&quot;&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;MAC OSX&#39;s UNIX System &lt;/span&gt;&lt;/span&gt;. All the time I was running the script I checked with another &lt;span style=&quot;font-style: italic;&quot;&gt;terminal &lt;/span&gt;what was the &quot;size of the file&quot; but not the amount of codes inside the textfile, biiiiiiiiiiiiig mistake. My script was set to go for 500million codes. When I did the &lt;span style=&quot;font-style: italic;&quot;&gt;ls -la &lt;/span&gt;I saw that the file was around 658million, and I thought to myself  &lt;span style=&quot;font-style: italic;&quot;&gt;&quot;the code got stuck and its not stopping!&quot; &lt;/span&gt;And I needed 15million ASAP, so I decided to stop it. When I did the &lt;span style=&quot;font-style: italic;&quot;&gt;split&lt;/span&gt; command to have batches of 100million textfiles, but only 1 file was getting outputed. So I went back to the &lt;span style=&quot;font-style: italic;&quot;&gt;terminal&lt;/span&gt; to see the amount of lines in the file the &lt;span style=&quot;font-style: italic;&quot;&gt;wc -l&lt;/span&gt; command return 75million, yeeees! the 658 million that I saw................was the size of the file 658-around 500MB, hahahahaaha!&lt;br /&gt;&lt;br /&gt;Last night I left the powerbook on all night, running thru terminal the &lt;span style=&quot;font-size:85%;&quot;&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;&quot;script&quot;   &lt;/span&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;I fell asleep listening to the vents! When I woke up today i realized that the sound had stopped and I thought to myself, &quot;holy shi...., what if the script caused the machine to crash or what if I ran out of combinations&quot; For my surprise.......the script work beautifully! I have now in my possession 398million  Codes. Thinking about it now.............I should&#39;ve had 500million codes............398millon should work fine!&lt;br /&gt;&lt;br /&gt;Soooooo, that&#39;s my story with the codes, If anybody needs a script to generate these types of codes, lemme know, I have another another one for numbers! hahahahahahaha!&lt;br /&gt;&lt;br /&gt;Laters!&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;ps. check this out, another experience with the codes!!! I tried to Publish the post and it gave me this error.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;ERROR&lt;br /&gt;Your HTML cannot be accepted: Tag is broken: &lt;tc-1; function=&quot;&quot; global=&quot;&quot; tc_1=&quot;=&quot; else=&quot;&quot; return=&quot;&quot;&gt;&lt;/tc-1;&gt;&lt;/pre&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEivWGXtMI7CbbnDneNf2VmpABk-4x9OkBNKso14nIlvV6vS1wZjM3uSBH62OX4oOReLMYc-SdlXNQF_hxWdnL5J-W2XwdVzy73-VtmNNIoNKB8MFj9oPxtBYrwG6-5mOdx45OyDzKmAsjZI/s1600-h/error.jpg&quot;&gt;&lt;img style=&quot;margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEivWGXtMI7CbbnDneNf2VmpABk-4x9OkBNKso14nIlvV6vS1wZjM3uSBH62OX4oOReLMYc-SdlXNQF_hxWdnL5J-W2XwdVzy73-VtmNNIoNKB8MFj9oPxtBYrwG6-5mOdx45OyDzKmAsjZI/s320/error.jpg&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5158776378245979426&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;</description><link>http://sam-saito.blogspot.com/2008/01/pepsi-codes.html</link><author>noreply@blogger.com (Sam)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjKXBWLc9kKv64oEHE3u4UgnLY_RnXvssbLwuthB45R9j2xYAgnOQXE0WvCqp9rXU7Klhl0dltW3E4aTyusSvGn6BZwS11Q6jA7n-NK4PA3kC2Dth0FC_BUQW4eNBwVqV3ZYZ0mhyc60pfn/s72-c/code.jpg" height="72" width="72"/><thr:total>3</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-235865750918356195.post-1871310636671940249</guid><pubDate>Thu, 17 Jan 2008 20:08:00 +0000</pubDate><atom:updated>2008-01-17T12:09:09.136-08:00</atom:updated><title>Instalar Rails en OSX</title><description>Para instalar Rails/Mongrel en OS X se necesita:&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;0. Prerequisitos&lt;/span&gt;&lt;br /&gt;Tener instalado XCode y MySQL&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;1. PATHs&lt;/span&gt;&lt;br /&gt;Crear / Editar el archivo &quot;/etc/profile&quot;&lt;br /&gt;%&gt; vi /etc/profile&lt;br /&gt;&lt;br /&gt;Y agregar al final de ese archivo (si no existe):&lt;br /&gt;export PATH=&quot;/usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin:$PATH&quot;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;2. Instalar readline&lt;/span&gt;&lt;br /&gt;Descargar he instalar la ultima version. Ejemplo:&lt;br /&gt;%&gt; cd /usr/local/src/&lt;br /&gt;%&gt; sudo curl -O ftp://ftp.gnu.org/gnu/readline/readline-5.1.tar.gz&lt;br /&gt;%&gt; sudo tar xzvf readline-5.1.tar.gz&lt;br /&gt;%&gt; cd readline-5.1&lt;br /&gt;%&gt; sudo ./configure --prefix=/usr/local&lt;br /&gt;%&gt; sudo make&lt;br /&gt;%&gt; sudo make install&lt;br /&gt;%&gt; cd ..&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;3. Instalar ruby&lt;/span&gt;&lt;br /&gt;Descargar he instalar la ultima version. Ejemplo:&lt;br /&gt;%&gt; sudo curl -O ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.6.tar.gz&lt;br /&gt;%&gt; sudo tar xzvf ruby-1.8.6.tar.gz&lt;br /&gt;%&gt; cd ruby-1.8.6&lt;br /&gt;%&gt; sudo ./configure --prefix=/usr/local --enable-pthread --with-readline-dir=/usr/local --enable-shared&lt;br /&gt;%&gt; sudo make&lt;br /&gt;%&gt; sudo make install&lt;br /&gt;%&gt; sudo make install-doc&lt;br /&gt;%&gt; cd ..&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;4. Probar Instalacion de ruby&lt;/span&gt;&lt;br /&gt;Ejecutar:&lt;br /&gt;%&gt; ruby -v&lt;br /&gt;&lt;br /&gt;Debe desplegar algo como esto:&lt;br /&gt;ruby 1.8.6 (2007-03-13 patchlevel 0) [i686-darwin8.9.1]&lt;br /&gt;&lt;br /&gt;Si no despliega algo como lo anterior tiene error. (revisar pasos anteriores)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;5. Instalar RubyGems&lt;/span&gt;&lt;br /&gt;%&gt; sudo curl -O http://files.rubyforge.mmmultiworks.com/rubygems/rubygems-0.9.2.tgz&lt;br /&gt;%&gt; sudo tar xzvf rubygems-0.9.2.tgz&lt;br /&gt;%&gt; sudo cd rubygems-0.9.2&lt;br /&gt;%&gt; sudo /usr/local/bin/ruby setup.rb&lt;br /&gt;%&gt; cd ..&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;6. Instalar Rails&lt;/span&gt;&lt;br /&gt;%&gt; sudo gem install rails -ry&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;7. Instalar Mongrel y Mongrel Cluster&lt;/span&gt;&lt;br /&gt;%&gt; sudo gem install mongrel -ry&lt;br /&gt;%&gt; sudo gem install mongrel_cluster -ry&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;8. MySQL Native Binds (opcional)&lt;/span&gt;&lt;br /&gt;%&gt; sudo gem install mysql -- --with-mysql-dir=/usr/local/mysql&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;9. Capistrano / Termios (opcional)&lt;/span&gt;&lt;br /&gt;Nota: se requiere que se tenga instalado subversion antes.&lt;br /&gt;&lt;br /&gt;%&gt; sudo gem install capistrano -ry&lt;br /&gt;%&gt; sudo gem install termios -ry</description><link>http://sam-saito.blogspot.com/2008/01/instalar-rails-en-osx.html</link><author>noreply@blogger.com (Sam)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-235865750918356195.post-6514386612206127366</guid><pubDate>Thu, 17 Jan 2008 18:34:00 +0000</pubDate><atom:updated>2008-01-17T10:38:06.801-08:00</atom:updated><title>Instalar Apache/2.2.6 (Unix) en OS X</title><description>Para instalar el Apache 2.2 en OS X se debe seguir los siguientes pasos:&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;0. Prerequisitos&lt;/span&gt;&lt;br /&gt;Tener instalado XCode que viene en el CD de OSX.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;1. Descargar el Software&lt;/span&gt;&lt;br /&gt;Siempre descargar la ultima version. Ejemplo de descarga:&lt;br /&gt;%&gt; sudo mkdir -p /usr/local/src&lt;br /&gt;%&gt; cd /usr/local/src&lt;br /&gt;%&gt; curl -O http://apache.mirrors.esat.net/httpd/httpd-2.2.6.tar.gz   &lt;----Varia de la version que deseen instalar&lt;br /&gt;%&gt; gnutar -xzf httpd-2.2.6.tar.gz   &lt;----Varia de la version que deseen instalar&lt;br /&gt;%&gt; cd httpd-2.2.6&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;2. Configurar Generador de Instalador&lt;/span&gt;&lt;br /&gt;%&gt; sudo ./configure --enable-mods-shared=ALL --enable-deflate --enable-proxy --enable-proxy-html --enable-proxy-ftp --enable-proxy-balancer --enable-rewrite --enable-cache --enable-mem-cache --enable-ssl --enable-headers --enable-mod_dav&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;3. Generar Instalador&lt;/span&gt;&lt;br /&gt;%&gt; sudo make&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;4. Instalarlo&lt;/span&gt;&lt;br /&gt;%&gt; sudo make install&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;5. Configurar Apache&lt;/span&gt;&lt;br /&gt;Para configurar el apache:&lt;br /&gt;%&gt; vi /usr/local/apache2/conf/httpd.conf&lt;br /&gt;&lt;br /&gt;Es ideal cambiar el User/Group a &quot;www&quot; y el ServerName. Tambien seria ideal habiliar la seccion de WebDav, Default y VirtualHost.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;6. Para encender Apache&lt;/span&gt;&lt;br /&gt;%&gt; sudo /usr/local/apache2/bin/apachectl start&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;br /&gt;7. Para apagar Apache&lt;/span&gt;&lt;br /&gt;%&gt; sudo /usr/local/apache2/bin/apachectl stop&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;8. Para revisar configuracion&lt;/span&gt;&lt;br /&gt;%&gt; sudo /usr/local/apache2/bin/httpd -S&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;9. Para revisar los modulos configurados&lt;/span&gt;&lt;br /&gt;%&gt; sudo /usr/local/apache2/bin/httpd -l&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;10. Para que auto arranque en OS X&lt;/span&gt;&lt;br /&gt;Se debe utilzar el &quot;Apache2StartupItems.zip&quot; y restaurarlo en &quot;/Library/StartupItems&quot;. Y agregar en &quot;/etc/hostconfig&quot; la siguiente linea:&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;APACHE2=-YES-&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;11. Hacer links simbolicos&lt;/span&gt;&lt;br /&gt;Ingresar a:&lt;br /&gt;%&gt; cd /usr/sbin&lt;br /&gt;&lt;br /&gt;Mover:&lt;br /&gt;%&gt; sudo mv apachectl apachectl_1&lt;br /&gt;%&gt; sudo mv apxs apxs_1&lt;br /&gt;%&gt; sudo mv httpd httpd_1&lt;br /&gt;&lt;br /&gt;Links:&lt;br /&gt;%&gt; sudo ln -s /usr/local/apache2/bin/apachectl apachectl&lt;br /&gt;%&gt; sudo ln -s /usr/local/apache2/bin/apxs apxs&lt;br /&gt;%&gt; sudo ln -s /usr/local/apache2/bin/httpd httpd</description><link>http://sam-saito.blogspot.com/2008/01/instalar-apache226-unix-en-os-x.html</link><author>noreply@blogger.com (Sam)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-235865750918356195.post-2826998428047175868</guid><pubDate>Thu, 17 Jan 2008 18:32:00 +0000</pubDate><atom:updated>2008-01-17T10:34:31.706-08:00</atom:updated><title>Installing PHP in OSX</title><description>Para instalar PHP en OS X, se debe seguir los siguientes pasos:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;0. Pre-requisitos&lt;/span&gt;&lt;br /&gt;Se supone que se tiene instalado XCode, MySQL y Apache.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;1. PATHs&lt;/span&gt;&lt;br /&gt;Crear / Editar el archivo &quot;/etc/profile&quot;&lt;br /&gt;%&gt; vi /etc/profile&lt;br /&gt;&lt;br /&gt;Y agregar al final de ese archivo (si no existe):&lt;br /&gt;export PATH=&quot;/usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin:$PATH&quot;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;2. MySQL FIX&lt;/span&gt;&lt;br /&gt;A la hora de compilar de un problema que no encuentra una libraria. Por lo que hay que hacer un link simbolico.&lt;br /&gt;%&gt; sudo mkdir -p /usr/local/mysql/lib/mysql/&lt;br /&gt;%&gt; cd /usr/local/mysql/lib/mysql/&lt;br /&gt;%&gt; sudo ln -s /usr/local/mysql/lib/libmysqlclient.15.dylib libmysqlclient.15.dylib&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;3. Descargar PHP&lt;/span&gt;&lt;br /&gt;Se recomienda descargar la ultima version de PHP. Ejemplo:&lt;br /&gt;%&gt; sudo mkdir -p /usr/local/src&lt;br /&gt;%&gt; cd /usr/local/src&lt;br /&gt;%&gt; curl -O http://ie2.php.net/distributions/php-5.1.4.tar.gz&lt;br /&gt;%&gt; gnutar -xzf php-5.1.4.tar.gz&lt;br /&gt;%&gt; cd php-5.1.4&lt;br /&gt;%&gt; sudo mkdir -p /usr/local/php&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;4. Configurar Generador de Instalador&lt;/span&gt;&lt;br /&gt;%&gt; sudo ./configure --prefix=/usr/local/php --with-zlib --with-xml --with-ldap=/usr --enable-cli --with-zlib-dir=/usr --enable-exif --enable-ftp --enable-mbstring --enable-soap --enable-mbregex --enable-dbx --enable-sockets --with-iodbc=/usr --with-curl=/usr --with-mysql=/usr/local/mysql --with-mysqli=/usr/local/mysql/bin/mysql_config --with-apxs2=/usr/local/apache2/bin/apxs&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;5. Generar Instalador&lt;/span&gt;&lt;br /&gt;%&gt; sudo make&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;6. Probar Instalador&lt;/span&gt;&lt;br /&gt;%&gt; sudo make test&lt;br /&gt;&lt;br /&gt;PD. Si no termina el TEST para eliminar el make ejecutar:&lt;br /&gt;%&gt; sudo make clean&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;7. Instalarlo&lt;/span&gt;&lt;br /&gt;%&gt; sudo make install&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;8. Configurar Apache&lt;/span&gt;&lt;br /&gt;Agrege las siguientes entradas en el archivo de configuracion de apache (/usr/local/apache/conf/httpd.conf):&lt;br /&gt;&lt;br /&gt;AddType application/x-httpd-php .php&lt;br /&gt;AddType application/x-httpd-php-source .phps&lt;br /&gt;DirectoryIndex index.html index.htm index.php&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;9. Probar Instalacion&lt;/span&gt;&lt;br /&gt;En el root del Apache agregar el archivo &quot;info.php&quot; que solo ejecuta la funcion &quot;phpinfo()&quot;</description><link>http://sam-saito.blogspot.com/2008/01/installing-php-in-osx.html</link><author>noreply@blogger.com (Sam)</author><thr:total>0</thr:total></item></channel></rss>