Posts Tagged ‘Vista’

Notepad2

Monday, April 27th, 2009

For the last few years I’ve been following with interest a tiny little program called Notepad2. Essentially it’s just a text editor (very similar to Notepad included with Windows), but it does have a few tricks up its sleeve.

For starters, it has syntax highlighting. And I argue, very very nice syntax highlighting. I much prefer it to other editors I have installed on my computers (Dev-C++, Visual Studio, Emacs) as well as others I’ve used in the past (GEdit, Kate). Arguably though it’s not as complex as any of these editors. In addition, it does line wrap, line numbering, and more. Pretty much every part of the editor is configurable. It also automatically detects between Windows, UNIX and MacOS 9 line endings (very useful when you swap source code between Windows and GNU/Linux).

Notepad2 editing a Patch file

Notepad2 editing a Patch file

There’s a lot of things it doesn’t do though. It’s not a fully-fledged IDE, by any means. It has no idea about projects, function parameter hinting, Makefiles, or anything like that. If you want an IDE, look elsewhere. Which is why I have Visual Studio installed. It does everything, and then some more (in a few gigabytes of disk space).

Above all else though, there is one very handy reason why I have Notepad2 installed. It’s because it can completely replace Notepad. Because Notepad2 is only a single file, like Notepad, with no other dependencies except Windows itself, it just slots in. After removing all the security on the Notepad.exe file in the Windows folder, you can just copy and paste Notepad2 in. And then all the links and file extensions pointing to Notepad just open Notepad2 instead. If this sounds pretty cool, you can learn how to do it here (XP) or here (Vista). I wish there was an installer for Notepad2 that did all this automatically; at the moment Notepad2 is just distributed as a bare executable file. But I certainly won’t be complaining too loudly.

If you’re looking for a simple editor for when a full IDE isn’t necessary, or you’re still using the default Notepad for everything (shock horror), then I’d definitely give Notepad2 a go. Even if you don’t fully replace the original Notepad, it’s still a pretty cool upgrade from Notepad.

