Arquivo para a categoria “Geral”

Por mero acaso soube hoje que na Faculdade de Farmácia da Universidade de Coimbra existem regras deveras curiosas para a inscrição nas turmas. Nestas regras a inscrição é primeiro para os alunos “normais” e depois para os alunos que sejam trabalhadores estudantes. Isto é claramente uma violação do artigo 20 dos estatutos da Universidade de Coimbra. Nesse artigo está estipulado que os trabalhadores estudantes têm direito a disposições especiais definidos pelo senado. Eu não consigo acreditar que o Senado fosse decretar uma medida de tal forma prejudicial para os trabalhadores estudantes.

Comments 2 Comentários »

A Paula Simões notou que existia uma gralha no blog nas horas dos comentários. Primeiro pensei que fosse o theme, mas afinal é mesmo no .po do Wordpress do projecto Português.

Lá alterei mas não consegui encontrar forma de submeter isto sem ter de me registar em mais um local.
Se alguém quiser pode sacar o .po e o .mo directo deste blog.

Comments Sem Comentários »

I am a bit tired of waking up the the marimba sounds from my iPhone. I wanted to play some calm music to help me get started. So I went to see if I could setup a music or playlist like in the old iPods. You cant. You can only play sounds that are ring tones. And the reader says:

-Well…. It seems stupid to play ring tones but not to play a song…. So how do you go around getting a ringtone from a music you have?

Well that is the funny part. If you bought the music from iTunes store Apple is generous enough to charge you another 99 cents for the permission to create the ringtone.

What if you have the music because you:
1- Bought it from another online store
2- Bought the CD and made a lawful copy to your computer

Apple just tells you you cannot do it. Either re-rebuy the music or move along.

I know you can get another software that will strip a peace of the music to amr, and then send that file to the iPhone and “shazam” a free ringtone. But that is just STUPID!!

If I have a music I should be free to use it as a ringtone/wake up music. Who is Apple to pass judgement on what I have on MY system?

@jpedroso: You see why I may like Apple’s products but have very little respect for it as a company?

Comments 6 Comentários »

The very nice Timetracker application now runs at some 90% under Linux.

The software is a dotNet application that runs in Mono. Under ubuntu (Jaunty 9.04) you need the core that is probably already installed and:

sudo apt-get install libmono-microsoft-visualbasic8.0-cil libmono-winforms2.0-cil

The only annoyance right now is that the software is distributed as a .exe file that cannot be run in Mono. You have to either install the software in a Windows machine and then copy the installation directory to your Linux machine, or use Wine to run the Installer.

Comments Sem Comentários »

I really like to live in Portugal. But sometimes I get really pissed of. All statistics say that we have some of the lowest wages in the EU. But in the shops everything has the same price as in the rest of Europe. And sometimes it costs more. Today at the local FNAC store I was looking at some Fatman products. After some searching I could find a UK store that sells at HALF the price the Portuguese reseler does.

How can our economy go anywhere when we have to pay more than the ones that have more?

Comments 4 Comentários »

Fez ontem um ano.

Comments 3 Comentários »

Laura:

Hoje é dia da criança. Um dia criado para que nós os grandes nos lembremos dos mais pequeninos. Como se fosse preciso um dia! Deveria ser nossa preocupação todos os dias os mais pequenos de entre nós. São vocês o futuro do mundo.

Hoje quando passei no teu berço dormias. Estava ali a ver-te há uns segundos quando abriste os olhos e olhaste para mim. Não sei se foi só a fominha a apertar ou se te estavas a sentir observada. Sorri para ti e tu devolveste o sorriso. Obrigado filha.

Bom dia Laurinha. Bom dia meu doce. Bom dia meu amor.

Comments 1 Comentário »

Oracle bought Sun.

The question in most of the Free Software advocates right now is what will happen to Suns Free Software products:
1- MySQL
2- OpenOffice
3- Netbeans
4- ……

Although MySQL seems the first candidate to die I guess this is one of the products with the best chance to survive*. Databases is the core business for Oracle so they will probably keep the product and in time make it more Oracle friendly. So that users that develop for MySQL can easily migrate to Oracle when requirements increase.
Right now Oracle has the Oracle Express Edition but installation is sometimes complex and the limitations to the CPU/Memory/Disk Space make some developers run away. PostgreSQL is very good, but does not have the momentum. So MySQL is not a brand that any company wants to kill.

* – The Free Software products always have a chance to survive if the “Mother Company” kills them. The community can always pick the product and develop it. That is one of the base ideas that made Stallman create the concept. But it is always easier for a product to survive if there is a cash flow of some sort.

Comments 7 Comentários »

It is not as nice as Windows “depends” but does the job:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/usr/bin/env ruby
 
paths = [ARGV[0]]
libs = { ARGV[0] => 1 }
 
while paths.size > 0 do
    path = paths.pop
    lines = `otool -L '#{path}'`.split("\n")[2..-1]
    new_libs = lines.collect do |line|
    line =~ /\s+(.*)\s+\(.*\)\s*/
    $1
    end
    new_libs.each do |lib|
        if libs[lib] then
            libs[lib] += 1
        else
            libs[lib] = 1
            paths < < lib
        end
    end
