Archives for: "November 2013"
Not found c:\preload\convert.cmd in ThninkPad
My friend brought a ThinkPad SL500 to me. The login password are changed by somethings, that sounds some virus in there. I decided to rebuild the machine. So, I pressed F11 during the startup to enter the recovery center. Then I choose the option to… more »
The reason to use repository pattern
In our AdvGenCMS, we use the repository pattern in the data layer. Inside each repository, there is a LINQ datacontext. We are completely hiding the LINQ from the upper layers. In this way, we can switch to use another ORM technology in the future… more »
Get your upgrade Windows 8.1 from Windows 8
Today, a friend asked me whether that is good to upgrade from Windows 8 to 8.1. My answer is "Good,please go ahead"! Windows 8.1 is better than Windows 8. At least you will have IE 11 and a "Start" button, although that is a kind of "Windows 8". Moreov… more »
IOS Error:'Cannot create an NSPersistentStoreCoordinator with a nil model'
I backed to build my first iOS app again. Today, I got this error:'Cannot create an NSPersistentStoreCoordinator with a nil model'.
Actually, that is easy to fix.
Please make this line of code:
NSURL *modelURL = [[NSBundle mainBundle] URLForResourc… more »
The most productive time
I found an interesting point. During few years, I meet a number of programmers in Australia and Hong Kong. The most of them have told the most productive time for them is around 9pm to midnight. The normal office hours are not very suit for them! That… more »
Just Not about Coding
A lot of people believe we only need to learn some programming languages to be a programmer. In the real world, we need to communicate with other human beings, we need to do the documentations, at least we need to write some notes about operations… more »
HOWTO: Find a Physical Path in ASP.Net from URL
In a number of situations, we need to know a Physical Path in a server from URL. For example, we need to upload some photo. Thus, this is a very common task, and is very easy to do in C# Codestring serverPath = Server.Map("~/Photo"); // e.g. it returns… more »
Tags: howto
Not just about coding
We are in Information Technology Industry for a few years. We do a lot of coding every day. Most of people believe we only need to know about the programming syntax. Well, we still need to know about the theories behind that, such as basic computer… more »
WPF and Winforms are alive
A lot of people prefer to build a web app. They think using ASP.Net MVC or PHP + jQuery will be the best option. jQuery can make a web interface as good as a windows UI. Nowadays, web page can do a lot of interactions. Moreover, the users only need a… more »