2012-02-01

Google's New Privacy Policy

Google, with their new privacy policy, has offered us all a choice: to have everything we've ever googled be remembered for the rest of our lives and beyond, or to stop using all google products in one month. Hello Hobson!

How do we stop this? I don't know if we can, but we can try.

If everyone who uses any google product were to give google one piece of feedback every day objecting to that new policy and stating it plainly to them that:

Any retention of my data, even blinded, for longer than 90 days is an evil and unwarranted potential intrusion into my privacy. Google may still be trying to live up to "Don't Be Evil" but we cannot believe that you will always be able to protect all of our data, no matter what happens to your servers, your company or to the country under whose laws you primarily operate. Please stand down from perpetual storage to "90 days to oblivion".

If this goes viral, google will have to change. Will the rest of the 99% hear my voice and use the people's microphone? It's the only way I can imagine we'll get through to power that still thinks it's not evil so that maybe they'll back off.

2012-01-06

Trans-Pacific Partnership and Public Domain in Canada

Earlier today, I saw a post on slashdot about the potential extension of copyright length in Canada as part of a free-trade negotiation called the Trans-Pacific Partnership (CBC article):

slashdot (a little overblown, as usual):

The Canadian government is now considering a plan to enter trade negotiations that would extend the term of copyright by 20 years, meaning nothing new would enter the public domain in Canada until at least 2032. The government is holding a public consultation with the chance for Canadians to speak out to save the public domain.

Michael Geist:

Based on leaks of the current drafts of the TPP IP chapter, the agreement would overhaul Canadian copyright law far beyond what is contemplated in Bill C-11. In fact, the TPP would require even stricter digital lock rules, extend the term of copyright, restrict trade in parallel imports, and increase various infringement penalties.

and:

Canada's term of copyright meets the international standard of life of the author plus 50 years, which has now become a competitive advantage when compared to the United States, Australia, and Europe, which have copyright terms that extend an additional 20 years (without any evidence of additional public benefits).


I wrote the following e-mail to the the public consultations address, consultations@international.gc.ca, cc-ing it to my Member of Parliament (find yours here -- ask me for help if you need it!):

Greetings.

I am a lifelong innovator as a software developer for the last 25 years. I expect to continue doing this for a further unspecified period and I am committed to seeing the best and the brightest be able to develop to their full potential here in Canada, continuing to produce wealth and competitive advantages for Canada well into the lifetimes of my grandchildren. Because of that, I strongly oppose any trading away of freedom to tinker, to study, to reverse engineer, to learn the State of the Art from existing devices. Bill C-11, while less egregious than its forebears, is still an onerous impairment to that freedom but going further, as the TPP IP chapter negotiations would have us do is an unacceptable further impairment.

I urge my government to stop restricting their geeks from becoming excellent geeks. Broader trade is important, yes. But even more important is the development in Canada, by Canadians, in service of Canadian-owned companies of unique and valuable products that can command market premiums wherever they go, regardless of free trade pacts. And the simplest easy way to enable that is for Canada to insist on preserving for its geeks, present and future, the freedom to tinker, study, reverse engineer and learn for private study even where doing so for profit would represent a theft of others' duly gained competitive advantage.

Just as the right to media-shift, to back up, to maintain personal access to digital assets that individual consumers may have purchased is of inestimable value to the consumer, even more the freedom to tinker for geeks and potential geeks, present and future is of inestimable value to all Canadians. Trading such a birthright in return for the week-of-pottage that a free trade agreement might give is as foolish now as it has ever been.

Sincerely,

Arthur N. Klassen

Looking further at the press around this deal, I have to assert, as well, that this agreement looks bad in a bunch of other directions, including opening threats to the high-quality for slightly-higher-price milk and egg market in Canada, so there is no shortage of reasons why an informed Canadian should oppose forging such close ties with all these nations at such a high cost.

Consider writing a letter of some variety to

2012-01-05

Garbage Collection -- an idea whose time will never come to C++

Except as part of a boost library if someone wants it that badly. And I'm not sure they would. And that's my insufficiently humble opinion.

I'm frustrated with myself that I wasn't following Herb Sutter's blog closely enough that I could have taken part in the conversation over this blog post on Garbage Collection.

I like Herb Sutter. He's very smart, he speaks articulately about C++, and his effect on the C++11 standard has been good. Still, I confess, I'm annoyed that he has allowed himself to be co-opted by Microsoft to lend any support to the C++/CLI, C++/CX and C# food chains, which if they never crash and burn don't deserve to do anything better than fizzle. Vendor-specific languages are structurally evil (Apple is guilty here, too) and he's smart enough to have figured that out for himself. But in my calmer moments I'm willing to concede that these are things about which reasonable people can (and do) disagree.

So, let me give you my take on "Garbage Collection Synopsis, and C++".

The post opens with the quote: "OK, GC was invented half a century ago. When it is going to land in the C++ world?"

This question is so rife with assumptions that those should be dealt with before the question itself is even touched with a barge pole (which is about as close as GC should come to C++). These would be:

1. "GC is desirable for any language"
2. "Anything half a century old is well-defined enough that bringing it into any language should be easy"
3. "C++ wants/needs GC" (I'm holding my breath already!).

Right aways, Herb enumerates three kinds of garbage collection, the first of which is all that C++ usually needs. It wasn't available in the early days when good pointer-wrapper classes weren't widely available, but it's there now and that should be the end of the story for most of us.

The annoying part of the rest of the article including most of its comments, was the utter lack of effort made in identifying and highlighting those situations for which that option was insufficient, and why. @sim82 mentioned that phylogenetics regularly has circular-referenced nodes that make ordinary pointer-wrapping insufficient but didn't elaborate why the weak_ptr/shared_ptr pattern wasn't enough to solve the problem, either.

Martin Vejnár made the interesting observation about putting off memory releases until later (due to processing burden) to which another major commenter, David Abrahams, answered some'at about it being hard to do memory allocation without locking the world. And that has me wondering if in our wonderful multi-core world, there wasn't a way to do this by other means. Let me post on that idea soon.

Two other things annoyed me about the article. One was the "run, don't walk, to watch this video on Garbage Collection" in the main article. The video, while erudite and informative about how garbage collection worked, failed to convince me that it was good for anything other than allowing programmers to be more lazy. The additional specious was made that because C# had it, ASP was a better web-app-server environment than anything else out there. The other was in Herb's answer to three questions that got wrapped up in why any feature (including GC) should perhaps not be included in a computer language at all:

a) How likely will the feature be abused more than used well?
b) How often is the feature needed at all?
c) What cost or how viral is the feature? (does it force itself on those who might not want it)

His answers to these questions failed to convince me that GC belonged in C++, although mentioning Booch's comments on multiple inheritance raised an important point. Still, since C++ is so expressive, things that are actually in other languages, for instance named parameters (native in Python, in boost, here) can be brought in without including it in the language. The chap who raised these questions also asked if Herb's support for GC was related to his position with respect to C#, C++/CLR and C++/CX and here alone was something that remotely convinced me there was some need. After admitting his complicity in those projects (while denying the connection to wanting GC in C++), he goes on to say:

Note that for several years now I've been writing and teaching about Effective Concurrency in all the major languages — C++, Java, C#, and C+pthreads – and in the lock-free code section I keep having to add comments about how certain examples are easy/easier in Java and C#, and hand-wave about what it would take to do them in C++. I hate that.

I'd hate that, too -- but it'd be nice if Herb could have pointed to one of the examples he's talking about. I'm still none the wiser. Looking at the ABA problem, the other concrete item he mentions, it looks like the sort of thing that could be solved by a ZooKeeper-style version#-along-with-data paradigm, which shouldn't be hard to implement inside a library either, in a multi-threaded (thanks C++11), no-lock, portable way, never mind the somewhat trivial solution of thin-wrapping ZooKeeper!

But it's too bad that so much noise clouded what could have been an informative discussion. And I admit that if I had jumped in, it's eminently possible that I would have missed, in the moment, the way to ask a follow-on question that would have turned it to more useful ends.

2012-01-04

Haiku correction...

Let me correct that Haiku:

We are the techies.
We create the job makers'
Chances to dream dreams.

Who are we?

I am many things, including one who wants too badly to talk on too many topics. One of the things I am is a techie. In forwarding a video of a talk to my Member of Parliament I came up with the following sloca -- which as you have not heard, I will now proceed to relate:

"we are the techies, not the entrepreneurs and without us, the entrepreneurs can't dream,
let alone hatch their dreams into wealth and jobs"

which I think reduces nicely to a haiku...

We are the techies.
We create the job makers'
Chances to dream.

And the video? I found it at boingboing, it's hosted at youtube, and it's called "The Coming War on General Purpose Computing" by Cory Doctorow to 28C3, the Chaos Computer Congress. As I told my MP, "If you can spare the time, the 54 minutes you might spend watching Cory Doctorow hold forth on the topic, you will be rewarded well, possibly in two ways: amusement, and (hopefully) enlightenment. Why do I speak passionately about encroachment on my freedom to diddle, innovate and for my children (and grandchildren) to learn? Cory explains this and I commend to you this YouTube video..."

Consider sending this to your representative -- if you have the unbelievable treasure of a representative (or two) who must face your ballot again in a finite period of time.

(I also acknowledge the Kipling fragment in the first paragraph. Rhinoceroses beware!)

2011-11-16

An ex-IMF official analyses the US Financial Meltdown

A friend referred me to this article by a former IMF official. You've heard me rant about this before and how to fix it. It's nice to see similar criticism from someone who could be said to know better than me. The comments by others, including a Southeast-Asian chap are as instructive in their own way as the article. Read it and weep.

Little Round Planet...

...in a big universe. This collage of images brought to my notice by my father-in-law reminded me again of the beauty of our little home. Enjoy.

General Fusion -- from Burnaby, on NPR

I used to work at the same company as a bunch of the people at General Fusion and I was delighted to hear about these folks on NPR's All Things Considered last week.

2011-10-28

"tau" or "pi"

I looked at this page, advocating τ, the ratio between circumference of a circle and its radius as the more important constant than π, the ratio between circumference and diameter.

Given how often 2π shows up in formulae: capacitive and inductive reactance, Heisenberg's Uncertainty Principle (and any other equation that uses the Reduced Planck Constant) for starters, but anyone who knows their math and physics will be able to rattle off a few more.

But I wondered if the circle would kill the idea. Surprisingly it didn't! Area of a circle as 1/2τr^2 makes a lot of sense, especially in light of the Quantity - Symbol - Expression table. In fact, that table was missing an important entry! "Kinetic Energy", there should have read "Kinetic Energy - Linear Motion", to be followed by a line for "Kinetic Energy - Angular Motion". The formula? 1/2Iω^2 -- where "I" is the "moment of inertia" (angular mass) of a spinning object and "ω" is "angular velocity".

This idea, this fight looks a bit like tilting at windmills but interesting. I wonder if it's something that will ever get any traction?

I'd like the world to be a place where enough of the life-and-death issues are settled that most people who might possibly be interested in the question would have the leisure to consider it...

Cold Fusion test today in Bologna

Is it a scam? (as many responders to this slashdot post say it is) I fear so, I hope not.

Other articles (like this one, this one, this one -- from serious sources; this one, this one from a less credible one) at least explore the possibility of success.

If successful, the next question is, what happens when oil's most important economic use is as raw material for plastic?

And how poignant the engineer's dilemma: "we see it working again and again, but if only we could come up with some really good science to explain it!"

And then the most important use for polywell generators may be as a way of producing enough neutrons (running D-T) to render fission-waste products safe in decades instead of tens of millenia.

When I see more results, I'll add something here.

2011-10-24

Supporting Ron Paul feels cool, is stupid

(cross-post from this slashdot article)

Disclaimer: I am a Canadian, so I do not have a dog in this race; except we are your nearest neighbours (nearer than México in two minor ways only: longer border, no local outcries for a fence) so if you systematically self-destruct, it'll be bad for us, too.

Support for Ron Paul by the young and sometimes geeky has intrigued me for some time. Is it a result of reading Ayn Rand? Is it because his ideas seem so much more sensible than so many others? Is it because he does not appear beholden to any lobbyists? Is it primarily because he wants to end drug Prohibition? Possibly all of the above.

But it's also confused me because a number of the things Ron Paul wants to do away with are things that help the young find their first footholds -- things like student loans (or even grants). When I read this headline, I thought for just a second that perhaps Dr. Paul wants to throw open the universities for all, call a full education a civil right that you get to take advantage of based on merit. But I dismissed that thought before I saw the rest of the post, and I was right to do so. My response: his analysis may have some truth in it but it's so simple as to be suspect, in my view. On balance, like much of what Ron Paul says, it's too simple to be right.

Whoever thinks Ron Paul is cool, whatever lobby groups he is not beholden to, make no mistake: the über-rich and powerful wish his ideas well because their adoption would entrench and deepen the growing class divisions in America and put an end to the American dream as anything but that: a wistful dream of what expectations used to be.

