Some good quotes from the homosexual marraige bill third reading

Some of the speeches last night were just awesome. So I've gone and skimmed the draft transcript and selected the lines that I thought were some of the best of the entire evening.

Maurice Williamson

I have had a reverend in my local electorate call and say that the gay onslaught will start the day after this bill is passed. We are really struggling to know what the gay onslaught will look like. We do not know whether it will come down the Pakuranga Highway as a series of troops, or whether it will be a gas that flows in over the electorate and blocks us all in. I also had a Catholic priest tell me that I was supporting an unnatural act. I found that quite interesting coming from someone who has taken an oath of celibacy for his whole life.

I also had a letter telling me that I would burn in the fires of hell for eternity. That was a bad mistake, because I have got a degree in physics. I used the thermodynamic laws of physics. I put in my body weight and my humidity and so on. I assumed the furnace to be at 5,000 degrees. I will last for just on 2.1 seconds. It is hardly eternity. What do you think?

Let me repeat to them now that all we are doing with this bill is allowing two people who love each other to have that love recognised by way of marriage. That is all we are doing. We are not declaring nuclear war on a foreign State. We are not bringing a virus in that could wipe out our agricultural sector for ever. We are allowing two people who love each other to have that recognised, and I cannot see what is wrong with that for neither love nor money. I just cannot.

But I give a promise to those people who are opposed to this bill right now. I give you a watertight guaranteed promise. The sun will still rise tomorrow. Your teenage daughter will still argue back to you as if she knows everything. Your mortgage will not grow. You will not have skin diseases or rashes, or toads in your bed. The world will just carry on. So do not make this into a big deal. This bill is fantastic for the people it affects, but for the rest of us, life will go on.

Jami-Lee Ross

I simply do not believe that it is right to determine an issue that affects only minorities by way of a referendum. If that was the case, I doubt New Zealand would have given women the right to vote when this country did, nor would this country have legalised abortion when it did, nor would this country have decriminalised sex between two consenting males when it did. Minority rights issues are not referendum issues.

 I want to briefly talk also about the question of children, because it is a common theme that some opponents have been raising. The prevailing wisdom seems to be that every child must have a mother and a father. I know that it is a touchy subject, but as someone who actually grew up without a mother and without a father, I think I am somewhat qualified to speak on the issue. A child does need both male and female influences in their life, but those influences do not necessarily have to come from their biological parents. What is most important is that a child is raised in a loving and caring environment. What is most important is that the people who are raising that child give them a home that is safe, warm, educating, and nurturing. If that environment just so happens to be a same-sex marriage, then that child is just as fortunate as every other loved and cared for child.

Grant Robinson

This bill is also about inclusion. Quite simply we will not succeed as a country or society if we continually find reasons to exclude people. The only place that takes us is division and hatred. Why on earth would we want to stop a couple who love each other and who want to make a commitment to one and other from doing that? Why would we want to exclude some people from a cherished social institution?

Nothing about this legislation will affect anyone else’s marriage. Husbands will still call their wives their wife and vice versa. I will let you all in on a secret, we have all been calling our partners husbands for years. Normally it is when I am being told off.

Tau Henare

I did have a speech prepared, but that speech shot it to bits. Here is the bona fides on the New Zealand First referendum of the 1990s. The National Party said no to a bill. That is why we went to a referendum, and when we went to a referendum, 82 percent of the country said: “No, Winston. We don’t believe in you any more.” That is what it said. It never went through caucus. It never went through caucus. And that speech that I heard tonight was the biggest shyster speech I have ever heard—the biggest shyster speech I have ever heard.

But I tell you what: that speech tonight is nothing more than pandering to the 10 percent on either side of this argument. It is nothing more than pandering to those racist, redneck people who just love to get on the email.

I want to say that I have been appalled with some of the behaviour of those for the bill and against the bill, because I for one do not think that those who are against the bill are homophobic just because they are voting against it. It is their right to vote against it, and I will back my colleagues who vote against it all the way. I just do not agree with them.

If it does belong to the Church, as I have been told by so many people on the email, then why do we have legislation outlining who can and who cannot? If there was no legislation, I would back the Church 100 percent. But it is not theirs. It actually belongs to the Government. It actually belongs to this Parliament. It is a creature now of Parliament. It is not a creature any more of either the Bible or the Church.

