Search Results: "ag"

29 May 2009

Michal Čihař: Translate over web or not?

Recently we opened up translation of phpMyAdmin documentation over web using Pootle tool. As you can see on summary page, it gained some attention, but not much. You are still invited to translate! However this is not original reason for my post. The reason is that we got question, whether we want to use translatewiki.net for translating phpMyAdmin itself. Currently we use simple PHP files with strings to localize what probably won't change in near future and translatewiki.net seems to already support similar ways of localizing PHP applications. Now the question is whether to invest effort into this direction. Web based interface definitely lowers barrier for translating, but nobody is really responsible there and you may end up with poor quality. What is better, no translation, or not perfect translation? PS: I'd really prefer to migrate to gettext based solution for phpMyAdmin, but this seems unlikely, mostly because gettext as integrated in PHP is quite painful. Once you load translation, it is kept opened and any changes in the file lead to segfault and any replacing of the file is deleted. So the only way to make it see updated translation is to restart PHP (or Apache if you use mod_php).

David Wendt Jr.: awstool.py

Since I can't use a Eucalyptus cluster without breaking the usage restrictions on the default ec2-tools apps, I'm writing a set of Python scripts to do the same job. The APIs that the tools use are well-documented and don't have onerous hand-tying usage restrictions.

So that should be 'fully functional' by next week. By fully functional I mean being able to bundle an AMI, upload it to a cloud, and manage it's instances without crashing or screwing up. I'm probably not going to bother supporting stuff that Eucalyptus doesn't support, since the main focus of this is Eucalyptus and not Amazon EC2.

I'll also include a command for saving cloud settings, i.e. "awstool savecloud --ec2-cert --cert --url rightscale" which then lets you do something like "awstool upload-image --cloud rightscale debian-lenny.ami".

Also, pkg-escience has agreed to host the Eucalyptus integration project, so you can follow along at:

git://git.debian.org/git/pkg-escience/awstool.git

Ignore the first commit's e-mail address of 'kmeisthax@Lappy-486'; I forgot to set some config somewhere before I did the initial push.

Joey Hess: on wave

While I've only skimmed the available protocol draft and whitepapers, I do have a couple thoughts about wave. Firstly, I can imagine something like this supplanting not just email and instant messaging, but also web forums, blog comments, mailing lists, wikis, bug tracking systems, twitter, and probably various other forms of communication. (But not, apparently, version control systems.) While one might have an attachment to a few of those things, I think most of us would be glad to see most of them collectively die (especially twitter and web forums of course) and be replaced by a data-driven standard, with multiple clients, rather than their general ad-hoc, server-side generated nastiness. (The Project Xanadu guys would be probably be proud.) Secondly, while Google are making all the right noises about open protocols, multiple providers, etc, and probably only plan to lock in about five nines percent of users to wave.google.com before competing implementations arrive, wave is not a fully distributed system. Spec says:
The operational transform used for concurrency control in wave is [currently] based on mutation of a shared object owned by a central master. The wave server where the wave is created (IE that has the first operation) is considered the authoritative source of operations for that wave.
If the master server goes away, it sounds like a wave will become frozen and uneditable. There seems to be no way to change the master server after a wave is created, without ending up with an entirely different wave. (Update: The demo, around minute 70, seems to show a private modification to a wave being made on another server -- so I may be missing a piece of the puzzle.)
The concurrency control protocol will be distributed at some point in the future
How many centralized systems have been successfully converted into distributed systems? In a similar vein, after reading this whitepaper, I'm left unsure about whether it will be possible to respond to (edit) a wave while offline. Maybe, as clients can cache changes, but how well will conflict resolution work? It seems it would have to be done in the client, and there are some disturbing references here to clients throwing their local state away if they get out of sync with the server.

Jordi Mallach: Barcelona

