Author Archives: admin

Bug Killer – A Channel 9 Halloween special


Get Microsoft Silverlight

Get Microsoft Silverlight

Have you spent countless nights up late writing code? Have your eyes burned after staring at a monitor for 18 hours? Have you ever wanted to hack up a co-worker or two? Sure, we all have! Here’s the story of what happened to one developer on a dark and foggy night when the pressure was just too much…

http://channel9.msdn.com/posts/LauraFoy/Bug-Killer–A-Channel-9-Halloween-special/

Windows Live SkyDrive

Windows Live SkyDrive (antes chamado de Windows Live Folders) é um serviço que faz parte da linha Windows Live da Microsoft. Com esse serviço, é possivel armazenar e hospedar qualquer arquivo, usando uma Windows Live ID. Também é possivel definir arquivos públicos (qualquer pessoa poderá baixar), somente amigos e privados (somente o usuário que hospedou poderá baixar). O serviço oferece 25 GB de armazenamento.

A versão final foi lançada dia 21 de fevereiro de 2008, e já tem versão em português.

homepage: http://skydrive.live.com/

in http://pt.wikipedia.org/wiki/Windows_Live_SkyDrive

Praxe no Quebéc


LIPDUB – I Gotta Feeling (Comm-UQAM 2009)

HTML: caracteres especiais

Special Characters in HTML

left single quote ‘
right single quote ’
single low-9 quote ‚
left double quote “
right double quote ”
double low-9 quote „
dagger †
double dagger ‡
per mill sign ‰
single left-pointing angle quote ‹
single right-pointing angle quote ›
black spade suit ♠ ?
black club suit ♣ ?
black heart suit ♥ ?
black diamond suit ♦ ?
overline, = spacing overscore ‾ ?
leftward arrow ← ?
upward arrow ↑ ?
rightward arrow → ?
downward arrow ↓ ?
trademark sign ™ ™
unused �-

horizontal tab 	
line feed 

