Archive for the ‘ Pictures ’ Category

Around every corner

Posted on October 9th, 2015 Be the first to comment

Graffiti at Yonge & Lakeshore

Filed under: Patrick Bay, Pictures

Ungullible

Posted on October 9th, 2015 Be the first to comment

Gull at Sugar Beach / Corus Quay

Filed under: Patrick Bay, Pictures

Crossroads

Posted on October 9th, 2015 Be the first to comment

Signpost at Pier 27, Queen's Quay

Filed under: Patrick Bay, Pictures

TOTALLY mental poker

Posted on September 19th, 2015 2 Comments

A few weeks ago when the HR lady called me and told me that I too was now among a number of people who had been laid off as a result of “business decisions”, I could scarcely contain my enthusiasm. “That’s great!”, I replied giddily. There was a moment of silence before I caught myself. “I mean, that sucks … terrible .. but it’s great that I know about it sooner rather than later”, I sputtered. Good save.

I clumsily explained that, having spoken to colleagues and being aware of the changes, I could now live without the uncertainty, then swung the conversation back around to me getting fired.

“Yeah, no, that’s bad news,” I assured her but added that the severance would be helpful.

I was lying – I was elated.

Thing is, I’d been working on a project in my spare time that it was probably best to keep hush-hush. So it was. The main complication was the fact that the project is an online poker game and I was – until recently – working for a company that had bought PokerStars. It wasn’t that I was “borrowing” code or secrets or clients or anything like that, and I genuinely liked working for them, it’s just that the whole situation felt complicated.

biermarkt on the esplanade

Besides I just thought that the idea was too damn good to risk any potential roadblocks, especially early on. So I assumed an alias and toned down my writing style.

I was asked why I included a cryptographic identity when I first announced the project on Reddit, and this is why. I was probably being a little too paranoid but so far everyone I’ve discussed it with thinks it’s a pretty darned good idea. I’ve even seen it suggested that if such a thing could be built it would be “super revolutionary“, “so obviously disruptive“, “a killer app“, and other encouraging adjectives, so protecting the work by keeping my identity hidden seemed wise.

I hope you can see how one might foresake blogging for a bit in order to concentrate on such a project, but I did at least hint at it when I was starting to see some solid first results. I wasn’t just talking out of my ass there.

So since we’re at the part of the story where I’m unveiled as the guy behind the project I might as well call it by its real name: CypherPoker.

Okay, so it’s an online poker game, right? So what?

Well, for starters, it really is quite unique, disruptive, and revolutionary – it’s almost entirely bass-ackwards to the way that online poker currently works.

I’m sure that I’m not giving anything away when I say that most online gaming sites operate under a “client-server” model. This means that they own and operate computers with big internet connections that “serve” game information to the players’  computers or “clients”. In effect, games take place almost entirely on the operators’ computers; clients are used mostly to display the results of the games in a nice way.

This makes sense. You can see how it’d be problematic if the clients (players/peers) were to decide how cards should be dealt – someone would just need to hack the software to enable all sorts of cheating. In the client-server approach hackers would have to get at the servers which is much more difficult (but not impossible).

Players must also trust that operators are being fair and honest, and when they are, that they are able to properly monitor their systems for cheating. This has not always been the case.

With CypherPoker this approach is turned almost entirely on its head and in a way that seems paradoxical. For example, players play directly with each other (a.k.a. peer-to-peer) – no servers are needed.

But didn’t I just finish talking about how problematic it’d be if players were allowed to “deal” each other cards over the internet?

Yeah. In fact, the problem was described much more succinctly in a somewhat obscure MIT paper entitled “Mental Poker“:

Can two potentially dishonest players play a fair game of poker without using any cards … over the phone?

Even though this question seems like a real mind fuck, there’s actually a viable solution to the problem and the authors go on to show you how it’s done.

Because the answer uses math (cryptography), and since we’re no longer living in the Dark Ages, substituting “phone” with “networked computing device” is a simple but necessary step; I ain’t doing the calculations on paper!

casa loma

Back when “Mental Poker” was still a fresh and new idea, computers just weren’t capable of handling the kinds of computations needed to play a decent game. I remember reading that a card “shuffle” operation in an early Mental Poker implementation required hours of calculation. Can you imagine how long a single game would last? Yikes! Well, it’s 2015 and modern hardware is finally capable of crunching the numbers in a reasonable amount of time.

