Archive for the ‘Warp’ Category

Adelsried

Tuesday, August 5th, 2008

It’s been almost a week already since I arrived to Adelsried. I am going to work here for two weeks and a half (according to the initial contract at least). That means I can’t go to Akademy in the end, too bad :(

The town is quite small, with around 2000 inhabitants, and not much social life, except for the hotel where we are hosted. The hotel is great, probably the best I have ever been to. Great swimming pool and jacuzzi, really friendly staff, nice rooms with big and comfy beds, a magnificent “biergarten” where we have some drinks and dinner every night, delicious food, bikes to ride for free, … :)

Despite the lack of social life, the town is beautiful, first of all it’s in the middle of a natural reservation, with dense forests completely surrounding the city. Every house has a gorgeous garden with loads of flowers and some interesting decorations. The highlight is this really high pole in the city center with loads of coats of arms, and a pine on top of it. Hilarious :P

The work is pretty good too, bleeding edge stuff, really good working environment, nice and international workmates and free drinks :D

And today I uttered my first full sentence in German since lots of years ago!!!

Continuous integration with ANSTE

Tuesday, August 14th, 2007

I have just visited the eBox team room and I have discovered a really nice project they are working on. José Antonio Calvo (aka Josh) is creating a really cool suite of programs called ANSTE that allows a developer to define network scenarios and run tests easily on them.

We are going to use it to perform continuous integration for eBox, running a test of suites nightly to ensure that every module works correctly, which includes stuff like setting up two separate networks, connect them with the OpenVPN eBox module and checking connectivity through the vpn interfaces or ensuring that the traffic shaping module really does its job.

Josh’s work is not this far yet, but ANSTE is already able to read XML scenario definition files like this one and generate the Xen virtual machines as specified, with the appropiate software, virtual interfaces, routes, … as defined by the scenario file. It’s also able to run suites of tests which right now are simple scripts.

The next steps are integrating Selenium to perform automatized eBox configuration through a browser (thus testing the GUI too), creating nice GUI tools to generate the scenario files and manage the test suites and writing powerful reporting tools.

Of course, ANSTE is free software under the GPL license and you can follow (or contribute to) the development in ANSTE’s Trac.

eBox slated to be the official Ubuntu server management tool

Friday, July 20th, 2007

According to the latest news from the Ubuntu camp, Gutsy Gibbon will ship with our beloved eBox, and according to the last post in this thread in the Ubuntu forums, it’s going to be the official configuration tool for services.

I went to aKademy with eBox lead developer and workmate, Javier Uruen, and we had the chance to attend to Mark Shuttleworth’s keynote, where he argued about the benefits of having a six-months release cycle for the most popular open source projects (i.e., KDE, Gnome and OpenOffice).

I think this release cycle would suit eBox quite well too, and if synced with Ubuntu releases, would make life easier for both eBox developers and packagers, besides enlarging the free software “pulse”. In any case, we’ll continue to provide Debian-based installers where the base system won’t change that often, for those who are not willing to update their servers each six months.

Anyway, this is a big leap towards world domination for eBox :) We are quite happy that eBox made into Ubuntu and we’ll be eager to work with the maintainers to integrate their changes back into eBox.

disclaimer: I’m not an “official” eBox developer, so don’t take my opinions as authoritative, they come mostly from pub-talk with Javier

First complete user-contributed module for eBox

Wednesday, June 13th, 2007

eBox has reached an important milestone recently, it has just got its first complete user-contributed module.

I guess that’s quite important for a company-backed free software product, meaning that there is really a community out there, and it’s ready to contribute stuff :)

In addition it’s always great to know that you are doing a good work (snippet from Nacho’s mini-interview to the module author):

Quite honestly it

How to hire great people: drive, curiosity and ethics

Saturday, June 9th, 2007

I’ve just come across this article from Marc Andreessen about hiring.

It raises some interesting points about the hiring process, which he bases in three criteria.

Drive

I like to see what someone has done. Not been involved in, or been part of, or watched happen, or was hanging around when it happened.

If you’re a programmer: the open source project to which you’ve made major contributions.

Something.

If you can’t find anything — if a candidate has just followed the rules their whole lives, showed up for the right classes and the right tests and the right career opportunities without achieving something distinct and notable, relative to their starting point — then they probably aren’t driven.

And you’re not going to change them.

Motivating people who are fundamentally unmotivated is not easy.

Curiosity

