PAZ #000006 – The oh! so redundant Shakespearbot!

I be introducing ye the glamorous Shakespearbot. Me beloved friend, sadly only works with me laptop on. Got its files onto a server droplet, installed node, servi and other things. But for the world in me I have not figured out how to make the files just run on their own. Well node server.js doesn’t seem to work even when I’m in the root of the server. This server thing is as me bot says: “thou, a madness dot”. Still it’s nice to have a automated twitter post every minute. I will soon figure out this server running files gimmick.

Story. I’ve tweaked with the twitter bot sample, and mashed it with the previous markov generator. It works super dandy fine! I automatically generate with the markov generator, and input the first two sentences into the tweetPost itself. Here’s the current messy code of the sketch:

// Karam Byun
// Shakespeare Speaketh OCT 2014

// Daniel Shiffman
// Programming from A to Z, Fall 2014

// A p5 sketch that tweets generated Markov phrases

// How many characters in the tweet?
var numchars;

// data with Shakes' Plays
var lines;
// The Markov Generator object
var generator;

var tweetShake;
var paragraph = []

function preload() {
  lines = loadStrings('data/dialogue.txt');

function setup() {
  // The Markov Generator
  // First argument is N-gram length, second argument is max length of gen. text
  generator = new MarkovGenerator(4, 80);
  // Feed all the lines from the text file into the generator
  for (var i = 0; i < lines.length; i++) {


function generate() {
  // Display the generated text
  var output
  var text

  // Get 2 lines
  for (var i = 0; i < 2; i++) {
    text = generator.generate();
    tweetShake = paragraph

  // Each line gets a new html p tag
  // Just to see
  for (var i = 0; i < paragraph.length; i++) {

  // Clear paragraph for new lines
  paragraph = []

// Update the div that says how many characters are in the tweet
function countChars() {

// Execute an API call to tweet!
function postTweet() {
  // Note the use of encodeURIComponent()
  // We should probably be using this in all the examples from this week
  // Inside the encodeURIComponent is our tweetShake
  loadJSON('/tweet?status=' + encodeURIComponent(tweetShake), tweeted);

// We tweeted!
function tweeted(data) {
  // Debugging what happened

  // What came back?
  // Just show that in the window
  var p;
  if (data.message) {
    p = createP('Error! ' + data.message);
  } else if (data.text) {
    p = createP('Success I tweeted: ' + data.text);
  } else {
    p = createP('Unknown error! ');

Now I need be focusing more on the actual sayings of Shakespearbot, and getting all the plays with scripts in the data file. And hopefully we can create beautiful visuals as well as beautiful dialogues (with a bit of patience and imagination)

Deny you than his last; but I had his nook, which the kindness Squash, brought to high-top and low.

Look, and a rope the enters and that is not in eight, my time a seal unlocks,

And so tremble: my death, remaineth thrift, she sleeps, my dead fails, not scorn measured at my art as the Athens was.

Sings. A prites, Calibans.

Silence wood. To youth. I shown: You know aboard.

TTE #000008 – Carnisseur™ Aftermath, its emergence & its lessons.

This is a writing on the aftermath of Carnisseur™, a fictional food corporation placed not so far into the future, its emergence and its lessons. The whole project is based on the premise that food future will be inevitably exploited by capitalistic tools. We had the simplistic hypothesis that there will be an entity that makes money off of any future food. Also underlying is the concept that for a future food to be successful as mainstream it needs to be commercialized. We chose that future food to be In Vitro Meat; we created a corporation that figured its way to speed the “brewing” of In Vitro Meat. Which is used in a meat printer that uses cell cartridges called cultures to print all kinds of meat out in households. Just like any coffee maker with its pods.

The beginning of In Vitro Meat Commercialization. The corporation history starts in 2033 with the filing of the in vitro meat growth accelerator patent. With the patent in hand the Carnisseur™ Corporation is founded to start selling their products world wide and help humanity eat meat with less resources.

Temporary Expert

Revolutionizing meat one cut at a time. These meat printers become a popular kitchenware over the course of 5 years, and as always we see the creation of DIY Hacker communities around the meat printers. Carnisseur™ is now faced with Hacker communities that can create various other meat as well as indefinite amount of meat, as well as several sickness from eating from DIY in vitro meat. Our stance is to stop this unsafe practice around the world as well as keeping communities that are hurting the Carnisseur™ economic ecosystem by patenting a DRM (Digital Rights Management) for our product.

Abstract. A method for ensuring the delivery of high quality cultured meat without worries of hazardous cell mutations from unlicensed third party in-vitro meat cultures by means of digital rights management for licensed in-vitro meat providers. In particular, described herein are methods to prevent the risk of third party cultures from contaminating or accessing the composition of the in-vitro meat culture; of exceeding safe growth limits; of accelerating the growth of cultures that have not been licensed and verified as safe. The invention restricts access to accelerated in-vitro meat growth by unlicensed/third-party cultures, and limits meat growth-per-culture to within acceptable amounts.

inVitroPatent_wed_Page_1 inVitroPatent_wed_Page_2 inVitroPatent_wed_Page_3carnisseur_0-01carnisseur_1-01carnisseur_2-01carnisseur_3-01reference

This is the basic context for the patent drawings. If you do read from the imaginary patents there is the whole historical background and reasons for creating the new DRM system. To us this corporation was real, it seemed plausible to the extent of making us discuss viable future for the decisions we were making for the technologies of the DRM system of the in vitro meat making. We argued about the cartridges using existing connectors; the consequences of hacking the cartridges; of what people might be doing to exploit the ecosystem made by Carnisseur™; of dark usage of these printers: of human shaped in vitro meats or human organs; of medical hackers to black market human organs; the new kind of health threats created through accelerated cell growth; of market campaigns to make the Carnisseur™ printer more friendlier; of thinking of family packs, restaurant packs; making personas; thinking of bias news and etc.

Persona and daily usage of happy users: 2 Persona

Jane, Business/ Woman with a child (33) – new york, healthy, loves meat taste, business woman, no pets, outgoing, loves to invite friends over, loves her son (10).
Dave, Designer/ Man (23) – Brooklyn, likes to experiment, loves to eat, wanna-be chef.

Daily Routine Jane

Jane wakes up everyday at 5:30AM, gets coffee & toasts ready, eat, read the news, takes a shower, and spends 10 minutes in thinking about what to eat for dinner. She gets ready for work by 8:30. Takes her son to the school and she herself spends the day at her firm working, chit-chat and is done with work by 5:00PM. Before she goes home she visits the local grocery and buys culture she decided to eat in the morning.

She sets the culture on to the carnimaker, she sets the carniforms as fun-o-ghetti for the original italian meatball culture she bought half an hour ago. Today she is preparing meatball spaghetti for her son’s A+ presentation at school yesterday. She undresses and start preparing for dinner for her son and herself. She sets out her tablet with the recipe, takes out vegetables from the refrigerator. She cuts them to prepare for cooking, she can see the carnimaker making fun shaped meatballs with the new fun-o-ghetti carniforms she bought. In about 12 minutes the meatballs are ready to be plunged into the marinated sauce.

Her son is back from soccer practice. She encourages him to get ready for dinner. They talk, have fun with the carniforms, finds one shaped as a soccer player and laughs.

Daily Routine Dave

Dave the designer is a freelancer based in brooklyn, his days and nights are not consistent. He’s been saving money for the premium carnifier and got the package just today. As he unboxes the package he is greeted with a fine looking machinery. Customized for his taste as a designer. It vaguely reminds him of his old 3-in-all printer. He wonders what to do with the printer sized box for a bit, but decides to think about it later.

He takes out the instructions, as beautiful as any Ikea instruction pamphlet. He scans it as he’s eager to taste/experience his first carni9 tonight, as many discussion forum has posted about. He also finds a bit of recipe section on the back of the instruction pamphlet, but he already has downloaded and hold enough recipe data found in the net.

He searches the box for the included carniforms, classic steak carniform & custom strips carniform. Today he wants to try the Kobe Beef Recipe from a japanese user in the forum. All he needs to get are the premium Kobe Beef culture from the mart. The custom strips carniform will come in handy tonight. 

News: 1 Persona.

Kirt, Family/ Husband,Father of two (53) – New jersey, likes to take family outside for picnics, believes in good meat, brought up by eating steak from actual living cows. Has a son (15) and daughter (19)

Almost Dead Family of CarniDIYs

Last week in the Hopsital of Yorkshire, 3 patients contaminated by Carnisseur Corp. culture poison were taken to the ER. They are recuperating slowly, the father of the family seems distraught for not taking precautionary actions before the DIY CarniCulture.

Carnisseur Corp. refuses to comment on the incident. Patients contaminated by the Carnisseur Corp. culture poison has drastically risen the last 6 months after the emergence of CarniMake sales on craiglist. The public of CarniDIY are petitioning to  rid of the poison and fighting for the utility rights on food. The governor of _state_ have spoken of the unfair treatment of citizens through the divide created by food technologies.


It’s friday night and we need a good meal. We’ve been craving for the best juicy steak for years now. We recently bought the carnissoire’s new family meat maker. It had the cuts we wanted nice old steak cuts. It takes my favorite meat the traditional new york steak culture, my wife has what she wants the lean lamb culture. Good thing these meat makers have carniformz for children. They don’t see food as we once use to it should always be fancy and pretty looking. My son loves the frog carniform and my 9 year-old daughter prefers the geometric star carniforms. Hopefully, the forms help them with their math subject.

I bought a pack of dozen philly cheese steak. Been eating for weeks and its been great. It’s so simple to take the culture put it in the machine and meatmake. The dishes out of this is amazing I’m considering to buy the Philadelphia minced carniform just to feel like I’m in Philadelphia.

Master Wu like his steak in premium condition, the cooks carefully place premium rib eye culture in the carnimaker set the timer for 23 minutes to cook the meat while it is in its non oxidize state, a bit of pink and fine cherry red.  the marble aways consistet. Never really have to worry about buying the perfect marble rib eye steak. It’s perfect all the time.

Above are a few rough writing done for creating a world with Carnisseur™. Its amazing to think that these thoughts stems from these uncertain graphs and diagrams we made before deciding on our final idea.

IMG_6380 IMG_6377 IMG_6381 IMG_6382graphx03graphx2The ideas emerged slowly from our initial questions of what modified organic food really meant for our times. Then we started to think about dividing the territory with: what if we wanted to sell food products and is possible and cheap? We were slowly seeing how food corporations were controlling production and sales with industrial strategies of cheap and fast distribution. And that healthy produce seemed expensive to maintain and to practice. At this point we tried to get interviews, and get real perspectives on the aspects of the business side of food production, but was a hard task. So we emerged to look into our instincts for trying to create/imagine a future they practices the same thing industrial food production corporations are doing today.

diypoisonThinking of food in terms of marketing products and digital rights emerged from our talks. We even thought of knife sets that people needed to buy in order to cut certain meat molecular structures, or even contaminating the cells when used in illegal ways. Here we were originally thinking more of catalogs of meat printer products and its utility license packs like a digitalocean server monthly payment. However, the feedback we got from our peers pointed us to a direction where patents seem legal and felt more real for people to understand and critically think about foods not being ours to keep.

Simple graphs, non-directional discussions, interviews without results, ludicrous ideas, and feedback all added to the emergence of Carnisseur™. And the patents helped look at holes and made the far-fetched ideas seem legal/practicable in a near future in an area where we are slowly losing our grasps on.



BNB #000004 – Death of Emotions, the News we Love.

Death of Emotions, the News we Love

Recently, in the internet we have been lost in the articles of the Ebola crisis, via text, images, sound, and video. We have been reading about the tragic news in West Africa; about the sudden spread of it into America and in Spain; and through interactive data visualizers. However, as long as we stay in our homes being able to watch news in our home sweet comfy sofas, we are not dealing with their reality, it is theirs to keep. We in our homes, news are as virtual as any interactive video game and farfetched from our daily lives as any YouTube channel.

The media is hurting us and it is pretty bad. Amusing Ourselves To Death, touches upon it more than three decades ago and the Brave New World written more than eight decades ago. Not by fault of technology or even the news media, but our own instincts added with technology makes us less human. We are lost in a vast ocean of information within the medium of the internet. When instagram users hear the news of Ebola it is a means of publicity: a new hashtag for instant fame; a theme for jokes; a subject for showing off cleverness and the occasional memoire of grief. When twitter users hear the news of Ebola, it is a means to criticize the government.

The issue of media is that it detaches us from the reality of the message. It detaches the receivers of the message from their emotions; there is a buffer created between the receiver and the sender by exact means of the technological advantage of the medium: greater the technology, the greater the buffer. Technology delays our natural feedback of attaching our emotions to the message.

McLuhan says the medium is the message and rightfully so. The medium today is capable of creating vast messages and humans can’t keep up without sacrificing: emotions for knowledge. For journalism the medium is the buffer. A buffer from experiencing reality as it exists. We see lesser versions of reality and are covering our eyes from guilt. As time flows our guilt loses itself in the buffer, we are being controlled only by what the media sees as honorable to let our human feelings to interact with the message. Then how can we get rid of the buffer and perhaps feel a little more guilt, and why should we? We cannot simply stop using internet to get our news. Media has trained many us to react with limited emotions. Many times media even simulates our efforts to be fulfilled by only feeling these limited emotions. And hides our true nature to find out how devastating a message really is. So how about we stop reading news after news in Facebook non-stop just to fill in our void? And only read a couple at a time? Maybe even just one, and stop and think about it, just for a day. We can’t simply let our emotional sides disappear without a fight, we stop becoming humane when death are just numbers and incidents are subjects for small talks, where is our human form of communication?

The media does help better equip the public to gain more access to information all around the world. But to the public it is a mere third party window to a play between the media message and its recipients. But the public think that they themselves are never the recipients, I think we should start critically reading one news article at a time, feel a bit more guilt and be moved to care, that’ll get us off from our couches.

Karam Byun
Former Professor of Multimedia Department, Huree University, Mongolia



PAZ #000005 – Imagine the word! Its depth and its girth.

Shakespeare# A twitter bot that spits, spews, spurns, speaketh Shakespeare, collecting all scripts from his plays. Make twi-bot learn the language, set a server and let it exist until the end of web 2.0 Marvelous absolutely marvelous. Perhaps it should be done in such a way the bot uses the single word occurrences only in the speech.

# A physical manifestation of dialogues, is it such nonsense that a mere human would speaketh to its objects? I fear that humankind has lost faith in expressing its lack of senses. I dare say, the blocks of light indeed holds captive the attention of the public. What say you?

# Blasphemy could have been a name. Butt whyy nott? Common sense, I sense. What is to feel common sense how do one visually see it? How can you teach common sense to a character in a painting? How will Puck learneth from Shakespeare of commoner’s itching feeling?

# Newspreadlikevirus whoseesthemanifestation whocaresfortherealization whatarethementionsthatmeanmore whatisnoturgenthanmyownwellness whyshouldtheywantocreate differencequalitysoundsabouthesamehere shakespearedontputupwiththishewroteformoney yeoldegoodandevilfighthatseemstolingeronforeternityisayou

TTE #000007 – Update for Foods

So Jason, John and I have been put into a group for a critiquing project or that’s the direction we’re going towards. I’ll be updating with photos, graphs, article sites and intriguing talks. (Mostly biased since I’m writing it)

We started with discussions of our foods and tackling brainstorming: we all seem to be interested in future foods: life cycle of it, its energy chain, its dietary significations, its affect globally and locally and patents. Then we started graphing and leaning more into food is dealt with today, finding grey areas.

IMG_6380 IMG_6377Initial graphing, helped us realize we had a long ways to go, and we made a few more graphs.

IMG_6381 IMG_6382We weren’t sure of the graphs, but with Jason’s In Vitro Meat Cook Book and talks of DRM of music with future foods was an interesting area to explore. We started to look into patenting of foods and started speculating on how corporations would use future foods for revenue, since the only way for things to pick up is by someone making money off of it. We started to think like marketers trying to sell In Vitro Meat and ways to block people from just stealing our product.

Patenting Cuts, Recipes, and production exist so why not for In Vitro Meat and other In Vitrolly produced foods? Having licensed knife sets that only cut these meat or a drm type safety in the food producing.

graphx2 graphx03

And then it became serious, with creating names for the corporations, making a catalog for our products. Trying to food poison DIY Food Producers, Nano Scale Meat Lock, Campaigning for a greater future with out products.



You can definitely see the direction we are heading, with DRM, Bio Printers, Cartridges, and Knives. Time to think of delicious names for the meat cartridges.


PAZ #000004 – Markov & Shakespeare and the ‘Master of a Death.’

To raised in them.
Farewell, brother venture for you to dine with better could, what a torment I did fly;
Master of a death.
As thick as Acheron

And wilt or no.
And kill me misbeliever, cut-throat, you answered,
I can gleek upon my bear him? You mar our of my preserve
Now she hath, squandered that were good to bear my folly

BOTTOM with this master.
To credit his salt green stream,
Some that wert thou drivest means are,
For thou didst not know, Pyramus presently extirpate me,

I’m trying to remember why I have a sudden attachment to Shakespeare’s plays. It’s not the first time at this school where I try to use the source. It could be a obvious choice for word code playing, but I feel I have deeper connection than just ‘oh let me just use Shakespeare‘.

Anyhoo, the above quote(?) is from the markov generator with Shakespeare’s plays: ACT I Merchant of Venice, ACT I The Tempest, ACT III A Midsummer Night’s Dream. There are other great dialogues that are being generated, it is so much fun. I did try to find ‘Master of a death’ and couldn’t so it’s all the code’s doing. So Yeah, that’s it. Just play around with it people! As always code of the main js and below is the link the generator.

// Karam Byun
// From Daniel Shiffman's
// Programming from A to Z, Fall 2014

var lines;
// The Markov Generator object
var generator;
var paragraph =[]

// Preload the seed data of the acts
function preload() {
  lines = loadStrings('data/dialogue.txt');

function setup() {
  // The Markov Generator
  // First argument is N-gram length, second argument is max length of generated text
  generator = new MarkovGenerator(6, 50);
  // Feed all the lines from the text file into the generator
  for (var i = 0; i < lines.length; i++) {
  // Set up a button
  var button = getElement('button');

function generate() {
  // Display the generated text
  var output
  var text

  // Get 10 lines
  for (var i = 0; i < 10; i++) {
    output = getElement('namep');
    text = generator.generate();

  // Each line gets a new html p tag
  for (var i = 0; i < paragraph.length; i++) {

  // Clear paragraph for new lines
  paragraph = []


Markov Shakespeare Dialogue Generator

BNB #000003 – Ebola Spread – Rough Thought

Looking at many internet sources and trying to think about the reasons for the wide spread of Ebola. I am slowly focusing on the fact that there are a lot of factors to the recent outspread.


Although still cleaning out the ideas I have, I will try to write a few points for my own clarification: 1. There is obviously the hygiene issues that is helping to the spread of Ebola, but this is tied not only with death of people, but with the available spaces in hospitals as well as the number of trained people to take in patients as well as taking away bodies from Ebola deaths. Not only is there infrastructural issues, but also the emotions of families and their willingness to give proper burials to their family members which increases the spread. 2. There is heavy mistrust of the government from the citizens that decreases communication and awareness of the disease. This in turn is increasing the spread of Ebola. Mistrust have allowed for people especially in Liberia to not listen to the government about stopping Bushmeat Market, that may have a part in the spread of Ebola.

The technology that I am thinking about is not only about creating more spaces in the hospital, but also an artifact that builds relationship between the government and its people. This indeed seems important in carrying out actions to stop the spread of Ebola. Most technologies people are using now like HealthMap and track contact strategies are focused on the aftermath of an Ebola case. Maintaining trust between the government and the citizens seems to be also a good strategy to stop the spread of the Ebola as the people of a country are the ones that can take real and fast action. Most trained personnel in the hospital seems to be really concerned about their people and the reason that there is lag of the Ebola spread and it seems to be the case that they are letting the government do their part as they are more concerned in focusing in doing their part and not being skeptical of the government. The government is the center of the whole system that can easily communicate with everyone and have authority but when this power fades, it must be carried out by several different groups (usually hospitals or other) with different awareness to keep the citizens in check while taking care of hygiene and appropriate measures to treat Ebola.

PAZ #000003 – Concordance of Words between a dozen to forty wintry appearances from Hamlet

I’m set with just playing with texts that has anything to do with Shakespeare for now, that is why I’ve used Hamlet for our text analysis. I was curious about the words that Shakespeare used in the mid-range, not to common and not to eccentric. What were the words Shakespeare used commonly through out his stories? Could be a topic that I might involve myself for the rest of the half semester. Not only him but for any writer.  iamgesgraph

This coding below is more of a tool that helps me prototype an understanding of the words Shakespeare uses. The width of the canvas is the length of the book from beginning to end. The location of the ellipses are the initial appearance of the word itself and the size is as most of you have guessed correlates to the number of times the word has appeared throughout the story. Most of his single to twenty appearance words newly appear all through out the book, while the words he uses the most he shows them off right at the beginning ( like the, as, and those type of words/pronouns). Now the middle range words which he has repeated 20-200 times within Hamlet appears mostly in the first half of the book with a few exceptions, which I’m speculating as either names of characters or location.

//Karam Byun
//Drag load doesn't work

var lines;
var txt;

var dict = {}; //dictionary of all words
var bict = {}; //dictinoary of interesting words
var keys = []; //array of all words in order
var interest = []; //array of interesting words in order
var one =[]; //array oneshot words in order

var mult = 1;

function preload(data){
	lines = loadStrings('data/full_hamlet.txt');

function setup(){
	createCanvas(1960, 400);

	txt = lines.join(' ');
	//lines = loadStrings('data/test.txt');

	var tokens = txt.split(/\W+/);
	for(var i = 0; i < tokens.length; i++){
		var token = tokens[i]
		token = token.toLowerCase();
		if(dict[token] === undefined){
			dict[token] = 1;
		} else{

function draw(){
	for (var i = 0; i < keys.length; i++) {
		var size = dict[keys[i]];

		if(size > 200){
		} else if(size > 20 && size <200){
		} else{

function mouseDragged() {

	mult = mouseX/width;
		mult =1;

It has been interesting and worthwhile, however I think I need another model of study to get more information out of word data to actually see what are the words Shakespeare likes to usually use in his books.