Paradoxically, visualizing how the game works requires no math skills whatsoever.

First we need to get our hands on 52 identical, peek-proof lock boxes with a miraculous ability to repel any markings (scratches, dents, paints, decals, etc.) In addition we’ll need 52 identical locks with the same miraculous abilities and one master key to open them all. My opponent, you, also has 52 miracle locks and a key to go with them.

Now I start by distributing the cards in my card deck into the boxes – one per – and lock them all. I mix up the boxes for good measure and call Larry’s Super Courier service to deliver them to you. You soon get the boxes and apply your own locks so that now all of the boxes are double-locked. With the way that each box is secured, either lock can come off first. Even though this is easy to achieve using physical lock boxes (just use a big latch), it’s a very important property – we need to be able to add or remove locks in any order for this process to work.

After being mixed up again the 52 double-locked boxes are returned to me.

Since we’re playing Texas Hold’em, I need to select two private (hole) cards for myself so I simply pick two boxes and send them to you. You remove your locks from them so that only my locks remain. When the boxes are returned to me I remove my locks and extract my cards – simple. Notice that even though I locked all the boxes first, I had to unlock these two boxes last – after you removed your locks. Without the ability to add or remove locks in any order this all wouldn’t work.

Of course you need to repeat this process in order to “unlock” other cards, and there are other types of exchanges that are required for a full card game, but that’s the gist of it.

If we use numbers to represent physical cards – 1=Ace of Spades, 2=Two of Spades, etc. – we can use cryptography to “lock” and “unlock” them. As long as the cryptography is “commutative”, or can be applied and removed in any order, we can effectively play a fair game of poker over a telephone. Or maybe over the internet with a computer to do the calculations and display the results.

The “Mental Poker” idea is plenty cool all by itself but if you throw the serendipitous rise of Bitcoin into the mix, the whole thing starts to take on new dimensions. When you add anonymity via something like Tor or I2P to the game and the associated services (for example, introducing random internet players to each other), the possibilities absolutely blossom.

sunflowers @ jarvis and richmond

CypherPoker is well beyond the idea stage; the game exists and is available to play today. I spent the time writing versatile and solid code so the game is functional but the user interface sucks. However, now that I can drop the alias I can also drop the hammer so we’ll see about getting that and other shortcomings rectified forthwith.

In addition, I’m going to spend more quality time with TCL and my other blog again, partially to prevent any future fears regarding my freedom and well-being, partially to put my new camera to good use (other one disappeared a while back), but also to document and discuss the project’s progress more closely and regularly now that I don’t have to censor my output. I haven’t found any “Mental Poker” implementations that are as far along as mine so it’s hard to say exactly what lies ahead but that tingly feeling in my gut tells me that it’s probably going to be awesome.

Filed under: B Sides, Patrick Bay, Pictures

Union Station Re-re-re-vitalization

Posted on June 16th, 2015 Be the first to comment

From 2009:

“…I also had visions of a Hindenburg-like execution that, on top of stretching the project out to a future when the apes have taken over, includes cost overruns that are certain to result in another new tax.”

hindenburg

From today:

“Renovations to Toronto’s Union Station will not be completed until 2017 at the earliest – two years behind schedule and $160-million over the original budget.

The city’s government management committee met Monday to approve an additional $4-million for the project, bringing the total cost of the renovations to $800-million – up from its original $640-million price-tag. And the project, originally expected to reach “substantial completion” in 2015, now won’t be ready until 2017.”

 

Filed under: Dispatches, Patrick Bay, Pictures

Canada is not a democracy, never has been

Posted on May 27th, 2015 Be the first to comment

Although it’s lacking teeth,  an op-ed piece in the National Post fairly succinctly summarizes what I’ve been blathering on about for God-only-knows how long now. You don’t need to have a PoliSci degree to see what’s happening but although I doubt I’ll ever be able to shake my ageing parents’ (and many of their generation’s) scorn at my “naiveté”, “ignorance”, and “radical” views on government, at least I know I’m in fine scholarly company.

