Project complete (at least for the moment)

Written By: - Date published: 2:25 pm, February 28th, 2013 - 37 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…

37 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

  • Decisions on Wellington City Council’s District Plan
    The Minister Responsible for RMA Reform, Chris Bishop, today released his decision on twenty recommendations referred to him by the Wellington City Council relating to its Intensification Planning Instrument, after the Council rejected those recommendations of the Independent Hearings Panel and made alternative recommendations. “Wellington notified its District Plan on ...
    BeehiveBy beehive.govt.nz
    3 hours ago
  • Rape Awareness Week: Government committed to action on sexual violence
    Rape Awareness Week (6-10 May) is an important opportunity to acknowledge the continued effort required by government and communities to ensure that all New Zealanders can live free from violence, say Ministers Karen Chhour and Louise Upston.  “With 1 in 3 women and 1 in 8 men experiencing sexual violence ...
    BeehiveBy beehive.govt.nz
    3 hours ago
  • Smarter lunch programme feeds more, costs less
    Associate Education Minister David Seymour has today announced that the Government will be delivering a more efficient Healthy School Lunches Programme, saving taxpayers approximately $107 million a year compared to how Labour funded it, by embracing innovation and commercial expertise. “We are delivering on our commitment to treat taxpayers’ money ...
    BeehiveBy beehive.govt.nz
    4 hours ago
  • Report provides insights into marine recovery
    New research on the impacts of extreme weather on coastal marine habitats in Tairāwhiti and Hawke’s Bay will help fishery managers plan for and respond to any future events, Oceans and Fisheries Minister Shane Jones says. A report released today on research by Niwa on behalf of Fisheries New Zealand ...
    BeehiveBy beehive.govt.nz
    5 hours ago
  • NZ to send political delegation to the Pacific
    Deputy Prime Minister and Foreign Minister Winston Peters will lead a broad political delegation on a five-stop Pacific tour next week to strengthen New Zealand’s engagement with the region.   The delegation will visit Solomon Islands, Papua New Guinea, Vanuatu, New Caledonia, and Tuvalu.    “New Zealand has deep and ...
    BeehiveBy beehive.govt.nz
    6 hours ago
  • Low gas production threatens energy security
    There has been a material decline in gas production according to figures released today by the Gas Industry Co.  Figures released by the Gas Industry Company show that there was a 12.5 per cent reduction in gas production during 2023, and a 27.8 per cent reduction in gas production in the ...
    BeehiveBy beehive.govt.nz
    11 hours ago
  • Defence industry talent, commitment recognised
    Defence Minister Judith Collins tonight announced the recipients of the Minister of Defence Awards of Excellence for Industry, saying they all contribute to New Zealanders’ security and wellbeing. “Congratulations to this year’s recipients, whose innovative products and services play a critical role in the delivery of New Zealand’s defence capabilities, ...
    BeehiveBy beehive.govt.nz
    19 hours ago
  • Speech to the Minister of Defence Awards of Excellence for Industry
    Welcome to you all - it is a pleasure to be here this evening.I would like to start by thanking Greg Lowe, Chair of the New Zealand Defence Industry Advisory Council, for co-hosting this reception with me. This evening is about recognising businesses from across New Zealand and overseas who in ...
    BeehiveBy beehive.govt.nz
    20 hours ago
  • Speech to the Sixth Annual New Zealand Government Data Summit
    It is a pleasure to be speaking to you as the Minister for Digitising Government.  I would like to thank Akolade for the invitation to address this Summit, and to acknowledge the great effort you are making to grow New Zealand’s digital future. Today, we stand at the cusp of ...
    BeehiveBy beehive.govt.nz
    21 hours ago
  • Ceasefire agreement needed now: Peters
    New Zealand is urging both Israel and Hamas to agree to an immediate ceasefire to avoid the further humanitarian catastrophe that military action in Rafah would unleash, Foreign Minister Winston Peters says.   “The immense suffering in Gaza cannot be allowed to worsen further. Both sides have a responsibility to ...
    BeehiveBy beehive.govt.nz
    1 day ago
  • Daily school attendance data now available
    A new online data dashboard released today as part of the Government’s school attendance action plan makes more timely daily attendance data available to the public and parents, says Associate Education Minister David Seymour.  The interactive dashboard will be updated once a week to show a national average of how ...
    BeehiveBy beehive.govt.nz
    1 day ago
  • Ambassador to United States appointed
    Foreign Minister Winston Peters has announced Rosemary Banks will be New Zealand’s next Ambassador to the United States of America.    “Our relationship with the United States is crucial for New Zealand in strategic, security and economic terms,” Mr Peters says.    “New Zealand and the United States have a ...
    BeehiveBy beehive.govt.nz
    1 day ago
  • New permit proposed for recreational gold mining
    The Government is considering creating a new tier of minerals permitting that will make it easier for hobby miners to prospect for gold. “New Zealand was built on gold, it’s in our DNA. Our gold deposits, particularly in regions such as Otago and the West Coast have always attracted fortune-hunters. ...
    BeehiveBy beehive.govt.nz
    1 day ago
  • NZ and the UAE launch FTA negotiations
    Minister for Trade Todd McClay today announced that New Zealand and the United Arab Emirates (UAE) will commence negotiations on a free trade agreement (FTA). Minister McClay met with his counterpart UAE Trade Minister Dr Thani bin Ahmed Al Zeyoudi in Dubai, where they announced the launch of negotiations on a ...
    BeehiveBy beehive.govt.nz
    1 day ago
  • New Zealand Sign Language Week an opportunity for anyone to sign
    New Zealand Sign Language Week is an excellent opportunity for all Kiwis to give the language a go, Disabilities Issues Minister Louise Upston says. This week (May 6 to 12) is New Zealand Sign Language (NZSL) Week. The theme is “an Aotearoa where anyone can sign anywhere” and aims to ...
    BeehiveBy beehive.govt.nz
    2 days ago
  • Next stop NASA for New Zealand students
    Six tertiary students have been selected to work on NASA projects in the US through a New Zealand Space Scholarship, Space Minister Judith Collins announced today. “This is a fantastic opportunity for these talented students. They will undertake internships at NASA’s Ames Research Center or its Jet Propulsion Laboratory (JPL), where ...
    BeehiveBy beehive.govt.nz
    2 days ago
  • $1.9 billion investment to keep NZ safe from crime
    New Zealanders will be safer because of a $1.9 billion investment in more frontline Corrections officers, more support for offenders to turn away from crime, and more prison capacity, Corrections Minister Mark Mitchell says. “Our Government said we would crack down on crime. We promised to restore law and order, ...
    BeehiveBy beehive.govt.nz
    2 days ago
  • OECD reinforces need to control spending
    The OECD’s latest report on New Zealand reinforces the importance of bringing Government spending under control, Finance Minister Nicola Willis says. The OECD conducts country surveys every two years to review its members’ economic policies. The 2024 New Zealand survey was presented in Wellington today by OECD Chief Economist Clare Lombardelli.   ...
    BeehiveBy beehive.govt.nz
    2 days ago
  • Agreement delivers Local Water Done Well for Auckland
    The Government has delivered on its election promise to provide a financially sustainable model for Auckland under its Local Water Done Well plan. The plan, which has been unanimously endorsed by Auckland Council’s Governing Body, will see Aucklanders avoid the previously projected 25.8 per cent water rates increases while retaining ...
    BeehiveBy beehive.govt.nz
    3 days ago
  • Gaza and the Pacific on the agenda with Germany
    Foreign Minister Winston Peters discussed the need for an immediate ceasefire in Gaza, and enhanced cooperation in the Pacific with German Foreign Minister Annalena Baerbock during her first official visit to New Zealand today.    "New Zealand and Germany enjoy shared interests and values, including the rule of law, democracy, respect for the international system ...
    BeehiveBy beehive.govt.nz
    4 days ago
  • Decision allows for housing growth in Western Bay of Plenty
    The Minister Responsible for RMA Reform, Chris Bishop today released his decision on four recommendations referred to him by the Western Bay of Plenty District Council, opening the door to housing growth in the area. The Council’s Plan Change 92 allows more homes to be built in existing and new ...
    BeehiveBy beehive.govt.nz
    5 days ago
  • Speech to New Zealand China Council
    Thank you, John McKinnon and the New Zealand China Council for the invitation to speak to you today.    Thank you too, all members of the China Council. Your effort has played an essential role in helping to build, shape, and grow a balanced and resilient relationship between our two ...
    BeehiveBy beehive.govt.nz
    5 days ago
  • Modern insurance law will protect Kiwi households
    The Government is modernising insurance law to better protect Kiwis and provide security in the event of a disaster, Commerce and Consumer Affairs Minister Andrew Bayly announced today. “These reforms are long overdue. New Zealand’s insurance law is complicated and dated, some of which is more than 100 years old. ...
    BeehiveBy beehive.govt.nz
    6 days ago
  • Government recommits to equal pay
    The coalition Government is refreshing its approach to supporting pay equity claims as time-limited funding for the Pay Equity Taskforce comes to an end, Public Service Minister Nicola Willis says.  “Three years ago, the then-government introduced changes to the Equal Pay Act to support pay equity bargaining. The changes were ...
    BeehiveBy beehive.govt.nz
    6 days ago
  • Transforming how our children learn to read
    Structured literacy will change the way New Zealand children learn to read - improving achievement and setting students up for success, Education Minister Erica Stanford says.  “Being able to read and write is a fundamental life skill that too many young people are missing out on. Recent data shows that ...
    BeehiveBy beehive.govt.nz
    6 days ago
  • NZ not backing down in Canada dairy dispute
    Trade Minister Todd McClay says Canada’s refusal to comply in full with a CPTPP trade dispute ruling in our favour over dairy trade is cynical and New Zealand has no intention of backing down. Mr McClay said he has asked for urgent legal advice in respect of our ‘next move’ ...
    BeehiveBy beehive.govt.nz
    6 days ago
  • Stronger oversight for our most vulnerable children
    The rights of our children and young people will be enhanced by changes the coalition Government will make to strengthen oversight of the Oranga Tamariki system, including restoring a single Children’s Commissioner. “The Government is committed to delivering better public services that care for our most at-risk young people and ...
    BeehiveBy beehive.govt.nz
    6 days ago
  • Streamlining Building Consent Changes
    The Government is making it easier for minor changes to be made to a building consent so building a home is easier and more affordable, Building and Construction Minister Chris Penk says.      “The coalition Government is focused on making it easier and cheaper to build homes so we can ...
    BeehiveBy beehive.govt.nz
    6 days ago
  • Minister acknowledges passing of Sir Robert Martin (KNZM)
    New Zealand lost a true legend when internationally renowned disability advocate Sir Robert Martin (KNZM) passed away at his home in Whanganui last night, Disabilities Issues Minister Louise Upston says. “Our Government’s thoughts are with his wife Lynda, family and community, those he has worked with, the disability community in ...
    BeehiveBy beehive.govt.nz
    7 days ago
  • Speech to New Zealand Institute of International Affairs, Parliament – Annual Lecture: Challenges ...
    Good evening –   Before discussing the challenges and opportunities facing New Zealand’s foreign policy, we’d like to first acknowledge the New Zealand Institute of International Affairs. You have contributed to debates about New Zealand foreign policy over a long period of time, and we thank you for hosting us.  ...
    BeehiveBy beehive.govt.nz
    7 days ago
  • Accelerating airport security lines
    From today, passengers travelling internationally from Auckland Airport will be able to keep laptops and liquids in their carry-on bags for security screening thanks to new technology, Transport Minister Simeon Brown says. “Creating a more efficient and seamless travel experience is important for holidaymakers and businesses, enabling faster movement through ...
    BeehiveBy beehive.govt.nz
    1 week ago
  • Community hui to talk about kina barrens
    People with an interest in the health of Northland’s marine ecosystems are invited to a public meeting to discuss how to deal with kina barrens, Oceans and Fisheries Minister Shane Jones says. Mr Jones will lead the discussion, which will take place on Friday, 10 May, at Awanui Hotel in ...
    BeehiveBy beehive.govt.nz
    1 week ago
  • Kiwi exporters win as NZ-EU FTA enters into force
    Kiwi exporters are $100 million better off today with the NZ EU FTA entering into force says Trade Minister Todd McClay. “This is all part of our plan to grow the economy. New Zealand's prosperity depends on international trade, making up 60 per cent of the country’s total economic activity. ...
    BeehiveBy beehive.govt.nz
    1 week ago
  • Mining resurgence a welcome sign
    There are heartening signs that the extractive sector is once again becoming an attractive prospect for investors and a source of economic prosperity for New Zealand, Resources Minister Shane Jones says. “The beginnings of a resurgence in extractive industries are apparent in media reports of the sector in the past ...
    BeehiveBy beehive.govt.nz
    1 week ago
  • Ō-Rākau Remembrance Bill passes first reading
    The return of the historic Ō-Rākau battle site to the descendants of those who fought there moved one step closer today with the first reading of Te Pire mō Ō-Rākau, Te Pae o Maumahara / The Ō-Rākau Remembrance Bill. The Bill will entrust the 9.7-hectare battle site, five kilometres west ...
    BeehiveBy beehive.govt.nz
    1 week ago
  • Government to boost public EV charging network
    Energy Minister Simeon Brown has announced 25 new high-speed EV charging hubs along key routes between major urban centres and outlined the Government’s plan to supercharge New Zealand’s EV infrastructure.  The hubs will each have several chargers and be capable of charging at least four – and up to 10 ...
    BeehiveBy beehive.govt.nz
    1 week ago
  • Residential Property Managers Bill to not progress
    The coalition Government will not proceed with the previous Government’s plans to regulate residential property managers, Housing Minister Chris Bishop says. “I have written to the Chairperson of the Social Services and Community Committee to inform him that the Government does not intend to support the Residential Property Managers Bill ...
    BeehiveBy beehive.govt.nz
    1 week ago
  • Independent review into disability support services
    The Government has announced an independent review into the disability support system funded by the Ministry of Disabled People – Whaikaha. Disability Issues Minister Louise Upston says the review will look at what can be done to strengthen the long-term sustainability of Disability Support Services to provide disabled people and ...
    BeehiveBy beehive.govt.nz
    1 week ago
  • Justice Minister updates UN on law & order plan
    Justice Minister Paul Goldsmith has attended the Universal Periodic Review in Geneva and outlined the Government’s plan to restore law and order. “Speaking to the United Nations Human Rights Council provided us with an opportunity to present New Zealand’s human rights progress, priorities, and challenges, while responding to issues and ...
    BeehiveBy beehive.govt.nz
    1 week ago
  • Ending emergency housing motels in Rotorua
    The Government and Rotorua Lakes Council are committed to working closely together to end the use of contracted emergency housing motels in Rotorua. Associate Minister of Housing (Social Housing) Tama Potaka says the Government remains committed to ending the long-term use of contracted emergency housing motels in Rotorua by the ...
    BeehiveBy beehive.govt.nz
    1 week ago

Page generated in The Standard by Wordpress at 2024-05-08T03:42:18+00:00