Skip to main content

Posts

Showing posts with the label Software

Unit Testing in Python : A Primer

Automated unit testing has been around for more than a decade now. I remember back in 2008, a colleague introduced to our team the concept of MVP pattern and in the process the advantage of using the pattern in unit testing. The concept of automated testing using NUnit and mocking using NMock was also discussed. That is where I began to see the advantage of implementing Test Driven Development  methodology to developers. Unfortunately, the company where I moved don't see it as such. Thus, I was only able to practice it on my learning time. With the recent events in my life , I now have more time exploring this concept a little further. A series of post will concentrate on this concept using Python and C#. Lets begin with Python .

Create and Use Profiles in Android Using Profile Scheduler

Did you miss your old reliable Nokia 2G phones running on Symbian OS? It was always simple back then, keypads are easy to use, you could create SMS message blindfolded or while looking at some lovely ladies passing by. You could even go for days without running out of juice. Snake was the best game to kill your time. Over-the-air updates and fragmentation are non-issues and we have the profiles.

Visual Studio 2012 Update 2 is Now Available!

Good news to all Microsoft Visual Studio users,  MSDN has sent email notifications to all subscribers about the availability of update 2 today. Here is the rest of the information from the email.

WiFi File Transfer : Access your phone/tablet storage via WiFi

Have you tried transferring files from your phone or tablet to your PC but just could not get hold of that micro USB cable? If you are the type of person that needs file transfer every now and then but always forget the cables, as long as you have WiFi access, this application can make your life better. The WiFi File Transfer apps allows shares your phone or tablets drive over the air allowing you to transfer data to and from the device through a simple web interface.

Keeping Notes the Google Way : Google Keep

Finally, Google has released a note-taking application which syncs through the cloud. This means your note is available across your Google powered devices as well as across the web through their web applications. This morning, Google Keep was released in the Android Play Store and made available to the web through this link .  A few years ago, Google Notebook was introduced, unfortunately like many of the Google apps that was discontinued, it had to go. I was waiting for a relaunch, then Evernote came and blew me away. Now that it has emerge as Google Keep, lets see if it can satisfy our simple requirements. This is a new app and we should expect improvements and features in a few more weeks. Until then, we can only decide if we go with Google Keep or keep Evernote :-)

Its Never Too Late For Some Good Old Google Facts

I must admit, I am a fanatic. My virtual day start with Google and ends with Google. So when I came accross some fun facts about it, I have to share it. So feast on the list taken from different sources (other sources may be unreliable) , I just got those that made me smile.       The name "Google" was an accident. A spelling mistake by the original founders who thought they were going for "Googol". Fellow graduate student Sean Anderson suggested Google creator Larry Page and Sergey Brin name their site "Googolplex". Page suggested they shorten it to " Googol " , which refers to the number 1 followed by 100 zeroes. Anderson mstyped "Googol" as "Google", which was an available name.   The first Google storeage was made from LEGO. See article here .

Synching Between PCs Using Microsoft SyncToy

If you are like me using more than one device for work and leisure, then synching  between devices for file updates is a pain. What is more frustrating is discovering you have been modifying an older version of your file on another workstation! Even the best merging tool wont help you much if the changes have been big. I bet two in three readers would say, hey why not use the cloud ? I have to say cloud is amazing, it enables my android devices to sync seamlessly and I consider Evernote as one of a must have.    

Should I Pay for an App?

Image Source; www.techcrunch.com Should software developers or anyone working on similar fields pay for the "Apps" they use? Legally speaking, if the software is for a price, anyone who intends to use it must buy the software. Of course we all know this is never a common reality. I will not go into discussing  corporate  non sense and go into details of complicated licensing schemes being offered by , often times, greedy software companies. Let's focus into what they call,  the "Apps". These  simple yet entertaining and(sometimes)  useful software has kicked off to become a worldwide commodity, thanks to the ever expanding smart phone industry. Unlike big productivity suites offered by large money-sucking companies, most of these "apps" are startups trying to make a name in the industry. Of course we know some who went on and hit big time with a highly addictive app. Others were eventually bought by bigger companies. That's the idea of...

Uncluttering Your Chrome Toolbar

Chrome is becoming my choice of browser, not only that its fast and lightweight, the integration of a Chrome App Store is adding excitement to the thing. But it is not easy when you got only 1 toolbar to work with, as you add more and more extensions the search bar gets eaten up. Chrome toolbar supports hiding of extensions and re-ordering to tidy up your toolbar.

Force Shutdown on VMWare Player

Here a simple tip for VMWare users. If you have set the memory allocation of your VMPlayer to be high and one day wake up with error saying it cannot start the VM because there is not enough memory on the host, here is what you can do: 1. Adjust the VMWare memory allocation to a lesser value. Closing the VMWare will not commit the changes on the memory allocation till you shutdown the VM itself. This is the problem, you cannot shutdown the VM unless you can start it. 2. To workaround this problem, go to the folder where the VM file reside and delete the .VMSS file. Open your VM , by then the memory allocation had been applied and the memory allocation problem is resolved.

Visual Studio 2008 Service Pack 1 Released

The first of the series of service packs for VS2008 has just been released . With Service Pack 1, Visual Studio 2008 introduces a large assortment of new features for targeting Windows, Office, and the Web. Developers building .NET-basedapplications will enjoy improved performance in the WPF designer, new components for Visual Basic and Visual C++, as well as an MFC-based Office 2007 Ribbon. Web developers will see continued improvement in the client-side script tooling including JavaScript IntelliSense. Additionally, full support for SQL Server 2008, the ADO.NET Entity Framework and performance improvements for the IDE make Service Pack 1 a great release across the board. The .NET Framework 3.5 Service Pack 1 delivers more controls, a streamlined setup, improved start-up performance, and powerful new graphics features for client development and rich data scaffolding, improved AJAX support, and other improvements for Web development. Additionally it introduces the ADO.NET Entity Fram...

