Activity Not Available


  Analyzed 7 months ago based on code collected almost 2 years ago.
Posted almost 2 years ago
So, this is a long story so I will try to keep it short.

The phone-app running on ubuntu touch is a telepathy client.
phone-app uses telepathy-qt to talk to telepathy.
telepathy-ofono is a bridge between ofono and ... [More] telepathy.

So far so good. The problem comes now:

telepathy-ofono was initially developed in python and python-telepathy
python-telepathy is deprecated in favor of pygobject

This means that we will eventually need to drop python-telepathy,
and this is why we are porting the current telepathy-ofono from python-telepathy
to telepathy-qt. Phone-app highly depends on telepathy-qt already, so this move
seems to be pretty reasonable.

But we have one more problem to solve: telepathy-qt does not provide full support
for connection managers, which is currently a big blocker.
Fortunately an initial (and working) support for telepathy connection managers was
added by Matthias Gehre. [1]
He implemented many telepathy service side interfaces and they seem to work fine.

Based on his implementation I’ve started to develop a new telepathy-ofono [2] a few weeks ago.
Using the same idea of the existing interfaces, I added support for some other interfaces
needed by phone-app, like the call channel interface (Channel.Type.Call1), call content (Call1.Content),
mute (Call.Interface.Mute) and hold (Channel.Interface.Hold). [3]

There are some other missing interfaces that I will be adding support in the next
few days, like DTMF (Call1.Content.Interface.DTMF).
I hope I can finish implementing everything soon so I can submit a merge proposal upstream later next

Ok, looks like we are good telepathy wise, but we still need to talk to ofono. Fortunately there is a project called ofono-qt [4]
that helps doing this job.
Nothing is perfect and looks like it is a bit outdated. The ofono api changed a bit since the last
commit to the project, so I updated some methods and I also intend to propose a merge upstream soon. [5]

That’s it. The new telepathy-ofono based on telepathy-qt is on its way.

I will finish this post with a small TODO list so it’s easier to understand what’s still missing
and what will be done next.

- Fix eventual crashes when clients close call channels
- Check why objects paths are still exposed on dbus even after the channel is closed
- Implement DTMF interface

- implement DTMF support
- implement custom voicemail properties
- implement online status support



Posted almost 2 years ago
Yup, it’s that time again – one of the bigger weeks of the Test Day cycle, as Graphics Test Week lands once more.

Tomorrow, Tuesday 2013-04-23, is Intel graphics Test Day. Wednesday 2013-04-24 will be Nouveau Test Day. And Thursday ... [More] 2013-04-25 will be Radeon Test Day.

As always, we’ll be looking to test out the widest possible range of hardware and see how well it works with the very up-to-date graphics stacks in Fedora 19. As Fedora uses very recent builds of the relevant components and sends all its work upstream, contributing to these Test Days can help out all other distributions, not just Fedora – so please, even if you’re not a Fedora user, consider coming and contributing your testing! We provide comprehensive instructions and live images for testing, so you won’t need to replace your current distribution or do a permanent installation of Fedora at all if you don’t want to. You can easily write a Fedora live image to a USB stick, so you don’t even have to waste a DVD.

We always want to get as much data as we can in these events, so please, if you have a few minutes, help us out and perform the tests for your system(s). If you can’t make the correct date for your hardware, no problems – you can file results early or late and we’ll still be able to use them. It’s also fine to come to the IRC channel on the ‘wrong day’ and ask questions – we’ll have folks in the channel all week who will answer your questions if they can. The testing is very easy, and if you don’t have time to run through all the test cases, partial results are still very useful – if all you have time to do is boot the live image and check whether the desktop appears on your system, even that is useful.

