Chorn Sokun's Weblog

Conquer inner fear, push it to the limit!

Archive for the ‘Tools’ Category

Life without Firefug

with 3 comments

bugfree

I shouldn’t complain about this since I accept the fact to run on Windows 7 beta build. I wouldn’t get support from third party software just as fast as I want.

But I believe eventually thing will get back on track. However I am suck at the movement I wonder if it was just me who rant into this problem (http://code.google.com/p/fbug/issues/detail?id=1473) or it just “the bug to be”?

Anyone know any other Firefox extension with similar functionality of Firebug? where I can use temporary to debug ajax request?

UPDATE:  2009.03.03

I had manually install Firebug by copy extracted file from my colleage computer located in
C:\Users\<user>\AppData\Roaming\Mozilla\Firefox\Profiles\<profile>\extensions\ usually Firebug file stored in a firebug@software.joehewitt.com folder, so just copy the folder and paste it into your Firefox profile.

Hmm, next is to modify extensions.ini located in C:\Users\<user>\AppData\Roaming\Mozilla\Firefox\Profiles\<profile>\ to something like this

[ExtensionDirs]
Extension0=path_to_extension_folder

Written by Chorn Sokun

February 11, 2009 at 9:37 am

Storm The Castle

with one comment

I hope Ayende won’t mind if I steal the name :D well, he did used that name for one of his sample project. Anyway let me throw some good news out to all of my blog trackers “who loves coding :D” I just check-in a sample project using Castle minutes ago.

As I am not sure how many of you understand what I am blogging about or even had trouble try to replicate my trip. Now I make it simpler if you want to catch-up or debate with me on my future Castle posts you got a chance to start it  now just go grab a stick and stone from http://code.google.com/p/storm-the-castle/

If you have any question/suggestion/request you can post it on the project site I am happy to help it out as time allow ;)

Oh by the way this is my 100 posts :))

Happy Chinese New Year everyone.

Written by Chorn Sokun

January 24, 2009 at 11:59 am

Subversion is not alone, do you?

leave a comment »

I am a big fan of Subversion (SVN) I use it mainly for checking out .NET OSS projects that I am interested in as well as to manage my day to day projects. Although Subversion is not the only file version control solution in the whole wide world but it just works so while border :( ah huh it doesn’t hurt a married man knowing pretty girls right ;) “I hope my wife do read this post, LOL”.

So a quick googling I got 2 links which buy me alot as saying said “Seeing is Believing” right? then just watch the screencasts … oh ! by the way no sheep get hurt during production lolz

Written by Chorn Sokun

September 13, 2008 at 8:59 am

Posted in Tools

Tagged with , , , ,

Yet another Web Browser

with 7 comments

Is this going to be the last Web Browser to be born on the earth? my dearest friends enjoy Google Chrome slide show to the birth of our next web browser the new contender is now in town.

Written by Chorn Sokun

September 2, 2008 at 2:10 pm

Posted in Tools

Tagged with ,

.Net 2.0 App_GlobalResources within VS.NET 2008

with one comment

If you ever done globalization & localization your web application/website you must have appreciated  the way Microsoft approach the problem through App_LobalResources as well as App_GlobalResources. However since I am not a WebForm’s fan App_LocalResources is not my friend but App_GlobalResources.

Not until I recently had to Rebuild my web application within VS.NET 2008 and it complains about resources name already defined ???? What the heck !

The namespace 'Resources' already contains a definition ...

CS0101: The namespace 'Resources' already contains a definition for 'Messages'

I fired up Firefox searching the entire net and yeah I am not the only one experience the pain but none of their suggestion would work for me. Well most of them advice to remove the resources file and keep a single of them “fall back resource” but hell that will make localization suck what the point?

But I remembered, I didn’t have this kind of problem in previous version of the IDE? How about trying that one more time? ack I no longer had a copy of VS.NET 2005 installed fine call a friend get sharing his laptop view via Microsoft SharedView and mess around; finally I can confirm that it everything work perfectly so it must be the “VS.NET 2008”

The last thing I did was load my solution under vs.net 2008 and upgrade my web application runtime from 2.0 to 3.5 and recompile the app. again and guess what? IT WORKS !! YEAH and that stressed me out a bit since I did not want to upgrade .net runtime on the server just YET.

Anyway that is my story; do you know a better way to fix the problem without upgrade my web application runtime?

update: the solution above somehow wacky and I got to admit the best way to deal with this is using satellite assembly approach here are a few links:

I  had to use pre-build event to generate necessary satellite assembly like this

