A Django site.
March 8, 2010

Nicolás Varcarcel
nxvl
Nikolas Valcarcel
» Ubuntu awesome tools

Last week I was having a conversation with a friend, and while we were discussing some things I mentioned some Ubuntu tools that were completely natural for me since I use them every day in Ubuntu development and for my work, but he was completely amazed by them, so I decided to blog on the subject so more people can know about them.

I’m going to start with the one that impressed him the most: qa-regression-testing branch

The QA and security team maintain a test suite to check for regressions in packages they are updating. These tests are written with python unittest. Most of this test suite can be a little harmful for a production system, so it’s recommended to run it using a chroot environment or a virtual machine and to help with that there is a make-test-tarball script. From the script:

export HOSTS=”sec-intrepid-amd64 sec-hardy-amd64 sec-dapper-amd64″
export TEST=test-glibc-security
./make-test-tarball $TEST.py
for i in $HOSTS; do
scp /tmp/qrt-$TEST.tar.gz $i.local:
done
for i in $HOSTS; do
ssh -t $i.local “hostname; rm -rf qrt-$TEST; tar zxf qrt-$TEST.tar.gz; cd qrt-$TEST && ./$TEST.py -v”
done

As you can imagine HOSTS are the hostnames of the virtual machines where the tests are going to run.

Writing those test isn’t rocket science, you just need a little knowledge of the package and the functionality you want to test and python unittesting, there is even a skeleton script that can help you start writing your test.

Hope this information is useful for you! And as usual, patches are welcome!

September 10, 2009

Nicolás Varcarcel
nxvl
Nikolas Valcarcel
» Free meme

Here we go:
01:35 PM [~]
nxvl@buster $ vrms
Non-free packages installed on buster

fglrx-modaliases Identifiers supported by the ATI graphics driver
ion3 tiling tabbed window manager designed for keyboard use
linux-restricted-modules- Non-free Linux 2.6.28 modules helper script
linux-restricted-modules- Restricted Linux modules for generic kernels
nikto web server security scanner
nvidia-173-modaliases Modaliases for the NVIDIA binary X.Org driver
nvidia-180-modaliases Transitional package for nvidia-185-modaliases
nvidia-185-modaliases Modaliases for the NVIDIA binary X.Org driver
nvidia-71-modaliases Modaliases for the NVIDIA binary X.Org driver
nvidia-96-modaliases Modaliases for the NVIDIA binary X.Org driver
tangerine-icon-theme Tangerine Icon theme
unrar Unarchiver for .rar files (non-free version)

Contrib packages installed on buster

flashplugin-installer Adobe Flash Player plugin installer
flashplugin-nonfree Adobe Flash Player plugin installer
ion3-scripts user-contributed add-ons to the Ion 3 window manager
nvidia-common Find obsolete NVIDIA drivers

12 non-free packages, 0.7% of 1798 installed packages.
4 contrib packages, 0.2% of 1798 installed packages.

September 1, 2009

Nicolás Varcarcel
nxvl
Nikolas Valcarcel
» Canoniversary!

It has been a whole year since i joined canonical on 1st September 2008, it’s unbelievable a year went that fast, i’m still getting used to the company and suddenly, a whole year just went away, but as some people say, time flights when you are having so much fun.

I can describe this whole year experience in just one word: AMAZING! I’m having so much fun, even if i’m getting out of time for other things i wanted to do, everything has it’s price and working for canonical isn’t an easy task, a lot is expected from you all the time, but the company policy is to be friends more than co-workers, even if we don’t see each other to much.

In this year i’ve had the pleasure of visiting some friends all over the world while traveling for work or escaping a little before or after a work trip, i’ve also had the chance to meet some people i wouldn’t otherwise, like a guy i met in Germany that develops this horrible scripts that learn from my shopping customs and offer me stuff i want to buy (i said that guy that i hate him between jokes :P , c’mon you hate him as well) and learned things i wouldn’t in a normal local based company, i learned almost the hard way that when you say “Asian people” you are talking about Indians as well (isn’t it Polly?) and also notice how different cultures can be, some things that are completely natural and normal for me can be really disturbing and offensive for others and vice versa.

I’ve also have the joy of seeing some friends join the company and grow our friendship, as well as i’ve seen some good friends leave the company, but the sadness was compensated with the happiness that they are going for something better and that the friendship will continue.

