Showing posts with label Thesis. Show all posts
Showing posts with label Thesis. Show all posts

Tuesday, December 29, 2009

Use Source Control For Your Thesis

Why?
  • Back up old versions without scattering dozens of files everywhere.
  • Free online hosting with Google - create a message board, wiki, group commenting section
  • Immediately push in revisions from the committee or other trusted contributers
  • One central repository for your thesis, no need to back it up a dozen places
I found out how to do this too late for my own thesis, so here are the simple steps you can take to do it yourself.
  1. Download and install Subversion client and TortioseSVN.
  2. The client is hosted at CollabNet, you probably want the Windows binaries, Server and Client.

    You have two choices here. If you want to make your own server (so you can easily get at it anywhere) follow this guide. For a more simple, file based approach, uncheck the SVNSERV and Apache_Mod check boxes in the installer and install it in whatever directory you want.

    TortoiseSVN is a handy front-end that plugs into Windows Explorer. You can find it here.

  3. Make a repository.
  4. Right click on a folder where you want to put the repository (the database containing your thesis) and select TortoiseSVN-->Create repository here.

  5. Make up some folders for the database.
  6. Right click TortoiseSVN-->Repo-browser. The URL it asks for can be your server (if you made one) or "file:///C:/svn", without those quotes, where the folder of your repository is C:\svn.

    The Repo-browser shows the contents of your database. Right now, it is empty. You pull stuff in by right-clicking (starting to see a pattern?) in the right hand panel of the browser and selecting "Add folder...", "Add Folder...", or "Create folder...".

    You'll notice that everytime you add something, you can put in a note saying what you added, changed, or deleted. Very handy if you want to roll back to a previous change you made.

  7. Add your thesis into the database.
  8. This is easy, simply right-click as above and Add File. This will be your authoritative copy from here on in. You can check out local versions, modify them, then push the modifications to the database.

  9. Check out your thesis.
  10. Another right-click operation, this time target open folder with the files you want and put it in a local folder.

    The place you put it becomes your "working copy". You can make as many of these in as many different locations as you want. Subversion handles how up-to-date a current working copy is, and lets you chose if you want to keep parts of the repository copy ("theirs") or your local copy ("mine") when you check it back in to make changes.

  11. Make some change to your local copy.
  12. The nature of your change is basically unimportant. Any change to the file will change the icon next to the file in Explorer to a red "!" rather than a green . This shows that changes are pending - there is a difference between your local copy and the server. You can check what exactly changed by Right Click-->Check For Modifications-->Right Click on a file--> Compare With Base.

    If you are using a Microsoft Word document for your thesis, stop doing that. Seriously. Pick up LaTeX and save yourself six months of infuriating style editing in the future for this and every subsequent paper you do. Anyway, if you are using a Word document you can still use Subversion, you just can't use the nifty diff tool with it. Only plaintext works, Word documents are binary files.

  13. Check in your change.
  14. Checking in your change is simple, just Right Click-->Commit. You can also check what has changed compared to the stuff in the repository by right clicking as in the above step.
You can use this for all kinds of important documents. Anyone you give permission to can post changes, and you can see exactly what changed and whether to keep the changes (look for the Update To Revision in the right click context menu). Finally, if you do any programming or scripting at all, you are doing yourself a great disservice by not using source control. Plus, it is a great skill to put on a resume/CV.

Tuesday, January 8, 2008

Favorite nerd stuff of 2007

