Código é poesia

She likes code ['Cause is poetry]

mulherzinha.

fazer um comentário »

Para ficar registrado…eis a prova:

Make B. - Perfeito Vermelho Vivo do Boticário

Make B. - Perfeito Vermelho Vivo

Só para mudar a cara de vez em quando ;-)

Tudo culpa da @jujubas.

P.S: por favor, reparem o quanto eu entendo de fotografia.

Escrito por Camila San

07.09.09 em 00:15

Publicado em My stuff, Nonsense

Etiquetado com

typedef, union, QVariant and QMetatype.

com um comentário

Just some notes about typedef, union, QVariant e QMetatype:

typedef: allow the definition of our own types based on other existing data types.

typedef existing_type new_type_name;

typedef does not create a new type. It only create synonyms of a existing type.

union: allow one same portion of memory to be acessed as different data types, since all of them are in fact the same location in memory.

union union_name {
member_type1  member_name1;
member_type2 member_name2;
member_type3 member_name3;
member_type4 member_name4;
} object_names;

All the elemenst of the union declaration occupy the same physical space in memory. Its size is the one or the greatest. We can not store different values them independent of each other.

QVariant: the QVariant class acts like a union for the most common Qt Data types.

C++ forbids unions from including types that have non-defaults constructor or destructor.

A QVariant objects holds a single value of a single type at time.

QMetatype: It associates a type name to a type, so that it can be created and destructed dynamically at runtime.

Declare Q_DECLARE_METATYPE(type) to make them avaliable to QVariant.

QString, QByteArray and QVariant are three classes that have many things in common with containers and that can be used as alternatives to containers in some context. Also like the containers, these classes use implicit sharing as memory and speed optmization.

Fonts:
doc.qt.nokia.com
www.cplusplus.com
……………………………………………………………………………………………………………

With these notes I intend to finish some new features in my plugin for Quanta :)

Escrito por Camila San

07.09.09 em 19:31

Publicado em KDE, poo, Programming

Etiquetado com , , ,

Page Preview Plugin

fazer um comentário »

I just implemented a few features :) in my plugin for Quanta, as you can see in the screencast below:


http://code.google.com/p/pagepreviewplugin/

 

For further information: here (eng) and here (pt-br).

 

bye.

 

Escrito por Camila San

07.09.09 em 14:51

Publicado em KDE, My stuff

Etiquetado com , , , ,

Meu ambiente de trabalho em 7 itens

com um comentário

Seguindo a “corrente” do ambiente de trabalho criada pelo @duodraco, eu fui indicada pelo @felipenmoura para escrever.

Vou descrever o meu ambiente de trabalho ideal, o que eu tenho em casa, digamos assim, pois dia 10.01.2011 começo em um emprego novo e aí algumas coisas mudam.

A minha lista ideal é a seguinte:

1. SO: Arch Linux + KDE. Pacman para mim é deus :)

2. IDE: KDevelop sempre. Uma mão na roda para quem esta começando com Qt. E eu vou incluir aqui o Yakuake, um emulador de terminal, pois ainda prefiro esse a usar o terminal no KDevelop.

3. Browser: Firefox. Sempre preciso dele para consultar a Techbase e API Reference. A documentação do Qt posso ter toda offline e integrada no KDevelop :) Sinceramente, eu devia usar o Konqueror, leve e prático. É o hábito mesmo :(

4. IRC: Konversation. Para tirar dúvidas e contatar o pessoal mais rapidamente. Mesmo quando não tenho dǘvidas é legal de acompanhar alguns papos interessantes no #qt e no #kde. Nesse item eu vou incluir o Kopete, sempre tem aquele amigo mais cabeça online para discutir alguma idéia legal ou para clarear aquela dúvida ;)

5. Versionamento: SVN e GIT.

6. Livro: eu geralmente encontro tudo o que eu preciso na Web, mas é sempre boa a sensação de consultar um livro. Eu tenho o C++ GUI Programming with QT 4.

7. “Conforto”: a roupa mais confortável possível, a mais larga e as vezes a mais velha possível e é claro, aquele café :D e no inverno, pantufas sempre. Perfeito seria poder sair para trabalhar de pijama e pantufa :D (eu vi que alguns falaram sobre estarem sempre escutando música no Grooveshark, dependendo do que eu to fazendo, música não rola, mas geralmente eu escuto os meus mp3 no velho e bom Amarok).

A partir do dia 10.01 eu já sei que vou usar o C++ Builder e Windows :( mas a idéia é migrar os sistemas para Qt… :D

Agora não tenho ninguém em mente para indicar…depois completo aqui ;)

Escrito por Camila San

07.09.09 em 14:40

Publicado em My stuff, Nerdices, Nonsense

“HTML5 Will Kill Flash and Plug-Ins” – No!

fazer um comentário »

I will say it over and over again. And I read about it again in this very good article of  Smashing Magazine.

But not all of Flash’s use cases are usurped by HTML5. There is no way to do digital rights management in HTML5; browsers such as Opera, Firefox and Chrome allow visitors to save video to their machines with a click of the context menu. If you need to prevent video from being saved, you’ll need to use plug-ins.

HTML5: The Facts And The Myths

The article explains other myths that are very useful to know as well.

Bye.

Escrito por Camila San

07.09.09 em 19:02

Publicado em My stuff, Web

Etiquetado com ,

My first son.

com um comentário

My plugin on Quanta now is working  :D
You can see It in action in the following video:


(any suggestion for the page preview plugin, or bug report would be great – I’ve already found some bugs and I have ideas how to fix and make it better)

I wrote about the page preview plugin here (english) and here (pt-br).

=)

Escrito por Camila San

07.09.09 em 13:02

Publicado em KDE, My stuff, Programming

Etiquetado com , , ,

Cantemos: songs of freedom.

com um comentário

Redemption Song – Bob Marley :D

Old pirates, yes, they rob I,
Sold I to the merchant ships,
Minutes after they took I
From the bottom less pit
But my hand was made strong
By the hand of the Almighty
We forward in this generation
Triumphantly

Won’t you help to sing,
These songs of freedom?
‘Cause all I ever have:
Redemption songs,
Redemption songs!

Emancipate yourselves from mental slavery
None but ourselves can free our minds
Have no fear for atomic energy,
‘Cause none of them can stop the time
How long shall they kill our prophets,
While we stand aside and look
Huh, some say it’s just a part of it:
We’ve got to ful fill the Book

Won’t you help to sing,
These songs of freedom?
‘Cause all I ever have:
Redemption songs,
Redemption songs,
Redemption songs!

Emancipate yourselves from mental slavery
None but ourselves can free our mind
Oh, have no fear for atomic energy,
‘Cause none of them-a can-a stop-a-the time
How long shall they kill our prophets,
While we stand aside and look?
Yes, some say it’s just a part of it:
We’ve got to ful fill the Book

Won’t you help to sing,
These songs of freedom?
‘Cause all I ever had:
Redemption songs,
All I ever had:
Redemption songs!
These songs of freedom,
Songs of freedom!

Perfect. :*

Escrito por Camila San

07.09.09 em 18:08

Publicado em My stuff

Etiquetado com ,

Seguir

Obtenha todo post novo entregue na sua caixa de entrada.