Shriphani Palakodety

In Pursuit Of Truth and Beauty

Shriphani Palakodety header image 4

Entries Tagged as 'python'

Post’s Machine Emulator

January 17th, 2009 · 2 Comments · Computer Science, Mathematics, python

I was bored as usual and since Combat Arms has begun to slip in my list of pastimes, I decided to write a Post’s Machine Emulator as described in the booklet by V. A. Uspensky titled “Post’s Machine” ( Amazon Link This machine has a tape (infinitely long) and the reel has cells which can [...]

[Read more →]

Tags:

RPN Calculator – Keeping Boredom Away

January 14th, 2009 · 17 Comments · Daily life, Mathematics, python

Alright, those who know me well are bound to ask, 19 credit hours and you are bored? Answer: Yes. It is still the first week and we don’t seem to have gotten beyond the “introduce your loser self to the other non-interested members of the class” and since I have only 1 programming intensive course [...]

[Read more →]

Tags:

Boyer – Moore String Search (Good Suffix Shift)

December 7th, 2008 · 1 Comment · Computer Science, python

The next string search algorithm I am going to cover seems pretty cool since the match is made in a reverse fashion. We check if the last character in the keyword equals some character in the text and decrease from that point on.As a result, a mismatch is detected extremely fast and this is also [...]

[Read more →]

Tags:

Knuth Morris Pratt String Searching

December 6th, 2008 · No Comments · Computer Science, python

I found some free time in the midst of extensive preparations ( for the end of semester examinations, I managed to salvage some time to write some Python code (I’ve written so much Java that Python now equals a rub on the temples). Search: A parallel comparision is made on the text to be searched [...]

[Read more →]

Tags:

Life Update

December 1st, 2008 · No Comments · College, Computer Science, Daily life, python

So, I am now trying to while away time in this totally freaking awesome thanksgiving break when its just too hard to find vegetarian food (I don’t know why people are hell bent on making life difficult for vegetarians, aren’t plants easier to grow than animals?), or people in this dorm. Well, here is a [...]

[Read more →]

Tags:

Curious Fractions

November 14th, 2008 · 7 Comments · Mathematics, python

While suffering from conjuctivitis, fever, a sore throat and what seems to be a case of swollen tonsils determined to make nutrition a pain for the next week or two, I decided to solve a problem on Project Euler. The question I picked was Problem 33: Find all fractions with the given unorthodox cancelling method [...]

[Read more →]

Tags:

Awesome Developments

October 30th, 2008 · No Comments · Computer Science, Mathematics, python

So, I’ve had the best week of my life and let me tell you folks, nothing’s better than sitting in front of one of the most awesome boxes in the world – the macbook pro. Yes, the alpha and the omega is here, I am now the proud owner of a macbook pro (not the [...]

[Read more →]

Tags:

Suffix Trees

October 19th, 2008 · 4 Comments · College, Computer Science, Daily life, python

Since I was quite bored this week (thanks to an October break I spent entirely in my room) and a homework assignment that quite seriously sucked balls, I decided to read something about strings and read about Suffix trees and decided to whip up an algorithm that would create a neat suffix tree by walking [...]

[Read more →]

Tags:

Desitech – A blog on technologies relevant to Indians

October 10th, 2008 · No Comments · python

So, I came across this blog called desitech which covers technologies that would aid Indians as they lead their lives. The blog speaks about interesting startups, events, personalities and so on. As per the site, we can soon see Indian monuments in 3D courtesy Microsoft Research’s “Digital Heritage” project. Or how about that post on [...]

[Read more →]

Tags:

Essay Time!

September 26th, 2008 · 2 Comments · Computer Science, python

So, after a ghastly essay season in fall 2007 where I managed to get myself rejected from a bunch of colleges, I find myself in a similar situation again. This time, its Google/MS to whom I should be bragging without seeming like I’m bragging. Although these two have assumed that freshmen are losers, I plan [...]

[Read more →]

Tags: