The Canadian Apocalypse

 Posted on August 31st, 2014
 by Patrick – Won't you help brighten a lonely comment box's day?

Those Australians are on to something…

No comments. How about yours?

Censorship-resistant SocialCastr going open source

 Posted on August 17th, 2014
 by Patrick – Won't you help brighten a lonely comment box's day?

A couple of years ago I began work on a project named SocialCastr. In a nutshell, it’s a piece of software that enables you to broadcast (video/audio) to an unlimited audience over the internet from your computer or device. This differs from something like YouTube or LiveStream in that you don’t need such services to achieve this. There aren’t many services or software titles out there that do this, mostly because it’s kinda complicated, but also presumably because it’s hard to monetize something that is entirely in the users’ control.

Obviously, some people are fine with using third-party services to store and distribute their content. I often use them so I get it. However, as people are increasingly finding, censorship, the silencing of dissent and competition, and a lack of freedom are alive and well on all the major platforms out there. If you believe in individual freedoms, you’re unlikely to find them in the ranks of the media hosting mega-corps.

It’s probable that your cute cat videosinane content, or asinine replies will be safe — it’s the really important stuff like speaking out against government abuse that might disappear in a digital puff smoke.

With SocialCastr I wanted to side-step some of these issues directly and it was clear to me that the best way to do so was to remove the third-party part of the equation. Luckily, my programming language of choice (ActionScript) has a robust networking system that allowed me to do exactly this.

Unlike something like YouTube where you upload (or stream) your video to them and they take care of distributing it to your audience, SocialCastr broadcasts directly to the audience. In other words, you are communicating directly with peers (audience), no YouTube or LiveStream to potentially block or censor you.

This approach was unthinkable just a few years ago; most computers, even with fast connections, could send video/audio streams to a few people at most. It’s not unlike uploading videos to YouTube — once you’re uploading two or three videos (or any data, really) at the same time, your internet connection is essentially “busy”. Sending video directly to two or three individuals over the internet would similarly clog your connection. YouTube has what in programming parlance is referred to as “fat pipes”, fast and powerful internet connections that can support millions of viewers simultaneously, something that is simply out of the reach of the vast majority of us.

SocialCastr does things differently.

When you broadcast, you only actually send your video/audio stream to two or three people at most. They in turn take care of re-distributing the stream to others using peer-to-peer networking. Your audience quite literally share the burden of re-distributing the content to other peers. Practically this means that you are able to broadcast to a potentially unlimited number of people with a pretty basic computer and equally basic internet connection.

Despite the fact that I have an ongoing wish-list of additional features, SocialCastr is complete so there’s a lot that can be done with the underlying technology along similar lines as above.

For example, distributing files  á la BitTorrent is something I’ve (successfully) tested, and I’m not the only person to do so. Similarly, two-way peer-to-peer chat, including video and audio, are laughably easy to set up within SocialCastr.

Perhaps more interesting than this would be to use SocialCastr to anonymize web browsing much like Tor does — when you want to view a web page, a request goes out to all connected peers who make the request on your behalf. Just as with Tor, it’s the peers that actually get the data for you (encrypted, of course), and return it to you. Spreading a web page load over many peers, a request which typically requires tens or sometimes hundreds of requests to fully complete (i.e. all the images, ads, etc.), could potentially speed up retrieval of the web page in addition to helping you to stay anonymous.

I’ve even opined that it should be fairly straightforward to build a distributed computing platform of some sort. US Berkeley does exactly this when searching the heavens for signs of extra-terrestrial life this with their SETI@Home project, and many Bitcoin miners now work in similar cooperative groups to feed the cryptocurrency with its raw Bitcoin rainbow tables.

And did I mention that because it’s Adobe Flash / AIR, it’ll run on most computers, devices, and browsers currently in existence? PC, Mac, iOS, Android, Internet Explorer, Chrome, Firefox, Safari … the same code runs everywhere.

This is all very realistic and mostly tested, so it’s far from being merely speculative. Unfortunately, I just don’t have the time to make these ideas a full reality so I’ve decided that I’ll be open-sourcing SocialCastr very shortly (just as soon as I’ve cleaned up and commented the source code a bit, you know the drill).

So if you want to download the SocialCastr source code and compile it yourself (detailed instructions to be included), you don’t have to trust me or anyone else to produce the end software. You can fiddle with the code directly and change it in small or large ways in order to learn, or produce something unique, or whatever. If all you want to do is to slap your own logo on there and release (including sell) the software, be my guest!

No comments. How about yours?

Dougie and the chief hug it out, plus a thoroughly scaped goat

 Posted on August 14th, 2014
 by Patrick – 3 comments are eagerly awaiting your response!

I remember opining not long ago about what appears to be public theatre between police chief Blair and the Fords. As I recall, I speculated that it had something to do with propping each other up in the media, a backroom friendship publicly laid out for the media as animosity. The purpose is simply to boost each others’ profiles, something the Fords shamelessly pursue.

Now consider the most recent circumstances:

  • Blair is retiring and not considering a run in politics. Even if this isn’t true, he’ll probably need to parlay his high profile into his next gig, whatever that happens to be. In other words: media attention=good.
  • As late as yesterday, Blair and Doug were staring each other down over Doug’s slanderous comments. Despite extended threats of litigation and with no new developments in the intervening 16-ish hours, Blair does a 180 and says everything’s forgiven. Aww, shucks.
  • Blair continues to look like a stalwart law-n-order guy, and the Fords continue to appear to be the poor, beaten-upon “common folks” to their seething, money-trumps-life supporters:ford_support

Against the backdrop of another big corporation taking the law into their own hands (where’s Blair big denouncement on corporate vigilantism?), we get the simultaneous news that one — yes, one 25-year-old person has been found guilty of “orchestrated” and “widespread” voter suppression (election fraud), by the Conservative party during the last election.

What did Harper have to say right after the scandal broke out? Oh yeah…

“Our party has no knowledge of these calls. It’s not part of our campaign,” Mr. Harper told reporters on Thursday. “Obviously, if there is anyone who has done anything wrong, we will expect that they will face the full consequences of the law.”

And that is, of course, why he immediately and deeply cut funding to Elections Canada (the people running the fraud investigation), and then introduced a new law making it harder for people to vote just like they’re doing in the US (because, of course, that was the problem).

You can be forgiven for forgetting the 2006 “money funneling” scam that Harper used to fraudulently take the previous election. Elections Canada investigator Ronald Lamothe described it at the time as, “entirely under the control of and at the direction of officials of the Conservative Fund Canada and/or the Conservative Party of Canada.” The Conservatives went so far as to admit guilt in that case — they eventually conceded to winning through fraud and blowing millions to first deny, then defend it all. 

No one was found guilty, the government paid itself a fine and announced a “big victory”, and we are told to believe that the Conservatives won a second majority, one so overwhelming that Harper is unopposed in governmentWell, I guess there’s no problem then. Nothing to worry about!


3 comments are eagerly awaiting your response!