web analytics
The Standard

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

  • Housing crisis hurting export growth
    If Steven Joyce wants to revive his failing export growth target he needs to make sure the Government gets to grips with the housing crisis, says David Parker, Labour’s Export Growth and Trade spokesperson. “Our exporters are struggling to compete… ...
    2 days ago
  • Gallipoli’s lesson: never forget, never repeat
     A special monument to one of our greatest war heroes should be a priority for the new Pukeahu National War Memorial Park, Labour Leader Andrew Little says.  “This will honour the spirit of Lieutenant Colonel William Malone, who led 760… ...
    2 days ago
  • Minister for who? Women, or Team Key?
    Louise Upston yesterday broke her silence on John Key’s repeated unwanted touching of a woman who works at his local café, to jump to the defence of her Boss. Upston repeated Key’s apology but, according to media reports “she refused… ...
    GreensBy Jan Logie MP
    2 days ago
  • Taxpayer bucks backing US billionaire
    Kiwis will be horrified to know they are backing a Team Oracle subsidiary owned by a US billionaire, Labour’s Sports and Recreation spokesperson Trevor Mallard says. It has been revealed today that a Warkworth boat building company, which is wholly… ...
    3 days ago
  • English’s sins of omission: ‘Nothing left to be done’ on housing
    When Bill English said ‘there is nothing left to be done’ on the Auckland housing crisis he had overlooked a few things – a few things, Labour’s Housing spokesperson Phil Twyford says.  “He’s right if you ignore: ...
    3 days ago
  • Climate change now hurts Kiwis
    Kiwis have twice been given timely and grave warnings on how climate change will hit them in their hip pockets this week, says Climate Change spokesperson Megan Woods.  “The first is the closure of the Sanford mussel plant and the… ...
    3 days ago
  • Clean, green and chocolate!
    Like many people I absolutely love chocolate! But until recently I hadn’t given much thought to how it was grown and produced. Fair trade and ethical food production are core Green Party principles, so yesterday Steffan Browning and I were… ...
    GreensBy Mojo Mathers MP
    3 days ago
  • National admits loan shark law not up to it
    National has admitted new laws to crack down on loan sharks, truck shops and dodgy credit merchants aren’t up to the task of protecting vulnerable consumers, Labour’s Commerce spokesperson Kris Faafoi says. “Paul Goldsmith has acknowledged the laws might just… ...
    3 days ago
  • Power and the Prime Minister
    I’d like to acknowledge the young woman* who has publically told her story. It was a very brave thing to do. She kept her story very simple and focussed on her experience of what happened. It told of unwanted attention… ...
    GreensBy Jan Logie MP
    3 days ago
  • Extra holiday offers time to reflect
    The Mondayisation of Anzac Day provides New Zealanders with an opportunity to spend more time with their families and their communities, Dunedin North Labour MP David Clark says. “This is the first time legislation I introduced, to have Anzac and… ...
    3 days ago
  • More angst and anguish for red zone locals
    Local residents will be bitterly disappointed by the Government’s cherry picking of the Supreme Court’s decision regarding compensation for red zoned property owners, Labour Canterbury Earthquake Recovery spokesperson and Port Hills MP Ruth Dyson says. “Home owners have taken all… ...
    4 days ago
  • Australia shows why we need a sovereign wealth fund now
    Australia has not managed its great mining boom well, says HSBC’s chief economist for Australia and New Zealand, Paul Bloxham. When times are good, governments need to save for the bad times that will inevitably follow, and this can be… ...
    GreensBy Russel Norman MP
    4 days ago
  • Pure Water- pure rip off
    New Zealanders’ rights to fresh water must be protected before commercial allocations are given, but the Government is allowing resources to be taken, says Kelvin Davis MP for Te Tai Tokerau.  “The Government needs to resolve the issue of water… ...
    4 days ago
  • Cabinet paper reveals weak case for Iraq deployment
    A heavily redacted copy of a Cabinet paper on New Zealand’s military deployment to Iraq reveals how weak the case is for military involvement in that conflict, says Labour’s Defence spokesperson Phil Goff.  The paper warns that given the failure… ...
    4 days ago
  • Malaysia’s booty is Kiwis’ lost homeownership dream
    It’s unsurprising the Auckland property market is so overheated when Malaysians are being told they can live large on Kiwi’s hard-earned rent money, Labour’s Housing spokesperson Phil Twyford says. “A Malaysian property website lists nearly 4000 New Zealand houses and… ...
    4 days ago
  • Ministry’s food safety resources slashed to the bone
    The Ministry for Primary Industries’ failure to monitor toxic and illegal chemicals in red meat is a dereliction of duty, Labour’s Primary Industries and Food Safety spokesperson Damien O’Connor says. “MPI compliance officer Gary Orr today admitted National’s much-vaunted super… ...
    4 days ago
  • Ministry must protect organic food industry
    The Ministry for Primary Industries must take urgent action to protect New Zealand’s $150 million organic food and beverage industry by establishing a certification regime, Labour’s Primary Industries spokesperson Damien O’Connor says. “Despite working with Organics Aotearoa on the issue… ...
    5 days ago
  • Tony Abbott, indigenous rights, and refugees
    This week, Tony Abbott has visited Aotearoa New Zealand, bringing with him his racist policies against indigenous Australians and his appalling record on refugee detention camps. Abbott has launched a policy “to close” remote aboriginal communities, which is about as… ...
    GreensBy Catherine Delahunty MP
    5 days ago
  • PM’s housing outburst bizarre
    Labour’s Housing spokesperson Phil Twyford has described the Prime Minister’s latest comments on the Auckland housing crisis as bizarre. “John Key is deep in denial. He must be one of the only people left who are not concerned about the risk… ...
    6 days ago
  • Deflation: Another economic headache linked to housing crisis
    National’s housing crisis is causing even further damage with the second consecutive quarter of deflation a genuine concern the Reserve Bank can do little about, as it focusses on Auckland house prices, says Labour’s Finance spokesperson Grant Robertson. “This is… ...
    6 days ago
  • Pot calling the kettle black over fossil fuel subsidies.
    Over the weekend alongside nine other countries the New Zealand Government has endorsed a statement that supports eliminating inefficient subsidies on fossil fuels. Fossil fuel subsidies are a big driver of increasing emissions. Good on the Government for working internationally… ...
    GreensBy Gareth Hughes MP
    6 days ago
  • At last – a common sense plan for Christchurch
    The Common Sense Plan for Christchurch released by The People’s Choice today is a welcome relief from the shallow debate about rates rises versus asset sales, Labour’s Christchurch MPs say. "Local residents – who have spent weeks trawling through the… ...
    7 days ago
  • National must lead by example on climate change
    The National Government must meet its own climate change obligations before it preaches to the rest of the world, Labour's Climate Change spokesperson Megan Woods says. "Calls today by Climate Change Minister Tim Groser for an end to fossil fuel… ...
    1 week ago
  • Biosecurity rethink a long time
    The Government has opened New Zealand’s borders to biosecurity risks and its rethinking of bag screening at airports is an admission of failure, Labour’s Primary Industries spokesperson Damien O’Connor says. Nathan Guy today announced a review of biosecurity systems in… ...
    1 week ago
  • Chinese rail workers must be paid minimum wage
    KiwiRail must immediately stop further Chinese engineers from working here until they can guarantee they are being paid the New Zealand minimum wage, Labour’s MP for Hutt South Trevor Mallard says. The Ministry of Business, Innovation and Employment today released… ...
    1 week ago
  • Better consultation needed on Christchurch asset sales
    The Christchurch City Council (CCC) should be promoting wide and genuine public consultation on its draft ten year budget and plan given the serious implications for the city’s future of its proposed asset sales, outlined in the plan. Instead, it… ...
    GreensBy Eugenie Sage MP
    1 week ago
  • ‘Healthy Families’ a good start but not enough to tackle obesity relate...
    Today the Government is making a the meal out of the launch of its ‘Healthy Families’ package to promote ‘healthier decisions’ and ‘changing mindsets’ over nutrition, physical activity and obesity. Great! The programme is based on a successful model from… ...
    GreensBy Kevin Hague MP
    1 week ago
  • ‘Healthy Families’ a good start but not enough to tackle obesity relate...
    Today the Government is making a the meal out of the launch of its ‘Healthy Families’ package to promote ‘healthier decisions’ and ‘changing mindsets’ over nutrition, physical activity and obesity. Great! The programme is based on a successful model from… ...
    GreensBy Kevin Hague MP
    1 week ago
  • No more sweet talk on obesity
    The Government should be looking at broader measures to combat obesity rather than re-hashing pre-announced initiatives, Labour’s Health spokesperson Annette King says.  “While it is encouraging to see the Government finally waking from its slumber and restoring a focus on… ...
    1 week ago
  • Government two-faced on zero-hour contracts
    The Government should look to ban zero-hour contracts in its own back yard before getting too high and mighty about other employers using them, Labour’s Health spokesperson Annette King says. “Information collated by Labour shows at least three district health… ...
    1 week ago
  • Scrutiny of battlefield deaths should continue
    As New Zealand troops head to Iraq under a shroud of secrecy, the Government is pushing ahead with legislation to remove independent scrutiny of incidents where Kiwi soldiers are killed in hostile action overseas, Labour’s Defence spokesperson Phil Goff says.… ...
    1 week ago
  • Damp-free homes a right for tenants
    Labour is urging tenants to use a little known rule which gives them the right to live in damp-free rental homes. Otago University researchers have today highlighted the Housing Improvement Regulations 1947 as a way tenants can force landlords to… ...
    1 week ago
  • National must take action on speculators
    The Government must take action on property speculators who are damaging the housing market and shutting families and young people out of the home ownership dream, Labour Leader Andrew Little says.  “There are a number of options the Government could… ...
    1 week ago
  • Milk price halves: A $7b economic black hole
    Global milk prices have halved since the peak last year, creating an economic black hole of almost $7 billion that will suck in regions reliant on dairy, crucial industries and the Government’s books, says Labour’s Finance Spokesperson Grant Robertson. “The… ...
    1 week ago
  • Kitchen plan set to swallow up health boards’ funds
    The financial impacts of implementing a proposal to outsource hospital food, forced on them by a crown-owned company which is now facing an auditor-general’s inquiry, are being felt by district health boards across the country, Labour’s Health spokesperson Annette King… ...
    2 weeks ago
  • Reserve Bank scathing of Government
    The Reserve Bank’s most scathing critique to date of National’s inability to handle the housing crisis shows the Bank is sick of having to pick up the pieces, Labour Leader Andrew Little says.  “John Key continues to deny there is… ...
    2 weeks ago
  • Time for McDonald’s to upsize work hours
    Labour is calling on McDonald’s to have more respect for their workers and offer them more guaranteed work hours. McDonald’s is proposing to guarantee its workers 80 per cent of their rostered hours, Labour’s spokesperson for Labour Issues Iain Lees-Galloway… ...
    2 weeks ago
  • Brownlee misses the boat on asbestos
    Gerry Brownlee has once again missed an opportunity to improve the lives of Cantabrians post-earthquakes, Labour’s Canterbury Earthquake Recovery spokesperson Ruth Dyson says. A new report from the Royal Society of New Zealand and the Prime Minister’s Chief Science Adviser,… ...
    2 weeks ago
  • Government must come clean on troop deployment and protections
    New Zealanders deserve more than to hear about their troops’ deployment overseas from Australian media, Opposition Leader Andrew Little says. “News from Australia that Kiwi troops are on their way to Iraq this week is another example of the culture… ...
    2 weeks ago
  • Cancer prevention calls gain momentum
    Research showing bowel cancer treatment sucks up more public health dollars than other cancers once again highlights the need for a national screening programme, Labour’s Health spokesperson Annette King says. A study by Otago University, which found colon cancer is… ...
    2 weeks ago
  • Burger King shows zero-hour contracts not needed
    The abandonment of zero-hour contracts by Burger King is further evidence good employers do not need to use them, Labour’s spokesperson on Labour Issues Iain Lees-Galloway says. "Congratulations to the Unite Union and Burger King for settling an employment agreement… ...
    2 weeks ago
  • Kiwis deserve more than reheats
    The Government looks set to rely on regurgitated announcements for this year’s Budget if today’s speech is anything to go by, Labour Leader Andrew Little says. “National has been building up to this Budget for seven long years, promising a… ...
    2 weeks ago
  • Landlords not cashing in on insulation schemes
    The fact so few landlords have taken up the generous taxpayer subsidy for retrofitting shows it is time to legislate minimum standards, says Labour’s Associate Housing spokesperson Poto Williams. “Many landlords aren’t using Government insulation schemes because they don’t want… ...
    2 weeks ago
  • Zero excuses, end zero hour contracts now
    It’s time Workplace Relations Minister Michael Woodhouse cut the weasel words and banned zero hour contracts, Labour Leader Andrew Little says. “Michael Woodhouse today acknowledged zero hour contracts are unfair. ...
    2 weeks ago
  • We’ve reached Peak Key with ‘artificial target’
    John Key’s attempt to redefine his cornerstone promise of two election campaigns as an artificial target suggests his other promises are works of fiction, says Labour’s Finance spokesperson Grant Robertson. “For seven years and two election campaigns, John Key has… ...
    2 weeks ago
  • Top 10 need to know facts on climate change
    All the numbers and stats around climate change can be confusing, so we’ve put together a handy list of the top 10 numbers about climate change that we should all know- and then do something about. You can sign up here to… ...
    GreensBy Frog
    2 weeks ago
  • Campbell Live a bastion of investigative journalism
    The announcement that current affairs programme Campbell Live is under review and may be axed has sparked outrage from the New Zealand public, for good reason, says Labour’s Broadcasting Spokesperson Clare Curran. “Investigative journalism is a precious resource in today’s… ...
    2 weeks ago
  • Ground Zero for ‘disastrous’ contracts
    Yesterday the Green Party called on the Government to follow the leadership of Restaurant Brands and ditch zero-hour contracts. Currently it looks like the Government is a large part of the zero-hours problem. It allows these types of “non-jobs” to… ...
    GreensBy Jan Logie MP
    2 weeks ago
  • Trust in National will disappear with deficit
    Bill English is set to break his promise to get the books back in the black this year and lose the trust of Kiwis who have had to do it too hard for too long, says Labour’s Finance spokesperson Grant… ...
    2 weeks ago
  • Dorothy Jelicich passes away
    It is with sincere sadness that the Labour Party conveys its sympathies and condolences to the bereaved family of Dorothy Jelicich who passed away last night at the age of 87 years, says the MP for Mangere, Su’a William Sio.… ...
    2 weeks ago

Public service advertisements by The Standard

Current CO2 level in the atmosphere