Notes on codes, projects and everything
Generally, library holds a wide variety of reading materials and providing ample space for quiet study. A full range of services is provided in a library, such as loan, reservation, inter-library loan, reference, online resource, document delivery, photocopying, audiovisual and microform materials.
Initially, the library transactions are handled manually by the library staff. The references are stored using the filing system. This tradition method has raised many inconveniences to the library staff.
Hence, you are required to do some research on the problems that faced by the conventional library management system, and then develop a computerized library system by using the ASP.NET.
A master page is used to set up a consistent look and feel to the website. However, since it is not being discussed in class, therefore we had got to learn that ourselves. We implemented a simple master page to the website and separate the layout and data presenting element using a stylesheet file. The tool used to develop the assignment is Visual Web Developer 2005 Express Edition.
Following included are the screenshots for some main functions.
I have been following this excellent guide written by Benjamin Thomas to set up my virtual machine for development purpose. However, when I am starting to configure a Ubuntu Quantal alpha machine, parts of the guide became inapplicable. Hence, this post is written as a small revision to the previously mentioned guide.
I finally put in some time and effort learning myself a bit of Rust. Though I am still struggling with ownership and lifetimes (which is essentially everything about the language, to be honest), I find it more interesting compared to Golang, which is relatively boring, though being functional (no pun intended). While learning the language, the one thing I came across often is the Option
enum, then I remembered that I read something about Monad.
Another half a day spent on figuring out how to package my daemon properly, fortunately with help from friends over at #harmattan IRC channel as well as cckwes, I finally get the deb package generated properly. So just a quick reminder on what my daemon does, it is just a quick hack that toggles the ‘allow background connections’ on and off depending which kind of data network a user is connected to. Apparently I am not the only one who are looking for this, as a feature request was filed long long time ago.
Recently the term “Semantic Web” becomes extremely popular that Sitepoint blogs keep posting articles on this topic (1, 2). In my college days, I learned about Semantic Network and I wonder if there is some relationship between them. I’m not sure whether I get the concept correctly but in this article I would like to revise a bit on semantic network before going to semantic web. Please correct me if I’m wrong.
To do node selection for DOM operations, one typically uses CSS selectors as (probably) popularized by jQuery. However, there is another alternative that is as powerful if not better known as XPath. XPath may be able to do a lot more than just selecting node (which I have no time to find out for now) but I will just focus on how to do node selection in this blog post.