Sit a programmer candidate for an Internet company down and ask them about the ten most interesting things happening in Internet software.

REST vs SOAP, the new Facebook API, whether Ruby on Rails is scalable, what do you think of Sun’s new Java-based scripting language, Google’s widgets API, Amazon S3, etc.

If the candidate loves their field, they’ll have informed opinions on many of these topics.

That’s what you want.

Ethics

Pick a topic you know intimately and ask the candidate increasingly esoteric questions until they don’t know the answer.
They’ll either say they don’t know, or they’ll try to bullshit you.
Guess what. If they bullshit you during the hiring process, they’ll bullshit you once they’re onboard.

He also links to Software Interview, a site which lists questions and answers that several companies use in their hiring processes.

1st WARPtivity: Ordesa

Monday, May 14th, 2007

Past weekend Warp had its first WARPtivity (which, as you may suspect, stands for WARP activity, you know, team building and that stuff).

We (including all partners and almost all workers) spent a night and a day in the breathtaking Ordesa valley. I’m quite biased as I love the valley since I was a child and have enjoyed lots of weeks there, but it’s indeed one of the most beautiful places I’ve ever seen. Unfortunately our regional government (PSOE and PAR, kick them out on the 27th May election) are spoiling most of the Pyrenees, I hope there is something left for the next generations.

We arrived at Torla (a little village near Ordesa) on Friday evening, had a great dinner and some drinks and played table football.

Next morning we woke up quite early and hiked through a nice forest path to the Horse Tail waterfall. After having lunch by the waterfall some of us decided to return by the Faja de Pelay, a higher path above the forest, with awesome sights. As it was still early May, there was some snow remaining in the path, making it a bit dangerous, as there is a 300 hundred meter cliff. Luckily enough we managed to survive and blog it :)

Xen + DCOP: automatic screenshots

Monday, December 25th, 2006

eBox is growing a lot lately, and updating screenshots is always a cumbersome task, so, prompted by a workmate, I decided to do something to get automatic screenshots.

The first step was to get an automatic way to install eBox from scratch to have something to get screenshots from. That was quite easy using the Xen facilities available in Debian. I only had to write a role for xen-create-image and now I can get an eBox up and running in a couple of minutes executing a simple “xen-create-image –role ebox –hostname ebox-screenshots”.

Using eBox introspection capabilities and some Perl magic, it was quite easy to autogenerate a list of the URLs that we should take screenshots from. Once we had the URL list and a running eBox all we have to do was to have a browser logging in the eBox web interface and loop through the URLs taking screenshots.

To achieve that I resorted to Ruby, Konqueror, KSnapshot and DCOP, and it took less than 40 lines of code to do it. The first problem was spawning Konqueror and KSnapshot instances and getting a DCOP reference for them, but that was easily done using Ruby’s fork, which is quiet convenient:

konqpid = Kernel.fork { exec("konqueror --geometry 1024x768+0+0") }
ksnappid = Kernel.fork { exec("ksnapshot") }
konqwin = KDE::DCOPRef.new("konqueror-#{konqpid}","konqueror-mainwindow\#1")
ksnapshot = KDE::DCOPRef.new("ksnapshot-#{ksnappid}","interface")

The second problem I faced was logging in the eBox interface, I had to enter the password and submit the form. Fortunately Konqueror’s DCOP interface offers a really nice “evalJS” function:

konqwin.openURL("https://#{ip}/ebox/")
konqhtml = KDE::DCOPRef.new("konqueror-#{konqpid}","html-widget1")
konqhtml.evalJS("document.getElementById('credential_0').value = 'ebox'")
konqhtml.evalJS("document.login.submit()")

and we’re in! :D

Now we only have to loop through the urls taking the screenshots. I had a little problem because ksnapshot expects you to click the left mouse button before taking the screenshot. Fortunately that could be easily fixed using xte from the xautomation package to simulate the click.

urls.each { |url|
 konqwin.openURL("https://#{ip}/ebox/#{url}")
 name = "#{konqwin.caption.split(/-/)[1].strip.gsub(/ /,'_')}"
 ksnapshot.slotGrab
 system("xte 'mousemove 100 100' 'mouseclick 1'")
 ksnapshot.save("#{outpath}/#{name}.png")
}

The code I pasted lacks a bit of initialization and some sleeps I put there to synchronize the stuff, but basically that’s all. I just love Ruby, KDE and DCOP :)