As always, the full instructions and live images are on the Wiki pages: Intel, Nouveau, Radeon. Fedora QA team members and graphics developers will be hanging out in the #fedora-test-day channel on Freenode IRC to help out with testing and debugging any problems you come across, so please come join us there if you’re taking part! If you’re not sure what IRC is or how to use it, we have instructions here, and you can also simply click here to join the channel through a Web front end – all you need to know is that IRC is a chat system. [Less]
Posted almost 2 years ago
This is something I have been asked and I was at first under impression this was only available in v3, digging a bit more into the code there is actually a way to do that in v2 when you are using PKI tokens. Since I could not find much documentation ... [More] is here is some steps describing how to do it.

First let’s generate a new PKI token, you can do it like this:

$ curl -s -d '{"auth": {"tenantName": "tenant", "passwordCredentials": {"username": "user", "password": "password"}}}' -H 'Content-type: application/json' http://localhost:5000/v2.0/tokens
or get my script here :

and use it like that :

eval $(bash ks -s localhost tenant:user password)
it will give you a variable $TOKEN and a variable $STORAGE_URL that you can use further down.

now let’s try to use it with our swift :

$ curl -i -H "X-Auth-Token: $TOKEN" ${STORAGE_URL}
HTTP/1.1 204 No Content
Content-Length: 0
Accept-Ranges: bytes
X-Timestamp: 1366666887.01151
X-Account-Bytes-Used: 0
X-Account-Container-Count: 0
Content-Type: text/html; charset=UTF-8
X-Account-Object-Count: 0
X-Trans-Id: tx5b50dc6d01d04923a40a1486c13dd94d
Date: Mon, 22 Apr 2013 22:01:00 GMT
all good here,

so now go inside your keystone.conf and get your admin/service token or use that friendly copy and paste command line :

$ ADMIN_TOKEN=$(sed -n '/^admin_token/ { s/.*=[ ]*//;p }' /etc/keystone/keystone.conf)
and use it to DELETE the token we do that request directly to our keystone which is localhost here point it wherever you want:

$ curl -X DELETE -i -H "X-Auth-Token: $ADMIN_TOKEN" http://localhost:5000/v2.0/tokens/$TOKEN
HTTP/1.1 204 No Content
Vary: X-Auth-Token
Content-Length: 0
Date: Mon, 22 Apr 2013 22:01:08 GMT
We can still use it because the token is still in the cache. By default tokens are cached in memcache as good as 5 minutes but the
revocation list is fetched every seconds or so.

$ curl -i -H "X-Auth-Token: $TOKEN" ${STORAGE_URL}
204 No Content
Content-Length: 0
Accept-Ranges: bytes
X-Timestamp: 1366666887.01151
X-Account-Bytes-Used: 0
X-Account-Container-Count: 0
Content-Type: text/html; charset=UTF-8
X-Account-Object-Count: 0
X-Trans-Id: tx9018045ce1324203a91e882ec6d27ac3
Date: Mon, 22 Apr 2013 22:01:12 GMT
but after a bit (like over a minute or so) we are getting a proper denied:

$ curl -i -H "X-Auth-Token: $TOKEN" ${STORAGE_URL}
HTTP/1.1 401 Unauthorized
Content-Length: 131
Content-Type: text/html; charset=UTF-8
X-Trans-Id: tx9133daf949204f0facf45152a43836bb
Date: Mon, 22 Apr 2013 22:27:23 GMT

>h1<Unauthorized< This server could not verify that you are authorized to access the document you requested.

and from log messages:

proxy-server Token 49d94a8ca068013b6efe79e3463627c8 is marked as having been revoked
proxy-server Token validation failure.#012Traceback (most recent call last):#012 File "/opt/stack/python-keystoneclient/keystoneclient/middleware/", line 689, in _validate_user_token#012 verified = self.verify_signed_token(user_token)#012 File "/opt/stack/python-keystoneclient/keystoneclient/middleware/", line 1045, in verify_signed_token#012 raise InvalidUserToken('Token has been revoked')#012InvalidUserToken: Token has been revoked

proxy-server Marking token MIIGogYJK...... as unauthorized in memcache

