web analytics

Project complete (at least for the moment)

Written By: - Date published: 2:25 pm, February 28th, 2013 - 36 comments
Categories: admin, notices, The Standard - Tags:

Regular readers of this site will have been noticing my relative absence over the last few months. That was because we have been finishing off a project at work.

Well this morning the final release of the code (revision 6085) got stamped on to the first hardware off the production line. This afternoon they will be winging out of Auckland airport to destinations around the world and starting to earn income for both our company and for the country. Thousands more will follow over time.

More importantly this is the result not of the extraction of resources and mining of the soils. It is purely the result of pure intelligence and the teamwork of a diverse group of engineers, programmers, artists, prototypers, production, marketing, investors, and the crazy bugger with a vision. 

Anyway, I have that extremely rare thing in my life. I got told to head home and have some time off. An unscheduled day where I’m not just catching up on sleep. So I have been in to get the jeans in the back seat of my car chopped to the right size.  They have been floating in the car for the last three weeks. Got the overdue registration for the car done.

Now I’m thinking about the overdue maintenance work on this site and taking a few weeks “holiday” to do them. And yes fixing the damn re-edit is top of the list, closely followed by the wsiwyg comments editor, and re-enabling registration.

But to give you an idea of the project scale even on a small device like we have been building, I calculated the lines of code. It just records my side of the coding (and no I didn’t do all of it). The electronics detail, the hardware and design for the casing, and just the prep for the production all take just as much work. As does all of that finicky graphics work. There are a lot of people involved in such project. Some like me a permanents. Others are specialist contractors.

Anyway, this is by no means a complete picture as I restricted it to the c++, HTML, javascript, and CSS of the project as recorded in my slickedit workspace.

TOTAL PROJECTS: 24
TOTAL NUMBER OF FILES: 1342
TOTAL LINES OF CODE: 244712

And the time taken. I had some weeks off over the three xmas/new year periods, and I did stop for a week when I had a heart attack in 2011 before the wellwishers that Lyn and my sister were encouraging to visit me forced me back to work. But there is quite a lot of “holiday” time.

Duration calculation results

From and including: Monday, 31 May 2010
To and including: Thursday, 28 February 2013

It is 1005 days from the start date to the end date, end date included

Or 2 years, 9 months, 1 day including the end date

Alternative time units

1005 days can be converted to one of these units:

  • 86,832,000 seconds
  • 1,447,200 minutes
  • 24,120 hours
  • 143 weeks (rounded down)

Anyway, while we ramp up for the next product, you can expect to see maintenance work and more writeing commenting, and being *moderate* coming from me.

In the meantime, I think I might write a post for this shiny new login for The Daily Blog (which opens tomorrow) before I get dropped on to a airborne cattle truck in the morning to go to a wedding in Christchurch. Last wedding I went to was in 1987. That was a bit of a disaster after a few decades…