Hacking on eBox again

Saturday, December 16th, 2006

Last months I’ve been busy with some projects at work, involving some Qt programming, dealing with Cisco JTAPI and other nuisances, which have prevented me from working in eBox. My work desktop is about a meter away from the now three full-time developer eBox team, so I’ve been closely following the development process and participating in some design meetings and at last, I’ve found some time to write nice stuff for it again.

eBox lacked administration logging, that is, a log with every change made through the eBox administrative interface (quite useful to know when something was changed or who changed it), so I’ve added support for that in the eBox framework and have implemented the necessary stuff in two modules as an example. There is still a lot of work until every module reports every action to the module, but the core is already working:

As a nice side effect, now we can also show the changes that you are about to save or rollback:

FYI, a new eBox version (0.7.99, aka 0.8rc1) was released some days ago, you can give it a try. Check our downloads section. Obviously these changes won’t be included in 0.8, but in 0.9, which will also add a openvpn module, traffic shaping and other improvements.

Release frenzy

Tuesday, February 7th, 2006

I’ve been in release frenzy mode lately.

Yesterday, we managed to get eBox 0.7.1rc1 out! This (pre)release fixes tons of bugs, adds PDC support and features a installer based in Sarge Debian Installer + 2.6.12 kernel.

And a few hours ago we have released Battle for Wesnoth 1.1.1, with lots of new features, graphics (see new castle) and enhancements. Are you one of the few who hasn’t tried Wesnoth yet?

eBox platform is out!

Thursday, December 1st, 2005

So, at last, after lots of months of frenzy development, eBox Platform is out, released under the GPL.

Basically eBox platform includes a framework to create modules which control system services and lots of already available modules to setup network configuration, firewall,
NTP, DHCP, proxy cache, Jabber, file sharing, mail, … and more! Of course, using Debian as base distribution :)

And yup, it has been developed by my company. We really expect somebody find it useful and step into eBox development. For a quick run, you can consider trying the eBox Live CD (btw, mirrors are welcome).
:)

Update: For those interested, eBox is written in Perl, using Mason to write the HTML templates, thanks to Rhonda for talking me about Mason for the first time

Holidays, camera, work, Wesnoth 1.0rc1

Tuesday, September 20th, 2005

Hi, lovely dudes and dudettes.

I’ve just returned from my holidays at Valle de Hecho, a great place in the Pyrenees. I’ve been there for five days with my girlfriend and we have enjoyed them a lot. I would like to show you some photos, but unfortunately I lost my camera (which I had just bought four days before), so I only can show you the website of our hotel.

Today has been my first day at work after holidays. It has been quite nice, running your own company and working with friends is really great.

In other news, we’ve just released the first Wesnoth 1.0 release candidate, and I’m uploading the Debian packages just now. The core of the game (2539 strings) has already been translated to 16 languages, including Latin! We also have a brand new web. BTW, we’re always hiring developers ;)

latex-beamer + KPDF

Thursday, June 16th, 2005

I had to give a talk yesterday about OpenVPN, so I needed to create some slides. I really hate using programs like OpenOffice Impress or KPresenter to create them so I looked for a nicer approach.

Soon I discovered LaTeX Beamer, a LaTeX class to easily create a presentation. It was pretty straightforward to write the slides and generate a cool PDF from them (warning: they are in Spanish).

To display the PDF slides I used KPDF, the KDE PDF viewer that (as I already said) really kicks ass and has a nice presentation mode that works great.

Back in the office and Qucs

Monday, April 4th, 2005

Back from my holidays in Navarra (Baztan valley exactly, still trying to understand some Basque), I’m back in the office. Everybody must take something back from holidays to the office, and being in Navarra, you must surely choose a bottle of Patxaran.

Just before leaving I tried an interesting piece of software called Qucs, aka Qt Universal Circuit Simulator, a great graphical circuit simulator. It’s already stuck at the NEW queue, so I expect to have it in Debian soon.

First Warp hacking run

Friday, December 3rd, 2004

Yesterday we had our first hacking run at Warp. Guillermo, Javi and me worked on EBox from 10:00 AM to 6:30 AM (20:30 hours).

As we still don’t have DSL in our building we commited our changes through a wireless connection in
other building. The drawback was that we needed to go outside and it was really cold
(around 0

Hello world!

Wednesday, November 24th, 2004

Hello, world.We’re now a real Corp. We have … personal weblogs!