Nikki Kaye

I want to acknowledge Chris Auchinvole and Paul Hutchison. They have shown us in this debate the true power of conscience. When Paul said: “I … cannot construct a strong enough intellectual, moral, health, or … spiritual argument against it.”, he struck a chord with so many New Zealanders, because he showed us openness and he showed us compassion for people. Our Parliament can be very proud that this vote is actually less about political divides but more about religious and generational divides.

Kevin Hague

I remember travelling to Auckland’s North Shore to protest against one of our opponents, Pastor Richard Flynn, who called publicly for homosexuals like me to be put to death. Over the years I have campaigned hard for the right of our communities not to be outsiders anymore and to assume a full place in New Zealand society. With every new reform, the same group uses the same strategy, raising fears of terrible consequences that always fail to materialise. There would be few New Zealanders today who would support re-criminalising sex between men. The cost of being outsiders is enormous. The stigma associated with our “inferior” status is associated with substantially higher rates of suicide, depression, HIV risk, violence, and other risks to our health and well-being.

Their problem with this bill is that they believe that we gay and lesbian people are morally inferior. They do not want to include us as full participants in New Zealand society. They recognise correctly what full legal equality—this signal—means, and they do not like it. That is why we have seen people with placards declaring that gay people are mentally ill and less than human. That is why we have seen Family First’s campaign, firstly, of fear and misinformation and, latterly, of stand-over tactics and blackmail. That is why we have seen Catholic Action, just like Richard Flynn, writing to all MPs and telling us that homosexuals are worthy of death and then describing in great detail the eternal agony we should expect to experience in hell. They have tried to attract more people to their cause by scaring people with imaginary consequences—people will marry their pets, ministers will be thrown in prison, and people will not be able to call each other husband and wife anymore! Just like every time before, these fears will not be realised. The consequences of this bill will be that same-sex couples will marry. Transsexual people will no longer have to divorce. Prejudice and violence will be undermined.

John Banks

The privilege we have to be in this House is counterbalanced by the need to stand up and be counted. I am one of a handful of members who was here in the very early days of these debates. After three decades and 10 Parliaments, I have had time to reflect—to reflect on what I said and to reflect on what I did. If I knew then what I have since learnt, I would have acted differently. I see this as a debate more about human rights, predicated on the basis that we are all entitled to live our lives to the fullest extent of human happiness, while respecting the rights and beliefs of others. I believe all New Zealanders should be free to pursue their own happiness.

Te Ururoa Flavell

In 1888 the Supreme Court of New Zealand made a decision that has been described as “doubtful legally and deplorable socially”. That doubtful and deplorable decision was to reject the customary marriages that had existed mai rānō, and to assume that the marriage law of England took precedence. In fact, the colonial law from another land was considered of such importance that the children of Māori customary marriages were then described as “illegitimate”,

So when opponents of this bill criticise a change to the definition of marriage as contravening our sacred traditions, I would have to say “Whose traditions are we talking about?”

Jonathan Young

A tradition is a convention, a belief, or a behaviour that stands the test of time. A tradition is the institutional memory of a society. It is not to be cast off or cast away quickly or easily, because it is the touchstone of a value that perhaps younger minds may not fully understand, yet enter into, because it is there. Traditions are what we use to guide people, I believe, into the things of life that have been proven to work.

Kris Faafoi

I know there are strong religious veins in the Pacific community, and I respect that and the views that they have, but many young, gay Pacific Islanders have found this debate difficult. Many have grown up and maintain strong religious beliefs. They have told me one of the hardest things in the public debate has been hearing that the God that they worship seems to see them differently. My God does not. I hope that our community can embrace that there are many in our families who on a daily basis struggle to be openly who they are.

Paul Hutchinson

At one of my electorate meetings a highly intelligent, crusty, salt of the earth farmer urged me to vote against the bill, but he later joked that over the last few generations the sequence of events has gone like this: in the first instance parents such as himself used to tell their daughters not to come home with someone from a different religion, then not to come home with someone from a different race, then definitely not to come home single and pregnant, and, today, then not to come home with someone from the same sex, let alone marry them. He encapsulates the fact that society has evolved enormously within a few generations, just as marriage has been evolving as a civil and religious institution throughout human history.

