<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-4349258870750795582</id><updated>2011-07-08T08:59:46.665+02:00</updated><category term='squid'/><category term='ubuntu SyncMaster720N'/><category term='postgresql pg_stat_activity database admin sql'/><category term='subversion svn debug'/><category term='actionscript flash stage'/><category term='database sviluppo perl'/><category term='perl iptables linux network'/><category term='grep'/><category term='linux dmidecode bios acpi dmi'/><category term='ubuntu'/><category term='isomaster iso virtualibox'/><category term='testdisk cancellazione recupero tabella partizioni'/><category term='linux modulo module kernel sviluppo linguaggio_c'/><category term='linux traduzioni'/><category term='pwi inkwriter notetaker mobile word'/><category term='rdesktop'/><category term='smartctl sata'/><title type='text'>Frammenti di codice</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://frammentidicodice.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4349258870750795582/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://frammentidicodice.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>MR</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>20</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4349258870750795582.post-8382582882803903108</id><published>2011-02-10T16:30:00.002+01:00</published><updated>2011-02-10T16:31:17.538+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='rdesktop'/><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>Ubuntu rdesktop e problemi CAPS LOCK  (risolto)</title><summary type='text'>Aprire il file /usr/share/rdesktop/keymaps/commonModificare la linea “Caps_Lock 0×0 inhibit” in “Caps_Lock 0×3a capslock</summary><link rel='replies' type='application/atom+xml' href='http://frammentidicodice.blogspot.com/feeds/8382582882803903108/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4349258870750795582&amp;postID=8382582882803903108' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4349258870750795582/posts/default/8382582882803903108'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4349258870750795582/posts/default/8382582882803903108'/><link rel='alternate' type='text/html' href='http://frammentidicodice.blogspot.com/2011/02/ubuntu-rdesktop-e-problemi-caps-lock.html' title='Ubuntu rdesktop e problemi CAPS LOCK  (risolto)'/><author><name>MR</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4349258870750795582.post-8037928239303453716</id><published>2010-02-24T20:14:00.003+01:00</published><updated>2010-02-24T20:19:58.587+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='isomaster iso virtualibox'/><title type='text'>VirtualBox 3.1.4 e le immagini ISO</title><summary type='text'>Dopo l'aggiornamento di VirtualBox dalla 3.0 alla 3.1.4 l'immagine ISO di un CD-ROM, prima perfettamente utilizzabile, non viene più riconosciuta dal Virtual Disk Manager. L'errore che compare è "VERR_VD_RAW_INVALID_HEADER". Cercando un po' in rete, pare che questo problema sia piuttosto comune. Scopro allora che un utente ha risolto il problema "rimasterizzando" il file immagine con Isomaster, </summary><link rel='replies' type='application/atom+xml' href='http://frammentidicodice.blogspot.com/feeds/8037928239303453716/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4349258870750795582&amp;postID=8037928239303453716' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4349258870750795582/posts/default/8037928239303453716'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4349258870750795582/posts/default/8037928239303453716'/><link rel='alternate' type='text/html' href='http://frammentidicodice.blogspot.com/2010/02/virtualbox-314-e-le-immagini-iso.html' title='VirtualBox 3.1.4 e le immagini ISO'/><author><name>MR</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4349258870750795582.post-4461084483832881104</id><published>2010-02-08T23:28:00.003+01:00</published><updated>2010-02-08T23:32:09.828+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='actionscript flash stage'/><title type='text'>ActionsScript 3.0: stage: width vs. stageWidth</title><summary type='text'>Per accedere ai valori di larghezza ed altezza del documento Flash, è necessario utilizzare le proprietàstage.stageWidthstage.stageHeightLe proprietà quasi omologhestage.widthstage.heightsono influenzate invece dal numero e dalle dimensioni degli oggetti disegnati sullo stage.</summary><link rel='replies' type='application/atom+xml' href='http://frammentidicodice.blogspot.com/feeds/4461084483832881104/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4349258870750795582&amp;postID=4461084483832881104' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4349258870750795582/posts/default/4461084483832881104'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4349258870750795582/posts/default/4461084483832881104'/><link rel='alternate' type='text/html' href='http://frammentidicodice.blogspot.com/2010/02/actionsscript-30-stage-width-vs.html' title='ActionsScript 3.0: stage: width vs. stageWidth'/><author><name>MR</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4349258870750795582.post-4442352728402198286</id><published>2010-01-09T00:36:00.005+01:00</published><updated>2010-01-09T00:42:54.275+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='subversion svn debug'/><title type='text'>Debug del client subversion a riga di comando</title><summary type='text'>Situazione: il client subversion a riga di comando, svn, non ne vuole sapere di connettersi ad un determinato repository. L'errore è tipicamente "non posso connettermi al server xxx."Accedendo al repository con altri programmi, ad esempio con TortoiseSVN o con lo stesso Firefox, nessun problema.Per verificare cosa accade durante l'esecuzione di svn è necessario abilitare l'opzione neon-debug-mask</summary><link rel='replies' type='application/atom+xml' href='http://frammentidicodice.blogspot.com/feeds/4442352728402198286/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4349258870750795582&amp;postID=4442352728402198286' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4349258870750795582/posts/default/4442352728402198286'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4349258870750795582/posts/default/4442352728402198286'/><link rel='alternate' type='text/html' href='http://frammentidicodice.blogspot.com/2010/01/debug-del-client-subversion-riga-di.html' title='Debug del client subversion a riga di comando'/><author><name>MR</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4349258870750795582.post-4612869440047186280</id><published>2009-12-29T23:03:00.002+01:00</published><updated>2010-01-05T00:39:41.305+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux traduzioni'/><title type='text'>Linus definisce Linux "grasso e grosso"</title><summary type='text'>Tradotto da Linus calls Linux 'bloated and huge'Linus definisce Linux "grasso e grosso"Nessuna dieta in vistaLinuxCon 2009Il createore di Linux Linus Torvalds afferma che il kernel open source è diventato "grasso e grosso", e nessuna "dieta bikini" è in vista.Durante una tavola rotonda alla LinuxCon di Portland (Oregon) questo pomeriggio, il moderatore James Bottomley, insigne ingegnere presso </summary><link rel='replies' type='application/atom+xml' href='http://frammentidicodice.blogspot.com/feeds/4612869440047186280/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4349258870750795582&amp;postID=4612869440047186280' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4349258870750795582/posts/default/4612869440047186280'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4349258870750795582/posts/default/4612869440047186280'/><link rel='alternate' type='text/html' href='http://frammentidicodice.blogspot.com/2009/12/linus-definisce-linux-grasso-e-grosso.html' title='Linus definisce Linux &quot;grasso e grosso&quot;'/><author><name>MR</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4349258870750795582.post-2182257944208788011</id><published>2009-11-13T11:56:00.002+01:00</published><updated>2009-11-13T11:59:40.165+01:00</updated><title type='text'>Unire file pdf senza Adobe Acrobat</title><summary type='text'>Si può utilizzare Ghostscript, in questo modo:gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile=finished.pdf file1.pdf file2.pdffinished.pdf è il nome del file che verrà prodotto.file1.pdf, file2.pdf sono i file che si vogliono concatenare. Ovviamente è possibile specificarne un numero arbitrario.Credits: Linux.com</summary><link rel='replies' type='application/atom+xml' href='http://frammentidicodice.blogspot.com/feeds/2182257944208788011/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4349258870750795582&amp;postID=2182257944208788011' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4349258870750795582/posts/default/2182257944208788011'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4349258870750795582/posts/default/2182257944208788011'/><link rel='alternate' type='text/html' href='http://frammentidicodice.blogspot.com/2009/11/unire-file-pdf-senza-adobe-acrobat.html' title='Unire file pdf senza Adobe Acrobat'/><author><name>MR</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4349258870750795582.post-6415610478578288601</id><published>2009-11-11T15:05:00.004+01:00</published><updated>2009-11-11T15:22:03.706+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='grep'/><category scheme='http://www.blogger.com/atom/ns#' term='squid'/><title type='text'>Squid: rimuovere commenti e linee vuote da squid.conf</title><summary type='text'>Nel file di configurazione di Squid ogni direttiva è preceduta da ampi commenti, molto utili come riferimento o come base di partenza per lo studio di nuove funzioni.In alcuni casi però il file può risultare maggiormente leggibile quando vengono eliminati tutti i commenti (che includono anche le direttive non esplicitamente configurate) e le linee vuote.Per produrre un file di configurazione "</summary><link rel='replies' type='application/atom+xml' href='http://frammentidicodice.blogspot.com/feeds/6415610478578288601/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4349258870750795582&amp;postID=6415610478578288601' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4349258870750795582/posts/default/6415610478578288601'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4349258870750795582/posts/default/6415610478578288601'/><link rel='alternate' type='text/html' href='http://frammentidicodice.blogspot.com/2009/11/squid-rimuovere-commenti-e-linee-vuote.html' title='Squid: rimuovere commenti e linee vuote da squid.conf'/><author><name>MR</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4349258870750795582.post-7418055204587582705</id><published>2009-10-26T13:43:00.010+01:00</published><updated>2009-10-26T14:07:53.873+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu SyncMaster720N'/><title type='text'>Monitor Samsung SyncMaster 720N e Ubuntu 9.04</title><summary type='text'>Dopo aver installato Ubuntu 9.04 su un PC con monitor SyncMaster 720N, mi sono accorto che la risoluzione massima dello schermo era impostata su 1152x864, mentre quella nativa del monitor è 1280x1024.Il motivo sembra risiedere nella non corretta rilevazione della frequenza orizzontale.E' necessario quindi "dare una mano" al sistema inserendo alcune direttive nel file di configurazione di X.1) </summary><link rel='replies' type='application/atom+xml' href='http://frammentidicodice.blogspot.com/feeds/7418055204587582705/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4349258870750795582&amp;postID=7418055204587582705' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4349258870750795582/posts/default/7418055204587582705'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4349258870750795582/posts/default/7418055204587582705'/><link rel='alternate' type='text/html' href='http://frammentidicodice.blogspot.com/2009/10/monitor-samsung-syncmaster-720n-e.html' title='Monitor Samsung SyncMaster 720N e Ubuntu 9.04'/><author><name>MR</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_A47wQK39kWg/SuWcm1fbHzI/AAAAAAAAAAM/1YhlaDWiejI/s72-c/Schermata-Apri+file.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4349258870750795582.post-3136580587143561234</id><published>2009-04-01T13:47:00.002+02:00</published><updated>2009-04-01T13:58:53.118+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='pwi inkwriter notetaker mobile word'/><title type='text'>Come aprire i file PWI con Microsoft Word</title><summary type='text'>Innanzitutto occorre copiare il file .pwi dal palmare al PC. Fatto questo lanciare MS Word ed aprire il file .pwi tramite la voce di menu File --&gt; Apri.Nota bene: se si utilizza la funzione "Apri con..." direttamente sul file .pwi, MS Word mostrerà una schermata bianca invece del contenuto del file.Questo comportamento, che a mio modo di vedere è sintomo di un baco nel codice di Word, è segnalato</summary><link rel='replies' type='application/atom+xml' href='http://frammentidicodice.blogspot.com/feeds/3136580587143561234/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4349258870750795582&amp;postID=3136580587143561234' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4349258870750795582/posts/default/3136580587143561234'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4349258870750795582/posts/default/3136580587143561234'/><link rel='alternate' type='text/html' href='http://frammentidicodice.blogspot.com/2009/04/come-aprire-i-file-pwi-con-microsoft.html' title='Come aprire i file PWI con Microsoft Word'/><author><name>MR</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4349258870750795582.post-2352775819449437427</id><published>2009-03-09T08:19:00.003+01:00</published><updated>2009-03-09T08:25:40.664+01:00</updated><title type='text'>Windows XP: ordinare le voci del menu Programmi</title><summary type='text'>Per ordinare alfabeticamente la lista dei programmi nel menu Start di Windows XP, seguire questa procedura:Start --&gt; Tutti i programmi --&gt; Spostare il mouse su una voce di menu --&gt; Tasto destro --&gt; Ordina per nomeSe premendo il tasto destro del mouse non succede nulla, assicurarsi di avere selezionato la seguente opzione:Tasto destro su Start --&gt; Proprietà --&gt; Personalizza --&gt; Avanzate --&gt; Attiva</summary><link rel='replies' type='application/atom+xml' href='http://frammentidicodice.blogspot.com/feeds/2352775819449437427/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4349258870750795582&amp;postID=2352775819449437427' title='1 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4349258870750795582/posts/default/2352775819449437427'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4349258870750795582/posts/default/2352775819449437427'/><link rel='alternate' type='text/html' href='http://frammentidicodice.blogspot.com/2009/03/windows-xp-ordinare-le-voci-del-menu.html' title='Windows XP: ordinare le voci del menu Programmi'/><author><name>MR</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4349258870750795582.post-1348973755159359247</id><published>2009-01-21T15:57:00.008+01:00</published><updated>2009-10-26T14:09:29.785+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='perl iptables linux network'/><title type='text'>Monitorare la velocità di trasferimento delle interfacce con iptables</title><summary type='text'>Questo semplice script in Perl rileva ogni 2 secondi i byte trasferiti dalle interfacce di rete (ad esempio eth0 ed eth1) e il valore dei contatori delle regole di iptables, e ne calcola la velocità di trasferimento in byte al secondo.Impostando opportunamente iptables si può monitorare in questo modo il traffico web, mail, ftp, ecc.Ecco il codice:use strict;use warnings;# quanti secondi attendo </summary><link rel='replies' type='application/atom+xml' href='http://frammentidicodice.blogspot.com/feeds/1348973755159359247/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4349258870750795582&amp;postID=1348973755159359247' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4349258870750795582/posts/default/1348973755159359247'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4349258870750795582/posts/default/1348973755159359247'/><link rel='alternate' type='text/html' href='http://frammentidicodice.blogspot.com/2009/01/monitorare-la-velocit-di-trasferimento.html' title='Monitorare la velocità di trasferimento delle interfacce con iptables'/><author><name>MR</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4349258870750795582.post-8559232574380748204</id><published>2009-01-20T20:44:00.004+01:00</published><updated>2009-01-20T21:00:50.627+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux dmidecode bios acpi dmi'/><title type='text'>Tutto sul proprio PC: dmidecode</title><summary type='text'>Cercando in rete informazioni su come controllare la luminosità del display del mio computer portatile, un Toshiba Satellite A100 (per la precisione il modello PSAANE-02R02MIT), ho trovato un forum in cui veniva menzionato il programma dmidecode.Questo strumento fornisce una quantità notevole di informazioni sulla macchina. Tra le altre, l'esatto modello del computer (incluso il numero di serie),</summary><link rel='replies' type='application/atom+xml' href='http://frammentidicodice.blogspot.com/feeds/8559232574380748204/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4349258870750795582&amp;postID=8559232574380748204' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4349258870750795582/posts/default/8559232574380748204'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4349258870750795582/posts/default/8559232574380748204'/><link rel='alternate' type='text/html' href='http://frammentidicodice.blogspot.com/2009/01/tutto-sul-proprio-pc-dmidecode.html' title='Tutto sul proprio PC: dmidecode'/><author><name>MR</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4349258870750795582.post-2412693482174071628</id><published>2009-01-15T20:28:00.003+01:00</published><updated>2009-01-15T20:33:08.195+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='smartctl sata'/><title type='text'>smartctl e chipset nVidia</title><summary type='text'>Tentando di eseguire un controllo su un disco maxtor collegato ad una scheda madre con processore AMD e chipset nVidia ho incontrato un problema:smartctl -a /dev/sdaDevice does not support SMARTLa scheda madre adotta un chipset nVidia MCP51.Dopo una breve ricerca ecco la soluzione:smartctl -d ata -a /dev/sdsa</summary><link rel='replies' type='application/atom+xml' href='http://frammentidicodice.blogspot.com/feeds/2412693482174071628/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4349258870750795582&amp;postID=2412693482174071628' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4349258870750795582/posts/default/2412693482174071628'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4349258870750795582/posts/default/2412693482174071628'/><link rel='alternate' type='text/html' href='http://frammentidicodice.blogspot.com/2009/01/smartctl-e-chipset-nvidia.html' title='smartctl e chipset nVidia'/><author><name>MR</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4349258870750795582.post-6436466219397928230</id><published>2008-10-03T08:45:00.004+02:00</published><updated>2008-10-03T09:03:47.761+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='database sviluppo perl'/><title type='text'>Database: anteporre un prefisso ai nomi delle tabelle</title><summary type='text'>E' una sana abitudine che può evitare fastidiosi mal di testa da debug.Usando un ORM per gestire il database (come DBIx::Class in perl), il codice SQL viene generato in modo automatico. Se una delle tabelle ha come nome una parola riservata (ad esempio "group" per indicare un gruppo di oggetti o un gruppo musicale), l'SQL prodotto da una chiamata all'ORM può generare degli errori di sintassi, a </summary><link rel='replies' type='application/atom+xml' href='http://frammentidicodice.blogspot.com/feeds/6436466219397928230/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4349258870750795582&amp;postID=6436466219397928230' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4349258870750795582/posts/default/6436466219397928230'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4349258870750795582/posts/default/6436466219397928230'/><link rel='alternate' type='text/html' href='http://frammentidicodice.blogspot.com/2008/10/database-anteporre-un-prefisso-ai-nomi.html' title='Database: anteporre un prefisso ai nomi delle tabelle'/><author><name>MR</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4349258870750795582.post-820001084836281672</id><published>2008-09-02T08:43:00.003+02:00</published><updated>2008-09-03T11:49:38.765+02:00</updated><title type='text'>Subversion vs Samba vs UTF-8 (opzione iocharset)</title><summary type='text'>SituazioneSalvataggio dei dati di un pc su un server Gentoo Linux tramite subversion.Sul server il charset di default è UTF-8:# cat /etc/env.d/02localeLC_ALL="it_IT.utf8"LANG="it_IT.utf8"# set|grep -i LC_ALLLC_ALL=it_IT.utf8Per accedere ai dati, monto lo share nascosto "C$" in modalità "cifs":mount -t cifs //pc-utente/C$ /mntDato che il repository subversion è ancora da inizializzare, eseguo un "</summary><link rel='replies' type='application/atom+xml' href='http://frammentidicodice.blogspot.com/feeds/820001084836281672/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4349258870750795582&amp;postID=820001084836281672' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4349258870750795582/posts/default/820001084836281672'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4349258870750795582/posts/default/820001084836281672'/><link rel='alternate' type='text/html' href='http://frammentidicodice.blogspot.com/2008/09/subversion-vs-samba-vs-utf-8-opzione.html' title='Subversion vs Samba vs UTF-8 (opzione iocharset)'/><author><name>MR</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4349258870750795582.post-1882068175537201985</id><published>2008-08-29T14:14:00.003+02:00</published><updated>2008-08-29T14:58:42.416+02:00</updated><title type='text'>Recupero dati con dd_rescue</title><summary type='text'>Capita che un hard disk presenti dei settori danneggiati. Se non si tiene d'occhio la situazione e non si sostituisce il disco per tempo, il numero di errori cresce, fino a quando i meccanismi di auto-riparazione del disco esauriscono le proprie risorse, e gli errori di lettura divengono evidenti.Uno strumento che può risultare utile in questi casi è dd_rescue. Dal punto di vista della </summary><link rel='replies' type='application/atom+xml' href='http://frammentidicodice.blogspot.com/feeds/1882068175537201985/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4349258870750795582&amp;postID=1882068175537201985' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4349258870750795582/posts/default/1882068175537201985'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4349258870750795582/posts/default/1882068175537201985'/><link rel='alternate' type='text/html' href='http://frammentidicodice.blogspot.com/2008/08/recupero-dati-con-ddrescue.html' title='Recupero dati con dd_rescue'/><author><name>MR</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4349258870750795582.post-7466269407124526833</id><published>2008-08-28T18:21:00.002+02:00</published><updated>2008-08-28T18:27:37.821+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='postgresql pg_stat_activity database admin sql'/><title type='text'>Postgresql: server status senza PgAdmin</title><summary type='text'>Per conoscere lo stato del server postgresql tramite SQL (ad esempio con psql o da programma), basta usare questo comando:SELECT * FROM pg_stat_activity;</summary><link rel='replies' type='application/atom+xml' href='http://frammentidicodice.blogspot.com/feeds/7466269407124526833/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4349258870750795582&amp;postID=7466269407124526833' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4349258870750795582/posts/default/7466269407124526833'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4349258870750795582/posts/default/7466269407124526833'/><link rel='alternate' type='text/html' href='http://frammentidicodice.blogspot.com/2008/08/postgresql-server-status-senza-pgadmin.html' title='Postgresql: server status senza PgAdmin'/><author><name>MR</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4349258870750795582.post-7369155548205035796</id><published>2008-08-21T18:03:00.003+02:00</published><updated>2008-08-21T18:21:05.658+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='testdisk cancellazione recupero tabella partizioni'/><title type='text'>testdisk mi ha salvato la vita (o quasi...)</title><summary type='text'>Situazione: hard disk esterno USB LaCie da 500 GB collegato al computer. Avrei dovuto scollegarlo, ma me ne sono dimenticato. Lancio l'installazione di Windows XP, e nella schermata di scelta delle partizioni vedo un insolito "affollamento": partizioni di varie dimensioni miste a spazi non partizionati... Non mi interessano i dati presenti sull'hard disk del PC, e sono molto, troppo di fretta, </summary><link rel='replies' type='application/atom+xml' href='http://frammentidicodice.blogspot.com/feeds/7369155548205035796/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4349258870750795582&amp;postID=7369155548205035796' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4349258870750795582/posts/default/7369155548205035796'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4349258870750795582/posts/default/7369155548205035796'/><link rel='alternate' type='text/html' href='http://frammentidicodice.blogspot.com/2008/08/testdisk-mi-ha-salvato-la-vita-o-quasi.html' title='testdisk mi ha salvato la vita (o quasi...)'/><author><name>MR</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4349258870750795582.post-6694251137892995345</id><published>2008-03-26T22:03:00.000+01:00</published><updated>2008-03-26T22:05:39.184+01:00</updated><title type='text'>Configurare Xorg per il monitor HP w2007v</title><summary type='text'>La chiave della configurazione è la riga seguente:ModeLine "1680x1050" 146.2 1680 1960 2136 2240 1050 1053 1059 1089La sezione "Monitor" completa è la seguente:Section "Monitor"Identifier   "Monitor0"VendorName   "HWP"ModelName    "HP w2007"HorizSync    24.0 - 83.0VertRefresh  60Option      "DPMS"ModeLine "1680x1050" 146.2 1680 1960 2136 2240 1050 1053 1059 1089#h_active: 1680  h_sync: 1960  </summary><link rel='replies' type='application/atom+xml' href='http://frammentidicodice.blogspot.com/feeds/6694251137892995345/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4349258870750795582&amp;postID=6694251137892995345' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4349258870750795582/posts/default/6694251137892995345'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4349258870750795582/posts/default/6694251137892995345'/><link rel='alternate' type='text/html' href='http://frammentidicodice.blogspot.com/2008/03/configurare-xorg-per-il-monitor-hp.html' title='Configurare Xorg per il monitor HP w2007v'/><author><name>MR</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4349258870750795582.post-3980503735835563037</id><published>2008-01-04T16:56:00.000+01:00</published><updated>2008-01-04T18:47:18.266+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux modulo module kernel sviluppo linguaggio_c'/><title type='text'>Linux: creare un modulo del kernel</title><summary type='text'>IntroduzioneLo scopo di questo post è descrivere l'infrastruttura di base per lo sviluppo di un modulo del kernel. Realizzeremo a questo proposito il classico "hallo-world", cioè un modulo la cui unica funzionalità sarà quella di annunciare, tramite un messaggio nei log di sistema, il suo caricamento o la sua rimozione dal kernel.Non ho ovviamente la pretesa di scrivere una guida esaustiva, ma </summary><link rel='replies' type='application/atom+xml' href='http://frammentidicodice.blogspot.com/feeds/3980503735835563037/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4349258870750795582&amp;postID=3980503735835563037' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4349258870750795582/posts/default/3980503735835563037'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4349258870750795582/posts/default/3980503735835563037'/><link rel='alternate' type='text/html' href='http://frammentidicodice.blogspot.com/2008/01/linux-creare-un-modulo-del-kernel.html' title='Linux: creare un modulo del kernel'/><author><name>MR</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
