Damir Arh's Corner
Search
Categories
  Development
 .NET
 Batch
 C++
 SQL
 VB6
 Vista
 Web
 Win32
  Downloads
 Amiga
 Articles
 Presentations
 Sources
 Windows
  Personal
 Education
 Software
 Website
Archives
July, 2008 (1)
June, 2008 (1)
April, 2008 (2)
December, 2007 (1)
November, 2007 (3)
July, 2007 (4)
June, 2007 (1)
May, 2007 (2)
March, 2007 (3)
January, 2007 (1)
December, 2006 (4)
October, 2006 (5)
September, 2006 (3)
August, 2006 (2)
June, 2006 (8)
May, 2006 (5)
April, 2006 (1)
March, 2006 (4)
February, 2006 (3)
January, 2006 (3)
March, 2003 (1)
February, 2002 (1)
January, 2002 (2)
August, 2001 (1)
July, 2001 (1)
February, 2001 (1)
December, 2000 (1)
September, 2000 (1)
July, 2000 (1)
Other Sites
Potepanja v naravi (sl)
Picasa Web Albums (sl)
moj-album.com Gallery (sl)
Bolha.com Auctions (sl)
My Game Space
LinkedIn Public Profile
My GamerTag
Sponsored Links
Administration
Sign In
Monday, January 23, 2006

Looking for a cheap computer book collection? (Personal | Education)

When I started to work on my Master’s thesis I first had to find a good source of articles from science magazines and journals and proceedings from conferences related to my research field. Since I didn’t want to spend most of the time in the faculty library which would be difficult anyhow due to strange hours I used to work on my thesis, I was looking for an online source.

The obvious choice was Google Scholar but it soon turned out that although its searching capabilities are great, it still doesn’t give access to the full text of the articles. After I realized that there’s no way to get enough material for free I decided to join the ACM (Association for Computing Machinery) as a professional member and go for the additional ACM Digital Library subscription. This gave me access most of the articles they ever published which was almost everything I needed.

At the end of the month it’ll be a year since I’ve done this and it was time to renew my membership. My first thought was to just let it go since I’ve already finished the thesis in the meantime. But I remembered having read in one of their newsletters that their professional members were given access to a part of the Safari Bookshelf so I decided to take a look at what exactly they offered. It turned out that every ACM member has access to their Professional Development Centre which includes 500 online books from the Safari Enterprise Library, 395 online books from Books24x7 and over 1000 online courses from ThomsonNETg. A more detailed look revealed that there’s a lot in there that would be of interest to me.

Therefore I’ve just renewed my subscription for another year, this time without the ACM Digital Library access because I certainly won’t need it unless I decided to write a Ph. D. thesis which surely won’t happen within the next 12 months. It’s well worth it even if you’re only about to read a selection of the books but there are other membership benefits as well.

One more thing: if you come from Slovenia or any other "economically developing country", don’t forget to take advantage of the discounts. You could save even more.

1/23/2006 11:59:12 PM (Central Europe Standard Time, UTC+01:00)  #  Comments [0]

Thursday, January 19, 2006

Redirecting web pages to specific addresses (Development | Web)

The problem is pretty straightforward: the web site redesign causes the structure to change, thus the old addresses become invalid. Since you don’t want the users to get the dreaded error 404: Object not found, there are a couple of options available to you (if you’re using IIS – Internet Information Services, that is).

You could just change the error page to match the style of your web site and inform the visitor about the now missing page or just make the redirection to your new starting page. This is a bit unfriendly to the visitors if you kept the old content since they have to find it themselves. It would certainly be better to redirect them directly to the new address of the old content. But still it’s not a bad idea to do this. It’s an easy way to keep the users on your website even when they encounter invalid URLs by whatever reason. Just open up the Custom Errors tab of the virtual directory or web site properties and set the desired URL for the error 404. But don’t forget that you have to enter the complete path starting from the root of the site, for example: "/mydirectory/myurl.html".

If you want to make a different redirection for each page you could just keep the old pages but instead of having any actual content they would just make a redirection to the correct new address. This solution has two problems:

  • It’s difficult to maintain if you have many pages.
  • You’re stuck with the client side redirection, i.e. meta refresh tag.

To make the redirection server side you could use the redirect options on the Home Directory tab of the virtual directory or web site properties. But they have some serious limitations and tend not to work as expected, even more so because the documentation doesn’t explain them very well. But there’s no reason to worry, I have a better solution for you. Setup a special 404 URL on the Custom Errors tab as already suggested. But this time use an asp or aspx page for it. The supplied query string (Request.QueryString) contains the missing URL which you can parse out and use to determine the correct new address corresponding to it. For a few pages a simple select or switch clause will do but nothing prevents you from having the mappings stored externally, in a special file or a database table for example. All that’s left is to make a Response.Redirect to the new address.

There’s one more thing to take care of. If you moved your site to a new subdirectory and chose the last suggested solution, don’t forget to setup a similar simple starting page which just redirects the visitors to the new starting page. Trying to open the site without this page will namely cause an error 403: Forbidden, because a directory listing will be attempted which you have (hopefully) prevented.

Thanks go to Peter Forret for some of the ideas I used to make this work when redesigning my page.

1/19/2006 11:35:50 PM (Central Europe Standard Time, UTC+01:00)  #  Comments [1]

Sunday, January 15, 2006

Web Page Redesigned (Personal | Website)

It's been almost three years since I last updated my web page and it's really about time to change that. When thinking about the reasons for not updating the page in such a long period it became obvious that the old structure of the page just didn't suit the contents I'd like to publish any more.

Instead of just restructuring it and writing some code for simpler updating I decided to use an existing solution for content management. After trying out a few of free ones I chose dasBlog since this site is about to become a sort of technology oriented blog. In the last few weeks I prepared a new theme to resemble my old web page style as much as possible. I also did my best to keep relevant old content and even make it accessible through old URLs. Some of the technical details will be the subject of another posting.

But the most important thing is that I'll try to keep the updates more regular. Simpler updating and more spare time because I've just obtained my Master's degree should make this more probable. Expect mostly technical articles related to my work and spare time activities from now on.

1/15/2006 11:12:16 AM (Central Europe Standard Time, UTC+01:00)  #  Comments [1]

Blog Feeds
RSS 2.0 RSS 2.0
Atom 1.0 ATOM 1.0
Fellow Bloggers
 Andrej Tozon
 Dejan Sarka
 Dusan Zupancic
 Matevz Gacnik
 Miha Markic
Disclaimer
The content of this site are my own personal opinions and do not represent my employer's view in anyway. In addition, my thoughts and opinions often change, and as a weblog is intended to provide a semi-permanent point in time snapshot you should not consider out of date posts to reflect my current thoughts and opinions.

Powered by:
newtelligence dasBlog 1.8.5223.2

© 2008 Damir Arh, M. Sc. Send mail to the author(s)

Microsoft Certified Professional
Currently Reading
Currently Playing
Currently Watching