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

  • Minister approved OIO consent despite death and investigations
    Louise Upston must say if she knew Intueri was being prosecuted for the death of a student and under a funding investigation when she approved its overseas investment consent to buy another education provider, says Labour’s Land Information and Associate ...
    5 hours ago
  • Brexit vote costs NZ effective EU voice
    Despite being extremely close the result of the referendum in Britain reflects the majority voice, Labour’s Foreign Affairs spokesperson David Shearer says. “While we respect the decision to leave the EU, it goes without saying the move will usher in ...
    2 days ago
  • Pasifika Education Centre doomed
    The Pasifika Education Centre appears doomed to close down this December, says Labour’s Pacific Island Affairs spokesperson Su’a William Sio  “In a written question I asked the Minister whether he would put a bid in for more money. His answer ...
    2 days ago
  • Onetai Station review a shameful whitewash
    A report released today on the Overseas Investment Office’s (OIO) good character test is a whitewash that does nothing to improve New Zealand’s overseas investment regime, says Labour’s Land Information spokesperson David Cunliffe. “The review of the good character test ...
    2 days ago
  • We need a national strategy to end homelessness now
    Long before I entered Parliament, housing and homelessness were issues dear to my heart. I know from personal experience just how hard it is to find an affordable home in Auckland. In my maiden speech, I talked about how when ...
    GreensBy Marama Davidson
    2 days ago
  • Capital feels a chill economic wind
      Wellington is on the cusp of recession with a sharp fall in economic confidence in the latest Westpac McDermott Miller confidence survey, says Labour’s Regional Development spokesperson David Clark.  “Economic confidence amongst Wellingtonians has dropped 12% in the past ...
    2 days ago
  • Dive school rort took six years to dredge up
    News that yet another private training establishment (PTE) has rorted the Government’s tertiary funding system since 2009 shows that Steven Joyce has no control of the sector, says Labour’s Associate Education (Tertiary) spokesperson David Cunliffe. “Like Agribusiness Training and Taratahi, ...
    3 days ago
  • National’s housing crisis hitting renters hard
    National’s ongoing housing crisis is causing massive rental increases, with Auckland renters being hit the hardest, says Labour’s Housing spokesperson Phil Twyford. ...
    3 days ago
  • A Day with the PSA
    This week, along with Labour MP Kris Faafoi, I accepted an invitation to spend a day working alongside the good folk at the Public Service Association in Wellington. As the Workplace Relations and Safety spokesperson for the Greens, I was ...
    GreensBy Denise Roche
    3 days ago
  • A Day with the PSA
    This week, along with Labour MP Kris Faafoi, I accepted an invitation to spend a day working alongside the good folk at the Public Service Association in Wellington. As the Workplace Relations and Safety spokesperson for the Greens, I was ...
    GreensBy Denise Roche
    3 days ago
  • Government holds Northland back
    New information shows Northland remains the most economically depressed region in New Zealand, says Labour’s Regional Development spokesperson David Clark. “The latest Westpac McDermott Miller regional survey found that more Northlanders believe their local economy will deteriorate this year than ...
    3 days ago
  • Rebstock report into MFAT leaks a disgrace
    An Ombudsman’s report on the Paul Rebstock investigation into MFAT leaks shows the two diplomats at the centre of the case were treated disgracefully, says Labour’s State Services spokesperson Kris Faafoi.  “The Ombudsman says one of the diplomats Derek Leask ...
    3 days ago
  • More families forced to turn to food banks for meals
    Increasing numbers of families are having to go to food banks just to put a meal on the table, according to a new report that should shame the Government into action, says Labour’s Social Development spokesperson Carmel Sepuloni. ...
    3 days ago
  • We have a housing emergency in New Zealand
    Auckland, New Zealand, where house prices have risen 20 percent in the last year alone We have a housing emergency in New Zealand.  Like many people we are ashamed and angry that in a wealthy country like ours, we have ...
    GreensBy Eugenie Sage
    4 days ago
  • We have a housing emergency in New Zealand
    Auckland, New Zealand, where house prices have risen 20 percent in the last year alone We have a housing emergency in New Zealand.  Like many people we are ashamed and angry that in a wealthy country like ours, we have ...
    GreensBy Eugenie Sage
    4 days ago
  • Aussie reforms signal trouble ahead for school funding plan
    Plans by the Government to return to bulk funding are likely to see increased class sizes and schools most in need missing out on much-needed resources, Labour’s Acting Education spokesperson Grant Robertson says. “The signaled return to bulk funding is ...
    4 days ago
  • Toxic Sites – the down low on the go slow
    In  2011, I negotiated an agreement with the National Government to advance work on cleaning up contaminated sites across the country. This included establishing a National Register of the ten worst sites where the creators of the problem could not ...
    GreensBy Catherine Delahunty
    4 days ago
  • Aucklanders face new motorway tax of up to $2500 a year
    The Government wants to tax Aucklanders thousands of dollars a year just to use the motorway network, says Labour’s Auckland Issues spokesperson Phil Twyford. “Officials estimate the average city commute is 11.8km. This means for the average Aucklander commuting five ...
    4 days ago
  • 15 corrupt bank managers identified in student fraud
    New information show 15 bank managers in India have been identified by Immigration New Zealand as presenting fraudulent documents on behalf of foreign students studying here, Labour’s Immigration spokesperson Iain Lees-Galloway says. “Documents obtained by Labour under the Official Information ...
    4 days ago
  • National leaves Kiwi savers the most vulnerable in OECD
    News last week that Israel’s Finance Minister will insure savers’ bank deposits means New Zealand will be left as the only country in the OECD that has no deposit insurance to protect savers’ funds should a bank fail. Most Kiwis ...
    GreensBy James Shaw
    5 days ago
  • Comprehensive plan for future of work needed
    A Massey University study showing many New Zealanders are unaware of the increasing role of automation in their workplace, highlights the need for a comprehensive plan for the future of work, says Grant Robertson, Chair of Labour’s Future of Work ...
    5 days ago
  • Another National Government failure: 90 day work trials
    On Friday last week, the Treasury released a report by MOTU economic consultants into the effectiveness of the controversial 90-day work trial legislation. The report found that there was “no evidence that the policy affected the number of hires by ...
    GreensBy Denise Roche
    5 days ago
  • Iraq mission extension case not made
    The Prime Minister has not made the case for extending the Iraq deployment another 18 months nor the expansion of their mission, says Opposition Leader Andrew Little.  “Labour originally opposed the deployment because the Iraqi Army’s track record was poor, ...
    6 days ago
  • Denial is a long river
    William Rolleston from Federated Farmers made the absurd claim on RNZ on Saturday that “we actually have very clean rivers”. This statement doesn’t represent the many farmers who know water quality is in big trouble and are working to clean ...
    GreensBy Catherine Delahunty
    6 days ago
  • Denial is a long river
    William Rolleston from Federated Farmers made the absurd claim on RNZ on Saturday that “we actually have very clean rivers”. This statement doesn’t represent the many farmers who know water quality is in big trouble and are working to clean ...
    GreensBy Catherine Delahunty
    6 days ago
  • Melanoma deaths could be avoided by an early access scheme
      The tragic death of Dunedin’s Graeme Dore from advanced Melanoma underlines the cruelty of this Government in promising a treatment but delaying for months, says Labour’s Health Spokesperson Annette King.  “Graeme was diagnosed with Melanoma last year. He used ...
    6 days ago
  • Assessing the Defence White Paper
    The Government’s recently released Defence White Paper has raised questions again about New Zealand’s defence priorities, and in particular the level and nature of public funding on defensive capabilities. The Green Party has a longstanding belief that priority must be ...
    GreensBy Kennedy Graham
    6 days ago
  • Kiwis’ confidence drops again: Economy needs a boost
    Westpac’s consumer confidence survey has fallen for the seventh time in nine quarters, with middle income households ‘increasingly worried about where the economy is heading over the next few years’, says Labour’s Finance spokesperson Grant Robertson. “This survey is a ...
    6 days ago
  • Relocation grant simply kicks can down the road
    The response by state house tenants and social agencies to the Government’s rushed plan to shift families out of Auckland tells us what we already knew – this is no answer to the chronic housing shortage, Opposition Leader Andrew Little ...
    6 days ago
  • Peace hīkoi to Parihaka
    On Friday a Green crew walked with the peace hīkoi from Ōkato to Parihaka. Some of us were from Parliament and some were party members from Taranaki and further afield. It was a cloudy but gentle day and at one ...
    GreensBy Catherine Delahunty
    6 days ago
  • Children’s Commissioner right to worry about CYF transition
    The Government must listen to the Children’s Commissioner’s concerns that young people under CYF care could be ‘negatively impacted’ as the new agency’s reforms become reality, says Labour’s Children’s spokesperson Jacinda Ardern. “Dr Russell Wills has used the second annual ...
    6 days ago
  • Bill English exaggerates PPL costs to justify veto
    The Finance Minister has used trumped-up costings to justify a financial veto against parents having 26 weeks paid parental leave, says Labour MP Sue Moroney. “Bill English’s assertion on RNZ yesterday that the measure would cost an extra $280 million ...
    1 week ago
  • Government must refund overcharged motorists
    Labour is calling on the Government to refund motor registration fees to three-quarters of a million Kiwi motorists whose vehicles were wrongly classified under National’s shambolic ACC motor vehicle risk rating system, Labour’s ACC spokesperson Sue Moroney says.“Minister Kaye’s ridiculous ...
    1 week ago
  • 90-day work trials an unfair failure which must change
    A new Treasury report shows the Government’s 90-day trials haven’t helped businesses and are inherently unfair, Labour’s Workplace Relations spokesperson Iain Lees-Galloway says. “The Motu report found that 90-day trial periods had no impact on overall employment and did not ...
    1 week ago
  • Massey East houses a start but Nick Smith should think bigger
    The Massey East 196-home development is a start but the Government must think bigger if it is to end the housing crisis, Labour’s Housing spokesperson Phil Twyford says. “It is great the Government is finally realising it needs to build ...
    1 week ago
  • More changes needed to ensure fewer cases like Teina Pora’s
    Teina Pora spent 21 years behind bars for a crime he didn’t commit, shafted by a Police investigation that prioritised an investigator’s hunch over the pursuit of credible evidence. Yesterday’s announcement that the government is to pay him $2.5m in ...
    GreensBy David Clendon
    1 week ago
  • New Zealand Labour sends condolences to UK
    The New Zealand Labour Party is sickened and saddened by the murder of British Labour MP Jo Cox, Labour Leader Andrew Little says. “Ms Cox was killed in cold blood while simply doing her job as a constituent MP. She ...
    1 week ago
  • Shameful refugee quota increase still leaves NZ at the bottom of the list
    Minister for Immigration Michael Woodhouse announced this week that the government will put off increasing the refugee quota by 1000 places until 2018.  It’s a shameful decision that undermines the Government’s claim that it takes its international humanitarian obligations seriously, ...
    GreensBy Denise Roche
    1 week ago
  • Paula Bennett as a victim hard to swallow
    The National Party spin machine has gone into overdrive to try and present Paula Bennett as the victim in the Te Puea Marae smear saga, says Labour Housing spokesperson Phil Twyford. “Bill English in Parliament today tried valiantly to paint ...
    1 week ago
  • Voters to have the final veto on paid parental leave
    New Zealanders will have the final right of veto on a Government that has ignored democracy and is out of touch with the pressures and demands on families, says Labour MP Sue Moroney. “Today’s decision by National to veto 26 ...
    1 week ago
  • Collins should put Kiwis’ money where her mouth is
    Labour’s Police spokesman Stuart Nash is calling on anyone who has received a speeding ticket for going up to 5km/h over the 100km/hr open road speed limit to write to him and he will take it up on their behalf ...
    1 week ago
  • Where is the leadership on equal pay for work of equal value?
    The gender pay gap in the public service is worse than in the private sector. I’ve always found this particularly galling because I expect our Government to provide an example to the private sector on things like human rights, rather ...
    GreensBy Jan Logie
    1 week ago
  • Kiwis’ real disposable income goes nowhere for the year
    New Zealanders’ hard work for the last year resulted in no increase in real disposable income, showing Kiwis aren’t getting ahead under National, says Labour’s Finance spokesperson Grant Robertson. “Today’s GDP figures reveal that real gross national disposable income per ...
    1 week ago
  • Pora case a case to learn from
    Conformation that Teina Pora will receive $2.5million from the Crown for more than 20 years of wrongful imprisonment does not fix the flaws in our system that led to this miscarriage of justice, Labour’s Justice spokesperson Jacinda Ardern says. “The ...
    2 weeks ago
  • Government needs to start again with RMA changes
    The National Government’s proposed changes to the Resource Management Act have attracted more than 800 submissions, many of them critical of key aspects of the Resource Legislation Bill. There has been much criticism of the new regulation making powers given ...
    GreensBy Eugenie Sage
    2 weeks ago
  • Bennett’s briefing completely unacceptable
    It is completely unacceptable that Paula Bennett briefed her political staff on the police investigation into Hurimoana Dennis after her meeting with him, despite it having nothing to do with her social housing portfolio, says Labour’s Housing spokesperson Phil Twyford. ...
    2 weeks ago
  • Speech to Green Building Council
    Building smarter, greener cities It will be clear to anyone who has been watching the public debate on the housing crisis that housing in New Zealand is sadly far from being economically sustainable when Auckland has the fourth most unaffordable ...
    2 weeks ago
  • Paula Bennett has more questions to answer
    It is unthinkable that Paula Bennett’s press secretary went rogue and tried to smear the reputation of someone involved in helping the homeless, Labour’s Housing spokesperson Phil Twyford says. “Political staff would not take such serious unilateral action without the ...
    2 weeks ago
  • Speech on Notice of Motion on Orlando
    Mr Speaker, The Labour Party joins with the government in expressing our horror at this atrocity and our love and sympathy are with the victims and their families. Our thoughts are with the people of Orlando and of the United ...
    2 weeks ago
  • Tiakina Ngā Wai – Swimmable Rivers Report June 2016
    The campaign to clean up our rivers was launched at the Green Conference at Queens Birthday weekend. However, the work prior to the launch goes back a number of years. Russel Norman and Eugenie Sage deserve full credit for the ...
    GreensBy Catherine Delahunty
    2 weeks ago

Public service advertisements by The Standard

Current CO2 level in the atmosphere