Friday, April 21, 2006

A DSL Primer – Chapter Tre

If you are using DSL at home and if it is shared with your voice line, you must have installed additional small filters that attach to each of your phones between the phone and the wall jack. These are low-pass (LP) filters that block everything above 4Khz so that you don’t hear some hissing sounds (from DSL) during a voice call.


The DSL modem divides its frequency range into 4-Khz wide channels. For the 1.1Mhz ADSL2 standard, you get 247 channels. This is as if you have 247 phone lines with a modem attached to each. Each modem is capable of doing 64Kbps. As the distance to the DSLAM gets longer or if there are impairments on the line such as interference from high power lines, bridge taps (extensions to phone line that are not connected to anything but affect the signal quality on the line), some of those imaginary 247 phone lines cannot carry a quality signal for data transmission. The modems detect this while they are training and eliminate the channels that are not up to par. That’s why you can not always get the highest speed provided by a particular DSL standard.

The DSL modem at the subscriber end converts data from the digital signals (from your ethernet connection to a computer) into a voltage signal of a suitable frequency range which is then applied to a phone line. On the other end, at the central office of the phone company there is a digital subscriber line access multiplexer (DSLAM), which terminates the DSL circuit and aggregates all the traffic coming from subscribers onto some flavor of network transport the phone company is using on their back-end (ATM, Ethernet, SONET, etc). In the case of Ananda Bell, the DSLAMs convert the DSL signals back on to Ethernet and hand it off to SBC over a Frame Relay circuit.

In the next and final chapter of these series, I will describe the network setup we have at Ananda Bell. Stay tuned.

Thursday, April 20, 2006

Turning the Bookshelf into a Library

The Premise: Changing Hundreds of Word Documents into Thousands of Webpages

One of the steps in turning the Ananda Bookshelf into a website is converting all the books, articles, etc. into a format suitable for online use. The "old-style" Bookshelf that Satyaki created uses Microsoft Word documents, which look like this:


"*+ ! ! ! $ #" is not foul language – those are the markers that tell the Bookshelf where a new chapter or section starts. They, and other markers, are used in every Bookshelf chapter, article, etc. For the web, though, we can't use them, so we have to clean them up.

We also have to split up the Word documents. Yogananda's Autobiography of a Yogi is 48 chapters long, and the old Bookshelf, behind the scenes, used just one Word file. For the Ananda Library we'll need at least 48 webpage files instead.

Introducing Mamata (Pronounced "Mamta")

This is where Mamata comes in. Mamata, from Nepal via Washington D.C., is one of the newest members of IT Services. She's extremely sharp, and for months now has been working on generating financial reports for Ananda's fundraising department and retreat center. Mamata also played a big part in getting the new The Expanding Light meditation and yoga retreat website online.


Mamata uses a program called Word Cleaner to convert Word documents into webpages. It does a good job, but even after using it there's still hundreds of thousands of little bits of text to clean up.

So, How to Split and Clean Up Thousands of Webpages?

Automatically, using bit of computer esoterica called "Regular Expressions." With regular expressions you can say, for example, "Clean up a link or a title, but only if it has *+ ! ! ! $ # inside of it," or, "Remove all links that point to footnotes if the names of those footnotes are "_ftn00" through "_ftn99."

These are all things that are in the Word documents that we won't need in the webpages. (Real footnotes have different names.)

Regular expressions that clean up Bookshelf webpages look like this:


Mamata, already knowledgable about HTML, the language of webpages, is learning regular expressions. She'll use them not onto to clean the webpages but to split them up, with an "expression" that essentially says: "Make a new page every time you find a new chapter heading."

Final Steps, then It's Online

After that what happens is:
  • We put the webpage files of the books, articles, etc. into folders
  • We let Scott know
  • Scott diligently updates a few "sitemap" files
Then we can have a working, passworded, "beta" version of the bookshelf part of the site online for testing purposes.

Wednesday, April 19, 2006

Google Mini in the Here


"Houston...We have a liftoff" Ananda's very own Google-mini is ready for business, having created its very first catalog just an hour after installation. (Skillman)

On the "rack" at Ananda Bell (above the DSL equipment)



Google has just released their second generation of the Mini along with a much more robust enterprise edition.
see article. This new Mini is what we have ordered and has arrived!

It comes in a really cool big box and is larger than I imagined









Our intrepid programmer hard at work, setting up program prior to install on the "rack". This entails setting up basic configurations like internet address and names and all the secure settings associated with being connected to the World Wide Web. Future programming can be done using the web interface from our desktops.









Sunday, April 16, 2006

New Teammate!