Something is rotten in the way the US is going these days. For instance, in my lifetime, before 2008, I had never heard a leading politician in the US say of their president from the opposing party that they wanted him to fail. Whether you agree with Mr. Obama or not, that attitude on the part of any member of your government is pernicious. I'll stop there because the list of things going wrong is so long (most of them decades in the making) as to make this too-long post ridiculously so.

But Ron Paul is not the answer to those problems: his ideas (and incidentally those of the Tea Party) are only going to help the rich get richer and inherit the meek (and the not so meek). Do yourselves a favour, folks, and elect leaders that remember what they learned in Kindergarten (without forgetting all the things they learned since) and value their neighbours over hard lines -- internal neighbours, of course! I wouldn't advocate that you would elect the people I, your Canadian neighbour, want you to elect. I'm just confident that if, overall, you voted in line with your interests (and that may take a lot of thinking to figure out who's going to serve those best) and do well, then you won't become neighbours that we have to fear from across that longest unarmed border in the world.

be good to each other, folks...ank

2011-10-19

iPhone pros and cons

In some ways, I am one of the geekiest people a lot of my friends know. In other ways, not so much. Let me explain.

One of the geekiest: I have been a professional software developer for 25 years now (with no plans to join management any time soon) and I generally understand technology trends and can navigate my way around new stuff that arrives as and when etc. etc. On the other hand, I have been a devoted practitioner of contentment, shunning the bleeding edge to make my family's budget work reasonably well.

Not so much: I actively practice contentment. I know about the bleeding edge but I don't live there. I only got a cellphone six years ago, and it was only in the last year or so that I upgraded (I call it a downgrade in some ways) to a smart-phone. It's a phone for crying out loud, my third one, and there are features from my first phone that I still miss. I don't need the extra charges of a data plan. I don't need the extra distraction of all those apps and games. Weather happens, my wife and kids are great company and there are so many books to read (and yes, I still love the feel of paper in my hand) so although I enjoy my smart-phone (it's an android), I'm not really a zealot for one, or for the platform that I chose.

Every now and then, though, someone will ask me "android or iPhone?" and I don't quite know what to say. A lot of them aren't techies and don't know how much they ought to care (for my sake and those like me) about freedom. All they want is a smart-phone that will do what they want, beautifully, seamlessly and not exorbitantly (although they're probably all willing to pay more day-to-day than I am).

This week, though, I saw a pair of answers to this problem which I present to you. I wish everyone would choose anything but the iPhone because of this article from CodingHorror. I totally get why many to most people, especially the non-technical ones will choose the iPhone over other options because of this ZDNet article. I, too, have had to do parental tech support. And often enough, it's been cleanup tech support when some misfortune, small, large or unintentional (on the part of the perpetrator) has befallen their tech.

So I don't want to serve only at the pleasure of the King but my parents will probably never want to use an Android either.

2011-09-08

Patents, Math, Software

Since the most important body of patent law in the world is that of the US, I begin this post by quoting this wikipedia article, where a judicial finding in the US pre-empts the patenting of Mathematics:

'[SCOTUS] ruled that a process claim directed to a numerical algorithm, as such, was not patentable because "the patent would wholly pre-empt the mathematical formula and in practical effect would be a patent on the algorithm itself."'

Here's a follow-on syllogism:
  • No mathematics is patentable
  • All software is mathematics
  • Therefore no software is patentable.
One of my regular addictions is groklaw. Some time ago, someone posted an article there, titled 1 + 1 (pat. pending) — Mathematics, Software and Free Speech. Today the same author posts a follow-up, A Simpler Explanation of Why Software is Mathematics, which I submit for your consideration, admittedly before I've read them all.

Intellectual freedom to the people: shorten copyrights, narrow applicability of patents, enable imagination and innovation without fear of lawyers breathing down your neck.

Two articles in a morning?

This time it's microbes that generate electricity while stabilizing radioactive spills. What a wonderful world.

Cool article of the morning: superconductors!

And I do mean cool. Slashdot today reports on an advance in superconductors. As usual there's more noise than signal, this time not only on the slashdot end but also in any of the sources that could be used to talk about the story. Charitably, the title used is clear but these articles could all be improved.

The best article so far is behind a paywall at IEEE but the abstract here tells you all you need to know without getting lost in the details. The sapphire strand is being used as a place to hang a real high-temperature semiconductor that uses Yttrium, Barium, Copper and Oxygen. The results keep a low temperature more easily and are superconducting at microwave frequencies and 77 K (around the boiling point of Nitrogen -- "high temperature" in superconductors is different than "high temperature in weather).

2011-09-03

Canada asked to be called a copyright pirate!!?

Sent to my Member of Parliament this morning -- Canadians, especially those residing in ridings represented by Conservatives, consider sending something like this yourselves:

To: the Honourable Member of Parliament for Port Moody-Westwood-Port Coquitlam, Minister of Heritage and Official Languages, Mr. James Moore
Regarding: Michael Geist's story on leaked cables

Hello again...

After this story, the only credible thing for the Canadian government to do is to write new copyright legislation that enshrines the public good above all other considerations, declares anything edging towards DMCA unconstitutional and restricts the length of copyrights to the limits that were in place before Steamboat Willie's copyright was first just about to expire.

This is a shameful way for a government of Canada to behave. I am disgusted. There are more important moral issues to be disgusted or happy about but if this is one of the "smaller" things, how can we hope your government to do right in the greater things?

Sincerely

Arthur N. Klassen

If you need help finding your MP's contact information, get in touch...

2011-08-31

Haiku #31

Summer winding down,
Cool rains threaten my commute
But no hurricanes.

(maybe rain this week in Greater Vancouver -- Hurricane Irene just roared through eastern North America)

2011-08-25

The 2015 Mindset List is out

I keep hearing about this list in the news or somewhere but today, I know where to find it. Click here for the 2015 mindset list. It's the usual mix of, "okay... I figured that" and "oh yeah. that's right. wow!" Enjoy...

2011-08-04

My comment on American Fiscal Policy

A deficit built on the backs of 2 wars, deep tax cuts and bank rescues should be solved on the backs of the poor, the sick and the old. Yeah right.

2011-06-25

HST -- what's the right course of action?

Looking back at my blog, I'm kind of surprised that I never posted anything about the HST debacle in BC. It's overdue that I say something, given my last post about Mr. Campbell's unworthiness for the next job he seems to be heading towards.

I am of two very distinct minds about it as I e-mailed to a friend who asked my opinion...

My first response to harmonization was that when you say you're not considering it (though papers later come to light proving that you were), you don't just ram it through the legislature because of budget conditions or "competitiveness" concerns, not without a protracted public debate first. With that kind of a reversal better to run a referendum then and there. Or if you really believe it's so important, call an election over it. That's the honourable thing to do.

My next response was anger over surrendering made-in-BC policies, such as no sales tax on books, groceries, school supplies and kids' clothes: simple, common-sense, positive social policy that comes cheap at the price, even if some claims are fraudulent (and I know some families did routinely claim all stationary as school supplies).

So I signed the referendum initiative when it came by -- and I don't regret that because the process by which it was brought in was absolutely corrosive to an open government. Like the FastCat ferries. Like the BC Rail lease. Like lots of other things have been done here.

But in hind-sight, and with the experience of the FST to GST transition, I think I actually want the tax to stay. I certainly don't want the Zalm back in BC politics.

And it's never just what the consumer pays as tax that's the problem. What does it do, over all, to the market? I didn't buy the "prices will come down" rhetoric over the GST but it proved to be true for certain classes of goods (big ticket items that we don't notice at the grocery store every week) and promises to scrap it proved treacherous. Are we primarily consumers? or citizens? or neighbours?

Is the pre-HST system fundamentally fairer and less complex for those of our neighbours who run businesses? Maybe not? Well then, despite the feel good of spitefully turning over the tax because it costs us (admittedly more than a few pennies) more than it did, maybe the right thing, the neighbourly thing to do would be to keep the tax. This is about what's best for us, not just for me.

Whether we like it or not, bringing in the HST had consequences which will have further consequences if we try to unravel them. Businesses (especially small ones) have had to bear chaos-costs to bring in the HST but now it's here, and in the long run, it's probably an idea whose good will eventually become self-evidentially, even if it takes another 10 years. (probably less). Should we triple the chaos that the businesses (especially small ones) have to undergo, unrolling the tax now (x2) only to bring it in eventually anyways (x3)? I don't think that's a good idea, even at the x2 level, whether you the harmonization is a good idea or not.

Christy Clark's tweaks to the tax are pointless spin. In fact, I think the benefits from simplification of the tax are subverted by the exemptions that have been thrown as a sop in a possibly vain attempt to keep the HST.

All that said, though, I will be voting NO (if, in the presence of a postal strike, I can get a ballot) and hoping that if the referendum passes (to scrap the tax) the turnout will be so low that the government will be unable to take the result seriously.