Kaprekar Series

Ha! Finally I published the pages I had created on the Kaprekar routine/series/numbers; also made the code/software for Kaprekar series generation available for public download. Check it out at Kaprekar Series Generator.

Thursday, June 24, 2004

Glossary: Definition Lists.

I was wondering what was the appropriate tag for the glossary. Most people seem to use tables for their glossary - but thats not the most appropriate tag. I feel that the Definition List tags should be used for presenting the glossary.

So the html will look something like this -

<h3>Glossary of Terms</h3>

<dl>

<dt>Kaprekar Constant</dt>
<dd>A number that remains unchanged on applying the Kaprekar routine on it.</dd>

</dl>


Now gotta write some CSS for displaying the definition list. I didn't like the default look.

Came across a cool site for displaying lists (especially the folder tree section). It looks good, but not what I'm looking for.

Glossary.

I feel its time to add a Glossary to my project pages.

Sunday, June 20, 2004

Coloring the ends.

Been trying to color the ends of a line (in SVG) with the minimal amount of code. I asked in the svg-developers group and the w3c svg group, but didn't have much luck in either of the places.

I cracked the problem today. All I needed to do is to use markers!!! So back to KaprekarCircle now!

Saturday, June 19, 2004

Kaprekar Site: XHTML Valid!

The Kaprekar Site is XHTML Valid now!

I was debating if I should give a link to the w3c site by adding the w3c-validate image with the link. Then thought, what the heck, I'll give it anyway. :)

Kaprekar Site: Making it XHTML Valid.

I'm nearly through with making the site xhtml valid - there are only three pages on the site that are not valid as of now.

I finally decided to remove the target attribute of the a element. A sacrifise to make the site valid.

Kaprekar Project: Original Description.

Placed the description of the project I had submitted for registering the
Kaprekar Series Generator on Sourceforge.

Color Photograph of Kaprekar.

Found a color photograph of D. R. Kaprekar on the net.

Kaprekar Site: Old html pages.

I saw some of my old html pages still turning up on search results. I wonder how long it would take for them to be purged from the google index. All the new pages are php pages and the old ones have been converted to php pages.

I had put the nofollow and noindex meta tags to the html pages; added the noarchive tag too today.

Thursday, June 17, 2004

Kaprekar 2.1b Released.

Released Version 2.1b of Kaprekar yesterday night. The main changes include removing dependency on the Ganita package (Huge and Number classes).

So now the Demonstrate process usese BigInteger - and consequently can handle numbers with any number of digits!

Also changed the algorithm a little bit to improve the performance while seaching for Kaprekar Series.

Wednesday, June 16, 2004

Bots on my site.

Have been seeing a lot of bots lurking around in my kaprekar site ... plan to add a page, mainly for my reference, of a list of bots found on my site with a description about them. Right now there are around 10-15 of them.

Saturday, June 12, 2004

Kaprekar Site: XHTML Compliance.

Slowly moving towards making the Kaprekar site xhtml valid.

The biggest culprit was the <p> tag. Out of years of habit, I hadn't closed any of them. Removing this problem reduced the number of validation errors to the minimum. Another one was the use of the < sign in the proofs without escaping it to &lt;

Right now there are only a few issues to be solved -
1. XHTML does not have a "target" attribute. I have used the target attribute in the navbar - this invalidates all my pages. Need to find if there is a non-javascript alrenative for this one. If not, will have to just delete that attribute.

2. The second problem - only on one page (release: changes) - is the use of the font tag. This one was somehow missed when I changed my site to use css. This will be an easy fix.

3. The last problem is the missing alt attribute in the img tag - again only in one page (playing with numbers), so should be easy to fix.

Wednesday, June 09, 2004

UML SVG Introduction.

More modifications to the Kaprekar site.

Added an introduction to the UML SVG documents.

Added floral white background to the pages.

Underlined links - so that its apparent that they are links.

Sunday, June 06, 2004

Print media CSS.

Modified both the Kaprekar and Matra web sites. Added a separate CSS for the print media. Now the navbar and ads won't print - which you fire a printout - so only the content will be printed.

Added Google search and ads on the site.

Thursday, June 03, 2004

Kaprekar 2.0b Released.

Released version 2.0b of Kaprekar Series Generator.

The main changes in this release includes addition of a Gui interface to the application and processing of hexadecimal numbers. Other changes include a few minor bug-fixes and changes to the algorithm.