I’m dumping BibTeX references for my publications in an html file on my academic site. The hope is to keep it up-to-date. And the real hope is to have to update it all the time
.
Posts Tagged ‘nyu’
BibTeX References
Tuesday, August 16th, 2011ETH matlab license server, mac os x
Thursday, June 9th, 2011I had already downloaded and installed MATLAB 2010b at NYU, so coming out here to ETH I didn’t want to bother reinstalling everything. I also didn’t want to have to VPN to NYU every time I wanted to use MATLAB. So instead I just switched my network license file to point to the ETH license server instead of the NYU one. This so far has worked out great.
First thing I did was go the license directory in the matlab folder:
cd /Applications/MATLAB_R2010b.app/licenses/
Then I backed up my NYU license file:
mv network.lic network.lic.nyu
I downloaded the ETH license file, which is bizarrely named license.dat.mpg.
Finally, I just moved this file to the proper place (current directory is the matlab license directory) with the proper name:
mv ~/Downloads/license.dat.mpg network.lic
Bounded biharmonic weights project page
Wednesday, May 4th, 2011

My colleagues, Ilya Baran, Jovan Popović, Olga Sorkine, and I have just submitted the camera ready version of paper “Bounded Biharmonic Weights for Real-Time Deformation” to be presented at ACM SIGGRAPH 2011. I’ve put up a bounded biharmonic weights project page where you can find the preprint version of the article, videos and more to come.
Bounded biharmonic weights are featured in the official SIGGRAPH 2011 Technical Papers Advance Preview. The Technical Papers Chair, Hugues Hoppe, writes:
“An elegant UI framework that unifies cages, skeletons, and point constraints for 2D and 3D deformations.”
Abstract
Object deformation with linear blending dominates practical use as the fastest approach for transforming raster images, vector graphics, geometric models and animated characters. Unfortunately, linear blending schemes for skeletons or cages are not always easy to use because they may require manual weight painting or modeling closed polyhedral envelopes around objects. Our goal is to make the design and control of deformations simpler by allowing the user to work freely with the most convenient combination of handle types. We develop linear blending weights that produce smooth and intuitive deformations for points, bones and cages of arbitrary topology. Our weights, called bounded biharmonic weights, minimize the Laplacian energy subject to bound constraints. Doing so spreads the influences of the controls in a shape-aware and localized manner, even for objects with complex and concave boundaries. The variational weight optimization also makes it possible to customize the weights so that they preserve the shape of specified essential object features. We demonstrate successful use of our blending weights for real-time deformation of 2D and 3D shapes.
Update: I have released a 2D matlab demo, with complete source code.
Academic site
Sunday, July 18th, 2010I have finally put up a separate academic site: http://cs.nyu.edu/~jacobson. There I’ll list publications, project pages, research interests and various work/school related addresses.

