Internet Bots for Fun & No Profit
My talk from last November’s BSides Winnipeg 2013 Security Conference.
To show how little code is required to create automated accounts on Twitter I demo’d a few other bots that I’ve written. Here’s one that Tweets out a random number every five minutes. A modern day Numbers Station.
require 'chatterbot/dsl' loop do tweet rand(1000000..99000000).to_s sleep 300 end
I closed with my motivations, the security/ethical implications of algorithmic social media accounts, and the possibility of a future where we are unable to determine who is real and who is a bot on the Internet.
UPDATE - Abotlafia’s response to my talk:
@stungeye “you’re in trouble? good.”— Abulafia (@abotlafia) November 25, 2014
Lift off with battery packs in series. Our new electronics activity kit!
On Monday I participated in a sweat lodge ceremony organized by Red River College Aboriginal Student Support & Community Relations. This took place near Libau Manitoba at the site of a yearly Sun Dance. The ceremony was a teaching lodge led by Bundle carrier, Sun dancer, and Spiritual Advisor for Corrections Services Canada, Brian McLeod.
A sweat lodge is an Aboriginal ceremony of purification, thankfulness, healing, and discovery. The lodge itself is built of saplings lashed together and hung with heavy cloth tarp. A dome maybe 10 feet (3 metres) in diameter, the shape of a great turtle shell.
We offered tobacco to the fire blazing outside the entrance of the lodge. The offering made in the name of all our relations. We knelt and entered the lodge sitting side by side on a circle of blankets. Brian spoke to us of vulnerability, of strength, and of living in a good way.
The tarp is pulled shut from outside. It is dark inside but for the red light of the Grandmothers and Grandfathers, the granite rocks pulled from the fire outside and placed into the earthen pit in the centre of the lodge.
The smell of cedar. The sound of rain. Drumming and rattles and voice. Water on stone; the hot breath of life. Hottest right before the flaps open, only to be closed again. Four cycles of heat. Four doorways. Giving thanks to all our relations. Awash in the fervour of sensation and gratitude.
PechaKucha 20x20 is a simple presentation format where you show 20 images, each for 20 seconds. The images advance automatically and you talk along to the images.
My talk went well, or at least I assume it did. It was a blur once I got on stage. The talk was delivered by auto-pilot Kyle. I found the 20x20 format challenging. With twenty 20 second slides you talk for 6 minutes and 40 seconds. I’m use to lecturing for an hour or more, so this was an interesting exercise in constraint. Producing the slides a week in advanced, and building the talk around them, had me initially trying to cram in too much. Even after a few rewrites for brevity I felt at times like a nervous robot dictating my talking points for each image. :D
The crowd was great. Very welcoming and clappy. The other speakers were engaging and passionate. I was told ahead of time that at past events an ad hoc theme for the night tended to emerge. The theme for last night’s event seemed to be social justice.
Again: social justice. Unofficial theme of #pknwpg18— PechaKucha Winnipeg (@PKN_Winnipeg) May 23, 2014
I was the first to speak. I talked about the experience of building winnipegelection.ca and manitobaelection.ca. I also argued that a well functioning democracy requires engaged and accountable citizens.
Here’s Karenia Niedzwiecki mash-up of the evening:
Government accountability requires citizen accountability. Democracy gives us the chance to say “I’m worth more than you think”. You can think of me as the travel santa… but apparently we’ve all been bad. The most successful matches are made when organizations identify the need. I’d been running for a 1000 days in a row, so I thought, let’s run a 50k for fun. I hope your next vehicle will plug in. We work hard to make this happen—grandmothers and grandchildren, happy and healthy. I know you’ve had a couple of DJs present before, but I have one thing that they don’t, and that’s offspring. Citizen journalism requires a disconnect from self-focus. That’s what I want to avoid… rejection (as a graphic designer or as a comedian).” — source
The sentence Democracy gives us the chance to say “I’m worth more than you think” was from the talk after mine by Dougald Lamont. Mr. Lamont spoke about his research into economic inequality and what we can do about it. I think our talks went well together.
The Shape of Sound - Nik Nowak designs mobile sound sculptures giving sound an extreme shape.
THEY had just met.
HE, wearing suit, tie; briefcase in hand.
SHE, wearing flower-print dress, necklace; purse in hand.
"You remind me", says HE, "of you".
“So I am told”, says SHE, “by you”.
THEY begin to walk.
HE, holding HIS briefcase like it was HER hand.
SHE, holding HER purse like it was HIS hand.
THEY walk without speaking for some time. Hand in hand in mind.
HE opens HIS mouth to say something. Nothing comes out.
SHE sees HIS open mouth and it makes HER yawn.
"Look!", says SHE as SHE points.
THEY watch as a crane lowers a steeple onto a now finished church.
“Complete”, says HE.
THEY play at being cranes. What fun it is to dream of strength and amazement.
"Do you think that you might love me?", says SHE.
“How can that be?”, says HE.
“Love at first sight”, says SHE.
Silence. Deep breathes. Pupils widen. Corners of lips curl.
"What does love feel like?", says HE.
“Like the opposite of a stomach ache”, says SHE, “only more pleasant.”
"I feel full", says HE, "but I think that is lunch."
THEY play at being lovers.
What fun it is to dream.
* * *
I wrote this over a decade ago and stumbled across it today while doing some digital house-cleaning. What fun it is to dream. :)
"A hula hoop floats amidst a stunning location of México city. As it moves, a dancer appears and plays with the hoop. Every movement creates lines, impressive shapes and lights that float in the space as if being drawn to gradually create an impressive sculpture in movement."
Soon we find out that Guildenstern [in the play Rosencrantz and Guildenstern are dead] has flipped 76 coins, and all of them have come up heads. “A weaker man,” he remarks, “might be moved to re-examine his faith, if in nothing else at least in the law of probability.”
The article goes on to conclude that it’s unlikely that anyone has actually flipped 76 heads in a row. The logic is as follows:
If a coin is flipped 76 times there are 2 to the power of 76 different possible outcomes. That’s over 75 sextillion possibilities. (If it helps, you can think of these flips as a binary number composed of 76 bits.) So the chance of flipping 76 heads is incredibly rare. 1 in 75 sextillion rare.
However, a fun paradox arises: Can I not flip a coin 76 times and then state that based its rarity (1 in 75 sextillion) that I doubt this particular sequence has ever been flipped, even though it just has?!
Perhaps, but it’s important to note that this only works for ordered sequences of coin flips, not the ratio of heads to tails within. This distinction is important because many different sequences can lead to the same heads to tails ratio.
For example, if on my first flip I get tails followed by 75 heads, this is a 1 in 75 sextillion sequence. Compare this with the probability of flipping one tails anywhere amongst 75 heads. Since the lone tails could appear on any of the 76 flips, the probability is 76 in 75 sextillion.
As the heads to tails ratio approaches 50/50, the odds get much better. A sequence containing 38 heads and 38 tails should be tossed once every 11 attempts (approximately). This is due to the large number of sequences within the 75 sextillion that contain an equal number of heads and tails.