[ad#post-footer]

Collecting Coppermines

Thursday, April 23rd, 2009

I’ve decided to start a new collection. I used to collect Coca-Cola merchandise, but lately I haven’t found much worth buying. It’s also not especially geeky. So, I’m going to start collecting Intel Pentium III ‘Coppermine’ CPUs. I don’t have an exact figure on how many to collect there are, but my guess (based on perusal of Wikipedia and Intel’s site) is around 40-50.

Luckily for the collector, each Intel CPU has written on it something called an sSpec, which is a five-digit code (such as SL52R) that uniquely identifies each class of chip. For instance, the SL52R is a 1GHz Pentium III Coppermine with 256KiB of L2 Cache and a FSB speed of 133MHz.

As with any collection, there is a bit of a challenge with some rarer items. For this collection, my hope is to get my hands on one of the recalled 1.13GHz chips produced in 2001. They were recalled due to being completely awful and crashing all the time, so finding one might be difficult.

For me, the Coppermine core represents a pinnacle in x86 micro-architecture design. After the Coppermine and Tualitin core designs (both based on Intel’s P6 micro-architecture), Intel decided to up the ante with the Netburst micro-architecture. Netburst, used for about 4 years in the Pentium 4 series, was widely known for producing more heat than a 2-bar radiator. Indeed, when Intel went back to design the Pentium M and Core 2 CPUs, they based them off the P6 micro-architecture.

I truly believe that computers today don’t need half the power they have. Recently I tried BeOS, an operating system that hasn’t even existed for most of a decade. That ran fine on hardware half as powerful as a Coppermine CPU. It could do email (quite nicely, too), web browsing (with Flash), an office suite is available, all the usual productivity applications. But, it didn’t consume 6GB of hard drive space to do so, didn’t need 1GB of RAM (the virtual machine running it uses about half of it’s 128MB allocation), and didn’t need a 2GHz processor (these are rough installation specs for Windows Vista). It’s starting to become more and more clear to me that we are just wasting so much time, money and energy on doing things that don’t need to be done, like Aero.

So where was I? Oh yeah, bidding on old CPUs.

Customizing Windows

Monday, March 9th, 2009

I just thought today I might share with you some of the customizations I’ve made to my Windows Vista installation to make it a bit more friendly.

Last week I stumbled upon this blog post from LifeHacker, and I’ve since implemented it’s suggestions fully (click for full size):

taskbar

Basically the idea is to double the size of the taskbar and then create groups of icons for the most commonly used programs. Instead of having to click twice to get into Outlook or PuTTY, I now only have to click once. The hardest part is working out which icons are the best to put onto the taskbar. The image above is missing Notepad2 and Firefox, since I originally left them off. They have since been placed on the taskbar as well.

The instant messsaging client I use is Pidgin, and apart from Skype (which it doesn’t handle), it’s the only IM client I ever use. Since about 50% of my time on my computer is wasted in chatrooms and such, Pidgin has a high importance for me. Thus, I’ve made the Buddy List window dock into the side of my screen, so it’s never behind any other window, even when the other window is maximised. It’s best explained with a screenshot.

What happens is that when the Buddy List is the approximate height of the screen, floating, and is then dragged to either side of the screen (I used to have it on the left), it will snap into place and become sort of a taskbar as far as other windows are concerned. To do this with Pidgin, you’ll have to enable this functionality:

  1. Go to the Tools menu, and select Plugins.
  2. Scroll down the window until you see ‘Windows Pidgin Options’. If it’s not enabled (the tickbox on the left), enable it.
  3. Otherwise, click on it once to highlight it and click ‘Configure Plugin’.
  4. In the window that comes up, click the tickbox next to ‘Dockable Buddy List’, and click Close twice.
  5. You can now drag your Buddy List to either side of the screen and have it docked, ready and waiting to start a new conversation.

If you’re the type that notices such things, you’ve probably noticed that I’m not using the Aero interface (the see-through window effect). And for good reason too. As far as I can tell, all it does is hog memory and CPU, and make my machine very sluggish. Here is a good tutorial on how to do it.

Those are the three biggest changes I’ve made to the user interface in Vista, and all have made me much more productive. If only my laptop had a second screen…

Review: PreSonus AudioBox USB

Thursday, March 5th, 2009

Since July last year I’ve owned a nice laptop, and haven’t been using a desktop computer much at all. Laptop computers are great, but as I pointed out in my review of the one I bought, the onboard speakers suck. I can wear headphones with my laptop, which produces quite reasonable sound, but unfortunately wearing headphones all day becomes a pain (literally). So in January I bit the bullet and bought a new external audio interface for my laptop. There were a number of considerations for my purchase:

  1. It needed to sound good (or rather, not sound like anything at all). I have plans to do a bit of audio recording via this hardware, and it is important that as little of my audio equipment as possible taints the sound.
  2. It needed to be portable. Although I don’t often move my laptop outside my bedroom, the option to do onsite recordings would be very handy. This means no external power supply, and no large rackmounted equipment, no matter how sexy it was.
  3. I wanted it to connect via USB. I have all the external devices on my laptop connected via a USB hub, and a single Firewire device would mean a second cable. While true recording engineers might scoff at the idea of putting the sound hardware on the same USB hub as any other device, in practise I haven’t seen any difference, and it sure makes it a lot easier to manage.
  4. MIDI would definitely be a bonus, though with most MIDI controllers today coming with USB connections, this wasn’t crucial. Besides which, I don’t have a MIDI controller, and can’t play the keyboard anyway.

After a bit of research, the two options I found were the Tascam US-122L and the PreSonus AudioBox USB. Both of these interfaces did roughly the same thing, though the Tascam device did not have balanced outputs (although I don’t currently have an amplifier with balanced inputs, I may do in the future). In addition, the Tascam device only had one intrument (high impedance) input, whereas the PreSonus device had two. And the price? The Tascam box was $370AUD, and the PreSonus box $365AUD. After twisting the salesman’s arm, I managed to get the PreSonus for $345AUD, and get a bonus Rode T-shirt and three year warranty as well.

Included in the (relatively small) box were the following contents:

  • The AudioBox USB itself.
  • USB cable.
  • Drivers CD.
  • Cubase LE4 CD.
  • Several installation manuals, one for the drivers and one for Cubase.
  • Some foam.

Close inspection of the front of the AudioBox reveals two inputs on the left hand side, each of which can be used for either a microphone or a instrument input. The power LED and button are in the top right of the front of the device. Also on the front are 5 knobs, two for input gain, one for headphone volume, one for main output volume, and one to mix between computer output and the inputs (in real use, one would expect to keep this set to computer output most of the time). On the rear of the device are found the USB connector, MIDI input and output, two 1/4″ balanced outputs, and a headphone out.

The device itself is quite heavy (around 2.5kg) for the size, mostly due to being manufactured out of large pieces of steel. Negative points for enviromentalism here, but when you’re constantly picking up and moving it, like would be expected from a portable unit such as this, I can see that this is a great idea. I haven’t been game enough to try and scratch the unit, but I don’t think you could ever remove more than a thin layer of paint.

The first thing I can report on is that the drivers for this device suck. I was told by the salesperson in the shop that it would be supported on my Vista x64 machine, and if it didn’t, I could always use ASIO4All. The drivers on the CD don’t support Vista x64. And after a bit of thought I realised that ASIO4All wouldn’t help at all, since I’d need WDM drivers anyway before that would work. In the end I reformatted my machine to use Vista x86, and installed the drivers included on the CD. Unfortunately, those drivers only support ASIO or WDM, but can’t do both at the same time. So I could use iTunes, and that would work, but any attempt to open Cubase would crash the machine. I’ve since downloaded the newer drivers off the Internet, and everything seems to be working fine for the moment. One thing to note is that PreSonus do not digitally sign their drivers. In this day and age, that is a very poor performance.

On to sound quality (which is the most important thing, really). It has to be said I’m very impressed with the audio quality for both recording and playback. There is no distortion of the sound that I can hear (playing back songs I know well, such as Time by Pink Floyd or Boulevard of Broken Dreams by Green Day). I don’t have the equipment to say whether it produces a perfect sound, but then again, that’s relative anyway. As for recording, I’m also quite impressed. There is very little noise added to recording above that from the room I’m in. The converters are obviously quite high quality, and very clear. PreSonus’ specs state a >95dB signal to noise ratio for digital to analog conversion, which is comparable with most devices in this lower-end range.

Summing up, this unit is a mixed bag. I love the features, I love the hardware, but the drivers that come with this machine are utter crap. If you have an older operating system such as Windows XP, I can imagine it would be a bit less painful, but if you own a newer machine running Vista 64bit, I’d consider buying a different audio interface. Once you’ve got that sorted out though, you’ve got a powerful and hard-to-kill unit that performs quite well. 3.5 Stars.

[ad#post-footer]

More on my file server

Saturday, September 27th, 2008

Upon request, here is some more information on how my file server is coming along. Last week I ordered a a Seagate 1TB HDD (of the latest revision, released a short time ago). It would have been preferable to buy all eight at once, but I lacked the money to buy them all at once, and I need the file server to be up and running.

The choice of brand of hard drives was difficult. Because of differences in platter density (and thus overall size), you can’t mix and match brands. Being the stupidly pedantic person I am, it’s not something I would have done anyway. I first considered Seagate, but the adventures (read: complete data loss) that a few other people at work have had with Seagate 1TB hard drives somewhat put me off. Western Digital was also an option, mostly because they have lower power requirements. This means two things: lower heat (and thus less noise), and a lower overall power requirement. For a server that is going to be on most (if not all) of the time, both these factors are quite important to consider. In the end though, I went with Seagate. I’ve never had any problems with them in my past, and I am hoping that they have fixed their problems with faulty control boards.

Only having one hard drives to begin with means I can’t begin with a RAID 5 array. I currently have my controller set to use my single drive as a JBOD disk. This obviously isn’t optimal, as my RAID controller will have to do an online upgrade of the RAID array. Apparently, this is in the feature set, so I thought I’d take advantage of it. I’ll let you know how it goes. I paid enough for it (Highpoint RocketRaid 2320 for ~$360AUD) that I trust it.

At this stage, it was time to configure my (non-) RAID array, FTP, and Samba. Configuring FTP was fine, the RAID array was tolerable (involved recompiling kernel with a few patches, etc), but Samba was a complete pain in the rear end. In the end, then, I went with Windows Vista Business. I was erring on buying a copy before to use on the server, and problems with Samba and so on just drove me over the edge.

This also allowed me to go back to my original RAID setup. After switching the cables over, I created a RAID 0 (fast stripe) on my JMicron controller for the two 80GB drives. This gives me an extremely fast Vista installation to 160GB of space. After installing the Highpoint management software, I then had my file server up and running, to a degree.

Final configuration involved installing AVG, setting up remote desktop (so I can administer changes from my laptop without having to attach a screen), installing Service Pack 1 for Vista, and disabling a few unnecessary services that slow down network transfer speeds (see this guide). After all that, I now have a decent, centralised place to store all my data. The only complaint is the noise produced by my gigabit switch (of course I had to buy a fan-cooled model).

Pictures coming soon (when I can be bothered finding a working camera).