Dharmaraj Iyer has joined the Ananda Resource Team! Currently, he is teaching 4th-6th grade class this year at Living Wisdom School, Nevada City. Dharmaraj has a Masters' Degree in Computer Science from MIT and spent summers working at AT&T Research and Xerox PARC. He received undergraduate degrees (in math and computer science) at the University of Pennsylvania.

No Barriers

Since one of the goals of this project is sharing Ananda's spiritual resources to every sincere seeker worldwide, how can we do this when not everyone reads English? Fortunately, ASP.NET, offers our developers powerful tools to build a multilingual application. Ananda Resource Library will be built from the ground up to be "browser culture" (or language) aware. Each user establishes a default language when using a browser to view Internet based content. ASP.NET has built-in capabilities to sense what language a browser is set to before it delivers content. For in-depth research, refer to this MSDN article. For non-ISO languages, check out this article.

Does this mean that English text will "automagically" be translated on the fly. Unfortunately, this is not the case. At least not yet! However, one website framework (rather than many) can be used to support many languages. There are automated webtools to translate text from one language to another for free. However, their accuracy (and appropriateness) would be a topic for conversation and another post!

One of the team's first steps will be to decide what languages to build for, in addition to English. My guess is that Hindi, Italian, Spanish and German will definitely be mentioned with others to be added.

The title of this post is "No Barriers". Unfortunately, millions in this world still do not enjoy ready access to the Internet. Let us hope as Dwapara continues to unfold, the number of individuals who can reach the Ananda Resource Library website increases by a significant percentage each passing year. Are you just a little curious just how many individuals in the world do have internet access?

Saturday, April 15, 2006

A DSL Primer – Chapter Duo

DSL – Digital Subscriber Line

As you know a DSL modem is orders of magnitude faster than a dial-up modem. The fastest ADSL standard, known as ADSL2+, is capable of 24Mbit/s downstream speed. Compared with a 56K modem, this is more than 400 times faster. Don’t start drooling because we can’t offer that speed of internet access in the village, at least not yet. We are limited by Ananda Bell’s pipe to the internet which is currently a bonded pair of two T1 lines giving us an aggregate capacity of 3Mbit/s downstream and same upstream. This will soon be upgraded to a total of three T1 lines, which will provide an aggregate bandwidth of 4.5Mbit/s.

When we first installed DSL in the village, we were using the first generation DSL standard called ADSL Lite (or G.Lite), which provided 1.5Mbit/s downstream and 0.5Mbit/s upstream speeds. Note that, because all of our DSL connections in the village end up being funneled through a single T1 line (1.5Mbit/s upstream and 1.5Mbit/s downstream) we had to use some measures to prevent a single person taking up the entire bandwidth of the village. So, Ric and I implemented profiles of different speeds; bronze, silver, gold, platinum, etc. This created a tiered service offering at different monthly costs to appeal to many households, as well as prevented the bandwidth hogs. Later on we upgraded our DSLAMs to be capable of the more recent standard called ADSL2, which in theory could give each household 12Mbit/s downstream speed but again, we had to rate-limit each connection to provide fair-use of our much smaller pipe to the internet.

Apart from speed, another great feature of DSL is that it works on your existing phone line and even when you are on the phone. How does it do that?

Your telephone service (POTS – Plain Old Telephone Service) carries human voice in a frequency range of 0 to 3,400 Hertz (cycles per second). This results in a somewhat low quality sound as it does not include the full-range of human voice. You may have noticed that often times it is hard to distinguish between “s” and “f” sounds on the phone, that’s because the high frequencies that are needed to distinguish those sounds are filtered by your phone or by the phone switch. In comparison, most stereo speakers can cover 20 Hertz to 20,000 Hertz. You may have also noticed that when you make a Skype call from one computer to another, the sound quality is much better than a POTS call, because Skype software does not filter out human voice as aggressively as POTS.

Your phone wires are capable of transmitting much higher frequencies than even the audible range, several Mhz (megahertz) in fact. These higher frequencies do not interfere with the voice on your phone line and therefore provide a large playground for the DSL technology. ADSL2 uses up to 1.1Mhz, ADSL2+ uses 2.2Mhz and the VDSL2 standard uses as much as 12Mhz.

Fax machines also use the frequency range of POTS calls. That’s why you can hear the tones generated by the fax machine, but you cannot make a phone call on the same line shared by a fax machine if your fax machine is sending or receiving at that time. One could theoretically make a fax machine that uses higher frequencies and that can send and receive much faster, but then you need to have those two fax machines connected directly to each other, because if you go through the phone company’s switch, guess what, they will filter all the high frequencies again. The good old dial-up modems worked fine between you and your friend’s house because they only sent their signal over the POTS frequencies. You cannot do the same with a pair of DSL modems. That’s why the peer for your DSL modem is located at the phone company, where the voice frequencies and DSL frequencies are split. The voice frequencies go to the phone switch in the PSTN, the DSL frequencies go to the DSLAM.

