segunda-feira, novembro 28, 2005

Microsoft Visual SourceSafe - Boas Praticas

Neste Link você encontra algumas recomendações da Microsoft para se trabalhar com o Microsoft Visual SourceSafe.

sexta-feira, novembro 25, 2005

Diversos - Foco na Solução

DIFERENÇA ENTRE "FOCO NO PROBLEMA" E "FOCO NA SOLUÇÃO"
Quando a NASA iniciou o lançamento de astronautas, descobriu-se que as canetas não funcionariam com gravidade zero. Para resolver este enorme problema, contrataram a Andersen Consulting, hoje Accenture. Empregaram uma década e 12 milhões de dólares. Conseguiram desenvolver uma caneta que escrevesse com gravidade zero, de ponta-cabeça, debaixo d'água, em praticamente qualquer superfície incluindo cristal e em variações de temperatura desde abaixo de zero até mais de 300 graus Celsius.

Os russos usaram um lápis...

Pensem nisso.

terça-feira, novembro 15, 2005

Windows XP - Dicas de Segurança

There are a few critical things you should do to insure the safety of your machine and, most importantly, your data.

  • Back up your data. If something happens to your machine, you will still have your data.
  • Keep your operating system and software up to date. Frequent security patches come out for Windows XP. These patches help protect your computer and data.
  • Install and use anti-virus software.
  • Do not create unnecessary accounts on your machine.
  • Disable accounts you are not using, including the built-in system accounts.
  • Password all accounts that you use. Choose passwords that are tricky to figure out. When you give an account a password you must remember it. If you forget the password for your account with administrator privileges you will NO longer be able to log into the machine, use it, or even access your files!!
  • Do not share files or folders across the network, unless you absolutely must. If you must share files, do so cautiously and turn on the least amount of access possible. Use simple file sharing and make sure network users are NOT allowed to change your files.
  • If you are not sharing files or folders make sure you explicitly turn off file and print sharing for each network connection

quinta-feira, novembro 03, 2005

Desenvolvimento - Comparação entre ferramentas de Controle de Versão

Abaixo está um artigo que recebi comparando várias ferramentas de controle de versão de arquivos.

To view the full article, please visithttp://www.BetterVssRemoting.com
Better VSS Remote Access Tool
This article makes a detailed comparison among SourceAnyWhere,SourceOffSite, VSS Remoting and possible others.
Keywords: VSS Remote Access, VSS Web Access, VSS Internet Access,SourceSafe Remote Access, SourceSafe Web Access, SourceSafe
Internet Access, SourceOffSite, SourceAnyWhere, VSS Remoting


1. Overview

What does the article do?
It makes a comparison among:· SourceAnyWhere 4.0· SourceOffSite 4.1· VSS Connect 1.5· SourceXT 2.1· VSS Remoting 2.5· VSS.NET 1.67

Our initiative is to make an unbiased, objective, repeatable andverifiable comparison:
a. Real project is used. The project I use is eMule, which is athttp://sourceforge.net/projects/emule/
b. Detailed steps are presented. You can follow the detailed stepseasily.
c. If you want to make a comment, I can be reached at[Email]bettervssremoting@yahoo.com.[/Email]

If you need more info, please visit their official websites:
· SourceAnyWhere (SAW) from DynamSoft http://www.dynamsoft.com
· SourceOffSite (SOS) from SourceGear http://www.sourcegear.com
· VSS Connect from VoxCode http://www.vssconnect.com
· SourceXT from ACORDEN http://www.acorden.com
· VSS Remoting from Source Remoting http://www.sourceremoting.com
· VSS.NET from DMB Consulting http://www.dmbcllc.com
· Want to add a product? Write to me: bettervssremoting@yahoo.com

The real result may vary if you do the test in different environment or
different files are used. However, the basic concept of thiscomparison,such as which one is the fastest, which one has more VSS features,should be applicable everywhere.

To view the full article, please go tohttp://www.bettervssremoting.com


2. Comparison Summary (5 star ***** is the best)

Speed Comparison
SAW *****
SOS **
VSS Connect **
SourceXT **
VSS Remoting **
VSS.NET *

Stability Comparison
SAW *****
SOS **
VSS Connect ***
SourceXT **
VSS Remoting **
VSS.NET *

Security
SAW ****
SOS ***
VSS Connect ***
SourceXT **
VSS Remoting ***
VSS.NET **

VSS Feature Support
SAW ****
SOS ****
VSS Connect **
SourceXT **
VSS Remoting **
VSS.NET *

Usability
SAW ****
SOS **
VSS Connect **
SourceXT **
VSS Remoting **
VSS.NET *

Diff/Merge
SAW ****
SOS ****
VSS Connect
SourceXT
VSS Remoting **
VSS.NET

IDE Integration
SAW *****
SOS ***
VSS Connect **
SourceXT **
VSS Remoting **
VSS.NET

Cross Platform
SAW *****
SOS *****
VSS Connect *
SourceXT *
VSS Remoting ***
VSS.NET *