bingo the token has been now revoked properly. [Less]
Posted about 2 years ago
Eu li a tão falada Proposta de Emenda Constitucional número 37, cujo texto especifica que investigações criminais devem ser feitas exclusivamente pelas polícias federal e civil.

Como não entendo muito do assunto (confesso que meu engajamento ... [More] político é bastante limitado), resolvi tirar minhas dúvidas com um advogado amigo meu antes de me posicionar a respeito. Como a resposta dele foi bastante detalhada e esclarecedora, resolvi publicá-la aqui no blog. Segue a resposta na íntegra:

Na verdade eu não conheço o texto da PEC, mas apenas que se pretende com ela restrigir o poder de investigação do Ministério Público. Eu considero isso muito ruim. Nós não vivemos na Alemanha ou na Suíça, em que os níveis de criminalidade são baixos. No Brasil, 50.000 pessoas são assassinadas todos os anos e, veja só, mesmo o MP tendo poderes investigativos, cerca de apenas 1% desses assassinatos acabam sendo julgados. É um absurdo. Imagine então se o MP não tivesse poder investigativo… Esse é só um exemplo de crime, existem muitos outros. Normalmente o MP investiga casos de outro gênero, vinculados à corrupção, lavagem de dinheiro e tráfico de drogas, mas todos eles de alguma forma geram outros tipos de violência, inclusive homicídios, como é o caso do tráfico.

Quanto à forma como é feita a investigação pelo MP, não é verdade que não há rigor. O que ocorre é o seguinte: alguém vai ao MP e faz uma denúncia. Diante dessa denúncia o MP pede informações a órgãos públicos, convoca pessoas para prestar depoimento e faz outras diligências apenas para verificar se a denúncia tem algum fundamento. Essa fase é realmente informal, porque não teria como ser diferente, já que não se sabe ainda se há ou não alguma irregularidade. É apenas uma averiguação preliminar. Se o MP encontrar algum indício de irregularidade, é instaurado um inquérito policial (no caso criminal), e a partir de então o procedimento ocorre em conformidade com o Código de Processo Penal (CPP). No CPP são estabelecidos prazos para realização das investigações e o modo como isso deve ser feito, tudo sob o crivo do juiz, que verifica a cada passo se tudo está acontecendo em conformidade com a lei.

Ou seja, as investigações realizadas pelo MP não ofendem nenhum direito ou garantia dos cidadãos. Até porque o MP não pode mandar prender ninguém, nem apreender bens ou determinar uma escuta telefônica, por exemplo. Nem a polícia pode. Somente a justiça pode mandar prender pessoas ou apreender bens, enfim, impor restrições aos direitos dos cidadãos. Só é possível prender alguém sem ordem judicial se for pega em flagrante.

Em relação à investigação dos crimes cometidos pelos policiais civis e federais, mesmo hoje ela pode e deve ser realizada pelas Corregedorias dessas polícias. Corregedoria é um órgão interno que cuida de eventuais desvios de conduta dos seus integrantes. Contudo, exatamente por ser órgão interno, muitas vezes, por questões de política da corporação, muitos casos são abafados. Aí é que está um dos problemas.

Mas o que me parece essencial é que a Polícia Federal, por melhores que sejam seus integrantes, faz parte do Ministério da Justiça, que é um órgão do Poder Executivo, não pertence ao Poder Judiciário nem ao Poder Legislativo. E sendo desse modo, há sempre o risco de o Governo, seja de que ideologia for, impedir investigações, amordaçar os delegados e agentes da PF. O Governo faz isso. De vez em quando eles soltam alguma manchete dizendo que fizeram operação X ou Y e que prenderam tantas pessoas, mas só para mostrar que estão fazendo alguma coisa e, com isso, esconder o que não estão fazendo, o que estão engavetando. A atuação do MP nesses casos é essencial, porque não é subordinado ao Poder Executivo, ao Governo, tem autonomia a ponto de ser considerado um 4º Poder da República. Não por acaso foi uma investigação liderada pelo MPF (Ministério Público Federal) que descobriu o esquema do mensalão.