As a former specialist obstetrician and gynaecologist, extremely poignant experiences for me were the rare occurrences where at the birth of a baby, when the parents instinctively asked: “Is it a boy or a girl?”, I had been literally unable to tell them. This has been because of ambiguous genitalia or a unique physical abnormality. It may take some weeks to fully assess a child, have genetic testing carried out, and assign a sex. Even that may be later changed. This illustrates the dramatic new knowledge available in the modern world to better understand the spectrum of physical, genetic, and social expression of gender and sexuality that was simply not possible in the past. I ask anyone, on either side of the debate, whether they would not hope that their newborn could be brought up in a society that is both tolerant and as caring about their child’s status and aspirations as any other child’s—a society that is inclusive, fair, and committed to respecting one another.

In the first reading of this bill I said that despite trying hard, I could not construct a strong enough intellectual, moral, health, or even spiritual reason to vote against it. I am now quite convinced that, at the end of the day, the strength of any human union is about love, tolerance, giving, forgiving, sharing, inclusiveness, commitment, and fairness irrespective of gender. These are universal qualities that have no boundaries.

Chris Auchinvole

We have faced many issues of conscience in our nation’s relatively short history, and I think we have grown stronger by facing them together, not always as adversaries but as fellow members of a small and empathetic nation that often gives fine examples to the rest of the world.

As an older person I would ask that the younger generation—epitomised, of course, in my colleague Nikki Kaye—show some patience and consideration for those of my generation who will need time to adjust to a change that will be very, very new to us. By the same token we cannot move forward as a nation if we older ones ignore or reject the heartfelt pleas for respect by the lesbian, gay, bisexual, and transgender community and the younger brigade. We need their acceptance as they are entitled to our acceptance.

Ruth Dyson

The Marriage Act has since 1955 said that celebrants can do that, presumably to protect celebrants from being forced to marry heterosexual couples of different religions or—heaven forbid—marry somebody who was divorced.

Moana Mackey

And although I respect the beliefs of those who oppose the bill on religious grounds, I strongly believe that although it is the role of the State to protect freedom of religious expression—and this bill reaffirms that—it is not the role of the State to uphold one group’s religious beliefs over another’s.

This debate is not about special rights for some; it is, in fact, the very opposite. It is about acknowledging that something that used to be seen as so scary, immoral, and different that my mother felt compelled to be an active member of a group called HUG—Heterosexuals Unafraid of Gays—is, in fact, completely normal.

Gay, lesbian, bisexual, transgender, and intersex people will not be any better or worse at marriage than us straights. They will face the same challenges, the highs and lows, the successes, and the failures.

My late grandmother always had a wonderfully uncomplicated approach to life. At one point she became quite taken with Brendan, the partner of one of my best friends from high school, Peter. She told me that she would not be at all disappointed if Brendan were to become her grandson-in-law. I said to her “But, Grandma, he’s gay.”, to which she responded “Well, your grandfather wasn’t the easiest person to live with, but you make marriage work.”

​The full video of the speeches can be found on the ParliamentTV YouTube channel.

And the full transcript of the reading​.

How not to draw too much from the Hutt Aquifer

Before the recently ended water restrictions it was my belief the Waiwhetu (Hutt) quifer was only used when the Hutt river was unable to provide enough. As it turned out the aquifer is used everyday.

This raised a question in my mind. Water enters aquifers at a specific rate that can be a lot lower than the rate we are able to remove it at.​ The current iconic example of this is one of the big aquifers under the north central US where we are draining it faster than it is replenished. So how does the Wellington Regional Council stop this from happening?

​To try and get an answer I shot off a quick email to the Wellington Regional Council and got a response the next day.

...

We have a resource consent to take up to 115 MLD provided we do not lower the pressure in the aquifer beyond 2.3 metres, as measured at the Petone foreshore.  There is also a practical limit to how much water we can draw from the aquifer due to pumping and system capacity constraints. This is around 100 MLD.

The aquifer pressure is monitored continuously and our supervisory, control and data acquisition (SCADA) system will alert operations staff if the pressure approaches the lower limit.

...​

A quick and useful answer and no one even had to protest. ;) It's as though they're human. :p

​Anyways, I was pleased to see that there are rules in place that make sense for the Waiwhetu aquifer. A minimum pressure requirement definitely stops us from removing at a faster rate than replenishment and is much more responsive to changes in the recharge rate. More importantly it also stops aquifer from being infiltrated by salt water from the harbor; that would be very bad.

