Around and About .NET World

Il blog di Marco Minerva
posts - 1671, comments - 2232, trackbacks - 2135

My Links

News

Contattami su Live Messenger:


MCTS: Windows, Web, Distributed Applications & SQL Server

MCPD: Enterprise Applications

Tag Cloud

Archives

Post Categories

Links

giovedì 3 maggio 2007

Evviva la patente europea del computer!

Un amico che in questi giorni sta studiando per l'esame ECDL mi ha chiesto un parere sulle domande dei quiz. Mi ha così passato un CD-ROM con vari test... All'inzio mi sembrava assurdo, ma poi ho notato che le domande assurde erano parecchie; se non ci credete, leggete qui sotto (ed ho riportato solo le più clamorose):

  • Quale stampante consente di stampare più documenti contemporaneamente?
    1. Laser
    2. Ad aghi
    3. A getto d'inchistro

Sinceramente neanche in Star Trek ho mai visto una stampante parellela...

  • In quale occasione il computer emette suoni mentre state scrivendo un documento?
    1. Per informare che è finita la pagina
    2. Per informare che è arrivato il momento di salvare il documento
    3. Per indicare che si sta tentando di scrivere in una zona proibita

L'editor di testi a cui il quiz si riferisce dovrebbe essere Word... Ma in tanti anni che lo utilizzo io non l'ho mai sentito emettere suoni mentre sto scrivendo...

  • Una volta aperta la finestra di dialogo Stampa, si può ottenere il documento su carta senza fare clic su OK o su Stampa?

Qui non riporto neanche le alternative di risposta...

  • Affinché un computer riproduca suoni deve possedere:
    1. Una scheda audio e un microfono
    2. Una scheda audio e un acceleratore 3D
    3. Una scheda audio e un lettore CD-ROM

In questo caso semplicemente non c'è la risposta corretta!

  • Perché talvolta si rendono necessarie le unità di memoria a disco?

Che sia una presa in giro? TALVOLTA???

  • La scheda audio è fondamentale per il funzionamento del computer?
    1. Sì, ma non si può giocare
    2. Sì, ma il computer non è in grado di riprodurre suoni
    3. Sì, ma bisogna scollegare anche le casse

Qualcuno è in grado di interpretare il significato di queste risposte?

  • Quanti sono gli oggetti di Windows?
    1. 2
    2. 4
    3. 8

Ma di quali oggetti sta parlando?

Non credo ci sia bisogno di aggiungere altro... Con questo non me ne voglia chi effettivamente ha ottenuto la patente europea del computer, ma credo sia normale sorridere quando ci si trova di fronte a domande di questo tipo smile_teeth

posted @ lunedì 1 gennaio 0001 00:00 | Feedback (39) | Filed Under [ Tutto & Oltre :-) ]

InfraRecorder

Windows Vista, lo sappiamo tutti, include gli strumenti necessari a masterizzare CD e DVD.  Tuttavia, le funzionalità fornite sono abbastanza limitate, per cui è facile sentire la necessità di software più evoluti. Rimanendo nell'ambito freeware, uno dei programmi più apprezzati credo che sia CDBurnerXP Pro. Purtroppo la versione attuale di questo software non è ancora compatibile con Vista (la versione 4.0, che dovrebbe supportare il nuovo sistema operativo, è attualmente in fase di test).

Per fortuna c'è un'alternativa: si tratta di InfraRecorder, un software di masterizzazione, ospitato su SouceForge, dotato di caratteristiche molto interessanti:

    • Create custom data, audio and mixed-mode projects and record them to physical discs as well as disc images
    • Supports recording to dual-layer DVDs
    • Blank (erase) rewritable discs using four different methods.
    • Record disc images (ISO and BIN/CUE)
    • Fixate discs (write lead-out information to prevent further data from beeing added to the disc).
    • Scan the SCSI/IDE bus for devices and collect information about their capabilities
    • Create disc copies, on the fly and using a temporary disc image
    • Import session data from multi-session discs and add more sessions to them
    • Display disc information
    • Save audio and data tracks to files (.wav, .wma, .ogg, .mp3 and .iso)

Questo programma, della dimensione di soli 2.29 MB, è pienamente compatibile con Windows Vista. Maggiori informazioni sono disponibili sulla pagina del progetto.

posted @ lunedì 1 gennaio 0001 00:00 | Feedback (4) | Filed Under [ Tutto & Oltre :-) Windows Related ]

Internet Explorer 8 nell'autunno 2008?

