Martin Ström
my-domain.se

The emo bot

I’m trying to finish the building of my first robot. More info when it’s up and running as intended!


Ruby on Rails, UTF-8 & Heroku

I’m in the middle of moving some sites over from a self hosting VPS to Heroku and had some problems with the text encodings. Everything worked fine on the old site and on my local machine, but after a heroku db:push (copying my local MySQL database to Heroku’s Postgres), all special UTF-8 characters were not displaying correctly.

After some googling and some testing I found this solution (that is, make sure Rails and MySQL is all UTF-8), but it wasn’t enough to properly import the old data. After more googling, this worked for me:


ℂ◉℗⒴ ℘ⓐṨͲℰ Ⓒℌ◭ℝ◬ℂ⒯℮ℛ

A few weeks ago we (Konst & Teknik & I) finally released the long taking new version of CopyPasteCharacter.com — a website to help people find and copy symbols and characters that are not very easily accessible from the keyboard.

The main new thing, featurewise, is that we included many more characters than the previous version had. More characters has been the top #1 feature request the past three years the site has been online. To make the site easy to use with all new characters, we have divided everything into different sets/collections such as “Numerals”, “Symbols” and “Graphic shapes”.
We also made it possible to create your own set with characters and some smaller things like sharing sets and decide what set that should be the start set on CopyPasteCharacter.com.

www.copypastecharacter.com


Medborgarbussen / SNMBL

SNMBL is a manifestation against the constant increasing prices in public transportation in Stockholm. The first event took place on September, 18 at Slussen, Stockholm.

Daniel Eskils, together with a bunch of other people documented everything and made a movie from the event (here with English subtitles):

Peter and I did the website for the project and the manifestation. To make it easier to find out where the buses were all the time, I built an iPhone app that tracked the current location of the iPhone and sent it to the server. Then a map on the web page reads the latest reported location and show the bus’s location on the map with all the stops.

Read more about the project on www.medborgarbussen.se — mostly in Swedish though.


InstaCRT

OH HAI! go to instacrt.com!

ZOMG Update I
InstaCRT is released in the AppStore (and beeing featured everywhere!) ^__^. Read more!

ZOMG Update II 2012-11-18
InstaCRT with color support was just released! Read more on how it works! ???

This project started as an idea to see how a “real world” filter for photos (like the popular Histamatic and Instagram apps) would work, except our filter is actually real and not digitally applied.

When I joined the project, Ruben Broman and Erik Wåhlström were more or less already done connecting all the hardware and had the screen working as a regular external screen connected to his old laptop. The same night I hacked together a funny looking Ruby script that fetched images from a ftp server, downloaded them and showed them in fullscren on the old CRT display while a Canon 7D took the photo. We managed to get it up and running the same night and even had time to throw together a quick iPhone application that uploads the photos to the ftp server.

This early version of the project used the Ruby script, Image Capture (built into OS X) and QuickTime 7 to display the photo in fullscreen on the little display. The day after I added a Tumblr uploader so the photos get published on the blog.

This worked but was very instable so all code was rewritten within the first week it was up and running, mostly for stability but also seperated into different smaller scripts to they could run asyncronysly. We replaced QuickTime with a Quartz Composer project that allowed images to be displayed in fullscreen while not beeing the forground application, and replaced Image Capture with the command line tool GPhoto. Everything was still controlled by Ruby scripts but, as written above, seperated into three smaller classes/files so they could work in parallel, with a main deamon file using Forever The ftp server was replaced with a smarter REST based server to handle the uploading, downloading and archiving of the images.

The iPhone app was also rewritten from scratch to be cleaner and smarter. As of today, about 30 people have the beta (distributed using awesome Testflight).

Except for some smaller tweaks, the current version of the project has been up and running for about a month without restart nor crash so I would say it’s pretty stable now. We haven’t really decided exactly what to do with the project right now. We might release the app to the public and keep it going for as long as it’s possible, or just see InstaCRT as a fun hack.


Haxxor night

I’m building a pretty cool little project with Ruben right now. More info soon here!


100% height CSS for IE7 and more

I needed an element with a background to be 100% height and the usual solutions didn’t seem to work for this project. The problem with the other solutions around the web is that they either work when the page is short and without scrollbars, or they just work for longer page (with scrollbar).

A friend reminded me to set the element to display: table;, but said it might now work for IE7. He was right and here’s how to make it work for everyone.

The element I want full height for is .document and the base structure for the html is:

The CSS which works is:


FREE KEVIN

December 5th, 11:30–24:00
@ Rutger Fuchsgatan 9 in Stockholm

Welcome to the 12 hour film screening FREE KEVIN