Mythical Man Month

This is such an awesome book I thought it useful to educate more people on its existence.​

The iconic book by Fred Brooks covers many of the lessons he learnt during his time as a project manager of the IBM System 360 project. The book is separated into sections that cover a topic at a time and have suggestions for avoiding the issues he ran into. 40 years later we are still running into the same problems on projects today. A must read for any tech lead and highly recommended for any developer who thinks they will end up on a project where they are either the sole dev or one of a couple, basically any dev ever.

Using a script to set the Copy Local flag to false

As with my previous post I recently came across a repeatable task that we will probably want to repeat in the future so with my aim from The Pragmatic Programmer I decided to automate it.

The problem was that an architecual requirement of this project was to rely on DependencyInjection for all library references. To help enforce this every project outside of the DI one would require the Copy Local flag on all references set to false.

I started doing this manually but figured out it'd take a long time to go through all 40+ projects and this would happen in the future. So automation time it was.

A quick web search did not show that anyone had solved this problem before so I figured out I would have to learn some Powershell and make it myself.

As csproj files are simply XML I did some research to find out how easy it was to manipulate XML in Powershell. It turned out this is one of Powershell's strengths. However the first implementation had issues with namesapces so I had to use the Select-Xml command introduced in Powershell v2.

Building the XPath queries was fairly simple. The one hiccup to remember is that csproj xml has a default namespace of "http://schemas.microsoft.com/developer/msbuild/2003" so you need to remember to use that and the msb namespace prefix when making your XPath queries. To specify the namespace in Select-Xml you use the -namespace option.

Select-Xml -namespace @{msb = $projectNamespace} -xpath $privateXPath

The next step was saving out the changes. This proved to be an initial roadblock as all the files were set to readonly. As we are using TFS you have to explicitly checkout the files before you can edit them. This resulted in me looking into how to use the TFS command line executable "tf.exe". This proved to be fairly nice as I could simply pipe the collection of csproj files I wanted checked out to a chunk of script that would iterate through the collection and execute the checkout command on each file with the provided TFS credentials.

I explicitly did not attempt to check in the changes as I want the user to review the changes and make sure the solutions are still working. This is something you'd run once a month to make sure the requirement is still being followed.

The final hiccup was that the .NET XML classes Powershell uses has an issue with putting in a default empty namespace whenever you create a new element. This caused the project to fail to load in VisualStudio as the namespace was incorrect. The fix for this was pretty quick and easy. Take the file and replace any occurance of xmlns="" with an empty string. This is accomplished in Powershell with line

(Get-Content $projFilenameFull) | Foreach-Object {$_ -replace ' xmlns=""', ""} | Set-Content $projFilenameFull

So my first non-trivial powershell script was a fun and fiddly dive into scripting all my troubles away. So far so good. ;)

SetCopyLocalInAllCsProjFiles.ps1

Deleting all bin and obj folders from a solution

Quick little post.

Since reading The Pragmatic Programmer by Andrew Hunt and David Thomas I've been looking for ways to automate tasks whenever I find myself doing something I know I'm going to repeat later or I'm repeating right there and then.

The other day I was working on a VisualStudio Solution someone else had started and when trying to build it found they had checked in some of the bin and obj folders.

So I open up the root folder of the solution and prepare to trawl through about a dozen projects to delete all the bin and obj files. Obviously noticing that I'm about to do the same steps repeatedly and this will happen in the future I went and did a quick search to see if anyone else had already solved this.

Awesomely someone had.

So a huge thanks to Glenn at Development on a shoestring for providing exactly what I needed. I'm putting this here just in case his site should disappear and take the knowledge with it.

I threw the following into a powershell script that sits in source control ready for use in the future

# Iterate through all subdirectories and delete all bin and obj folders
# http://blog.slaven.net.au/2006/11/22/use-powershell-to-delete-all-bin-obj-folders/
# Had to use it for getting rid of a bunch of bin and obj folders in a PoC but thought it smart to put in here for other to use
Get-ChildItem .\ -include bin,obj -Recurse | foreach ($_) { remove-item $_.fullname -Force -Recurse }
RemoveAllBinAndObjFolders.ps1

Connecting an iOS device to a mixed 802.11b/n WiFi network