unused 
space  
exclamation mark ! !
double quotation mark " "
number sign # #
dollar sign $ $
percent sign % %
ampersand & & &
apostrophe '
left parenthesis ( (
right parenthesis ) )
asterisk * *
plus sign + +
comma , ,
hyphen -
period . .
slash / ⁄ /
digits 0-9 0-
9
colon : :
semicolon &#59; ;
less-than sign &#60; &lt; <
equals sign &#61; =
greater-than sign &#62; &gt; >
question mark &#63; ?
at sign &#64; @
uppercase letters A-Z &#65;-
&#90;
left square bracket &#91; [
backslash &#92; \
right square bracket &#93; ]
caret &#94; ^
horizontal bar (underscore) &#95; _
grave accent &#96; `
lowercase letters a-z &#97;-
&#122;
left curly brace &#123; {
vertical bar &#124; |
right curly brace &#125; }
tilde &#126; ~
unused &#127;-
&#149;
en dash &#150; &ndash;
em dash &#151; &mdash;
unused &#152;-
&#159;
nonbreaking space &#160; &nbsp;
inverted exclamation &#161; &iexcl; ¡
cent sign &#162; &cent; ¢
pound sterling &#163; &pound; £
general currency sign &#164; &curren; ¤
yen sign &#165; &yen; ¥
broken vertical bar &#166; &brvbar; or &brkbar; ¦
section sign &#167; &sect; §
umlaut &#168; &uml; or &die; ¨
copyright &#169; &copy; ©
feminine ordinal &#170; &ordf; ª
left angle quote &#171; &laquo; «
not sign &#172; &not; ¬
soft hyphen &#173; &shy; ­
registered trademark &#174; &reg; ®
macron accent &#175; &macr; or &hibar; ¯
degree sign &#176; &deg; °
plus or minus &#177; &plusmn; ±
superscript two &#178; &sup2; ²
superscript three &#179; &sup3; ³
acute accent &#180; &acute; ´
micro sign &#181; &micro; µ
paragraph sign &#182; &para;
middle dot &#183; &middot; ·
cedilla &#184; &cedil; ¸
superscript one &#185; &sup1; ¹
masculine ordinal &#186; &ordm; º
right angle quote &#187; &raquo; »
one-fourth &#188; &frac14; ¼
one-half &#189; &frac12; ½
three-fourths &#190; &frac34; ¾
inverted question mark &#191; &iquest; ¿
uppercase A, grave accent &#192; &Agrave; À
uppercase A, acute accent &#193; &Aacute; Á
uppercase A, circumflex accent &#194; &Acirc; Â
uppercase A, tilde &#195; &Atilde; Ã
uppercase A, umlaut &#196; &Auml; Ä
uppercase A, ring &#197; &Aring; Å
uppercase AE &#198; &AElig; Æ
uppercase C, cedilla &#199; &Ccedil; Ç
uppercase E, grave accent &#200; &Egrave; È
uppercase E, acute accent &#201; &Eacute; É
uppercase E, circumflex accent &#202; &Ecirc; Ê
uppercase E, umlaut &#203; &Euml; Ë
uppercase I, grave accent &#204; &Igrave; Ì
uppercase I, acute accent &#205; &Iacute; Í
uppercase I, circumflex accent &#206; &Icirc; Î
uppercase I, umlaut &#207; &Iuml; Ï
uppercase Eth, Icelandic &#208; &ETH; Ð
uppercase N, tilde &#209; &Ntilde; Ñ
uppercase O, grave accent &#210; &Ograve; Ò
uppercase O, acute accent &#211; &Oacute; Ó
uppercase O, circumflex accent &#212; &Ocirc; Ô
uppercase O, tilde &#213; &Otilde; Õ
uppercase O, umlaut &#214; &Ouml; Ö
multiplication sign &#215; &times; ×
uppercase O, slash &#216; &Oslash; Ø
uppercase U, grave accent &#217; &Ugrave; Ù
uppercase U, acute accent &#218; &Uacute; Ú
uppercase U, circumflex accent &#219; &Ucirc; Û
uppercase U, umlaut &#220; &Uuml; Ü
uppercase Y, acute accent &#221; &Yacute; Ý
uppercase THORN, Icelandic &#222; &THORN; Þ
lowercase sharps, German &#223; &szlig; ß
lowercase a, grave accent &#224; &agrave; à
lowercase a, acute accent &#225; &aacute; á
lowercase a, circumflex accent &#226; &acirc; â
lowercase a, tilde &#227; &atilde; ã
lowercase a, umlaut &#228; &auml; ä
lowercase a, ring &#229; &aring; å
lowercase ae &#230; &aelig; æ
lowercase c, cedilla &#231; &ccedil; ç
lowercase e, grave accent &#232; &egrave; è
lowercase e, acute accent &#233; &eacute; é
lowercase e, circumflex accent &#234; &ecirc; ê
lowercase e, umlaut &#235; &euml; ë
lowercase i, grave accent &#236; &igrave; ì
lowercase i, acute accent &#237; &iacute; í
lowercase i, circumflex accent &#238; &icirc; î
lowercase i, umlaut &#239; &iuml; ï
lowercase eth, Icelandic &#240; &eth; ð
lowercase n, tilde &#241; &ntilde; ñ
lowercase o, grave accent &#242; &ograve; ò
lowercase o, acute accent &#243; &oacute; ó
lowercase o, circumflex accent &#244; &ocirc; ô
lowercase o, tilde &#245; &otilde; õ
lowercase o, umlaut &#246; &ouml; ö
division sign &#247; &divide; ÷
lowercase o, slash &#248; &oslash; ø
lowercase u, grave accent &#249; &ugrave; ù
lowercase u, acute accent &#250; &uacute; ú
lowercase u, circumflex accent &#251; &ucirc; û
lowercase u, umlaut &#252; &uuml; ü
lowercase y, acute accent &#253; &yacute; ý
lowercase thorn, Icelandic &#254; &thorn; þ
lowercase y, umlaut &#255; &yuml; ÿ
Alpha &Alpha; ?
alpha &alpha; ?
Beta &Beta; ?
beta &beta; ?
Gamma &Gamma; ?
gamma &gamma; ?
Delta &Delta; ?
delta &delta; ?
Epsilon &Epsilon; ?
epsilon &epsilon; ?
Zeta &Zeta; ?
zeta &zeta; ?
Eta &Eta; ?
eta &eta; ?
Theta &Theta; ?
theta &theta; ?
Iota &Iota; ?
iota &iota; ?
Kappa &Kappa; ?
kappa &kappa; ?
Lambda &Lambda; ?
lambda &lambda; ?
Mu &Mu; ?
mu &mu; ?
Nu &Nu; ?
nu &nu; ?
Xi &Xi; ?
xi &xi; ?
Omicron &Omicron; ?
omicron &omicron; ?
Pi &Pi; ?
pi &pi; ?
Rho &Rho; ?
rho &rho; ?
Sigma &Sigma; ?
sigma &sigma; ?
Tau &Tau; ?
tau &tau; ?
Upsilon &Upsilon; ?
upsilon &upsilon; ?
Phi &Phi; ?
phi &phi; ?
Chi &Chi; ?
chi &chi; ?
Psi &Psi; ?
psi &psi; ?
Omega &Omega; ?
omega &omega; ?
password dot &#9679; ?
bullet &#8226;

SQL Server: Database Snapshot (Transact-SQL)

Qualquer utilizador que possa criar uma vbase de dado, pode criar um Snapshot. A única maneira de o fazer é usando Transact-SQL.

Com base no tamanho actual da base de dados fonte, garantindo que você tenha espaço em disco suficiente para armazenar o snapshot da base de dados. O tamanho máximo de um snapshot da base de dados é o tamanho da base de dados origem na criação do snapshot.
Este exemplo cria uma base de dados snapshot, na base de dados AdventureWorks. O nome dosnapshot, AdventureWorks_dbss_1800, e o nome do arquivo do seu arquivo esparso, AdventureWorks_data_1800.ss, indicar o tempo de criação, 6 (1800 horas).
Exemplo:

