force download in php

People often don’t know how to save a file from a link. You send them a link and it seems just impossible to them to be able to right-click on it and choose “Save link as”. Especially on macs, where the concept of right-click didn’t really exist (and is still unknown to many – it seems). So, how do you help somebody who needs to download a big video file from your server bit it keeps openning in browser in some quicktime player or something. You force the browser to download. Create a PHP file that will send correct headers to browser:

Just take care there are no spaces outside of php tags.

slovenian keyboard layout

While setting up new installation on my laptop (ending up with AVLinux, based on Debian Squeeze and Awesome window manager), there are million little things that don’t work exactly how I want and spend too many hours on fine-tuning it. In fact, one of the things didn’t really manage to setup in the last incarnation of running OS (Ubuntu, Gnome 2) was keyboard layout. So now I managed to do it propertly – the Right Way – by editing some conf files.

So, the basic system to keyboard layouts nowadays is XKB. Layouts that XKB loads are in /usr/share/X11/xkb/symbols. I modified a slovenian layout and added a variant. At the end of /usr/share/X11/xkb/symbols/si I added:

This will give me a layout I can load with setxkbmap si usprog. The basic idea of this layout is that it is a full basic “us” layout with additional ways for three slovenian letters č, š and ž, and “serbo/croat” ć and đ. They are accessible using AltGr (right Alt) key and keys c, s, z, ‘ and d. Simple as that. AltGr + 5 provides an additional Euro currency sign.

The next step would be to create this configuration in a local (under ~/ home) location. A -config option to setxkbmap command should be the way to go, i guess.

lucky outtakes album

I’m working on a some kind of outtakes release with material from the process of creating music for Matija Ferlin’s “Sad Sam Lucky” performance which premiered last month in Zagreb, Croatia and a week later in Ljubljana, Slovenia, and is going to have a world premiere on Paris this month. The leftover material feels to me as quite powerful, but seems to fall into two extreme groups: long, emotional harmonic content, and quite harsh agressive noise material. At the moment I’m looking at it (listening) as a flow that jumps from one extreme to the other with abrupt cuts. However I’m not sure if it works well like this. The idea that I’m most inclined to at the moment is to create two releases – “ambiental/harmonic” one, and a noise one. Soon something comes out of it.

true troubles, responsibilities and relations

Inspiring creative writing by Tim Etchels:

“Participation and belonging are not objects – they are not things which can be achieved solidly or owned concretely – they cannot be acquired, they are processes which need to be worked at, lived in and through… processes which along with togetherness, sharing and mutuality also involve difficulty, dissent, and disagreement, hard work, uncertainty, doubt and dispute. They flow. They alter. They contradict. They involve tension and change.”

[…]

“A promise of belonging that does not insist on (acknowledge, offer or make space for) process, dispute and dissent is basically a false promise – an offer of supposed benefits without the true troubles, responsibilities and relations implied by those terms.”

read the whole entry, as the story has a particular context: timetchells.com

understanding trolling

When it seems you have become a victim of trolling, flamewar and cyberbullying, go through these statements and ask yourself if they describe the nature of relationships and online dialogue in that particular case:

  • All your carefully picked arguments can easily be ignored.
  • Anything you say can and will be used against you.
  • Anything you say can be turned into something else – fixed.
  • Do not argue with trolls – it means that they win.
  • The harder you try the harder you will fail.
  • Everything that can be labeled can be hated.
  • The more you hate it the stronger it gets.
  • Nothing is to be taken seriously!
  • CAPSLOCK IS CRUISE CONTROL FOR COOL
  • Nothing is Sacred
  • The more beautiful and pure a thing is – the more satisfying it is to corrupt it.

( via knowyourmeme.com)

The most striking in very peculair way is actually this: The more you hate it the stronger it gets. Doesn’t it sound familiar?

“The hate is swelling in you now. […] Give in to your anger!”

http://youtu.be/Qjpx8YPeHds

also trying to get a grip on something like this:

TL;DR

“too long; didn’t read.”

  • The inability to accept, understand or pay attention to information when not separated by a header.
  • The ability to arbitrarily read 400 small posts but not a long one.
  • A sign of ADD or lack of reading capability.
  • A very cheap response and an indication of lack of wit.
  • 90% of the time: A lie.
  • A desperate attempt at a comeback used by people who just can’t think of one.
  • Usually used by people who’ve been torn apart verbally but want one last attempt at looking witty.
  • A sign that, not only is someone too lazy and stupid to read but, clearly, too lazy and stupid to even type out four words indicating such.
  • Collect every “tl,dr” post online, and you’ll have a good estimate of the number of lazy idiots on Earth, who currently have Internet access.