…the prime minister seems to have the unchecked power to decide when the House should be in session, when elections should occur, and even, in some circumstances, when their governments do or do not have the confidence of the House.

In the past I’ve referred to this as fascism, sometimes as a dictatorship, and often as a tyranny, but as I’ve tried to point out labels ultimately matter far less than deeds.

In the House, the prime minister and government have considerable control over day-to-day operations. This allows governments not only to set the agenda, but to carry it out with ease. The prime minister commands the steadfast loyalty of his MPs, largely through a carrot-and-stick approach; co-operative MPs might be rewarded with cabinet posts or coveted committee positions, while rogues can be — and at times are — punished with removal from caucus or even barred from running as a candidate for the party in future elections. All of these are vestiges of prime ministerial power. The party caucus has little leverage with which to counterbalance the prime minister’s power because party leaders are chosen (and replaced) by the party at large, rather than by the caucus. Thus, the government’s MPs have no effective mechanism through which to stand their ground against a very powerful leader or effectively represent his or her constituents.

Critics regularly cite our seemingly dizzying array of market choices as proof that government has little control in our day-to-day lives. Although they can hardly provide a straight and articulate answer without sneering derision, state supporters are often stumped by simple facts. For example, all of the so-called “choices” that the so-called “free market” offers are all directly controlled by government.

No?

Okay, name any product or service in Canada that doesn’t require government legal authorization, licensing, approval, etc. In other words, you have only the choices that government allows and you’re coerced, backed by threats of violence and imprisonment, into paying for this through taxes. Yes, you can buy things on the black market but you face the wrath of government if you decide thusly to exercise your “free choice” and of course you’re guilty until you can prove otherwise (which they can still arbitrarily reject).

Because they’re now stumped, government lackeys immediately pivot their argument to deflect by claiming that this is necessary to “keep us safe”. To this I would simply suggest cracking open a newspaper – the evidence of how government doesn’t keep us safe is in the news pretty much on a daily basis. Whether this involves food, healthpersonal safetyprivacy, and a litany of other claims about protections, there are regular and glaring examples of how this simply isn’t true.

The statist argument typically changes course once again at this point to demand that nothing – our hospitals, roads, water and electrical systems, etc. – would exist without government. I’ve addressed these obviously specious arguments a number of times in the past but I will concede that government vehicles with government employees do sometimes drive up to a pothole, and one labourer and three supervisors spend three to four weeks filling it with a cop or two gladly accepting extorted taxpayer money to text or browse the web on their cell phones or chat with the crew, while out of sight pedestrians and cars are left to their own devices to share the dangerous inches left for them. Sounds an awful lot like the lazy welfare whores that government is keen to trot out to justify how we should receive even less state “benefits”, doesn’t it?

In other words, government supplies a few services through a wasteful, overpriced, badly (if at all) regulated process, something that is typically done far more efficiently by the private sector. This makes sense – the private business has to look out for their bottom line, government can just raise taxes and you’ll be brutalized or extorted by “authorities” and go to jail if you don’t like it. There’s no incentive for government to be efficient or benefit citizens in any way, and every single government institution behaves according to this.

Don’t believe? Just try and apply for any government “benefits” to see how hard your loving, benign government works for you. Call up a government “service” phone line and see for yourself how much service you receive. While you’re at it, try calling the cops when you actually need them – I have and that’s why I know better.

Rather than becoming more like a system of presidential executive authority, this situation has left Canadian prime ministers in a position more akin to historical monarchs. The evolution of Westminster democracy in Canada is very much a story about the struggle to wrestle power away from the Crown and shift it to Parliament, and specifically the House of Commons, our primary democratic body and check on unfettered prime ministerial power. The ability of prime ministers to retain and use these Crown powers, alongside other powers over MPs and the House of Commons, is resulting in a situation where prime ministers have the power to make decisions, partisan and otherwise, that limit or negate Parliament’s role as a guardian for accountability in our democratic system.

This is not simply about politics or even personalities. Almost all recent prime ministers have used these powers to try to advance their partisan interests. What it is about is the erosion of our democratic institutions and the effect on democratic governance.

The next rhetorical recourse of any good government lapdog is to state that, yeah, okay, maybe government isn’t perfect but we have “checks and balances” to ensure that things more or less work out for most people. And if we don’t like it we can vote in someone else!

