Thursday, January 28, 2016

Poetry for Better Code

(Note on format: originally was going to do full movie using screenshots until halfway through when I realized how tedious it was. Product: about 13 seconds of Coltrane and a reference to Kanye vs. Khalifa - at least one of those two will be relevant in the future so I don't feel too bad about it.)



~
Poetry, by itself, will not help you to write high quality code.
<it takes devotion! discipline!> </>
You can look at the work of Sylvia Plath or Lucille Clifton or James Wright but their work is not the same as creating php that runs donations to the local domestic violence shelter or presidential candidate or shady Etsy apothecary.

body   (
color: "something emotional";
)
<p style: red>

The same things are there! They exist! Line breaks! <b> </b>
The feeling in the grocery store of wanting to have everything and nothing at once: you'll have to explain what you mean when you say <a href:_> and talk in foreign tongues.
The feeling when you're asked on your second eHarmony date if this career is just ephemeral or nah?
Changes: in tone, in maturity, in deftness.

<style style="text/css">
.marquee {
 height: 50px;  overflow: hidden;
 position: relative;
 background: yellow;
 color: orange;
 border: 1px solid orange;
}
.marquee p {
 position: absolute;
 width: 100%;
 height: 100%;
 margin: 0;
 line-height: 50px;
 text-align: center;
 /* Starting position */
 -moz-transform:translateX(100%);
 -webkit-transform:translateX(100%);  transform:translateX(100%);
 /* Apply animation to this element */  -moz-animation: scroll-left 5s linear infinite;
 -webkit-animation: scroll-left 5s linear infinite;
 animation: scroll-left 5s linear infinite;
}
/* Move it (define the animation) */
@-moz-keyframes scroll-left {
 0%   { -moz-transform: translateX(100%); }
 100% { -moz-transform: translateX(-100%); }
}
@-webkit-keyframes scroll-left {
 0%   { -webkit-transform: translateX(100%); }
 100% { -webkit-transform: translateX(-100%); }
}
@keyframes scroll-left {
 0%   {
 -moz-transform: translateX(100%); /* Browser bug fix */
 -webkit-transform: translateX(100%); /* Browser bug fix */
 transform: translateX(100%);  }
[secret code: everything will be beautiful, nothing will hurt.] 
 100% {
 -moz-transform: translateX(-100%); /* Browser bug fix */
 -webkit-transform: translateX(-100%); /* Browser bug fix */
 transform: translateX(-100%);
 }
}
</style>
<div class="marquee">
<p>postmodernism... </p>
</div>
Things do and don't fit into boxes, given.
Poems unlock and also lock (most make a metal-on-metal sound click;
warning, I suppose, not to beat them with hoses).
Just do what feels right.

-Jessica

Tuesday, January 19, 2016

Solution to Problem 1


My poetry problem was "I can't fit this poem into this box. What do I do?". My approach was to interpret poems as sentient creatures, like a pet or a friend with unique and specific needs. I thought that this problem could be perceived a lot like how a cat or dog wont go into its pet carrier. Jessica and I made a video a lot like online tutorials for cats and dogs that addresses and potentially solves some issues you may encounter when trying to get your poem into it's box.

https://www.youtube.com/watch?v=MqMr0dcmvuE&feature=youtu.be

A couple of comments:

I chose The Words the Happy Say by Emily Dickinson to represent my fuzzy abstract manifestation of a poem (or vice versa) because of its generally positive, but short and simple nature, which is sort of like the small simple puff ball of a poem we were using.

You may notice that the box the poem chooses is a Lime Crime box. I do not support Lime Crime. I'm not trying to advertise. I bought one of their lipsticks one time and it was terrible. Then I found out about how shady the company is. It is very shady. The box was just on hand and pretty so I used it.