How to Register an Australian Company for Business with the USA Government

If you want to sell anything to a US government entity, or bid on a US government contract, you need to be on the Central Contractor Registration list and to do this you need to open a user account within the System For Award Management (SAM). Like everything the US government does it is an incredibly painful and slow process. These are the steps you need to go through.

  1. Get a D-U-N-S number. In theory if you have an Australian ABN you have an D-U-N-S number, but this does not seem to always be true. If you don’t already have a D-U-N-S number then you just need to complete this form and email to Dun & Bradstreet Australia and in a few days they will email you back your D-U-N-S number. It is free and the form is not too complex, although it does not seem to be well formatted.
  2. Check that the D-U-N-S details for your company are correct. If the details need to be updated (address, phone number, etc) then just send an email from a company email address to D&B at clientservices@dnb.com.au with the changes needed. It is really important that the details with D&B are correct.
  3. Register for a NCAGE number. To do this you need to search for your details on the NATO Codification Tools page. Assuming nothing comes up then you can then fill out the NCAGE Application Form. Most of it is straightforward, except for the Organization Data – Additional Information section. Here you are expected to enter information on your classification. I just completed the 
  4. Confirm your NCAGE application.  Once you have entered everything and submitted the form you will be sent a email that contains a confirmation link you need to click on. An email will be sent to you that explains that your application has been sent to the Australian Department of Defence. The applications appears to be handled by one person in defence, but he is very helpful and friendly. The only thing extra he needed from me was our ABN. The application process is supposed to take two weeks before you get your NCAGE number (mine took a week).
  5. Wait for your NCAGE number to enter the US CAGE system. Once you have a NCAGE number you need to wait for the information to be sent to the USA and be entered into the US CAGE system. This took 12 days for me, but my application did cross over the Thanksgiving period so it might be quicker normally. To know when your company is in the CAGE system you need to check for your details in the Business Identification Number Cross Reference System (BINCS). This site is run by the US military and interestingly my browser considered their https certificate to be invalid. Considering it is impossible to get a .mil domain unless you are part of the US military this is not something to really worry about.
  6. Register with SAM. Once you have your NGAGE and D-U-N-S numbers (and they are in the US CAGE system), then you can begin the process of registering with the System For Award Management (SAM). There is a hard to find, but very helpful, step-by-step guide in Word format (.docx) of what you need to do on the SAM site. To access this guide click on the main HELP tab, then clicking on Demonstration Videos, then click on View Transcript of the video entitled Register a New Entity in SAM to be Eligible for Government Contracts (you can watch the video too, but I prefer instructions in writing)The SAM registration process is long, but pretty straightforward except for a few tricky points. The basic process involves:
    1. Creating a User Account. After clicking on Create User Account you are given the choice of creating an Individual Account or a System Account. Choose Individual Account and then fill in the form. The only tricky part is you need to change the country to Australia before you can enter the correct phone number. Once you submit the form you will be sent a confirmation email which you need to click.
    2. Once you have confirmed your email and logged into the SAM system you need to go to the Register New Entity page which is accessed from the left hand side menu. Click on the START REGISTRATION button. You will be warned you need a DUNS and NGAGE number.
    3. On the Purpose of Registration select Business or Organisation for the What type of entity are you. Select Yes for Do you wish to bid on Contracts.
    4. From this point on rely on the SAM transcript guide as the process gets amazingly complex. Many of the questions don’t apply to an Australian company and a lot of the questions you can push off into the future by just selecting you will supply the information with a specific bid later. The big one to watch out for is don’t put anything in the Taxpayer Identification Information field unless you want to deal with the IRS. There does not seem to be anyway of registering a Australian bank account so you will need to choose to have any payment mailed to you with a cheque unless you happen to have a US bank account.
  7. Wait for your registration to be approved. This was actually quite efficient and it only took 12 hours with my application. You will be sent an email letting you know when you are approved. You do have to renew your registration in a little less than 12 months so mark this down in your diary. You can also update any information about your company later by logging into the SAM system and selecting Update.
  8. Profit!

Update for 2016

I have gone through the renewal process and it is pretty straightforward. SAM sends you an email reminder a month out and you just have to follow the instructions in the email. The only issue is you have to reset your password as SAM expires your password after 180 days (why is beyond me). Other than that it is just a lot of clicking through confirmation pages that everything is the same as last year – the whole things takes around 30 minutes.

