Nascondere le immagini nei feed RSS in Safari

Mele e appunti

Un suggerimento davvero ottimo da Mac OS X Hints. Vi sarà molto utile se, come me, ogni tanto date un’occhiata veloce ai feed RSS direttamente da Safari; e se, come me, siete sommamente infastiditi dall’abitudine ormai radicata di inserire immagini ovunque, anche e soprattutto quando nel feed compare solo un riassunto dell’articolo. Un caso eclatante è Macworld.com: una riga e mezza di riassunto, un’enorme icona per ogni articolo, che porta via spazio inutilmente e nulla aggiunge al valore dell’articolo.

Il suggerimento che ho trovato su Mac OS X Hints prevede di aprire un editor di testo qualunque (come TextWrangler, gratuito) e scrivere:

@charset "UTF-8"; .apple-rss-article-body img{display:none};

Salvatelo come file CSS (per esempio noimg.css) e mettetelo in un luogo sicuro (il mio si trova nella cartella Documenti nella mia Home). Poi entrate nelle Preferenze di Safari, andate alla sezione Avanzate, e scegliete ‘Altro…’ dal menu a discesa Foglio di stile. Individuate il file CSS che avete appena salvato e selezionatelo. Le immagini dai feed spariranno.

Link: Nascondere le immagini nei feed RSS in Safari

LaCie, nevermore.

Tech Life

It comes in threes

Three months ago, my external 320 GB LaCie Porsche Design hard drive, purchased in 2008, began displaying an odd behaviour. I would turn it on, hear it start, but it would take a suspiciously long time before mounting on my Mac’s desktop. The first time I noticed this, I didn’t give it much weight because I was too busy. The second time, the time lapse before the disk mounted on the desktop was noticeably longer, and it was also accompanied by a series of slight noises suggesting that the drive was having a hard time booting. Now that drive had my full attention: I freed around 60 GB of disk space on another external drive, and I promptly moved my whole iTunes library there. Finally the volume mounted, and that day I put the drive under pressure, to see (and especially hear) any sign of impending failure. Everything worked fine. The third time, two days later, the disk did not mount on the desktop. I didn’t panic: all critical data was already elsewhere, the rest was a mix of redundant and backup material that I could recover with a bit of an effort, but generally it was no big deal. 

When the disk failed to mount on the desktop, I had an intuition of what was happening, and after a quick check by turning the drive off and on again just once, I decided to leave it alone until I had time to deal with it properly. Finally, the day before yesterday (!) I had the opportunity to do so. Here are some observations worth sharing. 

The results of a little investigation

This LaCie Porsche Design drive is the third unit in a LaCie box that has failed on me. The other two ‘dearly departed’ were a 20 GB Pocketdrive unit in 2003 and a d2 160 GB unit in 2008. Granted, it’s three drives in just over seven years, and perhaps not a really significant statistical sample to decide against purchasing LaCie products anymore. Moreover it is known that LaCie basically manufactures the external enclosure and interface, but the hard drives inside are from other brands. The three drives that failed were, in chronological order, an IBM, a Western Digital and a Seagate Barracuda — so why blame LaCie? It’s been the recurrent fault pattern — which manifested in an almost identical manner even this third time — what made me think that the root of the problem lies in the LaCie enclosure and its power circuitry, not in the hard drive itself. 

The dynamics of the failure of the three drives is identical: The drive starts having power-related problems, start-up times are much longer, booting becomes a laborious process, the volume self-unmounts from the Mac’s desktop and re-mounts intermittently, and after a while it appears dead. It turns on but there’s no sound and it does not mount on the desktop. In all three cases, after opening the LaCie enclosure, removing the hard drive inside, and inserting it in another generic enclosure (I own an old but very reliable unit with a FireWire 400 interface), the drive powered on normally, the volume(s) mounted on the desktop immediately and I was able to access my data, but not before having repaired the disk structure with DiskWarrior.

From my empirical observations, here’s what I deduced: the power circuitry in LaCie’s enclosures is the weak link in the chain. I hypothesise that after a while, the power circuitry starts to fail and not provide a stable power supply to the hard drive. In the best case scenario, the drive simply won’t ‘connect’ and therefore the Mac won’t be able to see it or access it. In the worst case scenario, the unstable power (imagine the typical power surge in your home, with lightbulbs flickering) causes the drive’s heads to become equally unstable and corrupt the information on the disk. For this reason in all three cases I was able to recover the data only partially, and DiskWarrior has always reported problems at the directory structure level. In the case of the second LaCie unit (the 160 GB one) and the 320 GB Porsche Design model, which were both divided into two partitions, one of the two partitions always got damaged in the process and even after running the diagnostic and repair tools, it was mounted on the desktop and appeared with less capacity than before (e.g. 55 GB instead of 80), or did not mount at all. 

In short, three different drives, an essentially identical fault pattern. Average hard drive life: never more than three years. The suspicion of planned obsolescence is strong, but for now I’ve decided to reserve my judgment on the matter and just avoid buying a LaCie branded product from now on. I’m very tempted to buy bare hard drives and empty enclosures (or simple accessories such as those produced by NewerTechnology) separately, both manufactured by brands of renown quality. By now I reckon that if a hard drive wrapped in a nice enclosure costs just 70 Euros, in the end you get what you paid for — not much, that is. 

