Just to help people who face this problem: If you’re compiling your C code, and then the compiler says to you something like this:


./foo.c: In function `bar':
./foo.c:158: `structure_x' defined as wrong kind of tag

Don’t panic! Take a look at the bar function.

You’re probably declaring a variable of the structure_x kind but as a different type it really is.

For example, structure_x is an enum and you did something like this:

struct structure_x my_variable;

when the correct would be:

enum structure_x my_variable;.

This post is simple, but will surely help to avoid headaches :P

Hi folks!

Since my life is taking a turn, I’ve been out for some time. Now I’m sure it’s going to get way nicer :)

I promise to post more often from now on, since I think I’m going to learn a lot. Wait for the next posts, and you’ll understand why. ;)

See ya!

If you are like me, when you need to use a program in your console, the first thing is to run “bla –help”.

Well..

Having a Ubuntu box, typed apt-get --help. That’s what I saw, here shortened:

ursula@ursula-laptop:~$ apt-get --help
apt 0.7.9ubuntu17 for i386 compiled on Apr 22 2008 15:19:47
Usage: apt-get [options] command
apt-get [options] install|remove pkg1 [pkg2 ...]
apt-get [options] source pkg1 [pkg2 ...]


This APT has Super Cow Powers.

This APT has Super Cow Powers? Hm… Let’s try something that a cow would do, like mooing:

ursula@ursula-laptop:~$ apt-get moo
.........(__)
.........(oo)
..../------\/
../.|....||
.*../\---/\
....~~...~~
...."Have you mooed today?"...

:)

Now, let’s see what aptitude says:

ursula@ursula-laptop:~$ aptitude --help
aptitude 0.4.9
Usage: aptitude [-S fname] [-u|-i]
aptitude [options]


This aptitude does not have Super Cow Powers.

Does not have? So it doesn’t feel like mooing… Let’s see:

ursula@ursula-laptop:~$ aptitude moo
There are no Easter Eggs in this program.

Uuhh… It doesn’t want to play! Please aptitude, be more verbose about it!


ursula@ursula-laptop:~$ aptitude -v moo
There really are no Easter Eggs in this program.

hauhauha.. Let’s push harder! :)

ursula@ursula-laptop:~$ aptitude -vv moo
Didn't I already tell you that there are no Easter Eggs in this program?
ursula@ursula-laptop:~$ aptitude -vvv moo
Stop it!
ursula@ursula-laptop:~$ aptitude -vvvv moo
Okay, okay, if I give you an Easter Egg, will you go away?
ursula@ursula-laptop:~$ aptitude -vvvvv moo
All right, you win.

.............................../----\
.......................-------/......\
....................../...............\
...................../................|
...-----------------/..................--------\
...----------------------------------------------
ursula@ursula-laptop:~$ aptitude -vvvvvv moo
What is it? It's an elephant being eaten by a snake, of course.

Cool! :D

It is not easy to find, topeira@kde-brasil told me: Go to System Settings, Notifications, Player Settings, select “No audio output”. Click Apply, it’s done. :)

As a Gentoo girl, I have to share this quick tip: for searching ebuilds on Gentoo portage tree, online (since packages.gentoo.org doesn’t seem to have a search method): http://www.gentoo-portage.com.

Very useful! - while not on gentoo, since you can use on it emerge -s package, or esearch package.

Today I decided to give Twitter a chance. Started to see, try to find out how to use it, and then I suddenly felt that all that I wanted to blog, the short things, I could do with Twitter. Short jokes, comics, interesting links, stuff like that.

After that discover, I went on the journey of trying to use it from inside an IM, since I don’t want to access twitter.com every time I feel to twitt(er) something.

The steps for it are:

  1. Go to your preferences in twitter and enable the “Device Updates”. Then setup the IM user to which you want the updates to be sent;
  2. Add the user twitter@twitter.com to your IM account, as a buddy. In my case, a gtalk account.

I started to test it, and then the first issue came, that Otubo pointed me: twitter limits the posts up to 140 chars. How can I see that in pidgin?

So, thinking that someone (hopefully) had already thought about it, and relying on google, I found a plugin for pidgin that adds the number of typed chars on a chat window. Here it is, and it’s called pidgin-convcharcount-plugin. There you can get the patch, the source or the compiled libs as packages.

As I am using ubuntu right now, I’ve just installed the deb package available (found it on apt, later). To my friends, gentoo users (as otubo), sorry folks, but I didn’t find the package in the portage tree. :(

So, you’ll have to do it in a harder way. You can pick up the package source (tar.gz) on the site, untar it and perform make. It has a script (Makefile) that downloads pidgin source, patches it, and compiles the plugin libs.

I mean, this is the easiest way, but you can pick the patch instead, download pidgin source by yourself, patch it and yada yada. :)

After that, the libs should be placed on /usr/src/pidgin folder. It worked like a charm in here.. :)

Hope this helps. Any issues, let me know. :)

It seems very buggy :( I can’t choose the tags I want to use (because they suddenly disappeared), and if I want to edit a post, it duplicates it creating a new modified, leaving the older.

Powered by ScribeFire.

This is my first post using ScribeFire, an add-on for firefox, that can be obtained in here. It’s integrated with the browser, and is very easy to set up your blog account if you use WordPress, for example, that is one of the blog servers it automatically recognize.

Powered by ScribeFire.

P.S.: It adds ^^^^ automatically to your post.

(01:43:49 AM) Baguá: e esse erro persiste
(01:43:59 AM) Baguá: pra falar a verdade
(01:44:04 AM) Baguá: ele é tão persistente
(01:44:07 AM) Baguá: q podia ser um banco de dados !
(01:44:08 AM) Baguá: ra !

Eu gosto muito de musicas de comerciais e seriados de tv. Estava assistindo o Universal channel, quando (de novo) ouvi a musica do comercial do Mercado Livre. Sabe aquele que o garoto vende o beijo? Então. Aí finalmente resolvi procurar pela musica na internet. E descobri q ela foi feita especialmente pro comercial :)

someone is there, waiting for my song
i´m only looking for someone who sings along
when all my dreams, finally reach yours
we will uprise and maybe find our true love
we will uprise and maybe find our true love

De um blog chamado Sinestesia. Lá tem o mp3, que não consegui postar aqui pq o wordpress limita o tipo de arquivo que se pode fazer upload (pra subir mp3 precisa pagar :()

Next Page »