To be continued ...

Thursday, April 13, 2006

A DSL Primer - Chapter Uno


(Peter Skillman skillfully insisted that I should write a few lines about DSL, how it works and how it is used in our community. So, here is the first chapter.)

The first picture you see is the diagram that shows the original DSL installation at Ananda Bell about four years ago. This is now classified as part of the Ananda Archives as a historical document (if not, it should be).

As you all know Ananda Village operates its own phone company, Ananda Bell. Many years ago - the veterans would know exactly which year - Ananda Village has purchased a phone switch, much like one that might be used by a large corporation for their office buildings. With the purchase of this switch, the phone lines (copper pairs) within the village boundary have also became the property of Ananda Village. (Someone with the knowledge of this transaction should add a comment to this blog entry). This has marked a milestone in Ananda’s broadband Internet history. Without the existence of this switch and the ownership of these landlines, it would not have been possible for us to have DSL service. SBC/PacBell brought in T1 lines to serve as trunks (24 phone lines each) for calls originating or terminating outside the village, while the Ananda Bell switch handled all the calls originating and terminating within the village. Having your own switch also meant you had access to all the nifty features such as 260, voice-mail, voice-mail distribution groups, digital phones with additional features, etc. The phone side of things is Ric’s turf and he knows much more about it, so I won’t venture into any more details about that. Going back to DSL technology…

DSL modems do not work if they are too far from the DSLAM (DSL Access Multiplexer. This page shows one of the Occam DSLAMs). This distance limit is around 18000 feet, ~3.4 miles. The DSLAMs are located at the CO (Central Office) or RT (Remote Terminal – those big gray boxes you see in street corners). This picture shows the DSL modem at a home and the DSL at the CO and how they are connected to each other. Even when you are within the reach of a DSLAM you are at the whim of the phone company whether they want to offer that service to you or not. Each DSLAM serves 24, 48, or perhaps 96 subscribers. If there are only two households in a neighborhood who might be interested in DSL, it does not make financial sense for the phone company to put a 24-port DSLAM into service and use only two ports out of it. Therefore when phone companies roll out DSL to their service areas they look at potential penetration for their DSL market. They look at their ROI (Return On Investment) to see how long it would take them to make up for the purchase of the DSLAM. If you live in a rural area, far away from the CO or RT and the density of homes is not enough, you are out of luck for getting DSL service.

I think Master must have influenced the minds of the decision makers in the village at the time to steer them toward the direction of purchasing this phone switch knowing that one day the DSL technology would become available and would enable us to provide DSL service through our ownership of the copper lines.

The DSL modems have many similarities to dial-up modems (the ones that made buzzing sounds when they were training). You essentially have a pair of these modems on each end of a copper phone line to pass data between two computers (or a computer and a server). Customers only see the modem at their end. The modem on the other end of the line is integrated into a PCB (printed circuit board) along with many other modems so that they don’t waste valuable real-estate at the CO. In the early days of the dial-up modems, you would see “modem-banks” at the CO which were like army of modems stacked one after the other. Later on these became much more compact so that you can fit 24, 48 or 96 of them in a 1RU space. (RU is rack-unit, which is 1.75 inches of vertical space. It’s a standard unit used for defining space requirements at a CO. The racks are usually 19 inches or 23 inches wide depending on the equipment.) Another similarity between dial-up modems and DSL modems is that they both “train” to establish a connection. The two modems on each end of the link go through a handshake protocol before they are “connected”. On dial-up modems this used to take tens of seconds (while they made the buzzing sounds). On DSL modems, this reduced to the order of a few seconds (and there is no buzzing sound).

In Chapter 2, I will talk about many advantages of DSL. Chapter 3 will go into more detail about the technology itself and finally Chapter 4 will talk about Ananda Village’s DSL network. To be continued …

Tuesday, April 11, 2006

DreamTeam

The other night I looked over the names to your right of all Contributors (which is an incomplete list) and marvelled over the collective talents that have been assembled to put together this website. I thought it would be fun to list each contributor and his/her contribution to the project with a little corporate style writeup included. We do indeed have a "DreamTeam"! (All the below comes from my own notes, which may need correction.)

DreamTeam Roster


