The most fun Iāve had this summer. :) #Repost @itpcamp with @get_repost ć»ć»ć» Much love for Camp 2018!! We had such a wonderful month of making, collaborating, learning, and celebrating. Thanks to all who participated and helped to create this experience š #itpcamp2018 #itpnyu #summercamp (at ITP - NYU)
Anya is live and ready to show you everything. Watch her strip, dance, and perform exclusive shows just for you. Interact in real-time and make your fantasies come true.
ā Live Streamingā Interactive Chatā Private Showsā HD Qualityā Free Actions
Free to watch ⢠No registration required ⢠HD streaming
A chime powered by the sun
By Jenny Lim and Yeseul Song
Itās like a wind chime, except instead of wind, it uses a solar panel to convert solar energy to kinetic energy. Here it is spinning strongly in the outdoors:
This is the circuit we used:
We ended up using a 1000Ā uF capacitor as our signal capacitor, but we experimented with other sizes. The gif below shows how the motor behaves with a 470Ā uF signal capacitor in sunlight. As you can see, it discharges more frequently.
Hereās the same setup as above except with a 1000Ā uF capacitor, which we finally used.
Many thanks to Jeff Feddersen for guiding us through the exciting world of beam circuits!
Kinetic #1: Why buy a working shakelight for $10 when I can make my own broken one for $15?Ā
Iām very interested in induction, and I had some clear acrylic tubes left over from first semester, so I thought Iād make my own shakelight. The magnets slide back and forth inside the tube, and induce an electric current in the wire wrapped around the tube.
I started by heating one end of the tube closed, like so:
I then slide in these magnets, sealed the middle of the tube again with heat, and wrapped this wire around the tube. In the below picture, Iāve just started wrapping the wire around the tube.Ā
After finishing with the wrapping, I soldered the ends of the wire to two LEDs in parallel. The LEDs had inverse polarities so that as the magnets slid in one direction, one would light up; as the magnets slide the other way, the other would light up.Ā
The tragic thing is, it worked. And like a fool, I decided to quickly make it prettier before documenting. Now it no longer works.
I will add a picture of my broken shakelight shortly. Iāll bring it into class as well. Sadly, I must redo this assignment, so youāll be seeing a Kinetic: #2 post soon.
I started by comparing my two go-to browsers: Opera and Safari. (No, I donāt know why I donāt use Chrome either.) Upon opening Opera, I see traffic like this:
That looks about right. I have a few tabs (email, calendar) that open automatically, and I imagine each one requires several packets to get going.
When I open Safari, which opens only one blank window automatically, I see traffic like this:
Unlike in Opera, thereās a preponderance of HTTP traffic from the Safari browser. 23 minutes of mindless browsing in Safari yielded a total of 5919 packets. Of these, 458 (7.7%) were HTTPS and 2795 (47.2%) outbound.
I noticed that most of the activity occurred during the 30 seconds I spent on nydailynews.com: 5409 packets were sent/received. I decided that the ultimate browser test would be to see how Opera and Safari handle the same junk website.
The 13 minutes and 50 seconds I spent browsing dailymail.co.uk on Opera yielded 355 packets. This was an average rate of 0.43 packets/second. Of these, 347 (97.7%) were HTTPS and 351 (98.9%) were outbound.
I lasted 2 minutes and 44 seconds on dailymail.co.uk on Safari. By the time I quit, 5814 packets had been sent/received. This was an average rate of 35.34 packets/second. Of these, 267 (4.6%) were HTTPS and 2972 (51.1%) were outbound.
My perceived experience of the site was exactly the same through both browsers. The downside of Operaās tight-lipped approach to packets is that I donāt know what was going on in those packets. Almost all the Opera traffic was rerouted through default0.opera-proxy.net . With the Safari traffic, I could see what the sites were: advertisers.
Some sources of my behind-the-scenes Safari traffic.
At first, I was relieved that the extra traffic was marketers. Thatās a relationship I understand: retailers try to sell me things; I choose whether to buy them or not. Frankly, I hoped it was all just folks trying to make a quick buck.
My hopes were shattered when I watched Brannon Dorseyās 10/21 āBrowser as Botnetā talk at the Radical Networks conference. He discussed the danger of websites that use clientsā computers to complete hashing tasks. When we joined the radicalnetworks.org site for the duration of his talk, he was able to discover our computersā IP addresses and use our computers to execute his code. Suddenly, it made sense why my computer got so hot while browsing dailymail, especially via Safari. I was doing work for them! Or at least...I was doing work for someone.
On one hand, I was browsing the dailymail site for free. Iāve seen way more pictures of semi-clothed semi-celebrities than I would ever pay for. And there was a time when people had to pay for magazines with that kind of content.
On the other hand, I wasnāt consenting to this exchange. If they were upfront about what they were up to ā or if my browser did a better job of telling me what it was up to ā I would have chosen differently.*
The thing that frightens me about all this internet data ā how facebook knows what I type into my status bar even when I decide not to post, &c. ā is that my already tenuous control of my āfree willā (to the degree that such a thing can be said to exist) gets weaker with every little transaction that Iām not aware of.
Itās not just that companies know what I want to buy ā this could be considered a great convenience! ā itās that companies have more power than ever to shape my desires in the first place. Strangers now have access to something very powerful over which I have little control: my computer and all the behavioral data it contains. My computer knows my habits better than I do.
*Mr. Dorsey suggested leaving our CPU and RAM usage visible at all times. Iām into it.
Anya is live and ready to show you everything. Watch her strip, dance, and perform exclusive shows just for you. Interact in real-time and make your fantasies come true.
ā Live Streamingā Interactive Chatā Private Showsā HD Qualityā Free Actions
Free to watch ⢠No registration required ⢠HD streaming
Alt Docs Assignment 2:Ā Use one of the methods demonstrated in class (photogrammetry or depth sensor) to capture an object or subject.
To scan my stuffed animal, I set up four LED lights around a platform in the microstudio. I placed some stickers down on the platform to give PhotoScan external reference points.
I was afraid that this lighting would create too many shadows, but between the diffusion and the cross-ways lighting, it actually worked a charm. PhotoScan took a long time processing the 99 photos I gave it to work with. Next time, I may not take quite so many.
When we met to discuss the Yale Face Database, Sean recalled a meeting he had with a physiognomist: someone who judges character or predicts the future based on a personās facial characteristics. Jenny didnāt even know such a field existed.
At this point, we had been planning on exploring the connection between the face database and emotion charts that are used to teach children with autism how to interpret facial expressions (see below). Weād been struck by how similar the expressions of emotions were across the participants, and we wondered how applicable the set was to real life. Some of the expressions seem more like caricatures than real expressions of emotion. Did the experimenters give these non-actors actual prompts, such as the idea of a loved one dying, or did they simply yell out, āSad!ā?
An emotion chart of the sort used to teach children with autism.
But when Sean shared his story of meeting the physiognomist, Jenny immediately changed tack. Jenny has an affinity for first-person documentaries Ć la AgnĆØs Varda and Ross McElwee. Sean has an affinity for the spiritual: since June, he has been a Dalai Lama fellow. Given two performers (Sean and Jenny) and a live audience, it seemed appropriate to aim for an interactive theater experience.
These are the elements of our anticipated performance:
1+ magnifying glass(es).
1 overhead lamp and 1 chair beneath it.
A slideshow showing the ānormalā or āneutralā photos from the Yale Face Database.
Sean and Jenny in the front of the room. The background will be constructed to resemble the office of a physiognomist.
The performance will start with Jenny asking Sean to recall the meeting he had with a physiognomist. The audience will be seated close to the performers. After introducing the story, Sean and Jenny will begin employing props: a magnifying glass like the one the physiognomist used when examining faces; the chair under the lamp like the one that illuminated Sean during his meeting. At the end, the audience will be able to examine/analyze Sean with these tools in the same way that Physiognomists do with their clients.
At a point that feels natural, we will invite the viewers to pick up magnifying glasses or sit under the light. This will give them the opportunity to inspect faces or to be inspected. We hope that people will take this opportunity, as it is rare thing to examine a face close-up.
We also hope that audience members will ask questions of Sean and his experience. If they do not, Jenny will continue the interview. Meanwhile, the slideshow of faces will continue in the background, providing more faces to inspect. The performance will continue for ten minutes or until it reaches a natural endpoint.
In the hand the shillings come and go
master of Michelangelo.
By Roz Chast. Published in the April 24, 1995 issue of The New Yorker.
I. Adventures with Iambs
When I started my final project, I wanted to write a program that uses the pronouncing library and spacy to output something rhythmically similar to T.S. Eliotās Preludes.
I got as far as this poem, generated using the first few paragraphs of the Fagles translation of the Aeneid:
the battle battle too
of fear of fates in .
one ā¦
a held on gods if many Gods ā
and so the many goodness walls
the Latin blows
of driven beyond her gods
and that willing lords
a settlers say
of famous gods and armor walls ,
and of the city if a source
a Latin race Queen shores and walls .
and Here the power of a blows ā
View the code here.
This sort of captures the āvibeā of the Aeneid, and perhaps a few more paragraphs or key passages of source text would have filled out the experience. But I didnāt feel like this poem was all that interesting unless you already knew the Aeneid. Also, the more I said āiambic tetrameterā out loud, the more I wondered, āIs this even going to be comprehensible?ā
II. Languages I Cannot Speak
A lot of my enjoyment of poetry lies in literary devices and layers of meaning. But is it only my humanities background that enables me to appreciate these layers of meaning? And if so, does that mean I enjoy poetry because it makes me feel āsmartā?
One of the strengths of computer poetry is that the computer can spit out words I donāt understand with just as much confidence as it spits out English. My thoughts about hidden meaning and educational privilege led me to these two texts, both in languages with which Iām loosely familiar: Korean and Latin.
1. Korean: the Hunminjeongeum (ķ민ģ ģ). In the fifteenth century AD, King Sejong released a new phonetic alphabet to replace the Chinese characters with which Koreans traditionally wrote. Hereās an excerpt:
āThe language of the people is different from that of the nation of China and thus cannot be expressed by the written language of Chinese people. Because of this reason, the cries of illiterate peasants are not properly understood by the powerful. I am saddened by the situation.ā
2. Latin: the Sacrosanctum Concilium. In 1963, Pope Paul VI introduced a new set of standards for the Catholic liturgy aimed at increasing lay participation. Among other reforms, it permitted the use of native languages in masses, which had previously been conducted purely in Latin. Hereās an excerpt:
āEven in the liturgy, the Church has no wish to impose a rigid uniformity in matters which do not implicate the faith or the good of the whole community; rather does she respect and foster the genius and talents of the various races and peoples.ā
I thought it would be interesting to generate a poem whose intricacies (at the very least, in Korean and Latin) would be lost on me, but perhaps more immediately visible to students fluent in Korean and/or of Catholic upbringing.
Here is an output:
Sacrosanctum Concilium, the Constitution on the Sacred Liturgy, is one of the constitutions of the Second Vatican Council.
It was approved by the assembled bishops by a vote of 2,147 to 4 and promulgated by Pope Paul VI on December 4, 1963.
ķøģģ¼ ķź³ ģ ķ ė°ė¦ģ“ėė¼
Sacrosanctum Concilium, the Constitution on the Sacred Liturgy, is one of the constitutions of the Second Vatican Council.
Therefore, twenty eight characters have been newly created, such that each person may become familiar and use them daily in an intuitive way.
It was created so that the common people illiterate in hanja could accurately and easily read and write the Korean language.
dummodo cum rationibus veri et authentici spiritus liturgici congruat.
The language of the people is different from that of the nation of China and thus cannot be expressed by the written language of Chinese people.
In Masses which are celebrated with the people, a suitable place may be allotted to their mother tongue.
Sacrosanctum Concilium, the Constitution on the Sacred Liturgy, is one of the constitutions of the Second Vatican Council.
Because of this reason, the cries of illiterate peasants are not properly understood by the powerful.
View the code here.
This stuff is (maybe a little) interesting, but is there any added value to be gained by mashing them up? And to those who are not familiar with either text, is this just a sea of confusion? As Allison pointed out, even if you canāt name iambic tetrameter, at least you can hear it.
III. The Love Song of Professor Adam Smith
I really love The Love Song of J.Alfred Prufrock. And I really love Adam Smith. After my brief fling with other languages, I decided to return to the rhythms I know so well.
Will this poem be interesting to people who are not familiar with Prufrock? Or to people who are not familiar with Adam Smith? Is this just more snobbery? Perhaps the reading on Friday will answer these questions. At the very least, this amuses me, and perhaps thatās all I can ask for.
The code uses the spacy and pronouncing libraries to pull certain kinds of words (Mad Libs-style) from Prufrock, then populates the empty spaces with words fromĀ An Inquiry into the Nature and Causes of the Wealth of Nations.
Let us go then, you and I,
When the ruin is spread out against the sum
Like a master etherized upon a feeding;
Let us go, through barren few - divided states,
The capital retreats
Of private goods in one - book high effects
And cargo companies with body - means:
tools that follow like a natural treasury
Of immediate increase
To lead you to an manufactured moment ā¦
Oh, do not ask, āWhat is it?ā
Let us go and make our profit.
In the hand the shillings come and go
master of Michelangelo.
The present stock that rubs its trade upon the labour - mines,
The able case that rubs its profit on the market - towns
Licked its court into the merchants of the union,
taken upon the goods that stand in men,
Let fall upon its state the trade that falls from horrors,
struck by the profit, made a other book,
And seeing that it was a great October price,
made once about the price, and fell secure.
And indeed there will be war
For the eastern rent that slides along the ground,
paying its debt upon the master funds;
There will be sale, there will be sum
To prepare a tax to meet the people that you meet;
There will be state to surplus and create,
And trust for all the towns and banks of sticks
That course and drop a silver on your state;
wealth for you and rate for me,
And gold yet for a hundred indecisions,
And for a hundred countries and deductions,
Before the duty of a king and crown.
In the month the taxes come and go
silver of Michelangelo.
And indeed there will be rent
To wonder, āDo I dare?ā and, āDo I dare?ā
time to turn back and descend the ease,
With a trade bank in the country of my hairā
(They will say: āHow his tax is paying such!ā)
My justice bulk, my money tasting firmly to the cent,
My landlord rude and upper, but committed by a farther pinā
(They will say: āBut how his things and towns are rich!ā)
Do I dare
Disturb the interest?
In a manner there is gold
For misfortunes and productions which a metal will reverse.
For I have been them all already, paid them all:
Have formed the profits, duties, absentees,
I have given out my Half with trading laws;
I know the nations raising with a dyeing course
Beneath the burden from a farther man.
Ā Ā So how should I presume?
And I have gained the funds already, paid them allā
The days that fix you in a regulated state,
And when I am regulated, shilling on a food,
When I am been and wriggling on the gold,
Then how should I begin
To spit out all the day - times of my ships and bounds?
Ā Ā And how should I presume?
And I have paid the years already, bought them allā
pounds that are braceleted and young and whole
(But in the lamplight, found with same same home!)
Is it success from a stock
That makes me so digress?
goods that lie along a copper, or bank about a price.
Ā Ā And should I then presume?
Ā Ā And how should I begin?
Shall I say, I have been at lord through other shops
And watched the trade that rises from the ports
Of equal mines in tax - means, leaning out of morals?ā¦
I should have been a price of useful forms
entering across the clothes of thoughtless means.
And the guarantee, the market, sleeps so peacefully!
made by great countries,
Asleep ⦠cruel ⦠or it malingers,
clogged on the weight, here beside you and me.
Should I, after rent and slaves and ages,
Have the time to force the money to its nature?
But though I have taxed and written, wept and prayed,
Though I have paid my rent (been slightly first) brought in upon a market,
I am no payment ā and hereās no small profit;
I have been the essence of my profit labour,
And I have paid the sufficient Footman hold my king, and snicker,
And in great, I was defaced.
And would it have sent worth it, after all,
After the sums, the interest, the wealth,
Among the quantity, among some land of you and me,
Would it have been rich crown,
To have destined off the person with a trade,
To have brought the company into a ship
To roll it toward some advantageous trifle,
To say: āI am Lazarus, come from the rich,
Come back to tell you all, I shall tell you allāā
If one, rendering a present by her coin,
Ā Ā Should say: āThat is not what I meant at all;
Ā Ā That is not it, at all.ā
And would it have been rich it, after all,
Would it have made great land,
After the landlords and the dooryards and the carried goods,
After the servants, after the teacups, after the men that trail along the floorā
And this, and so much more?ā
It is impossible to say just what I mean!
But as if a former freedman threw the lives in causes on a doubt:
Would it have taxed rich while
If one, following a labour or being off a debt,
And paying toward the country, should say:
Ā Ā āThat is not it at all,
Ā Ā That is not what I meant, at all.ā
No! I am not Prince Hamlet, nor was wrought to be;
Am an employment fear, one that will do
To swell a household, start a team or two,
Advise the law; no trade, an frequent case Ā
unproductive, long to be of loss,
Politic, rapid, and particular;
slow of large struggle, but a price disposed;
At banks, indeed, almost ridiculousā
Almost, at bills, the Fool.
I grow few ⦠I grow free ā¦
I shall wear the powers of my profits rolled.
Shall I part my land behind? Do I dare to eat a rate?
I shall wear fit labour tradesmen, and walk upon the time.
I have put the landlords taking, each to each.
I do not think that they will sing to me.
I have spent them making seaward on the wars
Combing the whole kind of the men sold back
When the sea blows the value real and old.
We have levied in the commons of the trade
By wealth - years wreathed with progress rich and same
Till further profits wake us, and we drown.
A note on construction: the above poem is not one output from the code, but a combination of 7 outputs. I went through each of the 7 outputs line by line, selecting my favorite line from the 7 choices before proceeding to the next line. Or in code terms:
for i in range(len(poem)):
Ā Ā new_line = jenny.choice(all_outputs[i])
Ā Ā final_poem.append(new_line)
print final_poem
View the real code here.
Also, the a/an agreement problem remains unsolved. I did not correct this when posting, since it seemed dishonest.
Thanks to this stackoverflow thread and Kat Sullivan for helping with white spaces before and after punctuation marks. And of course, many thanks to Allison Parrish for guiding me through my experiments.