Tatva-Artha

meaning of "it"

Archive for March, 2009

Speedstream 5100 with Linksys router

without comments

So, my D-Link wireless router recently died after 4 years of great service. Considering the popularity, I bought one of Linksys Wireless-N router. The set was nice and easy but I started noticing that the dropped internet wouldn’t connect automatically with the new router. I called AT&T customer service to find out if anything had changed recently. Nothing did.

So started my debug cycle. I had forgotten how to connect directly to modem. My Vista (great Microsoft OS) wouldn’t fetch an IP from modem upon direct connection. Finally, I started from scratch. I reset my modem (with a little pen push button at the bottom of my modem). Restarted the computer. I had to hit “repair” on all my internet adapters to get it to renew ip address from modem directly. Then, I went to http://192.168.0.1 for the modem’s control panel and entered my username/password to get it to connect to internet. Everything good. But I still have to get it working with my router so I can connect multiple computers wirelessly to internet.

Read the rest of this entry »

Written by admin

March 28th, 2009 at 9:20 pm

Posted in All

Apache config for enabling file listing

without comments

In order to enable file-listing for your static apache website, add following line to your virtual host’s <Directory> config:

<directory “/your/site/root/directory”>
Options Indexes FollowSymLinks
</directory>

Written by admin

March 28th, 2009 at 5:23 am

Posted in All

Insurance Shopping Checklist

with 2 comments

If you are shopping for insurance for yourself, you are not alone with all the options that are available out there and the complex web of things that you need to consider. But … I’ve been trying. Here is a list of things that I’ve come up with that one should consider when shopping for insurance.

Read the rest of this entry »

Written by admin

March 21st, 2009 at 6:46 pm

Posted in All, Personal Finance

Tagged with

Full 16 years of study – a necessity not a luxury

without comments

I was listening to NPR this morning and there was this gentleman sharing his experience. He said “When I graduated from graduationhigh school, I was excited to join workforce. I became a welder at a factory and made a decent living. I did that for 4 years and I got laid off recently…” Read the rest of this entry »

Written by admin

March 19th, 2009 at 9:16 pm

Posted in All

Tagged with , ,

ActiveRecord group by, count and joins

without comments

Performing a join query on a one-to-many relationship to obtain the count of many side is not an uncommon query that we encounter. Some examples include a need to find how many times a particular customer placed an order, how many students are enrolled in each of the classes offered this semester or to put it in a general form: how many child objects there are for a given parent object.

While this can be performed in a single SQL statement, creating corresponding ActiveRecord find options presents a few challenges. It took me a few hours to get this and I learnt a few things along the way. Here is the journey as I took it:

Read the rest of this entry »

Written by admin

March 18th, 2009 at 9:35 pm

Posted in All, Technology

Spree Installation Issues

without comments

I am exploring Spree for the ecommerce solution that I am working on. According to reviews, Spree is one of the most widely used RoR ecommerce package in use out there. It does have a wide community spree_logobase including googlegroups and is being developed actively. However, it lacks the test coverage and documentation for how to get started and how to add extensions.

Here are a couple of issues I faced when installing:

Read the rest of this entry »

Written by admin

March 17th, 2009 at 10:48 pm

Posted in All, Technology

Tagged with , ,

Google Maps KML (GeoXML) won’t work with http://localhost

without comments

Reading manuals is sometimes more efficient but if you are like me who tries it all (including web search) before hitting manual, then this should help:

When trying to develop a google map app on your local machine that needs to map a KML file, remember that any KML file served by your localhost server will not be properly rendered. The KML file has to be uploaded on a public server where google server can get to. This is because parsing of KML and rendering is done by google servers, each time!.

Written by admin

March 15th, 2009 at 12:32 am

Posted in All, Technology

Tagged with ,