Trumps speech according to speech recognition

The following text is an automatic transcription of Donald Trump‘s inaugoration speech, made using the vanilla window.SpeechRecognition in javascript, code provided by the lovely Wes Bos with a few small additions by me.

I am pretty impressed with the accuracy of the transcription, considering it runs 100% in the browser, and using the built in speaker and microphone of my toy, a Lenovo Miix 300 (Ebay Link). Click play on the video and try to follow along with the text. You may also test the autotranscriber here.


conspiracy

Justice Roberts President Carter

President Bush

is there no balm fellow Americans and people of the world thank you

the Citizens of America Ireland

national effort to rebuild our country

First Promise for all of our people

agata we will determine the course of American and world for many many years to come

we will face challenges we will confront hardships but we

the job done

years we gather on the steps to carry out the orderly and peaceful transfer of power

create poll to President Obama

lady Michelle Obama for the equations

Transit

magnificent thank you

today’s ceremonial ever

very special meaning

yesterday we are not merely transferring power from one administration to another or from one party to another but we are transferring power from Washington DC and giving it back to you with other people

bridge of a small group for our Nations capital has reap the rewards of government by the people have Borne the cost

Washington tourist but the people did not share in his wealth

prospector jobs left and the factories close

the establishment protected itself but not the Citizens of our country

directories have not been Jorvik

fair trials have not been your trials and why are they celebrated in our Nations capital that was little to celebrate for struggling families All Across our land

metal changes

right here right now

damages your moment it belongs to you

set alarm for everyone gathered here today and everyone watching all across America this is your day this is your celebration and this the United States of America is your country

what time era is that which party controls the government but whether our government is controlled by the people

January 20th

2017 will be remembered as the day the people became the rulers of this nation again

the Forgotten men and women of our country will be forgotten no longer

everyone is listening to you now

by the tens of millions to become part of a historic movement the likes of which the world has never seen before

data centre this movement

show conviction that a nation exists to serve it services Americans one great schools to their children safe neighbourhoods for their families and good jobs for themselves

these are just

Hannibal demands of richest people in a righteous public Watford to many of our citizens a different reality exists

send children trapped in poverty in our inner cities without factories scattered like tombstones across the landscape of our nation and education system flush with cash but which leaves are young and Beautiful Susan’s

of all knowledge

endocrine MB games and the drugs that have stolen too many lives and robbed our country pub so much unrealised potential

American carnage starts right here and starts right now

we are one nation

your pain is our pain

dreams are our dreams and their success will be our success

one heart one hall and one glory destiny

the out of office I take today is an Oath of Allegiance do all Americans

for many decades with enriched foreign industry at the expense of American industry subsidised the armies of other countries while allowing for the very said depletion of our military

defended other nations borders will refusing

send around

best trillions and trillions of Dollars overseas while America’s infrastructure has fallen into disrepair and decay

we made other countries rich Wilder wealth

confidence of our country has dissipated Over the Horizon

one by one the factory shut up and lift our Shores

I thought about the millions and millions of American workers that we left behind

the wealth of our middle class has been ripped from their homes and then we distributed all across the world

but that is the past

we are looking for only to the Future

where we are today are issuing a new decree to be heard in every city in every foreign capital and in every hole of power

Dave forward a new vision will Govern our land

David is going to be only America first America first

on trade on taxes on immigration on foreign affairs will be made the benefit American workers and American families we must protect our borders from the ravages of other countries making up products stealing our companies and destroying our jobs

protection will lead to Great prosperity and strength

fight for you with every breath in my body

ever ever let you down

commercial start running again winning like never before

we will bring back Georgia

our borders

bring back channel will

bring back our dreams

new roads and highways and bridges and airports and Tunnels and railways All Across our wonderful nation

we will get our people off of welfare in back to work rebuilding our country’s with American and American labour

we will follow two Simple Rules by American and higher American

we will seek friendship ended well with the nations of the world but we do so with the understanding that it is the right of all Nations to put their own interests first

to impose our way of life on anyone

rather to let it shine as an example we will shine for everyone to follow

we will reinforced Auld Alliance influence and unite the civilised world against radical Islamic terrorism which we will eradicate completely from the face of the Earth