CREATE DATABASE AdventureWorks_dbss1800 ON
( NAME = AdventureWorks_Data, FILENAME =
'C:\Program Files\Microsoft SQL Server\MSSQL10.MSSQLSERVER\MSSQL\Data\AdventureWorks_data_1800.ss' )
AS SNAPSHOT OF AdventureWorks;
GO
A extensão . ss utilizada nos exemplos é arbitrária.

Clonezilla

What is Clonezilla ?

You’re probably familiar with the popular proprietary commercial package Norton Ghost®, and its OpenSource counterpart, Partition Image. The problem with these software packages is that it takes a lot of time to massively clone systems to many computers. You’ve probably also heard of Symantec’s solution to this problem, Symantec Ghost Corporate Edition® with multicasting. Well, now there is an OpenSource clone system (OCS) solution called Clonezilla with unicasting and multicasting!

Clonezilla, based on DRBL, Partition Image, ntfsclone, partclone, and udpcast, allows you to do bare metal backup and recovery. Two types of Clonezilla are available, Clonezilla live and Clonezilla SE (server edition).

Clonezilla live is suitable for single machine backup and restore. While Clonezilla SE is for massive deployment, it can clone many (40 plus!) computers simultaneously. Clonezilla saves and restores only used blocks in the harddisk. This increases the clone efficiency. At the NCHC’s Classroom C, Clonezilla SE was used to clone 41 computers simultaneously. It took only about 10 minutes to clone a 5.6 GBytes system image to all 41 computers via multicasting!

Features of Clonezilla

  • Free (GPL) Software.
  • Filesystem supported: ext2, ext3, ext4, reiserfs, xfs, jfs of GNU/Linux, FAT, NTFS of MS Windows, and HFS+ of Mac OS. Therefore you can clone GNU/Linux, MS windows and Intel-based Mac OS, no matter it’s 32-bit (x86) or 64-bit (x86-64) OS. For these file systems, only used blocks in partition are saved and restored. For unsupported file system, sector-to-sector copy is done by dd in Clonezilla.
  • LVM2 (LVM version 1 is not) under GNU/Linux is supported.
  • Multicast is supported in Clonezilla SE, which is suitable for massively clone. You can also remotely use it to save or restore a bunch of computers if PXE and Wake-on-LAN are supported in your clients.
  • Based on Partimage, ntfsclone, partclone, and dd to clone partition. However, clonezilla, containing some other programs, can save and restore not only partitions, but also a whole disk.
  • By using another free software drbl-winroll, which is also developed by us, the hostname, group, and SID of cloned MS windows machine can be automatically changed.

Homepage:

http://clonezilla.org/

Links não abrem no Internet Explorer e MS Word

Quando se clica num link no Outlook ou no MS Word e este não abre no browser, este é divido, normalmente ao facto de os links não estarem associados ao Internet Explorer.

Podemos para o efeito executar o seguinte Registry Fix:

ie_default_browser

Esta alteração ao Registry apenas funciona se tiver o Internet explorer instalado e na seguinte localização:

[C:\Programas\Internet Explorer], caso contrário pode editar o ficheiro no bloco de notas e actualizar a localização.

Find the name of SQL Server

select serverproperty (‘MachineName’) as Servername

SELECT SERVERPROPERTY(‘ServerName’) AS ServerName

Select SERVERPROPERTY(‘ComputerNamePhysicalNetBIOS’) as PhysicalName

SELECT @@SERVERNAME AS ServerNameGlobalVar

Buzzom.com

Localize e siga pessoas das suas áreas de interesse com Buzzom

Building Scalable Databases: Denormalization, the NoSQL Movement and Digg

Database normalization is a technique for designing relational database schemas that ensures that the data is optimal for ad-hoc querying and that modifications such as deletion or insertion of data does not lead to data inconsistency.

Database denormalization is the process of optimizing your database for reads by creating redundant data. A consequence of denormalization is that insertions or deletions could cause data inconsistency if not uniformly applied to all redundant copies of the data within the database.
Why Denormalize Your Database?

Today, lots of Web applications have “social” features. A consequence of this is that whenever I look at content or a user in that service, there is always additional content from other users that also needs to be pulled in to page. When you visit the typical profile on a social network like Facebook or MySpace, data for all the people that are friends with that user needs to be pulled in.

Or when you visit a shared bookmark on del.icio.us you need data for all the users who have tagged and bookmarked that URL as well. Performing a query across the entire user base for “all the users who are friends with Robert Scoble” or “all the users who have bookmarked this blog link” is expensive even with caching. It is orders of magnitude faster to return the data if it is precalculated and all written to the same place.

This is optimizes your reads at the cost of incurring more writes to the system. It also means that you’ll end up with redundant data because there will be multiple copies of some amount of user data as we try to ensure the locality of data.

read more