Last weekend I finally managed to travel to Barcelona to visit my family and some friends. As my agenda was quite packed with stuff to do, I was unable to find out if any of the Ubunteros had arrived early for UDS, and I left just after lunch on Sunday. Unfortunately, I had totally missed that before UDS, Canonical held their allhands meeting, and it would have been easy to meet them on Friday night after I got in the city. What a pitty, and sorry about this, mdz, I would have loved to meet... :( In other Barcelona news, I'm sure that UDS attendees will be astonished (or fed up!) by the football crazyness going on right now. Last night I went to a culer bar near Woody and enjoyed watching how Bar a claimed brilliantly their 3rd Champions Cup. For someone who normally doesn't care that much about football, the last few weeks have been incredible. Today I visited my 96 year old grandfather, and even if he has lost much of his expressiveness and energy since the last few months, today he was visibly happy and proud of what his Bar a has managed to accomplish this season. Three titles, plus literally going over Real Madrid in Santiago Bernabeu. Bar a is definitely m s que un club, and I'm happy that my grandfather was able to enjoy it.

28 May 2009

Michael Prokop: Debian.Developer->add_member( mika )

Since 2009-05-28 I m an official Debian Developer. Thanks to all involved people. Special thanks to Gerfried Rhonda Fuchs for being my advocate and a helpful package sponsor, to Alexander formorer Wirt for being a helpful package sponsor, to Christoph Myon Berg and Bernd bzed Zeimetz from the frontdesk and to Marc he Brockschmidt for being a great Application Manager.

Colin Watson: code_swarm video of Ubuntu uploads

Joey Hess posted a draft of a code_swarm video for d-i a couple of weeks ago, which reminded me that I've been meaning to do something similar for Ubuntu for a while now as it's just about our archive's fifth birthday. I have a more or less complete archive of all our -changes mailing lists locally (I think I'm missing some of the very early ones, before the end of July 2004; let me know if you were one of the very early Canonical employees and have a record of these), and with the aid of launchpadlib it's fairly easy to map all the e-mail addresses into Launchpad user names, massage out some of the more obvious duplicates, and then treat the stream of uploads as if it were a stream of commits. If you haven't seen code_swarm before, each dot represents an upload, and the dots "swarm" around their corresponding committers' names; more active committers have larger swarms of dots and brighter names. I assigned a colour to each of our archive components (uploads aren't really at the C code vs. Python code vs. translations vs. whatever kind of granularity that you see in other code_swarm videos), which mostly means that people who predominantly upload to main are in roughly an Ubuntu tan colour, people who predominantly upload to universe are coloured bluish, and people with a good mixture tend to come out coloured green. If I get a bit more time I may try to figure out enough about video editing software to add some captions. Here's the video (194 MB).

Joerg Jaspert: RIP

rip.png Gone today, early afternoon, after ~ 8 years being the most insane and funny little bird I ever had.

Lior Kaplan: Get Openoffice.org icon on a new laptop


I recently saw a new bought Toshiba laptop. While the laptop had Vista installed, and also the Microsoft Office 2007 trail eddition, it had an icon named Get Openoffice.org . I guess they didn t just install Openoffice.org due to some limitaion from Microsoft (I m just speculating), but still putting such an icon isn t common (at least with the laptops I m seeing). I hope more and more hardware manufactuers will install free software by defualt. Posted in Free software applications, Openoffice.org, Proprietary software Tagged: openoffice

Adrian von Bidder: buthead ... or where we learn about the secret art of RTFM