at the bedrock of our politics will be a total allegiance to the United States of America and through loyalty to our country we will rediscover our loyalty to each other

you open your heart to pictures

there is no room for prejudice

survival trousers how good and pleasant it is when God’s people live together in unity

customise openly

purchase agreement honestly but always pursue solidarity

when America is United America is totally unstoppable

there should be no fear

protected and we will always be protected

goodbye the great men and women of our military and law enforcement

importantly

we will be protected by God

finally we must think big and dream even bigger in America we understand that a nation is only living as long as it is striving

longer accepts politicians who are all talk and no action constantly complaining but never doing anything about it

the time for empty Talk is over now arrives the hour of action

do not allow anyone

is that it cannot be done no challenge can match the heart and fight and spirit of America we will not fail our country will strive and prosper again

Western at the birth of a

ready to unlock the mysteries of space to free the Earth from the movies of disease and a harness the energy Industries and technologies of tomorrow a new national pride will self lift our site and Heal our divisions it’s time to remember that old was Mr soldiers will never forget that whether we are black

or white

I bleed the same red blood of Patriots

we all enjoy the same glorious freedoms and we all salute the same grade American flags

and whether a child is born

beloved a try called a windswept Plains of Nebraska they

the same night sky they fill their heart with the same dreams and they are infused with the breath of Life by the same Almighty creator

Dr Martens in every city near and far small and large from mountain to mountain from ocean to Ocean here these words you will never be ignored again

your voice your hopes and your dreams will define our American destiny

origin good love will forever guide us along the way

we will make America strong again

make America wealthy again we will make America proud again we will make America safe again and yes together we will make America great again thank you

and god bless America

thank you

god bless America

Drawing with JS part 1

A few experiments using javascript to draw or generate graphics.


Rune.js

Via http://printingcode.runemadsen.com/examples/

See the Pen Rune.js 3 Manipulates the outline of a polygon by changing the position of its vectors. by Morten Skogly (@mskogly) on CodePen.

See the Pen Rune.js 8 Loop by Morten Skogly (@mskogly) on CodePen.

See the Pen Rune.js 4 Noise by Morten Skogly (@mskogly) on CodePen.

See the Pen Rune.js 5 Pintori Noise by Morten Skogly (@mskogly) on CodePen.

Autoruns, generates random polygon. Click rerun to … rerun.

See the Pen Rune by Morten Skogly (@mskogly) on CodePen.


Via http://printingcode.runemadsen.com/lecture-form-2/
Documentation: http://runemadsen.github.io/rune.js/documentation.html

See the Pen Rune.js 2 by Morten Skogly (@mskogly) on CodePen.


Vanilla js using canvas, via https://javascript30.com/

Click and drag to draw.

See the Pen Html5 canvas – Drawing 1 by Morten Skogly (@mskogly) on CodePen.

See the Pen Html5 canvas – Drawing 2 by Morten Skogly (@mskogly) on CodePen.

Using coauthors plus in your theme

Had kind of a hard time trying to find documentation for how to implement coauthor plus in single.php or sidebar.php, so I wanted to share the code I used for p3.no/filmpolitiet

(remove the debug part when you’re finished testing).
Test: https://pappmaskin.no/2013/01/test-coauthors-plus/?debug=1




			
				
				 
				
				
				
profilbilde != "") { ?> user_email, $size = '100', $default = '' ); //echo get_avatar(get_the_author_meta('user_email') , $size = '100', $default = '' ); } //end else coauthor profilbilde ?>

“It’s friday and I’m in love”, a Spotify collaborative playlist

I am a huge big fan of Spotify, it is basically running 24/7 at work and at home, but yesterday I wanted to test the collaborative playlist feature. I made a Spotify playlist called “It’s friday and I’m in love” and inviting people on Twitter to join in. The result was really interesting. We created a very strange soundtrack indeed, but I feel like people respected the theme set by the playlist name and first song, and without being explicitly asked to do so. The list even got Rick-rolled by someone adding “Never gonna give you up” on every other line (and then regretted and removed them again), which in my opinion is the ultimate honor.