cd $(ProjectDir) resgen.exe MyResource.resx
al.exe /t:lib
   /embed:MyResource.resources
   /out:bin\en-GB\$(ProjectName).resources.dll /c:en-GB

resgen.exe MyResource.km-KH.resx $(ProjectName).MyResource.km-KH.resources
al.exe /t:lib
   /embed:$(ProjectName).MyResource.km-KH.resources
   /out:bin\km-KH\$(ProjectName).resources.dll /culture:km-KH

Note: make sure you created bin\en-GB and bin\km-KH before build the project.

Written by Chorn Sokun

September 2, 2008 at 9:13 am

AnkhSVN 2.0 Released

with 2 comments

I did have some experience with AnkhSVN 1.0.2 release but it was not a good experience. One of the main reason I switch to Visual SVN at that time because 1.0.2 was too slow it enjoy eating my CPU speed/time :D. However after reading a review article from InfoQ.com I’m willing to try the AnkhSVN one more time and yeah why not if this release does perform then I can save a few bottle of beers =))

Now if you want to ride along get while it hot ! AnkhSVN’s download no matter how the result that I am going to get I do want to thanks to the AnkhSVN developers for their hard work go team go …

Written by Chorn Sokun

August 30, 2008 at 10:35 pm

Posted in OSS, Tools

Tagged with , ,

Ubuntu 8.04 Hardy Heron – that for my mom

leave a comment »

If you follow my previous post you might know what I’ve been doing so far, well i was messing around with Ubuntu 8.04 and if you ask me how was that? I would say “Yeah, It is an OS for my mom”. How about you buddi? you asked. See the problem is Ubuntu 8.04 was developed for my mom it wasn’t me ! :( that kind of sad isn’t it?

Now let me express what make me feel this way, I guess you know who I am right? Oh ! com’on I knew you did hahaha I write VB, PHP, Java & C# tool I am expected to see in Hardy Heron

  • Eclipse 3.3 (sorry we got 3.2 )
  • Mono 1.9 (hm hmm, wait and see u might have it next release cycle)
  • MonoDevelop 1.0 (oh, isn’t beta 3 work great for ya ?!)

the Ubuntu guy love to play with giant snake therefore all they care about is Python.

After all I might have to do I miss catch for 8.04 cuz my mom don’t use any computer :(

Written by Chorn Sokun

April 3, 2008 at 12:33 am

Posted in Development, OSS, Tools, Ubuntu

IP Switch WS_FTP die die

with one comment

I always been a fan of WS_FTP up until last night I just can’t get on with that freaking slow file transfer. I just told myself to blame ISP for not taken care of FTP connection however after tried a few different ISP connection I start to belive that was not the case. I must had to do something about it or else I better shot myself in the foot. So here come the decision:

Get rid of WS_FTP install CuteFTP from GlobalSCAPE and voilá all the pain gone thanks Budha !
Last word die die die WS_FTP.

Written by Chorn Sokun

March 7, 2008 at 8:43 am

Posted in Tips & Tricks, Tools

Tagged with

Tabify why I never care?

with 2 comments

I thought I was one of the coder who obey coding standard, but hell no until a guy told me I wasn’t. That kind of make me feel like a fool :))


Well, this is how I get around:

  • Tools -> Options -> Text Editor -> C# -> Tabs (Hell no ! “Insert spaces” was selected)
  • select “Keep tabs”

Alright let see will this work “Tabify”

  • Edit -> Advanced -> View White space (Crtl + R, Crtl + W)
  • Now reformat your code [ Ctrl + A; Ctrl + K, Ctrl + F]


Is that “Tabify” you talking about Ken ;)

Written by Chorn Sokun

March 5, 2008 at 2:37 pm

Posted in Tips & Tricks, Tools

Tagged with

Ubuntu "Dock It Mac Way"

leave a comment »

It almost 2 months since my busy schedule started, I was unable to find sometime to spend with my beloved Gutsy until today * I am no expert in Ubuntu * in the exploration process I decided to upgrade a few packages to it latest version and well I come across one cool package:

Avant Window Navigator (Awn) is a dock-like bar which sits at the bottom of the screen. It has support for launchers, task lists, and third party applets.The Awn project is the development of the ‘dock’, avant-window-navigator, and its corresponding shared library ‘libawn’, which is used to develop applets.

For more detail instruction read it @ http://www.ubuntugeek.com or direct link Avant Window Navigator enjoy fun ;)

Written by Chorn Sokun

January 17, 2008 at 8:54 am

Posted in OSS, Tools, Ubuntu