How to resize an image in ubuntu

May 12, 2013

Warning (insert Bourbaki dangerous bend sign here): This process overrides the original file. So if the original image is at all important, it must first be copied.
 

Step 1: Right-click and select Open With GIMP Image Editor

Step 2: File -> Save.

Step 3: Click “Show preview in image window”

Step 4: Slide the quality to get the desired file size. 

and we’re done.

Megaminx III

January 17, 2013

I’ve already had two previous adventures with owning a megaminx. The first one I owned fell apart before I even got a chance to solve it, and I can’t see how to fix it (you’re welcome to try, I still have all the pieces). The second megaminx I owned was structurally sound, but has problems that I feel are best described by saying that the stickers keep falling off. The little coloured bits in this case aren’t actually stickers but they do keep falling off, and I haven’t managed to keep them all.

Recently I had the fortune to visit Causeway Bay, where I was kindly shown the physical incarnation of this shop. Alas, the bricks and mortar version is scheduled to close this month, so I was just in time (and you’d better hurry!). So there they sell a different make of megaminx. I forget if there was also a 6 colour version but my memory says yes. Though I didn’t acquire my own, my impression is that this is a more durable product than the two megaminxes I already own.

So why no purchace? Well, I’ve solved it already, and the megaminx is easy. Somehow having so many faces means that the moves you make don’t interfere with each other very much, making it no harder than the standard 3x3x3 cube.

What I did get instead is this “Super 3x3x7:01″ which I’ve scrambled and unscrambled, but still not solved (like the square one, it is not a group).

Gotta get back on that task now…

Australian First Class Batting Averages

November 26, 2012

The below are a list of first class batting averages for current Australian cricket. Makes you wonder about the relative selection merits of D Hussey v Quiney.

Ponting 55.58
D Hussey 53.70
M Hussey 52.16
Rogers 49.75
Warner 48.33
Clarke 47.34
Hughes 45.77
Burns 44.42
Watson 44.42
Nevill 44.23
Khawaja 43.88
Cosgrove 43.34
Maxwell 42.00
North 41.52
Wade 41.04
Smith 40.69
Cowan 40.63
Voges 40.19
White 40.17
Bailey 40.14
McDonald 39.76
Haddin 39.31
Doolan 39.16
Quiney 37.36

bartogian visits Guthries

September 17, 2012

Recently, I was able to visit Guthries Tavern, located in Wrigleyville, Chicago, on a day when the Cubs did not have a home game (which may be relevant). Now I’d heard Guthries described as a “board games pub”. They have a bookshelf full of games that patrons can borrow and play. You’re not going to find Age of Renaissance or even Settlers there, the types of games you’ll see are the sort of games that everyone has heard of – we’re talking things like Scrabble, Cluedo, et al. (I didn’t pay too close attention once the genre was identified).

At 6:20pm on a Thursday evening, the place was almost empty, with just myself and one other Diplomacy player present. As time progressed, more patrons appeared, filling out the place in a way that was never threatening to be crowded. This was good, since it enabled us to have exclusive use of the covered back patio to run two diplomacy games.

An evening bar game necessitates a strict ending time, which for us was no later than 11pm. Of course once you start introducing a fixed ending time, people start to have opinions about whether or not this is a good thing… I’ll just present the facts and say that the sharks board got to finish 1906 while the novice board which started later played through to the end of 1904.

And we leave you with a shot of the action, during what I believe was an adjudication phase. (Ask privately for the uncompressed image)

Best Blogpost Ever

August 3, 2012

http://lglinux.blogspot.com/2007/09/pdflatex-bbmsty-not-found.html

There should also be an entry (I haven’t checked to see if it exists)

pdflatex: comment.sty not found

sudo apt-get install texlive-latex-extra

Latex Keyboard II

February 7, 2012

xmodmap -e ‘keycode 47 = backslash colon’
xmodmap -e ‘keycode 13 = dollar 4′
xmodmap -e ‘keycode 14 = percent 5′
xmodmap -e ‘keycode 15 = asciicircum 6′
xmodmap -e ‘keycode 16 = ampersand 7′
xmodmap -e ‘keycode 17 = asterisk 8′
xmodmap -e ‘keycode 18 = parenleft 9′
xmodmap -e ‘keycode 19 = parenright 0′
xmodmap -e ‘keycode 20 = underscore minus’
xmodmap -e ‘keycode 34 = braceleft bracketleft’
xmodmap -e ‘keycode 35 = braceright bracketright’
xmodmap -e ‘keycode 51 = semicolon bar’

To anyone reading this: I am recording this here for my own benefit. The commands above remap a keyboard to something more friendly for typing \LaTeX.

Flash on Ubuntu 11.10

January 14, 2012

Quick answer: I found the Flash-Aid Firefox addon the solution to my initial troubles to get flash working uniformly on Firefox on my Ubuntu 11.10 system.

Thanks to the askubuntu stackexchange site for giving me this tip. (and while I’m at it, thanks to the superuser stackexchange site for helping me fix some problems with my parents’ machine).

Now to get the whole setup working with Tor. With the Masters starting this weekend, perhaps that will provide the necessary impetus.

On Kitchens and Their Stoves

April 25, 2011

We will see two pictures of stoves. Let us compare and contrast them.

In the first picture, everything exists as it should. We see the hot plates (or gas equivalent), grill and oven all appear as independent parts, a chef’s dream.

Unfortunately some modern versions have the tendancy to include the grill and the oven in the same compartment, removing the rather useful option of simultaneous grilling and baking. However even that is a rather minor sin compared to what we see in the next picture.

Absolute horror! No grill whatsoever! I have the grave misfortune in living in a place with such a lacking kitchen setup (and have suffered through such a lack of basic necessities for quite a while now). For most meats, pan frying is such a poor substitute, and without the grill there are some foods that can’t be cooked at all. If I have to walk past meat on a stick in the supermarket again and not be able to buy it because of a sub-par kitchen, I’ll go crazy.

If anyone out there in cyberland knows of a place I can live where I can start grilling food again, please let me know (reasonable rental rates will be paid). Unfortunately I have some job-related geographic restrictions, so suggesting that I move to a beaut terrace house in Carlton just won’t cut the mustard (unless you can also land me a job at Melbourne University (and kick BHP out of the MUMS room)).

New Years Resolutions

January 1, 2011

1. Prove the Riemann Hypothesis.
2. Win mathoverflow.
3. Make it to Sydney.
4. World domination.
5. Bellyflop in a pizza.

Re: complaint about no actual photo of me

November 13, 2010

I have uncovered a profound realisation. The point of publically posting things on the internet is so that you come to appear as an arrogant show off to all your friends. With this change in attitude, friends suddenly become ex-friends, enabling some serious cutbacks of ones social life to occur. The upshot is of course that without a social life to distract you, this frees up more time for proving theorems.

The first picture below is not a very flattering portrayal, but for reasons of inclusion, see the title and above paragraph.

Me at Hakuba

Now we see some of the local wildlife. Is anyone able to provide a positive identification of the creature in the picture below?

Kono wa nani desu ka?

We conclude with a potential souvenir that, at 735,000 yen, the author found outside his price range.

A bargain at twice the price?


Follow

Get every new post delivered to your Inbox.