It’s also always fun how when we meet in person is like we have worked in the same office for ever, people is always keen to have some beers, chat and test Pisco (no, i will never get bored of seeing your faces when you try it!). In summary, canonical is like a big family, you know, how people say that there is competition even inside a same company, well, this is not the case, people is always happy to help you and give you a hand when you need it, and even i thought it wasn’t possible to have a weekly meeting with your boss to talk about your personal lives before you start talking about work, it’s always nice to know that they care about you, not only about numbers and results!

That said i wanted to thank everyone in canonical, and the ones that already left for making this company such an amazing place to work! And special thanks for the two guys that helped me had this incredible opportunity (you know who you are!)

August 18, 2009

Nicolás Varcarcel
nxvl
Nikolas Valcarcel
» Launchpad is open!

I know i’m late with the news, but i’ve been busy with travels, conferences and catching up with what happened in work while i was away, is amazing how fast open source world can move in a couple of weeks, but as they say better later that never:

Launchpad is now open source, the announcement has been done almost a month ago, and there has been already some community contributions, big congratulations to all the people involved in this! I hope now that it’s not a closed technology more people will feel comfortable using it and contributing!

June 10, 2009

Nicolás Varcarcel
nxvl
Nikolas Valcarcel
» Kelly Bundy strikes again!

Kelly Bundy
No, they are not producing married with children again, and again no, there isn’t that Christina Applegate is involved on weird scandal or something. Is just that i’ve the Kelly Bundy syndrome again. What’s that? Remember the chapter where Kelly went to a knowledge contest and Al teched her to be prepared for the contest? Remember what Bud told his father when he started to tech her? “Every time you teach her something she will forget something else”. Well, being bleeding edge with the technology working in free software that changes every single day and you need to learn new things again every day produces this kind of situation when your brain get’s overloaded with information and you start forgetting things, for example i’ve just been told that i ask the same single question to my boss every day, i just keep forgetting that i asked, is frustrating! Again i need to calm down, take a deep breath and rest, my workaholism is playing on me again (i posted about same issue in the past, in Spanish). I need to aviod this, at least this time has been 1 and a half year without it!

» Speed meme

The best home internet connection money can buy in Perú, so sad:
Speed test

April 17, 2009

Nicolás Varcarcel
nxvl
Nikolas Valcarcel
» Meme: Ubuntu Action Pictures

new meme started, rules:
- wear an ubuntu t-shirt
- take a nice picture from you in an awesome location
- post it into the planet

Here is a photo of me after doing sandboard in the desert around the Huacachina oasis, Ica – Peru.
Ubuntu Action Picture

April 1, 2009

Nicolás Varcarcel
nxvl
Nikolas Valcarcel
» Guadalinex-Edu Beta Announcement

Guadalinex-EDU: New educational distribution based in Jaunty

Guadalinex Edu is a new GNU / Linux distribution developed by the Advanced Center for ICT Schools Management (CGA), initially created for use by the educational community of Andalucia, Spain which will be available for teachers and students within the domestic sphere. Guadalinex Edu distribution is equivalent to the future Guadalinex V6 citizen but oriented to the educational sector.

Looking for the highest possible level of stability in the distribution, the CGA will be releasing a beta version of the distribution, installable by anyone who wants it. The aim is to involve the educational community in the stabilization and development of Guadalinex Edu, before its deployment in local schools.

Guadalinex Edu Beta 1 is fully functional, but should not forget that this is a beta version which may contain errors from both: the applications included by the CGA in the distribution, and errors coming from the base distribution where it must be installed (Jaunty Jackalope Ubuntu 9.04), so it is not recommended for use in production computers and, in any case, it is recommend making a backup of important data before installation.

Within an ICT Center, Guadalinex Edu will take advantage of the network infrastructure and servers from the center to offer:

  • a system that allows any member of the center to become remote user of its data in any computer regardless of the dependence location in the center.

  • a system for transmitting multimedia content among computers in a classroom

  • a system of interaction between students and teachers via the computer

For domestic users, Guadalinex Edu is offered as a meta package to be installed on Ubuntu Jaunty and offers tons of applications like:

  • Celestia (space simulator)

  • Kstars (Planetarium)

  • Kgeography (Maps)

  • Parley (Vocabulary)

  • Squeak

  • DRAE Spanish Search tool (Lemurae)

  • GNU Octave

  • Kbruch (fractions)

  • Kig

  • KmPlot

  • KSeg (Geometry)

  • Mathwar (Game of calculus)

  • QtOctave (numerical calculus)

  • Freemind

  • Blender

  • Audacity

  • Festival GUI

  • KTouch (Typing)

  • Kompozer

  • Umbrello

  • K3b

  • Kino

