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

  • COVID-19 vaccine slated for possible approval next week
    The green light for New Zealand’s first COVID-19 vaccine could be granted in just over a week, Prime Minister Jacinda Ardern said today. “We’re making swift progress towards vaccinating New Zealanders against the virus, but we’re also absolutely committed to ensuring the vaccines are safe and effective,” Jacinda Ardern said. ...
    BeehiveBy beehive.govt.nz
    4 hours ago
  • New ACC Board members announced.
    The Minister for ACC is pleased to announce the appointment of three new members to join the Board of ACC on 1 February 2021. “All three bring diverse skills and experience to provide strong governance oversight to lead the direction of ACC” said Hon Carmel Sepuloni. Bella Takiari-Brame from Hamilton ...
    BeehiveBy beehive.govt.nz
    7 hours ago
  • Economic boost for Southland marae
    The Government is investing $9 million to upgrade a significant community facility in Invercargill, creating economic stimulus and jobs, Infrastructure Minister Grant Robertson and Te Tai Tonga MP Rino Tirikatene have announced.  The grant for Waihōpai Rūnaka Inc to make improvements to Murihiku Marae comes from the $3 billion set ...
    BeehiveBy beehive.govt.nz
    15 hours ago
  • Celebrating the Entry Into Force of the Treaty on the Prohibition of Nuclear Weapons
    [Opening comments, welcome and thank you to Auckland University etc] It is a great pleasure to be here this afternoon to celebrate such an historic occasion - the entry into force of the Treaty on the Prohibition of Nuclear Weapons. This is a moment many feared would never come, but ...
    BeehiveBy beehive.govt.nz
    4 days ago
  • Supporting disabled people to stay connected
    The Government is providing $3 million in one-off seed funding to help disabled people around New Zealand stay connected and access support in their communities, Minister for Disability Issues, Carmel Sepuloni announced today. The funding will allow disability service providers to develop digital and community-based solutions over the next two ...
    BeehiveBy beehive.govt.nz
    4 days ago
  • Voluntary saliva testing offered to quarantine workers from Monday
    Border workers in quarantine facilities will be offered voluntary daily COVID-19 saliva tests in addition to their regular weekly testing, COVID-19 Response Minister Chris Hipkins said today. This additional option will be rolled out at the Jet Park Quarantine facility in Auckland starting on Monday 25 January, and then to ...
    BeehiveBy beehive.govt.nz
    4 days ago
  • Next steps in firearms buy-back
    The next steps in the Government’s ambitious firearms reform programme to include a three-month buy-back have been announced by Police Minister Poto Williams today.  “The last buy-back and amnesty was unprecedented for New Zealand and was successful in collecting 60,297 firearms, modifying a further 5,630 firearms, and collecting 299,837 prohibited ...
    BeehiveBy beehive.govt.nz
    4 days ago
  • Jobs for Nature projects target iconic ecosystems
    Upscaling work already underway to restore two iconic ecosystems will deliver jobs and a lasting legacy, Conservation Minister Kiri Allan says.  “The Jobs for Nature programme provides $1.25 billion over four years to offer employment opportunities for people whose livelihoods have been impacted by the COVID-19 recession. “Two new projects ...
    BeehiveBy beehive.govt.nz
    5 days ago
  • New Public Housing Plan announced
    The Government has released its Public Housing Plan 2021-2024 which outlines the intention of where 8,000 additional public and transitional housing places announced in Budget 2020, will go. “The Government is committed to continuing its public house build programme at pace and scale. The extra 8,000 homes – 6000 public ...
    BeehiveBy beehive.govt.nz
    5 days ago
  • Prime Minister congratulates President Joe Biden on his inauguration
    Prime Minister Jacinda Ardern has congratulated President Joe Biden on his inauguration as the 46th President of the United States of America. “I look forward to building a close relationship with President Biden and working with him on issues that matter to both our countries,” Jacinda Ardern said. “New Zealand ...
    BeehiveBy beehive.govt.nz
    6 days ago
  • Jobs for Nature funding will create training and employment opportunities
    A major investment to tackle wilding pines in Mt Richmond will create jobs and help protect the area’s unique ecosystems, Biosecurity Minister Damien O’Connor says. The Mt Richmond Forest Park has unique ecosystems developed on mineral-rich geology, including taonga plant species found nowhere else in the country. “These special plant ...
    BeehiveBy beehive.govt.nz
    1 week ago
  • Pre-departure testing extended to all passengers to New Zealand
    To further protect New Zealand from COVID-19, the Government is extending pre-departure testing to all passengers to New Zealand except from Australia, Antarctica and most Pacific Islands, COVID-19 Response Minister Chris Hipkins said today. “The change will come into force for all flights arriving in New Zealand after 11:59pm (NZT) on Monday ...
    BeehiveBy beehive.govt.nz
    1 week ago
  • Bay Cadets learn skills to protect environment
    Bay Conservation Cadets launched with first intake Supported with $3.5 million grant Part of $1.245b Jobs for Nature programme to accelerate recover from Covid Cadets will learn skills to protect and enhance environment Environment Minister David Parker today welcomed the first intake of cadets at the launch of the Bay ...
    BeehiveBy beehive.govt.nz
    1 week ago
  • Cook Islanders to resume travel to New Zealand
    The Prime Minister of New Zealand Jacinda Ardern and the Prime Minister of the Cook Islands Mark Brown have announced passengers from the Cook Islands can resume quarantine-free travel into New Zealand from 21 January, enabling access to essential services such as health. “Following confirmation of the Cook Islands’ COVID ...
    BeehiveBy beehive.govt.nz
    2 weeks ago
  • Supporting communities and landowners to grow employment opportunities
    Jobs for Nature funding is being made available to conservation groups and landowners to employ staff and contractors in a move aimed at boosting local biodiversity-focused projects, Conservation Minister Kiritapu Allan has announced. It is estimated some 400-plus jobs will be created with employment opportunities in ecology, restoration, trapping, ...
    BeehiveBy beehive.govt.nz
    2 weeks ago
  • Border exception for some returning international tertiary students
    The Government has approved an exception class for 1000 international tertiary students, degree level and above, who began their study in New Zealand but were caught offshore when border restrictions began. The exception will allow students to return to New Zealand in stages from April 2021. “Our top priority continues ...
    BeehiveBy beehive.govt.nz
    2 weeks ago
  • Tiwai deal gives time for managed transition
    Today’s deal between Meridian and Rio Tinto for the Tiwai smelter to remain open another four years provides time for a managed transition for Southland. “The deal provides welcome certainty to the Southland community by protecting jobs and incomes as the region plans for the future. The Government is committed ...
    BeehiveBy beehive.govt.nz
    2 weeks ago
  • New member for APEC Business Advisory Council
    Prime Minister Jacinda Ardern has appointed Anna Curzon to the APEC Business Advisory Council (ABAC). The leader of each APEC economy appoints three private sector representatives to ABAC. ABAC provides advice to leaders annually on business priorities. “ABAC helps ensure that APEC’s work programme is informed by business community perspectives ...
    BeehiveBy beehive.govt.nz
    2 weeks ago
  • Govt’s careful economic management recognised
    The Government’s prudent fiscal management and strong policy programme in the face of the COVID-19 global pandemic have been acknowledged by the credit rating agency Fitch. Fitch has today affirmed New Zealand’s local currency rating at AA+ with a stable outlook and foreign currency rating at AA with a positive ...
    BeehiveBy beehive.govt.nz
    2 weeks ago
  • Additional actions to keep COVID-19 out of NZ
    The Government is putting in place a suite of additional actions to protect New Zealand from COVID-19, including new emerging variants, COVID-19 Response Minister Chris Hipkins said today. “Given the high rates of infection in many countries and evidence of the global spread of more transmissible variants, it’s clear that ...
    BeehiveBy beehive.govt.nz
    2 weeks ago
  • 19 projects will clean up and protect waterways
    $36 million of Government funding alongside councils and others for 19 projects Investment will clean up and protect waterways and create local jobs Boots on the ground expected in Q2 of 2021 Funding part of the Jobs for Nature policy package A package of 19 projects will help clean up ...
    BeehiveBy beehive.govt.nz
    3 weeks ago
  • New Zealand Government acknowledges 175th anniversary of Battle of Ruapekapeka
    The commemoration of the 175th anniversary of the Battle of Ruapekapeka represents an opportunity for all New Zealanders to reflect on the role these conflicts have had in creating our modern nation, says Associate Minister for Arts, Culture and Heritage Kiri Allan. “The Battle at Te Ruapekapeka Pā, which took ...
    BeehiveBy beehive.govt.nz
    3 weeks ago