Permissions for new folders on CIMS web pages
Friday, July 16th, 2010This happens to me all the time working on my cims site. I’,m in public_html and I make a new directory, i.e.:
mkdir foo
Then I try to go to http://cs.nyu.edu/~[your name]/foo and I get:
Access forbidden ... Error 403
So I look at the permissions by issuing:
ls -l
And find that only I can read foo/:
...
drwx------ 2 [your name] [your group] 2 Jul 16 13:27 foo
...
Ok, so the default must be to have no read permissions, so naturally I always try:
chmod 604 foo/
Which also doesn’t work, I think because Apache needs the folder to have executable permissions. So finally the solution (also not hard to find on the cims help page is to issue:
chmod 705 foo/
Note: As a reminder here, you can set images/files/etc. to be readable on the web with:
chmod 604 file_name
“Recipe organizer and sharing interface”
Monday, January 4th, 2010“Recipe organizer and sharing interface” is a recipe organizer and sharing web interface. It’s the Ruby on Rails app I wrote for my final class project in my senior year of college.
Use the beta version of “Recipe organizer and sharing interface” I’m hosting on a CIMS linux server machine.
Turn off rm, mv interactive prompting when ssh-ed into access.cims.nyu.edu
Wednesday, December 16th, 2009When I ssh into access.cims.nyu.edu and issue a rm or mv command I am bombarded with prompts for every file. For example if I issue:
rm *.pdf
I have to type yes <ENTER> for every pdf in the current directory.
I have tried the -f option listed in the rm man page, but I’m still prompted. I wondered if there was a way to turn this prompting feature off. It would
be very convenient if rm-ing and mv-ing acted the same way in access.cims.nyu.edu as the other unix and linux machines I used, use and will use.
I emailed the Courant help desk and got a solution:
That’s because in the system-wide .bashrc, the mv, cp, and rm commands are aliased to “mv -i”, “cp -i”, and “rm -i”. To unalias these commands in your environment, you just need to add the following lines to the end of your ~/.bashrc.
unalias rm unalias mv
I did just that and now everything works fine.
Back up user directory using rsync over ssh as hourly cron job
Wednesday, November 18th, 2009First I followed this blogger’s instructions to set up my ssh password so that my script wouldn’t have to prompt for a password. I tested this by sshing into my destination server (shouldn’t ask for password now). There I made a directory to put my backup:
mkdir ~/macbook-pro-backup
I don’t want to back up everything in my user directory so I made an exclude file at ~/.cims-exclude-list:
/ajx/Library
/ajx/Music
/ajx/Movies
/ajx/Pictures
/ajx/Documents/Parallels
/ajx/Downloads
/ajx/Desktop
/ajx/.Trash
*.mp3
.DS_Store
Then I constructed and tested my rsync command:
rsync -e ssh -avz --exclude-from ~/.cims-exclude-list ~ jacobson@access.cims.nyu.edu:macbook-pro-backup
Note: I have not used the --delete option because for now I have the space available on my destination server, but eventually I will probably have to start deleting older, no-longer-existent files.
After I used the above command to do the initial (big/long) transfer, knowing that it works I constructed this bash script to keep a nice log. I saved this in cims-backup.sh:
#!/bin/bash
touch ~/.cims-backup.log
if rsync -e ssh -az --exclude-from ~/.cims-exclude-list ~ \
jacobson@access.cims.nyu.edu:macbook-pro-backup
then
echo "Back up succeeded on $(date)" >> ~/.cims-backup.log
else
echo "Back up failed on $(date)" >> ~/.cims-backup.log
fi
Issue the following command to make this file executable
chmod -x cims-backup.sh
I ran this (bash cims-backup.sh) a couple times and checked the log file: cat ~/.cims-backup.log should produce something like
Back up succeeded on Wed Nov 18 16:23:49 EST 2009
Back up succeeded on Wed Nov 18 16:24:04 EST 2009
To be sure I sshed into my destination server and checked the macbook-pro-backup directory.
All that’s left is to set up an hourly cron job. To do this, in the terminal issue:
crontab -e
Then add this line and save:
0 * * * * /path/to/cims-backup.sh
If you are using vim to edit and you are getting this error:
crontab: temp file must be edited in place
then add this line to your .vimrc file:
set backupskip=/tmp/*,/private/tmp/*
Hosting a ruby on rails application on nyu server
Friday, September 11th, 2009Since setting up a ruby on rails app bluehost is such a disastrous hurdle, I’ve resorted to hosting one of my projects locally on a nyu cims linserv machine and then using ports to access it via the internet.
This is a basically reiterating the information found on the cims
website.
ssh into access.cims.nyu.edu
ssh username@access.cims.nyu.edu
ssh again into a server (must be done after ssh-ing into
access.cims.nyu.edu) there are three: linserv1, linserv2, and linserv3.
ssh username@linserv1.cims.nyu.edu
cd into your rails app, something like
cd rails/app_name/
start up your local webbrick server as a daemon sending all output to
/dev/null
script/server -d -p [portnumber] > /dev/null
where portnumber is some number like 25000, but not 25000 because two
apps can’t use the same port. So pick an unusual and high number and don’t tell anybody what it is.
You will now be able to access your rails app at
When you’re done with your app you will need to kill it. Follow the
instructions I have previously posted about.
I’ve noticed that occasionally these servers “go down”, or at least my
webrick rails app “goes down”, just repeat the steps and restart the
server if this happens.