One last note: as I have said many times in the past, I can’t recommend DiskWarrior enough. If you think it’s expensive, you haven’t read this article carefully.

Mai più LaCie

Mele e appunti

E il terzo se ne va

Tre mesi fa il mio disco esterno LaCie Porsche Design da 320 GB acquistato nel 2008 ha cominciato a fare i capricci. Lo accendevo, lo sentivo mettersi in marcia, ma impiegava un tempo sospettosamente lungo prima di montarsi sulla scrivania. La prima volta che ho notato questo comportamento non gli ho dato eccessivamente peso, anche perché ero troppo occupato. La seconda volta, il tempo trascorso prima che il disco si montasse si è allungato, con in più una serie di lievi rumori che suggerivano che il disco stesse facendo fatica a montarsi. Il disco aveva ora tutta la mia attenzione: ho liberato 60 GB su un altro disco esterno, e ho trasferito prontamente tutta la libreria iTunes che tenevo sul LaCie da 320 GB. Quel giorno ho messo il disco sotto pressione, per vedere (e soprattutto sentire) se potevano esserci indizi di guasti imminenti. Il disco funzionava bene. La terza volta, due giorni dopo, non si è montato sulla scrivania. Niente panico: i dati importanti erano già altrove; il resto era un misto di backup ridondanti e di materiale che avrei potuto ricuperare altrove con un po’ di fatica, ma nulla di veramente trascendentale.

Il giorno in cui quel disco non si è montato sulla scrivania del Mac, ho avuto una veloce intuizione di quel che stava accadendo, e dopo uno spegni/riaccendi che mi ha confermato che il disco proprio non voleva montarsi, ho deciso di lasciarlo stare fino a quando avessi avuto tempo di occuparmene con calma. Finalmente l’altroieri (!) ho avuto l’opportunità di farlo. Mi sembra importante condividere alcune osservazioni in merito.

I risultati di una modesta investigazione

Questo LaCie Porsche Design è il terzo disco (in un involucro) LaCie a guastarsi. Prima di lui se ne sono andati nel 2008 uno da 160 GB di quelli simili all’attuale linea d2, in scocche di metallo che poggiano verticalmente sulla scrivania, e nel 2003 un Pocketdrive da 20 GB. Siamo d’accordo, si tratta di tre dischi in poco più di sette anni, e forse è una statistica un po’ misera per decidere di non comprare più questi prodotti. Del resto è noto che LaCie mette la scocca, ma i dischi all’interno sono di altre marche, e i tre dischi che mi si sono guastati erano un IBM, un Western Digital e infine un Seagate; perché dare la colpa a LaCie? È la trama ricorrente del guasto, che si è ripresentata identica anche questa terza volta, a farmi pensare che la radice del problema sta nell’involucro LaCie e non nel disco rigido stesso.

La dinamica del guasto dei tre dischi è identica: il disco inizia a presentare problemi di alimentazione, fatica a mettersi in marcia, si smonta da solo dalla scrivania per poi rimontarsi in maniera intermittente, e dopo poco appare morto. Si accende, ma non emette suoni e non si monta sulla scrivania. In tutti e tre i casi, aprendo l’involucro LaCie, estraendo il disco al suo interno, e inserendolo in un altro involucro in mio possesso, una vecchia ma affidabilissima unità con interfaccia FireWire 400, il disco all’accensione si è montato immediatamente e ho potuto nuovamente accedere ai miei dati, non prima però di averlo riparato con DiskWarrior.

(Nel mio articolo Lo Zen e l’arte del recupero dei dati del novembre 2008 ho scritto una cosa che si è rivelata inesatta. A quel tempo credevo che con il vecchio Pocketdrive LaCie da 20 GB si fosse guastato prima il disco, ma da prove incrociate successive eseguite nel 2010 ho potuto stabilire che anche il quel caso il problema derivava dall’alimentazione dell’involucro: l’IBM Travelstar ivi contenuto ha funzionato benissimo dopo il trapianto in un PowerBook Titanium, e un altro disco che sapevo funzionare bene, quando inserito nell’involucro LaCie, presentava gli stessi problemi del disco originario).

Dalle mie osservazioni empiriche ho dedotto quanto segue: il circuito di alimentazione degli involucri LaCie è l’anello debole della catena. Ipotizzo che, dopo un certo tempo, cominci a cedere e a non fornire al disco un’alimentazione stabile. Nel migliore dei casi questo fa sì che il disco semplicemente non si ‘accenda’ e quindi non sia visibile dal Mac. Nel peggiore dei casi, l’alimentazione instabile (pensiamo ai classici sbalzi di corrente) fa in modo che le testine del disco diventino altrettanto ‘instabili’ e corrompano le informazioni sul disco. Per questo in tutti e tre i casi ho potuto ricuperare i dati solo parzialmente, e DiskWarrior ha sempre notificato problemi a livello di directory e registri del disco. Nel caso del secondo LaCie (quello da 160 GB) e di quest’ultimo Porsche Design, entrambi divisi in due partizioni, una delle due partizioni si è sempre danneggiata nel processo, e anche dopo la diagnostica e la riparazione compariva di minor capacità rispetto a prima (esempio: 55 GB invece di 80), oppure non compariva del tutto.

