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

  • Stalled TPP chance for wider discussion
    Failure to get the TPP agreement across the line gives New Zealanders an opportunity to put more pressure on the Government not to sign away our sovereignty, Opposition leader Andrew Little says.“New Zealand land, dairy and medicines are up for… ...
    16 hours ago
  • Will poor TPP dairy outcome stop National selling out our homes?
    After failing to protect the right to stop foreign speculators buying our houses it’s clear the Government is not going to get wins on dairy in their TPP negotiations either, Labour’s Trade and Export spokesperson David Parker says. “Labour has… ...
    2 days ago
  • Feeling aspirational
    Yesterday the Rich List showed the number of people who have over 50 million of wealth had increased by another 15 people since last year. Collectively this group are now worth 55 billion, an increase of over 7% since last… ...
    GreensBy Jan Logie MP
    2 days ago
  • Feeling aspirational
    Yesterday the Rich List showed the number of people who have over 50 million of wealth had increased by another 15 people since last year. Collectively this group are now worth 55 billion, an increase of over 7% since last… ...
    GreensBy Jan Logie MP
    2 days ago
  • Feeling aspirational
    Yesterday the Rich List showed the number of people who have over 50 million of wealth had increased by another 15 people since last year. Collectively this group are now worth 55 billion, an increase of over 7% since last… ...
    GreensBy Jan Logie MP
    2 days ago
  • Bennett’s legacy a test for Tolley
    Former Social Development Minister Paula Bennett has been thrown under the bus by her successor after its been suggested that Ms Bennett gave the green light to an ‘unethical’ observational study of high-risk children, Labour Children’s spokesperson Jacinda Ardern says.… ...
    2 days ago
  • Submission to Greater Christchurch Earthquake Recovery: Transition to Rege...
    Thank you for the opportunity to contribute to the Draft Transition Recovery Plan on behalf of the New Zealand Labour Party.  It is important that the citizens of Canterbury have a voice in the governance of the next step of… ...
    2 days ago
  • Troubled school wanted $25,000 dollars to fence farm
    The troubled Whangaruru charter school asked Hekia Parata for $25,000 to fence the school farm at the expense of spending on teaching, Labour’s Education spokesperson Chris Hipkins says. “This unbelievable revelation comes hard on the heels of Hekia Parata’s decision to… ...
    3 days ago
  • Troubled school wanted $25,000 dollars to fence farm
    The troubled Whangaruru charter school asked Hekia Parata for $25,000 to fence the school farm at the expense of spending on teaching, Labour’s Education spokesperson Chris Hipkins says. “This unbelievable revelation comes hard on the heels of Hekia Parata’s decision to… ...
    3 days ago
  • Government report on sexual & family violence a good first step
    Yesterday the Government released the cabinet paper on progress on the work programme of the Ministerial Group on Family Violence and Sexual Violence. Along with the Human Rights Commissioner and Women’s Refuge, I really welcome the report. I’m relieved that… ...
    GreensBy Jan Logie MP
    3 days ago
  • Government report on sexual & family violence a good first step
    Yesterday the Government released the cabinet paper on progress on the work programme of the Ministerial Group on Family Violence and Sexual Violence. Along with the Human Rights Commissioner and Women’s Refuge, I really welcome the report. I’m relieved that… ...
    GreensBy Jan Logie MP
    3 days ago
  • Prisoner voting disqualification and the Bill of Rights Act
    In 2010, National rammed the Electoral (Disqualification of Sentenced Prisoners) Amendment Bill through Parliament. Paul Quinn’s Member’s Bill existed because Paul Quinn thought anyone who’d been imprisoned was a serious offender, and serious offenders had ‘forfeited’ their right to vote.… ...
    GreensBy David Clendon MP
    3 days ago
  • Mainfreight ‘appalled’ by Government’s rail madness
    The Government has been given a serve by New Zealand-based international trucking and logistics firm Mainfreight which says it lacks a national transport strategy, and has treated rail badly, Labour's Transport spokesperson Phil Twyford says. The company has told shareholders it… ...
    4 days ago
  • National’s Health and Safety Reform Bill: less safety and fewer rights at...
    The New Zealand Council of Trade Unions is embarking on a campaign to fight the changes that weaken the Health and Safety Reform bill. As part of the campaign the CTU has organised vigils with the display of 291 crosses… ...
    GreensBy Denise Roche MP
    4 days ago
  • All options need to be put on meat sector table
    Farmers must be given every assurance that all potential risks have been considered before Silver Fern Farms opens its door to foreign equity, Labour’s Primary Industries spokesperson Damien O’Connor says. “The ongoing saga involving the meat sector and amalgamation has… ...
    4 days ago
  • Flag the referendum if 50% or more don’t vote
    Labour has moved to have the second flag referendum canned if the first attracts fewer than half the eligible number of voters, Opposition Leader Andrew Little says. “John Key has already wasted more than $8 million on his vanity project… ...
    4 days ago
  • 90,000 cars reclassified in botched ACC ratings
    New figures obtained by Labour show the ACC Minister’s botched motor vehicle levy system has resulted in 90,000 vehicles having to be reclassified so far – at a cost of $6 million, Labour’s ACC spokesperson Sue Moroney says. “Nikki Kaye’s… ...
    4 days ago
  • Brutal health cuts confirmed, crucial services suffer
    Chronic under-funding by National has seen the health budget slashed by $1.7 billion in just five years, Labour’s Health spokesperson Annette King says. A report by Infometrics, commissioned by Labour, shows health funding has been cut in four of the… ...
    5 days ago
  • Meth ring under Serco’s nose
    The news that two Serco inmates have been arrested for helping to run a methamphetamine ring from prison should be the final straw and see their contract cancelled, says Labour’s Corrections Spokesperson Kelvin Davis. “National has stood by Serco despite… ...
    5 days ago
  • Ministers failing women and their own targets
    New figures showing just five Ministers have met the Government’s own reduced targets for appointing women to state sector boards is evidence National is failing Kiwi women, Labour’s Women’s Affairs spokesperson Sue Moroney says. “The Ministry for Women’s 2015 Gender… ...
    5 days ago
  • Charges up for some as funding up for grabs
    A proposal being considered by the Government would see some people having to pay more for health care and district health boards forced to fight amongst themselves to fund regional health services, Labour’s Health spokesperson Annette King says “Information leaked… ...
    5 days ago
  • Stop experimenting on kids
    The trouble with the Charter school model is that it is a publicly funded experiment on children. The National Government has consistently put its desire to open charter schools ahead of the safety of the children in them, ignoring repeated… ...
    GreensBy Catherine Delahunty MP
    6 days ago
  • Bank puts the squeeze on mid Canterbury farmers
    News that an unnamed bank in Ashburton has put a receiver on notice over financially vulnerable farmers will send a chill through rural New Zealand, says Labour’s Finance Spokesperson Grant Robertson. “The Government needs to work with  New Zealand’s banks… ...
    6 days ago
  • Key is trading away New Zealand land and homes
    John Key yesterday admitted what National dishonestly refused to confirm in Parliament last week – he is trading away New Zealand’s right to control who buys our homes and land, says Opposition leader Andrew Little. “The Prime Minister must now… ...
    6 days ago
  • Razor gang takes scalpel to health
    Plans by the Government to take a scalpel to democratically elected health boards are deceitful and underhand, coming just months after an election during which they were never signalled, Labour’s Health spokesperson Annette King says “Leaked documents reveals a radical… ...
    6 days ago
  • Spin lines show a department in chaos
    Corrections Spin Doctors sending their place holder lines to journalists instead of responding to serious allegations shows the scale of chaos at the department over the Serco scandal, says Labour’s Corrections Spokesperson Kelvin Davis. “As more and more serious allegations… ...
    1 week ago
  • Court ruling shows law should never have been passed
    A High Court ruling that a law banning prisoners from voting is inconsistent with a properly functioning democracy should be a wake-up call for the Government, Labour’s Justice spokesperson Jacinda Ardern says. In an unprecedented ruling Justice Paul Heath has… ...
    1 week ago
  • Judicial Review Gamble Pays Off for Problem Gambling Foundation
    Congratulations are due to the Problem Gambling Foundation (PGFNZ) who have won their legal case around how the Ministry of Health decided to award their contracts for problem gambling services to another service provider. Congratulations are due not just for… ...
    GreensBy Denise Roche MP
    1 week ago
  • Environmental Protection Agency appoints GE advocate as new CEO
    This week, the Environmental Protection Authority Amendment Bill passed its first reading in Parliament. The Bill puts protection of the environment into the core purpose of the Environmental Protection Authority. This month, Dr Allan Freeth, the former Chief Executive of… ...
    GreensBy Steffan Browning MP
    1 week ago
  • Charanpreet Dhaliwal death demands genuine health and safety reform
    The killing of a security guard on his first night on the job is exactly the kind of incident that National’s watered-down health and safety bill won’t prevent, says Te Atatu MP Phil Twyford. The coronial inquest into 22-year-old Charanpreet… ...
    1 week ago
  • Arbitrary sanctions hit children hardest
    Increasing numbers of single parents are being penalised under a regime that is overly focussed on sanctions rather than getting more people into work, Labour’s Social Development spokesperson Carmel Sepuloni says. “Figures, obtained through Parliamentary questions show 3000 more sanctions,… ...
    1 week ago
  • Hekia just won’t face the facts
    Hekia Parata’s decision to keep troubled Whangaruru Charter school open despite being presented with a catalogue of failure defies belief, goes against official advice and breaks a Government promise to close these schools if they were failing, says Labour’s Education… ...
    1 week ago
  • No more silent witnesses
    Yesterday I attended the launch of a new initiative developed by and for Asian, Middle eastern and African youth to support young people to name and get support if there is domestic violence at home. The impact on children of… ...
    GreensBy Jan Logie MP
    1 week ago
  • Single Use Plastic Bags campaign – Some wins and some green-washing
    As we near the end of Plastic Free July I’m nearing the conclusion of my Say No To Plastic Bag tour when I will have completed all 30 of my public meetings. The campaign was designed to work with community… ...
    GreensBy Denise Roche MP
    1 week ago
  • Single Use Plastic Bags campaign – Some wins and some green-washing
    As we near the end of Plastic Free July I’m nearing the conclusion of my Say No To Plastic Bag tour when I will have completed all 30 of my public meetings. The campaign was designed to work with community… ...
    GreensBy Denise Roche MP
    1 week ago
  • Minister must take responsibility for problem gambling debacle
    The Government’s handling of the Problem Gambling Foundation’s axing in a cost-cutting exercise has been ham-fisted and harmful to some of the most vulnerable people in society, Associate Health Labour spokesperson David Clark says.“Today’s court ruling overturning the axing of… ...
    1 week ago
  • Labour will not support TPP if it undermines NZ sovereignty
    The Labour Party will not support the Trans Pacific Partnership Agreement unless key protections for New Zealanders are met, Opposition leader Andrew Little says.“Labour supports free trade. However, we will not support a TPP agreement that undermines New Zealand’s sovereignty. ...
    1 week ago
  • Coleman can’t ignore latest warnings
    Resident doctors have advised that a severe staffing shortage at North Shore Hospital is putting patients’ lives at risk, Labour’s Health spokesperson Annette King says. “They say a mismatch between staffing levels and patient workloads at North Shore has… ...
    1 week ago
  • ACC must remove barriers to appeals
    The Government must prioritise removing barriers to justice for ACC claimants following a damning report by Acclaim Otago, Labour’s ACC spokesperson Sue Moroney says. “ACC Minister Nikki Kaye must urgently scrap her flawed plan to remove claimant’s right to redress… ...
    1 week ago
  • Six months’ paid parental leave back on the agenda
    Six months’ paid parental leave is back on the agenda and a step closer to reality for Kiwi parents after Labour’s new Member’s Bill was pulled from today’s ballot, the Bill’s sponsor and Labour MP Sue Moroney says. “My Bill… ...
    1 week ago
  • Sole parents at risk of having no income
    New requirements for sole parents to undertake a reapplication process after a year is likely to mean a large number will face benefit cancellations, but not because they have obtained work, Labour’s Social Development spokesperson Carmel Sepuloni says. “Increasing numbers… ...
    1 week ago
  • Juking the Welfare Stats Again
    Last week the government’s major initiative to combat child poverty (a paltry $25 increase) was exposed for what it is, a lie. The Government, through the Budget this year, claims to be engaging in the child poverty debate, but instead,… ...
    GreensBy Jan Logie MP
    1 week ago
  • OCR rate cut a result of flagging economy
    The Reserve Bank's decision to cut the Official Cash Rate to 3 per cent shows there is no encore for the so-called 'rock star' economy, says Labour's Finance Spokesperson Grant Robertson.   "Today's interest rate cut comes off the back… ...
    1 week ago
  • Reboot to an innovation economy, an Internet economy and a clean economy
    In my short 33 years on this planet we’ve seen phenomenal technological, economic and social change, and it’s realistic to expect the next 33 will see even more, even faster change. You can see it in the non-descript warehouse near… ...
    GreensBy Gareth Hughes MP
    2 weeks ago
  • Bill that puts the environment into the EPA passes first hurdle
    A Bill that puts the environment squarely into legislation governing the Environmental Protection Authority passed its first reading today, says Meka Whaitiri.  “I introduced this member’s bill as the current law doesn’t actually make protecting the environment a goal of… ...
    2 weeks ago
  • Key’s KiwiSaver deception exposed
    KiwiSaver statistics released today expose John Key's claim that the cutting of the kickstart payment "will not make a blind bit of difference to the number of people who join KiwiSaver” to be duplicitous, says Labour Finance Spokesperson Grant Robertson.  “Official… ...
    2 weeks ago
  • Minimum Wage Amendment Bill to protect contractors
    All New Zealanders should be treated fairly at work. Currently, the law allows non-employment relationships to be used to get around the minimum wage. This is unfair, says Labour MP David Parker. “The Minimum Wage (Contractor Remuneration) Amendment Bill, a… ...
    2 weeks ago
  • Bill raises bar to protect Kiwi farmland
    The Government’s rubber-stamping of every one of the nearly 400 applications from overseas investors to buy New Zealand farm land over the last three years proves tougher laws are needed, Labour MP Phil Goff says. “In the last term of… ...
    2 weeks ago
  • Costly flag referendum should be dumped
    John Key must ditch the flag referendum before any more taxpayer money is wasted, Opposition Leader Andrew Little says. “Millions of dollars could be saved if the Prime Minister called a halt to this hugely expensive, and highly unpopular, vanity… ...
    2 weeks ago
  • Nats letting Serco off scot free
    Government members have prevented Parliament’s Law and Order select committee from getting answers out of a senior Serco director about the fight clubs being run at Mt Eden prisons, says Labour’s Corrections Spokesperson Kelvin Davis. “At today’s Law and Order… ...
    2 weeks ago

Public service advertisements by The Standard

Current CO2 level in the atmosphere