(via urban dictionary)

Eclectic Tech Carnival 2012 Ljubljana report and thoughts

More than a week ago ended a Ljubljana edition of Eclectic Tech Carnival – /etc – a gathering of women interested in FLOSS technology (software and hardware). It was organised in collaboration between Cyberpipe, Red Dawns festival and LJUDMILA – Ljubljana Digital Media Lab.

When the prospect of doing some type of programing in Cyberpipe appeared around last summer, one of my first thoughts was to try to facilitate an /etc in Ljubljana. A constant thought was, of course, how to do it properly within consideration that I’m male. So I reached out towards Genderchangers and ETC organizers list, whose responses were extremely valuable. In fact, Aileen Derieg, one of the organizers of /etc Linz in 2007 decided to come for the whole Carnival in Ljubljana and we agreed on her moderation of the main round table, which she did amazingly.

The Carnival kicked off with three workshops running consecutively: SOLAR (creating solar cells from various cheap materials) by Selena Savić, KOERPERSPULE (creating wearable electromagnetic sonic ‘sensors’ from old recycled coils) by Roger10-4 aka Sabrina Basten and Audrey Samson and HARDWARE FUN (looking at the ‘inside’ of a computer, tearing apart, puting together, possibly installing basic FLOSS and creating something towards a BIOMODD) by Monika Pocrnjič. All workshops were open to women and trans-persons only. There was a two-hour slot for /etc mingling and debate which ended as a fun coffee meetup with a lot of discussion about funding and other playful stuff. Final day (saturday) was a public day of presentations by Nataša Muševič, Deborah Hustić, Maja Kalođera and Audrey Samson. The day (and carnival) concluded with extremely interesting – and in opinion of many a very good – round-table about sustainable media-labs which are encouraging and ‘safe’ for women, with Robertina Šebjanič, Deborah Hustič, Reni Hofmueller, Tea Hvala and moderated by Aileen Derieg.

The publicity and press for the Carnival was done primarily by Red Dawns festival – International Feminist and Queer Festival that was happening in parallel and which /etc was part of. So participants and performers of the festival and carnival met every evening at the vegan dinner at the anarchist infoshop at Metelkova City and, therefore, mingled. This intertwinement of two festivals created various consequences: firstly, the audience for /etc workshops didn’t come through connections of tech-curious emancipated female self-organizers of /etc itself, because, really, there weren’t any involved in organisation. There was amazing help and engagement from Red Dawns team but that still created a certain gap in semi-public communication towards possible audiences. So, the workshops, each of them lasting two days with 3-4 hours/day, had very floating participants – either with different set of women coming to each day, or with very few participants (2-3). Secondly, the carnival didn’t feel as an independent whole, but more as a part of something bigger with missing self-organised ambience where /etc women do everything – from organisation, food and hacking. At the same time, it must be said, that without /etc being under umbrella of Red Dawns, I doubt we could’ve pulled it off with the fact that there are no groups in Ljubljana/Slovenia doing emancipatory women-only tech workshops. A lesson in this is that we need to find women and encourage (but not force in any way) them to self-organise and create those exclusive pockets of technology research for women only. The space for it can always be Cyberpipe or possibly Ljudmila.

Or as Audrey put it – it was nice but somehow strange that there were a couple of guys ‘at the service’ of women during /etc – arranging what was necessary in the space and washing the coffee mugs (Klemen and Brodul). Another comment concerning the feel of the space was also that it didn’t feel quite ‘/etc-only’ as there were events happening later in the evening that were not connected to /etc. It would seemingly be the most powerful feeling if the space was devoted 24/7 to an event like /etc and its participants. The 24/7 aspect helps to create the feeling of a ‘safe’ space – ‘a room of our own’.