Thinking that this might be worth hacking on tail (because I felt the functionality would be better kept there than in head), I started to have a look at its source. Lo and behold! tail -n +N already does exactly this... (Obviously a followup to Zack's comment on my previous posting.)

Stefano Zacchiroli: command of the day: buthead

looking for head -v? enjoy buthead Been looking for buthead for a while, package buthead (eh), thanks Adrian. Too bad he has a package of its own instead of being part of, say, moreutils, or head itself, ... Update ... it is integrated in plain old tail though, and it's even in POSIX. Amazing how things like that can stay unknown for a while. More info in comments.

Stephan Peijnik: update-manager on alioth

As I noted in this weeks update-manager progress update one of my tasks was to create an alioth.debian.org project and get my branches uploaded to Debian. I did not imagine that alioth admins (hi there, a huge thank you goes to you guys) would be this fast with reviewing and accepting the project and enabling bazaar support for me.
Anyways, the project has been accepted and its new home is on alioth. I have also already uploaded both my update-manager branch and python-apt branch to bzr.debian.org Additionally I have generated the API documentation, which is also hosted on alioth, and created a development disccusion mailing list, update-manager-devel at lists.alioth.debian.org. If you are interested in this project feel free to have a look at what I ve done so far and join the development discussion. Comments, critizism and ideas are always welcome.

Adrian von Bidder: Installing self-compiled packages

A script I keep reinventing again and again: installing those binary packages from a self-compiled package where the other (presumably older) version is already installed on the system. I don't have time to make this generic right now, but still...
for i in *deb; do 
    echo $ i%%_* ;
done   xargs dpkg -l 2>/dev/null \
      buthead 5 \
      cut -f 3 -d \  \
      while read p; do
         echo  $ p _4.2.3-1vbi_i386.deb;
      done \
      xargs sudo dpkg -E -i
Update: I don't know how I managed to see -E in dpkg's manpage but miss -O which is right above it. Thanks, Guillem. Josh: Either my english is just not good enough, or the manpage of debi is from a slightly different reality. I just can't make out what, exactly, the tool tries to do. (Ok, since dpkg -iOE does exactly what I want anyway I didn't try very hard either.) Update: RTFM.

Sandro Tosi: Update on the Matplotlib book

Some people asked me how's the book writing is going. Ah you're right, it's a loooong time I didn't say anything of the progress, and here it is.

I've just turned the half of the book: about 10 days ago I've sent the 5th chapter (out of 10) and up to now I've covered this (high-level) contents by chapter:

  1. installation & setup
  2. first contact with mpl
  3. some more stuff (like graph types)
  4. OO style and some advanced things
  5. GTK embedding
6th (and current) chapter is about Qt, so even KDE guys will be happy :)

I found several problems when working with GUI design programs: both Glade and Qt Designer made me scream a lot; but probably it's just me that I'm not so used to GUIs :)

Other arguments will be: Wx, web, real use cases.

In particular for the last part (real cases) I'd like to hear some proposals from you. I've already got something in mind, but users opinion will help me direct my work better.

Sorry, I've got to "drop/reduce" the science chapter (it was superseded by the real use-cases one) since I don't think this is the right place for it. Of course, a couple of "science examples" might come into the mentioned chapter, but your proposals have to be at a low-medium level.

Evgeni Golov: When people dont understand recursion

While drinking my coffee, I stumbled over http://www.longurlplease.com/ on Golem.de (sorry, it's German).

They say, that when you get a shortened URL, you

That sounds correct, esp with the "funny" "new" ideas of the German government about blocking sites with 'Kinder"pornographie"' (sorry for the German again, and for the multi-quotes, but they say I have to call it like this...) and recording those who try to access such sites.

Anyways, that great service over at longurlplease.com will make the world a safer place:

(the lists are copied from their site, without care about proper rewording for my context)

Sounds great, huh? And they even support 65 different shorturl services. But lets see how they support the same service twice in a row (should be easy too, right?).

  1. Go to http://tinyurl.com/
  2. Create a shorturl for http://gpl.imageafter.com/ (= http://tinyurl.com/oae8sx)
  3. Go to http://tinyurl.com/
  4. Create a shorturl for http://tinyurl.com/oae8sx (= http://tinyurl.com/r6n74h)
  5. Ask the longurlplease.com API about http://tinyurl.com/r6n74h (curl "http://www.longurlplease.com/api/v1.1?q=http://tinyurl.com/r6n74h")
  6. See "http:\/\/tinyurl.com\/r6n74h": "http:\/\/tinyurl.com\/oae8sx" as result
  7. Laugh and spread double-shortened Rick-Rolls (people will love you!)