end
 
puts libs.keys.sort.join("\n")

Credit for finding this at idevappsgoes to Armindo

Comments Sem Comentários »

An application that sends and receives MMS messages is now available for you’re iPhone. There is no need to have a Jailbroken iPhone as the application is available from Apple Store. Right now the application only works for clients of Vodafone Portugal. More info is available at the producers web site.

A video that shows the application working is also available:

Comments Sem Comentários »

This beatifull fish is now mine. But it was breed by Martinho Brazão. If you are looking for Betta fish you can be sure his fish will be sent in very good packaging.

My Betta

Comments 1 Comentário »

Designing a regular expression to find phone numbers is some string are not trivial. The rules of what is a valid number are strange, and the phone itself can be present with any number of artifacts, like spaces, dashes and parentheses.

This last morning I have been trying to design a good regular expression but I’m still a bit far. So far I managed to do:
(\(?[\s]*(00|\+){1,1}[\d]{1,4}[\s]*\)?)?([\s]*|-)(-|[\s])?(\(?[\d]\)?([\s]*|\.|-)){7,15}

But it sill misses things like: +351 (21) 1111111

Comments 3 Comentários »

Apple should add thunderbird+lightning support to at least iTunes on Windows. Not every windows user has Outlook installed.

Right now almost all options to do this include some extra softwares (jailbroken iPhone) or thunderbird plugins and Google accounts. And I may not want my data in Google.
If you do not mind having data in Google read on. Right now I just want to sync Calendar events.

As I need to have data synced I’ll post my findings were. So stay tunned.
[UPDATE 2009-02-10]
All this syncing is dangerous. The iPhone will delete all contacts and/or calendar events on the phone when adding a external sync.

Two solutions so far for Contacts and Calendar:

1- Get your company to install Exchange or one of the Free Software alternatives. And then just add the account on the iPhone and search for info on how to get Lightning to get the data from there.

[New Update 2009-02-15 15:17] There is no need to use the Nuevasync Service
2- This is the one I use. It involves having a Google Calendar account and Sync the iPhone and Lightning there. In the iPhone follow the instructions in the Google Mobile Sync page. To have Lightning use the calendar just add a new Calendar of type CalDAV and in the url put: https://www.google.com/calendar/dav/YOUREACCOUNT@gmail.com/events .

There is no “Sync now” and events will be propagated auto-magically. In my case if I have calendar open on the iPhone and add events in Lightning they propagate in 3 to 5 seconds.

Comments 1 Comentário »

Ontem à noite a Laura resolveu pregar um susto a mim e à mãe. A dois meses da data prevista de chegada ela achou que já estava presa à demasiado tempo e que a hora de nascer tinha chegado.
A Raquel está neste momento na Maternidade Dr Daniel de Matos e parece já estar controlada a situação. Mas agora terá de repousar para que não haja mais sustos.

Laura: Tem calma filha e espera mais um pouco.

[UPDATE 17:45]: Parece que já está tudo mais calmo. A Raquel deve voltar para casa amanhã, mas terá de ficar por casa até a Laura nascer.

Comments Sem Comentários »

A few weeks ago I talked about a new MTV service that would let us see all the videos in MTVs archive. Right now if I try to play the video it tells me that I cannot play it outside the United States.
A few minutes ago I was on last.fm trying to play some videos and the ones that were presented being hosted on youtube gave the same type of error as MTV.

This is just STUPID!!!!! If I’m not in the right country I cannot listen to the music? What can possibly be the reasoning?

Comments 2 Comentários »

A funny music meme

Go ask Alice
When she’s ten feet tall

in White Rabbit by the Jefferson Airplane

Rules for this Meme:

  • Search for the lyrics for the song that you are listening now.
  • If music is purely instrumental use the last music with lyrics
  • Copy the 5th and 6th verses
  • Post the text of the verses in your journal along with these instructions.
  • Don’t dig for your favorite music or the cool alternative musics: use the one you are listening to now.

Comments 2 Comentários »

Book Meme Floating around, so mine is:

Save the file and reboot the system for the settings to take effect.

in Asterisk, The Future of Telephony

The Rules for this meme are:

  • Grab the nearest book.
  • Open it to page 56.
  • Find the fifth sentence.
  • Post the text of the sentence in your journal along with these instructions.
  • Don’t dig for your favorite book, the cool book, or the intellectual one: pick the CLOSEST.

Comments Sem Comentários »

MTV now has available (and embeddable) all the videos they ever played….

[UPDATE 20/7/2009]: Most of the videos are not available in Portugal. So i removed it from the site.

Comments 1 Comentário »

20 Weeks and we now know that were having a girl. We’ll name her Laura, and as you can see from the picture she has a beautiful nose…

Comments 6 Comentários »

My friend L0rd Saur0n made this nice retro chick image. I found it so hilarious that I just had to share.

VT100

VT100 in Bright Green

Comments Sem Comentários »