The Pirate Bay’s SOPA/PIPA Press Release

INTERNETS, 18th of January 2012.
PRESS RELEASE, FOR IMMEDIATE RELEASE.

Over a century ago Thomas Edison got the patent for a device which would “do for the eye what the phonograph does for
the ear”. He called it the Kinetoscope. He was not only amongst the first to record video, he was also the first person
to own the copyright to a motion picture.

Because of Edisons patents for the motion pictures it was close to financially impossible to create motion pictures
in the North american east coast. The movie studios therefor relocated to California, and founded what we today call
Hollywood. The reason was mostly because there was no patent.
There was also no copyright to speak of, so the studios could copy old stories and make movies out of them – like
Fantasia, one of Disneys biggest hits ever.

So, the whole basis of this industry, that today is screaming about losing control over immaterial rights, is that they
circumvented immaterial rights. They copied (or put in their terminology: “stole”) other peoples creative works,
without paying for it. They did it in order to make a huge profit. Today, they’re all successful and most of the
studios are on the Fortune 500 list of the richest companies in the world. Congratulations – it’s all based on being
able to re-use other peoples creative works. And today they hold the rights to what other people create.
If you want to get something released, you have to abide to their rules. The ones they created after circumventing
other peoples rules.

The reason they are always complainting about “pirates” today is simple. We’ve done what they did. We circumvented the
rules they created and created our own. We crushed their monopoly by giving people something more efficient. We allow
people to have direct communication between eachother, circumventing the profitable middle man, that in some cases take
over 107% of the profits (yes, you pay to work for them).
It’s all based on the fact that we’re competition.
We’ve proven that their existance in their current form is no longer needed. We’re just better than they are.

And the funny part is that our rules are very similar to the founding ideas of the USA. We fight for freedom of speech.
We see all people as equal. We believe that the public, not the elite, should rule the nation. We believe that laws
should be created to serve the public, not the rich corporations.

The Pirate Bay is truly an international community. The team is spread all over the globe – but we’ve stayed out of the
USA. We have Swedish roots and a swedish friend said this:
The word SOPA means “trash” in Swedish. The word PIPA means “a pipe” in Swedish. This is of course not a coincidence.
They want to make the internet inte a one way pipe, with them at the top, shoving trash through the pipe down to the
rest of us obedient consumers.
The public opinion on this matter is clear. Ask anyone on the street and you’ll learn that noone wants to be fed with
trash. Why the US government want the american people to be fed with trash is beyond our imagination but we hope that
you will stop them, before we all drown.

SOPA can’t do anything to stop TPB. Worst case we’ll change top level domain from our current .org to one of the
hundreds of other names that we already also use. In countries where TPB is blocked, China and Saudi Arabia springs to
mind, they block hundreds of our domain names. And did it work? Not really.
To fix the “problem of piracy” one should go to the source of the problem. The entertainment industry say they’re
creating “culture” but what they really do is stuff like selling overpriced plushy dolls and making 11 year old girls
become anorexic. Either from working in the factories that creates the dolls for basically no salary or by watching
movies and tv shows that make them think that they’re fat.

In the great Sid Meiers computer game Civilization you can build Wonders of the world. One of the most powerful ones
is Hollywood. With that you control all culture and media in the world. Rupert Murdoch was happy with MySpace and had
no problems with their own piracy until it failed. Now he’s complainting that Google is the biggest source of piracy
in the world – because he’s jealous. He wants to retain his mind control over people and clearly you’d get a more
honest view of things on Wikipedia and Google than on Fox News.

Some facts (years, dates) are probably wrong in this press release. The reason is that we can’t access this information
when Wikipedia is blacked out. Because of pressure from our failing competitors. We’re sorry for that.

THE PIRATE BAY, (K)2012

# Source

http://static.thepiratebay.org/legal/sopa.txt

LemonPOS: Cómo instalarlo en Fedora 16

Un vato (Alejandro), me dijo que quiere instalar LemonPOS y que, éste, está chido.

Me doy cuenta de que lo hace un Mexicano! Ajuá!A webo! Y que está en pinche C++! Mejor! Pinche Java; es pa’ putos y que chingue a su madre!

Lo único que no me gustó es que usa kde4 y qt… wákala…