Saving split mayonnaise when you don’t have any more eggs

I was making Caesar Salad last night and managed to split the mayonnaise while making it – this is pretty easy to do if you add too much oil too fast. The simple way to fix this problem is just to start again with a new egg and slowly whisk back in the split mayonnaise – the only requirement for this rescue is that you have an extra egg.

Of course as fate would have it I had no more eggs. At this point I was faced with making an emergency trip to the shops to buy more eggs, but then it occurred to me to see if I could rescue the split mayonnaise with dijon mustard. I tipped out the split mayonnaise, added around a teaspoon of dijon mustard to the jar, and then slowly added back the split mayonnaise while whisking the whole time. Thankfully it worked and I ended up with nice unsplit mayonnaise. The flavour was not too bad either.

Ideas are not cheap

fourclosedshops_mid

It is a cliche in the tech industry that startup ideas are cheap and all that matters is execution. The thinking is that it doesn’t really matter what you do, it just matters that you work really hard and pivot until you get product-market fit.

The truth is the vast majority of ideas are worse than worthless because they are simply bad ideas. Bad ideas will sometimes work because of luck or effort, but good ideas are much, much more likely to succeed. Life is too short to work on bad ideas.

You are probably saying to yourself right now that this is pretty obvious and how does knowing good ideas are important help me find good ideas, or know if my ideas are any good? To answer these questions it is best to split the problem into two; first, what is a good idea and second, how to generate good ideas?

What is a good idea?

A good idea must be able to be executed by you within your limitations. An idea that you can’t execute (for whatever reason) is a bad idea. Beyond this critical requirement, good ideas will have as many of the following features as possible (these are listed in no particular order).

  • Require little, or no money, avoiding the need for outside investors (i.e you can bootstrap).
  • Is simple to explain, but hard to conceive. For those of you who have a biology background PCR is the classic example of this.
  • Is not being worked on by anyone else (i.e. no direct competitors).
  • Easy for customers to trial and use (i.e. low barriers to selling).
  • Fits into an existing market so you don’t have to create both a new product and a new market at the same time.
  • Is not dependent of the actions of others (e.g. does not build on Twitter’s API).
  • Has no legal issues – you don’t want to spend the next 20 years in litigation with everyone.
  • Cannot be easily replicated.
  • The first mover has a major advantage.
  • Is a natural monopoly that can be defended. Ideas that have a strong network effect are often natural monopolies.
  • Has a high R0 index (i.e. is viral).
  • Offers high margins that won’t be eroded over time.
  • Solves an interesting and/or important problem that will make your mother proud (i.e. make a dent in the world).
  • Provides your customers with such significant value that they will wonder how they once lived without it.
  • Is sticky – your customers won’t switch to other products. Ideas that have a strong network effect are sticky.
  • Is 100x better than any current product or service.
  • Can be sold without expensive sales staff (i.e. low touch sales model).
  • Can be adapted to be used in other markets (i.e. build narrow and expand later).
  • Generates sufficient cashflow to enable your company to expand as fast as you want without needing external investors.
  • Doesn’t threaten any well-established powers who are able and willing to crush you.
  • Is of interest to the media (free PR).
  • Has a narrow target market that can be identified and reached.
  • Is not dependent on the use of low cost labour.
  • Can be scaled to support millions of users at a low cost.
  • Can be sold internationally.

This is a pretty tough list and no idea in history has ever met all of them, but the more of these your idea has then the better the idea. Which ones are the most important will depend on your idea and personal desires, but you can assume that if it does not tick at least 7 or 8 then it is not a really good idea.

The points on this list that people are most likely to disagree with are those concerning avoiding external investors. For some this is not important, but for me it is very desirable that any idea be able to be bootstrapped. Even if you have no objection to taking money from outside investors, it is still good for an idea to require as little outside money as possible and as late in the process as possible. You want to be talking to investors when you don’t need their money; any investment is just to diversify your risk, or to allow you to grow faster than you might have done. Investors should be “nice to have”,  not a “must have”.

I have left off some things from this list that are considered important by the VC industry like being in a rapidly growing market, having the potential to be a unicorn (i.e. be worth over a billion dollars), or being in “hot” area. The reason why I don’t consider these important is that investor fashion won’t turn a bad idea into a good idea (it might get you VC money though), and it is too hard to predict what the market will do when it is rapidly growing and changing. While you might get lucky and get everything right, you run the very real risk of being too early, too late, or just plan wrong, without knowing until it is too late. As for the need to become a unicorn, it is important to remember that the decline in the hedonistic value of money is very rapid. Ask yourself how much happier you will be if you are worth $100 million verses $20 million. For most people $20 million is more than enough.

Edit. I have posted an updated checklist with much more detail to help you work on what is a good idea.

How to generate good ideas?

This is one is harder. Good ideas are rare and even the most talented people will not have many (most will have none). My best advice is to think a lot about big existing problems. These are problems that if solved will unlock massive value. If you can provide huge value to a customer then you can succeed with an idea that might be weak in other areas.

Think about markets with significant information asymmetries. These are markets where either the buyer or seller (or both) lack the information they need to come to the best price. A simple example of this type of market is the second hand car market. Because the seller knows much more about the history of the car than the buyer, the buyer pays below the cars true worth to make up for the very real risk of ending up with a lemon. Sellers get less than they should for good cars and buyers are at risk of buying a dud. Closing this information gap can unleash massive value for both buyers and sellers which can be captured by the right idea.

I should mention that asymmetrical markets often exist because there are powerful forces that benefit from this asymmetry and who will not take kindly to any attempt to disrupt their business model (banking is a good example). If there are powerful forces involved in keeping a market asymmetrical, then you need to think carefully about how you can enter the market without waking the sleeping dragons. One way is to appear benign and unthreatening on the surface while you build up the resources to be able to move rapidly into the market once ready (the blitzkrieg approach). Another is to pursue a seemingly unrelated market at first and then switch to your desired market when strong.

Think about existing processes that are expensive. Any activity that requires a lot of money or time will have inherent inefficiencies, that if removed, will unlock sufficient value to be a good idea. For example, for most people finding the right home is very costly in both time and money. If you can workout a way for people to be able to find their ideal home in a much more efficient manner then you will be unlocking huge value which can be captured by a good idea. The key is to make sure the value can be captured by your business, since unless you are running a non-profit, unlocking value that can’t be captured is not a good idea.

Don’t copy others – no more Uber for x, or Tinder for y. Everyone can bring up the counterexamples of Google and Facebook as being “me-too” successes, but these two companies were the first to get search and social right respectively. With Google you could actually find the content you wanted (not keyword-stuffed spam), while Facebook allowed you to socialise online without feeling like you were hanging out in a troll-filled ghetto. They might have appeared to be following others, but in reality they were leading the way.

Learn about everything you can, especially from outside your current expertise domain. I have had many idea come to me while learning about totally new areas where I recognised that a problem in one domain had already been solved in another domain but nobody had yet noticed. Often a good idea is just a case of noticing what has already been done and applying it to a new area.

Don’t be worried about borrowing/stealing a good idea. It does not matter if you had the idea or not as long as you were the one that first recognised that it was a good idea. For what it is worth I have never has an idea stolen, only the credit after it had been proven.

Don’t forget that some good ideas only need one small tweak to turn them from a bad idea into a good idea. AirBnB is a classic example of this. Their original idea of a website to enable you to find strangers to sleep on an air mattress in your living room was a terrible idea. What made AirBnB a good idea was providing free professional photographers to their customers (landlords). This made the properties they listed look much better than their competitors listings and kicked off a virtuous circle that got more landlords to list and people to rent the properties. All it took was one small change to unleash massive value.

Write down your ideas and think often about what you can change so that you make them better. A good idea will rarely arrive fully-formed and may take years to be worked into a winner. For example, the idea I am working on for my next venture I first had 15 years ago. I felt it was a cool idea at the time, but since I could not see any way of monetizing the concept so I left it to mature. Three months ago I finally thought of way that would enable me to make money using it and it now meets 10 of my good idea requirements. I am spending around 20% of my time planning and knowledge gap filling to get the idea ready for execution. There is no guarantee it will succeed, but it has more chance than a Tinder clone focused on left handed people (“swipe left not right”).

Most importantly, don’t stop thinking.

Why I kept my startup in Australia and why it was crazy

Radial Road
There has been great some discussion of late about tech startups in Australia. Alan Downie of Macropod has posted a couple of interesting articles on this topic (Why we kept our Startup in Australia and Funding an Australian Startup) which generated a really good discussion on Hacker News if this is a good idea or not. I am firmly of the opinion that trying to run a technology company in Australia is crazy, yet here I am almost 16 years later doing exactly this and making (at least to my satisfaction) a success of it.

So why did I keep Nucleics in Australia?

To answer this question I really need to provide some background. The history of Nucleics is rather long with all the twists and turns you would expect for a startup that has lasted this long. Nucleics began in a blaze of success back in 1999 out of an idea I had while finishing up my PhD. The late 90s were the time of the genomics boom (this was a parallel boom to the original dot.com boom) where anything to do with the human genome project was seen as the future. After bootstraping Nucleics from nothing (just me at the bench) we managed to sell our first product (ASIN) to a large US biotech company, and then again to a large Japanese company in early 2000.

Thinking this business stuff was easy, I poured all the money back into Nucleics and we rapidly expanded and so by mid 2001 we had 8 Ph.D level scientist, 3 full time developers, and 3 B.Sc level research assistants all working feverishly developing a whole suite of amazing genomics tools (a number of these became products such as CounterTrace, UniSeq, and dLUTE SEQ). While things were not always without drama, money and sales came so easy I thought running a biotech company was simple and all we needed to do is keep creating great products and we would conquer the world (yes hubris). We discussed about moving Nucleics to the USA and we had some venture capital interest there too, but I stupidly thought that I could do it all remotely from Australia – why move Nucleics, let’s prove that it can be done in Australia and be (very) local heroes.

Downfall

Like all good Greek tragedies the gods only build you up so they can cut you down. In my case 9/11 happened and everything came to a grinding halt. All the deals we had been negotiating froze, businesses and facilities couldn’t make any purchasing decisions – everyone said you have great products, but we can’t commit to anything new now, etc, etc. Nucleics rolled along burning enormous amounts of cash (scientists while cheap, are not that cheap) and I sat there hoping that at any moment now someone is going to sign and we will be saved. VC or Angel money proved impossible to find in Australia for a business like Nucleics, and after speaking to far too many people, I came to the conclusion that there were a lot of people in Australia who enjoyed pretending to be venture capitalists, but who really wanted to be merchant bankers.

Through enormous hustle I managed to raise some much needed cash out of a couple of our potential customers (I basically convinced them that if they didn’t pay up front there would be no product), but eventually even this money ran out. I was forced to lay everyone off, put Nucleics into hibernation, and find something else to do. It was all very depressing as I felt that if it was not for my ego we would have moved to the USA, raised enough cash to get through the 9/11 block, and have gone on to become the huge success we could/should have been. I thought a lot about the mistakes I had made and despaired at my stupidity.

Redemption

I managed to land an academic job at La Trobe University at the end of 2004. They were happy for me to bring what remained of Nucleics – at this stage it was just a shell with a lot of lab equipment and reagents. While I was still feeling rather down about what had happened with Nucleics, I at least had an income and a lot of spare time on my hands. This was because the lab the university was supposed to have organise for me was not ready – it was still the same bare concrete room filled with junk and dust that had been shown to me 6 month earlier – the only change had been the addition of even more junk.

Since I had no lab and no hope of getting a lab anytime soon (it eventually took more than 2 years to finish and even then they got it was wrong) I wondered what I could do? My only idea was bioinformatics since I did have a laptop and a desk. My problem was I knew nothing about software development and knew no one who did. I didn’t even know where to start so I wandered over to the library and starting pulling random books on software development off the shelf and began reading. As anyone who has ever taught themselves a totally new field will know, it is completely daunting at the beginning since nothing makes sense and even getting a simple hello world program to run seems impossible. I kept at it and found it was not as bad as it first seemed. Since molecular biology and software development are such different fields there are relatively few people skilled in both areas which leaves a lot of low-hanging fruit to explore. By the time my lab was ready I was feeling that the whole delay had been a huge opportunity rather than a disaster.

Rebirth

Nucleics during this time (2004 to 2007) was comatose; not dead, but not really doing anything either. I started looking through our old lab books to see what I could rescue. Coming across the source code our developers had written I thought that maybe I could make something useful out of it and PeakTrace was born (PeakTrace is a better basecaller that allows scientists to get much more useful DNA sequence data out of the raw instrument files). I started slowly in my spare time and it began selling to customers around the world. Demand continued to grow for PeakTrace (along with other variants and spin-offs like PeakTrace RP and QualTrace) until it reached the point where I thought it was silly for me to continue at the university. I quit (gave up tenure) and went back full-time to Nucleics. We have continued to grow and acquire new customers to the point where in many markets the majority of sanger DNA sequencing being performed uses our software. If you are a scientist and would like to try it yourself you can trial peaktrace here for free.