Cute and social experiment, it almost feels like magic when you see the list growing by the minute.

Spotify is still very barren when it comes to social features, the collab lists is basically the only way you can interact with people at this point, but I am sure this will be expanded upon with new releases of the software, or with plugins. It sucks to not be able to see who adds a particular song, or to be able to comment and talk to people, so hopefully it won’t take too long before such features are added.

The list, as of March 21 2009:

Ps: All links open directly in the Spotify application. I you don’t have it installed you are out of luck. Read more about how I put it online at the bottom of this post.

Open the whole playlist: It’s friday and I’m in love

Or click on each track to listen to it:

Rick Astley – Never Gonna Give You Up

The Cure – Friday I’m in Love

The Levellers – What A Beautiful Day

The Cure – Just Like Heaven

Nena – 99 Luftballons

The Cure – Friday I’m in Love

Kiss – Love Gun

Katrina and the Waves – Walking On Sunshine

Billy Idol – Rebel Yell

Michael Jackson & The Jackson 5 – The Love You Save

Bo Kaspers Orkester – Dansa på min grav

Duffy – Mercy

Perry Como – Magic Moments

Beastie Boys – Girls

Yeah Yeah Yeahs – Date With the Night

The Lionheart Brothers – 50 Souls And A Discobowl

La Bionda – I Wanna Be Your Lover

Walter Wanderley – O Samba Brasileiro

Sufjan Stevens – Chicago

Ulf Lundell – Stackars jack

Norway – Jesus Girl

Yeah Yeah Yeahs – Gold Lion

Modest Mouse – Little Motel

The Thrills – Whatever Happened to Corey Haim?

Neil Young – Out on the Weekend

The Go! Team – Doing It Right

Stan Getz – Samba De Uma Nota So

Death Cab for Cutie – Marching Bands of Manhattan

Eels – Somebody Loves You

Copy – Thanks to the Pen

A Tribe Called Quest – Can I Kick It?

Belle and Sebastian – The Boy Done Wrong Again

A Tribe Called Quest – What?

Daryl Hall & John Oates – Rich Girl

Cab Calloway – Minnie The Moocher (The Ho-De-Ho Song)

Gerard Joling – Somewhere Over The Rainbow (Reggae Version)

Jason Mraz – I’m Yours

Rob Swift – Queens Lounge 2

Åge Aleksandersen – Fotbaill

The Doobie Brothers – What a Fool Believes

Steely Dan – Kid Charlemagne

Waylon Jennings – I’m A Ramblin’ Man

Grinderman – No Pussy Blues

Yelle – Jogging

Yelle – Ce jeu

Pixies – Where Is My Mind?

Mott The Hoople – All the Young Dudes

Bears – Girl With Clouds

Hasse Alfredson – Öl

Todd Rundgren – Can We Still Be Friends

Åge Aleksandersen – Rosalita

Wilco – Jesus, Etc.

The Highwaymen (Waylon Jennings, Willie Nelson, Johnny Cash, Kris Kristofferson) – Highwayman

Catherine Feeny – Hurricane Glass

The Band – The Weight

David Bowie – The Jean Genie

Gösta Jonsson – Samling vid pumpen

Åge Aleksandersen – Dains me dæ

Åge Aleksandersen – Ljus och värme

Åge Aleksandersen – Langt igjæn til Royal Albert Hall

Tom Waits – Christmas Card From a Hooker in Minneapolis

Yo La Tengo – Gentle Hour

TV on the Radio – Heroes

Pet Shop Boys – I Wouldn’t Normally Do This Kind Of Thing

Jokke – Paranoid

Eagles Of Death Metal – I Want You So Hard (Boy’s Bad News)

The Smiths – William It Was Really Nothing

Jackie Davis – Manana (Is Soon Enough For Me)

Poor Rich Ones – I Was Made For Loving You

Wall Of Voodoo – Mexican Radio

Paul Hardcastle – 19

Bryan Ferry – The Way You Look Tonight

The Magnetic Fields – Too Drunk to Dream

Bon Jovi – Livin’ on a Prayer

Foo Fighters – Monkey Wrench