A big issue (at least for me personaly) was quite strong opposition by some Cyberpipe members to exclusivity of workshops and of Cyberpipe space. Despite of my effort to talk and be clear about the fact well ahead that Cyberpipe will be closed to male public and members during /etc, the moment I asked on the mailing list that guys refrain from coming to, or walking around, Cyberpipe unless really necessary, the issue exploded – on IRC channel and partially on mailing list. My intention is not to make public some of the internal dissagreements and conflicts in Cyberpipe and ways these are being handled (although I strive for transparency) but more to put forward certain thinking and dilemmas that become potent in such situation. At this point, however, I must admit, I’m unable to make a final decision what I think about it. One thing for me is sure: women need exclusive labs to work with technology. And we, men, shouldn’t be ever nervous about it. White male has always and for very long time been at power and with privileges above everyone else: black slaves and women. There is nothing less that we can do then to move aside and give space – as much as we can, many many times and as frequently as possible. With cultural damage carried by women today (and I don’t mean to victimise anyone), we have the responsibility to be open about it and move along.

The rest could most probably be nothing but trolls.

(last edit 20/mar 9:24 – mainly grammar corrections)

Sharing: Culture and the Economy in the Internet Age

This seems like an important book, that deals with current pressing issues about file sharing. It was written by one of the founders of La Quadrature du Net (http://www.laquadrature.net) – an advocacy group defending the rights and freedoms of citizens on the Internet – Philippe Aigrain. Here’s a bit or two from the introduction which sets the tone refreshingly: a research that has a statement, an oppinion. That’s rare.

File sharing is the act of making a file available to other individuals by putting it on-line, by sending a copy, or by rendering it accessible through a file sharing software. We defend the view that sharing without direct or indirect monetary transaction – or “non-market” sharing – is legitimate. We also claim that sharing is socially and culturally valuable and will play a key role in the future of our culture and the creative economies.

– The non-market sharing of digital works is valuable and must be recognized as a legitimate activity (chapter 3).
– New financing schemes are needed to turn the potential of a many-to-all creative world into a reality (chapter 4). In such an environment, all will have access to works, the right to share them and the technical means to produce new works. Many will build new capabilities in informing others, expressing oneself, and creativity. They will catch the interest of some, and some – more numerous that today – will attract the interest of many.

The book is free for download, and is also an ‘open book’, which means it will be updated frequently online and is open for comments and debate.

(via icommons-si list)

proti sporazumu ACTA

Nekaj misli ob protestu 4.februarja, ki se je zgodil v sloveniji, ter tudi ob vsej javni razpravi, ter globalnem protestu, ki se bo zgodil naslednjo soboto 11. februarja.

ACTA je sporazum, ki skuša urediti kaos, ki je nastal s pojavom medmrežja, s pojavom proste in poceni kopije česarkoli, kar se da digitalizirati.

Medmrežje je čudovito darilo s katerim lahko ljudje, ki nimajo ničesar, nekaj vrednega dobijo, ne da bi pri tem v resnici kdorkoli karkoli izgubili.

Sporazumu ACTA ne nasprotujem zato, ker bi mi preprečeval pretok holivudskih filmov in glasbe ameriških glasbenikov.

Ne nasprotujem mu zato, ker bi mi preprečeval zastonjski dostop do programja kot je Microsoft Windows ali Apple iTunes.

Sporazumu ACTA ne nasprotujem zato, ker bi se hotel okoriščati s kreativnim delom drugih ali ker bi bil kot potrošnik izdelkov velikih producentov zabave okraden možnosti, da pridem do potrošnje na čimcenejši način.

Sporazumu nasprotujem zato, ker želim uporabljati medmrežje za mojo lastno kreativnost in kreativnost somišljenikov. Sporazum zavračam, ker uničuje možnost, da gradim na hrbtih preteklih ustvarjalcev – kot so to počeli ustvarjalci pred menoj.

Sporazumu ACTA nasprotujem zato, ker daje moč cenzure in kriminalnega pregona tistih, ki imajo najmanj, tistim, ki imajo največ – mimo sodne oblasti.

Sporazum zavračam, ker se ne prilagaja novim izzivom digitalne dobe, ki nam omogoča, da smo povezani in da napredujemo in kot človeštvo rastemo s še večjo hitrostjo.

Nasprotujem mu, ker ne spodbuja razvoja novih ekonomskih modelov, ki upoštevajo sodobno stanje stvari in informacij, ki želijo biti proste, temveč nas posiljuje s preživelimi načini nadzora in regulacije, ki so delovali v industrijski dobi, danes pa so zastareli in nefunkcionalni.

“Piratke” in “pirati” nas vse v resnici imenujejo tisti, ki jim je žal za vse dolarje in evre, ki bi jih lahko pobrali, če bi lahko zaračunali za vsak prenešen megabit, ki se je prenesel preko medmrežja.

Če je to, da želimo živeti v svetu, ki koristno izrablja možnost proste informacije, ki nas nič ne stane, če želimo svojo ustvarjalnost distribuirati po svetu, zato ker nas kopija nič ne stane in lahko delimo naše znanje z vsem človeštvom, da se z njim upešno okoristi, ker nikogar nič ne stane, ko je neskončnokrat pomnoženo, in na podlagi vsega tega iščemo nove napredne in trajnostne ekonomske modele in ne sprejemamo nasilne adaptacije staromodnih načinov regulacije avtorskih pravic in intelektualne lastnine — če je vse to tisto, kar imenujejo piratstvo, potem bodimo z vsem kreativnim zanosom imenovani pirati!

Kiberpipa o sporazumu ACTA

ACTA je trgovinski sporazum za boj proti ponarejanju, ki je v nastajanju že več let in je v zadnjem času – predvsem pa po podpisu Slovenije – prejel veliko pozornosti predvsem zaradi strahu, da bo omejil svobodo govora na medmrežju. Gre za multilateralni sporazum, ki med drugim predlaga uvajanje novih mednarodnih kriterijev za uveljavljanje avtorskih pravic ter zaščite intelektualne lastnine.

Menimo, da gre pri sporazumu za več nedopustnih postavk, saj ACTA predstavlja ogrožanje zasebnosti, omejevanje inovacij in škodovanje mednarodni trgovini. Samo besedilo sporazuma je nejasno, dogovorjeno je bilo za zaprtimi vrati, večina držav v razvoju pa je bila izključena iz pogajanj.

Sporazum ACTA pomeni resno tveganje posledic zaradi neuravnoteženosti med varovanjem pravic, izhajajočih iz intelektualne lastnine in ohranjanja in varovanja temeljnih človekovih pravic, kot so svoboda izražanja, dostop do informacij in kulturnih dobrin ter pravice do zasebnosti.

Kiberpipa se zavzema za javno razpravo, predvsem pa za jasno zavrnitev sporazuma s strani Evropskega parlamenta. Kiberpipa se pridružuje mnenju La Quadrature du Net, da “je sporazum ACTA nastal skozi pogajanja za zaprtimi vrati namesto skozi demokratično razpravo in s tem zaobšel parlamente in mednarodne organizacije z namenom diktiranja represivne logike, ki jo vsiljujejo zabavne industrije. ACTA, podlaga za zakone kot so SOPA in PIPA, skozi kriminalizacijo prisiljuje medmrežne akterje k nadzoru in cenzuriranju komunikacije na spletu. S tem predstavlja grožnjo svobodi izražanja na medmrežju in ustvarja pravno negotovost za ponudnike interneta in ostala spletna podjetja. V imenu blagovnih znamk in patentov bo zagotovo ovirala dostop do generičnih zdravil v revnih deželah.

Na spletu in v javnosti na tak ali drugačen način že poteka javna razprava, specifično pa pozivamo:

– na javni protest 4. februarja ob 12h na Kongresni trg v Ljubljani
– na okroglo mizo v torek 7. februarja ob 19h v Kiberpipi
– na mednarodni dan protestov proti sporazumu ACTA 11.februarja
– da pišete našim poslancem v EP

pobuda za javno razpravo o sporazumu
http://pobuda-acta.si/

Informacijska pooblaščenka RS o sporazumu ACTA
https://www.ip-rs.si/novice/detajl/informacijski-pooblascenec-o-acta/

E-demokracija & Access Now o sporazumu acta
http://www.e-demokracija.si/no-acta/brosura-o-sporazumu-acta/

Helena Drnovšek Zorko: Zakaj sem podpisala sporazum ACTA
http://metinalista.si/zakaj-sem-podpisala-acta-o/

Analiza sporazuma na Slo-Tech
http://slo-tech.com/novice/t504699/0

Evropski poslanci:
http://www.europarl.si/view/sl/evropski_parlament/slovenski_poslanci_EP_2009_2014.html

Mednarodni protest 11/feb
https://www.accessnow.org/policy-activism/press-blog/acta-protest-feb-11