Starting at the Executive Director position is Jyotish. He is the one who approves expenditures and over-sees the overall direction of the Ananda Resource Library. Jyotish's expansive vision led to the increased scope of the project to be much more than a web-based replacement for the Minister's Bookshelf. Author, entrepreneur, minister, spiritual leader and painter, Jyotish brings a host of talents to the table. He was educated at the University of Minnesota.

Project Manager is Kent Williams, head of ACSR IT. Kent sets the project timeline, deliverables and keeps everyone on task. He reports directly to Jyotish. Kent, in addition to having a degree in Chemistry, serves our greater community as board chairman of our local health clinic.

Project Founder is Satyaki. He keeps an eye on us from his minister's perch in Portland, ensuring the spirit and intent of the original Minister's Bookshelf, which Satyaki devotedly assembled, remain intact. While Satyaki was an employee at Microsoft, he authored a landmark paper on Object Linking and Embedding.

Webmaster is Maria Warner. Maria is creating the design, via Photoshop, of the Ananda Resource Library, in addition to her duties overseeing all the Web activities at Ananda. A native of Russia, Maria, like Kent, has a university degree in Chemistry.

Design Consultant is Nirmala. She is assisting our design efforts, particularly in the area of color, to reflect the astral beauty of a rainbow. Nirmala has many years of experience in book cover and typsetting design and book production. She also is a "crackerjack" with Quark xPress and Photoshop. In her spare time, she helps her husband oversee Ananda's outreach in the subcontinent of India.

Nabha, our Content Production Manager, is directing the conversion of the Minister's Bookshelf .doc formatted content to HTML. He manages the websites of the Expanding Light and Crystal Clarity.

Ably assisting Nabha in the conversion project is Mamata who comes to us via Nepal and Experience Ananda. In addition, Mamata crafted the SQL Select statement that provides the data underpining for the website authentication. Mamata has a Master's in Public Health.

.Net Developer is Scott Roberts. Scott is coding the tool that will enable just about anyone to post content to the site. Scott's day job is educating the young men of our High School. In addition to completing course studies for a Phd in Physics, Scott is certified by Microsoft as a .Net Developer.

Web Developer is
Dharmaraj Iyer. Currently, he is teaching 4th-6th grade class this year at Living Wisdom School, Nevada City. Dharmaraj has a Masters' Degree in Computer Science from MIT and spent summers working at AT&T Research and Xerox PARC. He received undergraduate degrees (in math and computer science) at the University of Pennsylvania.

Network Engineer is Bob
Stolzman. Bob set up our SQL Server while overseeing the Network at Rajarsi Park. Cisco certified, Bob came to Ananda via Autodesk. Bob has a university degree in Geology.

Data Center and Internet Engineer is Koral Ilgun. Koral was instrumental in establishing high-speed Internet access at Ananda. Koral comes to Ananda via Turkey and has a Master's degree in Computer Science from UC Santa Barbara.

Project Consultant is Peter Skillman. From his "day job" experience as a Web Developer and Webmaster for a small Sacramento software company, Peter has seen the magic of the "frictionless advantage" -- The Internet -- level the playing field between small companies and multinational corporations. Peter was educated at Amherst where he earned a BA in American Studies.

Chairman Emeritis and Inspiration for the Ananda Resource Library is Swami Kriyananda. Through Swamiji's peerless discipleship to Master and his tireless and extraordinarily generous sharing of Yogananda's teaching to every sincere seeker worldwide, this project was born. Everyone of the DreamTeam draws on Swami's lifelong example of selfless offering in service to the Light through his Guru.

Thursday, April 06, 2006

"It is hard to pin down a rainbow" - Nirmala

Love the blogger! I tried to post a comment, though, just now, and it didn’t go through. Would you like to post it for me?? Aum, n.

Click here to see what Nirmala is referring to

welllll.....the blue and the lavender/purple look like something Swami would like, but he wouldn't go for that red or that green! (As Milarapa's guru said, "I must have been drunk!" Or else my computer was drunk the day i came up with those!

I personally like that red; it's an Egyptian red that Swami would probably like to see on the right person. Maybe that could be said for the green, too... Are you confused yet?)

here's a few more thoughts that i hope are not confusing: Swami doesn't usually care for blacks, browns, tans, greys, or any muddy color: (muddy greens, muddy purples, mud in general!)

That's not to say black or tan or grey can't ever be used as backgrounds, fillers, etc. But the focus should always be on PURE colors.

He also likes gold and silver in the right context, as well as being very fond of rainbows.

if you envision the astral world, with clear, vivid, pure colors with lots of light and vibrancy, then you are close to finding something Swamiji would like.

just as it is hard to pin down a rainbow (!), it's hard to pin down what Swamiji likes: he likes it to be beautiful!

