Skip to main content

simplifying my blogging habits

I guess its a long haitus from blogging. Eversince blogging became a "fad" , I jumped into the bandwagon and started with some several post . Then the fire suddenly died down and I left this page static for how many months or even a year.

After a hell of a roller coaster ride of life , Im back eager to share everything that I can share. Initially , I thought of this blogsite as a common tech blog where I can post anything techie that I pick along the way. It dawned to me that having a monotonous approach to a site may render it uninteresting. Thus I am reintroducing my blog as a new catch all blog .

Reinventing is not only to make my blog more interesting (?) but it would simplify my supposedly "blogging habit" . I used to keep several accounts . Its me jumping to all these famous blogging account (sadly i dont have any mYSpace). Maintaining it is a pain in the ass . So finally , idecided to cut the crap and keep it simple. Heres the new setup : I have decided to keep this blogsite from blogger . Basically because its famous (hahaha for almost 2 years it only got 942 hits and half of that coming from me loggin in to different PCs) . I like the fact that blogger keeps blogging simple and of course I got my adsense all over the page . I hope to be cashing in money ( dreaming is legal) . I am also keeping my Multiply account . I know most of you would shout back that multiply's site is so damn slow, but hey , I like how some templates organize the contents. I dont care if its slow multiplied by 10 .

There are a lot of things going in my head that i want to write about. So keep posted and please subscribe in my RSS feeds....


Popular posts from this blog

Hiding Unwanted Python Folders and Files in Visual Studio Code

Visual Studio Code is a universal editor and pretty good at it. However, the explorer view maybe cluttered with the automatically generated folders and files confusing developers. Python is no different. Below are example files and folders generated by Python.

The __pycache__ folder and *.pyc files  are totally unnecessary to the developer. To hide these files from the explorer view, we need to edit the settings.json for VSCode. Add the folder and the files as shown below:
Copy and paste the lines below :


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 box …

Automatic Properties and Object Initializers in .Net 3.5

With the release of .Net 3.5 alongside with Visual Studio 2008 , new enhancements was again introduced . Some maybe well pronounced such as the inclusion of WCF, WPF , LINQ in .Net 3.0 and some just came unnoticed. If you have been accustomed of using a particular method or technique in implementing a certain code in .Net 2.0 , because of backward compatibility , you may not even notice that there are new ways of implementing it in .Net 3.5.

Here are two new concepts in .Net 3.5 that a developer may not notice ( at least in my opinion ) : Automatic Properties and Object Initializers . To illustrate these two , I am going to present the pre-.Net 3.5 way (.Net 2.0) and the .Net 3.5 way in creating a simple class with simple properties.

Automatic Properties

Creating a class can be tedious , especially when working with a list of properties , . One way to get around having to type the code for a private field and its public property getter and setter is to use a refactoring tool. However, …