Marit Larsen – Ten Steps

Vømmøl Spellmannslag – Auksjonsvisa

Flight Of The Conchords – Hiphopopotamus vs. Rhymenoceros (feat. Rhymenoceros and the Hiphopopotamus)

Flight Of The Conchords – Business Time

The Be Good Tanyas – When Doves Cry

Curt Haagers – Fågeldansen

Pulp – Babies

Flight Of The Conchords – The Prince of Parties

Grace Jones – La Vie En Rose

The Wiseguys – The Bounce

Infected Mushroom – Artillery

Terence Trent D’Arby – Sign Your Name

Paul Simon – How the Heart Approaches What It Yearns

The Cardigans – And Then You Kissed Me

Wyclef Jean featuring Mary J. Blige – 911

Chris Isaak – Wicked Game

Nick Cave & The Bad Seeds – Something’s Gotten Hold of My Heart

Queens Of The Stone Age – Feel Good Hit of the Summer

MC Hammer – U Can’t Touch This

Vanilla Ice – Ice Ice Baby

Buzzcocks – Ever Fallen in Love (With Someone You Shouldn’t’ve)

Jojje Wadenius – Kalles Klätterträd

Queens Of The Stone Age – In My Head

Mojinos Escozios – Mi Barrí de Servesa

Sonic Youth – Teen Age Riot

Prince & The Revolution – Raspberry Beret

Rainbow – Snowman

Prince – Slow Love

Ilene Woods – So This Is Love

Vanilla Ice – Stop That Train

Tenacious D – Tribute

Elvis Costello & The Attractions – The Other Side of Summer

The Magnetic Fields – The Luckiest Guy on the Lower East Side

Tenacious D – Fuck Her Gently

Pixies – Where Is My Mind? (Remastered)

Young MC – Bust a Move

Bros – When Will I Be Famous

New Kids On The Block – Hangin’ Tough

Jahn Teigen – Det Vakreste Som Fins

Jahn Teigen – Min Første Kjærlighet

Jahn Teigen – Optimist

Crowded House – Chocolate Cake

INXS – Need You Tonight

The Clash – Rock the Casbah

Tori Amos – My Favorite Things

I Was a Teenage Satan Worshipper – OMG, Techno Chicks!!!

Jerry Reed – East Bound & Down (Jerry Reed)

Billie Holiday – That Ole Devil Called Love

The White Stripes – I Just Don’t Know What to Do With Myself

Dusty Springfield – I Just Don’t Know What To Do With Myself

The Stooges – I Wanna Be Your Dog

The Stooges – No Fun

The Beach Boys – Kokomo

The Stooges – Down On The Street

Ramones – Judy Is a Punk

The Killers – When You Were Young

The Stone Roses – I Wanna Be Adored

Joy Division – Love Will Tear Us Apart

Jace Everett – Bad Things

The Jesus and Mary Chain – Just Like Honey

Stealers Wheel – Stuck In The Middle With You

George Baker Selection – Little Green Bag

Foals – Cassius

Liam Lynch – Electrician’s Day

The Vines – Autumn Shade II

T. Rex – Cosmic Dancer

T. Rex – Jeepster

The Verve – Bitter Sweet Symphony

The Clash – Clampdown

Jeff Buckley – Eternal Life

Jimi Hendrix Experience – All Along the Watchtower

They Might Be Giants – Infinity

XTC – Senses Working Overtime

The Specials – Our Lips Are Sealed

Depeche Mode – Never Let Me Down Again

Love and Rockets – Motorcycle

The Doors – Back Door Man

Lou Reed – I’m So Free

Boy George – Everything I Own

Morrissey – The More You Ignore Me The Closer I Get

MC Júnior E MC Leonardo – Rap Das Armas

ABBA – Dancing Queen

Kylie Minogue – The Loco-Motion

The The – Dogs Of Lust

Tricky – Hell Is Round the Corner

Tommy Tokyo & Starving For My Gravy – Derail And Demise

Living Colour – Glamour Boys

Mitch Hedberg – Mitch in the S’th

Mikael Wiehe och Ebba Forsberg – Allra minst en morgon

