Sunday, April 27, 2008

Hypoglycemia And Thrush

A promise stackoverflow.com

The market for books on programming, says Joel Spolsky , is practically dead. Programmers are documented online and rarely read a programming book. And rightly so, I might add. The books are extremely expensive, incomprehensibly verbose and pretend to be so general as to meet the 14-year-old who faces la programmazione per la prima volta all'esperto programmatore che ha bisogno di una reference su una nuova tecnologia che deve apprendere.
I libri di programmazione tendono ad adattarsi ad una curva di apprendimento che è una sorta d'interpolazione di tutte le possibili curve d'apprendimento della fascia di mercato che l'editore vuole raggiungere. Il risultato è che non servono assolutamente a nulla, se non alcune rare eccezioni.

D'altra parte questo ha favorito un meccanismo di apprendimento della programmazione per tentativi ed errori, dove l'errore si corregge cercando su google il codice restituito e si tentano le varie soluzioni proposte da altri programmatori, della cui esperienza e capacità tecnica non si sa nulla. A volte dice bene alla prima botta, altre volte bisogna provare diverse soluzioni delle quali si capisce ben poco. Affinché tutto questi processi di correzioni producano qualcosa che sedimenti e si possa chiamare conoscenza, ci vuole molto tempo e molta costanza. Alla fine, pur avendo all'attivo una serie di progetti andati a buon fine perché bene o male i prodotti funzionano, molti programmatori non sanno cosa hanno fatto veramente. Per questo ci sono in giro milioni di programmatori mediocri o scarsi e pochissimi (ma veramente rari) bravi programmatori.

Un po' meglio va con le comunità semichiuse, tipo The Code Project , fonte alla quale anche io attingo spesso, perché almeno si può valutare lo spessore di chi fornisce soluzioni and has a more didactic, trying to teach a technique, instead of providing a simple recipe for resolving a given bug. But communities are growing so big and messy and do not scale well. Often run the risk of becoming very distracting.

StackOverflow.com is a promise that comes from Joel Spolsky and Jeff Atwood . A site for programmers, to ask questions and get answers. Simple and functional and non-profit hidden. So described by Joel: We're starting to

build a programming Q & A site that's free. Free to ask questions, free to answer questions, free to read, free to index, built with plain old HTML, no fake rot13 text on the home page, google-cloaking tactics scammy no, no salespeople, no JavaScript windows dropping down in front of the answer Asking for $ 12.95 to go away. You can register if You want to collect karma and win valuable flair That Will Appear next to your name, But Otherwise, it's just free.


I can not wait to be online to see if it holds promise. In the meantime you can follow the blog pdocast and listen to telephone conversations between Joel and Jeff.

Friday, April 25, 2008

How Remove Metal Surround On Fireplace

Virtual Server WSUS 3.0 - Part 1

The network organization of which I deal with patches Management is the need to install WSUS servers in different branch offices to finally take the controllo dello stato delle patch dei client. Sebbene gli uffici siano piccoli, vogliamo minimizzare il traffico lungo la WAN e per questo si è scelto di installare un server di patch managment direttamente in ogni ufficio.

L’idea è di avere dei server WSUS configurati come replica server, in modo da ereditare gruppi e stato di approvazione delle patch dal server centrale, ma scaricare la patch direttamente da Microsoft Update, in modo da non occupare la WAN per questo genere di traffico. Così avremmo il controllo centralizzato, ma la distribuzione decentralizzata.

Tuttavia in molti di questi piccoli uffici c’è scarsa disponibilità di mezzi, quindi capita spesso che un’unica macchina debba ospitare diversi servizi: nel nostro caso, ad esempio, un unico desktop deve fare sia da server Antivirus che da server WSUS. Qui nasce il problema: fare coesistere il nuovo Symantec Endopoint Protection Server e WSUS non è cosa banale. Entrambi usano IIS e uno dei due va configurato per utilizzare una porta diversa dalla 80. Ma non basta. Entrambi usano una cartella virtual Content e l’ultimo installato sovrascrive l’altra. La soluzione suggerita da Symantec è di installare WSUS in un sito diverso, seguendo la procedura indicata nella guida di Microsoft: Step-by-Step Guide to Getting Started with Microsoft Windows Server Update Services 3.0 a pagina 12. Tuttavia abbiamo preferito tentare la via del server virtuale, per un completo isolamento del servizio WSUS da ogni altro potenziale conflitto.

Poiché una tale situazione si ripeterà in più di un ufficio, cerchiamo di standardizzare la procedura e creare una sorta di Kit per il deployment di un Server WSUS Virtuale.

Windows 2003 Server Sysprep VHD

Per prima cosa prepariamo un hard disk virtuale con un sistema operativo server gia predisposto per l’installazione di WSUS, vale a dire con IIS e gli altri prerequisiti installati. Soprattutto è importante preinstallare tutte le patch di sicurezza disponibili al momento della creazione, in modo da ridurre il più possibile il tempo necessario al deployment.

Nel nostro caso abbiamo creato a virtual machine in Virtual Server 2005 SP1, with 256MB of RAM (if its sole purpose is to act as a WSUS server for a few cars, little memory should be enough, however this parameter will subject to verification), a SCSI hard disk dynamically expandable 127Gb and connected to a physical network adapter.

At this point we start the virtual machine by reading the CD directly from the CD to setup Windows 2003 Server (preferably with SP2 included) and install the operating system as a normal member server in Workgroup. After installation, install IIS and then update the OS through Microsoft Update. Once you update the operating system to the latest patch also install antivirus and then we connect the prerequisites for WSUS, which at the time of writing are only two:

  • . NET Framework 2.0 (download )
  • Report Viewer Redistributable ( download )

as MMC 3.0 is already included in the Service Pack 2 of Windows 2003 Server.

Since I prefer to keep the operating system image quite small, but at the same time minimize the installation work for the next deployment, I will stop here and do not download or install either SQL Server 2005 Express nor WSUS itself. I'd rather do it directly from the Internet once the virtual server has been delivered and installed at the destination.

At this point we need to prepare for the virtual disk image using sysprep to generalize it and pack it to reduce its size and make transportation easier in the decentralized offices. To do this the steps are:

  1. Copy Sysprep on the virtual server and launch the generalization
  2. Defragment the virtual disk defragmenter with a powerful (ie capable of defragmenting even empty space)
  3. Pre-shrink the virtual disk with the ' Precompact utility of Virtual Server 2005 Compact the virtual disk
  4. (Optional) Capture the image with an imaging software (Ghost and ImageX)