Yes, everyone seems to be doing something like this. And probably got it finished a week ago. So sue me.
  • StumbleUpon: I first heard about it as an up-and-coming search-like engine in Wired. Effectively, it is a psuedo search engine that relies on user generated interests - not passively as Google does with link backs, but with actual intentional voting. There is something similar on the open source front (Wikia). Link
  • xkcd: How did I miss this gem before? Link.
  • DS R4: Play movies, listen to music, emulate classic games, and back up your whole DS game library for a little more than the cost of a single DS game. No mincing words, you want one of these if you own a DS. If you plan on buying one you'd be a fool not to get an R4 (or an M3, which I've been told does basically the same thing). Link.
  • Mozilla Firefox 3 beta - It is still beta but amazingly stable. Automatically restarts with the tabs you had open when you closed it, prettier search bar, and way better multi tab support (no slowdowns or crashes with the 987,345 tabs I tend to have open). Bad news: perhaps it is just me, but the bookmarking isn't as good and more difficult to manage. Still really nice for beta.
  • A finished Methods section draft: It is a good feeling having this thing 1/2 to 2/3rds done. Lets see how viciously my thesis chair, Bob Hickey, tears it apart. I think I might post it and have the 0 people that visit the site mock it.
  • Ubuntu/QGIS: Though not ready to take over the huge ESRI-house I work for or actually threatening Windows desktop domination, the speed and good looks of the new open source GIS platforms that can be created for zero cost (and without having to reformat your computer - use use VMWare Player to create a virtual machine).
  • Death of DRM music: For those that don't know, DRM is the reason you can't move around music you buy off iTunes to whatever you want as many times as you like. All of the major music content holders have realized what people on the internet have been telling them for years - only legitimate customers are hurt by DRM. Pirates - a term with already includes probably everyone younger than 20 - simply hack it or rip CDs their friends get during parties. Video will be next as it is easily as trivial to defeat.
  • @GoogleTalks: It will be a supreme challenge for Google to keep its relatively good public image even as it grows more massive and run by more suits than engineers. They have given the internet many, many good things. One that is less commonly mentioned is this series of talks which include all of the major candidates, many famous/influential authors, and some other folks. Link.
  • Portal: Game of the year out of nowhere. Witty dialog, excellent ending, and interesting mechanics.

Thursday, December 13, 2007

Arctic may be ice free in four years.

At least, in the summer (BBC):
Scientists in the US have presented one of the most dramatic forecasts yet for the disappearance of Arctic sea ice. Their latest modelling studies indicate northern polar waters could be ice-free in summers within just 5-6 years.
Once again, damn people with their "science" forcing my thesis into obsolescence before it is even finished. Sure, I could revise my methods section. Again. But by the time I am finished, there will be a new study which proves it actually happened 20 minutes ago. Think I am exaggerating? From the same article:
"Our projection of 2013 for the removal of ice in summer is not accounting for the last two minima, in 2005 and 2007," the researcher from the Naval Postgraduate School, Monterey, California, explained to the BBC. "So given that fact, you can argue that may be our projection of 2013 is already too conservative."
My methods are premised around a timeframe of about 50 years, as arctic ice was not expected to disappear until then (and thus free up Churchill for shipping year-round, or as close as matters for the economic impact). Now that could be compressed by more than 40 years and there is the additional possibility of a rapid collapse of the polar bear population followed closely by the ecotourism business it supports.

Thursday, November 8, 2007

Nanisivik chosen for Canadian Deepwater port


Picture from the CASR.

A excerpt from my thesis in progress:
Canadian claims to the Arctic Ocean hinges on their retention of the massive northern archipelago ceded to them by the British in the 1880s. Efforts to enhance the strength of said claims include making the area a separate territory (Nunavut) and subsidies that drive population growth and the economy in the strategically chosen capital, Iqaluit. This falls under the stipulation by international treaty that remote islands and their coastal waters have their title established by a “continuous and peaceful display of state authority”. Besides perhaps Russia, Canada has been most visible with its Arctic claims due to the possibility of controlling access to the newly opened Northwest Passage. The Harper government has commissioned new armed icebreakers and a new deepwater port is planned for the military base on Nanisivik (CASR, 2006). Such shows of force combined with withdrawal from international judicial bodies are an attempt to compensate for the precariousness of Canadian arctic claims.