In a recent visit to home I was presented with an old problem that had become a real annoyance. The iOS devices owned by the family (minus the iPad) including my iPhone would not connect to the house WiFi network. They would happily detect them but the moment they tried to connect they would time out.

It took a bit of pecking around and trial and error but I found a single change that then allowed all the devices to connect.

It boils down to only allowing 802.11b to operate on the 2.4GHz band instead of the default dual b/n. It see,ms the iPhone and iPod Touch devices do not play nicely with dual use of that band by the b and n standards.

Event Handlers only firing once in Microsoft Office AddIns

I've just been working on a project where we were to create some AddIns for several versions of Microsoft Office. Now I knew there was a lot of bad blood around Office AddIns but thought they were being overblown as I finished off the 2010 AddIn without so much as a hiccup. The 2007 and 2003 AddIns however showed why Office has the reputation it has.

The problem I ran into was that I had to have several event handlers to catch two events. The opening of a new inspector and a simple button click. So I did what you'd expect to do and registered them in the startup methods.

Initial testing went fine as I started up Outlook and triggered one event, made some changes, restarted it and then tested the other event. It took a while until I tried to test both events following one another at which point I found only one would trigger and then both would even handler hooks would be forgotten and wouldn't rehook in until a restart of the application.

public partial class ThisAddIn
{
    private void ThisAddIn_Startup(object sender, System.EventArgs e)
    {
        Outlook.Explorer explorer = this.Application.ActiveExplorer();
        Outlook.Application app = (Outlook.Application)explorer.Application;

        app.NewInspector += new InspectorsEvents_NewInspectorEventHandler(Inspectors_NewInspector);
    }
}

After much searching I began to come across implications that the garbage collector was removing the references after the first event. I was at a loss at what to do until I came across another discussion where someone was having a similar problem and the response was to save the object in a class level variable to avoid the garbage collector from removing it.

A quick edit and some testing showed this to work reliably. So, if Office is only triggering an event once make sure there object references are stored somewhere the garbage collector won't go. And make sure to assign the object before you register the handler or the garbage collector will still find it.


public partial class ThisAddIn
{
    public Inspectors _appInspectors;

    private void ThisAddIn_Startup(object sender, System.EventArgs e)
    {
        Outlook.Explorer explorer = this.Application.ActiveExplorer();
        Outlook.Application app = (Outlook.Application)explorer.Application;

        _appInspectors = app.Inspectors;
        _appInspectors.NewInspector += new InspectorsEvents_NewInspectorEventHandler(Inspectors_NewInspector);
    }
}

Starcraft II Patch Download Problem

Since getting Starcraft II I have bashed my head against the uselessness of the Blizzard Downloader. As is common knowledge that Blizzard uses the bittorrent protocol to transfer its patches and you might thin that it's pretty damn penny pinching of them to do it instead of just doing direct downloads. Unfortunately their bittorrent sucks from my repeated experience.

On both the 1.0.1 and 1.0.2 patches the downloader stopped part way through the download reporting the error "There were multiple problems saving data." As you can tell it offered up no useful help. A quick Google also turned up very little other than the basic and generic Blizzard Downloader FAQ page. After trying all of the suggestions I had got nowhere except swearing at Blizzard for not putting out a direct download patch.

To keep this short a few days later I tried downloading the patch files into the Updates folder using utorrent instead of the Blizzard downloader and five minutes later all the files had been downloaded. The Updates folder is located in the Starcraft II install folder and is only there when there's a patch needing to be downloaded. Starting up Starcraft II again it detected all the files were present and happily patched itself up.

So if you're having trouble downloading the Starcraft II patches wait a couple of days and try using a different bittorrent client to download the files. You'll find the bittorrent files near the Updates folder in the Starcraft II install folder.

Playing with Regex on OSX

RegExhibit

If you've ever been stuck with the problem of trying to build anything but a simple regular expression you know how painful it can be getting it to match just what you want.

When developing for .NET on Windows I was introduced to a brilliant free tool called Rad Software Regex Designer that gave you the ability to provide an example of the text you wanted to match and an area to slowly build up your regular expression while getting instant feedback on what it was doing. It even has dialogs to add specific regular expression commands in case your proficiency with regular expressions isn't high or you just forgot how to create a non matching group. After moving to OSX for work I went looking for a similar tool for the Mac. And after a while I found it.

