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

  • Saudi sheep deal still stinks
    Documents released today confirm Treasury were not aware of any threat of legal action from a Saudi businessman to justify the Government handing over millions of dollars in taxpayers’ money, Labour MP David Parker says. “Almost $12 million has been ...
    16 hours ago
  • Assaults up over the past year
    The Government needs to take a good look at the latest statistics  out today from the Statistics Department that shows there were 3,000 more assaults in 2015-16 than the previous year, says Labour’s Police spokesperson Stuart Nash.  “That  is a ...
    17 hours ago
  • More last minute policy from a Government with no housing plan
    Paula Bennett’s policy to fund $9 million worth of support services is much-needed help for the homeless but smacks of yet another last minute, short-sighted and piecemeal decision, Leader of the Opposition Andrew Little says. “Funding services for two years ...
    20 hours ago
  • SFO given more info on ex Ministry staffer
    More information on the background and past activities of a former senior Ministry of Transport manager, being investigated for alleged fraud, is coming to light, Labour’s Transport Spokesperson Sue Moroney says. “Today, I have ensured that information on Joanne Harrison’s ...
    23 hours ago
  • Petition for free vote on Shop Trading Hours Bill
    “Labour is petitioning the Government to allow National Party MPs to have a free vote over Easter shop trading legislation, says Pacific Island Affairs spokesperson Su’a William Sio.  “The Bill which allows shop trading on Easter Sundays has just had ...
    2 days ago
  • Council must build on heritage, not destroy it
    Auckland Council must move to ensure there are heritage protections in place following recommendations that demolition restrictions be tossed out, Labour’s Arts, Culture and Heritage spokesperson Jacinda Ardern says. The panel considering the Unitary Plan has recommended removing partial protections ...
    2 days ago
  • Numbers of Māori waiting for homes grows
    With the number of Māori households waiting for homes increasing by more than 20 per cent in the past year, it’s time the Māori Party admits its support of the Government’s state house sell-off has made life worse for whānau, ...
    2 days ago
  • Children’s ministry, but only for some
    The Government is stigmatising a whole cohort of young New Zealanders while leaving others behind with its creation of a Ministry for Vulnerable Children, Labour’s Children’s spokesperson Jacinda Ardern says. “Confirmation of the move by Hekia Parata, an acting Minister, ...
    2 days ago
  • QUESTIONS FOR (ORAL) ANSWER – Thursday 28TH OF JULY
    While Parliament might be in recess, there are still plenty of things that Ministers need to answer for. So the Labour team has put together six of the best questions that the Government should be answering today (plus a special ...
    2 days ago
  • Fee fi fo fum…tax swindle comes undone
    At the same time the Government is looking to pump more cash into private schools the IRD is investigating several over a tax swindle which allows parents to falsely claim private school fees as donations and claim a rebate, Labour’s ...
    2 days ago
  • Government scuppers affordability requirements
    The Government must explain why the panel considering Auckland’s unitary plan removed affordability requirements at the behest of the Ministry of Business, Innovation and Employment and Housing NZ, Leader of the Opposition Andrew Little says. “Labour welcomes the Independent Hearing ...
    3 days ago
  • National pushes on with failed state house sell-off
    Merchant bankers, overseas companies and property developers will be lining up to buy 364 state houses in Horowhenua during two days of “market sounding” meetings starting tomorrow, Leader of the Opposition Andrew Little says. “Despite a housing crisis and families ...
    3 days ago
  • QUESTIONS FOR (ORAL) ANSWER- WEDNESDAY 27TH OF JULY
    While Parliament might be in recess, there are still plenty of things that Ministers need to answer for. So the Labour team has put together six of the best questions that the Government should be answering today (plus a special ...
    3 days ago
  • Andrew Little’s International Affairs Speech
    Tena Koutou Katoa Can I begin by acknowledging: Sir Doug Kidd, President, NZ Institute of International Affairs Maty Nikkhou-O’Brien, Executive Director, who did all the organising for today’s event. Labour’s foreign affairs spokesperson David Shearer. Victoria University of Wellington law ...
    3 days ago
  • Inquiry into surgical mesh needed now
    The Government must urgently launch a Ministerial inquiry into surgical mesh after more than 500 patients have lodged claims of complications with the ACC, say Labour’s Health spokesperson Annette King.  “This is the most widespread crisis involving surgical devices in ...
    3 days ago
  • Crime on the increase yet again
    Police Minister Judith Collins’ contention that crime is falling has proven to be wrong yet again, with latest Police statistics showing an increase in most crimes, Labour’s Police spokesperson Stuart Nash says. “Figures for June 2016 show an increase in ...
    4 days ago
  • Major reform of careers and apprenticeships to meet Future of Work
    The next Labour Government will transform careers advice in high schools to ensure every student has a personalised career plan, Leader of the Opposition Andrew Little says. “Today I am announcing the next Labour Government will commit to a major ...
    4 days ago
  • DOC struggles on the pest front undermine Nats’ predator-free promise
    The Government’s planned predator-free initiative comes at the same time as the Department of Conservation is facing major challenges to keep pest numbers down, says Labour’s Conservation spokesperson Nanaia Mahuta.  “DOC’s annual report shows it failed on 5 out of ...
    4 days ago
  • QUESTIONS FOR (ORAL) ANSWER- TUESDAY 26TH OF JULY
    While Parliament might be in recess, there are still plenty of things that Ministers need to answer for. So the Labour team has put together six of the best questions that the Government should be answering today (plus a special ...
    4 days ago
  • Unfunded CYF a ticking time bomb
    The Ministry of Social Development is sitting on a ticking time bomb with Child, Youth and Family out of pocket by $56 million despite increased demand for its services, Labour’s Children’s spokesperson Jacinda Ardern says. “The new entity that’s replacing ...
    4 days ago
  • Lack of any real funding in predator free proposal
    Predator Free New Zealand is a laudable idea but the Government has not committed any real money into killing New Zealand’s pests, says Labour’s Conservation spokesperson Nanaia Mahuta.  “The $28 million earmarked for this project is just to set up ...
    5 days ago
  • Andrew Little Speech to LGNZ Conference
    Thank you for having me here today. Local Government New Zealand’s work of advocating for New Zealand’s 78 local councils is critical as we upgrade New Zealand’s economy, and make sure it’s delivering for all our people. Whether in Auckland, ...
    5 days ago
  • John Key must sack out-of-depth Trade Minister
    The Prime Minister must sack Todd McClay for failing to do his job as Trade Minister and be on top of a significant potential threat to some of our biggest exporters, Opposition Leader Andrew Little says. “Todd McClay is clearly ...
    5 days ago
  • 45,000 Kiwis sent back to their GPs
    Last year nearly 45,000 Kiwis were sent back to their GPs without getting to see specialists they were referred to, says Labour’s Health spokesperson Annette King. “This is a shocking figure and underlines how far the cut of $1.7 billion ...
    5 days ago
  • Half a million smells like pure cronyism
    The National/ACT Government’s decision to pump hundreds of thousands of taxpayer dollars into a new lobby group to advocate for charter schools shows just how much of a failure their ideological experiment has become, Labour’s Education spokesperson Chris Hipkins says. ...
    5 days ago
  • Select committee changes Kermadec/Rangitāhua Ocean Sanctuary Bill
    Photo by Tom Hitchon Parliament’s Local Government and Environment Committee has made many changes to the Kermadec/Rangitāhua Ocean Sanctuary Bill in response to public submissions, particularly submissions from iwi authorities and Te Ohu Kaimoana.   Read the amended Bill and the ...
    GreensBy Eugenie Sage
    7 days ago
  • Housing map a hit as crisis spreads across NZ
    More than 55,000 New Zealanders have used Labour’s interactive housing map in its first week to see how the housing crisis is affecting their local community, Labour Housing spokesperson Phil Twyford says. “Our innovative map shows the housing crisis is ...
    1 week ago
  • Bridges must come clean about fraud within transport
    Hundreds of thousands of dollars of public money have gone missing and  the Minister of Transport, Simon Bridges must come clean after the Labour party revealed that a senior manager is being investigated for serious fraud, says Labour’s Transport Spokesperson ...
    1 week ago
  • Labour supports Spencer victory
    Labour congratulates Margaret Spencer for her tireless efforts in challenging the Government over family carer rights, says Labour’s Deputy Leader Annette King. ...
    1 week ago
  • US Warship visit welcomed by Labour
    Labour sees the United States warship visit as a red letter day for New Zealand’s non-nuclear status, which is core to our identity and has defined us a nation for 30 years, says Labour’s Deputy Leader Annette King. ...
    1 week ago
  • Time for honest dairy sector conversation
    ...
    1 week ago
  • What next? Dog kennels?
    Social Housing Minister Paula Bennett needs to explain why the Government thinks it is acceptable for it to refer families to live in garages and sheds, says Labour’s Housing spokesperson Phil Twyford. “This is a new low, just when you ...
    1 week ago
  • Banks bust a move, Government possum in the headlights
    Three of the big four banks have acted responsibly by bringing the shutters down on property speculators earlier than required by the Reserve Bank, says Labour’s housing spokesperson Phil Twyford. “It’s a shame the Government isn’t as motivated to act ...
    1 week ago
  • Latest OECD dairy forecast raises serious questions for economy
    The latest global dairy price forecast shows that New Zealand dairy farmers will not reach a break-even payout before 2019 at the earliest, and will not reach the dairy price factored into this year’s Budget until after 2025, Labour’s Finance spokesperson ...
    1 week ago
  • National’s reckless, out of touch approach to economy exposed
    Today’s economic assessment from the Reserve Bank highlights the danger to the New Zealand economy from a National government that is recklessly complacent in the face of a housing crisis and a struggling export sector, Labour’s Finance spokesperson Grant Robertson says. ...
    1 week ago
  • GP’s visits get more expensive
      Visiting the GP is set to become more expensive after the Government ignored warnings that people were not receiving access to affordable  healthcare, says Labour’s Health spokesperson Annette King.  “Over 400,000 New Zealanders who should be able to access ...
    2 weeks ago
  • Farm prices bear brunt of dairy downturn
    The slump in dairy prices that has seen farm prices drop to their lowest level since 2012 and down a third from their peak in 2014 will be of concern to farmers, banks and our overall financial stability, Labour’s Finance ...
    2 weeks ago
  • Reserve Bank “gets on with it”, National carries on in denial
    The proposal by the Reserve Bank to tighten loan to value ratios for investors shows they are prepared to do their bit to crack down on speculators, while National is still stuck in denial mode, Labour’s Finance spokesperson Grant Robertson says. ...
    2 weeks ago
  • Housing crisis holds up interest rate cuts
    The housing crisis that National still wants to deny is stifling the New Zealand economy, says Labour’s Finance Spokesperson Grant Robertson. “The latest Consumers Price Index shows that all prices excluding housing and household utilities decreased 0.5 per cent – ...
    2 weeks ago
  • Housing crisis holds up interest rate cuts
    The housing crisis that National still wants to deny is stifling the New Zealand economy, says Labour’s Finance Spokesperson Grant Robertson. “The latest Consumers Price Index shows that all prices excluding housing and household utilities decreased 0.5 per cent – ...
    2 weeks ago
  • Govt’s state house sell-off ramping up
    Government plans to ramp up the state house sell-off by selling another 1000 houses in 2016/17 will mean more families in need missing out, says Leader of the Opposition Andrew Little. “New figures show the Government plans to sell 1000 ...
    2 weeks ago
  • Govt’s state house sell-off ramping up
    Government plans to ramp up the state house sell-off by selling another 1000 houses in 2016/17 will mean more families in need missing out, says Leader of the Opposition Andrew Little. “New figures show the Government plans to sell 1000 ...
    2 weeks ago
  • National must reassure exporters on dumping case
        The National Government needs to show our key exporters that they are in control of any anti-dumping case against China before it damages some of our most important industries, Labour’s Finance spokesperson Grant Robertson says.     ...
    2 weeks ago
  • National must reassure exporters on dumping case
        The National Government needs to show our key exporters that they are in control of any anti-dumping case against China before it damages some of our most important industries, Labour’s Finance spokesperson Grant Robertson says.     ...
    2 weeks ago
  • Papers describe litany of incredulity
    Treasury documents which slate the Government’s plans for a national bowel screening programme confirm the proposal was nothing more than a political stunt to cover up underfunding of the health sector, Labour’s Health spokesperson Annette Kings says.  The papers were ...
    2 weeks ago
  • Effect of rampant house prices widens
    The latest house price figures from REINZ show the housing crisis expanding throughout the country, says Labour’s Housing spokesperson Phil Twyford. “We are seeing steep increases in median house prices in Central Otago Lakes – up 42.4% in the last ...
    2 weeks ago
  • Public invited to have say on homelessness
    People who are homeless, those who were once homeless, those working with the homeless and concerned New Zealanders are being asked to share their experiences and solutions to this growing issue with the Cross-Party Homelessness Inquiry. This inquiry was launched ...
    2 weeks ago
  • Sorry seems to be the hardest word
    An apology from Hekia Parata to the people of Christchurch is long overdue, Labour's Education spokesperson Chris Hipkins says. "As if the earthquakes weren't traumatic enough, Hekia Parata and the Ministry of Education then attacked the one thing that had ...
    2 weeks ago
  • Housing crisis affecting more than 98 per cent of NZ
    Labour’s new housing map shows the housing crisis is now affecting more than 98 per cent of New Zealand, Leader of the Opposition Andrew Little says. “Housing pressures have seen house prices rise faster than wages in all but four ...
    2 weeks ago
  • Uber might not be a taxi firm but it must pay tax
    Uber needs to explain how it paid only $9000 in tax when it earned $1m in revenue and is one of the fastest growing companies in the country, says Labour’s Finance spokesperson Grant Robertson. “Uber New Zealand appears to be ...
    2 weeks ago

Public service advertisements by The Standard

Current CO2 level in the atmosphere