Daqing Chu At WordPress

September 22, 2011

My iOS Development Status

Filed under: Programming Notes — David Chu @ 4:22 am

I have not been back to my iOS development since my Beijing vacation back. May be I am just too lazy or too busy with something else as excuse. One of reasons is that I want to do it in Xcode 4.0 and iOS 5. I got my Xcode updated last month. iOS will be released anytime soon either this month or in October.

[Read more…]

September 4, 2011

SQLPlus Debug and VIM Find/Replace

Filed under: Programming Notes — David Chu @ 1:07 am
Tags: ,

Yesterday I was asked to help to resolve some issues for a piece of PL/SQL codes, which was provided by our client support. I was working on only error issues, nothing related to its logic. I spent about 2 hours and finally almost got the script running OK (it was too late in the afternoon). Here are two notes about the work.

[Read more…]

August 29, 2011

Open/Closed Principle: Delegate Example

Filed under: Programming Notes — David Chu @ 4:16 am
Tags: ,

In object-oriented programming, the open/closed principle is a very important principle. Software entities (classes, modules, functions, etc.) should be open for extension, but closed for modification. Recently I tried to summary some commonly used components in a serials of documents. I found that I have used delegate in my LogHelper class. This reminds me about my OCP.

[Read more…]

August 21, 2011

Filed under: Programming Notes — David Chu @ 6:13 pm

This blog is about how to create a materialized view in SQL server database. By creating a materialized view, you can dramatically improve query performance. I learned this by my experience. Here are some key notes about the process.

[Read more…]

August 2, 2011

Updated to Xcode 4.1

Filed under: Programming Notes — David Chu @ 4:05 am
Tags: ,

oday I updated me Xcode to 4.1. It is a free version available from Apple store. That means you either have to have Snow Leopard or Lion if you want to get it. Before Lion’s release it was $5.00 from Apple Store. I have not started my iOS development for a while since I have been kept watching WWDC 2011 videos. Right now I am in the half way through 400 sessions and only 500 serials in my schedule. It is really good to learn OS and iOS new features from those session videos.

[Read more…]

July 24, 2011

Code Formatter

Filed under: Programming Notes — David Chu @ 6:32 pm

Last week I was working on some T-SQL query codes. I remembered that I used PL/SQL developer tool to reformat my SQL codes by using Beautifier. I could not find similar tool in SQL Server Management Studio, at least for SSMS 2005/2008. I googled web to see if there is any tools available.

[Read more…]

July 17, 2011

Finished Watching WWDC 2011 Videos in -Halfway

Filed under: Programming Notes — David Chu @ 8:18 pm
Tags: ,

In the past weeks, I have been in a fast-paced way to watch WWDC 2011 videos. Right now I have finished 100(App Frameworks), and 300(Developer Tools) serials. Still three sections left: 200(Core OS, 13), 400(Graphics, Media and Games, 24), and 500(Internet and Web, 19).

I have also made some nodes in my Chinese blogs about WWDC 2011.

July 10, 2011

Using DIV to layout side-by-side blocks

Filed under: Programming Notes — David Chu @ 5:50 pm
Tags: ,

I often need to layout my contents in two blocks side-by-side, with left side block as a warning message as example. This can be done easily by using CSS and HTML. Here are the tips.

[Read more…]

June 19, 2011

Edit Blogger HTML Settings

Filed under: Programming Notes — David Chu @ 12:03 am
Tags: , ,

This is blog is technical detail I did in 2007. I wrote this technique long time ago. It is truth that this is only required to do only once. However, when I create another blogger account, I would like to repeat it again. Now I think it is better to take detail notes of steps so that I may need to reuse it again.

[Read more…]

June 3, 2011

Filed under: Programming Notes — David Chu @ 2:33 am

Here is one senario about using network shared folders. One application requires a configuration file. The application has been used in our intranet environment with many users. Many users use the same configuration. It is preferable to put the configuration file on a shared network folder. I need to find a efficient way to let user be able to access to the file.

[Read more…]

Next Page »

Blog at WordPress.com.