Lessons

If you have managed to get this far you can see why I think it is crazy to try and run a tech startup in Australia. By doing so you are just making it so much hard for yourself than it needs to be. There are very few real venture capitalist here (i.e. those willing or able to take on real risks) and even fewer angels (lots of devils though). The Australian market is small and you will run into our cultural cringe pretty quickly (Nucleics still only has two Australian customers despite a lot of effort on my behalf). We are a long way from the rest of the world (you will really hate flying after a very short amount of time), and even something as simple as making a phone call to a customer involves staying up past midnight. Probably the most important reason to leave is you miss out on all those little things that happen that you need to know in order to be able to respond dynamically to events. When Nucleics was in its early days I would often learn about critically important details long after we should have because we just weren’t on the ground in the USA and Europe when we needed to be.

Advice

If despite all of these pitfalls you, like me, want keep your startup in Australia then the question becomes when can you stay and when should you go? The answer really depends on the sort of startup (and life) you want to build. Australia has a lot of great things that make living here fantastic, but many of these are not very conducive to running a tech startup. Here is a brief list to consider.

What startups should leave Australia?

  • Those that need lots of any VC funding.
  • Those that aspire to be a unicorn.
  • Those that require “high-touch” sales.
  • Those that are “me-too” – e.g. facebook for cats, uber for x.
  • Those that are “hot” or hype-driven.
  • Those that can only succeed by growing faster than their competition.

What startups can stay in Australia?

  • Those where the founders really want to stay for personal or family reasons.
  • Those that are bootstrapped and don’t need external funding.
  • Those that have a real and unique product that is not just hype.
  • Those where lifestyle is more important to the founders than success in the media.

You might see a bit of a pattern here. Australia is a great place to create what might be called a “traditional” business focused on making something real that generates a profit. If you want to do this then Australia can be fantastic as we have a decent pool of amazingly talented people who can get things done. Australian tech companies like Blackmagic, Fastmail, Paydirt, Aconex and Macropod (to name just a few) have proven it can be done here when there is the will. It won’t be easy and it won’t be fast, but you can make something worthwhile here if you really try. I do still advise you leave if you want to give yourself the greatest chance of success – it really is crazy to stay.

How to complete the W-8BEN-E Form for Australian Companies

Point Piper 1907 Mid
The IRS seems to be over just making the life of Americans a misery and they have decided the whole world should experience their special attention. If you are a foreign business with no presence in the USA, but you have US customers, then you need to complete and provide your customers with a copy of the W-8BEN-E Certificate of Status of Beneficial Owner for United States Tax Withholding and Reporting (Entities).

This form is eight long pages of IRSese with such easy to understand terms as “Nonparticipating FFI (including a limited FFI or an FFI related to a Reporting IGA FFI other than a registered deemed-compliant FFI or participating FFI)”. If anyone know what this means please post, because nobody at the IRS seems to know – at least nobody who answers the phones.

When faced with completing this form for the first time it is near impossible to know what you need to fill in and the IRS instructions are as clear as mud. To save other poor Australians the nightmare of completing the W-8BEN-E form on their own, here is my step-by-step guide for standard Australian companies (i.e. those owned and run by Australians) of what you need to do.*

*Disclaimer. I am not a USA tax lawyer or accountant! Use this guide as a starting point for knowing what you need to do and always consult a professional. Do not use these instructions if you are a US citizen or have a US company branch.

Edit (2016). The IRS updated their form in 2016 so I have updated the instructions. Amazingly they have made the form even more complicated – there really is no form too complicated that the IRS can’t make it worse.

Edit 2 (2017). Once again the IRS has updated the form in 2017 and so the IRS tread mill continues. I am sure everyone will be surprised to learn it is now even more complex.

Edit 3 (2019). The IRS has made the form even more confusing (again) so I have updated the instructions (again). My thanks to the IRS for making this post evergreen.

Edit 4 (2021). The IRS has made the form even longer. I have updated the instructions again – it looks like this post is never going to die.

Edit 5 (2023). A small clean-up of this post since it remains popular. I am starting to get a warm fuzzy feeling about the IRS.

