Another blog on ruby-rails
http://blog.whitet.net/
Friday, February 29, 2008
Wednesday, February 27, 2008
Another Open source initiative...
I am starting to think of joining another open source project on RoR. Its basically a helpdesk and workflow management solution, which would be totally web based.
I have used Peregrine for quite sometime now, and therefore have a view. I feel that there are some things in the tool that can be improved and therefore the idea. Another guy in US is also working on the topic.
Currently its hosted at rSupport.googlecode.com
I have used Peregrine for quite sometime now, and therefore have a view. I feel that there are some things in the tool that can be improved and therefore the idea. Another guy in US is also working on the topic.
Currently its hosted at rSupport.googlecode.com
New image resizing technique
I found this amazing image processing technique called image re-targeting. This really is amazing.
Read more about it at this link here http://www.humansoftware.com/pages1200/XFile/HSxfil0.html
Try this youtube video as well...
This stuff is really really innovative and brilliant. Congrats to the people behind it...
Read more about it at this link here http://www.humansoftware.com/pages1200/XFile/HSxfil0.html
Try this youtube video as well...
This stuff is really really innovative and brilliant. Congrats to the people behind it...
Tuesday, February 26, 2008
Interesting site found
I found this interesting site that talks about various topics in IT industry. Browse for few minutes and I liked it...
http://www.ajaxian.com
http://www.ajaxian.com
Monday, February 25, 2008
Adding pages to your rubyforge website
Thanks to Tim Hunter for guiding me to the faq to be able to post pages on the project website.
http://rubyforge.org/docman/view.php/5/460/faq.html
http://rubyforge.org/docman/view.php/5/460/faq.html
Saturday, February 23, 2008
Another useful Ubuntu Blog and some samba help
I was trying to set up Ubuntu on my Dell Laptop (Btw, Gutsy doesnt work, and Feisty works out of the box). And as they say, it worked like a charm.
So, trying to configure samba sharing between my two laptops, I ran into some issues and was looking on google. Found this blog really helping http://ubuntu.wordpress.com/
A few simple mistake though, setting up a samba share for the first time requires using
smbpasswd -a
so that the user can be created for samba.
It was giving me this message
Could not connect to machine 127.0.0.1: NT_STATUS_LOGON_FAILURE
Failed to change password for raghav
and then, my windows workgroup name in smb.conf was not good either. So, changed that, and restarted the daemon using
sudo /etc/init.d/samba restart
and all's well in the samba world :)
I have also managed to set up the ssh server as well, so I can now work on rails stuff, without having to reboot the system. Its really pretty simple in Ubuntu. Just install the sshd package from Synaptics and you are good.
Now get some ssh client (like putty) and just remote connect to the in-house ubuntu server (sounds pretty impressive..huh..) and u r started. :)
So, trying to configure samba sharing between my two laptops, I ran into some issues and was looking on google. Found this blog really helping http://ubuntu.wordpress.com/
A few simple mistake though, setting up a samba share for the first time requires using
smbpasswd -a
so that the user can be created for samba.
It was giving me this message
Could not connect to machine 127.0.0.1: NT_STATUS_LOGON_FAILURE
Failed to change password for raghav
and then, my windows workgroup name in smb.conf was not good either. So, changed that, and restarted the daemon using
sudo /etc/init.d/samba restart
and all's well in the samba world :)
I have also managed to set up the ssh server as well, so I can now work on rails stuff, without having to reboot the system. Its really pretty simple in Ubuntu. Just install the sshd package from Synaptics and you are good.
Now get some ssh client (like putty) and just remote connect to the in-house ubuntu server (sounds pretty impressive..huh..) and u r started. :)
Friday, February 22, 2008
Registered at Ruby forge
The Library Mananagment System project has been registered at RubyForge. You can access the default project page at http://rubyforge।org/projects/lms
.
In coming days, I am going to explore more about the project setup on ruby forge and then update accordingly. Right now, the default virtual host that we have got is called http://lms.rubyforge.org, but it really is the default page.
Would update more, perhaps post the few pages that I have thought of on the wiki there.
.
In coming days, I am going to explore more about the project setup on ruby forge and then update accordingly. Right now, the default virtual host that we have got is called http://lms.rubyforge.org, but it really is the default page.
Would update more, perhaps post the few pages that I have thought of on the wiki there.
Thursday, February 21, 2008
Classes for Library...
More on the Library Project
Was thinking further on this and found a basic idea of the classes I would see..
- Book
- Properties
- Id
- title
- author1
- author2
- author3
- isbn no
- language
- type
- printed matter [default]
- dvd
- CD
- meta tags [comma delimited]
- year of publishing
- edition #
- issue cycle (days)
- No of copies
- Methods
- add
- remove
- update
- add a copy
- Lib Transactions
- Properties
- date of issue
- member id
- book id
- date of return
- Methods
- issue book
- return book
- Member
- Properties
- Name
- age
- address
- sex
- Methods
- Add
- delete
- update
DataWarehouse with Ruby on Rails
Recently joined www.rubyforge.org. Wish to join a few projects on similar direction.
While browsing through I found a project they call "ActiveWarehouse" using Ruby on Rails. Pretty interesting for me, since I come from Warehousing background myself.
I guess, I am going to read more about it and probably join the project. See if I can contribute something.
While browsing through I found a project they call "ActiveWarehouse" using Ruby on Rails. Pretty interesting for me, since I come from Warehousing background myself.
I guess, I am going to read more about it and probably join the project. See if I can contribute something.
Wednesday, February 20, 2008
Useful color codes
Found this very useful color code page.
http://www.pitt.edu/%7Enisg/cis/web/cgi/rgb.html
Very useful when you want to manipulate something on your blog's template by yourself.
http://www.pitt.edu/%7Enisg/cis/web/cgi/rgb.html
Very useful when you want to manipulate something on your blog's template by yourself.
Library Management System : Ruby on Rails
Well, I want to learn some more of rails and ruby (as much comes along).
And so I thought of building a tiny little web application to build a library management system based on rails and mysql.
The idea is that, it would be a web based application to manage the library from an staff member's point of view. At a later stage, there would be an additional viewpoint from the library visitor, to search for books, request for issue etc...
I also intend to build a page which could be used to issue out or receive books (as a library transaction).
Here is a summary of what I have thought this application would do.. to start with...
Well, thats the very first stage of requirement thinking that has been done.
And so I thought of building a tiny little web application to build a library management system based on rails and mysql.
The idea is that, it would be a web based application to manage the library from an staff member's point of view. At a later stage, there would be an additional viewpoint from the library visitor, to search for books, request for issue etc...
I also intend to build a page which could be used to issue out or receive books (as a library transaction).
Here is a summary of what I have thought this application would do.. to start with...
- Keep stock of books
- multiple copies of book allowed
- Allow searching for books in library
- search on meta tags
- Title
- description
- author
- allow books to be issued out.
- keep track of date of issue
- Expected date of return
- Administration
- Allow to add books
- Rename, replace, add remove copies etc.
- Reports
- Books overdue on a given date
- Members with overdue books
- Books that are most probable to go overdue
- Members most responsible for overdue books
- etc...
Well, thats the very first stage of requirement thinking that has been done.
Rails Tutorial...
Looks like I found another interesting rails tutorial...
http://www.meshplex.org/wiki/Ruby/Ruby_on_Rails_programming_तुतोरिअल्स
http://www.meshplex.org/wiki/Ruby/Ruby_on_Rails_programming_तुतोरिअल्स
Monday, February 18, 2008
Making a Tag cloud for Blogger
I have always seen web pages (blogs actually) showing many tags with different font sizes showing prominence of one tag over others. Today I realized that these things are called tag clouds. And then I was searching already as to how can I get one for myself.
It seems google can find anything for you, proven umpteenth time... :)
Here is what I found, first read looks promising...
http://phy3blog.googlepages.com/Beta-Blogger-Label-Cloud.html
Will implement it later though .. and report of course...
It seems google can find anything for you, proven umpteenth time... :)
Here is what I found, first read looks promising...
http://phy3blog.googlepages.com/Beta-Blogger-Label-Cloud.html
Will implement it later though .. and report of course...
Gutsy on Dell Inspiron 5100
As planned, I was doing a bit of research on installing latest Ubuntu release on my Dell Inspiron 5100.
I had installed Feisty Fawn on the same laptop earlier without any issues. As it turns out, there are a lot of issues with Gutsy on Dell Inspiron 5100.
Some of the major issues..
When I tried to boot through the Live CD (downloaded today), I was greeted with a blank screen. Could only get in when I chose the safe graphics mode from the boot menu.
I am surprised at this situation, especially at the fact that a give set of hardware was supported by default in Feisty Fawn and not in the next release (Gutsy). There got to be something in the release planning that needs strong attention...
I had installed Feisty Fawn on the same laptop earlier without any issues. As it turns out, there are a lot of issues with Gutsy on Dell Inspiron 5100.
Some of the major issues..
- Display
- Heat Sink management (from software)
- Live CD booting
When I tried to boot through the Live CD (downloaded today), I was greeted with a blank screen. Could only get in when I chose the safe graphics mode from the boot menu.
I am surprised at this situation, especially at the fact that a give set of hardware was supported by default in Feisty Fawn and not in the next release (Gutsy). There got to be something in the release planning that needs strong attention...
About my Dell laptop
I have a Dell Inspiron 5100 purchased in July 2003. It has worked pretty well duing these years. Lately, say last one year or so, I have had problems with it. The performance went down considerabley.
Taking cues from here and there, I went for memory upgrade and put on a 1 GB RAM chip. It did help but not as much as I would have liked.
then in July 2007 we went in our new laptop HP Compaq 6710b. Its working nice and fine, no problems.
Now, I do have this Dell laptop at home and want to put this to some good use. Selling it doesnt seem like very good idea,
a. because its not going to fetch any interesting money
b. its got a bit of emotional value for me (it was my first ever laptop)
c. I can always use a second system at home for experiments etc.
Last few months, I have tried to do a bit more research into getting this system to work better. The people around the place have suggested to do a BIOS upgrade. When I tried for the first time, it turned out that I had a really really old BIOS on this laptop and it wont be upgraded directly.
I had A06 and the current version was A32. So, I was forced to upgrade to A22 first and then only I could goto A31. I read about it on Dell Forums and have to thank dallascowboysworldchamps for the suggestion to the way forward.
A gentleman on one of the google groups (http://groups.google.com/group/alt.sys.pc-clone.dell) suggested that I should install a software for monitoring my cpu fan. Available at http://www.diefer.de/i8kfan/ this software seems to work.
It reports that my CPU temperature is fluctuating between 57 and 62 degree celcius and its regulating fan speed according to the temperature.
Overall, the system is performing much better already.
Lets see what comes next. I am thinking of installing Ubuntu on this laptop once again...
Taking cues from here and there, I went for memory upgrade and put on a 1 GB RAM chip. It did help but not as much as I would have liked.
then in July 2007 we went in our new laptop HP Compaq 6710b. Its working nice and fine, no problems.
Now, I do have this Dell laptop at home and want to put this to some good use. Selling it doesnt seem like very good idea,
a. because its not going to fetch any interesting money
b. its got a bit of emotional value for me (it was my first ever laptop)
c. I can always use a second system at home for experiments etc.
Last few months, I have tried to do a bit more research into getting this system to work better. The people around the place have suggested to do a BIOS upgrade. When I tried for the first time, it turned out that I had a really really old BIOS on this laptop and it wont be upgraded directly.
I had A06 and the current version was A32. So, I was forced to upgrade to A22 first and then only I could goto A31. I read about it on Dell Forums and have to thank dallascowboysworldchamps for the suggestion to the way forward.
A gentleman on one of the google groups (http://groups.google.com/group/alt.sys.pc-clone.dell) suggested that I should install a software for monitoring my cpu fan. Available at http://www.diefer.de/i8kfan/ this software seems to work.
It reports that my CPU temperature is fluctuating between 57 and 62 degree celcius and its regulating fan speed according to the temperature.
Overall, the system is performing much better already.
Lets see what comes next. I am thinking of installing Ubuntu on this laptop once again...
Monday, February 11, 2008
Rails fixed
After some delay on this item, I managed to spend some time on my Ubuntu system.
As it turned out, the rails env was in fact broken due to my mistake. Many versions of rails/ruby installed over period of time. From Ubuntu package management system, from Rails, ruby website. Many versions of gems etc...
So, I had to do a bit of cleaning up. In fact a lot of cleaning up. Removed ruby from Ubuntu packages perspective altogether. All of it. Removed rails from Ubuntu packages as well.
Then I got the latest ruby source code from Ruby-Lang.org and did the basic compilation. Nothing had to be configured for ssl or anything else. It worked like a charm. Lovely.
However, if you have some system running in production on rails, you better read a bit more on rails 2 before migrating to it. I managed because I am still playing around, and nothing is really running that is of production value. :)
It has quite some changes that do NOT fit in with rails 1.2.3 regime. Some of them are here Whats new in Rails 2
good luck :)
btw, found two interesting blogs on rails... adding them to fav links...
As it turned out, the rails env was in fact broken due to my mistake. Many versions of rails/ruby installed over period of time. From Ubuntu package management system, from Rails, ruby website. Many versions of gems etc...
So, I had to do a bit of cleaning up. In fact a lot of cleaning up. Removed ruby from Ubuntu packages perspective altogether. All of it. Removed rails from Ubuntu packages as well.
Then I got the latest ruby source code from Ruby-Lang.org and did the basic compilation. Nothing had to be configured for ssl or anything else. It worked like a charm. Lovely.
However, if you have some system running in production on rails, you better read a bit more on rails 2 before migrating to it. I managed because I am still playing around, and nothing is really running that is of production value. :)
It has quite some changes that do NOT fit in with rails 1.2.3 regime. Some of them are here Whats new in Rails 2
good luck :)
btw, found two interesting blogs on rails... adding them to fav links...
Friday, February 8, 2008
With Java again after 6 years
For some reason, I had to go back to do some Java programming stuff after a long time today. Before today, last I did some Java programming was way back in 2002.
As it turned out, I had forgotten everything of Java by now. I couldnt' even write the basic Hello World by myself as it is. Then I had to turn back to Sun's Java Tutorial (available here) and restart learning.
It was very exciting to remember all that I had forgotten back again. It really was. To write a basic java application saying "Hello Raghav" and later on writing my own math class. I created a square function with two constructors. I really liked it.
However I have to say that, way back in 2001/2 when I was writing JSPs and Swing Applets (using Java 2 as they called java 1.2 then), we were writing code using Editplus and JDeveloper and VisualAge kind of tools. They were not so nice actually.. to develop the kind of stuff we were building. JSPs, Beans EJB etc.
On the other hand, when I was trying this thing today, I saw that there was Eclipse, Netbeans and so many other IDEs for developing with Java. So much has changed in the development arena for Java, its almost unrecognizable. Not that I was unaware of all these changes, It was just going unnoticed in terms of real effect since I was an onlooker before today.
I really like programming, and I wont say that I dont like some help doing the stuff. The Syntax highlighting, automatic syntax checking, one click compilation kind of thing, handling classpath, adding external JARs ... and the list goes on... I tried Eclipse and found it an amazing help.
As it turned out, I had forgotten everything of Java by now. I couldnt' even write the basic Hello World by myself as it is. Then I had to turn back to Sun's Java Tutorial (available here) and restart learning.
It was very exciting to remember all that I had forgotten back again. It really was. To write a basic java application saying "Hello Raghav" and later on writing my own math class. I created a square function with two constructors. I really liked it.
However I have to say that, way back in 2001/2 when I was writing JSPs and Swing Applets (using Java 2 as they called java 1.2 then), we were writing code using Editplus and JDeveloper and VisualAge kind of tools. They were not so nice actually.. to develop the kind of stuff we were building. JSPs, Beans EJB etc.
On the other hand, when I was trying this thing today, I saw that there was Eclipse, Netbeans and so many other IDEs for developing with Java. So much has changed in the development arena for Java, its almost unrecognizable. Not that I was unaware of all these changes, It was just going unnoticed in terms of real effect since I was an onlooker before today.
I really like programming, and I wont say that I dont like some help doing the stuff. The Syntax highlighting, automatic syntax checking, one click compilation kind of thing, handling classpath, adding external JARs ... and the list goes on... I tried Eclipse and found it an amazing help.
Wednesday, February 6, 2008
Rails upgrade and issues ...
I was revisiting my rails know-how and planned to start a new project.
However, when I did an upgrade, I ran into issues. I posted them to railsforum/ruby forum here -
Post at Rails Forum
Post at Ruby Forum
But couldnt really get a solution out.
Then a friend told me about this
I am not done yet, but will keep updating...
However, when I did an upgrade, I ran into issues. I posted them to railsforum/ruby forum here -
Post at Rails Forum
Post at Ruby Forum
But couldnt really get a solution out.
Then a friend told me about this
rails freezething. He referred to this link.
I am not done yet, but will keep updating...
Laptop motherboard replaced.. thanks HP
HP website's support ticket management can be improved.
After I made the ticket for reporting the problem, 3 days later I received a packet with a CPU fan in there. Looks like somebody at HP thought that I could open my notebook and replace the fan myself... :)
However, it took few more days for them to acknowledge the real problem. Then they picked up the laptop and returned it after 9 days with a replaced motherboard.
I am happy to say that the exhaust fan now works without the special sound it was creating earlier.
I feel happy that I purchased the HP Care pack.. :)
After I made the ticket for reporting the problem, 3 days later I received a packet with a CPU fan in there. Looks like somebody at HP thought that I could open my notebook and replace the fan myself... :)
However, it took few more days for them to acknowledge the real problem. Then they picked up the laptop and returned it after 9 days with a replaced motherboard.
I am happy to say that the exhaust fan now works without the special sound it was creating earlier.
I feel happy that I purchased the HP Care pack.. :)
Subscribe to:
Posts (Atom)