Speed:
I am totally surprised and excited by the speed of SourceAnyWhere. Forsome operations, SourceAnyWhere can be up to 40+ times faster thanother five products.

Stability:
SourceAnyWhere never has any problem in the whole test.
SourceOffSite has several problems when it comes to stability. The bigproblem of SourceOffSite is cancel. There is no cancel support in IDEintegration. After a cancel operation in Add, Checkin, Checkout or Getin SourceOffSite Explorer, the CPU usage of SourceOffSite server goesup to almost 100% and can not come down, unless the server isrestarted.VSS Connect and SourceXT also have problems in stability. On big fileoperations, they are very possible to crash. But both two have a goodhandling of Cancel. And, VSS crashes every time when I try adding aspecial directory such as "c:\" and "My Computer".

VSS Remoting has difficulty to add file and it fails to operate on bigfiles.

VSS.NET has problems in big file operation during the whole test. Andit cannot handle the Cancel operations.

Security:
What makes SourceAnyWhere unique is the password policy.
SourceAnyWhere, SourceOffSite and VSS Connect use 128-bit cryptography.
SourceOffSite and SourceAnyWhere use BlowFish..VSS Remoting uses HTTPS.

VSS Feature Support:
Most of the six products support ordinary VSS features such as Add,Get, Checkin, Checkout and so on. However, only SourceAnyWhere has adetailed and full support for almost all of VSS features.Except SourceAnyWhere, all the products does not have supports for EOL(end-of-line). Different OS use different end-of-line characters intext files. Without EOL support, text files got to local may not beread correctly. For example, in Rational the EOL character is "/n"but in Windows it is "/r/n". When getting a text file from Rational toWindows without a support for EOL, the text will not be displayednormally.
SourceXT, VSS Remoting and VSS.Net have no support for Pin. Assuming afile is pinned in VSS Server, then what if Pin is not supported? First,the pinned file can still be checked out by Client, which is a greatdanger to the pinned file. Second, when performing a get, the mostrecent version will be got, not the pinned version. This can probablycause version confusion.
SourceAnyWhere has a "Server-base time zone offset" option, othersdon't. In my opinion, it is very important to synchronize Server timeand Client time. Imagine this, the Server time is 10 hours ahead ofClient time. When you edit a file and check it in at 2/23 9:00PM(Client time), but on the Server side, time of this version reads 2/247:00AM. So in the future when you need to get version of 2/23 9:00PMactually, you may mistakenly get another version.

Usability:
SAW is the best. All the Windows of SAW is in Win32 style. It candetect if a file is changed automatically.

Diff/MergeIn File Diff (2-way)/File Merge (3-way), SourceAnyWhere andSourceOffSite run neck and neck; VSS Remoting has a lowperformance
IDE Integration:SourceAnyWhere, SourceOffSite and VSS Remoting all support MSSCCIIntegration.VSS Remoting supports DreamWeaver integration
I have not tested the IDE integration intensively. I give this ratejust according to manual of the three products.

Cross Platform:
Besides its Windows client, SAW has a Java client built on JDK 1.4.2,so that it can cross any platform where JDK can run such as Linux, Mac,Solaris, AIX, HP-UX, SCO Unix and FreeBSD.SourceOffSite can cross Linux and Mac OS X.
VSS Remoting has a web interface which can login server through web.


3. Test Environment

Test Data
Real project is used for testAll eMule0.44c and eMule0.44d files are downloaded from SourceforgeDownload eMule0.44c (3.1M) and eMule0.44d (3.1M) used in the testBig Files are simulated files created by us

Server Configuration
· P4, 2.8G, 256M RAM, Windows XP Professional
· SourceAnyWhere profession 4.0 DEMO Server
· SourceOffSite4.1 with Cryptography DEMO Server
· VSS Connect Server 1.5· SourceXT Server 2.1
· VSS Remoting Server 2.5
· VSS.NET Server 1.67
· Visual SourceSafe6.0 + Sp6

Client Configuration
· P4 Celeron 2.0G, 256M RAM, Windows 2003
· ADSL connection
· SourceAnyWhere profession 4.0
· SourceOffSite 4.1 with Cryptography
· VSS Connect Client 1.5
· SourceXT Client 2.1
· VSS Remoting Client 2.5
· VSS.NET Client 1.67

4. Test Methodology
All the three products are tested on the same computers and internetconnection
All the three products are tested on the same data set
All the three products are tested with the same process
For speed test, every action is carried out 5 times
The initial state of the VSS database is empty (newly created)

PowerBuilder - Execução de Scripts dinamicamente

Recentemente, foi colocada uma dúvida no grupo de PowerBuilder do Yahoo, a possibilidade executar scripts dinamicamente.

No site http://www.mycgiserver.com/~unoksoftgroup/powerbuilder_pborca/powerbuilder_pborca.html#dynamicscript existe um demo de aplicação que permite este tipo de tarefa.

Obs: A resposta acima foi fornecida por Carlos Klein