Step 1. Get the W-8BEN-E form
Download the W-8BEN-E form from the IRS website. If the form has moved then just google for it – the IRS seems to like to move the forms around on their website fairly regularly just to keep things interesting for all of us.
Print out the form as I find it easier to fill it in by hand and scan, but if you have a pdf editor then that is a good alternative.

Step 2. Complete Part I
Question 1. Write your full business name (eg. “xyz pty ltd”)
Question 2. Write “Australia”
Question 3. Leave blank
Question 4. Tick “Corporation”. Don’t tick the “yes” or “no” box on the line “If you entered disregarded entity, partnership, simple trust, or grantor trust above, is the entity a hybrid making a treaty claim? If ‘Yes’ complete Part III.”
Question 5. Only tick “Active NFFE. Complete Part XXV”
Question 6. Write your registered business address in Australia.
Question 7. Write your mailing address in Australia. If it is the same as 6. then just write “As Above”.
Question 8. Leave blank.
Question 9a. Leave blank.
Question 9b. For the “Foreign TIN” write in your company’s ABN.
Edit. Technically, your company’s tax file number is the TIN, but some sources have suggested that you supply your ABN, not TFN (others say TFN). I am much happier to supply people with my company’s ABN rather than TFN. I suspect in the end it doesn’t matter too much since the ATO has the ability to crossmatch your ABN and TFN – the whole point of this form is for the IRS and ATO to share data on a company’s income.
Question 10. Leave blank.

That is the easy first two pages taken care of! Now to Part III (you can skip Part II).

Step 2. Complete Part III
Question 14a. Tick the check box and write “Australia”.
Question 14b. Tick the check box “The beneficial owner derives the item (or items) of income for which the treaty benefits are claimed, and, if applicable, meets the requirements of the treaty provision dealing with limitation on benefits. The following are types of limitation on benefits provisions that may be included in an applicable tax treaty (check only one; see instructions):”
On the 14b. sub-question choose: “Company with an item of income that meets active trade or business test”. This is assuming most of your business activity is in Australia.
Question 14c. Leave blank.
Question 15. Write “Article 7, Paragraph 1” for the claiming provisions line; “Zero” for the % rate; and “Business Profit” for the type of income line. For the explanation write “Australian entity with no US permanent establishment deriving business profit not subject to withholding tax under the USA-Australian tax treaty. Skip to page 7.
Edit. For non-Australian companies you should be able to find the corresponding article number for your country’s tax treaty with the USA (all the tax treaties are all listed on the IRS website). You will need to read through your tax treaty to find the right article to use (look for the article concerning “business profit”). For example, in the UK-USA tax treaty the article number is the same as Australia’s (Article 7).

Step 3. Complete Part XXV
Question 39. Tick the check box (assuming the three points are true which should be the case if you are completing this form for a standard Australian company).
Skip to page 8.

Step 4. Complete Part XXX
Sign the form, print your name, and write the date with dashes. Don’t forget to use the crazy USA system where you put the month first then the day. The IRS cares about this sort of thing!
Tick the box that says that you have the capacity to sign (assuming that you do).

Step 5. Scan
Scan the document. To keep the size manageable scan it as a B&W document at 200 dpi and save as a pdf file (it should be under 500 KB). You can then email this when you send invoices to your USA customers. The form is supposed to be valid for 3 years after which time you are going to have to go through the whole form filling process again.

/s Now wasn’t that simple! Thank you IRS for making this form so easy and providing such clear and simple to follow instructions for us all. /s

Simple POSIX Semaphore Library for Windows

dandenongs 1889

I had a recent need to control access of one of my programs to a hardware device – basically the hardware can only handle a certain number of simultaneous connections before it starts returning garbage. POSIX semaphores are a really elegant way of handling this as you just create a semaphore and then put a semi_wait call before every critical code section and a sem_post call at the end of the critical code. This way you can control the number of simultaneous calls of the critical code no matter how many parallel processes or threads are running.

The only problem with POSIX semaphores is they are not natively supported on Windows (Windows has a entirely different semaphore system). Since my program is cross-platform I wanted a simple Windows-compatible POSIX semaphore library I could just drop in on my Windows builds and avoid a whole series of #ifdef #else conditionals. I managed to find a full Windows POSIX thread library (libpthread), but it was way more complex than what I needed and it does not build on Windows XP (I unfortunately still need to support Windows XP/2003). I was able to use the library as a starting point for making a very simple POSIX semaphore library. My cut-down library provides a simple drop in replacement for all the POSIX semaphore functions on Windows and just requires the inclusion of the header file in any project you might want to use it in. It is not identical to semaphores on linux, but it does the job.

