Archive for the ‘ Patrick Bay ’ Category

magic building

Posted on June 24th, 2025 Comments Off on magic building

(larger)
May or may not exist at 60 Sumach.

Filed under: Dispatches, Patrick Bay, Pictures

/sectionb: have we met before?

Posted on June 22nd, 2025 Comments Off on /sectionb: have we met before?

In hindsight, I definitely prefer this to that. If things continue at this pace then the Section could be fully operational within 6 months, maybe earlier.

Recruitment instructions to follow.

Filed under: /sectionb, Dispatches, Patrick Bay, Videos

Forking heck

Posted on June 21st, 2025 Comments Off on Forking heck

It was close to 10 years ago that I announced that I’d been working on a crypto-based, peer-to-peer poker project named CypherPoker. That initial version was written in a programming language called ActionScript which produced software for the now-defunct Flash platform.

I admit that I still have a soft spot for the language and the platform on which it ran (a.k.a. the runtime).

Not only did Flash allow me to produce code for a broad variety of operating systems and hardware, it was also very creatively expressive. The platform/runtime was originally a way to produce streaming audio and video content for the web which was a groundbreaking advancement for its time. With the addition of a robust programming language, those “movies” could be made to react to user input and that’s when things got really interesting.

A few years later I found myself working for an online casino company and realized that a product like provably fair online poker software that didn’t require a middleman (e.g. PokerStars), was singularly unique. So I set out to write CypherPoker. I learned a lot about cryptography and peer-to-peer networking and pretty soon I knew that the idea was viable.

However, although it solved a lot of the problems associated with such an endeavour, my solution didn’t answer the questions of: who enforces the rules if someone does cheat, and moreover, who holds the money (pot) during the game?

It was suggested that I use Ethereum for the answers. You may have heard of Ethereum due the popular cryptocurrency Ether but this is only one half of this particular blockchain. The other half is a set of fairly open-ended programming instructions (a.k.a. Turing-complete), that run the blockchain. Those instructions can be created using any number of programming languages — in my case one called Solidity — and the resulting programs are called smart contracts.

Because smart contracts are run across the entire Ethereum network, an incentive system was included to ensure that people participate (like all blockchains that I know of, Ethereum uses a cryptographic consensus model), hence the Ether cryptocurrency. If you want to store your code on the blockchain, you pay Ether. If you want to run that code, you pay Ether.

If smart contracts and Ether had hips they would literally be joined at them, so much so that even the most basic transactions on Ethereum (e.g. “send X amount of Ether to recipient Y”), require basic smart contracts to do their thing. It’s also why even these most basic transactions require a fee, payable in Ether.

In the process of developing smart contracts I learned how to create my own Ethereum blockchain, which could have helped to keep transaction costs minimal — at least initially. Due to the intrinsically speculative nature of cryptocurrencies, however, I expected the inevitable eventuality of the same problem that I encountered with the official Ethererum blockchain: playing a hand of poker would eventually become prohibitively expensive. In addition, the consensus model meant I’d need a network of people to help run the blockchain, which I didn’t have.

Nevertheless, I received positive, even enthusiastic comments on the project, and as of the last time I checked it had been starred (the equivalent of “likes“), 70 times on GitHub. Perhaps more importantly, it had been forked 13 times, which means that GitHub users copied the code into their own repositories for their own use, adaptation, etc.

Unfortunately, that rotten piece of shit Steve Jobs (my consistent opinion), bashed Flash and with the help of his drooling and ignorant minions helped to prematurely kill off the technology. I won’t go into the numerous reasons why most of what he’d written was pure crap but it doesn’t change the fact that Flash would ultimately be doomed. Plus, the price of Ether skyrocketed so even without any rake the smart contracts were useful for only very high-stakes games in which expensive blockchain fees would make sense.

So, some years later when browsers began to offer some of the functionality that previously only Flash could offer, I decided to re-write the game for JavaScript. Thankfully, the similarity in names between the two programming languages is more than just coincidence. Not only do they both look and feel similar but they’re functionally related.

In fact, an ActionScript developer would often have to also learn JavaScript since Flash content tended to run within a browser window, and browsers use JavaScript to make web pages functional (i.e. more than just static content). In other words, the ActionScript runtime (Flash) was often embedded in a JavaScript runtime (browser), although this wasn’t always the case.