Getting to know your hardware using CPUID

There are some instances when you need to know what is inside your machine but you just dont know how. Instead of finding those neatly kept manuals (if they are still there) or trying to look into your bios , or locating system information in start menu or or worst opening your machine and physically inspect it , try downloading CPUID and the rest is magic . It is a freeware so no worries on licenses . Heres a snapshot of my Neo machine that I bought last June 2007 . By the look of it , I definitely need a well deserved upgrade !

PowerCommands for Visual Studio 2008

Heres another VS2008 tool worth reviewing . A handy tool which contains some useful task that would help any developers like Copy Path, Email CodeSnippet, Insert Guid Attribute , Copy As Project Reference , Remove and Sort Usings among others . Take a peek on the tool at this website.

CopySourceAsHTML for Visual Studio 2008 : Tips & Tricks

For a tech blogger who wants to show off a lot of codes , the gruesome process of Ctrl+C and Ctrl+V may not be of big help . Why? Because your blog may not be WYSIWYG and the pasted code just mess up your post . Then came CopySourceAsHTML for Visual Studio developers . Sleek and handy , just copy the code from your editor and paste it to your blog as HTML with all the CSS embedded in it to copy even the color schemes of the editor . Cool right? Well, the installer works only for Visual Studio 2005 !!!! And if your a developer working now on Visual Studio 2008 ( obviously I am ) , you dont have the capability to do that easily . Just an hour ago I stumble on a site that allows you to download a CopySourceAsHTML compatible for Visual Studio 2008 . The bad news is that its not an installer but a zipped file containing 3 files that should be manually added to VS2008 . Here are the steps to make it run together with some test scenarios I did. 1. Download the Zip File on this SITE 2. Un...

extending windows 2008 server evaluation period

For those trying out this new product from Microsoft , heres an article from the software giants themselves showing how to extend the evaluation period to 240 days for this product. Evaluating Windows Server 2008 software does not require product activation. Any edition of Windows Server 2008 may be installed without activation, and it may be evaluated for 60 days. Additionally, the 60-day evaluation period may be reset (re-armed) three times. This action extends the original 60-day evaluation period by up to 180 days for a total possible evaluation time of 240 days. Read More

adobe photoshop online !!!

i was having a hard time looking for an adobe photoshop installer just a week ago only to find out that there is an Adobe Photoshop Online . the site offers limited capabilities but it allows newbie users to get a feel to what photoshop can do. they do not even have to go through the process of looking for a software to install in their machine. just get into your IE or Firefox installer and you are ready to go. Heres the write up taken from www.yahoo.com. Adobe has launched a public beta of its web-based Photoshop Express image editor aimed at average consumers who want to quickly touch-up their photos and share them with friends online. Similar to Flickr, the service offers users two gigabytes of online storage, but does set some limits, so photos can't be bigger than 4,000 pixels in height and width or 10 megabytes. Either way, the service is very handy for beginners looking for a simple image-editing application. Some of the basic editing functions in Photoshop Express i...

renaming default namespaces for VSTO projects in VS2008

So here is the scenario , you are starting a VSTO project and decided that your default namespace is ExcelAddInTesterApp . You created the project and started coding the project. After several days , your boss called and said "hey marvin , make use of this namespace OurCompany.ExcelAddInTesterApp , we have to add our company name to it got it?" . You get back to your machine thinking its just a simple property just like any project you've been working on. So you right clicked the VSTO project and hit properties . Boom! What the F@#$? The default namespace textbox is disabled!!!! I've been through this and I googled for ways to do it and ended up with a blog from a Microsoft MVP telling me it can't be done because it is disabled. Then I thought of Refactoring, the beauty and grandeur of the renaming process. I selected the namespace and hit the refactor menu hoping that this would solve the problem . Unfortunately , it did not rather it displayed the message b...

in search for a smaller footprint mp3 player

For years now, music had played an important part in my life. Every time I get to work , I got my music player on the background. When I get home , I still have the music still on my background process. As I move on working on more memory hungry applications, the once unnoticeable effect of using windows media player or winamp on the background has been noticed. These famous players do support a lot a of functionality and even added features that makes them memory hungry apps. What I just wanted to have is a simple music player that plays music on the background. No themes , no pluggins , no visual effects to add to that. I started googling for the player of my dream and entered "Music Player with Small Memory footprint" as a search key . This led me to Sheepfriends website and gave a link to a player named BILLY. Realizing that it is not a spyare, I downloaded the 800+ kb folder that does not contain any complicated installer , just a plain EXE and some necessary file. Ru...

visual studio 2008

just last week our company already had the licensed copy of visual studio 2008, thats what you get being a MS gold partner. we have to use it right away to migrate some projects that we developed using the beta 2 release . the look and feel did npt change a bit but i bet there are a lot of changes that are waiting to be discovered. one of the most notable changes was on VSTO (Visual Studio Tools for Office). VSTO has been around since VS2005 and we had no problem migrating it to beta 2 of VS2008. well things have changed and there are new features in 2008 plus changes in assembly names. so here are the things that we got and the workarounds that we made : The following assemblies are no longer supported in VS 2008 Release. Remove it from the reference list. Microsoft.VisualStudio.Tools.Applications.AddInBase.dll Microsoft.VisualStudio.Tools.Applications.Common.dll Microsoft.VisualStudio.Tools.Office.dll Microsoft.VisualStudio.Tools.Office.Common.dll Replace above with the ...