These are other points I’ve addressed at length and are yet more claims that can be factually rebutted with a mountain of evidence to the contrary (this blog is filled with it). And while it’s claimed that the media would surely alert us to these issues it’s easy to demonstrate that this is highly unlikely to be the case. Unless you seek out increasingly derided alternative sources you will only know what government and friends want you to know.

If your final argument is that people are too stupid to know what’s good for them, hence the need for unquestionable government, then kindly shut your ignorance hole – you’ve just brilliantly insisted that you don’t know what the fuck you’re talking about.

Put this all together and the will of the people is entirely irrelevant and, in fact, something to be suppressed.

It’s at this point when state defenders throw up their hands and exasperatedly exclaim, “Oh well! Then I guess we must be living under a King or Queen then, huh?!”

Yeah, smart guy. Flip over your Canadian money or do a Wikipedia search – Canada is a monarchy and whether the titular head is the queen or Harper the effect is the same.

Canada on Wikipedia

Filed under: Patrick Bay, Pictures, Why I'm Right

“This organization poses a great threat to Iraq and Syria”

Posted on May 22nd, 2015 2 Comments

No rape

A lot cheaper than it could be since they’re spending $0 on accountability or oversight.

The RCMP will receive $150.4 million in new money over five years, beginning in 2015-16, and $46.8 million a year after, with the money going to help the Mounties conduct terrorism-related criminal investigations.

The border-services agency will get $5.4 million over five years and $1.1 million annually in subsequent years, with some of the funds earmarked for identifying high-risk travellers.

“The reason the international community has intervened in Iraq is the serious threat that ISIS poses . . . . We’ve had some successes, but, at the same time, it is no secret this is an ongoing battle. This organization poses a great threat and continues to pose a great threat, obviously, to security in Iraq and Syria.

http://www.thestar.com/news/canada/2015/05/21/more-money-from-stephen-harper-for-rcmp-and-border-services-to-fight-terrorism.html

Filed under: Dispatches, Patrick Bay, Pictures

“…not charged with any offences”

Posted on May 22nd, 2015 Be the first to comment

So is he dangerous or what?

Twenty-year-old Seyed Amir Hossein Raisolsadat of Stratford has not been charged with any offences.

Police allege Raisolsadat had beans needed to produce the deadly toxin, ricin.

http://www.cbc.ca/news/canada/prince-edward-island/terrorism-related-peace-bond-for-seyed-amir-hossein-raisolsadat-extended-1.3083226

Filed under: Dispatches, Patrick Bay, Pictures

“…not a single worker is protected under the Employment Standards Act”

Posted on May 20th, 2015 Be the first to comment

Foxconn

In Ontario, not a single worker is protected from wrongful dismissal under the Employment Standards Act.

http://metronews.ca/news/canada/1371468/ontario-allowing-employers-to-fire-workers-without-cause/

Filed under: Dispatches, Patrick Bay, Pictures

I don’t use the word “hero” often but…

Posted on May 15th, 2015 1 Comment

There are worse crimes you know?

Vaulter Bandit

On Friday, York Regional Police and Peel Regional Police and the Canadian Bankers Association plan to hold a news conference in Aurora to publicize the $100,000 reward.

The robber is known at the Vaulter Bandit for the way in which he jumps over the counter during robberies, and he has been linked to about 20 bank heists over a five-year period across Canada.

He appears to work alone and may use rental cars.

“He’s probably pretty hush hush about it,” [Det.-Sgt. Mike] Fleischaker said.

He has used a silver Jetta and a Chevy Cruz for his escapes, and police are investigating whether they were rental cars.

“These are cars that are frequently rented out as economy cars,” Fleischaker said.

His method of robbery has changed over the course of his career.

Originally, he went into banks during regular hours and jumped the counter, taking whatever he could quickly from tellers.

Since May 2011, he has started to show up in the morning as employees prepare to open branches for business.

Last June, the Canadian Bankers Association raised the reward to $50,000 from $20,000.

http://www.thestar.com/news/crime/2015/05/15/vaulter-bandit-bank-robber-reward-jumps-to-100000.html

Filed under: Dispatches, Patrick Bay, Pictures