You can download the simple windows semaphore library from my github repository. I hope it is of help for someone else.

La Boheme Act Four Syrah Gamay 2014

I am always a sucker for new things and wine is no exceptions. If I see an unusual bottle, grape variety, or blend then I am more likely than not to take the risk and buy it. I noticed the La Boheme Act Four Syrah Gamay 2014 on one of the bottom shelves at Dan Murphys and I thought to myself that I had never seen such a blend before (Gamay is the grape variety used in Beaujolais). I stopped to think what this would actually taste like and wondered if it was going to be some sort of strange lolly water. Since the bottle was only around $15 I thought I would take the chance and see what it was like and I am glad I did. It is a rather good blend that brings out the best of both grapes with the strengths of each variety complement the weaknesses of the other. The end result is certainly unusual, but it fills the role of a good food pinot at a price point much lower. I would say it was worth the try.

act4

Price. $15
Value. $25

Edit. I see the price has gone up quite a lot (must be getting some attention) and is now selling for $22 a bottle at Dan Murphys.

Ebola: What is happening?

boots
As anyone alive in 2014 will remember Ebola was out of control and 2015 looked to be a horror with millions of deaths. Ebola then dropped out of the news and most people living far away from west Africa lost all interest. Unfortunately Ebola has not gone away and it still presents a risk for us all. So what is happening?

The new case numbers have stopped going down
At its worst Ebola was infecting a thousand people a week. We are now down to a new case number in the dozens (that we know of), but they do not seem to be getting any lower and these cases are occurring in locations that are very hard to get to (especially in the rainy season). As I mentioned last year one of my fears was if we didn’t put in a major effort into containing Ebola that it might become endemic in west Africa. It is looking more likely that Ebola will become another permanent member of the human disease pantheon rather than an episodic zoonosis.

Ebola did not become adapted to humans – yet
This was a very good outcome, but we still don’t know how difficult it is for Ebola to adapt to humans. Letting Ebola continue to spread (even at a low level) risks letting Ebola become better adapted to us. HIV is a good example to compare with Ebola. HIV was originally a zoonosis that did not infect humans very well. It took decades for HIV to become well adapted to infecting us. At the time HIV was going through this “infectiviness transition” (the 1920s to 1950s) we knew nothing about it so we can be excused for not doing anything, but this is not something we can say about Ebola.

The bottom line is that it is not a good idea to allow Ebola to continue to spread – each new case is potentially the first case of a new, more contagious Ebola.

So what should we be doing?
We really need to wipe out Ebola. This is not going to be easy especially now the rest of the world has lost interest. I still think this needs a military-like response, but it might be possible to use other approaches. What we don’t want to do is let Ebola fester away in west Africa for a few years only to be later surprised when a new, highly contagious strain pops up “unexpectedly” and spreads like a firestorm. We need to get the new case number to zero and the sooner the better. Time to get serious.

Château Tanunda Chorus Grenache Shiraz Mataro 2012

I have a real soft spot for GSM blends as they are good value and such food friendly wines. There are so many great examples out there that is hard to pick really outstanding value wines in this category. One that I should mention is the Château Tanunda Chorus Grenache Shiraz Mataro 2012. This is a fantastic example of this blend and at $14 bottle you would be hard pressed (sorry for the pun) to find better value. This is not a wine for cellaring, but if you want a good “everyday” wine then you will be very happy with it.
Chorus

Price $14
Value $20+

Metala White Label Shiraz Cabernet 2012

I have been rather busy (slack) and have not been posting about the good value wines I have been drinking in 2015. One I should mention is the Metala White Label Shiraz Cabernet 2012. This wine is always good value, but in a great vintage like 2012 it is outstanding value. The South Australian Shiraz Cabernet is an old fashion typical Australian blend. The 2012 Metala is a great example of this blend and at less than $15 a bottle it is a steal.

The other great thing about Metala is it matures really well under less than ideal conditions (i.e. the back of my cupboard). If you have the patience then you will get a totally amazing wine in 2020 for almost nothing (the 2004 and 2006 I finished off last year were fantastic). Buy, buy, and then buy some more of this wine ’till you can’t store anymore.

metala

Price $14
Value $25