Insomma, tre dischi diversi, dinamica del guasto sostanzialmente identica. Vita media del disco non superiore a tre anni. Il sospetto di obsolescenza programmata è forte, ma a riguardo sospendo il giudizio. Mi limito semplicemente a evitare di acquistare un prodotto LaCie d’ora innanzi. Sono molto tentato di acquistare dischi rigidi nudi e crudi e involucri (o semplici interfacce come quelle prodotte da NewerTechnology), entrambi di marche riconosciute e di qualità. E sono ormai dell’idea che forse un involucro + disco che costa 70 Euro, alla fine, valga altrettanto poco.

Ah, dimenticavo: come ho già avuto modo di dire più volte, acquistate DiskWarrior. Se vi sembra caro, significa che non avete letto con attenzione questo articolo.

With a little bit of Synergy

Software

When I received the Apple Bluetooth aluminium keyboard as a birthday present last November, it didn’t replace the older white Apple Wireless Keyboard I use more frequently on my main Mac workstation. I am too comfortable with the latter. If you count work and not-work relating writing, I type at least 12 hours a day at the computer, and the design of the keys of the newer slim keyboard has proven to be a little impractical for that amount of typing. Plus, the old white model is an extended keyboard, and I need the extra keys. But for the PowerMac G4 Cube I have by my side it was just perfect: compact, without cables so I can easily draw it closer when I need to type something on the Cube, and great for light typing overall.

The only drawback is that the latest Bluetooth aluminium keyboard is not fully compatible with Mac OS X 10.4 Tiger. Most of the keyboard works, but the special media keys on the first row aren’t recognised and are treated like simple Function keys. The latest 2009 Aluminium Keyboard Firmware Update 1.0 which enables such features requires at least Mac OS X 10.5.8, and the firmware update for the previous 2007 keyboard model (the one with 3 AA batteries) appears completely ineffectual on the newest keyboard.

It’s mildly annoying not being able to control the display’s brightness or the volume from the keyboard, but I accepted the trade-off anyway. On the 22-inch acrylic Cinema Display, brightness controls are quite within reach, and for the volume, well, I just use the volume icon in the menubar. Lately, though, I’ve been listening to more classical music while working, and my classical library is on the Cube, so I wanted to have a quick way to control iTunes without losing focus on my main monitor. I thought Hey, now those media keys on the Bluetooth keyboard would surely come in handy. Putting this thought on the back of my mind, knowing that very little could be done to enable those keys, I started looking for some application that at least allowed me to control iTunes more easily, without the need to have the iTunes interface always on the foreground, for instance.

Keeping in mind that probably the latest cool apps don’t support Tiger, I had to look for something that I knew had been around for a while. Then I remembered a nice utility my friend Grant Hutchinson used (and perhaps still uses): Synergy. I knew Synergy was a powerful, versatile application, yet imagine my surprise when I browsed its preference pane’s tabs and found this:

Synergy preference pane

Synergy’s hot keys goodness

The original shortcuts for the iTunes’ controls were different: I reconfigured them to match the media keys on my keyboard, applied the changes and voilà. Now when I open iTunes, the keys highlighted in the image below do work.

Apple Bluetooth keyboard

(Image courtesy of Apple)

Yes, I have to press the ⌘ key as well, but it’s really no big deal: since the pictograms match the assigned shortcuts, I find them quickly enough and don’t have to memorise other less immediate shortcuts. I’m aware that not many people are in this same situation, so I don’t know how much this ‘tip’ is going to help you. In any case, you should at least give Synergy a try. The latest version works with Snow Leopard, plus there’s a specific version for Leopard and above, and finally version 3.4.1 (which I downloaded) works with Mac OS X 10.2.8 and above.

La pagina di aiuto dell'Apple Store in italiano

Mele e appunti

Lo so, ultimamente questo spazio è diventato quasi un pretesto per parlare degli svarioni di traduzione da inglese a italiano che mi capita di incontrare mentre lavoro. Abbiate pazienza, ma questa merita davvero.

Andate alla pagina di aiuto dell’Apple Store in italiano e inorridite. Aggiungo qui una schermata per archiviazione futura:

Osservate soprattutto il riquadro centrale: Mange il vostro ordine. Sì, è proprio scritto così. Per non parlare della confusione delle persone: in un punto si dà del Lei, in un altro si dà del voi, a volte anche nel contesto della stessa frase (Annulli e cambi il vostro ordine). Facendo clic e leggendo nelle varie sottosezioni, l’italiano che si trova è di questo tenore.

Ritengo assolutamente vergognoso che un’azienda come Apple, che in molti altri contesti dimostra di curare con estrema attenzione il proprio sito, tratti la localizzazione in altre lingue in questo modo.

Apple, se ti serve un consulente io sono qui.