Novo Firefox 3.5

July 1st, 2009 Guilherme Morais No comments


Mais Rapido:



As 3 Caracteristicas mais importantes:

Novo motor para render de JavaScript:
O Firefox 3.5 inclui um novo motor para fazer o render de JavaScript, o TraceMonkey. Com ele são conseguidas melhores performances, permitindo um carregamento mais rápido dos websites e um menor consumo de memória por parte do browser.

Navegação privada:
Um modo de navegação privada está agora disponível. Quando activada, esta funcionalidade permite que, nenhum cookie, cache ou outro tipo de informação fica guardado no computador do utilizador – é como se o utilizador não tivesse usado o browser.

Suporte para CSS3:
Com o suporte para CSS3, o Firefox 3.5 terá um vasto leque de novidades ao seu dispor. Uma delas é a regra @font-face, que permite embeber tipos de letra para que o website seja mostrado da forma que o seu criador pretende. Existem muitas mais, como a aplicação de sombra ao texto, definição simples de cantos arredondados em diversos elementos e opacidade.

Fonte: encontrei
Categories: Internet Tags: , ,

Check Length for columns, FK and others… PowerDesigner.

June 24th, 2009 Guilherme Morais No comments
I have faced a problem, few weeks ago, someone made the reverse from a huge DB to Power Designer 12.5, something with more than 100 tables… ( huge for me of course ) I had to change the name of the FKs (References), Sequences, Trigger and Columns putting in the pattern requested, but the names was recieving more than 30 Chars. To verify that without checking one-by-one I made a “Extend Model Definition” , below you will see what I made, maybe this could help you in the future.

For References I used, this script is:

 SQL |  copy code |? 
1
FUNCTION %Check%(obj)
2
   %Check% = True
3
   IF (len(obj.ForeignKeyConstraintName)>30) Then 
4
       %Check% = false
5
   end IF
6
End FUNCTION

For Sequences I used, this script is:

 SQL |  copy code |? 
1
FUNCTION %Check%(obj)
2
<obj>   %Check% = True
3
   IF (len(obj.Code)>30) Then
4
       %Check% = false
5
   end IF
6
End Function</obj>

For Table I used, this script:

 SQL |  copy code |? 
1
FUNCTION %Check%(obj)
2
   %Check% = True
3
   IF (len(obj.name)>30) Then
4
       %Check% = false
5
   end IF
6
End FUNCTION

And for Trigger, I used:

Function %Check%(obj)
 SQL |  copy code |? 
1
   %Check% = True
2
   IF (len(obj.name)>30) Then
3
       %Check% = false
4
   end IF
5
End FUNCTION

Vertical Bar in ZedGraphControl (repost)

June 23rd, 2009 Guilherme Morais 1 comment
During the last week I spend almost 4 hours trying to discovery how to put a vertical bar in a ZedGraphControl… the Wiki is very poor of explanations about this thinks… thank GOOD,I had found the solution in the CodeProject ( as always! ) I will re-post this one in here again just for facilitate in future research in the net:

To draw a vertical line in a chart ( ZegGraphControl ) like this two blue lines in the image (at right ) you need to do something like this:

Barra Vertigal in zedgraph

Barra Vertigal in zedgraph



 C# |  copy code |? 
1
    LineObj myLine = new LineObj( Color.Black, 2.3, 0, 2.3, 1 );
2
    myLine.Location.CoordinateFrame = CoordType.XScaleYChartFraction;
3
    myLine.Line.Width = 2.0f;
4
    myPane.GraphObjList.Add( myLine );

thanks to JChampion , to see the original post go to : Re: Add Vertical Lines to mark tolerances?

Gerar Graficos em C#. (repost)

June 23rd, 2009 Guilherme Morais No comments
Esta semana estive buscando uma forma facil de criar graficos para o C#, tenho que utiliza-lo no meu próximo projeto. Acabei “tropeçando” na class libary ZedGraph uma biblioteca muito fácil de usar e com uma documentação bem elaborada. Engraçado como à algum tempo atrás eu tinha procurado sobre o assunto e não havia encontrado nada “FREE”, porém com esta nova biblioteca que funciona tanto para Windows Forms como para Web Forms pretendo retomar alguns projetos que tinha abandonado. Dêem uma olhada nos exemplos em C#, tem até exemplos em VB.NET

Dêem uma olhada: