This week
Work
  • [ ] Refine some elements on Zend Framework eCommerce system
  • [ ] Prepare 10 min presentation
    Zend Framework logo.
  • [ ] Arrange projector / screen
  • [ ] Attend networking event
  • [ ] Set up sales meeting
  • [ ] Finances
  • [ ] Progress Christmas cards
  • [ ] Catch-up phone calls
  • Life

    • [ ] Food shop
    • [ ] Swimming x 2
    • [ ] Kung Fu

    Misc

    • [ ] Get presents/cards
    • [ ] Cook something I’ve never cooked before
    • [ ] Tidy up downloads/images
    • [ ] Time to wash the car / dog (?)
    Enhanced by Zemanta

    I remember once watching a documentary on Arnold Schwarzenegger’s bodybuilding career (or was it this one?) in the ’70s and early ’80s.

    All of the bodybuilders in that golden era had their own training programme managers and promoters.  I recall that one manager/promoter, working for another bodybuilder, loved his own quotes.

    These quotes would range from the urbane, “the pen is mightier than the muscle”, to somewhat more characteristically humorous: “remember the golden rule: he who has the gold, makes the rules“.

    Well, in the completely unrelated world of PHP programming, this perl of wisdom (sic joke) is worth hanging on to.  Why?  Well, if you have ever used PHP’s variable variables, knowledge of the correct syntax is worth its weight in gold.  It’ll save hours, if not days, of debugging.
    So, anyway, I’ve been coding a calendar system for a valued client for the past ten days or so.  My first attempt I pretty much scrapped as it got too complex and almost impossible to debug.  The second version is much better, except for one issue which has been giving me grief until now.

    Variable variables in PHP are extremely useful, but I throw in a word of caution immediately: use them sparingly.  It can be easy to quickly lose track of what’s called what and why it’s there.  Especially if any single script is 400+ lines long.

    To set a variable variable, it’s easier to start off giving a value to an ordinary variable:

    $myVar = "myVarVar";

    Now, I want to create a variable variable with the name $myVarVar, so this is how it’s done:


    $$myVar = "this is my variable variable";

    To see the contents of the variable variable, you can do either of the following:


    echo $$myVar;     // or
    echo $myVarVar; 

    Both will output “this is my variable variable” to the screen/page.

    Snooker Loopy
    Things start getting interesting when you introduce arrays and loops. Take the following example:


    for($i=0; $i<4; $i++) {
    $myVar = "myVarVar".$i;
    $$myVar = "  Variable variable £".$i;
    }

    creates and produces:

    echo $myVarVar0; // "Variable variable #0"
    echo $myVarVar1; // "Variable variable #1"
    echo $myVarVar2; // "Variable variable #2"
    echo $myVarVar3; // "Variable variable #3"

    Stencil of a shopping cart with the head of th...I

    Last week

    Work

    • [X] It’s all about the shopping cart system :-), but if there’s any time left…
    • [X] Organise and attend various 1-2-1 meetings
    • [-] Update CRM database with new data/purge old
    • [-] Modify company site (content/volume/images)
    • [-] Price review
    • [ ] Review marketing and sketch out action plan
    • [-] Finish templates for sales process
    • [-] Finish help documentation for new web-based calendar tool

    Life

    • [ ] Continue documentation effort for F/LOSS project
    • [X] Kung Fu – reacquaint myself with yellow sash routines
    • [ ] Swimming x 2

    Misc

    • [ ] Cook something I’ve never cooked before
    • [ ] Test a couple of lenses for the DSLR

    This week

    Intentionally short in number but still high in volume.
    Work

    • [ ] Continue the Zend Framework shopping cart system
    • [ ] Produce marketing data
      – [ ] Mail merge
      – [ ] Review & print
      – [ ] Envelope
    • [ ] Attend networking training
    • [ ] Attend other networking event (optional)

    Life

    • [ ] Continue documentation effort for F/LOSS project
    • [ ] Swimming x 1 
    • [ ] Attend wedding party

    Misc

    • [ ] Get presents/cards
    • [ ] Cook something I’ve never cooked before
    • [ ] Test a couple of lenses for the DSLR
    Enhanced by Zemanta

    Boy, I am always amazed at the breadth of stuff that goes on weekly, surrounding people’s preferred operating systems, new hardware press releases and so on.  For me, it’s one of the best things about the internet: constant information from all corners of the globe, seeking an audience and advocate elsewhere.

    Intel, AMD and the new kid in town

    Image via CrunchBase

    So, this week there has been loads of stuff which caught my attention, only a short list of which I have time to share.  First things first, Ars Technica : a constantly vibrant source of interesting news out there in the technosphere.  Featured in its hallowed pages was the title ARM’s Eagle has landed: meet the A15“.  Indeedy, ARM is developing more processor chips which are beginning to compete with the likes of Intel’s Atom and AMD’s lesser-known Geode.

    AMD Geode™ LX 800@0.9W Processor

    The exciting thing here is that a third player is entering the midst of a traditionally two-horse race: GPU/CPU design and manufacture (AKA AMD vs Intel).  Similarly to the console race of 2007-ish, a third player getting involved (in the console war, this being Microsoft‘s XBox 360) does great things for the market and the larger picture.  Who would have thought, against the mighty 360 or PS3, that the Wii would have competed so well?

     

    We’ll see how this plays out in a different way with chip manufacturers though but, as with most of these things, the early adopters of SmartBooks (Netbooks with phone capabilities, typically powered by ARM processors) will likely be Business types and Linux users who aren’t just taken in by the big names.

    The Apple is finally ripening
    Finally. Sense at Apple.  Well, some at least. Developers are creative, resourceful individuals.  So throwing down the gauntlet by restricting their development languages was kind of a draconian, hard-line gesture by a company pimping itself as cool and trendy.  Sorry Fanbois, but it was a bit Microsofty, actually.  Which is actually unfair to Microsoft, as they are generally far less restrictive about this (as this list of programming languages illustrates..).  Then again, 99.4% of malware is aimed at Windows users.


    But back to Apple, this Ars story describes the change in stance at Cappuccino.


    How nice of them to open up their policy as well as opening up their iOS 4.1 BootROM in the same week!  In case anyone thinks I have a grudge against Apple, far from it.  This vulnerability intended feature clearly demonstrates that Apple are committed to opening up their systems and allowing users to fully use what they have purchased.  Brilliant!

    Oh, but then there are still situations which make you wonder.  Like the stealthy Apple OS-X update that kept “fanbois strangely silent“…   I’m not sure I would have described Apple’d products as a “mutant virus“, but their loyal customers’ thinking probably is.  But then, Apple build fashion statements, not computers.


    Open systems continue to gather pace


    There’s an interesting article at O’Reilly on debunking the 1% myth.  The 1% myth is the idea, forever purported by some in the industry, that Linux only has 1% of desktop market share.  Succinctly put, as there is no way of actually measuring this accurately, it’s a false claim (as the article details).


    Talking of open software, media player Amarok is looking more and more beautiful.  What’s not to like about this, especially when it’s free?

    Enhanced by Zemanta

    I think it may be a good idea to start calling this “Fortnightly [p]review”…


    Last week

    Work
    • [-] Update CRM database with new data/purge old
    • [X] Layout fixes for customer web site
    • [-] Modify company site (content/volume/images)
    • [ ] Price review
    • [ ] Review marketing and sketch out action plan
    • [-] Draft templates for sales process
    • [-] Add help documentation for new web-based calendar tool
    • [X] Hosting set-up
    • [X] Prepare for new project (TBC)
    • [X] Complete SVN/Bugzilla integration project
    • [X] Housekeeping
    Life
    • [ ] Continue documentation effort for F/LOSS project
    • [X] Kung Fu
    • [X] Swimming x 2
    • [X] Finish sci-fi book
    • [X] Continue Personal Development
    Misc
    • [-] Uphold commitments @ old residence – see through to completion
    • [X] Cook something I’ve never cooked before (excludes dog, cat, rat, etc)
    • [X] Check out lenses for the DSLR

    This week
    Work

    • [ ] It’s all about the shopping cart system :-), but if there’s any time left…
    • [ ] Organise and attend various 1-2-1 meetings
    • [-] Update CRM database with new data/purge old
    • [-] Modify company site (content/volume/images)
    • [ ] Price review
    • [ ] Review marketing and sketch out action plan
    • [-] Finish templates for sales process
    • [-] Finish help documentation for new web-based calendar tool

    Life

    • [ ] Continue documentation effort for F/LOSS project
    • [ ] Kung Fu – reacquaint myself with yellow sash routines
    • [ ] Swimming x 2

    Misc

    • [ ] Cook something I’ve never cooked before
    • [ ] Test a couple of lenses for the DSLR
    Enhanced by Zemanta

    In the fast lane for the past fortnight, hence no preview/review last week.

    Last week 

    Work

    • [x] Layout work for customer project
    • [ ] Kexi – liaise on mailing list re testing issues
    • [-] CMS development
      • [X] Feature-freeze spec
      • [-] Roadmap & assign target dates
      • [ ] Soft launch on test web site
    • [X] Create new web forms
    • [X] Further company web site changes
    • [-] Complete SVN/Bugzilla integration project
    • [ ] PSP account – set up and integrate
    • [ ] Update networking calendar & set new contacts targets

    Life

    • [ ] Continue documentation effort for F/LOSS project
    • [-] 2 swims – 1 mile each
    • [X] Kung Fu
    • [X] Cook something “new”!
    • [X] Address issues with service providers
    • [X] Blood service – re-arrange donation

    Misc

    • [-] Uphold commitments @ old residence – see through to completion
    • [X] Sign up to new charitable cause

    This week

    Work

    • [ ] Update CRM database with new data/purge old
    • [ ] Layout fixes for customer web site
    • [ ] Modify company site (content/volume/images)
    • [ ] Price review
    • [ ] Review marketing and sketch out action plan
    • [ ] Draft templates for sales process
    • [ ] Add help documentation for new web-based calendar tool
    • [ ] Hosting set-up
    • [ ] Prepare for new project (TBC)
    • [ ] Complete SVN/Bugzilla integration project
    • [ ] Housekeeping

    Life

    • [ ] Continue documentation effort for F/LOSS project
    • [ ] Kung Fu
    • [ ] Swimming x 2
    • [ ] Finish sci-fi book
    • [ ] Continue Personal Development

    Misc

    • [-] Uphold commitments @ old residence – see through to completion
    • [ ] Cook something I’ve never cooked before (excludes dog, cat, rat, etc)
    • [ ] Check out lenses for the DSLR

    An absolutely fantastic weekend really gives you renewed strength for the week ahead.  This is a busy week outside of work, though, so a refined set of objectives is the order of the day.

    Work

    • [ ] Layout work for customer project
    • [ ] Kexi – liaise on mailing list re testing issues
    • [ ] CMS development
      • [ ] Feature-freeze spec
      • [ ] Roadmap & assign target dates
      • [ ] Soft launch on test web site
    • [ ] Create new web forms
    • [ ] Further company web site changes
    • [ ] Complete SVN/Bugzilla integration project
    • [ ] PSP account – set up and integrate
    • [ ] Update networking calendar & set new contacts targets

    Life

    • [ ] Continue documentation effort for F/LOSS project
    • [ ] 2 swims – 1 mile each
    • [ ] Kung Fu
    • [ ] Cook something “new”!
    • [-] Address issues with service providers
    • [ ] Blood service – re-arrange donation

    Misc

    • [ ] Uphold commitments @ old residence – see through to completion
    • [ ] Sign up to new charitable cause

    My “Get real! :-)” week was pretty good.  Lots achieved.

    Work

    • [X] Approve new service Ts & Cs
    • [ ] Kexi – liaise on mailing list re testing issues…
    • [X] Small updates to client web site
    • [X] Database updates to client site
    • [-] Layout work for high priority customer project (linked with CMS dev)
    • [ ] CMS development
    • [ ] Feature-freeze spec
    • [ ] Roadmap & assign target dates
    • [ ] Soft launch on test web site
  • [-] Complete additional web forms to service other business areas (really!)
  • [-] Business web site changes –  higher priority
  • [-] Complete SVN/Bugzilla integration project.
  • [-] Networking event
  • [X] Clarify new sales process
  • [X] Re-evaluate financial goals for August/September and prioritise accordingly.

    Unplanned extras

  • Resolved a situation with web hosting accounts unable to access email.
  • Revised UML Use Cases & Activity Diagrams and put into action for sales process revision.
  • Life

    • [X] Pick up files from a cool F/LOSS project and start documenting…
    • [-] 2 swims – 1 mile each
    • [-] Cook something “new”!
    • [X] Social life: this week, it’s on Thursday! 🙂
    • [-] Address issues with service providers
    • [-] Finish the book Getting Things Done
    • If time, use orgmode in more of a GTD-style method

    Misc

    My life doesn’t revolve around the television.  I don’t watch any terrestrial broadcasts.  I am especially uninterested in “prime”-time offerings (e.g. soaps). Ugh.  Instead…

    This week 

    It’s a sea-change.  Day off planned, plus lots of stuff happening outside of work mean I’m taking a break from planning anything at all.  A number of loose ends to tie up and various new ideas to ponder mean I’ll still be busy thinking all week.  🙂

    “Hindsight is a beautiful thing”, I was recently reminded.  With hindsight, last week wasn’t the super-catch-up exercise I’d hoped.  But, instead, it was a good week for new ideas (all captured, naturally).

    Last week:

    Get back on track!

    Work

    • [-] WAITING: SEO customer project
    • [X] Database update customer project. Rebuild Kexi from source and test after a fix from lead developer
    • [-] WAITING: PHP calendar development for customer
    • [-] Visual design/template revision work for customer
    • [ ] Get list together of targets for Project “L” and plan launch
    • [-] Create additional web forms to service other business areas
    • [ ] Minor company homepage change
    • [-] Review structure of site and content; trim.
    • [-] Complete SVN/Bugzilla integration project.

    Life

    • [X] Tax return
    • [-] Siu Lim Tao / stretching
    • [ ] Pick up files for F/LOSS project and start documenting…
    • [ ] 2 swims, 1 mile each
    • [X] Some personal correspondance/organisation to be achieved.
    • [XX] Social life 🙂
    • [X] Looking forward to meal with family friends this weekend

    Misc

    Would like to see more:

    This week:

    Get real! 🙂

    Work

    • [ ] Approve new service Ts & Cs
    • [ ] Kexi – liaise on mailing list re testing issues…
    • [ ] Small updates to client web site
    • [ ] Database updates to client site
    • [ ] Layout work for high priority customer project (linked with CMS dev)
    • [ ] CMS development
      • [ ] Feature-freeze spec
      • [ ] Roadmap & assign target dates
      • [ ] Soft launch on test web site
    • [-] Complete additional web forms to service other business areas (really!)
    • [ ] Business web site changes –  higher priority
    • [ ] Complete SVN/Bugzilla integration project.
    • [ ] Networking event
    • [ ] Clarify new sales process
    • [ ] Re-evaluate financial goals for August/September and prioritise accordingly.Unplanned extras
    • Resolved a situation with web hosting accounts unable to access email.
    • Revised UML Use Cases and put into action for sales process revision.

    Life

    • [ ] Pick up files from a cool F/LOSS project and start documenting…
    • [ ] 2 swims – 1 mile each
    • [ ] Cook something “new”!
    • [ ] Social life: this week, it’s on Thursday! 🙂
    • [ ] Address issues with service providers
    • [ ] Finish the book Getting Things Done
    • If time, use orgmode in more of a GTD-style method

    Misc

    My life doesn’t revolve around the television.  I don’t watch any terrestrial broadcasts.  I am especially uninterested in “prime”-time offerings (e.g. soaps). Ugh.  Instead…