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

  • Government fees will hit charities hard
    National’s decision to ignore the concerns of charities will see the voluntary sector face hundreds of thousands of dollars in new costs if the Policing (Cost Recovery) Amendment Bill passes, says Labour's Community and Voluntary Sector spokesperson Poto Williams. “National’s… ...
    1 hour ago
  • Four out of ten for Simon’s Bridges
    The Transport Authority’s decision to fund only four of the 10 bridges promised in National’s shameless Northland by-election bribe is a huge embarrassment for Transport Minister Simon Bridges, Labour’s Transport spokesperson Phil Twyford says. “After one by-election poll showed they… ...
    2 hours ago
  • Falling consents adding to Auckland housing woes
    Falling numbers of building consents being issued in Auckland will add to the city’s housing shortfall and fuel skyrocketing house prices, Labour’s Housing spokesperson Phil Twyford “The Productivity Commission found there was a shortfall of around 32,000 houses by the… ...
    4 hours ago
  • So Mr English, do you have a plan?
    DIpping confidence about jobs, wages and shrinking exports are highlighting the lack of a plan from the government to diversify the economy and build sustainable growth, Grant Robertson  Labour’s Finance Spokesperson said. " Data released over the last week… ...
    6 hours ago
  • Serious risks to tenants and assets in sell-off
    Overseas evidence shows there are serious risks around the Government's plan to sell off state houses to social housing providers, Opposition Leader Andrew Little says. “In the Netherlands – where community housing providers supply the majority of social housing –… ...
    9 hours ago
  • Land of milk and money
    Kiwi families are paying over the top prices for their milk and someone is creaming off big profits, says Labour’s Consumer Affairs spokesperson David Shearer. “In 2011 the Government told us high New Zealand milk prices were a natural result… ...
    2 days ago
  • MoBIE largesse doesn’t stop with TVs and hair-straighteners
    The number of MoBIE staff earning more than $150,000 has risen 23 per cent in just a year, Labour’s Economic Development Spokesperson David Clark says. Documents obtained from the Ministry of Business, Innovation and Employment show there are now nearly… ...
    2 days ago
  • English wants to flog state houses to Aussies
    Bill English’s admission that he would sell hundreds of New Zealand’s state houses to the Australians is the latest lurch in the Government’s stumbling, half-baked housing policy, Labour’s housing spokesperson Phil Twyford says. “Bill English should face reality and admit his… ...
    3 days ago
  • Exports continue to fall as Government fails to diversify
    The Government quickly needs a plan to diversify our economy after new figures show that exports are continuing to fall due to the collapse in dairy exports, Labour's Finance Spokesperson Grant Robertson says. “Dairy exports fell 28 per cent compared… ...
    4 days ago
  • Government inaction leads to blurring of roles
    The Treasury wouldn’t have had to warn the Reserve Bank to stick to its core functions if the Government had taken prompt and substantial measures to rein in skyrocketing Auckland house prices, Labour’s Finance spokesperson Grant Robertson says. “The problems… ...
    4 days ago
  • Courthouse closures hitting regions
    The Government’s decision to shut down up to eight regional courthouses, some supposedly only temporarily for seismic reasons, looks unlikely to be reversed, Labour’s Justice spokesperson Jacinda Ardern says.“The move has hit these regions hard, but appears to be a… ...
    4 days ago
  • A Victory for Te Tiriti o Waitangi
    This week my partner, who has a number of professions, was doing an archaeological assessment for a District Council. He showed me the new rules around archaeologists which require them to demonstrate “sufficient skill and competency in relation to Māori… ...
    GreensBy Catherine Delahunty MP
    4 days ago
  • Tough bar set for Ruataniwha dam
     Today’s final decision by the Tukituki Catchment Board of Inquiry is good news for the river and the environment, says Labour’s Water spokesperson Meka Whaitiri. “Setting a strict level of dissolved nitrogen in the catchment’s waters will ensure that the… ...
    5 days ago
  • Minister for Women and National missing the mark – part two
    The Minister for Women was in front of the select committee yesterday answering questions about her plans for women. Some useful context is that we used to have a Pay and Employment Equity Unit within the then Department of Labour… ...
    GreensBy Jan Logie MP
    5 days ago
  • Lavish penthouse spend confirms culture of extravagance
    At the same time thousands of New Zealanders are being locked out of the property market, the Government is spending up on a lavish New York penthouse for its diplomats, Labour’s Foreign Affairs spokesperson David Shearer says. News that taxpayers… ...
    5 days ago
  • Māori Television exodus cause for concern
    The shock departure of yet another leading journalist from the Native Affairs team raises further concern the Board and Chief Executive are dissatisfied with the team’s editorial content, says Labour’s Māori Development spokesperson Nanaia Mahuta. “Annabelle Lee is an experienced… ...
    5 days ago
  • Million-plus car owners to pay too much ACC
    More than a million car owners will pay higher ACC motor vehicle registration than necessary from July, Labour’s ACC spokesperson Sue Moroney says. “During a select committee hearing this morning it was revealed that car owners would have been charged… ...
    5 days ago
  • Bill will restore democracy to local councils
    A new Labour Member’s Bill will restore democracy to local authorities and stop amalgamations being forced on councils. Napier MP Stuart Nash’s Local Government Act 2002 (Greater Local Democracy) Bill will be debated by Parliament after being pulled from the… ...
    5 days ago
  • Minister for Women again misses the mark – part one
    Yesterday I asked the Minister for Women about the government’s poor performance on it’s own target of appointing women to 45% of state board positions. I challenged why she’d put out a media release celebrating progress this year when the… ...
    GreensBy Jan Logie MP
    5 days ago
  • Banks enter Dragon’s Den in pitch for Government’s mental health experi...
    Overseas banks and their preferred providers were asked to pitch their ideas for bankrolling the Government’s social bonds scheme to a Dragon’s Den-style panel, Labour’s Health spokesperson Annette King says. Dragon’s Den was a reality television series where prospective ‘entrepreneurs’… ...
    6 days ago
  • Global Mode bullying won’t stop people accessing content
    It’s disappointing that strong-arm tactics from powerful media companies have meant Global Mode will not get its day in court. Today a settlement was reached terminating the Global Mode service, developed in New Zealand by ByPass Network Services and used… ...
    GreensBy Gareth Hughes MP
    6 days ago
  • More questions – why was the Former National Party President involved wit...
    Today in Parliament Murray  McCully said the reason Michelle Boag was involved in 2011 in the Saudi farm scandal was in her capacity as a member of the New Zealand Middle East Business Council. The problem with that answer is… ...
    6 days ago
  • Minister must explain Maori TV interference
    Te Ururoa Flavell must explain why he told Maori TV staff all complaints about the CEO must come to him – months before he became the Minister responsible for the broadcaster, Labour’s Broadcasting Spokesperson Clare Curran says. “Sources have told… ...
    6 days ago
  • KiwiSaver takes a hammering after the end of kick-start
    National seems hell bent on destroying New Zealand’s saving culture given today’s news that there has been a drop in new enrolments for KiwiSaver, says Labour’s Finance spokesperson Grant Robertson.  “New enrolments for the ANZ Investments KiwiSaver scheme have plunged… ...
    6 days ago
  • Straight answers needed on CYF role
    The Government needs to explain the role that Child, Youth and Family plays in cases where there is evidence that family violence was flagged as a concern, Labour’s Children’s spokesperson Jacinda Arden says. “The fact that CYF is refusing to… ...
    6 days ago
  • Prime Minister confuses his political interests with NZ’s interest
    The Prime Minister’s statement in Parliament yesterday that a Minister who paid a facilitation payment to unlock a free trade agreement would retain his confidence is an abhorrent development in the Saudi sheep scandal, Opposition leader Andrew Little says.  ...
    6 days ago
  • #raisethequota
    Last Saturday was World Refugee Day. I was privileged to spend most of my day with the amazing refugee communities in Auckland. Their stories have been inspiring and reflect the ‘can-do’ Kiwi spirit, even though they come from all different… ...
    GreensBy Denise Roche MP
    1 week ago
  • Dairy conversions causing more pollution than ever, report shows
    The Parliamentary Commissioner for the Environment (PCE) released two reports on freshwater quality and management last Friday. The water quality report shows that dairy conversions are hurting water quality and says that despite great efforts with fencing and planting, large… ...
    GreensBy Catherine Delahunty MP
    1 week ago
  • Employers want urgent action on health and safety
    Moves by National to water down health and safety reforms have been slammed by employers – the very group the Government claims is pushing for change, says Labour’s spokesperson for Labour Relations Iain Lees-Galloway. “The Employers and Manufacturers’ Association has… ...
    1 week ago
  • Labour calls on all parties to end coat-tailing
    Labour MP Iain Lees-Galloway is encouraging all parties to support his Bill to end the coat-tailing provision when it is debated in Parliament this week.  “New Zealanders have sent MPs a clear message. An opinion poll found more than 70… ...
    1 week ago
  • Government social sector reforms
    I’ve written previously about the major shake-up that is happening in the provision of government and community services. Yesterday, the Minister of Social Development spoke publically about what these reforms are likely to look like within MSD. There are major… ...
    GreensBy Jan Logie MP
    1 week ago
  • PM must explain Saudi sheep scandal backflips
    John Key’s explanations of the Saudi sheep scandal continue to be riddled with inconsistencies and irreconcilable backflips, Labour’s Trade Spokesperson David Parker says. “Either he has been misled by his Minister Murray McCully or the Prime Minister is deliberately obfuscating… ...
    1 week ago
  • Independent investigation needed into claims scientists gagged
    Steven Joyce must launch an independent investigation into claims that scientists are being gagged, says Labour’s Science and Innovation spokesperson David Cunliffe. “When 40 percent of scientists say they are being gagged and can’t speak out on issues of public… ...
    1 week ago
  • Swamp kauri mining and exports should stop
    Seeing swamp kauri mining for the first time this week was a shock. Dark peaty soil had been stripped of its plant cover and giant excavators were digging into wet, swampy soil to unearth logs that had been buried for… ...
    GreensBy Eugenie Sage MP
    1 week ago
  • MSD going down wasteful spending track
    The Ministry of Social Development is paying big salaries and forking out hundreds of thousands of dollars on management courses while at the same time looking to hand some services over to a multinational outsourcing company with an appalling track… ...
    1 week ago
  • South Auckland housing meeting highlights stark realities
    The stark realities of life for South Aucklanders in substandard Housing New Zealand and private rental homes were fully exposed at a South Auckland housing meeting today, Labour’s MP for Manukau East Jenny Salesa says. “Local people generously shared their… ...
    1 week ago
  • The Pope, the scientists, and the diplomats: getting there on the climate ...
    The Pope’s Encyclical on the climate: ‘On Care for Our Common Home’, has finally been released. Evoking St Francis before him, the Pope reminds us that “our common home is like a sister with whom we share our life, and… ...
    GreensBy Kennedy Graham MP
    2 weeks ago
  • Green Party supports Gifted Kids Awareness Week 2015
    Providing high quality teaching that caters to the specific needs of every child is an enormous challenge, but there is no investment more rewarding for society. Gifted Awareness Week gives us a chance to think about how diverse the needs… ...
    GreensBy Catherine Delahunty MP
    2 weeks ago
  • Truck sellers still getting away with rip-offs
    The Government has admitted its brand new lending rules are already inadequate, says Labour’s Consumer Affairs Spokesman David Shearer. “Gaping holes in the Responsible Lending Code – which came into effect this month -- mean the vulnerable will not be… ...
    2 weeks ago
  • Government Screws the Lid Down On Raw Milk Access
    The Government’s raw milk policy announced yesterday will make it more difficult for many consumers to access the quality product of their choice, and may even be setting up the raw milk sector to fail. The Government, in its paranoia… ...
    GreensBy Steffan Browning MP
    2 weeks ago
  • Operation Desert Storm
    Blaming Saudi sand storms for the deaths of 70 per cent of Kiwi lambs born on a model farm meant to showcase New Zealand agricultural expertise is another part of the ludicrous attempt to disguise buying the cooperation of a… ...
    2 weeks ago
  • Minister, your expensive slip is showing
    A Minister's comments at a press conference in Dunedin today show just how easily costs can blow out at the Southern DHB, Labour's Acting Health spokesman David Clark says. "Fresh from criticising everyone from members of the Board that his… ...
    2 weeks ago
  • Bridges of Northland on backburner
    Transport Minister Simon Bridges today admitted no progress has been made towards his Northland by-election bribe of 10 new bridges and could only say they would be funded sometime in the next six years, Labour's transport spokesperson Phil Twyford says.… ...
    2 weeks ago
  • MP lets down Cook Island community
    The Cook Island community has been let down by National List MP Alfred Ngaro’s decision not to support a proposal that would have removed a restrictive residency requirement, Labour says. An amendment to the Social Assistance (Portability to Cook Islands,… ...
    2 weeks ago
  • Time for a moratorium on all live sheep exports
    The events of the last two weeks have highlighted how weak our regulations around live exports are, particularly in relation to live sheep exports. We urgently need a moratorium on live sheep exports until they’ve been significantly strengthened. We have… ...
    GreensBy Mojo Mathers MP
    2 weeks ago
  • Weak growth highlights lack of economic plan
    Today’s weak growth figures are less than half of what was forecast in last month’s Budget and signal rough weather ahead, Labour’s Finance spokesman Grant Robertson says. “GDP figures showing the economy grew just 0.2% in the first three months… ...
    2 weeks ago
  • Māori TV editorial interference scandal deepens
    The Maori Development Minister has misled a select committee and appears to have broken the law through editorial interference in Māori Television, Labour’s Broadcasting spokesperson Clare Curran said today. Labour has released emails between Te Ururoa Flavell’s press secretary and… ...
    2 weeks ago
  • Minister must act on energy CEOs salaries
    Energy Minister Simon Bridges must send a message to the Boards of the nation’s power companies that astronomical CEO salaries are not appropriate, Labour’s Energy spokesperson Stuart Nash says.  “The CEOs are earning from $ 2.1 million to $1.3 million… ...
    2 weeks ago
  • Black Caps backs South Dunedin flood recovery
     People dealing with the aftermath of the Dunedin floods will be supported by the boost from Black Caps skipper Brendon McCullum and coach Mike Hesson who have put their weight behind the Dunedin Flood Appeal in a  video released this… ...
    2 weeks ago
  • Continued pressure at heart of sacking
    News that the Government has appointed a Commissioner to replace the Southern District Health Board is hardly a surprise given the mounting pressure it has been under to do more with a lot less, says Labour’s Acting Health spokesperson David… ...
    2 weeks ago

Public service advertisements by The Standard

Current CO2 level in the atmosphere