Attie Heunis's Journey

The ramblings of a Caucasian African American

  • Cara word 5

    Vandag het ons Cara se 5de verjaardag partytjie gevier. Ek moet sê dit voel partykeer vir my surrealisties as ek dink sy is al 5. Waar het die tyd heen gevlieg?

    In ieder geval dit was ‘n lekker partytjie gewees. Al Cara se maatjies was daar en sy – in haar sneeuwitjie rokkie – het dit gate uitgeniet. Sy is mal oor vriende en kuier.

  • I don’t want to get our hopes up before receiving official confirmation, but according to the official US government website, my Visa application has been approved! I’m very happy about this. For our family & friends this is not easy though. It is a big move, but one I’m convinced is for the better.

  • Longwood Gardens

    On the advice of my cousin and others I took a trip to Longwood Gardens today. Quite honestly I was blown away. I have visited several botanical gardens, but truly this is was my favourite. It is one of the most impressive tourist destinations I have ever visited. Spectacular colours, deep greens, water works. It really is a worth a visit.

    This slideshow requires JavaScript.

  • All change for web architecture

    A great article on “Cards”. I have believed for a while now that they are a next step in the evolution of web architecture, but there is one huge caveat and that is that Google Search (and the others) have not yet found a way to deal with them gracefully. When the search engines can firstly agree on a standard and secondly implement search for “cards” I believe the web will inevitably move this way. As a pattern it makes huge sense and with all the easy AJAX functionality now available implementing cards is quite easy.

  • Hier waar ons bly is beslis ‘n seisoenale vakansiedorp so die grotere meerderheid mense wat Boesmansriviermond ken ken die luilekker somerdae. Maar ons wat die voorreg het om permanent hier te bly weet al te goed dat die plek op sy mooiste is van Februarie tot Mei.

  • I have been struggling to get a ASP.NET MVC 4 project with Entity Framework using Code First & Migrations and making the UserProfile class part of the migrations process. I Googled hi and low, but couldn’t get a great answer. Eventually through a lot of messing about I found a way that works.

    Here are the steps:

    1. Create your MVC 4 project.
    2. Add a Data project
    3. Install EntityFramework in Data project
    4. Reference System.Data.Entity from Data project
    5. Reference Data project from Web project
    6. Add Models and Context to Data project as per Code First instructions
    7. Add a temp controller using the context and a model from the Data project
    8. Run the app
    9. Create a record using the temp controller above. Success will indicate EF is doing its thing
    10. Deploy to Azure.
    11. Repeat steps 8 and 9 on Azure.
    12. Enable Migrations on the Data project. If the migrations folder etc gets created in the Web project you’re on the wrong track.
    13. Move UserProfile class in AccountModel in Web project to your Models in the Data project.
    14. Remove the UserContext context class & try and build.
    15. This will throw a lot of errors. Update the references to refer to your context (as defined in the Data project) and to your UserProfile class (that you’ve just moved).
    16. Add more fields to the UserProfile class like Fullname.
    17. Run Add-Migration.
    18. This will create a bad migration so you will manually have to override this. The migration will initially recraeate the whle table. Overwrite this to only add the new column(s). Don’t forget to delete the new columns in the Drop part
    19. Run Update-Database
    20. Deploy to Azure again (with migrations) to see your data structure the way you want.
    21. Now you can use the power of Entity Framework migrations from a separate project (good), with the User Profile included (better) and in Azure (awesomeness!)

    Lemme know if I could’ve done something better.

  • Cannon Rocks Classic – Pick of the Day

    My best kite surfing picture yet. I took a day or so struggling with this type of photography, but on day 2 I got some great shots. This one is my favourite. It is of Carl Ferreira.

  • I’m not a Microsoft basher, in fact quite the opposite. I am an official Microsoft Partner and as a .NET developer I am massively indebted to the Redmond Software giants for providing me with a career.

    As a partner I typically get most of Microsoft’s software before the general market. This and the fact that I’m naturally inquisitive of applications make me and my company, Vectorsoft, a Early Adopter of especially Microsoft products and services.

    With this in mind I installed Windows 8 a couple of months ago. I am quite forgiving of new software and I have a notoriously low RT (Resistance to Change) factor and so I expected to the Windows 8 experience not to be completely smooth in the beginning.

    However now 8 weeks later, I am now longing back for the stability & predictably of good ol’e Windows 7. Don’t get me wrong; there is lots that I love about Windows 8. I actually really like the Metro design. The right-click functionality allows much more use of screen real estate and I love that. Some of the Microsoft Metro apps are brilliant – the email client is the best designed email client I have EVER used. I also like the Apps (or Store) model with easy-updates etc – quite similar to the Android Play model. I think they are onto a winner here eventually, but right now it is not ready.

    Why I’m bitching:

    1. The primary problem is that for a power user like me that spends at least 8 hours a day using Windows design familiarity is very important. Presently the switching between the new and the “old” look-and-feel is a very confusing experience.
    2. Many of the great looking Metro apps aren’t as fully functional as their “old” versions. Teamviewer and the Mail App are two prime examples of this. This means I have both versions installed or only the “old” one.
    3. The navigation between old and new applications is still buggy. Clicking on the top-left “charm” only iterates through the new apps and not the old ones. This is very irritating.

    So for me I regret installing Windows 8. Eventually I do believe the reasons for it not being that good will become less – mostly because the apps will mature into Windows 8 to harness the new functionality and design elements, but until then I would hold off on Windows 8.

  • I have been a rugby fan for the best part of my 40 years of existence. I have followed many generations of Boks, Bulls and on the rare occasion even a Stormer or a Shark or two. 🙂

    We have had many great players in my lifetime, but I was wondering if I had to pick only the ultimate legends of Springbok rugby who would they be. These must be the guys that were undeniably at the very top of their positions in the world.

    After much pondering and trying to be completely fair I have made MY choices. Here in no particular order they are:

    Carel du Plessis: Despite the pretentions of Bryan Habana, Carel “The Prince” du Plessis edges it.

    Danie Gerber: The best swerve in the game. Will probably be the most popular pick. Our best centre ever.

    Victor Matfield: Gave us the 2007 World Cup. Best lock SA has ever had. One of the 3 best locks the world has ever had.

    André Joubert: The best 15 we’ve ever produced. Had the balance of a ballet dancer. Played us into the World Cup final in 1995. We could use him now!

    Joost van der Westhuizen: Fourie du Preez and Divan Serfontein might have something to say about it, but to me Joost is probably still the best 9 we have had. Was a big part of our 1995 success.

    However I sincerely without favour or prejudice believe that the greatest player we have produced is none other than Hendrik Ignatius Botha aka Naas. I don’t think any other player was as influenced by Apartheid as Naas Botha. Had he been allowed to play at the highest level in his prime, I believe he would today have been known as Rugby’s Pele. The prodigious and more importantly realised talent that this kid had at 18 is to this day unmatched in my opinion.

    The way that Naas could determine a game’s outcome with only a lock and a scrumhalf is actually quite unbelievable today. Who could ever forget the final against Transvaal when Naas “dropped” Northern’s to the title. I remember him kicking for the corner when the ball dropped a half metre out and a half metre from touch. Not punted into the stands, but inch perfect. This he literally did 4 or 5 times I game. Today great players get
    cheered for doing it once in a game. He could also kick with both feet. Not some makeshift hack,  but real accurate kicking!

    Yes sir. For me our greatest rugby player of all time remains Naas Botha.

  • I had just started at Dimension Data in 2010 when Marius Vorster, a colleague at the time, introduced to me to the Sony Ericsson X10 Xperia Mini. It was my first experience with an Android phone and I have to say that I was very impressed. So much so that I immediately got myself one.

    At that point in time Android had been around for a while, but I don’t think it was quite mainstream yet. The biggest smartphone players were Apple & especially Blackberry in South Africa. For instance, most of my friends had Blackberries and scoffed at the idea of Android (aka Google) phones. But having seen where Android was headed I thought that Blackberry and even Apple would struggle to hold off the Google OS.

    While there were certain things that I loved about the Xperia Mini, it soon became apparent that it was underpowered and the screen was too small to really be able to use comfortably. So for me the Android OS was a definite yes, but the phone I got was not quite as good.

    With this in mind and the fact that I am a technically inclined person I keenly followed the Android evolution that was occurring and indeed taking over the smartphone world. I must say that I didn’t expect Samsung to be the hardware manufacturer to steal the Android market in a manner of speaking in the way that they did. But they did; big time. Their  Samsung Galaxy S2 was released and became the best selling phone model of all time; selling 27 million units in one quarter (compared to 17 million iPhone 4s units in the same period)! I advised everyone that was in the market for a new phone to get the Galaxy S2 – although frustratingly many people still ignored my advice and got Blackberries.

    Samsung Galaxy S3
    Is the newly released Samsung Galaxy S3 the best phone yet?

    And now, very timeously, Samsung has released the next version of the Galaxy – the S3. I say “very timeously” because my contract has just expired and fortunately for me it gave me the opportunity to upgrade to this phone without having to “manipulate” my contract at all.

    I have now had the phone for 5 days and I have to say that this phone is phenomenal!  It just blows me away. Broadly speaking, the phone impresses as follows:

    • The phone is very powerful. In 5 days of trying everything on the phone, I have yet to encounter any type of lag whatsoever. Even HD video plays instantly.
    • The screen is a thing of beauty. It looks very crisp and sharp and the colours are well saturated (but not too much as I’ve heard the previous model was). The touch-screen functionality is miles better than the previous phone I had.
    • The cameras. I am a wannabe serious photographer (I photograph with a Nikon DSLR) and phone cameras have never impressed me simply because they can’t really compete with a real camera. However this camera (the primary one) exceeds my expectations. Photos or videos taken with this camera are brilliant. The one question I have is that especially the videos look much better on the S3 than on a laptop. Hardware-wise the quality of photos and especially videos are the best thing to show off on this phone! The quality of the camera for the first time now makes me feel that I don’t always have to have my DSLR with me. For a wannabe photographer like me this is a big deal!
    • Battery Life is still an issue, but this is a sector-wide problem. And it is not a problem if one manages it. But the days of not having to charge your phone for 6 days are over for the foreseeable future.
    • Storage. For me this is a big win over Apple’s iPhone’s non-transparent pricing model. Apple’s pricing just pisses me off in the same way that Windows’s pricing does. With this phone you decide on the storage space you need by simply using a bigger or smaller SD card. Although having said that, the phone comes standard with a 32GB drive which is plenty.
    Now Android 4 aka Ice Cream Sandwich aka ICS:
    • A lot of reviewers complain about Samsung’s TouchWiz undermining Android ICS on this phone. I hear what they’re saying but to me it isn’t much of an issue. I honestly don’t notice it; although in principle I dislike the principle.
    • ICS is a massive improvement over the previous versions of Android. It is just a much more rounded product. Usability is much better on all fronts. It is to be expected as an OS evolves and user requirements are better understood.
    • Resource Management on ICS. I have to mention this specifically. On my previous it was a tedious process to manage Wifi, Mobile Data usage and GPS usage. On this OS it is so easy.
    • Google/Android photo management. The instant upload is brilliant. It sometimes still catches me unawares. I would like to see a differentiation between photos and videos though. I love the instant upload on photos but on videos the bandwidth is a problem. For instance I took a 60 second HD video of a kids birthday party ad the size; 210MB!
    • Google+. To make full use of Android you really must have a Google+ account. Google+ is Google social networking platform and it isn’t quite Facebook (yet), but it is very good. In fact, I like the underlying architecture of Google+ more than Facebook and with its Android integration I think it will be as big as Facebook one day.

    Apps, the fun part. Some of the Apps available will simply blow your mind. Many (probably most) are just for fun. Plenty of games. Social networking and much much more. One of the apps that I would say one really must install (even more so if you use more than one language like I do – Afrikaans and English) is the SwiftKey X keyboard app. It is a much better keyboard than the default keyboard. In fact, I won’t be surprised if Google (or someone else like Apple) buy the developers of this software.

    So in conclusion, I think this phone is the best Smartphone up to date. It easily beats the iPhone 4s. Although I’m pretty certain that the next version of the iPhone (due for release in October) will catch-up and quite possibly surpass this phone. For me the Google integration – in terms of Android, but their services like Maps and the rest as well – make Android devices more of an option than an Apple device.

    I can’t recommend this remarkable bundle of technology enough – even despite the cost.