36 comments on “Project complete (at least for the moment)”

  1. Rogue Trooper 1

    5’10; Made In The Shade. (enjoy your sojourn)

  2. lprent 2

    From me? It has been coming down.

    Let me see…

    • Rogue Trooper 2.1

      quality before quantity ( a few Great Whites out there Blue)

    • lprent 2.2

      Chorus are having fun with my links today. Over the last few days we seem to be getting disconnects from the net all of the time. Part of the the bloody fibre rollout. Haven’t gotten a response from Orcon since I emailed a complaint in yesterday afternoon.

      Thank god I’m not working from home at present.

      Anyway, can’t keep a link open long enough to finish testing the query right now.

  3. geoff 3

    Can you say what the product is?

  4. Colonial Viper 4

    There’s nothing quite as thrilling as hitting a ‘go live’ or ‘ship day’. It’s quite awesome in fact.

    • lprent 4.1

      Yep. In my case being on tenderhooks for the last couple of days while it goes through final acceptance testing. Waiting the the gotcha bug to show up that requires a week to fix.

      The one we caught yesterday was like that.. It was (paraphrasing the code)


      if (vessel.target())
      {
      data::GeoPos::degrees cog = vessel.target()->COG();
      ......
      }

      Problem was that this a multi-threaded app, and it got replaced with


      boost::smart_ptr target = vessel.target();
      if (target)
      {
      data::GeoPos::degrees cog = target->COG();
      ......
      }

      Because it was quite feasible to have a target be destroyed in the model on the incoming thread between the test for existence and the access to a method. But storing in a local smart pointer means that cannot happen because the target method used a mutex to protect the creation of the pointer, and the pointer is reference counted.

      It crept in during some late changes to graphics filtering rules. Took a few hours to prove that it wasn’t in any other locations apart from the two that I found it in. A not quite paranoid enough programming error by someone more at home with circuits than strousoup

  5. Mark Fletcher 5

    You say;
    “More importantly this is the result not of the extraction of resources and mining of the soils. It is purely the result of pure intelligence and the teamwork of a diverse group of engineers, programmers, artists, prototypers, production, marketing, investors, and the crazy bugger with a vision. ”

    May I ask where the plastic, silicon, copper, fibreglass, glass and rubber to name a few components that went into what looks like a very good product came from?

    • McFlock 5.1

      most likely the bulk of it came from somewhere that doesn’t have a $15b tourism industry that has a tagline of “100% pure”.

      • Mark Fletcher 5.1.1

        Be that as it may. So it’s OK to “rape and pillage” other parts of the earth and then say that “the result not of the extraction of resources and mining of the soils” just because it didn’t happen here. The original statement is in the words of my grandfather is “Handling the truth in a careless manner”.

        • Colonial Viper 5.1.1.1

          the alternative is to opt out of the modern technological economy Mark.

          But don’t you agree that its better (for us, in the short term) that the pollution happens elsewhere and not here?

        • McFlock 5.1.1.2

          You confuse what I said for a NIMBY response.

          The value added in NZ was not from mining, but from intellectual endeavour: the “knowledge economy”. Remember that? It used to be big, before keyster and blinglish decided to save us with cycleways and sweatshops.

          Basically, the product managed to garner export earnings without compromising other (higher earning) industries. Unlike, for example, mining or dairy farming.

    • Colonial Viper 5.2

      Mark good point. However, the majority of the value of the product is in the IP, not in the plastic parts, circuit boards or shrink wrapping.

      The common denominator is actually the embodied energy of the final product.

    • lprent 5.3

      There is kind of scale difference between the dumb extraction of tonnes of phosphate from the soil every year and exporting it as milk or that dumb lignite briquitte proposal for Southland, and the minimal amounts of actual material we use.

      Talking about your inability to perceive scale, how does it feel for you to be both a mindless sperm AND a purportedly thinking human being.

  6. the sprout 6

    Congrats on the project completion lynn. I would love to see a standard banner/ home button at the bottom of the pg or right col

  7. MrSmith 7

    Lynn could you have a look at the comments editor as hasn’t been working for me for a while and I neeeeed it.

    • Draco T Bastard 7.1

      If you’d read the post you wouldv’e noticed this bit:

      And yes fixing the damn re-edit is top of the list, closely followed by the wsiwyg comments editor, and re-enabling registration.

  8. Paul Campbell 8

    what you waited for the software before you shipped the hardware? 🙂 I build VOIP stuff for the US market (I live in NZ) we build and ship our hardware long before the software is done but make sure it hits the upgrade servers the day the first box or handset hits the stores – makes for scary deadlines long hours and a faster time to market

    • lprent 8.1

      Different type of market to one that is on land and near a high speed net.

      Many of the first units out have long since been sold and are going directly to vessels. It gets quite hard to upgrade software when the download has to be done via satPhone (if you are lucky).

      Anyway the hardware completed its final testing on monday when the last of the materials arrived. The engineering on those is somewhat complicated by being a lot of RF. The only standard electronics in the assembly was the wee linux box that I was coding and its screen.

      • Colonial Viper 8.1.1

        I presume the RF engineering wasn’t done in-house, but was bought in?

        • lprent 8.1.1.1

          From what I understand much of it was in-house at board and antenna level. Chips? I have no idea. I have enough of a problem keeping up with the software systems..

      • Paul Campbell 8.1.2

        I also do firmware for RF handsets we do software update over the air, not a highspeed net CRCs duplicate copies of everything hot stageable backup copies etc etc one screw up and we have 200,000 bricks out there – update carefully and often makes for a continually improving product

        • lprent 8.1.2.1

          I use MD5’s at a 4k blocks for (in one case) 60MB of chart upgrade to linux. The same routine now handles a ~80kb upgrade to the firmware of the RF board which is far more dangerous. It spools it locally and then runs the same library code as the flasher routine to upgrade the RF board via internal serial.

          I bricked several units developing the linux update code. The first version acted as a proxy (usually TCP/IP to Linux to serial to RTOS) but the latency gave a some good bricks through timeouts. Spooling it worked a lot better because once I start upgrading that sucker I cannot walk backwards easily like I could with linux code. Damn thing controlled the power to linux and itself. You could wire it to shift modes – but I’m more interested in code than hacks.

          I don’t write RTOS code. I write for Linux. My system there doesn’t brick because it processes the update and flips links at the last stage. It keeps several old copies and the invariant booter code flips it back if the upgrade doesn’t work. Having a lot of cheap NAND makes things a bit easier.

          Sorry about the delay. Got dragged to a wedding. Sobering up now.

  9. Murray Olsen 9

    Thanks for your work, lprent. Even though I’m from from the raving loony Marxist left, I appreciate it.

  10. Descendant Of Sssmith 10

    The arm on the puppet needs to be adjusted. It needs to be bent like the rest of me.

    Some lyrics don”t even need adjusting.

    On the waves of the air,
    There is dancin out there.
    If it’s somethin we can share,
    We can steal it.

  11. ropata 11

    Hi, a couple more requests for the site
    – default font to something more modern e.g. Calibri
    – ability to click an author’s name and get their posts

    cheers

    • lprent 11.1

      The second one is already there. Just click on the authors name. The only one not working in Helen Kelly because I forgot to put in the .htaccess fixup.

      Or do you mean the comment authors? That won’t be hard.

