tag:blogger.com,1999:blog-65035193512474063462010-03-07T08:55:37.872-08:00nobleblognobleclemhttp://www.blogger.com/profile/10174349118360672446noreply@blogger.comBlogger36125tag:blogger.com,1999:blog-6503519351247406346.post-69629743083991789102009-12-17T11:42:00.000-08:002009-12-17T11:46:14.430-08:00MyBB Forum IP Log PluginI just released an update to MrD.'s iplog plugin for MyBB 1.4.x. Its actually a complete rewrite. The big difference between the old one and this one is that the admin side now has searching and pagination capabilities.<br /><br />I will do my best to keep it maintained. If not someone else should take over it. Just contact me if you would like any features or bug fixes.<br /><br />Download the plugin: <a href="http://mods.mybboard.net/view/user-ip-log" target="_blank">http://mods.mybboard.net/view/user-ip-log</a><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6503519351247406346-6962974308399178910?l=nobleclem.blogspot.com' alt='' /></div>nobleclemhttp://www.blogger.com/profile/10174349118360672446noreply@blogger.com1tag:blogger.com,1999:blog-6503519351247406346.post-52539056103443036842009-06-18T13:25:00.000-07:002009-06-18T13:30:59.071-07:00jQuery form input helper text functionWe started using jQuery at work a few months ago and we began to analyze the JavaScript we were writing. We found that we were using some code over and over and one was a few lines that handled adding some helper text to an input on page load and removing it when a user clicks the input to type some text. It also handles when a form is submitted removing the helper text before it is sent to the server for processing (no server side checks for the helper text).<br /><br />Here is the code for a universal function in handling form input helper text. The last value will default to 'default'. This was a class name we chose to allow us to lighten the color of the helper text only.<br /><pre><br />/**<br />* Handles add/removing helper text for form input fields<br />*<br />* @param selector Jquery selector value of element to add helper to<br />* @param helperText Text to be placed in the input if input has no value<br />* @param css Css class to be added when helper text is set<br />*/<br />function form_helper_text( selector, helperText, css ) {<br /> $(document).ready(function(){<br /> // set css default value if none provided<br /> css = typeof( css ) != 'undefined' ? css : 'default';<br /> <br /> // select form element and if helper text is submitted replace with ''<br /> var form = $( selector ).parents( 'form:first' );<br /> $( form ).submit(function(){<br /> if( $( selector ).val() == helperText ) {<br /> $( selector ).val( '' );<br /> }<br /> });<br /><br /> // set action when field is not selected (add helper text)<br /> $( selector ).blur(function(){<br /> if( $(this).val() == '' ) {<br /> $(this).addClass( css );<br /> $(this).val( helperText );<br /> }<br /> });<br /><br /> // set action when field is selected (remove helper text)<br /> $( selector ).focus(function(){<br /> if( $(this).val() == helperText ) {<br /> $(this).val( '' );<br /> $(this).removeClass( css );<br /> }<br /> });<br /><br /> // trigger blue action to add helper text<br /> $( selector ).trigger( 'blur' );<br /> });<br />}<br /></pre><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6503519351247406346-5253905610344303684?l=nobleclem.blogspot.com' alt='' /></div>nobleclemhttp://www.blogger.com/profile/10174349118360672446noreply@blogger.com3tag:blogger.com,1999:blog-6503519351247406346.post-67744334736092761692008-11-11T20:25:00.000-08:002008-11-11T11:31:55.091-08:00Mac Dashboard Stock Widget DST bugSo I discovered this year that there is a minor bug that when your are on standard time the daily stock chart is +1 hour running Mac OS 10.5.5. Now its not a big deal but its just annoying but I decided to fix it until DST begins where I will have to get in and undo what I did until I figure out a real fix instead of a work around.<br /><br /><span style="font-weight: bold;">Workaround</span><br />Edit: <span style="font-style: italic;">/Library/Widgets/Stocks.wdgt/Stocks.js</span><br />Goto Line: <span style="font-style: italic;">1932 "var utcOffset = 13;"</span><br />Change to: <span style="font-style: italic;">"var utcOffset = 14;"</span><br /><br />If I knew javascript better I might have had a solution but till then this will work out just fine.<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6503519351247406346-6774433473609276169?l=nobleclem.blogspot.com' alt='' /></div>nobleclemhttp://www.blogger.com/profile/10174349118360672446noreply@blogger.com0tag:blogger.com,1999:blog-6503519351247406346.post-24323835143546968212008-10-29T20:18:00.000-07:002008-10-29T20:33:23.573-07:00SphinxSearch Experience<div style="text-align: left;"><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.sphinxsearch.com/"><img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 88px; height: 31px;" src="http://www.sphinxsearch.com/g/sphinx_black.gif" alt="" border="0" /></a>At work I have been investigating alternative search engines to manage our class schedule needs. Currently our credit schedule is 8 years old in design and requires file query caching to keep it running properly. We are wanting to get more information out of the database to make it easier for students to find classes they want to take that fits in their schedule. One options is to have filtering options like on many ecommerce sites.<br /></div><br />So I heard about <a href="http://sphinxsearch.com/">SphinxSearch</a> and how fast it indexes and produces query results. So this is great. Well it hasn't been as great of an experience trying to get it integrated into our non-credit system.<br /><br />Problems:<br />1) <a href="http://sphinxsearch.com/doc.html">Documentation</a> is lacking. More detailed examples of many of the advanced features would be helpful.<br />2) PHP API is extremely slow.<br />3) It only deals with numbers (makes more work on me)<br /><br />But after learning the system figuring out its quirks. Working around some bugs (<a href="http://sphinxsearch.com/bugs/view.php?id=230">might be solaris or sparc related</a>) I am beginning to be more confident. I have also just started investigating the <a href="http://pecl.php.net/package/sphinx">Sphinx PECL extention</a> to see about speed improvements for parsing of the server response. During an initial test (FreeBSD Dual Dual Core Xeon 2.8Ghz 2GB Ram Server) a response using the PHP API cost 0.1 sec whereas the PECL version only cost 0.003 sec. Now these numbers are different than I was receiving on our solaris server but non the less its a huge improvement. I need to refine my testing to verify my results and I will post more details about them when I am more comfortable with what I have.<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6503519351247406346-2432383514354696821?l=nobleclem.blogspot.com' alt='' /></div>nobleclemhttp://www.blogger.com/profile/10174349118360672446noreply@blogger.com0tag:blogger.com,1999:blog-6503519351247406346.post-85877251188151652912008-09-27T15:22:00.000-07:002008-09-27T12:22:29.334-07:00NewEgg Egg Saver Shipping SUCKS!!!So I have ordered several parts from newegg over the past 4 years and I have only had a couple problems.<br /><br />1) Ordered computer parts with my parents credit card (graduation gift) and shipped to my house. This caused several problems and took me 3 days to resolve by getting my address as a shipping address and then threatening to cancel the order because they wanted to start a problem because of a phone number.<br /><br />2) Egg Saver Shipping (3-7 business days).... OH MY GOD WHAT A LOW CLASS SHIPPING METHOD THIS IS. Yeah I know I could have paid $10 for UPS 3 day shipping but I figured it doesn't have to go far my stuff usually ships out of the NJ warehouse. So it was picked up on 9/11 in the evening and made it to IL 2 days later (note this is going to southern MI). Ok I can buy that its cheapo shipping. So on 9/15 it finally makes it to MI but changes carriers (USPS). Well it sits in Allen Park for 7 DAYS! and leaves Detroit on the 8th day. Ok so how did it get from Allen Park to Detroit? Who knows because USPS has the worst tracking system ever.<br /><br />So after waiting two weeks from shipping date I emailed newegg customer support and they surprisingly said the shipment must have gotten lost in transit and that they would either refund me my money or send me out a new product. So trying to give the postal system the benefit of the doubt I decided to wait to respond for another day to see if it arrived that night or the next (friday). But still no RAM.<br /><br />But oh wait... after I ask for a replacement (good thing on a weekend) the package finally shows up almost 2.5 weeks after shipment. The package was a little bit abused but at least RAM from Kingston is packaged very well. The best part about the package was the "Time Sensitive Material" text on the USPS sticker. I guess "time sensitive" is a relative term and USPS figures eh... anytime in the next month would be great.<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6503519351247406346-8587725118815165291?l=nobleclem.blogspot.com' alt='' /></div>nobleclemhttp://www.blogger.com/profile/10174349118360672446noreply@blogger.com4tag:blogger.com,1999:blog-6503519351247406346.post-33104337957530639252008-09-26T22:47:00.000-07:002008-09-26T23:08:30.518-07:00Mac OSX Bluetooth Keyboard & Mouse Bug<div style="text-align: left;"><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://farm4.static.flickr.com/3181/2891826942_a79dfc9f5b_o.jpg"><img style="margin: 0pt 10px 10px 0pt; float: right; cursor: pointer; width: 320px;" src="http://farm4.static.flickr.com/3181/2891826942_a79dfc9f5b_o.jpg" alt="" border="0" /></a>So I have had a iMac for a week now and have come across a bug that was happening at random (actually it wasn't). So when I put my computer to screen saver mode (it just powers down the screen after a bit) I would turn the mouse off (keyboard i just let go to sleep). So a few hours later I would come back turn the mouse on and try to login. Well sometimes the mouse would work and other times just the keyboard would work. I was about to take the keyboard to the apple store and demand my $30 back and the regular keyboard. Fortunately I ended up finding a repeatable pattern to cause one input to not respond and a repeatable solution.<br /></div><br />My Setup:<br />1) Silver 20" iMac Core2 Duo 2.66Ghz<br />2) Apple slim silver bluetooth keyboard<br />3) Logitech Bluetooth notebook travel mouse<br /><br />Problem:<br />1) iMac is in sleepish mode<br />2) both keyboard and mac off<br />3) wake up computer using mouse first then try to use keyboard<br />Doing this will cause the mouse to not respond yet the keyboard will<br /><br />Solution:<br />1) Wake up computer fully with keyboard<br />2) Turn the mouse on and wait for it to respond<br />Both of these should take less than 5 seconds each to happen (usually faster).<br /><br />If you find yourself in a situation where one input is not responding (even if the computer says its connected to it) simply turn off both inputs and turn the keyboard on first make sure the computer is responding to it (Command + Tab is a great test) then turn the mouse on.<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6503519351247406346-3310433795753063925?l=nobleclem.blogspot.com' alt='' /></div>nobleclemhttp://www.blogger.com/profile/10174349118360672446noreply@blogger.com0tag:blogger.com,1999:blog-6503519351247406346.post-2000674632002316792008-09-25T01:12:00.000-07:002008-09-24T22:12:40.703-07:00Pronouncable Password Generator<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://fatalexception.us/projects/gpw.png"><img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 200px;" src="http://fatalexception.us/projects/gpw.png" alt="" border="0" /></a>I have to periodically make passwords for others that I want to be secure but memorable so I found this CLI app called GPW. So I have created a Mac App to interface with it and to hopefully in the future provide more options for possible passwords configurations.<br /><br /><a href="http://fatalexception.us/projects/gpw.dmg">Download the GPW app</a><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6503519351247406346-200067463200231679?l=nobleclem.blogspot.com' alt='' /></div>nobleclemhttp://www.blogger.com/profile/10174349118360672446noreply@blogger.com0tag:blogger.com,1999:blog-6503519351247406346.post-11862756101631209352008-09-24T22:19:00.000-07:002008-09-24T22:26:52.332-07:00Speed Switcher<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://fatalexception.us/projects/speedswitcher.png"><img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 200px;" src="http://fatalexception.us/projects/speedswitcher.png" alt="" border="0" /></a>A couple of years ago we needed to test different connection speeds at work. So I created a simple Mac app that uses firewall rules to limit the speed allowed on ports 80 & 443.<br /><br /><br /><a href="http://fatalexception.us/projects/speedswitcher.dmg">Download the Speed Switcher app</a><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6503519351247406346-1186275610163120935?l=nobleclem.blogspot.com' alt='' /></div>nobleclemhttp://www.blogger.com/profile/10174349118360672446noreply@blogger.com0tag:blogger.com,1999:blog-6503519351247406346.post-90997901257231073992008-09-17T21:03:00.000-07:002008-09-17T21:08:59.430-07:00Mac OSX + VMware Fusion 2 + TeamFortress 2 = Sweet!So I just purchased a Core2 Duo 20" iMac with the 256MB ATI Radeon HD 2600 Pro video card and I am very impressed with the speed of the game. Now don't get me wrong it wasn't the best but I am still tweaking some setting to get it to become smoother.<br /><br />I setup VMware so that I dedicated 1GB RAM to the VM and set it to use 1 Core. Next time I am going to try setting it to 2 cores and see if I get a speed increase. The other thing is my 4GB Ram kit hasn't showed up so hopefully I will get that and dedicate 2GB to the VM.<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6503519351247406346-9099790125723107399?l=nobleclem.blogspot.com' alt='' /></div>nobleclemhttp://www.blogger.com/profile/10174349118360672446noreply@blogger.com0tag:blogger.com,1999:blog-6503519351247406346.post-62113938093303789012007-10-31T07:28:00.000-07:002007-10-31T07:33:12.794-07:00[updated] Synergy Control ScriptWell since Mac OSX Leopard created an issue with synergys running in the background I have updated my script which was just for creating the reverse ssh link and starting synergyc on the remote system. Now since at least synergys runs in the foreground I decided to run it in a screen.<br /><br />So the updated script will start synergys then create the reverse ssh tunnel and finally start the remote synergyc.<br /><br />Added other nerdy features like status and display output formatting.<br /><br />So get the <a href="http://fatalexception.us/scripts/synergy-control">script</a> if it interests you.<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6503519351247406346-6211393809330378901?l=nobleclem.blogspot.com' alt='' /></div>nobleclemhttp://www.blogger.com/profile/10174349118360672446noreply@blogger.com0tag:blogger.com,1999:blog-6503519351247406346.post-76045026987253900012007-10-05T13:48:00.000-07:002007-10-05T14:01:02.227-07:00[PHP] masking a credit card numberSo if you have ever had to create a shopping cart and on the receipt page you want to display the last 4 digits of the credit card number and just x out the rest well you would prolly create a bit of code like on the php.net comments such as:<br /><pre>function mask ( $str, $start = 0, $length = null ) {<br /> $mask = preg_replace ( "/\S/", "*", $str );<br /> if ( is_null ( $length )) {<br /> $mask = substr ( $mask, $start );<br /> $str = substr_replace ( $str, $mask, $start );<br /> } else {<br /> $mask = substr ( $mask, $start, $length );<br /> $str = substr_replace ( $str, $mask, $start, $length );<br /> }<br /> return $str;<br />}</pre><br />But of course I don't like that solutions so here is my version:<br /><pre>$maskedCcn = substr_replace(<br /> preg_replace( '/\S/', 'X',<br /> preg_replace( '/[^0-9]*/', null, $cardNumber );<br /> ),<br /> substr( $maskedCcn, -4 ),<br /> strlen( $maskedCcn ) - 4,<br /> 4<br />);</pre><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6503519351247406346-7604502698725390001?l=nobleclem.blogspot.com' alt='' /></div>nobleclemhttp://www.blogger.com/profile/10174349118360672446noreply@blogger.com2tag:blogger.com,1999:blog-6503519351247406346.post-73525416208147141822007-09-12T19:12:00.001-07:002007-09-12T19:19:34.935-07:00The Fender Lip Roller<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://farm2.static.flickr.com/1265/1369260274_776ccdaec0.jpg"><img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer; width: 200px;" src="http://farm2.static.flickr.com/1265/1369260274_776ccdaec0.jpg" alt="" border="0" /></a>Monday I finally got around to ordering my Fender Lip Roller and to my surprise it showed up today. Already have plans to fix blake's and my fenders so we stop chewing up our tires. He actually replaced his but alas I don't have that luxury to have another spare set of summer tires.<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6503519351247406346-7352541620814714182?l=nobleclem.blogspot.com' alt='' /></div>nobleclemhttp://www.blogger.com/profile/10174349118360672446noreply@blogger.com0tag:blogger.com,1999:blog-6503519351247406346.post-57991094976788694832007-09-04T07:32:00.000-07:002007-10-08T06:17:12.530-07:00SynergyKM updated Bash Script and configWell here is version 2 of the Synergy Startup script I am using. Just set the <span style=";font-family:courier new;font-size:85%;" >LOCAL_COMPUTER</span> and <span style=";font-family:courier new;font-size:85%;" >REMOTE_COMPUTER</span> variables with your computer hostnames and execute with start|stop. Also here is the Synergy server config I am using. Replace <span style="font-size:85%;"><span style="font-family:courier new;">LOCAL_COMPUTER_ALIASES</span></span> and <span style="font-size:85%;"><span style="font-family:courier new;">REMOTE_COMPUTER_ALIASES</span></span> tokens with your information. Also with the aliases its best to put in anything it could be known by including IP. By not doing this if you have to restart the client you may not regain access to it unless you do a reboot. Its a bug I ran into.<br /><br /><span style="font-weight: bold;">Synergy Config:</span><br /><span style="font-size:85%;"><pre style="font-family: courier new;">section: screens<br />server:<br /> switchCorners = all<br /> switchCornerSize = 25<br />client:<br />end<br />section: aliases<br />server:<br /> LOCAL_COMPUTER_ALIASES (IP & HOSTNAME)<br />client:<br /> REMOTE_COMPUTER_ALIASES (IP & HOSTNAME)<br />end<br />section: links<br />server:<br /> left = client<br />client:<br /> right = server<br />end<br /></pre></span><br /><br /><span style="font-weight: bold;">Bash Start/Stop Link Script:</span><br /><span style="font-size:85%;"><pre style="font-family: courier new; overflow: auto;">#!/bin/bash<br />LOCAL_COMPUTER=<br />REMOTE_COMPUTER=<br /><br />if [ "$LOCAL_COMPUTER" == "" -o "$REMOTE_COMPUTER" == "" ]; then<br />echo "Script has not been configured"<br />exit 0<br />fi;<br /><br />PID=`ps -ax | grep "ssh -fnNT -R 24800:$LOCAL_COMPUTER:24800 $REMOTE_COMPUTER" | grep -v 'grep' | awk '{print $1}'`<br /><br />case "$1" in<br />start)<br /> echo "Starting Synergy Link"<br /> if [ "$PID" == "" ]; then<br /> ssh -fnNT -R 24800:$LOCAL_COMPUTER:24800 $REMOTE_COMPUTER<br /> ssh $REMOTE_COMPUTER "net start \"Synergy Client\""<br /> echo "Synergy Link Opened"<br /> else<br /> echo "Synergy Link already opened"<br /> exit 0<br /> fi;<br />;;<br /><br />stop)<br /> echo "Stopping Synergy Link"<br /> if [ "$PID" != "" ]; then<br /> ssh $REMOTE_COMPUTER "net stop \"Synergy Client\""<br /> kill $PID<br /> echo "Synergy Link Closed"<br /> else<br /> echo "Synergy Link already closed"<br /> exit 0<br /> fi;<br />;;<br /><br />restart)<br /> ./$0 stop<br /> ./$0 start<br />;;<br /><br />*)<br /> echo "Usage (start|stop)"<br />;;<br />esac</pre></span><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6503519351247406346-5799109497678869483?l=nobleclem.blogspot.com' alt='' /></div>nobleclemhttp://www.blogger.com/profile/10174349118360672446noreply@blogger.com0tag:blogger.com,1999:blog-6503519351247406346.post-55286500342821821452007-08-31T14:20:00.000-07:002007-08-31T20:55:39.371-07:00SynergyKM Experience<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://farm2.static.flickr.com/1027/1289941239_d403278b3c.jpg"><img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer; width: 200px;" src="http://farm2.static.flickr.com/1027/1289941239_d403278b3c.jpg" alt="" border="0" /></a>So I have yet to find a good article on how to properly setup SynergyKM and it took me a while to figure out a solution for what I need. I should make some more posts about how to do each step (hopefully with screenshots) or maybe a better overall howto.<br /><br /><span style="font-weight: bold;">What I have:</span><br />1) WindowsXP PC w/ 17" monitor<br />2) 20" iMac with secondary 20" monitor<br />3) 1 - 5 port switch<br /><br /><span style="font-weight: bold;">What I need:</span><br />1) Secure Keyboard Mouse connection from the Mac to the PC (devices on the Mac)<br />2) To still allow others to remote into PC (rare but necessary)<br /><br /><span style="font-weight: bold;">How I set it up:</span><br />1) Install Cygwin w/ssh on the Windows Machine<br />2) Install Synergy on both Machines<br />- install the client service then go into the service management console and set the "Synergy Client" service to "Manual" startup mode<br />3) Setup the Mac as the server<br />4) Setup the PC as the client<br />5) Create RSA/DSA ssh keys<br />6) Use below script to create a reverse tunnel from the mac so that PC's localhost:24800 will seamlessly route though the ssh connection created from the mac.<br /><br /><span style="font-weight: bold;">Script:</span> <span style="font-size:78%;"><span style="font-style: italic;">(will update to have a start / stop mechanism *tunnel only*)</span></span><br />#!/bin/sh<br />ssh -fnNT -R 24800:SYNERGY_SERVER_IP:24800 REMOTE_CLIENT_IP<br />ssh REMOTE_CLIENT_IP "net start \"Synergy Client\""<br /><br /><span style="font-weight: bold;">Software Used:<br /></span><a href="http://synergy2.sourceforge.net/">Synergy2</a><br /><a href="http://www.cygwin.com/">Cygwin</a><br /><br /><span style="font-weight: bold;">Tutorials:</span> <span style="font-size:78%;"><span style="font-style: italic;">(will add more when I get back to work ... granted I remember)</span></span><br /><a href="http://pigtail.net/LRP/printsrv/cygwin-ssh.html">Cygwin-ssh Howto</a><br /><a href="http://articles.techrepublic.com.com/5100-10879-5779944.html?tag=nl.e011">Tech Repulic - Reverse SSH Tunnel</a><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6503519351247406346-5528650034282182145?l=nobleclem.blogspot.com' alt='' /></div>nobleclemhttp://www.blogger.com/profile/10174349118360672446noreply@blogger.com0tag:blogger.com,1999:blog-6503519351247406346.post-6381010406445064692007-08-28T21:26:00.000-07:002007-08-28T21:43:02.979-07:00Its been a whileYeah so its been a while since I have given a life status update. So here it is...<br /><br />On the day I came home from Seattle I got a fucking annoying eye infection. This was horrible as I could barley see in which I figured out was due to a light sensitivity reaction. So I got that fixed and a sick day to find out that my boss is on vacation for a week. So I got 3 weeks without having to see my boss.<br /><br />So basically I have just been working. I do very little programming myself and alot of directing / helping my co-workers. I did however make a good successful push towards a finished uPay auto-checkout library. This is exciting because I make all the page requests for the user so they don't have to be tortured with the horrible interface and retarded steps it requires.<br /><br />At home well I have been working on the DoD Game Tournament site. I just migrated it over to MyBB from phpBB and have been tweaking it to meet our needs (still not done). Right now I have moved onto updating the registration code to allow for a Donate to Choose a Division instead of the full forced random.<br /><br />Oh an I went golfing this past weekend with my friend Blake, Adam, and Jamie (Blakes new roommate). Blake insisted on paying (as this was for a formula sae fund raiser) but man did we have some fun while playing a horrible game. Just image 3 crazy encouragable people with 1 not so encouragable person (adam), two golf carts on an early morning with a nice layer of moisture. Oh yes... thats right it was cart shenanigans time. I think we did almost anything we could think of besides doing a doughnut on the green and driving the cart into the pond (so tempting). We had cart races, bumper carts, rock climbing, dune driving, 180's, two wheel driving (the cart almost tipped) and some forest driving.<br /><br />Oh yea... after 3 weeks I finally got my replacement power supply. However the nice thing about the wait is I was given an upgraded PSU from a 650 watt to an 850 watt and it was Brand Spanking new (which almost never happens with a return). It even had the plastic wrapping on it. So after getting it into my computer I boot it up to find out my keyboard doesn't work ... seriously WTH my computer hates me. However its a good thing I had a backup.<br /><br />So yea... thats about it.<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6503519351247406346-638101040644506469?l=nobleclem.blogspot.com' alt='' /></div>nobleclemhttp://www.blogger.com/profile/10174349118360672446noreply@blogger.com0tag:blogger.com,1999:blog-6503519351247406346.post-21290603567316439412007-07-30T17:56:00.000-07:002007-07-31T09:27:27.689-07:00Trip to Downtown Seattle<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://farm2.static.flickr.com/1217/957476122_b21548e671_m.jpg"><img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer; width: 200px;" src="http://farm2.static.flickr.com/1217/957476122_b21548e671_m.jpg" alt="" border="0" /></a>So today Geoff had to work (jerk :) ) and thus I slept in till 1030 and then slowly decided to go into the downtown area around Pike Place Market. So I ventured to the bus where I missed it by a minute (saw it pass as I was walking to the bus stop) so I was in no hurry and chilled for 30min until the next one arrived. I arrived downtown about a block from the market and decided to see if there was anything I wanted to eat when I spotted fresh made doughnuts ... oh I love me some doughnuts. They were small ones so I bought a half-dozen and ate them while I watched the Pikes Place Fish Co do their thing. Nothing too exciting though.<br /><br />I was hoping that someone would be selling some ball caps around in seattle but no such luck. I couldn't find a store in the area I walked and checked one out that I found from google. Oh well hopefully my head doesn't burn too bad.<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://farm2.static.flickr.com/1405/956648775_aba93423e4_m.jpg"><img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 200px;" src="http://farm2.static.flickr.com/1405/956648775_aba93423e4_m.jpg" alt="" border="0" /></a>While I was at the Pacific Place Mall I saw another one of these crazy pig sculptures and this one had wings so I decided to take a pic as no one was in my way. I am not sure if they all mean something but if they do this one could be "when pigs fly". So after that I cruised through the mall and saw the AMC Theatre and decided to entertain myself by seeing "Sunshine" this movie was alright. I think it could have been much better. It reminded me of other movies that I had seen about going to mars and other space types. Nothing too creative except the ship they were on.<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6503519351247406346-2129060356731643941?l=nobleclem.blogspot.com' alt='' /></div>nobleclemhttp://www.blogger.com/profile/10174349118360672446noreply@blogger.com0tag:blogger.com,1999:blog-6503519351247406346.post-79318183660229410222007-07-29T13:45:00.000-07:002007-07-29T13:50:26.396-07:00It's a party in FreemontWell last night was a blast. We went to the High Dive and watched this Ska-ish band play called the "Smoking Bills". It was a hoot as they had a few chicks come in wearing only their lingerie and danced for us a couple songs (sorry I didn't take my camera with me, I really need to learn to do that).<br /><br />This morning has thus far been pretty laid back. Just got some brunch then off to the dog park where Rio was a crazy pup.<br /><br />So yea... right now we are chilling before Geoff's kick ball game (we will see if I go... I am still a bit tired even after an energy drink).<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6503519351247406346-7931818366022941022?l=nobleclem.blogspot.com' alt='' /></div>nobleclemhttp://www.blogger.com/profile/10174349118360672446noreply@blogger.com0tag:blogger.com,1999:blog-6503519351247406346.post-81249034763369591442007-07-28T22:19:00.000-07:002007-07-28T23:37:40.464-07:00Aloha SeattleSo Friday I was able to fly to Seattle on my round trip ticket to detroit to portland and the return trip had a layover in seattle... so of course its like derp lets go visit my buddy Geoff. Well I purchased a one way on Frontier airlines (a less shitty airline than NWA) on Wednesday.<br /><br />Friday night Geoff and I had a chill night. We went to see "Election" on a Free Movie on the Lawn event. It was a good movie. Today we went into Freemont and got some breakfast then took the boat out sailing (winds were ok). After that we went to the beach and met up with some of Geoff's climbing buddies and did some slack lining, ate some grub and dicked around. Then then next event was a first for me as we went to see the Rat City Rollergirls (Roller Derby). This was great to see as there were two fights in which punching was involved and some good there was also some good slamming. Hey what guy doesn't want to see girls in a skimpy outfits beating the crap out of other girls in skimpy outfits.<br /><br />And finally we do what we always do and that is going to the bar. At least this time I know where geoff lives from where we are off too and I won't have to drive around for 2 hours (thanks Geoff).<br /><br />Sorry no pictures this round... speaking of I should prolly start taking some.<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6503519351247406346-8124903476336959144?l=nobleclem.blogspot.com' alt='' /></div>nobleclemhttp://www.blogger.com/profile/10174349118360672446noreply@blogger.com0tag:blogger.com,1999:blog-6503519351247406346.post-41482851857502321162007-07-27T07:55:00.001-07:002007-07-27T12:46:22.723-07:00OSCON - The final frontierSo today is the last day of OSCON. We are slated to go see the keynotes and goto a session on Subversion Wost Practices. There is also one called Hack Your Manager which seems interesting and possibly useful.<br /><br />The keynotes this morning are on Open Source systems.<br /><ul><li>Second Life (a game that has exploded into a communications meeting network)</li><li>Wikia (a new wikipedia that is striving to be the sum of all human knowledge)</li><li>The state of PHP, Perl & Ruby (comparison to people)<br /></li><li>How to make use of old hardware</li></ul>Subversion Worst Practices:<br />This was a good session. It made me rethink a couple thinks on how to handle the svn setup at work. We need to discuss / test some things a little more but I think we can come up with a usable VCS for us to use at work.<br /><br />Ruby on Mac OSX:<br />I never got into ruby... well I never attempted ... I think it turned me off when all the crap started with Ruby on Rails. So overall this session I am definatly not going to get anything out of. This guy is not a very good speaker, another one that reads from his slides.<br /><br />Finally we went to the last keynote. This keynote talks about Open Hardware design that goes under the similar concept of OSS. Its kinda interesting and could give the major manufacturers a run for their money. It could also do the same thing for hardware design that OSS has done for software.<br /><br />Anyway this was a good conference. There were many good speakers (and bad ones). I think they could do a better job of screening their speakers to bring in high quality ones. If they did that they the conference could be so much better and I think attract tons more people.<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6503519351247406346-4148285185750232116?l=nobleclem.blogspot.com' alt='' /></div>nobleclemhttp://www.blogger.com/profile/10174349118360672446noreply@blogger.com0tag:blogger.com,1999:blog-6503519351247406346.post-30011755546855719982007-07-26T22:09:00.000-07:002007-07-27T07:43:50.684-07:00Red Lion HotelSo the hotel is definitely a hit or miss hotel. But in this case its a miss when it comes to their organizational and clean staff skills.<br /><br />The Bad:<br /><ul><li>Our rooms were not ready when we got here</li><li>After we left and came back our rooms were still not ready and we had to change our booked accommodations because they are unable to meet their end of the deal.</li><li>They told 2 of 4 of us that we could have a late checkout but the other two (Sarah and myself) told us not a chance without even looking at our reservations.</li><li>The cafe for breakfast is slow at acknowledging your existence.</li><li>Some of the cleaning staff couldn't make a bed if their life depended on it.</li><li>After you checkout they won't accommodate your trip to the light rail except with the shuttle to the airport (WTH?)*<br /></li></ul>The Good:<br /><ul><li>They are pretty quick at taking us to and from the TriMet Max Light Rail.</li><li>The rooms seem to be clean all the time.</li><li>You get a free newspaper (USA Today) every morning to your door<br /></li><li>They are holding our bags for free*<br /></li></ul>* added the morning of checkout<br /><br />So yea... the internet gave the hotel a 3.9/5.0 and I would give them a 2.9/5.0. It might be kinda harsh but when you have a reservation you should be able to figure it out and get someone to clean the rooms you need. And if you can't do that then don't let someone place a registration for that type of room.<br /><br />So now if James and Rex are unable to keep their late registration that means we are going to most likely have to take our shit with us downtown which is going to be annoying as hell.<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6503519351247406346-3001175554685571998?l=nobleclem.blogspot.com' alt='' /></div>nobleclemhttp://www.blogger.com/profile/10174349118360672446noreply@blogger.com0tag:blogger.com,1999:blog-6503519351247406346.post-44928825529133258192007-07-26T19:51:00.000-07:002007-07-26T22:06:35.909-07:00OSCON - in a nutshellSo today we saw some good sessions. The one about VIM for PHP Programmers was great. There was a ton of information in the slides (which I think I got). So much stuff that he was rolling through the things faster than I could remember them. So I am going to dig through the slides and find the ones I like. He had ways to check the file through the PHP interpreter and another to have code completion and those were just the tip of what he showed.<br /><br />We also went to a Cache session which was more of the guy just talking about his cache system called APC. Overall it was all right .. I am sure his slides could come in handy when we start looking at using it or another opcache.<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://farm2.static.flickr.com/1055/910719635_e651f2b673_m.jpg"><img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer; width: 200px;" src="http://farm2.static.flickr.com/1055/910719635_e651f2b673_m.jpg" alt="" border="0" /></a>Then I went to a source control session and the room was packed. People crammed into about every possible space in this room. The speaker was from New Zealand and was defiantly the class clown in school. I didn't really get out of it what I wanted. My understanding of distributed version control systems is not really any better which is unfortunate. But oh well not every presentation can be perfect.<br /><br />After that I went to see Chris Shiflett again with his Security 2.0 session. This was pretty much a recap of his Essential PHP Security Tutorial session. I was hoping that he was going to go more in depth into XSS and CSRF but alas he didn't stand up to my expectations that he set forth in the tutorial when he mentioned it.<br /><br />Then I completed my day by going to Prototype and Object.prototype JavaScript session. This one was interesting I have a better understanding of the prototype JS attribute and how some of the JS features I have seen works.<br /><br />When I get back next week I want to gather everyones slides and take some time and go through the sessions that I was unable to goto.<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6503519351247406346-4492882552913325819?l=nobleclem.blogspot.com' alt='' /></div>nobleclemhttp://www.blogger.com/profile/10174349118360672446noreply@blogger.com0tag:blogger.com,1999:blog-6503519351247406346.post-60977414390396107272007-07-25T23:50:00.001-07:002007-07-25T23:57:53.754-07:00Extending my TripSo after some working of several options I have figured out a way to stay in Seattle for a few days. Since NWA won't do anything except delaying the flight with the same departure and arrival points I decided to take the flight to Seattle and then just not get on the connecting flight. I then purchased another ticket for a Wednesday morning departure back for $300. Its a little pricey but its still less than the cost to come back out another time and there will be plenty to do while I am in Seattle.<br /><br />Hopefully when I go back to work on the 2nd I won't be greeted with people annoying the crap out of me about stuff they don't or want to understand.<br /><br />So yea... I guess some of the things planned for Seattle are:<br /><ul><li>Roller Derby (I have always wanted to see one of these)</li><li>Block Party ( Capital Hill I think )</li><li>Lawn Movie</li><li>Some weird boat thing where the dog is getting dressed up as Mr. T.</li></ul>I am sure there are more things that will go on but thats all I know thus far.<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6503519351247406346-6097741439039610727?l=nobleclem.blogspot.com' alt='' /></div>nobleclemhttp://www.blogger.com/profile/10174349118360672446noreply@blogger.com0tag:blogger.com,1999:blog-6503519351247406346.post-52184427793215560972007-07-25T23:45:00.000-07:002007-07-26T00:04:04.562-07:00OSCON - DinnerSo tonight James, Sarah and myself went to a restaurant in downtown Portland called "Mama Mia Trattoria". This if you can't tell is an Italian restaurant. I had chicken fettuccine Alfredo and it was pretty good. After that we decided to goto China Town and see the Chinese garden park. After getting there we were presented with a disappointing "Private Party" sign. However we were able to take some pictures of the inside (which I will put on the flickr tomorrow and post them here).<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6503519351247406346-5218442779321556097?l=nobleclem.blogspot.com' alt='' /></div>nobleclemhttp://www.blogger.com/profile/10174349118360672446noreply@blogger.com0tag:blogger.com,1999:blog-6503519351247406346.post-61490803701138716452007-07-25T23:29:00.000-07:002007-07-26T00:05:08.677-07:00OSCON - Day in a nutshellSo today I went to a few sessions on PHP and AJAX. Found some new useful tools and got alot out of the ajax sessions. Learned some good practices to create ajax systems that at least should appear to the user as fast and responsive. Also Yahoo! released a new plugin for firefox called <a href="http://developer.yahoo.com/yslow">YSlow</a>. This tool will make profiling ajax apps much easier. In addition to this we wrapped up the day with the worst speaker ever. First he couldn't operate KeyNote (I can understand having some issues with it but not as much as this guy). Also he read directly from his slides and was not prepared at all. When people asked him questions he was unable to answer them in a clear manor. He may very well be smart in the subject but he does not know how to give a presentation on it.<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://farm2.static.flickr.com/1321/895890765_68ae076d50_m.jpg"><img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer; width: 200px;" src="http://farm2.static.flickr.com/1321/895890765_68ae076d50_m.jpg" alt="" border="0" /></a>So in addition to this we went to the exhibit hall where we obtained some more swag. We got a bunch of stickers and got ourselves entered into some drawings. Oh and most importantly I got several O'Reilly pins for the different OS langauges. There was a sign that said "What kind of animal are you?" with a able of pins. Of course all the perl ones were gone (poor rex). <br /><br />I have more pictures and swag coming ... I am just too lazy to take pictures and upload them tonight. So just keep an eye on my flickr for all the latest and greatest photos.<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6503519351247406346-6149080370113871645?l=nobleclem.blogspot.com' alt='' /></div>nobleclemhttp://www.blogger.com/profile/10174349118360672446noreply@blogger.com0tag:blogger.com,1999:blog-6503519351247406346.post-79025699788990735152007-07-25T23:07:00.000-07:002007-07-25T23:28:48.533-07:00OSCON - Breakfast<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://farm2.static.flickr.com/1255/895890213_044257da45_b.jpg"><img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer; width: 200px;" src="http://farm2.static.flickr.com/1255/895890213_044257da45_b.jpg" alt="" border="0" /></a>So today Rex, Sarah and myself went to the craziest doughnut shop ever. These people will try about any combination you can think of and seem to always have a variety of choices that are out of the norm.<br /><br /><br /><br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://farm2.static.flickr.com/1175/895890243_1abd93cbfd_m.jpg"><img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 200px;" src="http://farm2.static.flickr.com/1175/895890243_1abd93cbfd_m.jpg" alt="" border="0" /></a>Here I ate a Captain Crunch Doughnut. It was packed full of sugar (almost an overloading amount). The cereal was a little stale but it was an interesting combination.<br /><br /><br /><br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://farm2.static.flickr.com/1396/895890523_79bfd3a37d_m.jpg"><img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer; width: 200px;" src="http://farm2.static.flickr.com/1396/895890523_79bfd3a37d_m.jpg" alt="" border="0" /></a>And here is sarah with her voodoo doughnut that is being stabbed with a pretzel. Also rex found a doughnut that was named after him. "Diablo Rex" it was cool looking but you would have to ask him how it tastes.<span style="text-decoration: underline;"><br /></span><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6503519351247406346-7902569978899073515?l=nobleclem.blogspot.com' alt='' /></div>nobleclemhttp://www.blogger.com/profile/10174349118360672446noreply@blogger.com0