Plus all the benefits of Guadalinex:

  • Spanish translation of many applications

  • Support for electronic ID Card

And Ubuntu:

  • A wide range of media devices support (kernel 2.6.28)

  • Firefox 3

  • OpenOffice 3

  • XOrg 1.6 , etc

Installation instructions for home users are available here(In spanish)

If you have a Launchpad account, you can add comments and report bugs at the following addresses (if you do not have an account, you can register with Launchpad for one)

Comments:
https://launchpad.net/guadalinexedu/+addquestion

Bug reports:
https://bugs.launchpad.net/guadalinexedu

Original link in spanish here

November 19, 2008

Nicolás Varcarcel
nxvl
Nikolas Valcarcel
» Updates

It’s has been a long time since i haven’t write a new post, so it’s going to be a bunch of updates of what’s going on and what have i been doing/plan to do:

Work @ Canonical
It’s has been almost 3 months working on Canonical and i need to say that is an awesome company, more than co-workers i feel like i have a lot of friends that share my interests, love the same i do and have passion for their work, a lot of really intelligent and funny people all over the company doing what they love: develop free software.
Also being in the OEM Solutions Group gives me the opportunity of working on an market that is still in development with the bleeding edge of technology reaching a lot of people working with the big companies, i just love to have the opportunity to be in such a nice company doing what i love.

Travels
I’ve been traveling a lot lately, long flights over the weekends meetings with a lot of nice people and having a lot of fun. I was on Latinoware and had an awesome time, meet a lot of ubuntu, gnome and debian people as well as other Free Software enthusiasts, it was a wonderful time in Brazil. Also and for work reason i’ve been visiting Boston a lot where i meet people like mako, ivan, Steve, sj and some others and had an awesome time with them.
Also it was nice to meet with some other canonical friends and make face-to-face work, have some beers and just talk about our plans and what we have been doing.

Jaunty
Jaunty repos are open and the development has started again, i will focus myself on having augeas on the shape we want it to be this summer (i’m a South American, so in a month) writing lenses, testing, and hopefully starting the development of a tool that uses it to manage the system and services, i will look forward to discuss about this at Fosscamp/UDS with the people interested on it.

October 3, 2008

Nicolás Varcarcel
nxvl
Nikolas Valcarcel
» What’s in my Encrypted ~/Private directory?

Following Dustin’s MeMe, here is my content:

[buster:~] nxvl$ ls -alF Private/
total 40
drwx—— 10 nxvl nxvl 4096 2008-10-03 13:14 ./
drwx—— 82 nxvl nxvl 4096 2008-10-03 13:36 ../
drwx—— 9 nxvl nxvl 4096 2008-10-03 13:36 .evolution/
drwx—— 3 nxvl nxvl 4096 2008-04-21 00:29 .flickr/
drwx—— 2 nxvl nxvl 4096 2008-10-03 13:13 .gnome2_private/
drwx—— 2 nxvl nxvl 4096 2008-10-02 21:48 .gnupg/
drwx—— 2 nxvl nxvl 4096 2008-10-03 00:51 .irssi/
drwx—— 4 nxvl nxvl 4096 2008-09-22 11:21 .mozilla/
drwx—— 6 nxvl nxvl 4096 2008-10-03 13:37 .purple/
drwx—— 2 nxvl nxvl 4096 2008-09-22 20:34 .ssh/

September 20, 2008

Nicolás Varcarcel
nxvl
Nikolas Valcarcel
» Here i am (meme)

Following the meme…

me

1. Take a picture of yourself right now.
2. Don’t change your clothes, don’t fix your hair…just take a picture.
3. Post that picture with NO editing.
4. Post these instructions with your picture.

September 12, 2008

Nicolás Varcarcel
nxvl
Nikolas Valcarcel
» It’s name is … (meme)

Following with the meme on Planet Ubuntu and started somehow in Planet Debian here it comes my machine names:
Current ones:
Laptop: Buster
Netbook: GogoDodo
Old Machines
Old Laptop: Marvin
Desktop: LePew
Work: LaFume
Palm: Tweety