Land is one thing - comparatively easy to defend a claim on, but the extent of Canadian exclusive claims to the Northwest Passage are going to be difficult to sustain in the face of pressure from every other state with an interest.

Tuesday, November 6, 2007

Churchill isn't the only likely boom town

They don't get as much press as I would like, and finding the ones I did took forever due to lack of easy to obtain data; fast growing arctic communities manage to occur in multiple nations and for a variety of reasons. One generally ignored player in the Arctic is the Danes, who have sovereignty over all of Greenland. One of its territories, according to The Economist, is exploding:

...warming is good for business. Unemployment in the town is zero. A glacier next to a nearby zinc and lead mine has retreated since the site closed in 1990, exposing an outcrop of metal-rich ore, where drilling will start again soon. Ships supplying the only factory in town, which processes the local catch for Royal Greenland, a huge state-owned prawn supplier, can now use the harbour throughout the winter (it was previously inaccessible for three months of the year). The warmer water seems to be bringing back the cod fishery as well.

Also greatly effected is the tourist industry. This is of particular importance to my thesis as it is currently the major base economic activity in Churchill.

But the tourist industry is warming fastest. Around 15,000 tourists visited last year and twice as many are expected this summer. Hotels are booming and additional tourist guides are being trained.

I do not expect this will happen in Churchill. The glaciers are long gone and the bears simply can't survive as they are accustom when the ice disappears. They can live like their extremely close grizzly cousins (whom they can mate with and produce viable and fertile offspring in the wild), but then they are not nearly so viable for ecotourism. That is, assuming the land-based environment can support the influx of suddenly starving bears. Perhaps whale watching and historic tourism - Fort Churchill and the old Cold War sites - will supplant the bears in the future. Greenlanders are also farming as their doomed Viking ancestors did during the medieval warming period, but it is rather unlikely the people will suffer a similar fate. The other side of the coin for Greenland is this screws the Inuit hard. Of all of the indigenous people's of the new world, they have perhaps been the safest due to isolation and the otherwise lethal climate they've adapted impossibly well for. The while the Vikings mentioned above starved to death, they lived comfortably in the same climate. You need not match the technology or organization of a group if they cannot survive in the very ground they live on. Or as Dennis Miller once put it, "Sure, the lion is the king of the jungle. But throw him in Antarctica and he is just some penguin's bitch."

Friday, October 19, 2007

Coast Guard Establishes Base near Barrow

From the NYT, picture from the AP:



For most of human history, the Arctic Ocean has been an ice-locked frontier. But now, in one of the most concrete signs of the effect of a warming climate on government operations, the Coast Guard is planning its first operating base there as a way of dealing with the cruise ships and the tankers that are already beginning to ply Arctic waters.



The New York Times has been especially good about keeping up on arctic/subarctic news as it relates to warming. In fact, my thesis was in part inspired by the multipart series they put out on the subject - with some of the geopolitical consequences this blog attempts to address - a year or two back.



One key concern for the United States in regards to sealanes in the Arctic is the shared border with the Russian Federation. Russia has been particularily bold in its claims on the Arctic; often invoking Stalin's immense claims to the area (almost a half of the sea) from his commissioned expedition in 1937.



Still, the only major Arctic claimant that hasn't signed the UN Law of the Sea is the United States. Simplified, this treaty stipulates the continental shelf as the seaward border of the territorial claims that could be made. The result has been a scramble to chart the Arctic Ocean's bathymetry using deep sea sonar.



Regardless of the method of delinating the borders, it is only a matter time before conflict arises over the distribution of artic resources. With the big prize being undersea oil and natural gas, it would not at all be a stretch to suggest slant-drilling (if not feasible now for undersea oil exploration, it will likely be by the time large scale exploration ramps up) may be the cause of such a conflict. It undoubtably has been the given reason for a number of armed conflicts, the most immediate example being Saddam Hussien's justification for the invasion of Kuwait.