21 Feb 2010 @ 8:26 PM 

Now that I’m using c++ again, I’m getting interested in unit tests, of course. But a little research showed me that there has been some reluctance to unity tests in the community, primarily due to the lack of reflection in unmanaged code.

Since unit testing is so awesome, it hasn’t been entirely overlooked, luckily. First I found an interesting question on this at http://stackoverflow.com/questions/3159
There’s a good overview of a bunch of different tools there.

I also read a good article by Michael Feather. http://objectmentor.com/resources/ articles/TheHumbleDialogBox.pdf
He explains why we need to separate the smart objects so we can communicate with them. Cool!

I’m also downloading some unit test plugin for Visual Studio. I’ll let you know how that goes!

Tags Tags: , ,
Categories: Programming
Posted By: Tommy
Last Edit: 21 Feb 2010 @ 08 26 PM

E-mailPermalinkComments (0)

 21 Feb 2010 @ 8:23 PM 

Now that I’m using c++ again, I’m getting interested in unit tests, of course. But a little research showed me that there has been some reluctance to unity tests in the community, primarily due to the lack of reflection in unmanaged code.

Since unit testing is so awesome, it hasn’t been entirely overlooked, luckily. First I found an interesting question on this at http://stackoverflow.com/questions/3159
There’s a good overview of a bunch of different tools there.

I also read a good article by Michael Feather. http://objectmentor.com/resources/ articles/TheHumbleDialogBox.pdf
He explains why we need to separate the smart objects so we can communicate with them. Cool!

I’m also downloading some unit test plugin for Visual Studio. I’ll let you know how that goes!

Tags Tags: , ,
Categories: Uncategorized
Posted By: Tommy
Last Edit: 21 Feb 2010 @ 08 23 PM

E-mailPermalinkComments (0)

 30 Jan 2010 @ 9:29 PM 

Just thought that I’d test the capabalities of this phone to post here.

Tags Tags:
Categories: Uncategorized
Posted By: Tommy
Last Edit: 30 Jan 2010 @ 09 29 PM

E-mailPermalinkComments (0)

 15 Jan 2010 @ 5:22 PM 

This Text Is Now Writing Your Mind

Tags Tags:
Categories: Uncategorized
Posted By: Tommy
Last Edit: 15 Jan 2010 @ 05 22 PM

E-mailPermalinkComments (0)

 09 Jan 2010 @ 9:33 PM 

Using Send-to in Ubuntu is supposed to be a helpful thing. Although I prefer using the Terminal for copying files to new locations, let’s see how send to works:

First, we right click the file:
sendTo1

Then we see the Send To dialog box:
sendTo2

We select the “Removable Media”.
sendTo3

Select the disk we’d like to send it to:
sendTo4

We have the option to send it as a zipped file:
sendTo5

We go to the target location and see if the new file is there:
sendTo6

If it’s not, we can just consider what happens in the terminal if using the command “cp” which means to copy. First, I look to see what drives are available:
tommy@ubuntu:~$ ls /media
cdrom cdrom1 floppy U3 System
cdrom0 f2fc5429-adbc-4957-b436-f990c1cba426 floppy0 Ubuntu 9.04

Check what’s on the drive:
tommy@ubuntu:~$ ls /media/f2fc5429-adbc-4957-b436-f990c1cba426/
bin dev initrd.img media opt sbin sys var
boot etc lib mnt proc selinux tmp vmlinuz
cdrom home lost+found root srv usr

I want to see my new file. It’s called “new file”.
tommy@ubuntu:~$ ls
Desktop Downloads Music new file~ Public Videos
Documents examples.desktop new file Pictures Templates

I copy the file into the USB drive, which has a really long name.
tommy@ubuntu:~$ cp new\ file /media/f2fc5429-adbc-4957-b436-f990c1cba426/
cp: cannot create regular file `/media/f2fc5429-adbc-4957-b436-f990c1cba426/new file': Permission denied

I realize that the copy command cp doesn’t work outside the user directory. Therefore, use sudo with password.
tommy@ubuntu:~$ sudo cp new\ file /media/f2fc5429-adbc-4957-b436-f990c1cba426/
[sudo] password for tommy:

Check that the file copied:
tommy@ubuntu:~$ ls /media/f2fc5429-adbc-4957-b436-f990c1cba426/
bin dev initrd.img media opt sbin sys var
boot etc lib mnt proc selinux tmp vmlinuz
cdrom home lost+found new file root srv usr

yes, it did, because “new file” now exists on the drive. Wow, the terminal works but rightclick “Send to” doesn’t.

Tags Categories: Uncategorized Posted By: Tommy
Last Edit: 09 Jan 2010 @ 09 33 PM

E-mailPermalinkComments (0)

\/ More Options ...
Change Theme...
  • Users » 2
  • Posts/Pages » 164
  • Comments » 7
Change Theme...
  • VoidVoid
  • LifeLife « Default
  • EarthEarth
  • WindWind
  • WaterWater
  • FireFire
  • LiteLight
  • No Child Pages.
  • No Child Pages.