Did you already guessed what’s the patron? If not, i always take those names from here. Thank you Wikipedia for having the complete list of the Looney Tunes Characters.

September 9, 2008

Nicolás Varcarcel
nxvl
Nikolas Valcarcel
» I’m going to fosscamp \o/

I'm going to fosscamp!!

September 2, 2008

Nicolás Varcarcel
nxvl
Nikolas Valcarcel
» VPS help!

I’m looking forward to get a VPS server with root access and ssh login, the requirements i have are not special, i just want to be able to have a mutt, screen and an irssi. It’ll we awesome if i can use it as build server too, so debian based system would be prefered. Did someone of you know/have a VPS that fits my requierements? Please let me know!

August 29, 2008

Nicolás Varcarcel
nxvl
Nikolas Valcarcel
» A month to remember

August 2008 has been an awesome month for me, there has been a lot of things going on in my life on the past 28 days, a lot of good news, awesome experiences and opportunities, but 4 of them are the most remarkable:

DisneyLand:
I went for second time to disneyland, this time with my girlfriend family. It was just awesome, i had fun like a kid again, i felt like i was 7 again. I even have a photo with Mickey Mouse!

I’m a MOTU
A few weeks ago i’ve been accepted in the MOTU Team, it has been a hard, but wonderful time contributing, learning, fixing bugs, knowing people and having fun and now i get my reward, i’m SO happy with this.

I’m going to latinoware
Some days ago i was invited to LatinoWare, taking place from 30th October until 1th November, to give a talk on the Ubuntu track, and to help in the organization of that track also. It would be my first talk in an international event, i’m so looking forward into it.

I get a new work
Starting on Monday, i will be working as Security Engineer in the OEM Services Group for Canonical. It’s an amazing opportunity to work with the bleeding edge technology, and specially on security, which is what i love!

For those reason specially, 08/2008 will be a month to remember.

August 14, 2008

Nicolás Varcarcel
nxvl
Nikolas Valcarcel
» I’ve got super powers!!

I need to thank to all the people who help me to start in this crazyness, all the people who checked, rechecked and point me my error (my lovely sponsors) and all my application supporters, we have something to celebrate now because… It’s official:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello everybody,

the MOTU Council is very happy with the contributions of Nicolas and is
happy to make him a MOTU!

Nicolas Nalcárcel's application:
https://lists.ubuntu.com/archives/motu-council/2008-August/001362.html

Søren Hansen's vote:
https://lists.ubuntu.com/archives/motu-council/2008-August/001373.html
Daniel Holbach's vote:
https://lists.ubuntu.com/archives/motu-council/2008-August/001376.html
Richard A. Johnson's vote:
https://lists.ubuntu.com/archives/motu-council/2008-August/001380.html

Luca Falavigna's feedback:
https://lists.ubuntu.com/archives/motu-council/2008-August/001366.html
Emanuele Gentili's feedback:
https://lists.ubuntu.com/archives/motu-council/2008-August/001367.html

Cesare Tirabassi's feedback:
https://lists.ubuntu.com/archives/motu-council/2008-August/001368.html
Chuck Short's feedback:
https://lists.ubuntu.com/archives/motu-council/2008-August/001371.html

Have a nice day,
 Daniel
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIpFFkRjrlnQWd1esRApraAJ9h77I5nlQPy3D9/RhbL9/k/E5YugCcCMn1
3mFmIiiNQ6OWSOIFOnUBlp0=
=Fk1M
-----END PGP SIGNATURE-----

August 9, 2008

Nicolás Varcarcel
nxvl
Nikolas Valcarcel
» unthinkable paranoia

Internet is now proved to be unsecured even if DNS are patched and i reached and unthinkable level of paranoia. Given that launchpad ppa (which are awesome for QA) doesn’t use signed packages, so i can’t actually check the integrity of them i’ve changed all my sources.list from url’s to ip’s so i can’t (at least i hope) be vulnerable to cache poisoning \o/

P.S: Please launchpad team, make ppa use signed packages!

August 8, 2008

Nicolás Varcarcel
nxvl
Nikolas Valcarcel
» I’m an official pitti fanboy!

Having one more of our europe’s morning martin pitt love conversations and jokes i was pointed to the pitti fanboys LP team, so i joined and get approved so now i’m an official pitti fanboy! What are you waiting, prove your fanboyism and make it official!

I simply love the Ubuntu community!

P.D: Should we create a ~dholbach-huggers team too?

