Archive for January, 2011

Allow Visual Studio to use more memory in 32bit windows

Read this excellent guide on increasing the total memory Visual Studio can use, even in 32bit windows

No source avaiable (VS2010)

Did you ever try pausing your code in VS2010? Did you get this very annoying screen that says “no source available” ?

The solution is simple, install this extension

Modifying open source code to overcome inbuilt limits

This article applies to not just this particular piece of code but rather any open source tool you use. It may be possible for you to simply edit the source code and use it modified. Thats the beauty of open source!

I downloaded this tool SHNTool to use to try to split some lossless audio files that we are publishing on The sad thing is, it has a file limit of 256 files, however I needed 286 files to be split at once.

Believe it or not, all I had to do is download the source for for SHNTool and then edit src/mode_split.c and change the definition of SPLIT_MAX_PIECES from
#define SPLIT_MAX_PIECES 256
#define SPLIT_MAX_PIECES 300

Then obviously I rebuilt it (using ./configure followed by make followed by make install)
and it worked!!

Splitting [002.flac] (198:33.36) –> [vbv/002248.flac] (1:20.18) : 100% OK
Splitting [002.flac] (198:33.36) –> [vbv/002249.flac] (1:03.49) : 100% OK
Splitting [002.flac] (198:33.36) –> [vbv/002250.flac] (2:20.72) : 100% OK
Splitting [002.flac] (198:33.36) –> [vbv/002251.flac] (0:31.64) : 100% OK
Splitting [002.flac] (198:33.36) –> [vbv/002252.flac] (0:53.67) : 100% OK
Splitting [002.flac] (198:33.36) –> [vbv/002253.flac] (0:20.66) : 100% OK
Splitting [002.flac] (198:33.36) –> [vbv/002254.flac] (1:42.21) : 100% OK
Splitting [002.flac] (198:33.36) –> [vbv/002255.flac] (0:28.39) : 100% OK

No more “shnsplit: error: too many split files would be created — maximum is 256”

I posted this incase someone else is running into the same problem the solution is quite easy!

and this worked!
It seems that the developers simply put an arbitrary limit of 256.

Optimization WordPress Plugins & Solutions by W3 EDGE