En todo caso, ahí va como instalarlo en Fedora. Hay que calarlo. Si alguien quiere mantener el paquete en Fedora, que me pida ayuda y con gusto le echo el paro.

Le hice algunas modificaciones para hacerlo más estándar (IMHO). En todo caso, si no jala, me pones un comentario y lo corrijo.

#
## Construcción

# Instalar dependencias
su -c 'yum install kdelibs kdelibs-devel qt qt-devel qt-mysql mysql-server git'

# clonar
git clone git://gitorious.org/lemonpos/lemonpos.git
cd lemonpos
git pull origin persa:persa
git checkout persa

# compilar
mkdir build
cd build
cmake ../ -DCMAKE_INSTALL_PREFIX=$( kde4-config --prefix )
make

# instalar
su -c 'make install'

#
## MySQL

# configurar mysql
systemctl enable mysqld.service
mysql_secure_installation
systemctl start mysqld.service

# instalar DB y usuario de lemonpos
cd ../database_resources/
mysql -u root -p < lemon_mysql.sql
mysql -u root -p < mexico_taxes.sql

# correr el programa (usuario: admin, password: linux)
lemon

# Fuentes

http://lemonpos.org/

http://sourceforge.net/apps/mediawiki/lemonpos/index.php?title=Installation_Guide

HowTo: Substitución de una línea completa con sed

Seguramente, alguna vez en tu vida, has querido reemplazar una línea en 300+ zonas de DNS. Claro, a todos nos ha pasado… ¬_¬… por lo menos a todos los que no tenemos vida, eh?

Gracias a los de #fedora @ freenode por ésto (Jefe fue el autor):

sed -ri 's@SOA@s@^.+$@lo que quieras poner en esa línea@' /path/al/archivo

F/Red: Fedora/Red Hat Electric Devices

Ok, this idea woke me up: https://fedoraproject.org/wiki/User:Renich/Projects/Fed

I think Fedora/Red Hat could get into the device realm. Who would buy a Fedora/Red Hat tailored laptop? Imagine that? Or maybe an audio player? Or a phone?

# Raw Ideas
- Laptops and PCs
* Upgradeable hardware.
* A native GNU & Linux keyboard. I dislike the windows logo on my keyboard.
* 100% compatible and optimized hardware.
* Fedora Art on it.
* Linux native keys on the keyboard.

- Audio Player
* Plays open formats (ogg, webm, flac, etc)
* Upgradable (hdd, memory, processor, etc)
* Sync all (contacts, pictures, movies, music, etc)
* Share music (streaming, p2p, etc)
* Creative Commons Friendly (jamendo, libre.fm, etc)

- Phone
* Android and/or something tailored for it?
* SIP clients

- Camera
* Open formats
* shareable
* syncable

- T.V.
* Web enabled
* Upgradeable (hardware and software)
* Open Formats

I like the idea of generating an open hardware specification for these and some conceptual art. If you’re interested, please, lend me a hand. The idea rocks… to me at least ;)

HowTo: Cómo alterar todas las tablas de una DB de MySQL

Hoy necesité alterar las 130 tablas de una DB. Se hizo así:

#!/usr/bin/env bash

mysql -B -N -h mysql1 -u root --password="YourSuperPassword" my_db -e "show tables" | while read db; do
mysql -h mysql1 -u root --password="YourSuperPassword" my_db -e "alter table $db character set utf8 collate utf8_general_ci;";
done

exit 0

HowTo: Cómo liberar la cache de RAM

A veces, necesitas el espacio:

# To liberar el pagecache:
echo 1 > /proc/sys/vm/drop_caches

# Para liberar los dentries y los inodes:
echo 2 > /proc/sys/vm/drop_caches

# Para liberar todo (pagecache, dentries e inodes):
echo 3 > /proc/sys/vm/drop_caches

Ésta es una operación no destructiva. Los objetos “sucios” no son liberables. El usuario debiera correr “sync” antes para asegurarse de que todos los objetos cacheados serán liberados.

Esta configuración fue agregada en la versión 2.6.16.

# Nota: Otra manera de hacerlo sería:
/sbin/sysctl -w vm.drop_caches=3

Gracias a Omar Briseño por su aportación. Por cierto, él dice que ésto afecta mucho las conexiones de tu firewall (se resetéan); así como la cache de tu proxy (se pierde) pero no lo he comprobado.