July 23, 2008

Nicolás Varcarcel
nxvl
Nikolas Valcarcel
» RE: repurposing Planet Ubuntu

Ok, there has been a lot of noise (again) about what should be in ubuntu planet, last time i wasn’t a member so i didn’t comment on the topic, but being that now i am here are my thoughts on the topic:

  • Planet ubuntu is and should be a window to the community: Some people read planet to be up to date on the technical news, but that’s what changelog stands for, and planet ubuntu (or our blogs) aren’t actually changelogs. So the idea of limiting the what should be posted or not doesn’t seem really fair to me
  • Ubuntu member represent the ubuntu community: All of us, being part of this community, an being officially recognized as members of it, gives us the representation of this community and for the people we are not just a lot of single people, we are the ubuntu community as a whole, so everything you said is taken as if it comes from the community especially if it is on one of the community’s communication channel, like mailing lists or planet. So we need to thing 3 times after post something on them since it won’t be treated as our own and personal opinion, but as the community one.
  • Respects saved Respects: Before doing something it will be a good idea to think “If someone do this to me, would i like it?” If not, please don’t, everyone of us have different opinions on different topic, but it doesn’t give us the right to challenge people and be unrespectful. And said that you can say whatever you want, just need to find the right way to do it and express your opinion, is better to say “i don’t think so, i think is better like this” than saying “What were you thinking? that’s wrong!”

I don’t want to create more discussion on it, i think planet ubuntu is fine as it is now, and nothing need to be changed but the attitude of ourselves.

July 19, 2008

Nicolás Varcarcel
nxvl
Nikolas Valcarcel
» Augeas

I’ve been writing a lot about Augeas and all the process i go through to get it included in debian/ubuntu. It seems that a lot of people was following it, but some of them don’t actually understand the whole picture and what is augeas for, so i’ve been asked to write a post explaining what it is, so here we go:

From the upstream homepage:

Augeas is a configuration editing tool. It parses configuration files in their native formats and transforms them into a tree. Configuration changes are made by manipulating this tree and saving it back into native config files.

Actually, it is a library which does all that stuff and can be manipulated using its public API. But what does this actually means? I will explain it using augtool and /etc/hosts as an example. As you might know it has the information of the host names and their IP addresses, so let’s take this hosts as an example:

127.0.0.1 localhost localhost.localdomain host.domain

After parsing it on augeas we will end with:

/files/etc/hosts/
- - - - - - - - - - - 1/
- - - - - - - - - - - - ipaddr = 127.0.0.1
- - - - - - - - - - - - canonical = localhost
- - - - - - - - - - - - alias = localhost.localdomain
- - - - - - - - - - - - alias = host.domain

So, then we might want to change some values:

augtool> set /files/etc/hosts/1/alias[2] myhost.domain

Ending with:

/files/etc/hosts/
- - - - - - - - - - - 1/
- - - - - - - - - - - - ipaddr = 127.0.0.1
- - - - - - - - - - - - canonical = localhost
- - - - - - - - - - - - alias = localhost.localdomain
- - - - - - - - - - - - alias = myhost.domain

or add new values:

augtool> ins alias after /files/etc/hosts/1/alias[1]

what will turn into:

/files/etc/hosts/
- - - - - - - - - - - 1/
- - - - - - - - - - - - ipaddr = 127.0.0.1
- - - - - - - - - - - - canonical = localhost
- - - - - - - - - - - - alias = localhost.localdomain
- - - - - - - - - - - - alias
- - - - - - - - - - - - alias = myhost.domain

then we need to set a value since now it’s NULL:

augtool> set /files/etc/hosts/1/alias[2] myhost

ending like:

/files/etc/hosts/
- - - - - - - - - - - 1/
- - - - - - - - - - - - ipaddr = 127.0.0.1
- - - - - - - - - - - - canonical = localhost
- - - - - - - - - - - - alias = localhost.localdomain
- - - - - - - - - - - - alias = myhost
- - - - - - - - - - - - alias = myhost.domain

Then you can save it using:

augtool> save

Also you can add a new host, or whatever you want, just need to play with the tree.

Ok, but how this Black Magic work and how can i expand it to read new configuration files? Augeas uses lenses which are a Meta Data type using regular expressions that is being used for parsing, reading and writing configuration files. If you want to play around with lenses you can check this step-by-step tutorial written by Raphael Pinson (Thank you!)