Inconsistency between windows by NHibernate.
I am writing a library management system for church. This is using Spring.Net and NHibnerante. But I faced a problem. After the user updated in a record window, the record in the main window did not get updated. I have read Spring.net Tutorial. That is nothings wrong. Even I forced the session flush. But that did not work. In the session of the record edit window, the fields are updated. When I jumped back to Main Window, the session is updated. Finally, I found the problem in the Transaction attribute. In the DAO, the code should be written like this:
Code
[Transaction(ReadOnly = true)] | |
public IList<TEntity> GetAll() | |
{ |
And the update method
Code
[Transaction] | |
public void Save(TEntity entity) | |
{ |
Log File Reader
Few days ago, I wrote a little program which read files and it will get the latest version when the file is updated. Therefore, this is a live reader program. This is good for reading log files. Please check here to download.
Note that: This is a test program, so we are not responsible for any kinds of damage.
Online data backup
Source:Open Clip ArtUsing Under Public Domain Attribution
After the flood in Brisbane, I figured out I need an Online data backup service. The water can wash out my computer, all of my data. Thus. I did a research. There are a few providers of free Online data backup service.
1. SkyDrive - That is a Microsoft Cloud Harddrive. That is huge, you will have 25GB.
2. Ubuntu One. It integrated with Ubuntu. That just likes mounting a drive. You can drag and drop files to your online drive. It will have 2GB free online storage. But they are not using Ubuntu, you cannot use it!
3. ZumoDrive, it comes with my yahoo mail. It will have 1 GB free storage. After you took a tour about their service and install their windows application, link a folder to their, etc. You have 1 GB free.
4. Box.net - It has 5GB free storage and it got a very nice HTML5 app for Chrome! I like their apps
I think we are good enough to do a data backup for myself at this stage!
Android Market Web Version
I tried Android Market Web Version. This is easier to find an app than in 4" inch!. It will push to my phone later over air(therefore, the time phone connects to internet). That is quite convenient!
Android 3.0 SDK Preview
Last week, Google is released the Android 3.0 Preview. They said this version has improved UI Components for larger devices. Therefore, this version is Tablet PC. That is great. This current version Android is for smart phone only. That is strange to use this in 7" tablet.
Moreover, it got their 2D and 3D graphic rendering. That sounds in response to Tablet PC as well. Tablet PC can have better CPU and graphic card! Lastly, the feature I love most is Google eBook! You can access via an Android tablet to Google eBook. That is very hard to say how's great in text. Please watch their Android 3.0 video!
Using under Creative Commons Attribution 2.5
Please read the blog post from Google about Android. That is very hard to say in details, because they got too many changes in their version.
Reference:
Android 3.0 Platform Preview and Updated SDK Tools
Android 3.0 Platform Highlights