HowTo: Removing BtrFS from a bunch of drives (BOD)

Ok, I just discovered how to remove BtrFS from a bunch of drives. It got kind of hard at first but, thanks to the #btrfs channel, I discovered how.

for device in sd{d..g}; do dd if=/dev/zero of=/dev/$device bs=4k count=1 seek=16; done

This will remove a 4k block; starting from 64k. This did it.

Why would you like to do this? Well, just to try some different configurations. Also, I got into a problem while using different labels and stuff…

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

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 ;)

LinuxCabal: Thank you, CloudSigma, for a wonderful year!

Ah, yes, it’s been more than a year without downtime and that is because we host ourselves in CloudSigma.

I remember the first days, right after Rackspace and all. Richard Couture was very uncertain about “The Cloud”. He disliked Rackspace and kept saying: “I want a server I can touch!”. Well, after a year, I’d like you to hear him saying: “CloudSigma rules!”. He doesn’t miss a thing about real servers.

The service has been great and flexible as we need it. We even host a Mageia mirror thanks to CloudSigma.

This year, we started building our wiki and the PHPCabal, PythonCabal and ArduinoCabal communities.

Our website provides all kinds of info about our activities

Guadalajara owns them a lot. Our FOSS community is possible, in great part, thanks to them.

Thank you, CloudSigma, for the past year. We’re grateful. We, also, congratulate you for your grant U.S.A. opening. May you conquer the world and keep offering great KVM/Qemu virtualization options to the world.

If you like the poster, feel free to do whatever you want with it; as long as it stays under Creative Commons Unported 3.0 Share-Alike license. Also, feel free to share your work with me in my email: renich@woralelandia.com. The svg files will be at the link show bellow.

A poster with LinuxCabal, GNU, Tux and CloudSigma's logo; with a bottom liner saying: standing on the shoulders of giants

Creative Commons Poster

# Source files

http://downloads.woralelandia.com/design/2d/linuxcabal/

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?

introbella is on the move!

Oh yeah! I really like making this announcement.

introbella is on it! We’re making new songs and we’re gonna be releasing everything in english from now on! World, get ready for some really cool music!

Our newest project is to compose a few EPs. 4-6 songs per album and let you have them via our website and jamendo’s corner.

Our newest draft is here. Check it out if you like. Send contributions if feeling like it.

What? Don’t know how to contribute? How about:

- Correcting/Augmenting the lyrics.
- Sending some samples/solo/arrangements
- Send a structure proposal
- Traducitons to other languages
- Providing artwork for that theme.
- Buy and donate introbella.org
- Give us an instance at CloudSigma for our server needs ;)

This is our project and it’s 100% CC-BY-SA and FOSS related. We love doing this and we want to share it in any way possible.

SPECS

Audio should be send in 48 kHz @ 24bit please.
Text should be sent on TXT format (UTF-8)
Artwork should be sent on open formats and made with FOSS (Gimp, Inkscape, etc)… no Photoshop!! yuck!

Damn, we might provide repos in the future! Who knows! For the time bing, here’s the info you need:

# website

http://introbella.com/

# Jamendo

http://jamendo.com/artist/introbella

# Downloads

http://introbella.com/downloads

HowTo: Deploy using git

This one is not mine. It’s, actually, a transcript. Please, check out the source at the bottom

#
# Local
#

# Create a website
mkdir website && cd website
git init
echo 'Hello, world!' > index.html
git add index.html
git commit -q -m "The humble beginnings of my web site."

# add remotes
git remote add deploy-production ssh://server.example.org/var/lib/git/deploys/production/website.deploy

# AFTER setting up remote, push files
git push deploy-production +master:refs/heads/master

# update
git push deploy-production

#
# Remote
#

# the repo
mkdir example.org.deploy && cd example.org.deploy
git init --bare

mkdir /var/www/www.example.org
cat < < EOF > hooks/post-receive
#!/bin/sh
GIT_WORK_TREE=/var/www/www.example.org git checkout -f
EOF

# make the hook executable
chmod +x hooks/post-receive