That makes the whole service somehow useless, as you gain exactly nothing, and tell longurlplease.com about each shorturl that comes to your browser (if you have the Firefox plugin installed).

On the other hand, the creator could easily add a recursive resolver, but I bet he (or she? or they?) won't do that, when one does not want the service to die completely in a endless loop (I don't have a black hat, neither I have a white one - I actually don't like hats at all, but it should be possible to construct some funny redirection loops with such services).

Update:
It seems tinyurl.com was intelligent and changed that behaviour now:
Error: TinyURL redirects to a TinyURL.
The URL you followed redirects back to a TinyURL and therefore we can't directly send you to the site. The URL it redirects to is http://tinyurl.com/oae8sx.

But one still can fake this:
http://ow.ly/9Arf -> http://tinyurl.com/oae8sx -> http://gpl.imageafter.com/

Paul Wise: Importing GeoRSS feeds into TangoGPS

DebConf9 is getting closer so I was browsing the Internet and the DebConf9 wiki for information. When I'm travelling I enjoy having maps to be able to get around and not get lost. For DebConf8 I relied on TangogGPS with OpenStreetMap on my OpenMoko Freerunner since my laptop is fairly cumbersome and has relatively little battery life these days. For DebConf9 I'll probably do the same since navit doesn't seem too reliable for me yet. During my information gathering for DebConf9 I came across the DebConf9 map overlay and the Madrid free Wi-Fi map. I wanted to have these available in TangoGPS so I wrote a short python script to import them into the TangoGPS POI (points of interest) database. It requires the feedparser and beautifulsoup python modules. First download the GeoRSS feeds you are interested in and then run the script on the machines where you want to use TangoGPS with the filenames as arguments. It only handles points, not lines or polygons since TangoGPS doesn't allow that. Hopefully it will be included in TangoGPS upstream or the Debian TangoGPS package soon. If you want to update the feed you'll need to manually delete the relevant points from the database or remove and recreate the database and then import the feed(s) again.

27 May 2009

Gunnar Wolf: Encuentro Centroamericano de Software Libre

 vos tambi n pod s ir! Yup Over a month ago I was contacted by Norman Garc a (who I met via the various EDUSOL activities), and Ren Mayorga (who I met thanks to his Debian involvement) inviting me to join them for the First Central-American Free Software Encounter. I had insisted to several Central American friends on setting up such an encounter for several years, and I am really glad I was invited. So, if you happen to be near Central America between June 17 and 21, don't miss it! They are even organizing a bus (which still has place for more travellers!) going from Guatemala City, passing through San Salvador, Tegucigalpa and arriving to Estel , Nicaragua. I must also prominently thank Fernando Romo and Neocenter for kindly offering to sponsor my flight to Nicaragua. You rock!

Stephan Peijnik: update-manager weekly update #0

