# A bookmarklet for the Rutgers University Library Proxy server

I made a bookmarklet for the Rutgers Library’s proxy server by changing the URL format from the UChicago ProxyIt! link:
 javascript:void(location.href=%22http://proxy.libraries.rutgers.edu/login?url=%22+location.href) 
You can cut and paste that into a link in the bookmarks bar of your browser.

If you’re working from home and want to get access a resource (for example, a journal paper) that requires Rutgers authentication, you can just make this bookmarklet into a button and it will redirect you authenticate via NetID. This requires that JavaScript be turned on in your browser.

# eduroam is awesome

At Allerton I finally set up the eduroam network on my phone and laptop. It was great — with the UIUC system you had to log in with a special temporary ID and password each time, but with eduroam it would automatically connect and authenticate like any other normal wireless network.

Basically you use the same login/password as for other authenticated services on your campus. At Chicago it’s called your CNetID, but the credentials will be different from place to place. The key is that you validate to the network using those credentials and not some locally-given account.

It seems that the system has been expanding — if your institution doesn’t support it then you should ask them to do so. Of course, maybe we should just have more open networks, but at least with this you can get wifi on many campuses without having to deal with the bureaucratic overhead of the IT services.

I have an iPad now (hooray research funds) and I’ve been trying to figure out how to make it more useful for me research-wise. Here are some apps I’ve found, but I would love recommendations on others that are useful for academics who do math-y stuff.

OmniFocus is a task management app — it’s a little heavy-featured and expensive, but I’ve been using it to help myself reorganize (and sync) when on planes and the like.

iAnnotate PDF is a PDF annotation tool that syncs to Dropbox (among other things). I now drop the papers I have to review in to a folder there and then read and mark them up. Given that my review load has doubled recently, being able to make notes without printing is nice. I think it will get even better once I get a stylus.

In terms of media, IEEE Spectrum is available, as is Communications magazine (but not Signal Processing).

I use Prompt to SSH into machines on the few times that I need to do that from the iPad. It has saved my butt once or twice.

PDF Presenter is supposed to be nice for doing slides, but I haven’t used it yet.

There’s an old post on LaTeX for the iPad, but nothing really looked that appealing.

Anyone else have some recommendations?

# Eliza-san Sushi

A friend posted an article from the New York Times on Kura, a sushi chain that uses sushi-making robots. This of course got me thinking about how I like to sit at the sushi bar and have a conversation with the sushi chef. How might that go with a robot? I fired up ELIZA (M-x doctor) and…

Hello

Can you elaborate on that?

Good evening

Why do you say good evening?

I would like to have some sushi for dinner.

What makes you believe i might want to have this sushi dinner?

I was hoping you would make me a sushi dinner.

Earlier you said
i would like to have this sushi dinner?

Yes.

I would appreciate it if you would continue.

What would you recommend?

Maybe your life has something to do with this.

It’s true, I am often indecisive. I really love sushi!

Well, it started when I was in high school.

I took four years of Japanese. Koukou de yon nen kurai benkyou
shimashita. Demo zen zen wasuremashita.

Is it because of your plans that you say demo zen zen wasuremashita?

Well, I have always wanted to learn again.

You mentioned that
i would like to have this sushi dinner?

Yes, I am very hungry. What fish is fresh today?

Perhaps the people you hang around with have something to do with this.

Maybe a mackerel temaki?

Are you sure that
maybe a mackerel temaki?

Is the mackerel good?

Do you really think you love sushi?

Yes…

Go on, don’t be afraid.

I really do.

Is it because of problems at school that you are going through all this?

I’m done with school, thank goodness.

Too late for that now.

I need a little more detail please.

Is it because of any hobbies you have that you say

What, like Silence of the Lambs?

Earlier you said
i would like to have this sushi dinner?

Yes, I’ll have the omakase.

How do you reconcile hangups you have?

# freezing attacks

The NY Times has an article about compromising data on DRAMs via freezing them and reading the bits off. This would let someone read your encryption keys right off the chip.

It’s kind of funny — all of these crazy-complicated cryptographic schemes can be compromised by what amounts to breaking and entering. I’m sure someone will end up writing a paper entitled “Baby It’s Cold Outside : Zero-Knowledge Proofs With Freezing Verifiers.” Actually, that’s not a bad title…

# office safety

When running a fast optimization tool such as CVX, it is important to wear a helmet to protect you in case of crashes or attacks by monkeys:

# resizing delimiters in LaTeX with line breaks

IEEE uses a two-column format that is a bit narrow for large formulae, and it makes parenthesis resizing a pain when you have to break lines, because LaTeX (apparently) will not match parenthesis sizes across lines. For example, consider

\mathbb{P}\left(\frac{1}{N}\sum_{i=1}^{N}\mathbf{1}(\mathbf{y}(Tc\in{D(Z_{i,c})})>G\right)

So if you have a \exp \left( followed by some tall expression, like - \sum_{i=1}^{n} \frac{1}{2^i} \int_{\mathbb{R}} \langle f_i(t), g(t) \rangle dt + \prod_{i=1}^{n} f_i(0) - \lim_{x \to \infty} \frac{g(t)}{2 \pi} you start to run into problems fitting the whole thing on the line so that the corresponding \right) fits within the page margin. Furthermore, if the equation has multiple opening brackets and different size elements, the opening and closing brackets may not match in size when you break the line.

My old hack for this was to manually resize the \left( by using \Big\left( or something like that, putting empty \right. commands before the line break, and then starting the next line with empty \left. commands. If you have multiple opening and closing brackets you have to futz around, putting a \Big or \Bigger around each delimiter to make it fit, but a (somewhat) easier hack is to insert a tall whitespace like this:

\\rule{0pt}{15pt} \\right. \\right. \\nonumber \\\\
&
\\left. \\left. \\rule{0pt}{15pt}


This isn’t too great a savings, since I now have to resize 2 things instead of 4, but it’s something at least, and the delimiters end up the same size. I could probably write a macro to do this, but that seems like a waste of time.