RegExhibit is a GUI tool of OSX that uses the Perl regular expression library to help you build regular expressions. This should be fine for any other languages that use a PCRE library but make sure you check before deploying. The core part of the program are two text areas. you place an example of the text you want to match into the lower area and build up your regular expression in the top are. There are even tabs for doing matches and splits but you'll likely find yourself in the match tab for most of time. However it doesn't offer the same built in dialogs like the Rad Software Regex Designer so make sure you've got a regular expression reference handy.

This is a great tool that has saved my sanity several times already and I do recommend to anyone that has to play with regular expressions and is developing on the Mac.

Should we remember all of those that have fought for our freedoms?

Well today was ANZAC day in New Zealand and Australia and if you don't know it's our remembrance/veterans day.

One of the things that's always brought up as a reason for paying respects to the servicemen and women is for their actions in giving us our current freedoms. Now I've always had a small issue with this as this does not recognize everyone who has put effort in to gain and maintain the freedoms and rights we have and to improve our country. Things like universal suffrage, healthcare, the welfare state, representative democracy, police and government oversight, the freedom to disagree with those in power without fearing retribution. All of these things are just as important to improving our country as well as the military is in showing other powers in the world that we can and will put our money where our mouth is.

I'm not trying to trivialize the efforts of the men and women in uniform. I'm just trying to expand on the belief we pay our respects to those who have given their blood, sweat, tears, and lives to improve our lives.

So, do you think we should start to make efforts to recognize these other groups who have fought just as hard to improve the countries we live in at the same time we recognize and pay our respects to those who have fought with bullets and bombs?

You Can Die in the Tutorial

Well I've now finished the Military career mission arc. Pretty solid introduction to PvE'ing touching on resists, aiming, firing, moving, etc. It finishes up with a mission that you will be destroyed in unless you were paying attention. It's nice to know some of the true nature of EVE makes it into the tutorial stuff. Also got a new frigate gifted as part of one of the missions. I am now flying a Tristan. Depending on what happens in the near future I may ditch it and get myself a Catalyst.

Now I'm off to a Sisters of Eve agent for what I believe is the start of the beginner epic arc. Never done an Epic arc so this should be quite interesting.

EVE Has a Tutorial?

Well here I am in the tutorial every new player gets dropped into.

This is already a vast improvement over the tutorial I got when I started. You get dropped into what I understand is a deadspace complex with a few asteroids and a single rat which orbits around. This is good because it gets people right into the game without being shocked by the menus and everything else you get when docked in a station. This part of the tutorial takes you through the core movement and combat skills. After that's done it gets you to dock up at the only station in system. This is interesting as they get you to use the dock order which warps you to zero automatically instead of getting you to warp to zero first and then dock. I can understand using just the dock as it leaves the explicit warp-to instruction till later. As a 0.0 veteran I'm more used to warping to zero before doing any action so the straight up dock seems a bit odd.

Another interesting addition to the tutorial is this big white box that floats around when the tutorial wants you to do something with the UI. I think this is awesome as it gives new players this big "LOOK HERE" thing to speed up their initial learning instead of the hunting for the 10px x 10px that might have been flashing back when I started. Another really nice feature of this is that if you have a window over the button or item then the overlapping window will become transparent so you can see the button or item the big white box is pointing to.

The way the tutorial only spawns items as you need them for a specific step in the tutorial is nice. Instead of flooding the new user with a million items you start off with nothing but a Civilian Damage Control and the first ship you destroy has the classic 1 piece of Trit waiting for you as loot.

The tutorial also links to EVElopedia pages on subjects that the space and time of the tut doesn't really allow.

The explicit tutorial steps for joining a player corp are great compared to when I started. Mainly because the tutorial now covers them.

The career missions are an interesting addition. I went and bought a combat frig before finding out that the next mission gave you one as a reward. So I'm going to follow the mission arc until finished so I don't jump ahead and waste any more ISK. Especially as I'm not going to help myself to my main's stash.

Well that was an interesting evening. Will continue to work at this and see what happens.

The Experienced EVE Noob

It's been awhile since I last played EVE so I've been looking back and trying to figure out why. Was it burnout or just boredom or something else? The conclusion I came to was a combination of burnout of trying to keep up with all the 0.0 and corpie happenings and just getting a bit bored of the ISK grind but I still love the idea and most of the execution of the game.