At last year's Mix event, Microsoft suggested that IE would be refreshed every 12 to 18 months. However, Wilson [Microsoft's platform architect for Internet Explorer] said that every two years would be more likely. [...] Two years from IE 7's October 2006 release would put IE 8 on track to appear in the fall of 2008.

Questo è quanto si legge in un articolo apparso due giorni fa su Computer World. Un po' di scetticismo è d'obbligo, considerando che tra IE6 e IE7 sono passati più di 5 anni... Staseremo a vedere fingerscrossed

posted @ lunedì 1 gennaio 0001 00:00 | Feedback (3) | Filed Under [ Tutto & Oltre :-) Updates & Service Pack ]

Un po' di chiarezza sulla licenza LGPL

Ammetto di non essere molto esperto in materia di licenze software... In particolare non avevo molto chiara la politica di distrubuzione del codice sorgente di librerie che sono rilasciate in LGPL e che io utilizzo nei progetti .NET. Oggi ho trovato questo post che finalmente mi ha chiarito le idee smile_wink.

posted @ lunedì 1 gennaio 0001 00:00 | Feedback (0) | Filed Under [ Tutto & Oltre :-) ]

Accedere ad un database MySQL da Compact Framework

L'ultima versione del Connector/NET di MySQL, la 5.1, supporta anche il .NET Compact Framework 2.0. Oggi ho provato ad utilizzarla, quindi ho aggiunto al mio progetto il riferimento alla libreria MySQL.Data.CF.dll e ho tentato di aprire una connessione verso un database remoto... Purtroppo nel momento di eseguire il metodo Open dell'oggetto MySqlConnection viene restituita la seguente eccezione:

System.MissingMethodException: Can't find PInvoke DLL 'kernel32.dll'

Un'occhiata allo Stack trace mostra che il problema risiede nel costruttore della classe MySql.Data.Common.Semaphore. A questo punto ho disassemblato la classe incriminata con Reflector e, così, ho scoperto la causa del problema, ovvero le seguenti dichiarazioni:

[DllImport("kernel32.dll", SetLastError=true)] private static extern IntPtr CreateSemaphore(ref SECURITY_ATTRIBUTES securityAttributes, int initialCount, int maximumCount, string name); [DllImport("kernel32.dll")] private static extern bool ReleaseSemaphore(IntPtr hSemaphore, int lReleaseCount, IntPtr lpPreviousCount);

Che non sono corrette perché la libreria kernel32.dll non fa parte della piattaforma Windows Mobile.

Per farla breve, queste funzioni vengono richiamate quando si utilizza il Connection pooling (che è l'impostazione predefinita). Di consenguenza, in attesa che il codice venga corretto, per utilizzare MySQL da .NET Compact Framework è necessario disabilitare il pooling, specificando il parametro

pooling=false

Nella stringa di connessione che viene passata all'oggetto MySqlConnection.

posted @ lunedì 1 gennaio 0001 00:00 | Feedback (3) | Filed Under [ .NET Compact Framework ]

Windows Vista Media Center SDK refresh

Come si legge qui, è stato recentemente rilasciato un aggiornamento per il Windows Vista Media Center SDK:

    • Added several previously standalone MSDN technical articles and blog posts to the help documentation CHM file
    • The MCML Preview Tool Launcher power toy is now included as part of the SDK installation process.  If you previously had the standalone MCML Preview Tool Launcher power toy installed on your system, the new version of the SDK will automatically upgrade it
    • Modified the Q and Z setup projects to use WiX v3.0 instead of WiX v2.0
    • Added an additional shortcut for the MCML Preview Tool (McmlPad) to the Windows Vista Start Menu.  The new shortcut launches McmlPad inside of Windows Media Center by using the ehshell.exe /entrypoint command line switch.  The other shortcut launches McmlPad as a standalone application like it did before
    • Added registry files (*.reg) to the \Tools folder to make it easier to enable and disable application debugging and the application error details button.  The registry value to enable the error details button is set by SDK setup, but the registry file can be useful when attempting to debug application failures on systems that do not have the SDK installed
    • Added C# source code (.cs) files for the samples in McmlSampler that use code-behind
    • Made a few minor fixes and tweaks to the Z sample application

Per il download, clic qui (richiede la verifica del sistema operativo).

posted @ lunedì 1 gennaio 0001 00:00 | Feedback (0) | Filed Under [ Windows Related Updates & Service Pack ]

Powered by:
Powered By Subtext Powered By ASP.NET