MC Lyte – Cold Rock A Party

Datarock – Fa-Fa-Fa

Nina Simone – Sinnerman

Bon Iver – Flume

Fred Åkerström – Jag ger dig min morgon

Sex Pistols – God Save The Queen

Gorillaz – Feel Good Inc.

Euroboys – One-Way Street

Simian – We Are Your Friends (Radio Edit)

Jay-Z – Brooklyn Go Hard [feat. Santogold]

Lupe Fiasco – Daydreamin’ Featuring Jill Scott

Arctic Monkeys – Dancing Shoes

Known collaborators (based on conversations on Twitter):

Eterg, lastninja1980, _Rolf_, mariusgenser, johanhal, Barstein, degarden, paljoakim, Markussss, nech

How to publish a Spotify playlist on the web the easy way
You might be wondering how I was able to put all the songs from the playlist in the post? Spotify still hasn’t got an API, so my plan was to actually build it by hand. I first tried to mark all the songs in the playlist and CTRL-C/APPLE-C them, but instead of a lovely list of artist and song names I got the http links to all the tracks, so there went that idea. But to my amasement something magic happened when I posted all the urls into Textedit on my macbook! All the urls got transformed into clickable links automatically! All I had to do was save the Textedit document as html and open it in my browser to test it, and it worked like a charm! Just a view source and a copy paste away from this blog post! (I believe the Spotify software needs to be running when you do this).

If you want to copy the nice Spotify URI direct links instead of the HTTP links you have to select all the songs in your list, the right click and choose “Copy Spotify URI”.

There are alread plenty of sites where you can share your Spotify playlists, and when those can access a proper API I believe great things will happen. Spotify is already a fantastic product. When people can start adding cool stuff it will explode!

Timelope takes lifestreaming to a new level!

First off I just want to say that I think this is probably NOT a very good idea, but I downloaded the Timelope extension for firefox today, that basically publishes every single webpage you visit to timelope.com and as an rss.

Smart? No, maybe not, but kind of fun!

Whyyy!
Some people would probably say that publishing every singe page you visit on the web as kind of overkill, and also a sliiiiight security nightmare, and both are probably correct, but is just so darn cool to have!

On a more serious note: It is also a good reminder of just how much information you leave behind while surfing. Perhaps you can even change some habits? Think: If it aint safe to show on the web for all to see, then perhaps it’s not very good for your brain eighter!

Good control over what to display
Timelope has a lot of options to make it easy to control what people see:

  1. You can choose to make everything private, and just use it as a log for yourself.
  2. By default localhost and all visits to urls starting with https:// is hidden (that means online banking and alle secure logons)
  3. You can create a whitelist consisting of sites you want to display.
  4. You can create a blacklist with all the sites or parts of websites you don’t want to show (like the link to phpmyadmin, wp-admin, or just any boring site you don’t want to bother people with telling about.
  5. There is a convenient checkbox to hide any porn sites you visit.
  6. There is a small button in Firefox where you easily can turn off all publishing.
  7. And lastly, you can manually delete stuff that you feel clutter up your lovely stream, and you can at the same time choose hide all later visits to knitting.com or other embarrasing sites automatically.

Displaying the Timelope – feed in WordPress:
You can use the wonderful RSS Stream WordPress plugin to display you browser history.

This plugin only supports RSS 2.0, and timelope has chosen to deliver an atomfeed, so you have to fetch your timelope stream and reformat it with for instance feedburner. Log on to feedburner.com and create a new feed, paste in your feedurl from timelope (http://timelope.com/mskogly/feed), when you are done with the wizard you must turn off Smartfeed and then look for Convert Format Burner. Choose Rss 2.0 and then activate.

Then you can go into wordpress admin and insert the feed into Rss Stream, and you are set for some serious information overload fun for all.

Your lifestream will suddenly be flooded with lovely stuff like this:

https://i0.wp.com/pappmaskin.no/wp-content/2011/07/20081014-xijsd2x8nmy3m9dbgf76dd1cei.jpg?w=525

Update: 26th of april 2009: Decided to turn off Timelope, because it took to much time to administrate and weed out the sites I didn’t want to show.

m.