It has been more than a month since I last wrote about my work on update-manager during this year s Google Summer Of Code and I am somewhat ashamed I wasn t able to provide you with updates more regularly. So first of all, yes, I did do some work and yes, there has been quite some progress. Basically both private and university stuff have kept me from writing and that s why I d like to start with this series of weekly updates today.
This series are meant to summarize what has happened during a week of writing code and give you an overview of what s happening. This first issue however will sum up the past month. So let me begin explaining what has happened since my last post. update-manager bazaar repository All code I have written so far is available through a public bazaar branch on launchpad.net. My branch s page can be found here and provides you with its history and of course instructions on how to obtain the code. The location is only temporary though, as I am going to move hosting over to alioth.debian.org. This is on my task list for next week. modular design I have ripped apart nearly all of update-manager and put it together in a more modular way, which should implementing new frontends or backends more easy, whilst also simplifying code maintenance. The new design consists of four major parts: backend implementation When I started working on update-manager it heavily relied on synaptic and used it to do the dirty-work. However, together with my mentor, mvo, I decided to drop synaptic support and rather concentrate on using python-apt. This means that the only backend implementation right now is a python-apt backend. The python-apt backend is currently a work in progress, but already includes some basic functionality. Right now it can (re-)load the package cache and package lists and is able to provide a list of packages which are upgradable to the frontend.
Whilst implementing these functions I noticed some shortcomings of python-apt itself, fixed those and got mvo included in his python-apt branch at launchpad. frontend implementation I started re-implementing the Gtk frontend as provided through current update-manager and right now it visualizes the package cache reloading process and provides users with a list of upgradable packages. However, that s pretty much all of the functionality it includes right now, which is why implementing more functions is pretty much on the top of my todo list. Additionally I have ported the text frontend, as included in Ubuntu, to the new modular system, and this frontend s code really shows how easy adding a frontend with the new modular design is. This frontend contains the same functionality as the Gtk frontend. distribution specific code The core described above does not include any distribution specific code anymore, which is the main focus of this project. The implementations of distribution-specific functionality contains classifiers for update categories for both Debian and Ubuntu, whilst I focused on getting things right with the Debian implementation for now. These classifiers allow the frontend to let the user know which kind of update they are about to install, like a security update, a recommended upgrade or a third-party (unofficial) upgrade. documentation As update-manager was poorly (read: hardly at all) documented I started documenting the API using sphinx. However, right now the generated documentation cannot be found anywhere yet. This should change as soon as an alioth project for update-manager has been created. next week s tasks I would also like to provide you with my task list for the coming week. The list, ordered by priority, is: As you can see this list is rather short. This can mainly be attributed to a few university assignments, and instead of providing a long list of tasks which I probably won t be able to finish I rather keep the list short and hopefully get things not on this list done too.

Clint Adams: The new disco ball from Leeds

I wonder what this means. Is it a reference to the ftp and release teams thinking that they are entitled to block packages from being uploaded to unstable? Is it a reference to the core team members thinking that they are entitled to operate without transparency? I cannot guess.

Adeodato Sim : Meritocracy and entitlement

Via Planet Bazaar, this paragraph from a post by Paul Hummer caught my attention (emphasis mine):
Finally, I wrote an open ended question to myself to think about, and thought that maybe I d throw it out here as well. For context, Jono Bacon was talking about community (y know, plugging his book and all that :), and I wrote Open source thrives on a meritocracy - how can we prevent feelings of entitlement? I see this a lot in open source communities: people earn their commit rights and then start behaving like everyone owes them something. Collaboration is about peers, not about hierarchies.
Now I m reposting that here because, although I m not very keen on philosophizing myself, something in that thought was of immediate appeal to me.

David Welton: Objective C vs Cocoa

I've been adding a few things to LangPop.com, specifically ColdFusion (it's not something I'm interested in, but I've had a lot of requests for it...) and Objective C, which is quite popular indeed, thanks to Apple. Indeed, it is Objective C that is a bit problematic: "Cocoa" is more widely used than the name of the language itself! On http://search.yahoo.com, Cocoa programming turns up a lot more hits than Objective C programming:
  • "objective c programming: 71,300
  • "cocoa programming" : 608,000
That's an order of magnitude! Now, on one hand, I aim to measure popularity of the language itself, not of libraries. I simply can't add every popular library, toolkit or framework for every language - it would be a huge task, and would likely only really make the results worse. However, it might not be entirely fair to leave that many actual users uncounted just because they all use Objective C in one particular environment. And just to further complicate things, while most people using Cocoa are writing Objective C code, there are other bindings for it... My inclination, for simplicity's sake, is still to simply go with Objective C. What do you think?

Next.

Previous.