samedi 23 juillet 2011

Passage à Lion

Voici les petits problèmes que j'ai eu lors du passage de Snow Leopard à Lion:
• Au moment du redémarrage, SnapZ Pro redemande le n° de Série
• Applications qui avaient besoin de Rosetta:
GlmStat X 6.0.0
Power on X
Canvas X (je ne l'utilisais plus depuis un moment en raison de problèmes de copier-coller du texte; Intaglio le remplace parfaitement)
Photoshop CS... remplacé depuis longtemps par Graphic Converter
Heredis 2 (embêtant)
• ntsf-3G semble incompatible mais cela reste à vérifier
• Le clavier pour taper son mot de passe sur l'écran de login était défini par défaut en américain



vendredi 15 juillet 2011

Supprimer un fichier du disque dur de la freebox revolution avec MacosX

J'ai eu la surprise de ne pas réussir à supprimer un dossier stocké sur le disque dur de la freebox v6 (revolution). J'accède à ce disque via Bonjour sur MacosX. Lorsque je voulais mettre à la poubelle ce dossier, mon mot de passe administrateur était demandé et puis rien.
Je m'en suis sorti en modifiant les droits sur le dossier et tous les fichiers à l'intérieur avec l'utilitaire batchmod. (http://www.macchampion.com/arbysoft/BatchMod/Welcome.html). J'ai mis des droits d'écriture (case W) à tout le monde et j'ai pu éliminer ce dossier récalcitrant.

mercredi 8 juin 2011

Mettre en oeuvre Growlnotify dans r


Pour utiliser GrowlNotify dans r
D’abord l’installer:
http://growl.info/downloads#generaldownloads

Ensuite définir la variable $PATH pour un shell non interactif. Dans le terminal:
cd ~
sudo pico .bashrc
copier:
export PATH=/usr/local/bin:$PATH

ctrl+X pour quitter et sauver le fichier.

Ensuite dans r:
system("growlnotify -t 'R script info' -m 'Finished!' -a 'R'")

Et voilà.

Si le PATH n’est pas défini dans le .bashrc, il faut faire:
system("/usr/local/bin/growlnotify -t 'R script info' -m 'Finished!' -a 'R'")

Pour le lancer que sur Mac, j'ai créé cette fonction. Elle est disponible dans mon package phenology:


growlnotify <-
function(textinfo="", help=FALSE) {
if(help) {
cat("This function is used to send a notification to Mac user.\n")
cat("The syntax is growlnotify(textinfo='Done!')\n")

} else {
if (.Platform$OS.type=="unix") {
if (substr(.Platform$pkgType, 1, 3)=="mac") {
if (any(system("ls /usr/local/bin/", intern=TRUE)=="growlnotify")) {
system(paste("/usr/local/bin/growlnotify -t 'R script info' -m '", textinfo, "' -a 'R'", sep=""))
}
}
}
}
}

dimanche 26 septembre 2010

Désactiver Ping

Si les flèches de Ping vous agacent, ce qui est notre cas tapez la commande suivante dans le terminal:
defaults write com.apple.iTunes hide-ping-dropdown 1
Pour revenir en arrière:
defaults write com.apple.iTunes hide-ping-dropdown 0
Si vous êtes très fâché qu'Apple tente de vous l'imposer, vous pouvez aussi désactiver la barre latérale Ping:
defaults write com.apple.iTunes disablePingSidebar 1

mercredi 12 mai 2010

Internet très lent

Retirer l'IPv6 et retirer des serveurs DNS obscurs. Ceux de Google sont très bien: 8.8.8.8 et 8.8.4.4

Image du vidéoprojecteur très sombre

Modifier le profil RVB. Le profil "RVB Apple" a résolu mon problème alors que le Générique RVB était catastrophique.

vendredi 12 mars 2010

Canvas et Snow Leopard

Je suis en train de migrer tous mes documents Canvas en svg. C'est là où on se rend compte de l'avantage d'un format non-propriétaire. Quand Canvas sera complètement non fonctionnel, je serai bien avec mes documents Canvas !



I suggest that after you install Snow Leopard, do this Canvas reset I posted a long time ago, which will fix crashing when saving, improve slow speed and other problems, and might be all that is necessary to run Canvas after upgrading:

1. Open Canvas and make a note of any custom settings you've made; position of palettes, document settings, etc.

2. Go to Configuration Center and choose Personality Manager, no need to choose anything, but you can if you want, click OK. A message will come up, click OK. This will reset Canvas to a clean install.

3. Quit Canvas, then re-launch it. It will act like it was installed for the first time. Go through the start up windows, then restore your custom settings.

4. Quit Canvas to lock in your settings.

Tips to keep Canvas running well;

Never choose a document from the File menu or the Open command, this is what causes Canvas to crash during saves. Put important documents on the Dock or sidebar of the Finder window, or go directly to a document with the Finder and double click it.

In Configuration Center, click Color Calibration, then in Mode, choose Canvas CMS. If you do choose Kodak, then down in Preview, leave it None, any other choice will slow Canvas to a crawl.

Do not use the View Fonts choice in the Text>Font menu. This will make Canvas unstable and crash. Also, if you use the Type palette, close it as soon as you make your choices (a bit more work, but prevents crashes).

After printing 2-3 times, the keyboard is not recognized in the Print window, and command keys are lost, just Quit Canvas and relaunch. Sometimes I make the effort to Save As... PDFs and use that to print, but restarting is a little simpler.

Choose Save As... and in that window, uncheck Use Compression, then Cancel the window. This will make Saves very fast.

While using Canvas, Quit any programs you are not using, helps with RAM allotment. Also, install as much RAM as you can afford.

NOTE: Even with these suggestions, Canvas will get unstable over time, so doing this reset will be necessary regularly.

After these posts, I'm convinced to upgrade from Tiger to Snow Leopard