So the other day an idea popped into my head. Start from scratch.

Now like almost all long time EVE players I have one alt to go along with my main. But that alt was pretty much speed trained right into a role that I wanted at the time. She never had to mission, grind or anything because of her sugar daddy main. But it has been so long since I was that noob we all were sitting in that Moa fitted with missiles and small hybrids that I though it would be interesting to do it all over again but with the advantage of knowing what I'm doing.

Of course I'm making it harder for myself to keep it interesting. I'll be moving into deep lowsec and try to live there. The stomping grounds of loners and pirates. It should be interesting. I plan to post the occaisional update on what it's like to be an EVE noob through the eyes of an experienced player.

Adding Attachments with ActionMailer

Well recently I had the fun task of using Ruby on Rails' ActionMailer to create some automated emails to send out to users. At some point it was decided to attach the original email we received from the user to the notification email we were sending out to the user.

Now you would think that using the attachments method provided by ActionMailer would make it a easy as just giving it the file you wanted to add. Turns out it's like that for Ruby on Rails 3, not for 2.

The most infuriating thing was that if you use the attachments method then the method you called attachments from will not render the default view template it would normally. This means you have to explicitly call the render method.

Instead of putting it out all nicely I'll just link to a blog post from ELCtech.com that explains it well. http://www.elctech.com/ -- [ActionMailer] Multipart emails with attachments

A New Point Release on Life

Well after over 23 years living under the roof provided by my parents I have moved out into a flat. It's been an interesting experience so far and I'm flatting with good people so I haven't been stressing out too much. I've also been hired by the company that I was interning for over the summer so I am now a fully paid up member of society. ;)

 

And I finally got an ISP sorted out so I'm back on the internet after a weeklong non-work use vacation.

DC++ "Could Not Open Target File" Error

I was at a LAN the other week and to make sharing files easier we use a program called DC++. Shortly after trying to download the first few files I got a confusing error. "could not open target file: the system cannot find the path specified" After spending much time looking around the web and asking friends at the LAN we finally figured out what it meant.

In the Settings window and under the Downloads section you designate two directories, one is a default download directory and the other is an unfinished donloads directory. I had these two options set to directories that did not exist, a quick change however did not quite work as while the folders exist they were under an account the active account could not access, a final change pointed these options to two directories that existed and the account could acces. This fixed the problem right up.

So here's a little picture to show the two offending text boxes. Set these to folders your account can access, folders on your desktop for example, and that error should disappear.

My Borderlands Troubles

Being a Good Consumer

Last week I purchased the Borderlands DLC, Zombie Island of Dr Ned, for my PC Retail version of Borderlands. After purchasing it I was informed I would also have to install the 1.1 update so that was downloaded as well.

We've Got a Problem

My first attempt to update Borderlands resulted in a catch-all error dialog informing me that the update had failed. After looking on the Gearbox forums I got pointed at running the update from the command prompt using the "msiexec" program. http://gbxforums.gearboxsoftware.com/showthread.php?t=87233 - (FIX) Fatal Error:Installation ended prematurely because of an error. This resulted in the patch doing the same "Gathering information about your computer" routine as the original patch attempt and silently exiting without doing anything. A quick check on the "msiexec" program's help dialog showed a logging flag which I set and posted the output of that and the dxdiag output on the Gearbox forums. http://gbxforums.gearboxsoftware.com/showthread.php?p=1721935 - Unable to Install Patch or Zombie DLC - Windows 7 - Error 1603

You Didn't. Did You?

This is when things got interesting. Soon after I read a new post of someone having a similar problem as me and posted a suggestion to run the "msiexec" program with the logging flag set. A reply post by another member to mine said that would be pointless as "we know where the patch is try to write to" This gave me an idea which prompted me to look through the "msiexec" log to try and answer. A quick search for the drive that I installed Borderlands to (E:) found nothing. A search for the 32 and 64 bit Program Files directories on the C drive found both. Now my question was a pretty simple one, did the patch and DLC require that the game be installed in the Program Files directory on the C drive? A question in the FIX thread brought no answer after several days so I decided to give it a go and reinstalled Borderlands to my "C:\Program Files(x86)\" folder.

You Did

And guess what, the patch and DLC installed without a hitch.

For a game developer to not allow the patch to be installed to wherever the program has been installed is just unacceptable when every other game I have patched has never required it.