<?xml version='1.0' encoding='UTF-8'?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-12015401</id><updated>2008-04-21T15:02:31.124+10:00</updated><title type='text'>Jono's technical notes</title><link rel='alternate' type='text/html' href='http://blog.spiralarm.com/jono/'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12015401/posts/default'/><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://blog.spiralarm.com/jono/atom.xml'/><author><name>Jono</name></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>6</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-12015401.post-7341584101763101621</id><published>2007-10-11T20:39:00.000+10:00</published><updated>2007-10-29T10:17:01.637+11:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OSX trac mod_python'/><title type='text'>How to install trac 0.11 on OS X ( 10.4.10)</title><content type='html'>&lt;p&gt;The following are notes on how to install and configure trac on OS X with multiple projects with a dedicated user to maintain the trac installation.  These notes have been derived from several sources and are primarily so I can reproduce this at a later date without thinking, they are, unsurprisingly&lt;/p&gt;&lt;ul&gt;&lt;li&gt;http://trac.edgewall.org/&lt;/li&gt; &lt;li&gt;http://modpython.org/&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;You'll need the following&lt;/p&gt;&lt;ul&gt;&lt;li&gt;sudo / root access&lt;/li&gt;  &lt;li&gt;internet access&lt;/li&gt; &lt;li&gt;python 2.3.5&lt;/li&gt;  &lt;li&gt;sqlite3&lt;/li&gt; &lt;/ul&gt;&lt;p&gt;You will need to download&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Apache 2.2.4 &lt;/li&gt;  &lt;li&gt;Mod_python 3.3.1&lt;/li&gt; &lt;li&gt;&lt;a href="http://peak.telecommunity.com/dist/ez_setup.py"&gt;setuptools&lt;/a&gt;&lt;br /&gt;&lt;/li&gt; &lt;/ul&gt;  &lt;ol&gt;&lt;li&gt; Install Apache 2.2.4&lt;br /&gt;&lt;ul&gt;&lt;br /&gt;&lt;li&gt;Follow Richard's &lt;a href="http://blog.spiralarm.com/richard/archive/2007_02_01_archive.html"&gt;instructions&lt;/a&gt;, see step 6 for an overview &lt;pre&gt;./configure --prefix=/Users/jono/Applications/apache/2.2.4 --enable-mods-shared=most --enable-ssl --with-mpm=worker --without-berkeley-db --enable-proxy  &lt;br /&gt;&lt;br /&gt;make&lt;br /&gt;sudo make install&lt;br /&gt;cd ~/apache/2.2.4/bin&lt;br /&gt;sudo ./apachectrl start&lt;br /&gt;&lt;/pre&gt;check there is something sane here http://127.0.0.1/&lt;br /&gt;&lt;/li&gt;  &lt;/ul&gt;    &lt;/li&gt; &lt;!-- end install apache--&gt;&lt;br /&gt;&lt;li&gt;Install mod_python  3.3.1&lt;br /&gt;&lt;ul&gt;&lt;br /&gt;&lt;li&gt;configure and install&lt;br /&gt;&lt;pre&gt;./configure --with-apxs=/Users/jono/Applications/apache/2.2.4/bin/apxs&lt;br /&gt;make&lt;br /&gt;sudo  make install&lt;/pre&gt;    &lt;/li&gt;     &lt;li&gt;&lt;p&gt;tell apache about it&lt;/p&gt;    add&lt;br /&gt;  &lt;pre&gt;LoadModule python_module /Users/jono/Applications/apache/2.2.4/modules/mod_python.so&lt;/pre&gt;      to&lt;br /&gt; &lt;pre&gt;/Users/jono/Applications/apache/2.2.4/conf/httpd.conf&lt;/pre&gt;       &lt;/li&gt;         &lt;li&gt;&lt;p&gt;test apache is talking to python&lt;/p&gt;&lt;ol&gt;&lt;li&gt;edit &lt;code&gt;httpd.conf&lt;/code&gt; add&lt;br /&gt;&lt;br /&gt;   &amp;lt;Location /mpinfo&amp;gt;&lt;br /&gt;SetHandler mod_python&lt;br /&gt;PythonHandler mod_python.testhandler&lt;br /&gt;   &amp;lt;/Location&amp;gt;&lt;br /&gt;&lt;/li&gt;     &lt;li&gt;&lt;p&gt;restart apache and see what we get&lt;/p&gt;&lt;pre&gt;cd ~/apache/2.2.4/bin&lt;br /&gt;sudo ./apachectrl&lt;br /&gt;http://127.0.0.1/mpinfo&lt;/pre&gt;      &lt;p&gt;you should get a table showing various System information about apache, python and the request headers, including who the process is running as. In our case it is &lt;em&gt;daemon&lt;/em&gt; - make a note of this you'll need it later.&lt;/p&gt;         &lt;/li&gt;     &lt;li&gt;&lt;p&gt;clean up&lt;/p&gt;      &lt;p&gt;remove the following from &lt;code&gt;httpd.conf&lt;/code&gt;&lt;/p&gt;      &amp;lt;Location /mpinfo&amp;gt;&lt;br /&gt;SetHandler mod_python&lt;br /&gt;PythonHandler mod_python.testhandler&lt;br /&gt;   &amp;lt;/Location&amp;gt;&lt;br /&gt;&lt;br /&gt;  &lt;/li&gt;                    &lt;/ol&gt;        &lt;/li&gt;  &lt;/ul&gt;&lt;/li&gt;  &lt;li&gt;Install python modules required by the latest version of trac ( 0.11)&lt;br /&gt; &lt;ul&gt;&lt;br /&gt;  &lt;li&gt;install setuptools&lt;br /&gt;   &lt;ol&gt;&lt;br /&gt;    &lt;li&gt;this will need to be done as root so you have write permissions to &lt;code&gt;/System/Library/Frameworks/Python.framework/Versions/2.3/bin&lt;/code&gt;&lt;br /&gt;          &lt;code&gt;sudo python ez_setup.py&lt;/code&gt;    &lt;br /&gt;      &lt;/li&gt;       &lt;li&gt;&lt;p&gt;link it to a bin directory in your path -  &lt;em&gt;This should be a single line!&lt;/em&gt;&lt;/p&gt;        &lt;code&gt;sudo ln -s /System/Library/Frameworks/Python.framework/Versions/2.3/bin/easy_install easy_install&lt;/code&gt;               &lt;br /&gt;    &lt;/li&gt;   &lt;br /&gt;    &lt;li&gt;test it, type eas and you should get tab completion, well, assuming you are using bash.&lt;/li&gt;          &lt;br /&gt;  &lt;li&gt;install Genshi&lt;br /&gt;   &lt;code&gt;easy_install Genshi&lt;/code&gt;&lt;br /&gt;  &lt;/li&gt;&lt;br /&gt;  &lt;li&gt;install  pysqlite&lt;br /&gt;   &lt;ul&gt;&lt;br /&gt;    &lt;li&gt;make sure easy_install is going to install the correct version,it should be 2.3.2 or above&lt;br /&gt;     &lt;code&gt;easy_install -n pysqlite&lt;/code&gt;&lt;br /&gt;    &lt;/li&gt;&lt;br /&gt;    &lt;li&gt;if the above seems okay, install it&lt;br /&gt;     &lt;code&gt;easy_install pysqlite&lt;/code&gt;&lt;br /&gt;    &lt;/li&gt;                  &lt;/ul&gt;             &lt;/li&gt;               &lt;/ol&gt;&lt;/li&gt;&lt;/ul&gt;                &lt;/li&gt;     &lt;br /&gt;&lt;li&gt;Install trac&lt;br /&gt;&lt;p&gt;This is some what more convoluted than it needs to be, once edgewall release a complete version (0.11) of trac, this will be &lt;/p&gt;&lt;br /&gt;&lt;code&gt;easy_install trac&lt;/code&gt;&lt;br /&gt;&lt;p&gt;However at present this installs 10.4, which is not what we want, so it is worth trying &lt;code&gt;easy_install -n trac&lt;/code&gt; to see if it is going to install 0.11, until then, there is :&lt;/p&gt;&lt;ul&gt;&lt;li&gt;check out the latest code from svn, in my case this was revision 6049.&lt;br /&gt; &lt;code&gt; svn co http://svn.edgewall.org/repos/trac/trunk trac   &lt;/code&gt;&lt;br /&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;install trac&lt;br /&gt; &lt;code&gt;sudo  python ./setup.py  install&lt;/code&gt;&lt;br /&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;link the trac binaries to a bin directory in your path.&lt;br /&gt; &lt;code&gt;sudo ln -s /System/Library/Frameworks/Python.framework/Versions/2.3/bin/ trac-admin  trac-admin&lt;/code&gt;&lt;br /&gt; &lt;code&gt;sudo ln -s /System/Library/Frameworks/Python.framework/Versions/2.3/bin/ tracd  tracd&lt;/code&gt;&lt;br /&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;If you want to be sure trac is installed and working before continuing ( probably a good idea ) check the Observations notes below.&lt;br /&gt;   &lt;br /&gt;&lt;/li&gt; &lt;/ul&gt;   &lt;/li&gt;   &lt;li&gt;set up trac user and environment&lt;br /&gt;&lt;ul&gt;&lt;br /&gt;&lt;li&gt;create a trac user - see my previous &lt;a href="http://static.spiralarm.com/blog/jono/2007/03/creating-user-from-commandline-on-os-x.html"&gt;post&lt;/a&gt;&lt;br /&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;add them to the daemon group - or whatever user apache is running at&lt;br /&gt; &lt;code&gt;sudo nicl / -merge /groups/daemon users daemon&lt;/code&gt;&lt;br /&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;as the &lt;em&gt;trac&lt;/em&gt; user create the projects and set the correct permissions&lt;br /&gt; &lt;ol&gt;&lt;br /&gt;  &lt;li&gt;create projects&lt;br /&gt;   &lt;code&gt;trac-admin project00  initenv&lt;/code&gt;&lt;br /&gt;   &lt;code&gt;trac-admin project01  initenv&lt;/code&gt;                &lt;br /&gt;  &lt;/li&gt;&lt;br /&gt;  &lt;li&gt;set the permissions on the trac projects&lt;br /&gt;   &lt;code&gt;chown -R :daemon project00&lt;/code&gt;          &lt;br /&gt;   &lt;code&gt;chown -R :daemon project01&lt;/code&gt;                &lt;br /&gt;   &lt;code&gt;chmod -R g+rw  project00&lt;/code&gt;   &lt;br /&gt;   &lt;code&gt;chmod -R g+rw  project01&lt;/code&gt;         &lt;br /&gt;  &lt;/li&gt;              &lt;/ol&gt;        &lt;/li&gt; &lt;/ul&gt;   &lt;/li&gt; &lt;li&gt;&lt;p&gt;Configure apache to talk to trac via mod_python&lt;br /&gt;&lt;/p&gt;  &lt;ul&gt;&lt;li&gt;add the following to httpd.conf&lt;br /&gt; &lt;code&gt;&lt;br /&gt;&amp;lt;Location /trac&amp;gt;&lt;br /&gt;SetHandler mod_python&lt;br /&gt;PythonInterpreter main_interpreter&lt;br /&gt;PythonHandler trac.web.modpython_frontend&lt;br /&gt;PythonOption TracEnvParentDir /Users/trac&lt;br /&gt;PythonOption TracUriRoot /trac&lt;br /&gt;&amp;lt;/Location&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;&lt;code&gt;&amp;lt;&lt;/code&gt;&lt;code&gt;LocationMatch "/trac/[^/]+/login"&lt;/code&gt;&lt;code&gt;&amp;gt;&lt;/code&gt;&lt;code&gt;&lt;br /&gt;      AuthType Basic&lt;br /&gt;      AuthName "Trac"&lt;br /&gt; AuthUserFile /Users/trac/.htpasswd&lt;br /&gt; Require valid-user&lt;br /&gt;&amp;lt;/LocationMatch&amp;gt;&lt;br /&gt;  &lt;br /&gt; &lt;/code&gt;    &lt;/li&gt;     &lt;li&gt;as the &lt;em&gt;trac&lt;/em&gt; user populate .htpasswd   &lt;br /&gt; &lt;code&gt;htpasswd -c /Users/trac/.htpasswd  jono&lt;/code&gt;&lt;br /&gt;&lt;/li&gt; &lt;br /&gt;&lt;li&gt;as the &lt;em&gt;trac&lt;/em&gt; user configure trac permissions   &lt;br /&gt; &lt;ol&gt;&lt;br /&gt;  &lt;li&gt;add an administrative user for the projects&lt;br /&gt;   &lt;code&gt;trac-admin /Users/trac/project00 permission add jono TRAC_ADMIN&lt;/code&gt;&lt;br /&gt;&lt;code&gt;trac-admin /Users/trac/project01 permission add jono TRAC_ADMIN&lt;/code&gt;&lt;br /&gt;  &lt;/li&gt;&lt;br /&gt;  &lt;li&gt;remove anonymous and authenticated  permissions from all projects, this is needed so users can not log into projects others than there own and is probably just a good idea ;)&lt;br /&gt;   &lt;code&gt;trac-admin /Users/trac/project00 permission remove anonymous '*'&lt;/code&gt;&lt;br /&gt;&lt;code&gt;trac-admin /Users/trac/project00 permission remove authenticated '*'&lt;/code&gt;&lt;br /&gt;   &lt;code&gt;trac-admin /Users/trac/project11 permission remove anonymous '*'&lt;/code&gt;&lt;br /&gt;&lt;code&gt;trac-admin /Users/trac/project11 permission remove authenticated '*'&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;  &lt;/li&gt;     &lt;li&gt;bounce apache&lt;br /&gt;   &lt;code&gt;sudo ./apachectl stop&lt;/code&gt;&lt;br /&gt;&lt;code&gt;sudo ./apachectl start&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;  &lt;/li&gt;     &lt;li&gt;try and login&lt;br /&gt;   &lt;code&gt;http://127.0.0.1/trac/project0&lt;/code&gt;&lt;br /&gt;&lt;code&gt;http://127.0.0.1/trac/project1&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;  &lt;/li&gt;                         &lt;/ol&gt;    &lt;/li&gt;      &lt;/ul&gt;    &lt;/li&gt; &lt;li&gt;restrict access to projects  - currently every entry into .htpasswd has access to all projects, as an authenicated user, which would allow users from one project to browse and edit the wiki or another - not an ideal situation, so we do the following&lt;br /&gt;&lt;ul&gt;&lt;br /&gt;&lt;li&gt;remove ability to see project listing - what people can't see they can't try and access&lt;br /&gt; &lt;ol&gt;&lt;br /&gt;  &lt;li&gt;update httpd.conf - change &lt;code&gt;Locaiton&lt;/code&gt; from &lt;span style="font-family:monospace;"&gt;&lt;&lt;/span&gt;&lt;code&gt;Location /trac&gt;&lt;/code&gt; to &lt;span style="font-family:monospace;"&gt;&lt;&lt;/span&gt;&lt;code&gt;LocationMatch "/.+/"&gt; &lt;/code&gt;remembering to also update the closing Location tag to LocationMatch&lt;/li&gt;&lt;li&gt;bounce apache&lt;br /&gt;   &lt;code&gt;sudo ./apachectl stop&lt;/code&gt;&lt;br /&gt;&lt;code&gt;sudo ./apachectl start&lt;/code&gt;&lt;br /&gt;&lt;/li&gt;           &lt;/ol&gt;        &lt;/li&gt;      &lt;/ul&gt;    &lt;/li&gt;   &lt;h3&gt;Finally&lt;/h3&gt; &lt;p&gt;Things to do:&lt;/p&gt; &lt;ul&gt;&lt;li&gt;get svn access working &lt;/li&gt;  &lt;li&gt;consider https  &lt;/li&gt;   &lt;li&gt;consider using digest rather than basic athenication  &lt;/li&gt;   &lt;li&gt;virtual hosts &lt;/li&gt;       &lt;/ul&gt;   &lt;h3&gt;Links&lt;/h3&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://httpd.apache.org/"&gt;apache&lt;/a&gt; &lt;/li&gt;  &lt;li&gt;&lt;a href="http://modpython.org/live/mod_python-3.3.1/doc-html/installation.html"&gt;mod_python installation&lt;/a&gt; &lt;/li&gt;  &lt;li&gt;&lt;a href="http://peak.telecommunity.com/DevCenter/setuptools"&gt;setuptools&lt;/a&gt; &lt;/li&gt;  &lt;li&gt;&lt;a href="http://genshi.edgewall.org/wiki/Download"&gt;Genshi&lt;/a&gt; &lt;/li&gt;    &lt;li&gt;&lt;a href="http://www.playingwithwire.com/2007/06/host-your-own-project-with-trac/"&gt;permissions issues &lt;/a&gt; &lt;/li&gt;       &lt;/ul&gt; &lt;h3&gt;Observations&lt;/h3&gt; &lt;ol&gt;&lt;br /&gt;&lt;li&gt;install using the default locations for python, installing with user specific locations will cause a great deal of pain, if you know what you are doing with PYTHONPATH, you will probably be okay,  then again, you probably aren't going to be reading this either :)&lt;br /&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;if you ignored me and tried installing setuptools without root access you will have noticed the binary failed to install and now you are wondering how to get it installed.&lt;br /&gt;   &lt;code&gt;sudo python ez_setup.py  -U  setuptools&lt;/code&gt;&lt;br /&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;restarting apache,there are notes on either the trac or mod_python site about this, it would appear that&lt;code&gt; sudo ./apachectl restart&lt;/code&gt;doesn’t always work, this is usually when you are tired and it has been working all day, save yourself pain just use.&lt;br /&gt; &lt;code&gt;sudo ./apachectl stop&lt;/code&gt;&lt;br /&gt; &lt;code&gt;sudo ./apachectl start&lt;/code&gt;&lt;br /&gt;&lt;/li&gt;   &lt;li&gt;&lt;p&gt;if trac isn’t playing you may want to make sure it is installed correctly, try the following&lt;br /&gt; &lt;/p&gt;   &lt;ol&gt;&lt;li&gt;create  a dummy project&lt;br /&gt;  &lt;code&gt;trac-admin testTrac  initenv&lt;/code&gt;&lt;br /&gt; &lt;/li&gt;&lt;br /&gt; &lt;li&gt;start the trac daemon&lt;br /&gt;  &lt;code&gt; tracd --port 8000 /Users/jono/Documents/trac/testTrac&lt;/code&gt;&lt;br /&gt; &lt;/li&gt;&lt;br /&gt; &lt;li&gt;point a browser to&lt;br /&gt;  &lt;code&gt;http://localhost:8000/testTrac&lt;/code&gt;&lt;br /&gt; &lt;/li&gt;&lt;br /&gt; &lt;li&gt;if it all looks okay, you can delete this now&lt;br /&gt; &lt;/li&gt;              &lt;br /&gt;&lt;/ol&gt;      &lt;/li&gt;     &lt;/ol&gt; &lt;/ol&gt;</content><link rel='alternate' type='text/html' href='http://blog.spiralarm.com/jono/2007/10/how-to-install-trac-011-on-os-x-10410.html' title='How to install trac 0.11 on OS X ( 10.4.10)'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12015401&amp;postID=7341584101763101621' title='0 Comments'/><link rel='replies' type='application/atom+xml' href='http://blog.spiralarm.com/jono/atom.xml' title='Post Comments'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12015401/posts/default/7341584101763101621'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12015401/posts/default/7341584101763101621'/><author><name>Jono</name></author></entry><entry><id>tag:blogger.com,1999:blog-12015401.post-7193553393844969934</id><published>2007-09-03T21:20:00.000+10:00</published><updated>2007-09-06T11:36:16.483+10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='AIMIA Mobile Advertising Guidelines'/><title type='text'>AIMIA Launches Mobile Advertising Guidelines</title><content type='html'>I attended the "The Future of mobile Advertising" presented by the &lt;a href="https://www.aimia.com.au/"&gt;AIMIA&lt;/a&gt; on Tuesday morning, this was mainly a chance to launch the AIMIA mobile advertising &lt;a href="https://www.aimia.com.au/i-cms?page=3436"&gt;guidelines&lt;/a&gt;, There was little earth shattering information and most of it is common sense and a great deal of "use us,  other people don't know what they are talking about".&lt;br /&gt;&lt;br /&gt;&lt;font style="font-weight: bold;"&gt;Disappointments&lt;/font&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Mobile advertising is going to be amazing, this year 6-7 million, 200 Million in 3 years, 1.3 Billion by 2010, 10 - 20% of all advertising, little of this seemed based on fact, seeing as the numbers were so wildly different. The six to seven million was actually the previous 12 months, I believe, otherwise it was YTD.&lt;/li&gt;&lt;li&gt;People are trying to work out how to measure mobile advertising, for some reason they believe this isn't going to be click through or SMS's sent or impression based.&lt;/li&gt;&lt;li&gt;Content, including advertising - such as banner adverts need to be tailored to the individual device, no great surprises there, scrolling to see adverts either horizontally or vertically is bad.&lt;/li&gt;&lt;li&gt;Attitude of some of the presenters towards technical folk rather than advertisers, referring to developers as "techno dorks" and the unless companies using a developer  who knew XHTML would most likely get it wrong. Yes, the guy got on my tits - I guess they have highly trained advertisers in that particular company creating mobile sites and definitely NO techno dorks lowering the tone.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;font style="font-weight: bold;"&gt;Possibly useful information.&lt;/font&gt;&lt;br /&gt;&lt;br /&gt;    from Hubert Kjellberg, Head of Media ,Ericcson.&lt;ul&gt;&lt;li&gt;15 - 39 Demographic are leaving print media or not even bothering with it.&lt;/li&gt;&lt;li&gt;Consuming all media in the same way as the internet media.&lt;/li&gt;&lt;li&gt;Carriers are moving away from walled gardens - huzzah.&lt;/li&gt;&lt;li&gt;Figures for passive television consumption are dropping, still healthy, but dropping.&lt;/li&gt;&lt;li&gt;A group of 14 - 15 year olds were interviewed about media consumption and there preferences were.&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;ul&gt;&lt;li&gt;internet&lt;/li&gt;&lt;li&gt;mobile&lt;/li&gt;&lt;li&gt;ipod&lt;/li&gt;&lt;li&gt;television&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;When developers of  mobile sites  need to be aware of local regulations, these can be through various bodies, broadcasting regulator, AIMIA, etc.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;    from someone at publicis digital&lt;br /&gt;&lt;ul&gt;&lt;li&gt;mobile phones are the 3rd screen,&lt;/li&gt;&lt;li&gt;19 million phones in AU, not bad for a population of just over 21 million,&lt;/li&gt;&lt;li&gt;4.5 million 3G phones, possible tipping point ?&lt;/li&gt;&lt;li&gt;Terms&lt;br /&gt;&lt;/li&gt;&lt;ul&gt;&lt;li&gt;on-deck  --&gt; teleco site/portal&lt;/li&gt;&lt;li&gt;off-deck  --&gt; content publishers&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;local knowledge is important in mobile advertising ( one would assume mobile content full stop ), as usage varies around the world. One wonders if this is culturally, development of mobiles services or possibly the type of devices available in the market.&lt;/li&gt;&lt;/ul&gt;    someone from communicator.com.au&lt;br /&gt;&lt;ul&gt;&lt;li&gt;click through for off deck is ~ 3 - 6 % for mobile advertising campaigns,&lt;/li&gt;&lt;li&gt;consumer perception that data is expensive, this is a barrier to adoption, consumers need to be educated,&lt;/li&gt;&lt;li&gt;data charges are falling,&lt;/li&gt;&lt;li&gt;age of users is moving up, 25 - 40s watching mobile videos,&lt;/li&gt;&lt;li&gt;real time behavioral targeting will be important&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;     some  at tiger spike&lt;br /&gt;&lt;ul&gt;&lt;li&gt;most traffic is on portal,&lt;/li&gt;&lt;li&gt;in the next 6 -12 months we will see more off portal traffic,&lt;/li&gt;&lt;li&gt;Need to follow the  1,2,3 rule :&lt;/li&gt;&lt;/ul&gt;&lt;ol&gt;&lt;ol&gt;&lt;li&gt;One point of entry,&lt;/li&gt;&lt;li&gt;No more than 2 seconds to load,&lt;/li&gt;&lt;li&gt;No more than 3 clicks to get anywhere - 30% lose per click, so not much point.&lt;/li&gt;&lt;/ol&gt;&lt;/ol&gt;&lt;ul&gt;&lt;li&gt;Mobile sites need to be live sites if they are going to be around for more than a month, so have content to put up, this will also get people interested in coming back, consider a news link, then people will know the site is alive,&lt;/li&gt;&lt;li&gt;watch for bots mimicking mobile devices, they can show false spikes in traffic,&lt;/li&gt;&lt;li&gt;things that companies are doing wrong at present :&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;ol&gt;&lt;li&gt;Not considering company strategy,&lt;/li&gt;&lt;li&gt;being to clever, billboard that has a web site where you can download an app for your phone that will let you read a bar code,&lt;/li&gt;&lt;li&gt;copying web site to be a mobile site,&lt;/li&gt;&lt;li&gt;not getting the right advice.&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;    someone from vodafone mobile advertising&lt;br /&gt;&lt;ul&gt;&lt;li&gt;a new group set up to provider agencies the ability to advertise on the vodafone LIve! portal, rather than just seeing vodafone adverts,&lt;/li&gt;&lt;li&gt;starting in AU, being pushed out worldwide,&lt;/li&gt;&lt;li&gt;vodafone talking with other carriers about cross carrier advertising and other possibilities - early days and cross carrier agreements move at ( pre global warming ) glacial speed.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;    someone from Sensis&lt;br /&gt;&lt;br /&gt;    Example of a mobile banner advert for KFC that linked through to a site that used carrier data to build a map showing you where the closest KFC was based on your location, also had a form so you could enter your mobile number and they would SMS you a voucher for a free or discounted burger.</content><link rel='alternate' type='text/html' href='http://blog.spiralarm.com/jono/2007/09/aimia-launches-mobile-advertising.html' title='AIMIA Launches Mobile Advertising Guidelines'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12015401&amp;postID=7193553393844969934' title='0 Comments'/><link rel='replies' type='application/atom+xml' href='http://blog.spiralarm.com/jono/atom.xml' title='Post Comments'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12015401/posts/default/7193553393844969934'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12015401/posts/default/7193553393844969934'/><author><name>Jono</name></author></entry><entry><id>tag:blogger.com,1999:blog-12015401.post-231073820585542299</id><published>2007-03-13T17:37:00.000+11:00</published><updated>2007-10-11T20:32:30.204+10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OSX create user'/><title type='text'>Creating a user from the commandline on OS X</title><content type='html'>&lt;p&gt;The following will create a user USER_NAME in the group USER_NAME&lt;br /&gt;with a home directory /Users/USER_NAME, it assumes you have sudo&lt;br /&gt;access and are currently in /Users &lt;/p&gt;&lt;ol&gt;&lt;li&gt;&lt;p style="margin-bottom: 0cm;"&gt;Find the next free uid by running the following &lt;/p&gt;&lt;ol&gt;&lt;p style="margin-bottom: 0cm;"&gt;&lt;code&gt;nireport . /users name uid&lt;/code&gt;&lt;/p&gt; &lt;/ol&gt; &lt;/li&gt;&lt;li&gt;&lt;p style="margin-bottom: 0cm;"&gt;create user, assuming a free uid of 505 from the previous step. &lt;/p&gt;&lt;ol&gt;&lt;p style="margin-bottom: 0cm;"&gt;&lt;em&gt;This should be a single line.&lt;/em&gt;&lt;br /&gt;  &lt;/p&gt;  &lt;p style="margin-bottom: 0cm;"&gt;&lt;code&gt;echo USER_NAME::505:505:USER_NAME build user:0:0:USER_NAME&lt;br /&gt;User:/Users/USER_NAME:/bin/bash | sudo niload -v passwd /&lt;/code&gt;&lt;br /&gt;&lt;/p&gt;  &lt;p style="margin-bottom: 0cm;"&gt;&lt;/p&gt; &lt;/ol&gt; &lt;/li&gt;&lt;li&gt;&lt;p style="margin-bottom: 0cm;"&gt;Set password &lt;/p&gt;&lt;ol&gt;&lt;p style="margin-bottom: 0cm;"&gt;&lt;code&gt;sudo passwd USER_NAME&lt;/code&gt;&lt;br /&gt;&lt;/p&gt; &lt;/ol&gt; &lt;/li&gt;&lt;li&gt;&lt;p style="margin-bottom: 0cm;"&gt;create group&lt;/p&gt;&lt;ol&gt;&lt;p style="margin-bottom: 0cm;"&gt; &lt;code&gt;echo 'USER_NAME:*:505: USER_NAME' | sudo niload -v group /&lt;/code&gt;&lt;/p&gt; &lt;/ol&gt; &lt;/li&gt;&lt;li&gt;&lt;p style="margin-bottom: 0cm;"&gt;create user directory &lt;/p&gt;&lt;ol&gt;&lt;p style="margin-bottom: 0cm;"&gt;&lt;code&gt;mkdir USER_NAME&lt;/code&gt;&lt;br /&gt;&lt;/p&gt; &lt;/ol&gt; &lt;/li&gt;&lt;li&gt;&lt;p style="margin-bottom: 0cm;"&gt;change ownership &lt;/p&gt;&lt;ol&gt;&lt;p style="margin-bottom: 0cm;"&gt;&lt;code&gt;sudo chown USER_NAME:USER_NAME USER_NAME&lt;/code&gt;&lt;br /&gt;&lt;/p&gt; &lt;/ol&gt; &lt;/li&gt;&lt;li&gt;&lt;p&gt;make sure you can login &lt;/p&gt;&lt;ol&gt;&lt;p&gt;&lt;code&gt;ssh USER_NAME@localhost&lt;/code&gt;&lt;br /&gt;&lt;/p&gt; &lt;/ol&gt;&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;As an aside here is how to delete a user via the command line.&lt;/p&gt;&lt;ol&gt;&lt;li&gt;&lt;p style="margin-bottom: 0cm;"&gt;check the user exists &lt;/p&gt;&lt;ol&gt;&lt;p style="margin-bottom: 0cm;"&gt;&lt;code&gt;dscl . read /users/USER_NAME&lt;/code&gt;&lt;br /&gt;  &lt;/p&gt; &lt;/ol&gt; &lt;/li&gt;&lt;li&gt;&lt;p style="margin-bottom: 0cm;"&gt;delete the users group &lt;/p&gt;&lt;ol&gt;&lt;p style="margin-bottom: 0cm;"&gt;&lt;code&gt;sudo dscl . delete /groups/USER_NAME&lt;/code&gt;&lt;br /&gt;&lt;/p&gt; &lt;/ol&gt; &lt;/li&gt;&lt;li&gt;&lt;p style="margin-bottom: 0cm;"&gt;delete the user &lt;/p&gt;&lt;ol&gt;&lt;p style="margin-bottom: 0cm;"&gt;&lt;code&gt;sudo dscl . delete /users/USER_NAME&lt;/code&gt;&lt;br /&gt;&lt;/p&gt; &lt;/ol&gt; &lt;/li&gt;&lt;li&gt;&lt;p&gt;delete user home directory &lt;/p&gt;&lt;ol&gt;&lt;p&gt;&lt;code&gt;sudo rm -rf USER_NAME&lt;/code&gt;&lt;br /&gt;&lt;/p&gt; &lt;/ol&gt;&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;Taken from &lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;p&gt;http://www.mcelhearn.com/article.php?story=2004110211244242&lt;br /&gt;&lt;/p&gt; &lt;/li&gt;&lt;li&gt;&lt;p&gt; &lt;a href="http://mikesalsbury.com/mambo/content/view/130/2/"&gt;http://mikesalsbury.com/mambo/content/view/130/2/&lt;/a&gt;&lt;/p&gt; &lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;a href="http://www.oreillynet.com/mac/blog/2006/04/deleting_mac_os_x_users_remote.html"&gt;http://www.oreillynet.com/mac/blog/2006/04/deleting_mac_os_x_users_remote.html&lt;/a&gt;&lt;/p&gt; &lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;a href="http://developer.apple.com/documentation/Darwin/Reference/ManPages/index.html"&gt;http://developer.apple.com/documentation/Darwin/Reference/ManPages/index.html&lt;/a&gt;&lt;/p&gt; &lt;/li&gt;&lt;li&gt;&lt;p&gt; http://docs.info.apple.com/article.html?artnum=60038&lt;br /&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;</content><link rel='alternate' type='text/html' href='http://blog.spiralarm.com/jono/2007/03/creating-user-from-commandline-on-os-x.html' title='Creating a user from the commandline on OS X'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12015401&amp;postID=231073820585542299' title='0 Comments'/><link rel='replies' type='application/atom+xml' href='http://blog.spiralarm.com/jono/atom.xml' title='Post Comments'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12015401/posts/default/231073820585542299'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12015401/posts/default/231073820585542299'/><author><name>Jono</name></author></entry><entry><id>tag:blogger.com,1999:blog-12015401.post-116548829720001170</id><published>2006-12-07T21:28:00.000+11:00</published><updated>2006-12-07T21:44:57.266+11:00</updated><title type='text'>Switch</title><content type='html'>Not from Windows to Apple, from Apple to Apple - It has been two 1/4 years since I switched from windows / Linux. Now I've moved from my trusty 15" PowerBook G4 to a brand spanking new 17" MacBookPro, my god it is fast and the extra real estate is most welcome. &lt;br /&gt;&lt;br /&gt;My only complaint would be the hard disk speed /size options, Its either small and fast or big and slow - I went small and fast 7200 RPM but only a 100 GB, after moving data I only have 30 GB free and it is less than a month old ! &lt;br /&gt;&lt;br /&gt;I can see me making rather a lot of use of my external drive.</content><link rel='alternate' type='text/html' href='http://blog.spiralarm.com/jono/2006/12/switch.html' title='Switch'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12015401&amp;postID=116548829720001170' title='0 Comments'/><link rel='replies' type='application/atom+xml' href='http://blog.spiralarm.com/jono/atom.xml' title='Post Comments'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12015401/posts/default/116548829720001170'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12015401/posts/default/116548829720001170'/><author><name>Jono</name></author></entry><entry><id>tag:blogger.com,1999:blog-12015401.post-116505907246936324</id><published>2006-12-02T22:24:00.000+11:00</published><updated>2006-12-02T22:31:12.476+11:00</updated><title type='text'>Port redirecting</title><content type='html'>This is probably obvious to everyone but me, however I'll put it here in case there is another who finds it helpful.&lt;br /&gt;&lt;br /&gt;The following redirects requests from 80 to 8080, meaning you don't have to run your&lt;br /&gt;webapp as root or have annoying urls such as http://localhost:1234/myapp.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Jono@moose:xinetd.d $pwd&lt;br /&gt;/etc/xinetd.d&lt;br /&gt;Jono@moose:xinetd.d $cat redirect&lt;br /&gt;             service www&lt;br /&gt;             {&lt;br /&gt;                    socket_type         = stream&lt;br /&gt;                    wait                = no&lt;br /&gt;                    nice                = 10&lt;br /&gt;                    user                = root&lt;br /&gt;                    server              = /usr/bin/nc&lt;br /&gt;                    server_args         = -w 3 localhost 8080&lt;br /&gt;                    instances           = 40&lt;br /&gt;&lt;br /&gt;             }</content><link rel='alternate' type='text/html' href='http://blog.spiralarm.com/jono/2006/12/port-redirecting.html' title='Port redirecting'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12015401&amp;postID=116505907246936324' title='1 Comments'/><link rel='replies' type='application/atom+xml' href='http://blog.spiralarm.com/jono/atom.xml' title='Post Comments'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12015401/posts/default/116505907246936324'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12015401/posts/default/116505907246936324'/><author><name>Jono</name></author></entry><entry><id>tag:blogger.com,1999:blog-12015401.post-112496523420366853</id><published>2005-08-25T19:53:00.001+10:00</published><updated>2005-08-25T20:40:44.090+10:00</updated><title type='text'>Code for the stupidest member of the team</title><content type='html'>While we would all like to work with the Fowlers and Blochs of the world, there are not enough of them to go around.  Which means either changing career, or be accepting that there are less talented people in your industry, and by a cruel twist of fate you may well work with one of &lt;a href="http://c2.com/cgi/wiki?UnskilledAndUnawareOfIt"&gt;them&lt;/a&gt;.&lt;br /&gt;  With this in mind, what should one do ? The first thing is to not instantly assume people will understand what is going on from your code. Some documentation, is a good, thing, even if it is within the code itself.&lt;br /&gt;   Better yet tests your fellow developers can run, unit and integration tests are ideal for this, they not only show that the code works - they show HOW it works.&lt;br /&gt;Secondly try not to use the most esoteric aspects of the language, they will only confuse and befuddle your coworkers, the most readable solution is the best and usually the simplest.&lt;br /&gt;This will always be relative, the stupidest member of a team writing control code for a plane or power station is most likely to be _less_ stupid that the brightest member of a website.</content><link rel='alternate' type='text/html' href='http://blog.spiralarm.com/jono/2005/08/code-for-stupidest-member-of-team_25.html' title='Code for the stupidest member of the team'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12015401&amp;postID=112496523420366853' title='0 Comments'/><link rel='replies' type='application/atom+xml' href='http://blog.spiralarm.com/jono/atom.xml' title='Post Comments'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12015401/posts/default/112496523420366853'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12015401/posts/default/112496523420366853'/><author><name>Jono</name></author></entry></feed>