Ficando no exemplo do mensalão, esses dias atrás li um depoimento de um rapaz que foi aprovado recentemente num concurso de juiz federal e, até então, ele era delegado da PF. Ele disse que no primeiro mandato do Lula, quando o Min. da Justiça era o Márcio Tomaz Bastos, era uma maravilha trabalhar na PF, porque eles tinham ampla liberdade investigativa. Quando saiu o Márcio T. Bastos e entrou o Genoíno (2º mandato do Lula), a coisa mudou por completo e a PF foi amordaçada. Não por acaso essa época de troca de ministros aconteceu pouco tempo depois da descoberta do mensalão.

Ou seja, os que querem acabar com o poder investigativo do MP querem, na verdade, impedir que as suas próprias maracutaias sejam descobertas. Aqui vale o velho ditado: quem não deve, não teme.

Após ler a resposta, cheguei à conclusão que esta proposta não é benéfica, e resolvi assinar a petição do Ministério Público visando vetar essa emenda. Para quem também quiser assinar, segue abaixo o link: [Less]
Posted about 2 years ago
First of all, I have written my recent hacktivity log over on my new blog, and I am not posting it here, because it involves a lot of non-code hacktivity, which I expect to do quite a lot...
Posted about 2 years ago
How I feel when I try to address all pylint warning/errors:


Adapted from
Posted about 2 years ago
As indicated, I had the opportunity to talk during the first Distro Recipes event organized in Paris last week, at the invitation of Hupstream. As Yoann Sculo posted, this was a very interesting day for me, and I really regret I was busy to also ... [More] attend the first day and the opening.

After a nice welcome breakfast, Aurélien Bompard started by presenting the Fedora distribution.

He did a great job especially expalining how easy it was to become a Fedora maintainer, even if a comparison to Debian revealed that it’s much less different that what people may think (it also takes time to become a packager able to modify most distro packages) and I know by experience that the Fedora packagers are really picky (sometimes for not so good reasons) with new contributions.

After that I talked about HP and Linux distributions. I used in fact the standard HP marketing presentation of the company as a starter (modified of course to suit my needs and include more penguins !) in order to explain the span of our activities, our relationship with communities including distributions, announced that HP will even soon provide firmware for ProLiant servers under a package format (rpm and deb), the fact that HP doesn’t see Linux demand for desktop/laptop on the consumer market (no, it’s not just a price issue that would make Linux more appealing in that case as I justified) but that we do support Linux on some enterprise desktops/laptops. Hopefully this was useful and/or new to some of the audience.

Then Dodji Seketeli made the type of talk making you believe that you could contribute to gcc ! Of course, when he details how much time it took him to add some of the features of the next stable version, you know you can’t ! Well I at least Anyway lots of good news and features that make that future version 4.8 expected soon.

That conclude our morning sessions, and it was then time to eat !! Especially as we had a great buffet waiting for us as you can see:

In order to avoid a sleepy afternoon, we started right after by a round table with 7 people (!), that I had the pleasure to chair. With a representative of each distribution (Mageia, openSUSE, Fedora, Debian, Arch, Embedded) and a Microsoft representative, you could expect blood and swords fight ! Not at all, I was surprisingly happy that the elements were clearly exposed, each representative defending their own work rather than criticizing, and finding ways to propose more future joint work. Of course, some subjects such as LSB/FHS lead to more debate, but very constructive and I really enjoyed this time slot as a way to show that differences are an added value ! It was also the opportunity for me to meet with Colin Guthrie and Frédérc Crozat, which I had never met before. These distros should be happy to have such representatives defending them (and the others too of course ) Finally if you have ideas to share to improve cross-distribution work , consider joining the mailing listdedicated to his topic and start sharing your ideas.

