web analytics
The Standard
Advertising

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

Important links

Recent Comments

Recent Posts

1 2 3 7

  • 50 cents? Makes no sense.
    The minimum wage rose by 50 cents this month from 14.25 to 14.75. While it’s a small step towards ensuring minimum workers get a fair share, it’s important to remember that real wages only rose 1.5% while productivity rose by… ...
    GreensBy Denise Roche MP
    8 hours ago
  • The Serco corrections circus
    It should seem obvious to employers, private or public, that it’s important to do what you can to retain your best, most experienced staff. They make life easier for you because they’re effective, attentive and often respected by those around… ...
    GreensBy David Clendon MP
    10 hours ago
  • Time for NZ to prohibit the killing of great apes
    That ban was widely hailed, and spurred efforts in other countries to get similar bans. However, apes are still being exploited, abused and killed, both in captivity and in the wild. Examples of cruelty, neglect and abuse abound. Apes are… ...
    GreensBy Mojo Mathers MP
    3 days ago
  • Auckland building consents: Tragic
    The only word to describe the latest building consent figures for Auckland is ‘tragic’, Labour’s Housing spokesperson Phil Twyford says. “Whatever the Government is doing to address the Auckland housing crisis, it is clearly not working. ...
    3 days ago
  • A whiff of a new biosecurity scandal?
    A pest which could create havoc for New Zealand’s horticulture and agriculture sector must be as much a focus for the Government as hunting out fruit flies, Labour’s Biosecurity spokesperson Damien O’Connor says. “While the Ministry for Primary Industries is… ...
    3 days ago
  • Government shrugs off health sector crisis
    Despite new evidence showing that cuts to health spending are costing lives the Government continues to deny the sector is struggling, Labour’s Health spokesperson Annette King says. “Health services in New Zealand are in crisis. ...
    4 days ago
  • Parata lowered the bar for failing charter school
    When Hekia Parata became aware that the Whangaruru charter school was experiencing major problems her first action was to drop standards by reducing the number of qualified teachers they had to employ, Labour’s Education spokesperson Chris Hipkins has revealed. “Hekia… ...
    4 days ago
  • National not being straight about the economy
    John Key and Bill English need to be straight with New Zealanders about the damage their failure to diversify the economy is doing, after new figures show export growth plunged due to a collapse in dairy exports, says Grant Robertson.… ...
    4 days ago
  • Mind the Gap
    This week the International Monetary Fund released a report on the wider economic value in closing the gender pay gap. When even the bastions of free-market economics start to raise concerns about gender pay gaps, we have to realise how… ...
    GreensBy Jan Logie MP
    4 days ago
  • Labour will hold National to parental leave promise
    Labour will hold National to its promise to increase the support given to new parents of premature, multiple birth and babies born with disabilities, Labour’s paid parental leave campaigner Sue Moroney says. "I am naturally disappointed that after battling for… ...
    5 days ago
  • It was all just pillar talk
    Steven Joyce’s confession that he can no longer guarantee a pillar-free design for the New Zealand International Convention Centre shows the Government has abandoned its dream of creating an ‘iconic’ ‘world-class’ structure, says Labour Economic Development spokesperson David Clark. “Steven… ...
    5 days ago
  • Australians move on offshore speculators
    John Key might want to have a quiet word with Australian Prime Minister Tony Abbott about Canberra's just-announced crack down on offshore speculators when he visits New Zealand this week, Labour's Housing spokesperson Phil Twyford says."Tony Abbott's centre right government… ...
    5 days ago
  • Government at odds on overseas driver crashes
    National backbencher Jacqui Dean has spoken out about overseas driver crashes, putting herself at odds with Prime Minister John Key who is on record as saying it’s not a big issue, Labour’s Transport spokesperson Phil Twyford says. “I’m not surprised… ...
    5 days ago
  • Human Rights and the Palestine Crisis
    Last week I heard two Palestinians speak at Wellington events about the ongoing crisis in their country. Samar Sabawi spoke to a full house about the history of Palestine and gave us a lucid and disturbing account of the situation… ...
    GreensBy Catherine Delahunty MP
    5 days ago
  • Time to take real care of our kids
    An Amnesty International report has once again criticised New Zealand’s track record on looking after our kids, Labour’s Children’s spokesperson Jacinda Ardern says. The annual report, which looks at global human rights abuses highlights not only the fact that high… ...
    5 days ago
  • John Key wrong about Labour’s war vote
    John Key’s desperate claims that the former Labour Government didn’t put combat troop deployment to a Parliamentary vote are simply wrong, Labour’s Defence spokesperson Phil Goff says. “It was disgraceful that the Prime Minister ran rough shod over democracy and… ...
    5 days ago
  • Māori language bill needs work
     It is clear that the first draft of the Māori Language Bill was about structures and funding rather than the survival of te reo Māori, Labour’s Māori Development Spokesperson Nanaia Mahuta says.  “Labour is pleased that the Minister of Māori… ...
    5 days ago
  • Report proves troubled school shouldn’t have opened
    The long-awaited release of an Education Review Office report into Northland’s troubled Whangaruru charter school proves it should never have been approved in the first place, Labour’s Education spokesperson Chris Hipkins says. “This report identifies problems with absenteeism and disengaged… ...
    6 days ago
  • Reply to PM’s statement on deploying troops to Iraq
    “The decision of any Government to send troops to a conflict zone is a very serious one, and it is right that this House takes time to consider it, to debate it, and, ideally, to vote on it, but we… ...
    6 days ago
  • Minister must take action on death trap slides
    Workplace Relations Safety Minister Michael Woodhouse must take urgent action to ensure inflatable amusement rides don’t become death traps for children, Labour’s spokesperson on Labour Relations Iain Lees-Galloway says. “No one wants to stop kids having fun, but horror stories… ...
    6 days ago
  • Manus Island and the New Zealand Government
    This week the Greens have participated in awareness activity about Manus Island, the refugee camp on an island in Papua New Guinea where Australia dumps asylum seekers. John Key says that he has every confidence in the Australian Government’s claim… ...
    GreensBy Catherine Delahunty MP
    2 weeks ago
  • Election Inquiry – Getting accessible voting on the agenda
    James Shaw has been doing a series of blogs on the Election Inquiry into last year’s general election.  I thought this was a great opportunity to raise an issue very dear to me – accessible voting. Last year’s general election… ...
    GreensBy Mojo Mathers MP
    2 weeks ago
  • RMA changes no solution to Christchurch housing
    Housing will continue to be a big issue in 2015. The latest Consumer Price Index, released last month, shows both good news and bad news on the housing front. After years of being the most expensive place to build a… ...
    GreensBy Eugenie Sage MP
    2 weeks ago
  • Saving kokako in South Auckland’s Hunua Ranges
    It is amazing that you can hear the song of the endangered North Island kokako in South Auckland’s Hunua Ranges, less than 50 kms from the central city. A heavy schedule of policy workshops at the Green Party’s Policy… ...
    GreensBy Eugenie Sage MP
    2 weeks ago
  • Let’s not turn a blind eye to human rights
    The Cricket World Cup has just opened in New Zealand, and it’s an opportunity for us to shine on the world stage. International sport can be a chance for us to build relationships with other countries, and examine what it… ...
    GreensBy Catherine Delahunty MP
    2 weeks ago
  • Its Just Not Cricket
    This week it was my privilege to work with Sri Lankan Tamil communities in this country and host Australian journalist and human rights advocate Trevor Grant. I knew a bit about Trevor from his biography but I didn’t know just… ...
    GreensBy Catherine Delahunty MP
    2 weeks ago
  • Time for NZ to #BeCrueltyFree
    The Government is about to progress the final stages of the Animal Welfare Amendment bill. This will be our last opportunity to get changes made to improve the bill to ensure a better outcome for animals. I have put forwards… ...
    GreensBy Mojo Mathers MP
    2 weeks ago
  • We want access!
    Access to buildings is a big issue for many New Zealanders. It looks like that, due to the hard work and persistence of people in the disability community, the Government may finally be starting to take access to buildings seriously.… ...
    GreensBy Mojo Mathers MP
    2 weeks ago
  • Greens call on Super Fund to divest from fossil fuels
    The Green Party today called on the New Zealand Superannuation Fund (the Fund) to divest from fossil fuels, starting immediately with coal. The call was accompanied with a new report, Making money from a climate catastrophe: The case for divesting… ...
    GreensBy Russel Norman MP
    2 weeks ago
  • Young Kiwis’ housing crisis
    Shelter is a fundamental human need along with food, water and clean air. All humans need adequate shelter; it’s a human right. Warm, safe, stable accommodation is critical for young people to be able learn and grow and just be.… ...
    GreensBy Jan Logie MP
    3 weeks ago

Removed at the request of The Daily Blog.
Public service advertisements by The Standard

Current CO2 level in the atmosphere