The Commonly Confused Words Test

Here.

Advanced:
You scored 93% Beginner, 86% Intermediate, 87% Advanced, and 72% Expert!
You have an extremely good understanding of beginner, intermediate, and advanced level commonly confused English words, getting at least 75% of each of these three levels’ questions correct. This is an exceptional score. Remember, these are commonly confused English words, which means most people don’t use them properly. You got an extremely respectable score.

Cosa non fare tornando a casa

Dopo una abbondante cena al kapuziner, non tornate a casa verso mezzanotte dicendovi “massi`, do solo un’occhiata alla posta”: potreste trovarvi intrippati a studiare graphviz chiedendovi quale inutile ma rapido uso potreste farne per creare un grafico di prova.
Il risultato potrebbe essere questo:

#!/bin/sh
# generate running processes graph
# visualize with something like
# twopi -Tjpg bb.dot -o bb.jpg
#
cat < < EOF digraph "process-table" { overlap=scale splines=true sep=.1 node [style=filled] EOF IFS='' for line in `ps -eo pid,ppid,args` do echo $line | awk '{print $1,"[label=""$3,$4,$5,""]"}' echo $line | awk '{print $2,"->“,$1}’
done
echo “}”

che genera un grafo di tutti i processi in esecuzione. Occhio a come producete l’output, con un
paio delle prove che ho fatto gqview usava ~ 1 giga di ram.
Mi riservo di verificare la correttezza semantica del risultato in un altro momento. :)
Per i curiosi, uno zoom sul grafico e` cosi`:

ps graph

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close