Then it was time again for the remaining presentations. The first was Lucas Nussbaum. Long time Debian Developer, (he is even running for the Debian Project Leader now, vote for him !) he made a convincing picture of the Debian ecosystem, the numerous Web sites that contributors can create to enhance the distribution with stats, infos, Ubuntu correlations, … As usual, Debian appears as a very mature distribution, with a strong Governance, being perl friendly… If I had to change I may well become a debianers. But isn’t it because of the pres, as the morning I was a fedorian

The next speaker was a long time Linux enthousiast Pierre Ficheux. In fact back when it was Minitel time (not 2.0) I used his xtel program !! Pierre made a presentation (in english but with the accent ) around embedded Linux distributions, presenting various way to tailor one for your device (he was using a Raspberry Pi) depending whether you use an Ubuntu, a Yocto generated one or a pure OpenEmbedded linux one. Definitely a good idea to explore for my Pi !

And then we had the lightnings talks. Aurélien Bompard was there again for HyperKitty. Too bad it’s devoted to mailan, as I think Sympa would also benefit from such a work, as their archive management (at least on the latest versions I used) could be improved.

I came then again on stage for a presentation (building cross-distro packages for upstream projects) and made a short demo which I think is explaining much more than my slides, so I plan on using it more in the future !

After me, Eric Leblond explained how his upstream project (ulogd2) wasn’t picked up correclty by most distributions and asked for help to improce that.

And final speaker was Nicolas Vérité who made a panel on all mobile Linux distributions, recommending to follow closely Tizen for the future as the main force in this area.

Too bad it was already over. Anne closed the session and I’d like to thank her for the invitation and the perfect organization of this first cross-distributions vent as a real success. Well done and see you next year hopefully !

Filed under: Event, FLOSS Tagged: Debian, Distro Recipes, Fedora, HP, HPLinux, Linux, Mageia, Open Source, openSUSE, packaging,, Red Hat [Less]
Posted about 2 years ago
The Meme Hustler is the best thing I’ve read all year, and if you haven’t read it yet, you should. It’s a hatchet job on Tim O’Reilly, basically, but it’s a really good one, and it winds up being much more profound than that. Really, just go read it right now.
Posted about 2 years ago
Today, during the round table at distro recipes there was a short discussion about LSB usefulness and future. I was not participating but will share my opinion here instead.

Basically, I think xdg-utils from Freedesktop is doing what LSB ... [More] Desktop should have been.

LSB wants distributions to provide a set of binary API (gtk2, qt3, now also qt4...). I don’t think that’s what vendors need.

Freedesktop provides a set of commands, providing a set of features with very simple API, allowing to easily integrate in any distribution and desktop environment (not even only under Linux).

Distributing the libraries with your application is easy (I think LSB can make sense for things like libc, etc). What vendors want is to integrate with the distribution (appear in the user menu, be associated with mimetypes, be able to start a browser, disable screensaver while the play a movie, get proxy configuration, maybe send an email...) without writing much code.

Freedesktop doesn’t mandate distributions to keep obsolete unmaintained libraries, it just asks them to provide a set of simple commands implementing the features in any way they may desire.

xdg-utils is now required by LSB 4.1 and that’s a good thing, but I believe most vendors are just interested in it, not in the rest of LSB. [Less]
Posted about 2 years ago
As we work towards releasing the Fedora 19 Alpha (due in a couple of weeks), the Fedora 19 Test Days continue apace. Next up, tomorrow – 2013-04-04 – is printing Test Day. The goal is to check that the printing stack and user-facing tools are all in ... [More] good working order for Fedora 19. Printing is something most of us still have to do from time to time, and it’s easy to test from a live image, so this is an ideal Test Day for most anyone to get involved in – the testing is easy and there’s no need to risk any permanent changes to your system. If all you have time to do is boot up a live image and test if your printer works, that’s great!

So please, check out the instructions on the Wiki page and help out tomorrow if you have a bit of spare time. You can join us in #fedora-test-day on Freenode IRC to get help or discuss any problems you find. If you’re not sure how to use IRC, we have some instructions here, or you can just click here to join through a Web front end. [Less]