Sufficed to say, other than having to code everything again, going from one language and runtime to another wasn’t a huge leap. I learned a bunch of lessons in the development of the ActionScript version so its follow-up was produced considerably more quickly and robustly.

Instead of incorporating smart contracts directly, I created a plugin architecture into which they could eventually be slotted and wrote a module using Node.js (another JavaScript runtime), to act as a stand-in. Due to its popularity I added support for Bitcoin which, unlike Ethereum, comes with a highly restrictive set of programming instructions (not even close to Turing-complete), called Script.

With Bitcoin, instead of smart contracts someone would have to assume the role of a “trusted banker and game verifier”. It wasn’t ideal but would allow for completely private games, albeit with someone playing the role of a trusted third party. Besides, I figured, I’d written the smart contracts once and I should be able to dust them off at some point and slot them in.

However, that never happened.

Ether is still way too expensive and I’m no nearer to having enough people to help me create a CypherPoker blockchain so I added support for Bitcoin Cash (a cryptocurrency similar to Bitcoin), tidied up the code, updated the documentation so that anyone else could adapt it, and shelved the project. At this point it has been sitting idle on GitHub for about 6 years.

A couple of days ago I had a look at the repository and was pleasantly surprised to see that it had been starred 106 times and forked 44 times, twice this year and 5 times last year. In addition, 13 people have set a “watch” on the repository so that they can be alerted should it ever be updated.

Between the original CypherPoker and the newer CypherPoker.js, the project has been starred 176 times and forked 127 times with a total of 23 people watching.

Every once in a while I also receive a comment telling me that someone has implemented some changes or done something interesting with CypherPoker.js

As recently as the 6th of this month, for example, someone added a “spectator mode” to the game (not sure if this is a good idea), and someone else claimed that they used the project as a basis for their university thesis (LOL … I’m a Canadian college dropout!)

Altogether, it’s nice to know that the interest is still there.

If you or anyone you know share this interest, drop me a note and maybe we can resuscitate what I still consider to be a unique and very promising project.

Filed under: B Sides, Patrick Bay, Pictures

Raisin Gang: Daniel Kurland

Posted on June 20th, 2025 Comments Off on Raisin Gang: Daniel Kurland

Another two weeks down and still nothing. To make matters worse, I know that the next focus of my exposé was active as little as a couple of hours ago (as of this post).

I’m talking about Daniel Kurland:

His penchant for impersonation and deranged thinking led him to be involved at all levels in the Gang hierarchy:

But even among his peers Daniel is exceptional due to his antisocial and inhumane tendencies:

As demonstrated early in his career, Daniel fancies himself to be a bit of a pop culture aficionado:

Using his position as a writer for Den of Geek, Vulture, Bloody Disgusting, CBR, and ScreenRant, Daniel has managed to spread his nauseating ideology beyond the confines of the Gang. He’s even gone so far as to promote his activities on his own website, via podcasts, as a Rotten Tomatoes critic, and presumably targeting children via graphic novels.

In short, the guy’s a real piece of work. To think that he’s been operating for over a decade and a half (to the best of my knowledge), is frankly unfathomable. He’s lucky he’s moved to New York where I can’t get at him.

To any Raisin Gang members reading this, a message: the list of names is dwindling, along with your opportunities to contact me!

Filed under: B Sides, Patrick Bay, Videos

/sectionb: AGENCY

Posted on June 18th, 2025 Comments Off on /sectionb: AGENCY

… in which the origin and nature of the agency are (sort of) revealed, Section B (re)make the acquaintance of an undercover agent, and they (almost) all receive an unwelcome surprise.

Filed under: /sectionb, Patrick Bay, Pictures

131 129

Posted on June 16th, 2025 Comments Off on 131 129

(larger)
Bathurst near Adelaide

Filed under: Dispatches, Patrick Bay, Pictures

kizmet32

Posted on June 15th, 2025 Comments Off on kizmet32

(larger)
Dundas West near Bathurst

Filed under: Dispatches, Patrick Bay, Pictures

and again

Posted on June 14th, 2025 Comments Off on and again

You already know my views about this place.

Filed under: Dispatches, Patrick Bay, Pictures

college place again

Posted on June 14th, 2025 Comments Off on college place again

(larger)
Again, not really a “place” so much as a back alley.

Filed under: Dispatches, Patrick Bay, Pictures

college place

Posted on June 13th, 2025 Comments Off on college place

(larger)
Not so much a “place” as it is a back alley.

Filed under: Dispatches, Patrick Bay, Pictures