hope this helps! aum, n .

Thursday Meeting (4/6) notes by Kent


Meeting notes from this morning
Present: Jyotish, Peter Sk, Kent, Maria, Nabha

1) Website design
a) Keep fonts same for header as on ananda.org
b) Keep curve also
c) Make bottom left lighter color and blend in
d) *! Maria volunteered her considerable skills with the design. Kent is relieved and sending files to her.
e) Make working title" Ananda Resource Library"
f) See below for notes on major sections of library

2) Authentication
a) Most areas of site will require authentication which will be tied to information in Sales Logix database such as whether person is kriyaban, minister, sevaka member, Sanghi, etc. Each will eventually offer access to various sections of library.
b) in exchange for minimal "privileges" on the site (for newbies) we want at some minimum of information: e.g.
-email which will be validated by sending to that email address
-geographic information, e.g. country, state. Yes they can lie but that only gets them inacurate information back from us. We will then offer them ability to sign up for various existing email lists like e-notes, sangha notes, etc. Called "permissive based emailing" . We will need to add more fields to the database on Priyanath (used for authentication) that gets updated from SLX.

c) (Question of how to manage this when email is bad. Do we remove privileges?)
d) also will have ways of defeating email bots (not discussed at meeting due to technical nature)
e) Peter Skillman will flesch out the concepts here in detail prior to next meeting

3) Google Mini- Jyotish authorized purchase of Google Mini. Kent to get quote and purchase. This will be the "small one" capable of handling 50,000 pages (Nabha calculate after meeting that we have approx 5k-6k pages potential at present). This unit can be upgraded to 300,000 pages if/when needed. We will work to get installed at Ananda Bell on the "rack" and connected to WAN within next few weeks and do first test with EL.org site. Skillman will assist in configuration. Ric at Ananda Bell (and Koral) have already given the magic blessing.

4) Document Conversion of Ananda Bookshelf- Nabha reported we are about 10 % complete with hte conversion process. Mamata has been gone for past 4 weeks and will resume work on this process next week. He will help her get up to speed with using "expressions" to aid and automate further, the conversion process of the word documents to html. Hopefully this will speed things up.
Scott will be working on the navigation system soon.

5) Target for Beta Launch - We have targeted the Sevaka Retreat to launch a beta version of the Site as the first major component is the Ananda Bookshelf which will be available for all Sevaka order members. Jyotish will begin communication with Sevaka order members in May about all of this.

6) Major sections of website- we put up some potential sections of the website (not in cement yet) and they are listed below with subsections. This is for discussion and review. Please comment on additions/deletions/changes. The long term implication is to have these "updated" by someone. For now, we are focusing on the Sevaka Bookshelf section to get things functioning and up and running. Access to various sections, as noted previously, will be by authentication.
A) Community
--Colonies
-- Meditation Groups
-- History of Ananda
-- Forums
B) Library (more public in nature than Sevaka bookshelf)
-- Books
--Article
--Transcripts
C) Images (for download purposes to be used by worldwide Anandans)
--Public Photos of PY
--Public photos of SK
--Other useful common images such as logo, etc
D) Sevaka Order
--Bookshelf
--Minister's on the Road

Great Scott!!!

Scott passed his Microsoft Certification Test!
Way to go Scott!!!

Wednesday, April 05, 2006

test web page

I have uploaded a test page for review and discussion. Please let me know your thoughts--Kent

http://www.anandasupport.org/anandaresourcetest.htm

Saturday, April 01, 2006

Authentication, Security and the Google Device

A question has arisen concerning security. This is natural, given the almost daily headlines that appear on computer theft, "hacking" and other ill-deeds. Since allowing "members-only" access to the website is a requirement, how will non-members be kept from viewing pages they shouldn't-- particularly pages indexed by the Google Device?

ASP.NET gives the developer total control over content access. By following simple configuration steps, a website and the pages therein, can be created to allow only authenticated access. Simply put, this means an individual can only gain access once their identity is known. This is accomplished by the familiar username/password challenge routine.

The Ananda Resource site will take authentication a further step: Once a user is authenticated, he or she will only see pages that they have priviledges for. An example is that only Kriyabans will see material that is meant for initiates. Non-Kriyabans will be denied access to the Kriya-only portion of the website.

The Google Device will be allowed access to the site so content can be spidered, indexed and cataloged. This can be done because the Ananda Google Device will have unique identifiers: The IP address that is assigned to the device and the user-agent name. No other search engine or individual will have these particular attributes.

The Ananda Resource site will consider the Ananda Google Device one of us - in fact, the Ananda Google device will be considered a highly advanced disciple with access to all parts of the website!