# Notes
Setting receive.denycurrentbranch to “ignore” on the server eliminates a
warning issued by recent versions of git when you push an update to a
checked-out branch on the server.

# src

http://toroid.org/ams/git-website-howto

HowTo: Change upload_max_filesize on a standard DreamHost account

Ok, recently, a good friend, needed some help. He wanted to change the upload_maz_filesize value of his DreamHost account but was so frustrated when he learned that .htaccess files don’t work for him…

It is simple: you’re using FastCGI and you should be using .user.ini files to set php values and not .htaccess.

So, the answer was to type this into a .user.ini file. Remember the dot (.) before user.ini ok?!
upload_max_filesize = 50M

Make sure you’re using FastCGI in your domain’s settings. Also, be patient. This setting is cacheable and might take a few minutes/hours to get read. Mine took 4-5 mins at most.

Things to look out for:

- If apache has a limited post option, change that using an .htaccess
- Remember to change the post value in .user.ini for PHP too, ok? I’ll let you google that yourself.
- Check your values with a test.php file and

<?php phpinfo(); ?>

in it! Remember to delete it once done!

Anyway, I hope this helps.

p.s. this post was made in english due to the huge amount of idiots found by google when searched for. Those guys compile their own php into a local folder… damn guys!

And, remember to give my email: renich AT woralelandia DOT com when you go for an account @ DreamHost ok? ;)

Search Cards Interface

This is another search interface.

It would be cool to have a card interface too. You make a search, and a million cards open up bellow. Each one has a screenshot of the website with hilighted results. You would see 4 or so cards per line and the title of the website just bellow.

You could turn a card and see detailed info on the website and/or more stuff.

One card would have multiple sides or turns. You could keep turning each card and they would show content in different ways:

- They could show related or in the same category websites
- They could show related content (video, photos, blogs, news, translations, etc)

Also:
They could be expanded to a almost-full window (with the search engine on top) and let you keep on turning). This would let you browse stuff and do what you wanna do and, after that, go to normal size again and keep on browsing cards.

They should be storable and shareable; and function as a result filter.

Creative Commons Attribution 3.0 Unported or >
http://creativecommons.org/licenses/by/3.0/

Search Cube (polygon) interface

Today, I woke up with two ideas; here’s one.

The search cube polygon is an idea for the search engines. The idea is to search for something and have a 3D cube or polygon with a determined number of sides. Each side guides you through the search results; in different contexts.

One could use the cube to search in different ways and use different search approaches. For example, if you look for the word sex, the cube would present itself and determine 4 categories (based on common content) of the results of sex. You would turn the search cube in any direction and results would be filtered so, for example; in the rare case you’re not looking for porn, you could see clean results of it in 3 other categories. These could be, for example: sex (science), sex (porn), sex (culture) and sex (unfiltered)… bad examples but you get the idea.

So, if I’m interested in sex from the cultural point of view, I would turn the search cube towards that direction and see results in this category only. At any time, I can start turning it in other directions for different results. This solution would filter out all the porn when not interested and let me focus my search a lot more.

  sex (science)
  ---------------------------
s |                         |  s
e |                         |  e
x |                         |  x
  |                         |  (porn)
  ---------------------------
sex (culture)

This is one approach; the categorizing one. There could be a functional configuration of the polygon. For example, take google’s news, blogs, images, videos and search results. This would call for a Pentagon to do this trick so, you could use it, basically, the same wa you used the cube.

Oh, and, when I say “you turn the polygon” I mean it in a way as Compiz let’s you turn your desktop, but just bellow the search form in Google or any other search engine.

You should be able to build up various search polygons and store them.
They should be shareable too.
You could click on one and maximize it.
You should be able to combine them and store old versions automátically (wiki-like)
You should be able to import them to your web browser (open in tabs or polygon functionality)
They should be able to contain images, videos , results and whatever.

This is just an interface idea and introduces a whole new way of searching stuff. Feel free to implement since, here, I declare this idea as Creative Commons Attribution 3 Unported or >.

http://creativecommons.org/licenses/by/3.0/