tag:blogger.com,1999:blog-34028025251957931482025-08-11T00:24:11.067-07:00My LifeThis is my life - the things that interest me and the things I follow..Steven Klasshttp://www.blogger.com/profile/00681756689019735665noreply@blogger.comBlogger39125tag:blogger.com,1999:blog-3402802525195793148.post-58163185762583883412010-02-27T19:36:00.000-08:002010-02-28T16:32:44.723-08:00Development strategy for google-app-engine        In developing my site for the cloud I found it a bit of a challenge. There is very little documentation in terms of infrastructure strategy and a lot of sites assume you have a clear methodology. I always strive for a clean infrastructure — having developed code for the quite awhile I have come to know that if you have a solid scalable strategy up front it makes things just work easier later on. That is why I was really turned onto google-app-engine. It gives you a clear way of building and testing your code and then pushing it to the web. It is a great place to start but it isn’t the “everything” I’m looking for. <br />        Because some of the limitations/restrictions with using google-app-engine (GAE) you need to understand that if you want to use it (i.e. python package) you need to include it in your application. That is where the benefits of a virtualenv come into play. virtualenv (when combined with pip) let you know exactly what packages you have because throughout the application development process if you need it you ‘pip-it’. Then pip gives you a clean manifest on what you have so you always know. But.. (you knew this was coming) GAE doesn’t like a virtual env. In fact if you try it you almost surely run into problems. For me it was a error along this line...<br /><br /><pre class="brush: python"><br />ImportError: No module named unittest<br /></pre><br /><br />        So what can I do? For me the reasons to use a virtualenv/pip combination is too compelling to simply not use it. <em>I really like knowing what packages I willbe deploying up to the cloud and since I need to package them with my application why not?</em> Furthermore if you are used to running in a virtualenv/pip environment or you have a somewhat stock python environment this is just a good way to keep things straight. Understanding the obvious limitation that you can’t run in a virtualenv we are going to take advantage of everything else this environment has to offer.<br /><br /><span style="text-decoration: underline;"><strong>General Development Strategy</strong></span><br /><br /><ul style="list-style-type: disc"><li>Use Django. While I understand that GAE now support 1.1 I want that control left to me.</li><li>Keep the development tree streamlined for the entire site. Guido recommends (as I understand him in this video ~11:45) to use a single app-engine application per independent application. This doesn’t make much sense to me as the ability to share information between different models is really extending the multi-dimensionality of the site. So my preference is to keep it all under one hood.</li><li>Use revision control (for me it’s perforce - I don’t have anything against the others (hg/git/svn) it’s just what I like)</li><li>Use eclipse/pydev as my development environment</li></ul><span style="text-decoration: underline;"><strong>General Directory Structure</strong></span><br /><br />I am developing for $SITE ( i.e export SITE=“foobar.com”)<br /><br />/dev<br />        /<$SITE><br />                /bin<br />                /lib<br />                /include<br />                /src<br />                        /django<br />                /www<br />                        app.yaml<br />                        /appengine_django<br />                        manage.py<br />                        main.py<br />                        /apps<br />                                /app_1<br />                                /app_2<br />                                /app_3<br />                                /app_n<br />                        /settings<br />                                __init__.py<br />                        urls.py<br />                        django symlink to ../src/django/django<br /><br /><span style="text-decoration: underline;"><strong>Getting started</strong></span><br /><br />Setup your virtualenv<br /><pre><br /> cd dev</pre><br />Build up a baseline virtualenv<br /><pre><br /> virtualenv --python=python2.5 --no-site-packages ${SITE}</pre><br />Install some needed apps.. (<em>make sure you are in your dev directory..</em>)<br /><pre><br /># pip install -E ${SITE} -e svn+http://code.djangoproject.com/svn/django/trunk#egg=Django<br /># pip install -E ${SITE} -e svn+http://code.djangoproject.com/svn/django/tags/releases/1.1.1/#egg=Django<br /> pip install -E ${SITE} -e svn+http://code.djangoproject.com/svn/django/tags/releases/1.1/#egg=Django<br /> pip install -E ${SITE} yolk</pre><br /><br /><em>*Notes: 1.1.1 failed 2 tests and trunk failed more.. 1.1 passes all tests</em><br /><br />Activate your virtualenv<br /><pre><br /> source ${SITE}/bin/activate</pre><br />Create your www tree (this is where we house our app). Use the google-app-engine-django helper stuff. It’s well worth it!!<br /><pre><br /> cd ${SITE}<br /> svn export http://google-app-engine-django.googlecode.com/svn/trunk/ www</pre><br />Link in your django tree<br /><pre><br /> cd www<br /> ln -s ../src/django/django</pre><br />At this point you should be able to deactivate yourself and simply verify everything works.<br /><pre><br /> deactivate<br /> python2.5 manage.py test<br /> #Ran 61 tests in 8.058s<br /> python2.5 manage.py runserver</pre><br />Now open up a web browser to <a href="http://127.0.0.1:8000/">http://127.0.0.1:8000/</a> and you should get the famous “It works!!”. At this point you should also configure the Google App Engine Launcher to point to your site directory and “www” will be your application. <br /><br /><span style="text-decoration: underline;"><strong>Build up a quick index and push it to the web.</strong></span><br /><br />This is not for the faint. I am going to quickly build up a basic django index page. I want to show it works and we con complete the process.<br /><br /><strong>Shuffle around my tree (personal preference)</strong><br /><br />Like I indicated above I like to have my apps all under a single apps tree (keep it clean). I also like to put settings.py under a settings tree - this allows me to mess with the __init__.py<br /><br />So with that hang on..<br /><pre><br /> cd ${SITE}/www<br /> mkdir settings<br /> mv settings.py settings/__init__.py<br /> rm settings.pyc<br /><br /> mkdir apps<br /> python2.5 manage.py startapp core<br /> mv core apps/</pre><br /><strong>Build your simple app<br /></strong><br />Edit your ${SITE}/www/urls.py<br /><pre class="brush: python"><br /> urlpatterns = patterns('',<br /> url(r'^', include('apps.core.urls')), <br /> )</pre><br />Add in your app to the ${SITE}/settings/__init__.py<br /><pre class="brush: python"><br /> INSTALLED_APPS = (<br /> 'appengine_django',<br /> 'apps.core',<br /> )</pre><br />Create your apps/core/views.py<br /><pre class="brush: python"><br /> from django.http import HttpResponse <br /> def index(request):<br /> return HttpResponse('Hello World -- Django rocks!!')</pre><br />Get your apps/core/urls.py ready to accept the index view<br /><pre class="brush: python"><br /> from django.conf.urls.defaults import *<br /> import views<br /> urlpatterns = patterns('',<br /> url(r'^$', views.index),<br /> )</pre><br />Verify it works.. Voila - pretty simple eh??<br /><br /><strong>Next up publish it..<br /></strong><br />References:<br /><br /><span style="text-decoration: underline;"><strong>Guido's screencast - it was awesome..<br /></strong></span>        <a href="http://sites.google.com/site/io/rapid-development-with-python-django-and-google-app-engine">Rapid Development with Python, Django, and Google App Engine (2008 Google I/O Session Videos and Slides)</a>Steven Klasshttp://www.blogger.com/profile/00681756689019735665noreply@blogger.com8tag:blogger.com,1999:blog-3402802525195793148.post-39012104226425190692010-01-04T11:05:00.000-08:002010-01-04T11:28:02.767-08:00Building Python on 2.6.4 Snow Leopard<strong>Goal:<br /></strong>        •        Fully functioning Python with MySQL, Ldap, P4Python, installed<br />        •        Use pip<br /><br /><strong>Limitations:<br /></strong>        •        None so far — P4Python was not x86_64/i386 compatible but that now is fixed..<br /><br /><strong>Notes:<br /></strong>        •        Stock python on Snow Leopard ships as a 32-bit only application (file /System/Library/Frameworks/Python.framework/Versions/2.5/bin/python2.5)<br /><br /><span style="text-decoration: underline;"><strong>Building readline-6.0<br /></strong></span><br />Normally you won’t have to set these variables up but since we want a 32 bit with a 64 bit readline we need to ensure these are set up..<br /><pre class="brush: bash"><br />         export MACOSX_DEPLOYMENT_TARGET=10.6<br />         export CFLAGS=“-arch i386 -arch x86_64”<br />         export LDFLAGS=“-Wall -arch i386 -arch x86_64”<br />         ./configure<br />         make<br />         sudo make install<br /></pre><br /><br /><span style="text-decoration: underline;"><strong>Building Python 2.6.4</strong></span><br /><br />If you use a custom ~/.pydistuti“s move it out of the way! This will build an intel only version of Python.<br /><br /><pre class="brush: bash"><br />         ./configure --enable-framework MACOSX_DEPLOYMENT_TARGET=10.6 --with-universal-archs=intel --enable-universalsdk=/<br />         make<br />         sudo make install<br /></pre><br /><br />After the make you should see errors like this..<br /><br /><pre class="brush: bash"><br />        Failed to find the necessary bits to build these modules:<br />        _bsddb dl gdbm <br />        imageop linuxaudiodev ossaudiodev <br />        spwd sunaudiodev <br />        To find the necessary bits, look in setup.py in detect_modules() for the module’s name.<br /></pre><br /><br /><span style="text-decoration: underline;"><strong>MySQL (Not Python)</strong></span><br /><br />Get the latest MySQL 64-bit (of course). Pull the file from <a href="http://MySQL.com">MySQL.com</a><br />Get the Snow Leopard Preference Panel for 64-bit from <a href="http://www.swoon.net/site/software.html">here</a><br /><br /><span style="text-decoration: underline;"><strong>Getting rolling with pip.<br /></strong></span><br />If y’u use a custom ~/.pydistutils put it back..<br /><br />Get setuptools (0.6c11) from pypi.<br /><pre class="brush: bash"><br />        python2.6 setup.py build<br />        python2.6 setup.py test<br />        python2.6 setup.py install<br /></pre><br /><br />Get pip from pypi<br /><pre class="brush: bash"><br />        python2.6 setup.py build<br />        python2.6 setup.py install<br /></pre><br /><br />Start getting your apps..<br /><pre class="brush: bash"><br />        pip install --install-option=“--prefix=/Users/sklass/perforce/dev/tools/python/Mac” nose<br /></pre><br /><br /><span style="text-decoration: underline;"><strong>Now build up MySQLdb<br /></strong></span><pre class="brush: bash"><br />        python2.6 setup.py build<br />        python2.6 setup.py test<br />        python2.6 setup.py install<br /></pre>Steven Klasshttp://www.blogger.com/profile/00681756689019735665noreply@blogger.com5tag:blogger.com,1999:blog-3402802525195793148.post-4094943590213332042010-01-02T05:07:00.000-08:002010-01-02T05:23:25.661-08:00Setting up MacJournal for Code BlocksSo I wanted to get some good syntax highlighting..<br /><br />        1.        Install <a href="http://alexgorbatchev.com/wiki/SyntaxHighlighter">SyntaxHighlighter</a> on Blog<br />        2.        Configure SyntaxHighlighter in MacJournal Blog by turning off Escape &lt; and &gt under the edit server list!<br />        3.        Create a <a href="http://www.smileonmymac.com/TextExpander/">http://www.smileonmymac.com/TextExpander/</a> snippet (pyp) to wrap plain text in &lt;pre class=“brush: python” &gt;)<br />        4.        Test it out<br /><br /><strong>This is a basic python code block</strong><br /><br /><pre class="brush: python"><br /> urldata = urllib.urlopen(settings.PEOPLE_NOTES_BASE_URL).read()<br /> nsoup = BeautifulSoup(urldata)<br /> total = 0<br /> links = nsoup.fetch(‘a’, {‘href’:re.compile(‘\/hr\/.*OpenDocument’)})<br /> for element in links:<br /> if maxNum and total >= maxNum: break<br /> queue.put({u”name”: u”%s” % element.find(text = True),<br /> u’url’: “https://intranet.mycompany.com%s” % element[‘href’]})<br /> total += 1<br /><br /> for index in range(50):<br /> if maxNum and index >= maxNum: break<br /> thrd = self.ParseUserPage(out_queue, final)<br /> thrd.setDaemon(True)<br /> thrd.start()<br /> #wait on the queue until everything has been processed<br /> queue.join()<br /> out_queue.join()<br /></pre><br /><br /><span style="text-decoration: underline;">And the important thing is grace..</span><br /><br /><em>Continuing this should be fine..</em> <br /><br />Saturday, January 02, 2010 6:13 AM<br />Steven Klasshttp://www.blogger.com/profile/00681756689019735665noreply@blogger.com1tag:blogger.com,1999:blog-3402802525195793148.post-26856804339941942362010-01-01T04:47:00.000-08:002010-01-01T14:41:55.553-08:00Thoughts on pip - whats the big deal?I have been a python user since python <a href="http://www.python.org/download/releases/2.0/">2.0</a>. Since then I’ve stayed fairly current with the python and the newer methodologies (currently running <a href="http://www.python.org/download/releases/2.6.4/">2.6.4</a>). I am always striving to make myself a more proficient developer seeking out more efficient ways of doing things and not afraid to give them a try.<br /> I currently am responsible for a cross platform python environment for our engineering teams (>150 ppl) which has spanned various unix’s, macs and the occasional windows machine. I’ve been doing this for the past several years and have managed python transitions from 2.2 - 2.6 with relative ease. <br /> The methodology we employ to maintain this has been around since I started using python and I would expect will remain so in the future. We extend the default python path <a href="http://docs.python.org/install/index.html#modifying-python-s-search-path">using a pth file methodology</a>. The pth file is coupled to an environment variable which gives developers the ability to shift an environment variable and quickly be testing their code in their respective sandbox. This coupled with <a href="http://www.perforce.com/">Perforce</a> gives us a nice branched virtualenv without using <a href="http://pypi.python.org/pypi/virtualenv">virtualenv</a>. We use this methodology for both external modules ( <a href="http://www.djangoproject.com/">django</a>/<a href="http://www.crummy.com/software/BeautifulSoup/">beautifulSoup</a>/<a href="http://www.lag.net/paramiko/">paramiko</a> etc) and internally developed modules. Currently our single pth file looks like this.<br /><br /><pre class="brush: python">import os, site; tech = os.environ.get("TECHROOT", "/"); tech = tech if os.path.isdir(os.path.join(tech, "tools/python/Mac/lib/python2.6/site-packages")) else "/"; site.addsitedir(os.path.join(tech, "tools/python/Mac/lib/python2.6/site-packages"))<br />import os, site; tech = os.environ.get("TECHROOT", ""); tech = tech if os.path.isdir(os.path.join(tech, "tools/python/modules")) else "/";site.addsitedir(os.path.join(tech, "tools/python/modules"))<br /></pre><br /><br />Admittedly this may be a bit overkill. However limitations on pth files (paths must be on a single line) force the need. FWIW all this file does is get the environment variable TECHROOT if defined or establish a default path. The first line is used for external modules and the second line is for internally developed modules. Module installation is a then breeze when using a ~/.pydistutils.cfg file which looks like this.<br /><br /><pre class="brush: python">[install]<br />install_lib = $TECHROOT/tools/python/Mac/lib/python$py_version_short/site-packages<br />install_scripts = $TECHROOT/tools/python/Mac/bin<br /></pre><br />Again this is all tied to our revision control system (perforce) which allows any developer to easily add external modules or build modules for other to use. By shifting around the environment variable we can thoroughly test our code prior to release. Simple enough.<br /><br /> Over the past couple years I have really come to enjoy <a href="http://pypi.python.org/pypi/setuptools">easy_install</a>. It certainly worked for everything I needed. It has some limitations which I didn’t like but for the most part it worked. Some of the notable limitations I usually do are as follows.<br /><ul style="list-style-type: disc"><li>Dependency Tracking must be thought out and tested ahead of time.</li><li>easy_install should be named easy_install<ver> (easy_install2.6)</li><li>Any bin files should have its header nailed down (/usr/bin/env python2.6) or be named file<ver> (django-admin2.5.py)</li><li>Un-Installing is a manual process - but simple cause it’s a single file and tweak of on file.</li></ul>Barring the above limitations, I like easy_install. I like the packaging of egg archives; it’s a simple 1 file. True this forced me to be very conscience of the platforms and make sure that everyone was on the same page with respect to upgrades but that’s simple planning. Not every package builds with easy_install but then again neither does pip.<br /><br /> So I decided that I would use my shift to Snow Leopard and 2.6.4 as the basepoint for using <a href="http://pypi.python.org/pypi/pip">pip</a>. After reading comments like <a href="http://www.b-list.org/weblog/2008/dec/14/packaging/">this</a> I figured surely I must be missing something. After playing with pip now for a week I can honestly say - Nope I don’t think so. <br /> <br /> To be fair pip is still at release 0.61. It appears pip is really geared towards those which use a virtualenv environment. As detailed above we don’t need virtualenv we effectively have an automated one with perforce, and an environment variable. That being said I found several things I didn’t like with pip and other things which are broken altogether.<br /><ul style="list-style-type: disc"><li>Dependency Tracking still must be thought out and tested ahead of time.</li><li>Un-Installing packages doesn’t always work</li><li>Pip Doesn’t understand the test constructs if provided.</li><li>Pip Doesn’t always respect ~/pydistutils.cfg install_scripts directive. Most of the time I just needed to <span style="color: rgb(128,0,128);">pip install --install-option="--prefix=$TECHROOT/tools/python/Mac”</span></li></ul>So what’s the big deal? Is it me or am I missing something larger. I thought pip would track dependancies allowing you to have say two versions of a module installed simultaneously. But no. It’s a nice and clean installer (I’ll give you that). The freeze is pretty slick if you are distributing your own system without a real SCM system in place. Overall I’m not overly impressed and I feel pip is overrated or easy_install misleadingly accused. Maybe it’s me?Steven Klasshttp://www.blogger.com/profile/00681756689019735665noreply@blogger.com3tag:blogger.com,1999:blog-3402802525195793148.post-26679645323998903622009-12-13T19:29:00.000-08:002009-12-13T19:49:10.175-08:00EclipseSo I am playing with <a href="http://pydev.org">pydev</a> and so far I think it’s pretty cool. Here is a sample with a picture..<br /><br /><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxYZJTe6vsRyRzB9k0EVTcNqXKAok83GMpvhT4UWJ52gwi8ErDUe8c8_wPCQYbx0zfRxS25TqB4D1WP9ENZPhlEyaD5ETYpVV7Kh1QwRuAsEJdpGhgXraViVcfGo9YYyNqpD2iBhyphenhyphenmt4g/" alt="Fullscreen.CJ2mQCrnmlig.jpg" width="426" height="266" /><br /><br /><br />This is the second post. So far it’s pretty amazing. I love the new stuff in 1.5!!<br /><br />And then I edited it some more.. Pictures..Steven Klasshttp://www.blogger.com/profile/00681756689019735665noreply@blogger.com0tag:blogger.com,1999:blog-3402802525195793148.post-8717056458854338672009-12-13T19:17:00.000-08:002010-01-01T14:40:44.472-08:00This is just a sample test from MacJournal.<br /><br />I was sitting here wondering what to do then I thought “Hey why not code”<br /><br />OK here goes<br /><br /><pre class="brush: python">from Tkinter import *<br /><br />root = Tk()<br />w = Label(root, text="Hello, world!")<br />w.pack()<br />root.mainloop()<br /></pre><br /><br />So what about daily templates..Steven Klasshttp://www.blogger.com/profile/00681756689019735665noreply@blogger.com0tag:blogger.com,1999:blog-3402802525195793148.post-55091595593462606062009-01-14T07:08:00.001-08:002009-01-14T07:08:33.229-08:00Surpise! Nortel files for bankruptcy<p>Coming from the not-so-surpised category.. I don't care for companies that use proprietary systems witch antiquated methodologies. Unfortunately at both my current and my former company we use(d) Nortel hardware. It doesn't play well with everything - and frankly sucks. Am I sad this one's going south - NOPE!</p><br /><blockquote cite="http://www.techmeme.com/090114/p18#a090114p18"><br /> <p><span style="font-size:1.3em;"><b><a href="http://business.theglobeandmail.com/servlet/story/RTGAM.20090114.wnortel14/BNStory/Business/home">Nortel to file for bankruptcy protection</a></b></span> — Facing $107-million interest on debts, former telecom giant will likely be broken up and sold to foreign rivals — Former technology titan Nortel Networks Corp. is expected to file for bankruptcy protection as early as today, sources say …</p>[From <a href="http://www.techmeme.com/090114/p18#a090114p18"><cite>Nortel to file for bankruptcy protection (Globe and Mail)</cite></a>]<br /></blockquote><br /><br />Steven Klasshttp://www.blogger.com/profile/00681756689019735665noreply@blogger.com0tag:blogger.com,1999:blog-3402802525195793148.post-71235927444328050012008-12-30T11:05:00.001-08:002008-12-30T11:14:27.756-08:00Aperture Workflow for Scanned Pics<p style="font: 14px Futura;">This will go over my workflow for Scanned Images.</p><p style="font: 14px Futura;"><em><span style=" font-style: normal;font-family:Helvetica;font-size:12px;"><img src="http://farm4.static.flickr.com/3132/3151508204_8617cb2c79.jpg" width="480" height="313" alt="Valletta Malta - 1995" /></span></em></p><p style="font: 14px Futura;"><em>This is my aperture workflow for scanned pics.</em></p><p style="font: 14px Futura;"><span style="letter-spacing: 0.0px"><strong><span style="font-weight: normal;"><span>First things first - we need to get the images scanned in. Fortunately the folks over at</span></span></strong> <strong><span style="font-weight: normal;"><span><span class="Apple-style-span" style="color: rgb(0, 0, 0);"><a href="http://scancafe.com/">Scancafe.com</a></span></span></span></strong> <strong><span style="font-weight: normal;"><span>figured this out pretty easily. I simply packaged up my photos and negatives and shipped them off. Now a couple words of wisdom on this - as I have several thousand that I have now started working through. First - Organization is the key. Using baggies bag and tag the relevant “projects” - Make sure you Identify both the negatives and the pics. In general negatives definitely come out better. I opted for both - often times the negatives come out better but sometimes the pic is all you have. Once I have them in digital form then I do the following:</span></span></strong></span></p><p style="font: 14px Futura;"><span style="letter-spacing: 0.0px"><strong><span style="font-weight: normal;"><span>1.) Get the negatives and pictures back in sync. This is a huge time consuming process but pays off because then the timeline can be preserved. I named the pic xyz_.jpg and the negative xyz_s.jpg. The tool a</span></span></strong> <strong><span style="font-weight: normal;"><span><span class="Apple-style-span" style="color: rgb(0, 0, 0);"><a href="http://www.publicspace.net/ABetterFinderRename/">A Better Finder Rename</a></span></span></span></strong> <strong><span style="font-weight: normal;"><span>comes in real handy here.</span></span></strong></span></p><p style="font: 14px Futura;"><span style="letter-spacing: 0.0px"><strong><span style="font-weight: normal;"><span>2.) Figure out when / where the pic was taken. This is another very time consuming piece.</span></span></strong></span></p><p style="font: 14px Futura;"><span style="letter-spacing: 0.0px"><strong><span style="font-weight: normal;"><span>3.) Using <a href="http://www.publicspace.net/ABetterFinderAttributes/index.html">A Better Finder Attributes </a>- “Change the date the original photo was taken” to the correct date.</span></span></strong></span></p><p style="font: 14px Futura;"><span style="letter-spacing: 0.0px"><strong><span style="font-weight: normal;"><span>4.) Import into</span></span></strong> <strong><span style="font-weight: normal;"><span><span class="Apple-style-span" style="color: rgb(0, 0, 0);"><a href="http://www.apple.com/aperture/">Aperture</a></span></span></span></strong> <strong><span style="font-weight: normal;"><span>into a new project.</span></span></strong></span></p><p style="font: 14px Futura;"><span style="letter-spacing: 0.0px"><strong><span style="font-weight: normal;"><span>5.) If you are bringing both the negatives and the photos in use stacks to stack them. Bring the negative to the first one in line..</span></span></strong></span></p><p style="font: 14px Futura;"><span style="letter-spacing: 0.0px"><strong><span style="font-weight: normal;"><span>6.) Grade them. I use <a href="http://speirs.org/2008/01/06/my-photo-editing-workflow/">this</a> as my reference thanks <a href="http://markjaquith.com/">Mark Jaquith</a></span></span></strong></span></p><blockquote> <p style="margin-top: 0px; margin-right: 0px; margin-bottom: 18px; margin-left: 0px; line-height: 18px; font: 13px 'Lucida Grande';"><span style="letter-spacing: 0.0px"><strong><span style="font-weight: normal;"><span>-1 Unusable<br />★ Keep<br />★★ Show<br />★★★ Share<br />★★★★ Boast<br />★★★★★ Flaunt</span></span></strong></span></p></blockquote><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 18px; margin-left: 0px; line-height: 18px; font: 14px Futura;"><span style="letter-spacing: 0.0px"><strong><span style="font-weight: normal;"><span>7.) Keyword them. Make sure you identify the scans (35mm/35mm negative)</span></span></strong></span></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 18px; margin-left: 0px; line-height: 18px; font: 14px Futura;"><span style="letter-spacing: 0.0px"><strong><span style="font-weight: normal;"><span>8.) Geotag them using</span></span></strong> <strong><span style="font-weight: normal;"><span><span class="Apple-style-span" style="color: rgb(0, 0, 0);"><a href="http://www.ubermind.com/products/maperture.php">mapture</a><a href="http://www.ubermind.com/products/maperture.php">.</a></span></span></span></strong></span></p><p style="font: 14px Futura;"><span style="letter-spacing: 0.0px"><strong><span style="font-weight: normal;"><span>9.) Push them to picassa using</span></span></strong> <strong><span style="font-weight: normal;"><span><span class="Apple-style-span" style="color: rgb(0, 0, 0);"><a href="http://www.ubermind.com/products/aperturetopicasawebalbums.php">Aperture to Picassa</a></span></span></span></strong> <strong><span style="font-weight: normal;"><span>plugin.</span></span></strong></span></p><p style="font: 14px Futura; min-height: 19px;">10.) Push them to <a href="http://www.smugmug.com/">smugmug</a> for archiving using <a href="http://davidholmes.org/aperture-to-smugmug.html">ApertureToSmugMug</a>.</p><p style="font: 14px Futura; min-height: 19px;">That's it!! Simple eh...</p>Steven Klasshttp://www.blogger.com/profile/00681756689019735665noreply@blogger.com1tag:blogger.com,1999:blog-3402802525195793148.post-49954423051707770732008-10-02T07:33:00.000-07:002008-10-02T07:34:08.104-07:00Python 2.6 final released<p>Whoot!</p><br /><blockquote cite="http://www.python.org/news/index.html#Wed1Oct20082112-0400"><br /> <!--utf-8--><!--0.4.1--><br /><br /> <p><a class="reference" href="http://www.python.org/download/releases/2.6/">Python 2.6 final</a> is now available.</p><br /><br /></blockquote><br /><br />Steven Klasshttp://www.blogger.com/profile/00681756689019735665noreply@blogger.com0tag:blogger.com,1999:blog-3402802525195793148.post-58401219297829897772008-08-15T16:10:00.001-07:002008-08-15T16:10:45.902-07:0012 Unit Testing Tips for Software Engineers<blockquote cite="http://feedproxy.google.com/~r/readwriteweb/~3/iAZMDf28wVU/12_unit_testing_tips_for_software_engineers.php"><br /> <p><a href="http://www.amazon.com/Unit-Testing-Java-Engineering-Programming/dp/1558608680?tag=httpwwwreadwr-20"><img src="http://www.readwriteweb.com/images/unit_testing_tips_p1_0809.JPG" /></a> <a href="http://en.wikipedia.org/wiki/Unit_testing">Unit Testing</a> is one of the pillars of <a href="http://en.wikipedia.org/wiki/Agile_software_development">Agile Software Development</a>. First introduced by <a href="http://en.wikipedia.org/wiki/Kent_Beck">Kent Beck</a>, unit testing has found its way into the hearts and systems of many organizations. Unit tests help engineers reduce the number of bugs, hours spent on debugging, and contribute to healthier, more stable software.</p><br /><br /> <p>In this post we look at a dozen unit testing tips that software engineers can apply, regardless of their programming language or environment.</p><br /><br /> <h2>1. Unit Test to Manage Your Risk</h2><br /><br /> <p><font style="float: right; margin-left: 10px;"><iframe src="http://digg.com/tools/diggthis.php?u=http%3A//digg.com/software/12_Unit_Testing_Tips_for_Software_Engineers&k=%23ffffff&s=normal" height="80" width="52" frameborder="0" scrolling="no"></iframe></font><img src="http://www.readwriteweb.com/images/unit_testing_tips_p2_0809.JPG" align="left" />A newbie might ask <em>Why should I write tests?</em> Indeed, aren't tests boring stuff that software engineers want to <em>outsource</em> to those QA guys? That's a mentality that no longer has a place in modern software engineering. The goal of software teams is to produce software of the highest quality. Consumers and business users were rightly intolerant of buggy software of the 80s and 90s. But with the abundance of libraries, web services and integrated development environments that support refactoring and unit testing, there's now no excuse for software with bugs.</p><br /><br /> <p>The idea behind unit testing is to create a set of tests for each software component. Unit tests facilitate <strong>continuous software testing</strong>; unlike manual tests, it's cheap to perform them repeatedly.</p><br /><br /> <p>As your system expands, so does the body of unit tests. Each test is an insurance that the system works. Having a bug in the code means carrying a risk. Utilising a set of unit tests, engineers can dramatically reduce number of bugs and the risk with untested code.</p><br /><br /> <h2>2. Write a Test Case Per Major Component</h2><br /><br /> <p><img src="http://www.readwriteweb.com/images/unit_testing_tips_p3_0809.jpg" align="right" />When you start unit testing, always ask <em>What Tests Should I Write</em>?</p><br /><br /> <p>The initial impulse is to write a bunch of functional tests; i.e., tests that probe different functions of the system. This is not correct. The right thing is to create a test case (a set of tests) for each major component.</p><br /><br /> <p>The focus of the test is one component at a time. Within each component, look for an interface - a set of publicly exposed behaviour that component offers. You then should write at least one test per public method.</p><br /><br /> <h2>3. Create Abstract Test Case and Test Utilities</h2><br /><br /> <p><img src="http://www.readwriteweb.com/images/unit_testing_tips_p4_0809.JPG" align="left" />As with any code, there will be common things all your tests need to do. Start with finding a unit testing for your language. For example, in Java, engineers use <a href="http://www.junit.org/">JUnit</a> - a simple yet powerful framework for writing tests in Java. The framework comes with TestCase class, the base class for all tests. Add convenient methods and utilities applicable to your environment. This way, all your tests cases can share this common infrastructure.</p><br /><br /> <h2>4. Write Smart Tests</h2><br /><br /> <p><img src="http://www.readwriteweb.com/images/unit_testing_tips_p5_0809.JPG" align="right" />Testing is time-consuming, so ensure your tests are effective. Good tests probe the core behaviour of each component, but do it with the least code possible. For example, there is very little reason in writing tests for Java Bean setter and getter methods, for these will be tested anyway.</p><br /><br /> <p>Instead, write a test that focuses on the behaviour of the system. You don't need to be comprehensive; create the tests that come to mind now, then be ready to come back to add more.</p><br /><br /> <h2>5. Set up Clean Environment for Each Test</h2><br /><br /> <p><img src="http://www.readwriteweb.com/images/unit_testing_tips_p6_0809.JPG" align="left" />Software engineers are always concerned with efficiency, so when they hear that each test needs to be set up separately they worry about performance. Yet setting up each test correctly and from scratch is important. The last thing you want is for the test to fail because it used some old piece of data from another test. Ensure each test is set up properly and don't worry about efficiency.</p><br /><br /> <p>In cases when you have a common environment for all tests - which doesn't change as tests run - you can add a static set up block to your base test class.</p><br /><br /> <h2>6. Use Mock Objects To Test Effectively</h2><br /><br /> <p><img src="http://www.readwriteweb.com/images/unit_testing_tips_p7_0809.jpg" align="right" />Setting up tests is not that simple; and at first glance sometimes seems impossible. For example, if using Amazon Web Services in your code, how can you simulate it in the test without impacting the real system?</p><br /><br /> <p>There are a couple of ways. You can create fake data and use that in tests. In the system that has users, a special set of accounts can be utilised exclusively for testing.</p><br /><br /> <p>Running tests against a production system is risky: what if something goes wrong and you delete actual user data? An alternative is fake data, called stubs or mock objects.</p><br /><br /> <p>A mock object implements a particular interface, but returns predetermined results. For example, you can create a mock object for Amazon S3 which always reads files from your local disk. Mock objects are helpful when testing complex systems with lots of components. In Java, several frameworks help create mock objects, most notably <a href="http://www.jmock.org/">JMock</a>.</p><br /><br /> <h2>7. Refactor Tests When You Refactor the Code</h2><br /><br /> <p><img src="http://www.readwriteweb.com/images/unit_testing_tips_p8_0809.png" align="left" />Testing only pays if you really invest in it. Not only do you need to write tests, you also need to ensure they're up to date. When adding a new method to a component, you need to add one or more corresponding tests. Just like you should clean out unused code, also remove tests that are no longer applicable.</p><br /><br /> <p>Unit tests are particularly helpful when doing large refactorings. <a href="http://www.refactoring.com/">Refactoring</a> focuses on continuous sculpting of the code to help it stay correct. After you move code around and fix the tests, rerunning all the related tests ensures you didn't break anything while changing the system.</p><br /><br /> <h2>8. Write Tests Before Fixing a Bug</h2><br /><br /> <p><img src="http://www.readwriteweb.com/images/unit_testing_tips_p9_0809.png" align="right" />Unit tests are effective weapons in the fight against bugs. When you uncover a problem in your code, write a test that exposes this problem before fixing the code. This way, if the problem reappears, it will be caught with the test.</p><br /><br /> <p>It is important to do this since you can't always write comprehensive tests right away. When you add a test for a bug, you're filling in the gap in your original tests in a disciplined way.</p><br /><br /> <h2>9. Use Unit Tests to Ensure Performance</h2><br /><br /> <p><img src="http://www.readwriteweb.com/images/unit_testing_tips_p10_0809.png" align="left" />In addition to guarding correctness of the code, unit tests can help ensure the performance of your code doesn't degrade over time. In many systems slowness creeps in as the system grows.</p><br /><br /> <p>To write performance tests, you need to implement start and stop functions in your base test class. When appropriate you can use a time-particular method or code and assert that the elapsed time is within the limits of the desired performance.</p><br /><br /> <h2>10. Create Tests for Concurrent Code</h2><br /><br /> <p><img src="http://www.readwriteweb.com/images/unit_testing_tips_p11_0809.jpg" align="right" />Concurrent code is notoriously tricky and typically a source of many bugs. This is why it's important to unit test concurrent code. The way to do this is by using a system of sleeps and locks. You can write in sleep calls in your tests if you need to wait for a particular system state. While this is not a 100% correct solution, in many cases it's sufficient. To simulate concurrency in a more sophisticated scenario, you need to pass locks around to the objects you're testing. In doing so, you will be able to simulate concurrent system, but sequentially.</p><br /><br /> <h2>11. Run Tests Continuously</h2><br /><br /> <p><img src="http://www.readwriteweb.com/images/unit_testing_tips_p12_0809.png" align="left" /> The whole point of tests is to run them a lot. Particularly in larger teams where dozens of developers are working on a common code base, continuous unit testing is important. You can set up tests to run every few hours or you can run them on each check-in of the code or just once a day (typically overnight). Decide which method is the most appropriate for your project and make the tests run automatically and continuously.</p><br /><br /> <h2>12. Have Fun Testing!</h2><br /><br /> <p><img src="http://www.readwriteweb.com/images/unit_testing_tips_p13_0809.png" align="right" />Probably the most important tip is to have fun. When I first encountered unit testing, I was sceptical and thought it was just extra work. But I gave it a chance, because smart people who I trusted told me that it's very useful.</p><br /><br /> <p>Unit testing puts your brain into a state which is very different from coding state. It is challenging to think about what is a simple and correct set of tests for this given component.</p><br /><br /> <p>Once you start writing tests, you'd wonder how you ever got by without them. To make tests even more fun, you can incorporate <a href="http://en.wikipedia.org/wiki/Pair_programming">pair programming</a>. Whether you get together with fellow engineers to write tests or write tests for each other's code, fun is guaranteed. At the end of the day, you will be comfortable knowing your system really works because your tests pass.</p><br /><br /> <p><i>And now please join the conversation! Share unit testing lessons from your projects with all of us.</i></p><br /><br /> <img src="http://feedproxy.google.com/~r/readwriteweb/~4/iAZMDf28wVU" height="1" width="1" /> [From <a href="http://feedproxy.google.com/~r/readwriteweb/~3/iAZMDf28wVU/12_unit_testing_tips_for_software_engineers.php"><cite>12 Unit Testing Tips for Software Engineers</cite></a>]<br /></blockquote><br /><br />Steven Klasshttp://www.blogger.com/profile/00681756689019735665noreply@blogger.com0tag:blogger.com,1999:blog-3402802525195793148.post-59542911888736118332008-07-21T08:03:00.001-07:002008-07-21T14:12:59.482-07:00Analog Rails - Thoughts from a Cad Manager<p style="font: 12.0px Helvetica"><img src="http://analograils.com/images/logo.png" alt="Analog Rails" /></p><br /><p>Last week myself and a senior member of my staff were invited to a hands-on look of <a href="http://www.analograils.com/">Analog Rails</a>. Analog Rails is company whose focus is to "create the best analog and RF environment for the IC circuit designer". The system is built upon <a href="http://www.si2.org/?page=621">Open Access</a> and gives an analog design engineer the complete ability to do both schematic capture, simulation and layout. It nicely automates the more tedious aspects of analog layout while giving the design engineer the complete flexibilty. For example the process of both matching (<a href="http://www.ece.utah.edu/~harrison/ece5720/Common_Centroid.pdf">common-centroid</a> anyone) and wire-widening (based on via size) is done in very automated push button method.</p><object width="425" height="344"><br /><br /><br /><br /><br /><br /><br /> <param name="movie" value="http://www.youtube.com/v/o1iN_wWOSB0&hl=en&fs=1"><br /><br /><br /><br /><br /><br /><br /> <param name="allowFullScreen" value="true"><br /><br /><br /><br /><br /><br /><br /> <embed src="http://www.youtube.com/v/o1iN_wWOSB0&hl=en&fs=1" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344"></embed><br /><br /><br /><br /></object><br /><br /><br /><br /><p>In the last several months Analog Rails have really stepped up the development by starting to integrate with outside tools. For example they now integrated in <a href="http://www.veritools.com/">Veritools</a> into the design framework. This is a big step because it implies that they designed a flexible subsystem which is critical - there is no single solution in IC Design. I would like to see <a href="http://www.cadence.com/products/cic/pages/default.aspx">spectre</a> ( -<a href="http://edageek.com/2008/04/29/spectre-turbo-spice/">turbo</a> of course ) and <a href="http://www.mentor.com/products/ic_nanometer_design/bl_phy_design/calibre_drc/index.cfm">calibre</a> integrated but it's not there yet.<br /></p><p>Throughout the discussion / demo I began to understand the impact of this. Of course it's built on OA and will nicely integrate with Cadence and <a href="http://www.springsoft.com/Message/news_more.aspx?id=250DB9A3C686EC7A">many</a> <a href="http://www.magma-da.com/products-solutions/customdesign/index.aspx">many</a> others, but something more interesting is afoot. This tool represents a clear methodology shift.. ..<em>The demise of the block level analog layout engineer</em>. Why? First as I said earlier, the layout automation piece is very intuitive and friendly. Plus the smaller technology geometries that analog design is pushing into (<90nm) is forcing simulation earlier (using Cadence) to account for device parasitics (<a href="http://www.ieee-cicc.org/06-8-6.pdf">LOD</a>). So the analog engineer is already doing a fair amount of the placement and letting the layout guy clean up the work. But this tool is correct by construction and so the layout is clean from the get-go. So involving a layout person to "clean it up" isn't necessary. There will still need to be layout for macro / chip level integration but block level layout could (will) be going the way of hand-LVS.</p><p>There are areas which need to be better defined. From a cad managers perspective - I look at flexibility and integration. The flexibility to align the tool to corporate goals and strategy, and the hooks necessary to integrate it into my existing flow, and (perhaps) migration to this tool.</p><p>The flexibility of the tool is fundamentally there but needs better definition. For example: If the company has it's own fab, and the strategy is to use its own fab, how will this tool which claims to not need a PDK get the design constraints from my foundry into their system? The converse is also true - I am a fabless company with a strategy to tape-out to the lowest cost foundry - how do I ensure that the constraints from <a href="http://www.dongbuhitek.co.kr/semi/index.asp">Dongbu</a> will work with my design. The point is while Analog Rails clearly has the framework so support this, they need to have a clear methodology for how to implement design constraints which the customer may use or opt to use the defaults from Analog Rails.</p><p><em>[UPDATE]: I did receive a bunch of documentation on the methodology for creating these techfiles. It is pretty straight forward and not as difficult as I had imagined.</em></p><p>From the integration side it was better defined but still lacks the clarity for migration. Because the tool can work on OA it should "just work". But how does this system work when an existing layout done in Virtuoso or Laker which doesn't or isn't correct by construction adapt itself? We spoke of the "dummy mode" but I think a bit more clarity on this would be helpful. I not sure this is show stopper - because it would depend on the use model. If you define your flow/methodology such that this is the sole block level tool for a project it could work. If you want to do a mix - well that would have to be tested.</p><p>Overall I was very impressed. The tool has certainly matured over the last year. It's flexible sub-system and the ability to tie into other tools gives me reason to want to look further at the tool. It will be a real test to see this tool integrate with the work horses of the IC Design tools, and how easy it is to define a methodology around the tool. Again this tool has some really cool technology under the hood and should make for a fun evaluation. My concern (as any cad manager has) is that our designers are going to eat this up and really want it. That's a good problem to have.</p>Steven Klasshttp://www.blogger.com/profile/00681756689019735665noreply@blogger.com10tag:blogger.com,1999:blog-3402802525195793148.post-54355210614237037332008-07-19T05:43:00.001-07:002008-07-19T05:43:21.450-07:00iPhone Platform: What We Can Learn From Tap Tap Revenge<p>In reading this - it makes you consider what happens when having a marketing group becomes less important.... Get your fanatical customers to market your product for you and reward them by giving it to them for free.</p><br /><blockquote cite="http://feeds.feedburner.com/~r/AVc/~3/339739403/iphone-platform.html"><br /> <p><a href="http://avc.blogs.com/.shared/image.html?/photos/uncategorized/2008/07/19/top_free_apps.jpg" onclick="window.open(this.href, '_blank', 'width=232,height=416,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img width="200" height="358" border="0" alt="Top_free_apps" title="Top_free_apps" src="http://avc.blogs.com/a_vc/images/2008/07/19/top_free_apps.jpg" style="margin: 0px 0px 5px 5px; float: right;" /></a>...</p><br /><br /> <p>But I think there is something even more important to notice about Tap Tap's success. When <a href="http://sethgodin.typepad.com/">Seth Godin</a> released his first marketing book, <a href="http://www.amazon.com/Permission-Marketing-Turning-Strangers-Customers/dp/0684856360/ref=pd_bbs_sr_1?ie=UTF8&s=books&qid=1216457591&sr=8-1">Permission Marketing</a>, he gave away the first four chapters for free via pdf to over 150,000 people. It generated a lot of buzz about the book and was a big factor in the book's success when it eventually became available in hardback. So when he followed up with <a href="http://www.amazon.com/UNLEASHING-IDEAVIRUS-Seth-Godin/dp/B0014JOL1U/ref=sr_1_11?ie=UTF8&s=books&qid=1216457715&sr=1-11">Unleashing The Ideavirus</a>, he went one step further. He gave away <a href="http://www.ideavirus.com/">the entire book for free</a> in pdf (it still is available free). Seth says that over 2mm copies were given away. And yet when the book was published in hardback it went to #5 on Amazon. It was a demonstration of the very tactics Seth was evangelizing in the Ideavirus book. Seth asserted that by giving away your product early to your greatest fans who will do more work and put up with a less than optimal experience, you prime the pump for the mass market. That's because your early fans will spread the ideavirus and market the book for you.</p><br /><br /> <p>Tapulous did the same thing with Tap Tap Revenge. The game was first made available for the iPhone at the start of this year. But the only people who could play it were people with phones that were jailbroken. So it's audience was small, but fanatical. These were the early iPhone app adopters, the ones who would work harder and put up with a less than optimal experience. But now that everyone can play Tap Tap, the early adopters are telling everyone else how great it is.</p><br /><br /> <p>[From <a href="http://feeds.feedburner.com/~r/AVc/~3/339739403/iphone-platform.html"><cite>iPhone Platform: What We Can Learn From Tap Tap Revenge</cite></a>]<br /></p><br /></blockquote><br /><br />Steven Klasshttp://www.blogger.com/profile/00681756689019735665noreply@blogger.com0tag:blogger.com,1999:blog-3402802525195793148.post-68045035365056710722008-07-01T07:21:00.001-07:002008-07-01T07:24:30.365-07:00Verizon CEO grasping at straws .. we will not become just a network pipe!<div align="center"><a href="http://www.ft.com/cms/s/0/607f36b0-43df-11dd-842e-0000779fd2ac.html?nclick_check=1"><img vspace="4" hspace="4" border="1" alt="" src="http://www.blogsmithmedia.com/www.engadget.com/media/2008/07/7-1-08-ivan-seidenberg.jpg" width="325" height="242" /></a><br /></div><p>Apparently <a href="http://www.engadget.com/2005/04/17/verizon-ceo-thinks-its-unreasonable-to-expect-your-cellphone/">Ivan Seidenberg</a> just doesn't get it. My suggestion: Focus on one thing and do it really well. Apple develops very end-point good hardware/software. Verizon (and all mobile operators) should focus on a stable "all access" network. Having a company which primary focus ought to be "connectivity - anywhere, anytime" (Hey I like that..) focus part on their attention on the actual end-point device is silly.</p><p>What's even more bothersome is the comments he makes regarding Steve Jobs.</p><blockquote><p>As handsets become banking tools and games controllers, he argues, mobile operators can up-end other companies' business models. "It's very cool. And Steve Jobs eventually will get old . . . I like our chances."</p></blockquote><p>Yeah good luck with that..</p><p>Read the original article <a href="http://www.ft.com/cms/s/0/607f36b0-43df-11dd-842e-0000779fd2ac.html?nclick_check=1">here</a></p>Steven Klasshttp://www.blogger.com/profile/00681756689019735665noreply@blogger.com0tag:blogger.com,1999:blog-3402802525195793148.post-21924845653632084572008-06-30T07:48:00.001-07:002008-07-01T07:47:43.635-07:00Progressive MyRate drive-monitoring device goes national - Confession<p>Confession.</p><p>I speed.<br /></p><p><span class="Apple-tab-span" style="white-space:pre"> </span>There I've said it. I don't know why I speed, I understand the illogic of speeding in that I'm not saving much time. I understand the consequences of speeding that being tickets and potential road rage from someone who doesn't share my view. Further I get I'm wasting gas. I understand all of that. But I still speed. I can't help it - it's wired into me. But if I'm now going to be monitored... Um no thanks.</p><p>All I can say is - Here's $10 for the guy that cracks this.. Good luck and godSPEED ;)</p><blockquote cite="http://feeds.engadget.com/~r/weblogsinc/engadget/~3/322002945/"><div align="center"> <a href="http://newsroom.progressive.com/2008/June/myrate-launch.aspx"><img vspace="4" hspace="4" border="1" alt="" src="http://www.blogsmithmedia.com/www.engadget.com/media/2008/06/6-27-08-myrate.jpg" /></a><br /><br /> </div><blockquote cite="http://feeds.engadget.com/~r/weblogsinc/engadget/~3/322002945/">Progressive insurance has been testing out the MyRate driving monitoring system for a few years now (it used to be called TripSense), but it's finally taking the system national, bringing pay-as-you-drive insurance into the mainstream. The little blue box plugs into your car's ODB II diagnostic port (all cars made after 1996 have one), and studiously records your driving habits, wirelessly sending the data back to Progressive HQ (it's not clear exactly how). Every six months, Progressive will crunch the numbers and issue a new rate for you based on how you drive -- savings of up to 40 percent are possible. That's pretty tempting, depending on your current rates and driving habits, but we're not so sure we're willing to share that much data for an unspecified discount -- especially since we're confident the MyRate box will get cracked almost immediately.<br /></blockquote> <br /> <a href="http://newsroom.progressive.com/2008/June/myrate-launch.aspx">Read</a> - MyRate press release<br /><br /> <a href="http://auto.progressive.com/progressive-car-insurance/myrate-device.aspx">Read</a> - MyRate video<br /><br /> <a href="http://auto.progressive.com/progressive-car-insurance/how-myrate-program-works.aspx">Read</a> - How MyRate works</blockquote>Steven Klasshttp://www.blogger.com/profile/00681756689019735665noreply@blogger.com0tag:blogger.com,1999:blog-3402802525195793148.post-34374272270585658652008-06-30T07:32:00.001-07:002008-07-01T07:48:18.592-07:00Thinking Like a Cocoa Programmer<p>Reading this should be the mantra of ANY software engineer.</p><blockquote cite="http://theocacao.com/document.page/580"><p><a href="http://theocacao.com/document.page/580">Theocacao</a>: “First and most importantly, the Cocoa programmer’s focus is always the end result for the user, not the academic sophistication of the code.”</p><p>[From <a href="http://theocacao.com/document.page/580"><cite>Thinking Like a Cocoa Programmer</cite></a>]</p></blockquote>Steven Klasshttp://www.blogger.com/profile/00681756689019735665noreply@blogger.com0tag:blogger.com,1999:blog-3402802525195793148.post-13271320095068386282008-06-27T06:32:00.001-07:002008-07-01T07:49:31.706-07:00If you can't beat em - join em!! Dell wants to be like Apple<blockquote cite="http://feeds.feedburner.com/~r/cultofmac/bFow/~3/320767739/2170"><br /> You just can't make this stuff up.<br /><p><a href="http://cultofmac.com/wp-content/uploads/dell_dock_sm.jpg" rel="lightbox[pics-1214508593]" title="dell_dock_sm.jpg"><img src="http://cultofmac.com/wp-content/uploads/dell_dock_sm.jpg" width="590" height="118" alt="dell_dock_sm.jpg" /></a></p><p>Dell is <a href="http://www.pcworld.com/businesscenter/article/147581/dell_launches_studio_laptop_line_for_consumers.html">launching</a> a new mid-range line of portable computers called Studio Laptops with a Mac-like “Dock” designed to give Vista users an illusion of the OS X experience.</p><p>Studio Laptops’ desktop GUI takes Windows’ traditional application icon layout and organizes it into a “Dock” similar to the one familiar to Mac users, though questions remain as to whether users will be able to customize the Dock layout and place it on either side or at the bottom of the desktop.</p><p>In an additional concession to the proposition that Apple may be winning the OS war, Dell will offer cases in seven colors, a significant change to the company’s predominantly industrial look.</p>[From <a href="http://feeds.feedburner.com/~r/cultofmac/bFow/~3/320767739/2170"><cite>Dell Brings Dock, Color to New Laptops</cite></a>]</blockquote>Steven Klasshttp://www.blogger.com/profile/00681756689019735665noreply@blogger.com0tag:blogger.com,1999:blog-3402802525195793148.post-18696569546355214772008-06-24T09:01:00.001-07:002008-06-24T09:01:40.897-07:00Man's Wii Fit experiment comes to an end, 15 pounds shed<p style="text-align: left;">Go Wii!!</p><br /><p style="text-align: center;"><br /></p><br /><p style="text-align: center;"><span style="color: #333333; font-family: 'Lucida Grande'; line-height: 18px;"><a href="http://wiinintendo.net/2008/06/23/the-official-wii-fit-experment-results/" style="text-decoration: none; font-weight: bold; color: #336699;"><img hspace="4" vspace="4" border="1" alt="" src="http://www.blogsmithmedia.com/www.engadget.com/media/2008/06/wii-fit-06-23-08.jpg" style="margin-left: 5px; margin-right: 5px; margin-top: 5px; margin-bottom: 5px;" /></a></span></p><br /><blockquote cite="http://feeds.engadget.com/~r/weblogsinc/engadget/~3/318227530/"><br /> As you may recall, Mickey DeLorenzo rose to some degree of internet stardom a little over a year ago by dropping a whopping nine pounds using Wii Sports as his sole exercise routine and, after packing on a few pounds, he decided to give it another go using Nintendo's latest weight-shedding wonder: Wii Fit. Unlike a certain other would-be success story, DeLorenzo actually managed to complete his experiment, and the results are fairly impressive. After 45 days, he managed to shed a full 15 pounds, or about 2.56 pounds a week, and he dropped his body fat % from 20.8% to 18.4%. Of course, DeLorenzo admits that doing anything involving movment an extra 60 minutes a day will result in some weight loss, but he seems pretty sold on the benefits of Wii Fit, saying that it made it "especially easy" to work the training into his daily life. [From <a href="http://feeds.engadget.com/~r/weblogsinc/engadget/~3/318227530/"><cite>Man's Wii Fit experiment comes to an end, 15 pounds shed</cite></a>]<br /></blockquote><br /><br />Steven Klasshttp://www.blogger.com/profile/00681756689019735665noreply@blogger.com0tag:blogger.com,1999:blog-3402802525195793148.post-33830834772545610742008-06-24T08:58:00.001-07:002008-06-24T08:58:51.818-07:00Making AppleCare Worthwhile: MacBook Pro Battery Replacement<p>This is a really interesting article on battery replacement..</p><br /><blockquote cite="http://db.tidbits.com/article/9663?rss"><br /> Every time I buy a new Mac laptop, I question whether I should purchase AppleCare to extend the warranty from one year to three years. My MacBook Pro cost $2,800 (with tax and shipping) in November 2006, so laying out another $300 for AppleCare - well, frankly, it hurt. (For more on the purchase, and how it stacked up to previous PowerBooks I've owned, see "More Bang, Less Bucks for my MacBook Pro" 2006-11-20.) However, I've found that almost every laptop I've owned has needed some sort of after-warranty work done, so I've ordered AppleCare for every one. [From <a href="http://db.tidbits.com/article/9663?rss"><cite>Making AppleCare Worthwhile: MacBook Pro Battery Replacement</cite></a>]<br /></blockquote><br /><br />Steven Klasshttp://www.blogger.com/profile/00681756689019735665noreply@blogger.com1tag:blogger.com,1999:blog-3402802525195793148.post-73758450150717141962008-06-23T08:45:00.001-07:002008-06-23T08:45:51.390-07:00Semi IP market grew 8% in 2007<p>Not exactly a stellar year..</p><br /><blockquote cite="http://www.pheedo.com/click.phdo?i=3ff3497ddc6ecf46d82871093854752a"><br /> The growth of the worldwide market for semiconductor intellectual property slipped back to a single-digit percentage in 2007, reflecting signs of maturity, less organic growth and more growth by acquisition, according to market research company Gartner.<br style="clear: both;" /><br /> <br /><br /></blockquote><br /><blockquote cite="http://www.pheedo.com/click.phdo?i=3ff3497ddc6ecf46d82871093854752a"><br /> <img src="http://www.pheedo.com/feeds/tracker.php?i=3ff3497ddc6ecf46d82871093854752a" style="display: none;" border="0" height="1" width="1" alt="" />[From <a href="http://www.pheedo.com/click.phdo?i=3ff3497ddc6ecf46d82871093854752a"><cite>Semi IP market grew 8% in 2007</cite></a>]<br /></blockquote><br /><br />Steven Klasshttp://www.blogger.com/profile/00681756689019735665noreply@blogger.com0tag:blogger.com,1999:blog-3402802525195793148.post-47851669714801133232008-06-22T07:24:00.001-07:002008-06-22T07:24:21.065-07:00Dell pushes back desktop XP cutoff date to June 26<p>First glancing at the below story I laughed. I went to post this but that's when the real shocker hit me... Windows XP was <a href="http://en.wikipedia.org/wiki/Windows_XP">released</a> in 2001 - Almost 7 years ago.. That turns the story from not funny but to sad (it's close to pathetic).</p><br /><blockquote cite="http://feeds.engadget.com/~r/weblogsinc/engadget/~3/317085899/"><br /> <div align="center"><br /> <img vspace="4" hspace="4" border="1" src="http://www.blogsmithmedia.com/www.engadget.com/media/2008/06/dell-xp-extend.jpg" alt="" /><br /><br /> </div>Sure, you'll be able to pay out the nose for a Vista machine with a XP Professional "downgrade" soon enough, but Dell just pushed back its <a href="http://www.engadget.com/2008/06/19/dell-keeps-promise-invokes-fees-for-downgrading-to-windows-xp/">cutoff for straight-up XP machines</a>. They'll be selling select Inspiron and XPS desktop with whatever flavor of XP you choose up until June 26th, at precisely 6:59AM EST. Naturally after June 26 you'll be able to buy a Vista Biz or Ultimate machine and downgrade to XP Pro, but we'll hope it doesn't have to come to that. We heard that one guy even <a href="http://blog.seattlepi.nwsource.com/microsoft/archives/141343.asp?source=mypi">got a printer to work with Vista</a>. Things are looking up, folks!<br /><br /> <br /><br /> <img src="http://feeds.engadget.com/~r/weblogsinc/engadget/~4/317085899" height="1" width="1" /> [From <a href="http://feeds.engadget.com/~r/weblogsinc/engadget/~3/317085899/"><cite>Dell pushes back desktop XP cutoff date to June 26</cite></a>]<br /></blockquote><br /><br />Steven Klasshttp://www.blogger.com/profile/00681756689019735665noreply@blogger.com0tag:blogger.com,1999:blog-3402802525195793148.post-12983102634209512392008-06-17T07:59:00.001-07:002008-06-17T07:59:41.880-07:00Cadence bids to buy Mentor Graphics<p>Now this is news!! I can't believe it - poor wally!</p><br /><blockquote cite="http://www.pheedo.com/click.phdo?i=c7699b947fc57d35deb16923a503dfc7"><br /> Cadence Design Systems, Inc. announced it has submitted a proposal to the board of directors of Mentor Graphics Corp. to acquire Mentor Graphics for $16.00 per share in cash. The transaction is valued at $1.6 billion.<br style="clear: both;" /><br /> <br style="clear: both;" /><br /> <img alt="" style="border: 0; height:1px; width:1px;" border="0" src="http://www.pheedo.com/img.phdo?i=c7699b947fc57d35deb16923a503dfc7" height="1" width="1" /> <img src="http://www.pheedo.com/feeds/tracker.php?i=c7699b947fc57d35deb16923a503dfc7" style="display: none;" border="0" height="1" width="1" alt="" /> [From <a href="http://www.pheedo.com/click.phdo?i=c7699b947fc57d35deb16923a503dfc7"><cite>Cadence bids to buy Mentor Graphics</cite></a>]<br /></blockquote><br /><br />Steven Klasshttp://www.blogger.com/profile/00681756689019735665noreply@blogger.com0tag:blogger.com,1999:blog-3402802525195793148.post-31786466697422371512008-06-17T07:50:00.000-07:002008-06-17T07:51:15.788-07:00Firefox 3 download day - how are you getting involved?<p>In case you have been completely under a rock today is the official Firefox 3 release day. The folks over at Mozilla are trying to break a <a href="http://www.spreadfirefox.com/en-US/worldrecord/">world record</a> for the most number of downloads in a day.</p><br /><p>So happy downloading! Of course you can follow this on <a href="http://twitter.com/mozillafirefox">twitter</a>!</p><br /><blockquote cite="http://feeds.feedburner.com/~r/9To5Mac-MacAllDay/~3/313796543/887"></blockquote><br /><br />Steven Klasshttp://www.blogger.com/profile/00681756689019735665noreply@blogger.com0tag:blogger.com,1999:blog-3402802525195793148.post-26380614655714448432008-06-16T08:12:00.001-07:002008-06-16T08:12:40.698-07:00Sign of the Times - Segway Glides as Gasoline Jumps<p>This falls under the obvious - but apparently the <a href="http://www.smartusa.com/smart-fortwo-passion.aspx">micro-car</a> business is not the only ones making money in these $4.20/gal times.</p><br /><p>Say hello to Segway. Once a techie toy - now seems to have sales jumping 50% this year. And it's no longer simply being used by universities and public offices - small business are also jumping into the mix..</p><br /><p>Read more <a href="http://online.wsj.com/article/SB121357738002676071.html?mod=rss_whats_news_technology">here</a></p><br /><br />Steven Klasshttp://www.blogger.com/profile/00681756689019735665noreply@blogger.com0tag:blogger.com,1999:blog-3402802525195793148.post-88127328950623868382008-06-16T07:55:00.001-07:002008-06-16T07:55:10.401-07:00Firefox 3 Launch Tomorrow!<p><a href="http://feeds.feedburner.com/~r/AVc/~3/312941158/firefox-3-launc.html">Firefox 3 Launch Tomorrow (and Party)</a>: <br /><br />"I suspect everybody knows by now that tomorrow is the official launch of Firefox 3. <br /><br />A couple things to note about tomorrow. Firefox is trying to break a record for the most downloads in a 24 hour period. So if you plan to download FF3, you might as well do it tomorrow and contribute to a record being set."</p><br /><br /><p>(Via <a href="http://avc.blogs.com/a_vc/">A VC</a>.)</p>Steven Klasshttp://www.blogger.com/profile/00681756689019735665noreply@blogger.com0tag:blogger.com,1999:blog-3402802525195793148.post-55311617045714932722008-06-14T07:52:00.001-07:002008-06-14T07:52:22.219-07:00TomTom for iPhone lives; Jobs' true health; green iPhone 3G?<p><a href="http://www.appleinsider.com/article.php?id=4205">TomTom for iPhone lives; Jobs' true health; green iPhone 3G?</a>: "Despite reports to the contrary, TomTom is still working on a GPS app for the iPhone. Meanwhile, Steve Jobs' thin look may be permanent evidence of his cancer cure, Greenpeace is concerned about a toxic iPhone 3G. and a growing number of would-be iP...<div style="clear: both;"><br /><br /><p>(Via <a href="http://www.appleinsider.com/">AppleInsider</a>.)</p>Steven Klasshttp://www.blogger.com/profile/00681756689019735665noreply@blogger.com0