Curated by Pirateturk, organized by Laurel Ptak and hosted by Konst & Teknik & Martin FREE KEVIN is an ongoing and roving screening series from a collection of 15.4 GB of downloaded films and documentaries depicting hackers and related computer culture from the 1980s–2000s. A range of material including blockbuster films, educational television programming, and documentaries produced within the hacking community will be presented in various cities worldwide over the next year in order to stimulate dialogue around issues of intellectual property and open culture. The title FREE KEVIN is an appropriated slogan that was originally used by the hacker community in the 1990s to protest the arrest of Kevin Mitnick, a legendary hacker who at the time was the most wanted computer criminal in United States history. Mitnick’s story is of interest (and depicted in several films in the screening series) for its fascinating particularities concerning hacker culture, intellectual property, and media representation historically, but at the same time it also functions as a contemporary symbol. If anything, the struggle over intellectual property has only intensified in the last decade and FREE KEVIN can be read as the embodiment of resistance in an ongoing struggle for rights and freedoms from corporate and state control in an information age and economy.
Read more

 

PROGRAM <table width=100% border=0 cellspacing=0 cellpadding=0> <td align=left valign=top width="48%"> 11:30 —
Doors open


12:00 —
INTRODUCTION BY LAUREL PTAK
(OVER SKYPE) (0:08)

WARRIORS OF THE NET, 1999 (0:12)



12:20 —
PIRATES OF SILICON VALLEY, 1999 (1:36)

A 1999 film based on the book ‘Fire in the Valley: The Making of The Personal Computer’ by Paul Freiberger and Michael
Swaine. It [...] documents the rise of the home computer (personal computer) through the rivalry between Apple Computer and Microsoft.



14:00 —
THE HISTORY OF HACKING, 2006 (0:50)

A quality documentary about hacking from the 1960s to date. Takes a historical approach, looking at the role of the hacker during this time.



15:00 — ANTITRUST, 1:49 (2001)

Antitrust portrays young idealistic programmers and a large corporation (NURV) that offers significant money, a low-keyed
working environment, and creative opportunities for those talented programmers willing to work for them. The charismatic
CEO of NURV seems to be good natured, but recent employee and protagonist Milo Hoffman begins to unravel the terrible
hidden truth of NURV’s operation. </td> <td align=left valign=top width="4%">   </td> <td align=left valign=top width="48%" > 16:55 — FREEDOM DOWNTIME (ABOUT KEVIN MITNICK) (2:01) 2001

Freedom Downtime is a 2001 documentary film sympathetic to the convicted computer hacker Kevin Mitnick, directed by Emmanuel Goldstein and produced by 2600 Films.



19:00 — WAR GAMES, 1983 (1:48)

The film follows David Lightman (Broderick), a young hacker who unwittingly accesses WOPR, a United States military supercomputer programmed to predict possible outcomes of nuclear war. Lightman gets WOPR to run a nuclear war simulation, originally believing it to be a computer game.
The simulation causes a national nuclear missile scare and nearly starts World War III.



21:00 — OUTLAWS & ANGELS, 2002 (0:49)

Documentary about the current issues surrounding Hackers/Crackers! What is Illegal should
be called Crackers not
Hackers!!



22:00 — HACKERS, 1995 (1:45)

Hackers is a 1995 American thriller film directed by Iain Softley and starring Angelina Jolie, Jonny Lee Miller,
Renoly Santiago and Matthew Lillard. The film follows the exploits of a group of gifted high school hackers
and their involvement in
a corporate extortion conspiracy. </td> </table>



All descriptions downloaded from Wikipedia and Google Video

 

Bring your own device and headphones (optional)!

All 29
films from the Pirateturk created torrent file — including the ones not beamed — will
be streamed to Macs/iPads/iPods/iPhones over WiFi during the event. Bring your own device and
headphones and hang out in a corner with your film of choice!

The complete list of films can be found at www.freekevin.info

 

Good to know

  • Drinks and (junk) food will be for sale (cash only)
  • Limited amount of seats (first come, first served)
  • You will have to take off your shoes because of sensitive carpets (!) — but indoor shoes can of course be brought
  • Feel free to come and go as you please
  • Extra thanks to Daniel Eskils </ul>

     

    FREE KEVIN

    When:

    Sunday December 5th 2010, 11:30–24:00

    Where:
    Rutger Fuchsgatan 9, 11667 Stockholm, Sweden

    (Subway: Skanstull)

    Program:

    Download as PDF

    Cost:

    For Free!

    More info:

    www.FREEKEVIN.info

    www.konst-teknik.se/news/freekevin

    Show & Tell
    Facebook

    Best wishes,


    Pirateturk,
    Laurel Ptak, and
    Konst & Teknik & Martin