Upgrading Library from .Net 4.0 to .Net 4.5.2 – Regenerated Web Services Reference.cs

This quick tidbit is only for the few and far between, however, you may notice an issue when upgrading your projects to .Net 4.5.2. Your service references are all re-generated! Normally this is fine, except that I’ve noticed the code generator in VS2013 likes to name the namespaces the same as the root class. As an example, in your webservice named Foo:

/* This code was generated by a machine */
namespace Foo
     public class Foo
          // Do stuff

To deal with these issues, it is my belief that developers in C# should read the very informative article (part 1-4) here

Online Brokerage “Flat Per Trade Fee” warning

Brokerage/Bank advertising is usually annoying. This is because you absolutely HAVE to read the fine print: “Flat fee $9.95 trading!” actually means flat fee per transaction, for each transaction which happens on a different date, which could happen multiple times per trade!

One trade I made took 3 days to complete, and thus charged $9.95×3 for the same trade. It used to be $29 – Thus this would have cost $87 dollars a few months ago. It is so convoluted the staff is 50/50 as to whether they know the answer. In their defense, I countered with a logical argument as to why this was ridiculous (Being polite and calm of course, because – Put yourself in their shoes) and he reversed it “This one time”.

All transactions for one account in one security on one side of the market during one trading session are included in determining the principal value of the trade (“daily bundling process”). Full commission charges apply for each partial fill except when transacted on the same business day. Prices on multiple fills transacted on the same business day are averaged for commission purposes.

On the topic of Bonds, which have a different fee schedule, if you ever plan on buying bonds on an online brokerage, search for the fine print, as it is usually worked into the price of the bond. The average I’ve seen is upward of $40 dollars + X dollars per $1000 par value.

Individual bonds will rarely ever be worth it at that price of commission.

Happy trading.




Canada Post – Door to Door Solution

I’m sick of all the “Keep door to door delivery” petitions. They are losing insane amounts of money each year and have an insolvency in pretty much all of their obligations. The argument is “What about disabled people? Elderly?”. As a side note, the CEO is pretty stupid to tell people they will “Get more exercise” this way.

Well, a solution; Have rock solid rules based on reality that define whether you can apply to have it still delivered to your door, but keep the norm being the mail area boxes. If you don’t qualify, add a subscription fee that allows it to be delivered to your door. 10 dollars a month or whatever a study deems appropriate.


Return top


I do not adhere to a schedule. I post when I have something to say. I'm a programmer who in my spare time enjoy contemplating the meaning of life, the universe and, everything. So there will be code as well as random little stories and essays.