# Referencias

http://www.linuxinsight.com/proc_sys_vm_drop_caches.html

HowTo: Cómo forzar a un usuario a refrescar su password en el siguiente login

Muy fácil; solo caduca el password. Ahora, si es un usuario nuevo, en Fedora, no puede hacer login sin password. Hay que asignar uno temporal:

# te haces root
su -

# creas un usuario
useradd renich

# le das un password temporal
passwd renich

# le caducas el password
chage -d 0 renich

En el siguiente login, renich tendrá que actualizar su password tras poner el password temporal que le asignaste. Si fuera un usuario existente, solo corre el último comando y voila!

HowTo: Como hacer que se vean los mp4 en Fedora 15

Bueno, al parecer, acá está el problema reportado:

https://bugzilla.redhat.com/show_bug.cgi?id=718013

No olvides instalar rpmfusion free y nonfree

http://www.rpmfusion.org/

También, instala los plugins de gstreamer (los devels no)
su -c 'yum -y install gstreamer gstreamer-devel gstreamer-devel-docs.noarch gstreamer-ffmpeg gstreamer-java gstreamer-plugins-bad gstreamer-plugins-bad-free gstreamer-plugins-bad-free-extras gstreamer-plugins-bad-nonfree gstreamer-plugins-base gstreamer-plugins-base-devel gstreamer-plugins-base-tools gstreamer-plugins-espeak gstreamer-plugins-fc gstreamer-plugins-good gstreamer-plugins-ugly'

La solución es fácil:
# hacerte root
su -

# ir al lugar indicado
cd /usr/lib64/gstreamer-0.10

# hacer el symlink
ln -s libgstisomp4.so libgstqtdemux.so

#
# UPDATE 20110804
#
Si eliminas:

rm -fr ~/.gstreamer-0.10/registry*.bin

Todo será bello y bonito ahora! No es necesario el symlink.

GNU and Numbers

Check this out:

a b c d e f g h i j  k  l  m  n  o  p  q  r  s  t  u  v  w  x  y  z
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26

g = 7
n = 14
u = 21

There is a pretty symmetry in that.

Now, remember what was the result of: “the answer to life, the universe and everything” ?

g + n + u = 42 = the answer to life, the universe and everything

Check it out!

http://www.google.com/search?q=the%20answer%20to%20life,%20the%20universe%20and%20everything

This came to me while I was waking up… strange, huh?

HowTo: Cómo ver la fecha de creación de un archivo en GNU & Linux

Estuve buscando al respecto y, como siempre, encontré mucho menso que dice “eso no se puede!”. De hecho, encontré un artículo que afirmaba “Nunca se guardan las creation time en Linux!”.

En todo caso, no es “en Linux”; es “en $X filesystem”. Por favor, no leas todo lo que crees! ;=)

En Fedora 15; con Ext4:

# debugfs -R 'stat /home/renich' /dev/mapper/VolGroup-lv_root
debugfs 1.41.12 (17-May-2010)
Inode: 790722 Type: directory Mode: 0700 Flags: 0x80000
Generation: 1467162353 Version: 0x00000000:00000ac0
User: 500 Group: 500 Size: 4096
File ACL: 0 Directory ACL: 0
Links: 16 Blockcount: 8
Fragment: Address: 0 Number: 0 Size: 0
ctime: 0x4e18d1bd:6e06c460 -- Sat Jul 9 17:10:05 2011
atime: 0x4e18d09c:973d18a8 -- Sat Jul 9 17:05:16 2011
mtime: 0x4e18d1bd:6e06c460 -- Sat Jul 9 17:10:05 2011
crtime: 0x8bb9e78e:3567dd9c -- Sun Mar 8 14:09:30 1908
Size of extra inode fields: 28
Extended attributes stored in inode body:
selinux = "unconfined_u:object_r:user_home_dir_t:s0\000" (41)
EXTENTS:
(0): 3154530

p.d. eso de que mi crtime (creation time) es 1908 es porque, mi servidor (basura1); el cual, mi hermano, encontró en la basura; en la colonia Chapalita; de Guadalajara, Jalisco, México; no tiene batería en su motherboard y se reseteaba la hora a 1908 a cada rato.

p.d. no sé porqué a 1908 y no 1970…