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

  • Budget ignores vital role of quality ECE
    Last night I watched a fascinating programme about the Otago University 45 year study of 1000 New Zealanders. It concluded that there are ways to intervene and support people who are at risk of becoming violent. One of the key… ...
    GreensBy Catherine Delahunty
    52 mins ago
  • More ice for Radio NZ in Budget
    Budget 2016 once again left our only public broadcaster, Radio NZ (RNZ), worse off. After eight years of funding freezes, you have to wonder if RNZ is being iced-out for ideological reasons. I believe public broadcasting is an important cornerstone… ...
    GreensBy Gareth Hughes
    8 hours ago
  • Fisheries inquiry must be widened to include Trident
    The Government must widen its inquiry into the Ministry for Primary Industries to include its awarding of a company owned by Sanford and Moana Pacific Fisheries to monitor commercial fishing vessels, Labour’s Fisheries spokesperson Rino Tirikatene says. The Ministry for… ...
    10 hours ago
  • Government spend up on state house sell off
    The Government has spent $28.9 million and has 129 officials working on its misguided state house sell-off, says Labour’s housing spokesperson Phil Twyford.  “This is a scandalous waste of taxpayers’ money on a policy that won’t deliver a single extra… ...
    1 day ago
  • Housing crisis has huge impact on education
    The National Government’s failure to get on top of the housing crisis is having a major impact on the quality of education a lot of school kids are getting, Labour’s Education spokesperson Chris Hipkins says.  “There are thousands of kids… ...
    1 day ago
  • Minister celebrates while arts organisations face cuts
    Maggie Barry was full of self-congratulations for her small arts announcement in the budget, ignoring the pain that a large number of organisations are facing due to her inaction, says Arts, Culture, Heritage spokesperson Jacinda Ardern.  “The Budget delivered a… ...
    1 day ago
  • Regions miss out again in Joyce’s Koru Lounge Fund
      The regions have missed out yet again with Steven Joyce offering just $10m a year for key regional development projects while trumpeting a bunch of re-heated announcements, says Labour’s Economic Development spokesperson David Clark. “The dairy downturn has put… ...
    2 days ago
  • Children’s Commissioner misses out in Budget
      The Office of the Children’s Commissioner has missed out on a much needed boost in this year’s Budget, meaning they will be forced to continue their reduced monitoring role of CYFs residences, says Labour’s spokesperson for Children Jacinda Ardern. … ...
    2 days ago
  • Communities miss out in Budget
    Budget 2017 has left community and NGO providers feeling exposed about the services they provide to vulnerable families especially in smaller towns and communities, says Labour’s Whānau Ora Spokesperson Nanaia Mahuta. “Approximately $40m will go into Whānau Ora to work… ...
    3 days ago
  • Budget2016: Two Worlds
    Sometimes I feel as if I live in two worlds. The world created by the National Government where everything is great and they’re doing a great job and the world as seen through the eyes of child advocates, community workers,… ...
    GreensBy Jan Logie
    3 days ago
  • Parekura would be proud – MTS gets boost
    The Labour Party is ecstatic that the Māori Party have shown support for one of Labour’s proudest policies, says Labour’s Māori Broadcasting Spokesperson Peeni Henare.  “The Māori Television Service was launched in 2004 by the late Hon Parekura Horomia. ...
    3 days ago
  • Māori housing in state of emergency
    The Government needs to declare a state of emergency for Māori Housing, says Labour’s Māori Development spokesperson and Te Tai Tokerau MP Kelvin Davis. “The extra $3 million a year Māori Housing Network fund will not scratch the surface in… ...
    3 days ago
  • State house sell off in disarray after provider pulls out
     The Government should cancel its planned sell-off of state houses after the second big community housing provider pulled out leaving the process in disarray, says Labour’s Housing spokesperson Phil Twyford.  “It is time for the Government to back away from… ...
    3 days ago
  • Nothing in Budget to help police to solve crime
    The Police Minister has failed to make communities safer with virtually no new money in yesterday’s Budget for police to address the appalling burglary resolution rates, says Labour’s Police spokesperson Stuart Nash.  “It’s a disgrace there’s no money or aspiration… ...
    3 days ago
  • Blog – Budget 2016: What about ordinary working people?
    Ordinary working New Zealanders don’t fare very well from this Budget. Setting aside the spin from the Government, it contains a lot to be concerned about and a fudging of the numbers. Green Party workplace relations spokesperson Denise Roche For… ...
    GreensBy Denise Roche
    3 days ago
  • Real wages go backwards for next two years
    New Zealanders’ real wages will fall for the next two years as the cost of living outpaces forecast pay rises, says Leader of the Opposition Andrew Little. “New Zealanders have been doing it tough for far too long. They expect… ...
    3 days ago
  • The Attack on Public Education – by a thousand cuts
    Budget 2016 is another step towards the free public education system being a memory from the past. The Budget freezes the operations grant for schools and does not sufficiently cover the real increase in numbers of students entering the education system.… ...
    GreensBy Catherine Delahunty
    3 days ago
  • The Attack on Public Education – by a thousand cuts
    Budget 2016 is another step towards the free public education system being a memory from the past. The Budget freezes the operations grant for schools and does not sufficiently cover the real increase in numbers of students entering the education system.… ...
    GreensBy Catherine Delahunty
    3 days ago
  • The give with one hand – take with the other Budget
    The Minister of Health has pumped out media releases to 20 District Health Boards heralding increases in funding for their regions, says Labour’s Health spokesperson Annette King. “But when you add population growth and inflation into the figures you get… ...
    3 days ago
  • Budget offers no hope of fixing housing crisis
    The Budget’s underwhelming housing measures will give New Zealanders no hope that National is capable of fixing the housing crisis, Labour’s Housing spokesperson Phil Twyford says. “There isn’t a scrap of an idea to help desperate young Kiwi families into… ...
    3 days ago
  • How the budget fails new New Zealanders
    Greens co-leader James Shaw was absolutely correct to say the 2016 budget is just papering over the cracks. There’s nothing in this budget to increase wages, address inequal pay for carers or deal with the shocking pay rates and employment… ...
    GreensBy Denise Roche
    4 days ago
  • Parents will pay more as school budgets frozen
    Parents will pay more for their kids’ education as a result of this year’s Budget after the Government froze operational funding for schools, Labour’s Education spokesperson Chris Hipkins says. “This means schools are effectively going backwards. They will need to… ...
    4 days ago
  • Sticking Plaster Budget fails the test
    Bill English’s penultimate Budget fails to tackle the structural challenges facing the economy – a housing crisis, rising unemployment, underfunded health and creaking infrastructure, says Labour’s Finance spokesperson Grant Robertson. “This Budget applies a sticking plaster to a compound fracture.… ...
    4 days ago
  • John Key fails middle New Zealand with no fix for housing crisis, more underfunding of health
    Middle New Zealand has again missed out in this year’s Budget with not a single fix for the housing crisis, and health and education woefully underfunded again, Leader of the Opposition Andrew Little says. “This Budget is just a patchwork… ...
    4 days ago
  • Labour Bill would back Kiwi jobs
    The Government’s $40 billion of buying power would go towards backing Kiwi businesses and jobs under a Labour Member’s Bill which will be debated by Parliament, Leader of the Opposition Andrew Little says. “My Bill – which was pulled from… ...
    4 days ago
  • Julie Anne Genter: My Budget 2016 wish is fairness
    When my parents first visited me in Auckland ten years ago, they remarked on how there were no homeless people on the streets. Coming from Los Angeles, they were used to seeing the impacts of horrendous inequality and a lack… ...
    GreensBy Julie Anne Genter
    4 days ago
  • Steffan Browning: Pesticide reduction and Organic Growth Strategy in Budget 2016
    Pesticide reduction The Budget is an opportunity for the Government to launch a pesticide reduction strategy that multiplies the Environmental Protection Authority’s (EPA) and the Ministry for Primary Industries’ capacity to reassess pesticides and other toxins.  The Agricultural Compounds and… ...
    GreensBy Steffan Browning
    4 days ago
  • Steffan Browning: Pesticide reduction and Organic Growth Strategy in Budget 2016
    Pesticide reduction The Budget is an opportunity for the Government to launch a pesticide reduction strategy that multiplies the Environmental Protection Authority’s (EPA) and the Ministry for Primary Industries’ capacity to reassess pesticides and other toxins.  The Agricultural Compounds and… ...
    GreensBy Steffan Browning
    4 days ago
  • Minister won’t fess up on wrong figures
    The Minister of Health was caught out telling porkies in Parliament today when he was asked about the number of people getting access to mental health and addiction services, says Labour’s Health spokesperson Annette King. ...
    5 days ago
  • Budget 2016 and our LGBTQI communities
    LGBTI people make up about a tenth of our population, and our communities face a unique set of needs and challenges. These challenges are caused or exacerbated by discrimination, invisibility and barriers to appropriate support. We have a long way… ...
    GreensBy Jan Logie
    5 days ago
  • Budget 2016 and our LGBTQI communities
    LGBTI people make up about a tenth of our population, and our communities face a unique set of needs and challenges. These challenges are caused or exacerbated by discrimination, invisibility and barriers to appropriate support. We have a long way… ...
    GreensBy Jan Logie
    5 days ago
  • Scrambled announcement policy on the hoof
    Paula Bennett’s scrambled desperate announcement that she will pay homeless people to move to the regions is just the latest evidence of the disarray this Government’s housing policy is in, Leader of the Opposition Andrew Little says. “This is policy… ...
    5 days ago
  • Police Minister admits resolution rates fall short of expectation
    Police Minister Judith Collins has admitted in Parliament current burglary resolution rates are not meeting the expectations of our communities, says Labour’s Police spokesman Stuart Nash “Out of 284 police stations in New Zealand in 2015, 24 stations recorded zero… ...
    5 days ago
  • Mojo Mathers: A better deal for animals in Budget 2016
    Currently we are failing animals in NZ. On the face of it farmed and domestic animals in this country have strong legal protection from abuse, cruelty and neglect. In reality it seems that only the very worst, most extreme cases… ...
    GreensBy Mojo Mathers
    5 days ago
  • Metiria Turei: What we need from Budget 2016
    Every family deserves a warm decent home.  Everyone believes that. This housing crisis is just the latest consequence of a Government who puts the interests of the few wealthy people above the needs of NZ families.  Families are doing it… ...
    GreensBy Metiria Turei
    5 days ago
  • Dairy exports fall of 11%: Budget action on diversification needed
    Dairy exports have fallen 11 per cent compared to this time last year, a fall of almost $1.5b, showing the Government must take clear action on diversifying the economy in tomorrow’s Budget, says Labour’s Trade and Export Growth spokesperson David… ...
    5 days ago
  • Investors driving families out of homes in South and West Auckland
    Investors cashing in on skyrocketing Auckland house prices are driving families out of homes in South and West Auckland and causing homeownership rates in some of our poorest suburbs to plummet, Labour’s Housing spokesperson Phil Twyford says. “New analysis shows… ...
    5 days ago
  • Budget must deliver on paid parental leave
    Budget 2016 must deliver 26 weeks paid parental leave by April 2018 – anything less will be short-changing families, says Labour MP Sue Moroney. “My Bill which is before Parliament this afternoon has majority support and does just that. I… ...
    5 days ago
  • Key’s “brain fart” on tax cuts news to English
    John Key didn’t tell his own Finance Minister he was about to go on radio and announce he wanted $3b of tax cuts, just days after Bill English ruled them out, says Labour’s Finance spokesperson Grant Robertson. “In Parliament today… ...
    6 days ago
  • What I’m looking for in Budget 2016 – A better start for our tamariki
    Ensuring the best start for our tamariki is a priority for me in everything I do. And so in Budget 2016, my first budget as an MP, I looking for the Government to make a real investment in the wellbeing… ...
    GreensBy Marama Davidson
    6 days ago
  • What I’m looking for in Budget 2016 – A better start for our tamariki
    Ensuring the best start for our tamariki is a priority for me in everything I do. And so in Budget 2016, my first budget as an MP, I looking for the Government to make a real investment in the wellbeing… ...
    GreensBy Marama Davidson
    6 days ago
  • Denise Roche: What I’m looking for in Budget 2016 Pt II
    Aotearoa’s new New Zealanders,  come to our country in vulnerable position: – often away from the culture, communities and families they know, sometimes in neighbourhoods without familiar faces and often encountering barriers to employment. With net migration at 50,000+ a… ...
    GreensBy Denise Roche
    6 days ago
  • Equal Pay and Budget 2016
    The last few years we’ve seen equal pay for women flagged as an undefined risk in the budget. This year we should expect to see this, as well as budgeted money to deliver equal pay to caregivers and funding for,… ...
    GreensBy Jan Logie
    6 days ago
  • Equal Pay and Budget 2016
    The last few years we’ve seen equal pay for women flagged as an undefined risk in the budget. This year we should expect to see this, as well as budgeted money to deliver equal pay to caregivers and funding for,… ...
    GreensBy Jan Logie
    6 days ago
  • A great Budget would
    A great Budget would embrace the challenge of our polluted rivers and move the money away from justifying the status quo water rules into cleaning up waterways. A great Budget would take the Ministry for the Environment freshwater budget and… ...
    GreensBy Catherine Delahunty
    6 days ago
  • Budget building materials policy backfires
    On the eve of this year’s Budget official figures show Nick Smith’s Budget 2014 centrepiece to reduce the cost of building materials has backfired, says Labour’s Housing spokesperson Phil Twyford. “Ministry of Business, Innovation and Employment officials have spent the… ...
    6 days ago
  • Smarter, Better, Cleaner, Stronger
    This Thursday Bill English will deliver his eighth Budget. Will it continue the trend of previous National budgets, making tertiary education less affordable, putting only token funds into innovation, and subsidising polluters? Budgets aren’t what they used to be. Once… ...
    GreensBy Gareth Hughes
    6 days ago
  • Govt must come clean on tax cuts in Budget
    National is making a mockery of the Budget process by dangling the promise of tax cuts but failing to include them in the Budget, says Labour’s Finance spokesperson Grant Robertson. “National’s tax cut promises have turned into a farce. One… ...
    1 week ago
  • Grant Robertson Pre-Budget Speech
    Today I want to talk about success. As we know success can come in many different forms, from the fact you all made it here at such an early hour on a Monday, for which I am very grateful, to… ...
    1 week ago
  • Budget must deliver for middle New Zealand
    The Government must ensure next week’s Budget stops the squeeze on middle New Zealand and delivers shared prosperity for all New Zealanders, Leader of the Opposition Andrew Little says. The call follows new research commissioned by Labour that shows working… ...
    1 week ago

Public service advertisements by The Standard

Current CO2 level in the atmosphere