Links to post

Recent Comments

Recent Posts

  • Government must clamp down on dodgy PTEs
    The Government must ensure all international students coming to New Zealand are legitimate after a survey of those approved in Mumbai found only 9 per cent had genuine intentions and met English language requirements, Labour’s Education spokesperson Chris Hipkins says.… ...
    14 hours ago
  • Government must clamp down on dodgy PTEs
    The Government must ensure all international students coming to New Zealand are legitimate after a survey of those approved in Mumbai found only 9 per cent had genuine intentions and met English language requirements, Labour’s Education spokesperson Chris Hipkins says.… ...
    14 hours ago
  • Chance to crack down on foreign speculators
    If John Key is serious about stopping foreign speculators driving house prices out of the reach of Kiwi families, he will support Labour’s Member’s Bill to ban offshore investors from buying existing homes, Labour’s Housing spokesperson Phil Twyford says. “My… ...
    14 hours ago
  • IRD had foreign trusts review on action plan
    The IRD was so ready to review foreign trusts it had the review on its action plan in November 2014, just before the Revenue Minister met with John Key’s lawyer, says the Leader of the Opposition Andrew Little. “The IRD… ...
    16 hours ago
  • IRD had foreign trusts review on action plan
    The IRD was so ready to review foreign trusts it had the review on its action plan in November 2014, just before the Revenue Minister met with John Key’s lawyer, says the Leader of the Opposition Andrew Little. “The IRD… ...
    16 hours ago
  • Child Youth and Family Review and Māori
    I wrote this blogpost sitting in Parliament listening to the Attorney General’s first reading speech on the Tauranga Moana Iwi Collective Redress and Ngā Hapū o Ngāti Ranganui Claims Settlement Bill. He has acknowledged the impact of colonisation that made… ...
    GreensBy Jan Logie
    17 hours ago
  • Rebuilding Christchurch – a lost opportunity?
    In rebuilding Christchurch, the city has a rare chance to build in a sustainable, creative and people-centred way. We can create a city that is so much more than a simple re-construction of buildings and transport links. Christchurch could be… ...
    GreensBy Eugenie Sage
    2 days ago
  • Rebuilding Christchurch – a lost opportunity?
    In rebuilding Christchurch, the city has a rare chance to build in a sustainable, creative and people-centred way. We can create a city that is so much more than a simple re-construction of buildings and transport links. Christchurch could be… ...
    GreensBy Eugenie Sage
    2 days ago
  • Minister must ensure 111 issue is fixed
    The Police Minister must ensure the 111 fault is fixed as an urgent priority as a 40 minute wait can be the difference between life and death, says Labour’s Police spokesperson Stuart Nash. “The Police have said the fault lies… ...
    2 days ago
  • New Zealand a world leader – in unaffordable housing
    The National Government has made New Zealand a world leader – in unaffordable housing, Labour’s Housing spokesperson Phil Twyford says. “The latest International Monetary Fund report shows New Zealand had the world’s second fastest growth in house prices at the… ...
    2 days ago
  • New Zealand a world leader – in unaffordable housing
    The National Government has made New Zealand a world leader – in unaffordable housing, Labour’s Housing spokesperson Phil Twyford says. “The latest International Monetary Fund report shows New Zealand had the world’s second fastest growth in house prices at the… ...
    2 days ago
  • Hospital meals making you sick
    I don’t know about you but I felt a bit sick watching Health Minister Jonathon Coleman eat supposed Dunedin hospital food last week.  Dunedin people have tolerated a crumbling hospital, lower access to services, longer waiting times and gross food… ...
    GreensBy Metiria Turei
    2 days ago
  • Hospital meals making you sick
    I don’t know about you but I felt a bit sick watching Health Minister Jonathon Coleman eat supposed Dunedin hospital food last week.  Dunedin people have tolerated a crumbling hospital, lower access to services, longer waiting times and gross food… ...
    GreensBy Metiria Turei
    2 days ago
  • Key needs to stop shifting and come clean
    John Key’s position on his lawyer’s offshore trusts lobbying has changed yet again with the Prime Minister admitting he told Todd McClay that Ken Whitney had approached him, says Labour’s Finance spokesperson Grant Robertson. “Yet again information has to be… ...
    2 days ago
  • Key needs to stop shifting and come clean
    John Key’s position on his lawyer’s offshore trusts lobbying has changed yet again with the Prime Minister admitting he told Todd McClay that Ken Whitney had approached him, says Labour’s Finance spokesperson Grant Robertson. “Yet again information has to be… ...
    2 days ago
  • Revolutionary art in Palmerston North
    Last night I was a judge at the May Day Cup, an annual theatrical event which celebrates International Workers Day. The event was organised by stalwart unionist Dion Martin and included a range of performers competing for the Cup. This year… ...
    GreensBy Catherine Delahunty
    3 days ago
  • Revolutionary art in Palmerston North
    Last night I was a judge at the May Day Cup, an annual theatrical event which celebrates International Workers Day. The event was organised by stalwart unionist Dion Martin and included a range of performers competing for the Cup. This year… ...
    GreensBy Catherine Delahunty
    3 days ago
  • Andrew Little visits Zaatari refugee camp
    Leader of the Opposition, Andrew Little, has visited the largest Syrian refugee camp in the world, Zaatari in Jordan, a day after seeing New Zealand troops at Camp Taji in Iraq. Mr Little spent several hours in the camp, meeting… ...
    4 days ago
  • Com Com’s Z Energy decision anti-competitive
    The Commerce Commission’s decision to allow Z Energy to buy Caltex can only undermine the competition in the fuel industry that is needed to ensure New Zealanders pay the lowest price for petrol, Labour’s Consumer Affairs spokesperson David Shearer says.… ...
    4 days ago
  • Com Com’s Z Energy decision anti-competitive
    The Commerce Commission’s decision to allow Z Energy to buy Caltex can only undermine the competition in the fuel industry that is needed to ensure New Zealanders pay the lowest price for petrol, Labour’s Consumer Affairs spokesperson David Shearer says.… ...
    4 days ago
  • OAG raps Govt over the knuckles on HNZ contracts
    The Government has been rapped over the knuckles by the Auditor General over its failure to properly manage $2.3m of contracts and conflicts of interest in relation to a merchant banker advising them on the state house sell-off, says Labour’s… ...
    5 days ago
  • OAG raps Govt over the knuckles on HNZ contracts
    The Government has been rapped over the knuckles by the Auditor General over its failure to properly manage $2.3m of contracts and conflicts of interest in relation to a merchant banker advising them on the state house sell-off, says Labour’s… ...
    5 days ago
  • Brownlee must step in as EQC spin exposed
    Gerry Brownlee needs to step in after EQC’s desperate spin in the wake of yesterday’s landmark settlement has been exposed by its own documents, says Labour’s Canterbury spokesperson Megan Woods. “Yesterday’s settlement showed that thousands of homes may not have… ...
    5 days ago
  • Brownlee must step in as EQC spin exposed
    Gerry Brownlee needs to step in after EQC’s desperate spin in the wake of yesterday’s landmark settlement has been exposed by its own documents, says Labour’s Canterbury spokesperson Megan Woods. “Yesterday’s settlement showed that thousands of homes may not have… ...
    5 days ago
  • OIO must explain Argentine pollution prosecutions
    The Overseas Investment Office (OIO)has questions to answer about how it safeguarded our sensitive land by allowing foreign investors with criminal prosecutions to purchase Onetai Station in Taranaki, says Labour’s Land Information spokesperson David Cunliffe.   “Rafael and Federico Grozovsky… ...
    5 days ago
  • Aussie banks in NZ should ban lending to offshore buyers
    ASB, Westpac and ANZ must confirm whether or not they will continue to fund the over-heated property market by lending to non-resident offshore home buyers, Labour’s Housing spokesperson Phil Twyford says. “This issue has arisen because their parent banks have… ...
    5 days ago
  • Aussie banks in NZ should ban lending to offshore buyers
    ASB, Westpac and ANZ must confirm whether or not they will continue to fund the over-heated property market by lending to non-resident offshore home buyers, Labour’s Housing spokesperson Phil Twyford says. “This issue has arisen because their parent banks have… ...
    5 days ago
  • Murray McCully needs to come clean over Tokelau ferry debacle
    Foreign Minister Murray McCully needs to come clean on why a New Zealand aid-funded vessel intended to service the Tokelau Islands is delayed, over budget and failed its sea trials, Labour’s Foreign Affairs spokesperson David Shearer says. “The new ship… ...
    5 days ago
  • Full independent inquiry needed to save New Zealand’s reputation
    Revelations that John Key's personal lawyer and trust advisor led a lobbying campaign to shut down a review of New Zealand's foreign trust regime makes the case for a full scale independent inquiry a matter of urgency, Labour's Finance spokesperson… ...
    5 days ago
  • Full independent inquiry needed to save New Zealand’s reputation
    Revelations that John Key's personal lawyer and trust advisor led a lobbying campaign to shut down a review of New Zealand's foreign trust regime makes the case for a full scale independent inquiry a matter of urgency, Labour's Finance spokesperson… ...
    5 days ago
  • Andrew Little visits NZ troops in Iraq and refugees in Jordan
    Opposition Leader Andrew Little has visited New Zealand troops at Camp Taji, Iraq. Mr Little also met with Iraqi Defence Minister Khaled Al-Obedih and senior military officials from the Coalition forces in Iraq. He now heads to Jordan to see… ...
    6 days ago
  • Workplace death toll still too high
    It’s a damning indictment on the Government that as workers gather to remember their lost workmates on Worker’s Memorial Day, New Zealand’s workplace death toll is still far too high, Labour’s Workplace Relations and Safety spokesperson Iain Lees-Galloway says. “At… ...
    6 days ago
  • Workplace death toll still too high
    It’s a damning indictment on the Government that as workers gather to remember their lost workmates on Worker’s Memorial Day, New Zealand’s workplace death toll is still far too high, Labour’s Workplace Relations and Safety spokesperson Iain Lees-Galloway says. “At… ...
    6 days ago
  • Minister must come clean on implications of landmark settlement
    Gerry Brownlee has urgent and serious questions to answer in the wake of today’s landmark EQC settlement, which potentially has major implications for thousands of Cantabrians, says Labour’s Canterbury spokesperson Megan Woods. ...
    6 days ago
  • Mossack Fonseca links to OIO approvals must be investigated
    The Minister for Land Information must investigate and disclose how many applications to the Overseas Investment Office (OIO) have links to Mossack Fonseca, says Labour’s Land Information spokesperson David Cunliffe. “Labour can now reveal the OIO approved an application from… ...
    6 days ago
  • Mossack Fonseca links to OIO approvals must be investigated
    The Minister for Land Information must investigate and disclose how many applications to the Overseas Investment Office (OIO) have links to Mossack Fonseca, says Labour’s Land Information spokesperson David Cunliffe. “Labour can now reveal the OIO approved an application from… ...
    6 days ago
  • Govt complacency leaves RB no room to cut
    The Government has put the economy in a holding pattern, leaving the Reserve Bank Governor with little room to manoeuvre as he tries to balance a rampant housing market with non-existent inflation, says Labour’s Finance spokesperson Grant Robertson. “Graeme Wheeler… ...
    6 days ago
  • Govt complacency leaves RB no room to cut
    The Government has put the economy in a holding pattern, leaving the Reserve Bank Governor with little room to manoeuvre as he tries to balance a rampant housing market with non-existent inflation, says Labour’s Finance spokesperson Grant Robertson. “Graeme Wheeler… ...
    6 days ago
  • Dam not out of doldrums yet
    Ruataniwha Dam promoters Hawke’s Bay Regional Investment Company (HBRIC) still has hurdles to clear and a lot of work to do before ratepayers and taxpayers will have confidence in the scheme, says Labour’s MP for Ikaroa-Rāwhiti Meka Whaitiri.“We need sustainable… ...
    6 days ago
  • New study shows Smith’s insulation fails Kiwi kids
    A new Otago University study shows Nick Smith’s inadequate insulation standards will see hundreds of children unnecessarily hospitalised for housing-related illnesses every year, Labour’s Housing spokesperson Phil Twyford says. ...
    7 days ago
  • Government out of touch on foreign trusts
    John Key’s poor handling of the foreign trusts issue is starkly revealed in a poll today which shows the majority of Kiwis are worried about the country being a tax haven and almost half think the issue has been badly… ...
    7 days ago
  • Government out of touch on foreign trusts
    John Key’s poor handling of the foreign trusts issue is starkly revealed in a poll today which shows the majority of Kiwis are worried about the country being a tax haven and almost half think the issue has been badly… ...
    7 days ago
  • Biggest trade deficit for 7 years a warning for Govt
    The biggest trade deficit for seven years shows the Government can’t be so complacent about the economy and must take action to diversify and encourage exports, says Labour’s Finance spokesperson Grant Robertson. “The biggest driver has been the fall in… ...
    7 days ago
  • Biggest trade deficit for 7 years a warning for Govt
    The biggest trade deficit for seven years shows the Government can’t be so complacent about the economy and must take action to diversify and encourage exports, says Labour’s Finance spokesperson Grant Robertson. “The biggest driver has been the fall in… ...
    7 days ago
  • Government’s record on climate change under fire
      The Royal Society’s latest report on climate change has made it clear that it believes the Government’s current approach to climate change is inadequate, says Labour’s spokesperson on Climate Change Megan Woods.  “The report, ‘Transition to a low-carbon economy… ...
    7 days ago
  • Government’s record on climate change under fire
      The Royal Society’s latest report on climate change has made it clear that it believes the Government’s current approach to climate change is inadequate, says Labour’s spokesperson on Climate Change Megan Woods.  “The report, ‘Transition to a low-carbon economy… ...
    7 days ago
  • Mainfreight director agrees with Labour on rail funding
    Richard Prebble – in the past accused of ruining rail and now a director of Mainfreight – agrees with Labour that secure funding for KiwiRail is the best way to minimise congestion in our major cities, says Labour’s SOEs spokesperson… ...
    7 days ago
  • Mainfreight director agrees with Labour on rail funding
    Richard Prebble – in the past accused of ruining rail and now a director of Mainfreight – agrees with Labour that secure funding for KiwiRail is the best way to minimise congestion in our major cities, says Labour’s SOEs spokesperson… ...
    7 days ago
  • Government to Reserve Bank – Rock or Hard Place?
    The Government’s complacency on the housing crisis and the economy has put the Reserve Bank Governor in a no-win position as he contemplates the OCR tomorrow, says Labour’s Finance spokesperson Grant Robertson. “Graeme Wheeler is stuck between a rock and… ...
    1 week ago
  • Government to Reserve Bank – Rock or Hard Place?
    The Government’s complacency on the housing crisis and the economy has put the Reserve Bank Governor in a no-win position as he contemplates the OCR tomorrow, says Labour’s Finance spokesperson Grant Robertson. “Graeme Wheeler is stuck between a rock and… ...
    1 week ago

Public service advertisements by The Standard

Current CO2 level in the atmosphere