web analytics

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

  • NZ announces a third P-3 deployment in support of UN sanctions
    The Government has deployed a Royal New Zealand Air Force P-3K2 Orion (P-3) maritime patrol aircraft to support the implementation of United Nations Security Council (UNSC) resolutions imposing sanctions against North Korea, announced Minister of Foreign Affairs Winston Peters and Minister of Defence Ron Mark. “New Zealand has long supported ...
    BeehiveBy beehive.govt.nz
    2 days ago
  • Pacific trade and development agreement a reality
    Pacific regional trade and development agreement PACER Plus will enter into force in 60 days now that the required eight countries have ratified it. Trade and Export Growth Minister David Parker welcomed the announcement that the Cook Islands is the eighth nation to ratify this landmark agreement. “The agreement represents ...
    BeehiveBy beehive.govt.nz
    6 days ago
  • Securing a pipeline of teachers
    The Government is changing its approach to teacher recruitment as COVID-19 travel restrictions continue, by boosting a range of initiatives to get more Kiwis into teaching. “When we came into Government, we were faced with a teacher supply crisis,” Education Minister Chris Hipkins said. “Over the past three years, we ...
    BeehiveBy beehive.govt.nz
    1 week ago
  • Border exceptions for a small number of international students with visas
    The Government has established a new category that will allow 250 international PhD and postgraduate students to enter New Zealand and continue their studies, in the latest set of border exceptions. “The health, safety and wellbeing of people in New Zealand remains the Government’s top priority. Tight border restrictions remain ...
    BeehiveBy beehive.govt.nz
    1 week ago
  • First COVID-19 vaccine purchase agreement signed
    The Government has signed an agreement to purchase 1.5 million COVID-19 vaccines – enough for 750,000 people – from Pfizer and BioNTech, subject to the vaccine successfully completing all clinical trials and passing regulatory approvals in New Zealand, say Research, Science and Innovation Minister Megan Woods and Health Minister Chris Hipkins. ...
    BeehiveBy beehive.govt.nz
    1 week ago
  • International statement – End-to-end encryption and public safety
    We, the undersigned, support strong encryption, which plays a crucial role in protecting personal data, privacy, intellectual property, trade secrets and cyber security.  It also serves a vital purpose in repressive states to protect journalists, human rights defenders and other vulnerable people, as stated in the 2017 resolution of the ...
    BeehiveBy beehive.govt.nz
    1 week ago
  • Ministry of Defence Biodefence Assessment released
    The Ministry of Defence has today released a Defence Assessment examining Defence’s role across the spectrum of biological hazards and threats facing New Zealand. Biodefence: Preparing for a New Era of Biological Hazards and Threats looks at how the NZDF supports other agencies’ biodefence activities, and considers the context of ...
    BeehiveBy beehive.govt.nz
    1 week ago
  • New Approaches to Economic Challenges: Confronting Planetary Emergencies: OECD 9 October 2020
    New Approaches to Economic Challenges: Confronting Planetary Emergencies: OECD 9 October 2020 Hon David Parker’s response following Thomas Piketty and Esther Duflo. Good morning, good afternoon, and good evening, wherever in the world you might be. I first acknowledge the excellent thought provoking speeches of Thomas Piketty and Esther ...
    BeehiveBy beehive.govt.nz
    2 weeks ago
  • Kaipara Moana restoration takes next step
    A Memorandum of Understanding has been signed today at Waihāua Marae between the Crown, local iwi and councils to protect, restore and enhance the mauri of Kaipara Moana in Northland. Environment Minister David Parker signed the document on behalf of the Crown along with representatives from Ngā Maunga Whakahī, Ngāti ...
    BeehiveBy beehive.govt.nz
    2 weeks ago
  • New Zealand and Uruguay unite on reducing livestock production emissions
    Agriculture Minister Damien O’Connor and Uruguayan Minister of Livestock, Agriculture and Fisheries Carlos María Uriarte have welcomed the launch of a three-year project that will underpin sustainable livestock production in Uruguay, Argentina, and Costa Rica.  The project called ‘Innovation for pasture management’ is led by Uruguay’s National Institute of Agricultural ...
    BeehiveBy beehive.govt.nz
    2 weeks ago
  • 3100 jobs created through marae upgrades
    Hundreds of marae throughout the country will be upgraded through investments from the Provincial Growth Fund’s refocused post COVID-19 funding to create jobs and put money into the pockets of local tradespeople and businesses, Regional Economic Development Minister Shane Jones and Māori Development Minister Nanaia Mahuta have announced. “A total ...
    BeehiveBy beehive.govt.nz
    2 weeks ago
  • Health volunteers recognised in annual awards
    Health Minister Chris Hipkins has announced 9 teams and 14 individuals are the recipients of this year’s Minister of Health Volunteer Awards.  “The health volunteer awards celebrate and recognise the thousands of dedicated health sector volunteers who give many hours of their time to help other New Zealanders,” Mr Hipkins ...
    BeehiveBy beehive.govt.nz
    2 weeks ago
  • Community COVID-19 Fund supports Pacific recovery
    The Minister for Pacific Peoples, Aupito William Sio says a total of 264 groups and individuals have successfully applied for the Pacific Aotearoa Community COVID-19 Recovery Fund, that will support Pacific communities drive their own COVID-19 recovery strategies, initiatives, and actions. “I am keen to see this Fund support Pacific ...
    BeehiveBy beehive.govt.nz
    2 weeks ago
  • Community benefits from Māori apprenticeships
    Up to 50 Māori apprentices in Wellington will receive paid training to build houses for their local communities, thanks to a $2.75 million investment from the Māori Trades and Training Fund, announced Employment Minister Willie Jackson today. “This funding will enable Ngāti Toa Rangatira Incorporated to provide its Ngā Kaimahi ...
    BeehiveBy beehive.govt.nz
    2 weeks ago
  • Training fund supports Māori jobseekers
    Rapidly growing sectors will benefit from a $990,000 Māori Trades and Training Fund investment which will see Wellington jobseekers supported into work, announced Employment Minister Willie Jackson today. “This funding will enable Sapphire Consultants Ltd. to help up to 45 Māori jobseekers into paid training initiatives over two years through ...
    BeehiveBy beehive.govt.nz
    2 weeks ago
  • Ruakura Inland Port development vital infrastructure for Waikato
    The Government is investing $40 million to develop an inland port at Ruakura which will become a freight super-hub and a future business, research and residential development for the Waikato, Urban Development and Transport Minister Phil Twyford, and Māori Development Minister Nanaia Mahuta announced today. The funding has been has ...
    BeehiveBy beehive.govt.nz
    2 weeks ago
  • Appointments made to Defence Expert Review Group
    Defence Minister Ron Mark announced today the establishment of an Expert Review Group to review a number of aspects of the New Zealand Defence Force’s (NZDF) structure, information management and record-keeping processes.  The Expert Review Group’s work arises out of the first recommendation from the Report of the Government’s Inquiry ...
    BeehiveBy beehive.govt.nz
    2 weeks ago
  • No active community cases of COVID-19
    There are no active community cases of COVID-19 remaining in the country after the last people from the recent outbreak have recovered from the virus, Health Minister Chris Hipkins said today. “This is a big milestone. New Zealanders have once again through their collective actions squashed the virus. The systems ...
    BeehiveBy beehive.govt.nz
    2 weeks ago
  • Clean energy upgrade for more public buildings
    More public buildings will be supported by the Government to upgrade to run on clean energy, the Minister for Climate Change James Shaw announced today. Minister Shaw announced that Lincoln and Auckland universities will receive support through the Clean-Powered Public Service Fund to replace fossil fuel boilers. Southern, Taranaki, and ...
    BeehiveBy beehive.govt.nz
    2 weeks ago
  • Schools back donations scheme for the second year
    More schools have opted in to the donations scheme for 2021, compared to 2020 when the scheme was introduced. “The families of more than 447,000 students will be better off next year, with 94% of eligible schools and kura opting into the scheme,” Education Minister Chris Hipkins said. “This is ...
    BeehiveBy beehive.govt.nz
    2 weeks ago
  • Ruapehu cycle trails gets PGF boost
    The spectacular Mountains to Sea cycle trail in Ruapehu District will receive $4.6 million in funding from the Provincial Growth Fund for two additional trails, Regional Economic Development Minister Shane Jones announced today. “This is an exciting development for the local community, and one that will provide significant economic opportunities ...
    BeehiveBy beehive.govt.nz
    2 weeks ago
  • Update to air border order strengthens crew requirements
    Additional measures coming into effect on Monday will boost our defence against COVID-19 entering New Zealand through the air border, Health Minister Chris Hipkins said today. “As part of our precautionary approach and strategy of constant review, we’re tightening the requirements around international aircrew,” Chris Hipkins said. The COVID-19 Public ...
    BeehiveBy beehive.govt.nz
    3 weeks ago
  • A true picture of Māori business activity
    A better picture of the contribution Māori businesses make to the economy will be possible with changes to the way information is collected about companies and trading enterprises. Māori Development Minister Nanaia Mahuta and Small Business Minister Stuart Nash have announced a new option for Māori enterprises who are part ...
    BeehiveBy beehive.govt.nz
    3 weeks ago
  • PGF funding for Taranaki projects
    The South Taranaki museum, a New Plymouth distillery and a Pasifika building firm will benefit from a Government investment totalling more than $1 million, Regional Economic Development Minister Shane Jones says. The $1.05m in grants and loans from the Provincial Growth Fund (PGF) will help the recipients expand and create ...
    BeehiveBy beehive.govt.nz
    3 weeks ago
  • Fijian Language Week 2020 inspires courage and strength during COVID-19 pandemic
    The Minister for Pacific Peoples, Aupito William Sio says the theme for the 2020 Fijian Language Week reflects the strong belief by Fijians that their language and culture inspires courage and strength that is strongly needed in times of emergencies, or through a significant challenge like the global COVID-19 pandemic ...
    BeehiveBy beehive.govt.nz
    3 weeks ago
  • Trades training builds on iwi aspirations
    An investment of $2.025 million from the Māori Trades and Training Fund will support Māori to learn new skills while making a positive difference for their communities, announced Employment Minister Willie Jackson today. “K3 Development Limited Partnership will receive $2,025,000 for its Takitimu Tuanui apprenticeship programme, which will support the ...
    BeehiveBy beehive.govt.nz
    3 weeks ago