Thursday, February 28, 2008

openomy.com / searching for free file storage - followup

The file modification problem that I mentioned a few posts ago was fixed a very short time after I sent them e-mail about it. Openomy remains the ideal solution for public file storage.

Wednesday, February 27, 2008

firefox extensions I use

foxylicious
delicious bookmarks
vertigo
fullerscreen
roboform
download statusbar

searching for free file storage - followup

A couple of days ago I said that openomy.com was the "perfect" solution for online file storage. Since then I found that I can not modify ( re-save ) a file w/o breaking the public link to that file. This is annoying but not a showstopper. I sent e-mail to the openomy developer about this.

bzr vs hg - first impressions

I've been trying out different version control systems. For a while I used svn but never was happy with the branching support. More recently, I have been using bzr but only locally. This morning, I tried out mercurial ( hg ) . My first impressions are:

Commands seem a lot like bzr.
Does not seem to allow addition of empty directories ( unlike bzr ).

Monday, February 25, 2008

how to build quantlib 0.9.0 using Visual Studio 2008 Express

These instructions are for building quantlib 0.9.0 in the Visual Studio 2008 Express Edition interactive development environment.

To build quantlib you will need The Microsoft Windows SDK for Visual Studio 2008 . This is available as an option when installing Visual Studio 2008.

You will also need boost installed on your system. See the previous blog entry for a way to build and install boost 1.34.1 in a way that will work with quantlib.

Click here to download quantlib 0.9.0 from sourceforge.

The quantlib 0.9.0 code needs some changes to work with Visual Studio 2008. You can use this patch
to make these changes. Instructions for applying the patch are in the patch (a text file) itself.

At the top level of the quantlib source code tree ( QuantLib-0.9.0 ) is a "msvc solution" file: QuantLib_vc8.sln . Open this with msvc 2008 . You will be asked if you want to convert older solutions/projects to the latest version. Answer yes and let the conversion proceed.

You will need to let the compiler and linker know where to find the boost files. Do this by selecting "Tools/Options/Projects and Solutions/VC++ Directories" (starting from the menu bar and ending up in a dataform). Add C:\Boost\include\boost-1_34_1 to the include directories. Add C:\Boost\lib to the Library directories.

Change the Output_File under Project/Properties/Configuration_Properties/Librarian/General from .\lib\QuantLib-vc80-mt-gd-0_9_0.lib to .\lib\QuantLib-vc90-mt-gd-0_9_0.lib

Press F7 to compile and link.

how to build boost 1.34.1 with Visual Studio 2008 Express

These instructions are for building boost 1.34.1 with visual studio 2008 express edition from a cmd prompt.

To build boost you will need The Microsoft Windows SDK for Visual Studio 2008 . This is available as an option when installing Visual Studio 2008.

To run Visual C++ (vc++) from the command prompt you will need some msvc related environment variables. Msvc comes with a batch file that sets these environment variables. An easy way to use this batch file to copy the "Start/All Programs/Accessories/Command Prompt" short cut from the start menu to your desktop and then change the short cut target property to %SystemRoot%\system32\cmd.exe /K call "C:\Program Files\Microsoft Visual Studio 9.0\VC\vcvarsall.bat". After doing this, this short cut should bring up a command environment ready to run vc++. All the command line work described in the remainder of this post should be done using a cmd window in which vcvarsall.bat has been run ( whether through the shortcut just described or by some other means ).

Download boost 1.34.1 from sourceforge.net and uncompress. I used the zip file here

The 1.34.1 code needs some changes to work with Visual Studio 2008. You can use this patch to make these changes.

Instructions for applying the patch are in the patch (a text file) itself.

After extracting and patching boost, build bjam (the boost build tool) from the cmd shell as follows:

cd boost_1_34_1\tools\jam\src
build.bat

This should build src\bin.nt\bjam.exe, the command that you will use to build the rest of boost. You may see a few errors which you can ignore as long as bjam.exe gets built.

After making these changes, go to the top level directory: boost_1_34_1 and run:
tools\jam\src\bin.ntx86\bjam.exe
and then:
tools\jam\src\bin.ntx86\bjam.exe install

This will build the boost libraries and install them in c:\Boost .

Friday, February 22, 2008

searching for free file storage

I'm looking for free file storage. I don't need much space - for now all I want to do is to make some patches publicly available. I tried pasting a patch directly into one of these blog entries but that didn't work due to formatting restrictions ( some things that looked like HTML were rejected).

Tried yahoo briefcase but that didn't allow for free public sharing of files.

Tried xdrive but I wasn't even able to set up an xdrive or an aol account. Probably could have if I kept at it but the fact that account creation seemed to be in poor repair was a bad sign.

Tried snapdrive.net. Account creation was a breeze but uploading/managing files is very slow and results in blank screens and in fact may never have worked.

Looked at filesanywhere.com . They want you to log in every 60 days to maintain a free account. I'm going to look elsewhere for now but may come back to this one.

Found this review of online storage sites: http://www.techcrunch.com/2006/01/31/the-online-storage-gang/

Looked at omnidrive.com but their site was very slow - couldn't even register.

Tried out mediamax.com - the best so far. However the one file that I have uploaded has not appeared in my file manager yet. Their page said something about processing time so maybe there is some delay. Going to keep looking for now.

Tried esnips.com - very nice but does not provide for direct linking to uploaded files. Other than that seems good - fast, easy to use, etc. May come back to this one.

Tried openomy.com - This one seems perfect! Simple, and fast.

Thursday, February 14, 2008

fish shell compiled on cygwin

I'm trying out the fish shell in my cygwin environment. As far as I can tell this is not available as a package so I had to build it myself. Here are the steps required as best as I can recall.

1. iconv: download, configure, make, make install
2. download & unpack fish
3. remove iconv_open check from configure.ac
4. export LDFLAGS=-liconv
5. replace ARG_MAX in exec.c with _POSIX_ARG_MAX (this is optional in limits.h so I think this is a fish source code problem.)
6. configure, make, make install