If you want to set things like HOME, END, Japanese RO key to backslash, etc. on MacBook Pro (with the built-in key board or an external Windows keyboard) then use the following software.
KeyReMap4MacBook.
For example, to remap the Underscore(Ro) key to backslash
For Japanese --> Change Underscore(Ro) Key --> Underscore(Ro) to Backslash(\)
This blog covers various topics from technical tweaks to latest in computational linguistics, Artificial Intelligence, Machine Learning and Wed Data Mining.
Wednesday, May 26, 2010
Sunday, May 16, 2010
Invalid annotation object error in PDFs
If you used Adobe acrobat to annotate a PDF file and you had Acrobat crashed or had to restart the computer abruptly during the annotation process then you might experience this problem when you reopen the PDF file from Acrobat. Of course if you use Skim or Preview to open the file then you will not get this popup window and everything will display without a problem. To solve this problem first open the PDF under consideration in Preview and then do a save as for the file. You can give the same file name and replace the file. Now everything will work fine.
Tuesday, May 11, 2010
Gnuplot
The following set of commands will plot two data series in a file using point markers and also write the output to a eps file and further convert it to pdf. You can write these commands into a text file and run gnuplot ($ gnuplot fname) on that file.
set datafile separator ","
plot "dist.csv" using 1:2
#plot "1000_100_uniform.csv" using 1:1 title "Lin", "1000_100_uniform.csv" using 1:2 title "Cosine" with points
set terminal postscript eps enhanced color solid rounded
set output "plot.eps"
!epstopdf plot.eps
replot
show output
pause -1
set datafile separator ","
set xlabel "value"
set ylabel "probability"
plot "dist.csv" using 1:2
#plot "1000_100_uniform.csv" using 1:1 title "Lin", "1000_100_uniform.csv" using 1:2 title "Cosine" with points
set terminal postscript eps enhanced color solid rounded
set output "plot.eps"
!epstopdf plot.eps
replot
show output
pause -1
Monday, May 10, 2010
Mac Tricks
Mac Tricks: "This post summarizes some useful tips on mac.
1. quick silver.
start an application.
option+space.
2. Command+S can save files in almost any application.
3. Command+Option+ESC will bring the force kill box.
4. When Apple Mail hangs with GMail Recovered Mail
This can happen when you send large messages and something goes wrong.
The solution is described here
Delete the hidden directory,
~/Library/Mail/IMAP-@domain.tld@imap.domain.tld/.OfflineCache
and then delete the Recovered Messages mail folder in Mail.app
"
(Via Danushkas Research Blog.)
Subscribe to:
Posts (Atom)
Continuously monitor GPU usage
For nvidia GPUs do the follwing: nvidia-smi -l 1
-
If you used Adobe acrobat to annotate a PDF file and you had Acrobat crashed or had to restart the computer abruptly during the annotation p...
-
By default when you install MacTex and use TexShop for writing and compiling latex you will get PDFs with page size A4. This is all fine for...
-
These three terms are explained below. Anaphora is a back ward reference. Ex: I gave a banana to the monkey which it ate. Here "it"...