tag:blogger.com,1999:blog-35899438470204392242024-02-20T18:28:24.459-08:00The Constipated KoalaA blog about random trinkets that make up my life.Andrewhttp://www.blogger.com/profile/01808923377666803222noreply@blogger.comBlogger38125tag:blogger.com,1999:blog-3589943847020439224.post-82226891648297130612013-08-02T08:53:00.000-07:002013-08-02T08:56:24.692-07:00LESS Mixins!I find that I often use <a href="http://lesscss.org/">LESS</a> If you do front end web development, and don't use LESS you are missing out. In short, it let's you nest CSS, create CSS functions, gives you CSS variables, and do math in your CSS (and much more).<br />
<br />
It can turn this:<br />
<script class="brush: css" type="syntaxhighlighter">
@GlobalBorderRadius: 5px;
.border-radius (@radius: 3px) {
-webkit-border-radius: @radius;
-moz-border-radius: @radius;
border-radius: @radius;
}
#MyDiv{
.border-radius( @GlobalBorderRadius );
.myException{
.border-radius( );
}
}
</script>
Into this:<br />
<script class="brush: css" type="syntaxhighlighter">
#MyDiv{
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
}
#MyDiv .myException{
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
}
</script>
<br />
Now, that might not look great right now, but it will save you time in the long run. I will probably write a post at a later point about the magic of LESS, however for now, I figured I'd just post a few of my favorite mixins (think of them like functions) that I use on the daily.
<br/>
<script class="brush: css" type="syntaxhighlighter">
/** Border Radius **/
.border-radius (@radius) {
-webkit-border-radius: @radius;
-moz-border-radius: @radius;
border-radius: @radius;
}
/** Opacity **/
.opacity(@opacity: 1) {
@ieOpacity: @opacity * 100;
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=@{ieOpacity})";
filter: ~"alpha(opacity=@{ieOpacity})";
opacity: @opacity;
}
</script>
<br />
As I do more, I'll add them , just look for the <a href="http://constipatedkoala.blogspot.com/search/label/less">LESS</a> tags Andrewhttp://www.blogger.com/profile/01808923377666803222noreply@blogger.com0tag:blogger.com,1999:blog-3589943847020439224.post-78345602300966666652013-08-01T20:22:00.000-07:002013-08-01T20:22:23.411-07:00Killing X11 in linuxRecently my father in law bought me a Raspberry Pi for my birthday, super sweet! I've always tooled around with linux, however never got serious about it. As I started playing with it, I found that using the default OS (the <a href="http://www.raspberrypi.org/downloads">NOOBS</a>) was slowing me down and I just wanted a command line. I have 2 options at this point<br />
<br />
<ol>
<li>SSH</li>
<li>Kill window manager, and just get to the command line.</li>
</ol>
<div>
I opted for #2. However how the hell do you do that without restarting (you know, cause I'm lazy) I figure you start it by saying '<span style="font-family: Courier New, Courier, monospace;">startx</span>' perhaps you kill it by '<span style="font-family: Courier New, Courier, monospace;">stopx</span>'. No dice. I went on and tried some other things, none of which worked. Eventually I consulted my linux friend and he told me to try hitting 'ctrl+alt+F1' Sure enough, that killed it and there I am on just the command line!</div>
<div>
<br /></div>
<div>
TL;DR: </div>
<div>
startx - starts X11</div>
<div>
'ctrl+alt+F1' - kills X11</div>
Andrewhttp://www.blogger.com/profile/01808923377666803222noreply@blogger.com0tag:blogger.com,1999:blog-3589943847020439224.post-89560163530011580932013-08-01T20:12:00.002-07:002013-08-01T20:12:37.327-07:00Long time no post....So I've realized I don't really post here that much... That's fine, I don't have much to say. However I'm going to try to post more of my "Gee how do I do X... oh like this, great" moments here. Hopefully they help others.Andrewhttp://www.blogger.com/profile/01808923377666803222noreply@blogger.com0tag:blogger.com,1999:blog-3589943847020439224.post-78917321466355634902013-02-05T15:11:00.001-08:002013-02-05T15:11:28.539-08:00PHP 5.4, Memcached and Windows 7<br />
Recently I was asked to get memcached working with PHP 5.4.8 on my Windows 7 64 bit machine at work, took a while and some looking around, but I was able to get it working successfully. Below are the steps which I took to get it to work. Hopefully this helps someone else in the future.<br />
<br />
Assumptions:<br />
<br />
<ol>
<li>You have apache, php 5.4 installed. my directories are as follows:<br /><span style="font-family: courier;">c:\etc\php</span><br /><span style="font-family: courier;">c:\etc\apache</span></li>
<li>You are an admin on your machine... If you aren't get access.</li>
<li>I'm using Windows 7, 64 bit</li>
<li>In reading this you realize that this is what has worked for ME, I can't promise that it will work for you, nor do I take any responsibility for any of the files below. They didn't break my machine, but who knows what they will do to yours. Use at your own risk</li>
</ol>
<div>
Let's get down to business! </div>
<ol>
<li>Download this <a href="http://code.jellycan.com/files/memcached-1.2.6-win32-bin.zip">http://code.jellycan.com/files/memcached-1.2.6-win32-bin.zip</a></li>
<li>Unzip here: <span style="font-family: courier;">c:/etc/memcahced</span></li>
<li>Right click ->; properties ->; compatibility ->; run as admin</li>
<li>Go to command line:<br /><span style="font-family: courier;">c:\etc\memcached\memcached.exe –d install </span></li>
<li>If window throws an error saying that it is missing or can not fin<span style="background-color: black; color: white;">d "<span style="font-family: 'Lucida Sans Unicode', 'Lucida Sans', 'Lucida Grande', Verdana, Geneva, sans-serif; font-size: 13px; line-height: 20.8125px;">MSVCR71.dll" </span>d</span>o the following, else go to #6</li>
<ol>
<li>Download this: <a href="http://www.box.net/shared/jn252o074v">http://www.box.net/shared/jn252o074v</a></li>
<li>Copy file to <span style="font-family: courier;">c:\windows\system32</span></li>
<li>Try #4, if it works, great go to #6, </li>
<li>Didn’t work huh? Ok, move file to <span style="font-family: courier;">c:\windows\system</span> and try again.</li>
<li>Still didn't work? I've heard going placing in <span style="font-family: courier;">C:\windows\sysWOW64</span> works... but I haven't tried that.
</li>
</ol>
<li>Go to services.msc, start service (find where it says memcached, right click and hit 'start')</li>
<li>Confirm everything is proper by going to regedit and making sure you have this:<br /><span style="font-family: courier;">HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services/memcached</span><br />to access regedit open a run window and type '<span style="font-family: courier;">regedit</span>'</li>
<li>Raise memory limit (if you want):<br /><span style="font-family: courier;">c:\etc\memcached\memcached.exe –d runservice –m 512</span>
</li>
<li>Download PHP .dll (now as I've said earlier, this is only for php 5.4): <a href="http://windows.php.net/downloads/pecl/releases/memcache/3.0.6/php_memcache-3.0.6-5.4-ts-vc9-x86.zip">http://windows.php.net/downloads/pecl/releases/memcache/3.0.6/php_memcache-3.0.6-5.4-ts-vc9-x86.zip</a></li>
<li>Unzip contents to <span style="font-family: courier;">c:\etc\php\ext</span></li>
<li>Add the following to php.ini<br /><span style="font-family: courier;">extension=php_memcache.dll</span></li>
<li>Restart server</li>
<li>Add this to a test page:</li>
</ol>
<div style="font-family: courier;">
<div>
//Create a new instance of memCached</div>
<div>
$memcache = new Memcache;</div>
<div>
<br /></div>
<div>
//Of course you can use "localhost" instead of the IP if you want</div>
<div>
$memcache->connect('127.0.0.1', 11211) or die ("Could not connect");</div>
<div>
<br /></div>
<div>
//Get the version, cause why not</div>
<div>
$version = $memcache->getVersion();</div>
<div>
echo "Memcache's version: $version <br />
\n";</div>
<div>
<br /></div>
<div>
//Make some object</div>
<div>
$tmp_object = (object) null;</div>
<div>
$tmp_object-<span style="font-family: 'Times New Roman';">></span>;someString = 'Testing...';</div>
<div>
$tmp_object-<span style="font-family: 'Times New Roman';">></span>;someInt = 9083202;</div>
<div>
<br /></div>
<div>
//Get the contents of the memcache</div>
<div>
$get_result = $memcache-<span style="font-family: 'Times New Roman';">></span>;get('key');</div>
<div>
echo "-- Data currently in the cache:<br />
\n";</div>
<div>
var_dump($get_result);</div>
<div>
<br /></div>
<div>
//set the memcache</div>
<div>
$memcache->set('key', $tmp_object, false, 15) or die ("Failed to save data at the server");</div>
<div>
<br /></div>
<div>
echo "<br />
\n-- Data is stored in the cache, will expire in 15 seconds<br />
\n";</div>
<div>
//Get the contents of the memcache</div>
<div>
$get_result = $memcache-<span style="font-family: 'Times New Roman';">></span>;get('key');</div>
<div>
echo "-- Data currently in the cache:<br />
\n";</div>
<div>
var_dump($get_result) ;</div>
<div>
<br /></div>
<div>
<br /></div>
<div>
</div>
Now, assuming you have no errors, you are good to go! Hope this helped!</div>
<br />
<div>
<br /></div>
Andrewhttp://www.blogger.com/profile/01808923377666803222noreply@blogger.com5tag:blogger.com,1999:blog-3589943847020439224.post-35405613348629709962009-09-25T06:49:00.000-07:002009-09-29T12:27:18.057-07:00Test for workSorry guys, but this is just a test for work<br /><div><embed src="http://ak.imgfarm.com/images/fwp/wf/customcards/card_creator_viewer_wf.swf?v=3" play="true" menu="true" quality="high" wmode="Transparent" width="470" height="353" FlashVars="uid=&xml=%3Cconfig%3E%3Cs%20id%3D%220%22%3E%3Cx%20id%3D%220%22%20type%3D%22jpg%22%20cardItemType%3D%22Photo%22%20width%3D%22475%22%20height%3D%22370%22%20value%3D%22http%3A//ak.imgfarm.com/images/mfc/uploads/webfetti/158/181/192/62E856FB-16CD-4299-8C6F-A546C9BD49BF/1254252324232.jpg%22%20x%3D%22-15%22%20y%3D%22-9%22/%3E%3Cx%20id%3D%221%22%20type%3D%22swf%22%20x%3D%220%22%20y%3D%220%22%20w%3D%22468%22%20h%3D%22351%22%20readonly%3D%221%22%20value%3D%22http%3A//ak.imgfarm.com/images/fwp/wf/assets/customcard/F/254.swf%22%20cardItemType%3D%22Frame%22/%3E%3C/s%3E%3C/config%3E" name="CustomCardViewer" align="middle" allowScriptAccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed></div><a href="http://www.webfetti.com/dl/index.jhtml?partner=ZKzeb194_ZJxdm128YYUS&utm_campaign=wf_customcard_photo&utm_source=20005032&utm_medium=wf_blogger" ><img src="http://t.webfetti.com/images/nocache/tr/wf/rdsgen/cph/bl/20005032.gif" width="214" height="25" border="0" /></a><br/>Andrewhttp://www.blogger.com/profile/01808923377666803222noreply@blogger.com0tag:blogger.com,1999:blog-3589943847020439224.post-75209701324038942622009-07-31T07:52:00.000-07:002009-07-31T07:57:29.381-07:00FinallyEver since ~ 1995 I have been working off the handle of 'whomba'. It has been my email, aim, part of my phone number, Nickname and the list can go on. Finally I realized that I don't own the domain www.whomba.com, so this morning I bought it. Right now It just is forwarded to my blog, but hopefully sometime in the future it will actually do something.<br /><br />At the very least it is here and mine!Andrewhttp://www.blogger.com/profile/01808923377666803222noreply@blogger.com0tag:blogger.com,1999:blog-3589943847020439224.post-13547457493934360972009-06-18T17:05:00.000-07:002009-06-18T18:43:19.259-07:00Ugh, My Mac book, Yay the Genius'sSo my Mac Book Pro of 2.5 years went and died the other day. I had my Mac here on my table and closed it then took it off to a coffee shop. Once I got to the coffee shop I opened it up and it flashes the screen (as if it was to wake up), then black screened.<br />Without going through all the specifics, after 2 hours of debugging, (trying to restart with and without battery, resetting PRAM, PMU, and others). So what was I to do?? Off to the Genius Bar and deal with the arrogant Mac jerks.<br />Now as you probably know I am a programmer, and build computers (for family and such) so I am not by any means a novice to technology. Unfortunately, whenever I go to the Mac store, the 'geniuses' treat you like a dumb ass. "Well sir, this is a computer, these buttons on the top are called 'keys' you type on it and magic happens then words appear on the screen. Am I going to fast??" So For this reason, I constantly dread going to them because i don't want to deal with their pompousness.<br />Thankfully, this time I got someone that didn't suck. I went in and explained to him (Mike) what the problem was. I then explained to him what I have already tried to fix it and he just replied with "Sounds good, you know your stuff.. well these are all things that we would have done. So I will have to take this in and send it out." I then asked If apple had some sort of 'lemon' policy, he stated that they didn't officially, however I could call Apple Care and ask them to help me out (get a new laptop). So I asked him if this was his laptop, what would he do? He stated that he would probably call Apple Care, and that I might get lucky. I then thanked him for all the help, and expressed how much I appreciated him not being a douche, and he just laughed and replied with 'ya, probably cause I am an older guy'<br />So The next day, I call Apple Care, and explain the problems. After 1.5 - 2 hours of talking with them they say that they will mail me a box for me to ship back the broken laptop. I then asked to speak to the guys superior and after talking with him I convinced him to give me a new laptop. So, I now am using a brand new Mac Book Pro!! The man apologized for the inconvenience and said that I should get it by mid week. So I sent my laptop in Friday at 3pm, and received my new MBP on the following Tuesday ~ 11am<br />The reason I am writing this is mainly just to say how pleased I was with Apple. They have done right in my book. They listened to my problem, and, albeit after much whining, they fixed my problem by giving me a new computer faster than I could have hoped for. So thank you very much Apple!!Andrewhttp://www.blogger.com/profile/01808923377666803222noreply@blogger.com0tag:blogger.com,1999:blog-3589943847020439224.post-54944042988145582182009-06-09T12:10:00.001-07:002009-06-09T12:19:24.905-07:00graphics.lineBitmapStyle()Hello all, here is my random AS3 statement / question of the day. I have posted this on numerous forums, however no one seems to feel like replying, so I figured I would put it on the blog and see what answers I can catch here.<br /><br />I am trying to mimic a paint brush in AS3 (in flex) for a mock art studio. Right now I am simply checking for mouse down + mouse move then putting a copy of some bitmapData on a sprite, then adding that to the main application. This sucks because after a while it starts to get bogged down.<br /><br />As a result I checked out graphics.lineBitmapStyle() (an AS3 Flash 10 Feature documentation can be found <a href="http://livedocs.adobe.com/flex/3/langref/flash/display/Graphics.html#lineBitmapStyle%28%29">here</a>), I was able to get that to work (technically) but not how I wanted to use it. Right now it just tiles it (yes, I know there is a switch to turn repeating off) thus causing it to act like a 'scratch off' lottery ticket. What I mean by this is that it looks like there is a static image underneath (this is my bitmap) and my 'drawing' on the stage just makes it visible. Any help would be greatly appreciated... code is below:<br />Code:<br /><br />var oldWay:Canvas = new Canvas()<br />//get bmpdata<br />var bRect:BitmapData = new BitmapData(100, 100); //create bitmap<br />var c:Canvas = new Canvas(); //create spoof canvas<br />c.graphics.beginFill(oxFF0000); //start fill<br />c.graphics.drawRoundRect(0,0, 100, 100,10,10); //draw that stuff!<br />c.graphics.endFill(); //end fill<br />bRect.draw(c); //draw this out to the bmpdata<br />//now draw it on the stage<br />oldWay.graphics.lineStyle(bRect.height,0); //start a line style<br />oldWay.graphics.lineBitmapStyle(bRect,null,true,false) //set bitmap style<br />oldWay.graphics.moveTo(nX1, nY1); //move the point to my previous point<br />oldWay.graphics.lineTo(nX2, nY2); //draw to new location<br /><br />Image of results here:<br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://content.screencast.com/users/andrewLuly/folders/Jing/media/5c576109-a580-43e2-b8dd-e171e0da1c6a/2009-06-09_1440.png"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 358px; height: 385px;" src="http://content.screencast.com/users/andrewLuly/folders/Jing/media/5c576109-a580-43e2-b8dd-e171e0da1c6a/2009-06-09_1440.png" alt="" border="0" /></a><br />and with repeating on:<br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://content.screencast.com/users/andrewLuly/folders/Jing/media/723a70ca-18f4-4cf7-b878-b0b94890b7e0/2009-06-09_1517.png"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 341px; height: 404px;" src="http://content.screencast.com/users/andrewLuly/folders/Jing/media/723a70ca-18f4-4cf7-b878-b0b94890b7e0/2009-06-09_1517.png" alt="" border="0" /></a>Andrewhttp://www.blogger.com/profile/01808923377666803222noreply@blogger.com1tag:blogger.com,1999:blog-3589943847020439224.post-1131536270216792732009-06-06T13:47:00.000-07:002009-06-06T14:49:43.103-07:00HTPC hardware issueSo here's the deal, I recently (back in Feb 09) decided to build a HTPC (Home Theater Personal Computer) and at first it worked great! Now it is F-ed. I am looking for help where people are willing, here is the skinny: When building it, I used the following hardware:<br /><ul><li><a href="http://www.newegg.com/Product/Product.aspx?Item=N82E16827136147">DVD (LG)<br /></a></li><li><a href="http://www.newegg.com/Product/Product.aspx?Item=N82E16822136284">Hard Drive (WD 1TB)<br /></a></li><li><a href="http://www.newegg.com/Product/Product.aspx?Item=N82E16835100007">Thermal Compound</a></li><li><a href="http://www.newegg.com/Product/Product.aspx?Item=N82E16856101064">Case, MoBo, Power Supply (shuttle)<br /></a></li><li><a href="http://www.newegg.com/Product/Product.aspx?Item=N82E16819115206">Processor (2.8 ghz intel)</a></li><li><a href="http://www.newegg.com/Product/Product.aspx?Item=N82E16820146526">RAM (2gb Crucial 1gbx2)</a></li><li><a href="http://www.newegg.com/Product/Product.aspx?Item=N82E16815116010">TV Tuner (hauppauge hvr 1600)</a></li></ul>I got the computer, built it and all was well. I was using Windows Vista Ultimate (trial version) and that worked awesomely, everything was going super. I left the machine on at all times, and let it sleep when it ws inactive for > 3 hours. Then out of the blue, the computer started dying every once in a while (usually at night time, and I found it dead the next morning, no I didn't have any jobs set to run at night aside from windows update)<br /><br />So I do some debugging and figure its the HD, this was 'confirmed' by the memory test running 10 times all turning up positive, along with seeing the following message on the bios screen "SATA Drive 1: Bzbzbzbzbzbzbzbzbzbzbzbzbzbzbzbzbz...bz"<br /><br />So I contact NewEgg and (as always) they exchange it for me with no problems. 1 week later I get my new HD, and re-install everything (same setup as before). After about 2 months, the same thing happens, and I get the nice old friendly "Bzbzbzbzbzbzbz" again. Once again I test everything, and while running my good ol' friend Knoppix, it shows that there is no hard drive... fucking super. <br /><br />So I sent out and got ANOTHER HD (3rd one) and install linux (www.linuxmce.com) a distro of kbuntu and it is not even instaleld for a day or so and the Bzbzbzbzbz begins... so obviously, something is F-ed In the A somewhere else on the machine. <br /><br />So the question is how do I start going about debugging this fuck-fest? If you can think of a way to help i will give you... um... a virtual hug.Andrewhttp://www.blogger.com/profile/01808923377666803222noreply@blogger.com1tag:blogger.com,1999:blog-3589943847020439224.post-88336479838828450202009-04-15T12:13:00.001-07:002009-04-15T12:16:40.106-07:00Removing anonymous function from an event listenerHey guys and gals, quick lesson in flex. One popular thing to do is use something called an anonymous function with eventListeners when you want to pass the function something more than just the event. You would typically just say:<br /><br />myObj.addEventListener(Event.ENTER_FRAME, function(a_event:Event):void{someotherFunc(a_event, additionalArgs);});<br /><br />But this sucks if you are going to want to remove the listener. So something you can do is the following. You can create a function variable (func), then set the anonymous function to this var. Then the second function that you ultimately want to call (func2) will have an optional parameter ‘myHackFunc’ that will be the variable that you created (func). Then you just call remove event listener on ‘myHackFunc’.<br /><br />I have heard of other ways of doing this, mainly, using ‘arguments.callee’ This causes my app to die, but the way described above, and shown below, seems to work all the time. Hope it helps!<br /><br /><br />public function myFunc1():void{<br /> var func:Function = function(a:Event):void{ func2 (a, some_args, func)};<br /> i.addEventListener(Event.ENTER_FRAME, func);<br />}<br /><br />public function func2(a_event:Event, some_args:*, myHackFunc:Function = null):void{<br /> a_event.currentTarget.removeEventListener(Event.ENTER_FRAME, myHackFunc);<br />}<br /><br /><br />Oh, or you could just go and use a custom event class... but that isn't the point of this exercise :PAndrewhttp://www.blogger.com/profile/01808923377666803222noreply@blogger.com0tag:blogger.com,1999:blog-3589943847020439224.post-91474466796867864612009-02-13T08:49:00.000-08:002009-02-13T08:56:28.486-08:001234567890<embed id="soEmbeddedContent" height="100" width="400" type="application/x-shockwave-flash" src="http://www.andrewluly.com/swf/countDownTillEpoch.swf" style="" name="soEmbeddedContent" bgcolor="white" quality="high" allowscriptaccess="always" allowfullscreen="true" scale="showall" wmode="transparent" base="http://www.andrewluly.com/swf/countDownTillEpoch.swf" />
<br />
<br />
<br />So as you may or may not know today (2/13/09) at 5:31 PM EST we will have the time of 1234567890 in unix time. This is the number of seconds that has taken place since January 1st 1970 at midnight GMT. Above will show you if the time has passed, this is a little script that took 5 minutest to right, that will be 'screen shoted' later today so I will know where i was in my life at 1234567890... sitting alone in front of my computer watching a stupid flex app. None the less.. enjoy :D
<br />Andrewhttp://www.blogger.com/profile/01808923377666803222noreply@blogger.com0tag:blogger.com,1999:blog-3589943847020439224.post-63322155851395521562009-02-12T12:34:00.000-08:002009-02-12T12:36:12.907-08:00Reason number 193 i love my jobGetting to put my face on alllll sorts of random things... for testing :P <br />
<br /><embed id="soEmbeddedContent" height="382" width="560" flashvars="content=http://content.screencast.com/users/andrewLuly/folders/Jing/media/fff1826c-9852-4dc7-b05f-cdcb737d65d3/2009-02-12_1529.swf&width=560&height=382&blurover=false&thumb=http://content.screencast.com/users/andrewLuly/folders/Jing/media/fff1826c-9852-4dc7-b05f-cdcb737d65d3/FirstFrame.jpg" base="http://content.screencast.com/users/andrewLuly/folders/Jing/media/fff1826c-9852-4dc7-b05f-cdcb737d65d3/" wmode="transparent" scale="showall" allowfullscreen="true" allowscriptaccess="always" quality="high" bgcolor="white" name="soEmbeddedContent" style="" src="http://content.screencast.com/users/andrewLuly/folders/Jing/media/fff1826c-9852-4dc7-b05f-cdcb737d65d3/jingswfplayer.swf" type="application/x-shockwave-flash" />Andrewhttp://www.blogger.com/profile/01808923377666803222noreply@blogger.com1tag:blogger.com,1999:blog-3589943847020439224.post-55779875937802503972009-02-04T07:59:00.001-08:002009-06-06T14:52:30.914-07:00Angry Dog StripperThis is the final product of my latest product at work. It is called Be a Star. Basically, you upload a photo, add crazy assets and we insert it in to the movie that you choose. Many laughs were had during this product. Found on www.webfetti.com and www.myfuncards.com<br /><br /><br /><br />--------------------------- :: EDIT:: ---------------------------<br />A company sent a cease and desist to our company because apparently they hold a patent on 'Dynamicaly Adding a head to an animated body' Who knew you could hold a patent on a fucking idea. As a result we had to pull one of the shining features on this product. At any rate, We have pulled the assets and the movie, but you can visit www.webfetti.com and www.myfuncards.com and check it out 'Be a Star'Andrewhttp://www.blogger.com/profile/01808923377666803222noreply@blogger.com0tag:blogger.com,1999:blog-3589943847020439224.post-11527981116800761222008-11-12T14:57:00.001-08:002009-04-15T12:13:19.812-07:00AS3Hey there guys and gals, here is a function that will find the function that is calling it. This is in AS3 It is great for debugging and quite reliable. I use this when I want to make my own custom errors. Enjoy<br /><br />currFunction(){<br />return new Error().getStackTrace().toString().substring( new Error().getStackTrace().toString().indexOf("/") + 1, new Error().getStackTrace().toString().indexOf("["));<br />}Andrewhttp://www.blogger.com/profile/01808923377666803222noreply@blogger.com0tag:blogger.com,1999:blog-3589943847020439224.post-32059205867710336792008-11-05T06:00:00.001-08:002008-11-05T06:00:22.078-08:00::cough::: new post ::cough::Andrewhttp://www.blogger.com/profile/01808923377666803222noreply@blogger.com1tag:blogger.com,1999:blog-3589943847020439224.post-50460737337597698392008-08-24T14:34:00.000-07:002008-08-24T14:36:47.872-07:00Day 4 5 64 - 59 minutes 28 seconds<br /><br />5 , 6, 7 no running... my bones literally hurt and my knee has been going out. I tried to do it again, but i think i am fucking up my left knee. For those of you who know me, my first car accident fucked up that knee, and i am afraid that this isn't going to work. Therefore I think i am going to walk home every day from work (5 - 6miles) rather than jogging / walking the 4.5 I think its a fair trade. this will start tomorrowAndrewhttp://www.blogger.com/profile/01808923377666803222noreply@blogger.com0tag:blogger.com,1999:blog-3589943847020439224.post-64325054935613469942008-08-20T18:30:00.000-07:002008-08-20T18:43:31.467-07:00day 327 more days, i checked out how far i am actually going and its about 4.5 miles. Today I did it in 59 minutes 30 seconds :P <br /><br />I have started jogging for a minute, walk 3 repeatAndrewhttp://www.blogger.com/profile/01808923377666803222noreply@blogger.com0tag:blogger.com,1999:blog-3589943847020439224.post-89819744810843259512008-08-20T08:42:00.001-07:002008-08-20T08:50:50.927-07:00I don't think there is a part of me thats not sore:P maybe my eye lids.... but even they are hating me... 28 more daysAndrewhttp://www.blogger.com/profile/01808923377666803222noreply@blogger.com0tag:blogger.com,1999:blog-3589943847020439224.post-13355521497747741602008-08-19T17:42:00.000-07:002008-08-19T18:24:52.662-07:00day 259 minutes 57 seconds...<br /><br />my ass hurts<br />my legs hurt<br />fucking pads on my foot hurt like a mother fucker<br /><br />however, i learned a valuable lesson today, sprinting != jogging<br /><br />[Edit]<br />Do i have bruises on the bottom of my feet? ... is that bad?Andrewhttp://www.blogger.com/profile/01808923377666803222noreply@blogger.com2tag:blogger.com,1999:blog-3589943847020439224.post-56854819744655514622008-08-18T17:30:00.000-07:002008-08-18T17:42:32.069-07:00Day 1<sarcasam> <> dear Journal, today i ran... it sucked </sarcasam>< / sarcasam ><br /><br /><br />There were, no lie, at least 8 times that I thought I was going to vomit :/ But I did it! once...<br /><br />so todays stats: about 4.5 miles (I think) in 1 hour 3 minutes. I have a feeling tomorrow is going to be slightly worse... because of exhaustion, but we will see. T - 29 more days.Andrewhttp://www.blogger.com/profile/01808923377666803222noreply@blogger.com0tag:blogger.com,1999:blog-3589943847020439224.post-90449571173870048762008-08-17T11:12:00.001-07:002008-08-17T11:21:49.974-07:00Long time, no postSo its been a while since I have posted on this site, for this I apologize.<br /><br />Today is August 17th 2008. Starting tomorrow I will be doing something I never thought I would do. For the next 30 days, I will go out and run four miles a day and stop eating fried foods. When I do work out I generally keep it to myself. I am not 'I am going to Run 232 miles in the next month' guy then give you daily updates about my work out or calories intake... I fucking hate that guy he annoys me... alot. So In order to keep myself motivated, I am going to time myself the first day, and see how long it takes, then every day time put up a new post about my progress... My hopes are here that since I am reporting to something, albeit not a direct person, it will keep me motivated to keep going. I am going to take a pic of myself before this thirty days and after to compare and contrast. Then if this is successful, who knows maybe after that time I will be use to it and keep going.<br /><br />So tonight will be the last day of gluttony (which will primarily consist of chicken, otherwise it will spoil) then tomorrow I will try to lead a healthier life. Wish me luck internets and lets see how this goes!Andrewhttp://www.blogger.com/profile/01808923377666803222noreply@blogger.com3tag:blogger.com,1999:blog-3589943847020439224.post-13642084946931092082008-07-27T18:56:00.000-07:002008-07-27T19:08:15.699-07:00Do Buggers Smell?Do our buggers smell? So here is what I was thinking...<br /><br />You know how when you go to a resteraunt or someones house and there is an odd smell, then after like 30 seconds or so you can't smell it anymore?<br /><br />So then in theory after the first few minutes of us having buggers (at birth) we shouldn't be able to smell them anymore. Then one would wonder, what if I was to pick out a bugger let my nose become accustomed to no bugger smell for a bit then smell it again. I guess my point is... What do buggers smell like, and does Air smell different after your nose is completley free of buggers.<br /><br />Ya this is weird to think about it.. but if you think about it for a minute or two, you will start to wonder yourself....<br /><br /><br />-AndrewAndrewhttp://www.blogger.com/profile/01808923377666803222noreply@blogger.com1tag:blogger.com,1999:blog-3589943847020439224.post-59921696283347581272008-06-30T06:07:00.000-07:002008-06-30T06:08:07.751-07:00Random PhrasesEver have just a random phrase stuck in your head? You could be driving and for some reason you get a phrase stuck in your head that you don't know where it came from, then it turns out its part of the license plate in front of you. Well I woke up with the phrase "hugging with my lips"... WTF does that mean!? oh well leave your thoughts below...Andrewhttp://www.blogger.com/profile/01808923377666803222noreply@blogger.com0tag:blogger.com,1999:blog-3589943847020439224.post-67475360451305209072008-06-27T20:54:00.001-07:002008-06-27T20:54:29.706-07:00Toilet paper.... Over or Under... you decide...Andrewhttp://www.blogger.com/profile/01808923377666803222noreply@blogger.com0tag:blogger.com,1999:blog-3589943847020439224.post-25994197689465563492008-06-15T11:36:00.001-07:002008-06-15T11:56:22.271-07:00Fat PeopleI am a fat guy / big guy / tall and 'stocky' or whatever words you want to use. I am starting a job soon and figured I would go buy some new clothes. Try to give myself a fresh look to go with the fresh job. Seeing as how I am a big guy 6'5 I need to buy tall shirts so I don't look like I am wearing a mid-drift. I recently went in to the Big and tall section at JCPenny's and there were 4 different types of shirts:<ul><li>Plaid</li><li>Polos</li><li>Hawaiian</li><li>"Big Dog" shirts<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.btdirect.com/store/en_US/images/closeup/p85748c.jpg"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px;" src="http://www.btdirect.com/store/en_US/images/closeup/p85748c.jpg" alt="" border="0" /></a></li></ul>First off, plaid? Don't get me wrong I have plenty of plaid shirts, but you can only wear so many before people refer to you as 'that plaid guy'.<br /><br />Polos are fine, just not a big fan of them. Its like a T-shirt and button down had a retarded baby that didn't know what was what.<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.btdirect.com/store/en_US/images/closeup/p87441c.jpg"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px;" src="http://www.btdirect.com/store/en_US/images/closeup/p87441c.jpg" alt="" border="0" /></a><br />Hawaiian shirts... Who ever decided that fat people liked Hawaiian shirts. I have two, they are my "OMG I have nothing to wear... what should I wear... " shirts. Maybe cause fat people are jolly, and you are jolly when you are on a beach in Hawaii?? I am also Jolly after beating up a hooker, playing with a puppy, eating a steak, Christmas morning down by the tree in my PJs, or playing a video game. However these activities are not necessarily the best shirts to wear.<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.recidivism.org/images/2006/05/stay_on_the_porch.jpg"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px;" src="http://www.recidivism.org/images/2006/05/stay_on_the_porch.jpg" alt="" border="0" /></a><br />Lastly, "Big Dog" shirts... we have all seen these. I am fat, He is fat, She is fat, we can all see this, its not a secret or something you can really hide well... its just a fact. This being said we do not need to publicize this by wearing T-Shirts that say stupid shit with this big dog, or shirts that read "I'm Fat, and your Ugly, but I can loose weight" Things like this give fat people a bad rep. Whatever happened to just solid colors, or non-retarded t-shirts. Hell, why not just have the same retarded t-shirts as everyother company, just make it a few sizes bigger.<br /><br />This is even the same at the big and tall stores. Where the specifically focus on 'big and tall' guys. I mean seriously, get a better freakin selection, like some stripes or solid colors, or plaid is alright, just some different options... Hawaiian shirts... no never, just don't do that.Andrewhttp://www.blogger.com/profile/01808923377666803222noreply@blogger.com0