If you look carefully, you'll see a "Store Closing" banner on the left, and a "New Styles Arriving" banner on the right. They're the same store, mind you!![]()
Steve and Barry's closing out
Posted by Srichand Pendyala Monday, October 20, 2008 at 11:34 AM
0 comments Labels: houghton, travel, weird
Java and Scientific Computing
Posted by Srichand Pendyala Thursday, October 09, 2008 at 5:01 AM
Lately, I've been using Java for something I never imagined I would: Running time bound simulations and collecting statistics. This started from an Advanced AI homework, which required us to evaluate different strategies for solving the 8 Puzzle.
Depth First and Breadth First search -- the most brute force of them all -- are real processor hogs. They take a good amount of time to get through solutions. I set up my simulations to try 8 puzzle combinations in groups. Each group had members which were an equal number of moves away from the solution. I'll call this the "distance" of a group from the solution. I started looking at groups with distances 1 through 10. The idea was to see how depth first search scaled with distance, while using multiple boards to average out the time (since boards were randomly generated). The simulation started out fine, but somewhere half way through, Java ran out of heap space causing me to lose half an hour worth of simulations. Terrific. So I fixed the heap space with a JVM switch to allocate 768 M. This time, Java didn't seem to die on space, but for some reason, started halting randomly. Here's a section of the simulation output. The first column is the distance of the board and the second is the run time in microseconds.
4 4.265305
4 0.399163
4 8058.812957
4 0.495941
4 4.762955
Now, the simulation is set up, to repeat a given run 5 times, to average out run times. So, the same board configuration is run 5 times for a given algorithm. The numbers above are the run times of the same algorithm on the same damn board! What gives!? A 4 microsecond difference is probably justifiable, but a full 8000 microseconds?
Now, I'm not sure if Java / the JVM is entirely to blame for such random spikes. In order to validate that, I'd have to rewrite this simulation in C++ and post similar numbers. Somehow, I doubt that the deviation in run times will not be this high. As of now, I'm treating this as an open problem. I'm certainly not assigning blame to Java, but its definitely complicit!
More to come.
[And no, there were no other CPU hogging processes running on the box at simulation run time. Certainly none that would cause such spikes.]
0 comments Labels: java, simulation, sucks
Are you a wanna-be Buffet?
Posted by Srichand Pendyala Monday, October 06, 2008 at 4:05 PM
Buy low, Sell high.
a.k.a Buy now.
2 comments Labels: investing, opinion
Cubaholics Anonymous
Posted by Srichand Pendyala Monday, September 22, 2008 at 4:41 PM
Lately, I've been involved with a 3 dimensional species of puzzle that involves moving square shaped tiles around. Also known in technical parlance as "The Rubik's Cube". Up, down, right, away and right inverse goes my head. My fingers accordingly flex, extend, adduct, abduct and rarely circumduct (If you didn't understand those terms, go look up a kinesiology book (no I'm not a kinesiology major (and no, I do not like Lisp))). Such motion is usually accompanied by the creaking sounds of my aging cube.
Recently however, said creaking sounds have been replaced by their more intellectually acoustic cousins, called "speech".
"Hey, look at that guy. Think he's he okay?"
"You think he's gesturing at me?"
"Oh gosh, the poor fellow must be suffering from one of those diseases I heard about on TV!"
"You keep doing that son and next time, even if you have a cube with you, I'll give you a ticket." [1]
Yes, I am now a victim of Imaginary Cubesolveritis. To cut a long story short, if my fingers aren't already solving a cube, scribbling equations on a sheet of paper, typing away at a keyboard or stuffing food down my throat, then they're restlessly trying to solve an imaginary cube.
Its almost as though the urge to twist and turn faces and slices in a cube, is a wholly natural and evolutionary response to huge stacks of work lying right in front of me. The larger my pending work gets, the more I want to solve the cube. Till now, the only levee that deterred me from expending large swathes of time on the cube, was the fact that I did needed the cube to work on it.
This Saturday however, disaster struck this little home in Houghton, MI. The levee broke, releasing large amounts of solution attempts at my fingers. Who would have known? Katrina, Gustav, Ike and then ... Rubik. Tragedy I tell you, Tragedy.
... to be continued.
[1] The comment therein, is a result of a wholly unfortunate interaction between me, an imaginary cube, my car, a police officer and a stop sign (in that order) late Sunday night.
Note to self: Never take the stop sign overly seriously again. Not serious enough to wait a little more than a minute anyway.
1 comments Labels: cube, maths
Perhaps...
Posted by Srichand Pendyala Tuesday, September 16, 2008 at 11:01 PM
... I should just continue blogging here? Yes, all previous attempts of mine to work on my own blog scripts have been a terrific disaster. I hardly ever remember any of them leaving pre-alpha stages even.
Just perhaps.
Cluster for Coffee?
Posted by Srichand Pendyala Sunday, March 26, 2006 at 2:46 PM
Came across this link which explains how to build a cluster in your drawing room in minutes!
Got to try it out sometime!
6000+ page views in 20 days!
Posted by Srichand Pendyala at 3:07 AM
That's right!
My photogallery views, and bandwidth consumption have gone through the roof!
6000+ views, and nearly 1000 MB of bandwidth!
If you haven't already, then check it at http://srichand.net.in/photos !
Free from Mukthi!
Posted by Srichand Pendyala Thursday, March 23, 2006 at 11:30 AM
Finally!
Mukthi 6.03 was a grand success!
I've captured it in pictures at http://srichand.net.in/
Over 250 participants from in and around Bangalore and Mysore took part.
The overwhelming response should have finally silenced some critics...
My talk went pretty well, or so I think. I gave a very short talk (we were behind schedule by over an hour!), and gave away cds to the crowd at the end of. I asked 10 questions, and those who could answer them, got the CDs.
Its a lot of fun talking to an interactive audience!
I've also finally managed the time to throw a CMS onto my main page. Using an interesting javascript based theme with menu rollups and things for the main site now. Head over to http://srichand.net.in/ and check it out for yourself!
I've also added some resources useful for Computer Networks and UNIX system programming at the same site.
Mukthi 6.03 is finally underway!
Yesterday Swaroop's talk was a *big* hit! Bigger than anyone could have imagined!
Typing from the Hi-Tech seminar hall, even as the Manojit Majumdar from IBM, the Premium sponsors is speaking.
Atul Chitnis' talk was outstanding as usual, Biju Chacko enthralled the crowds with his knowledge of FOSS Licenses.
The crowd did start getting a bit un easy as Biju was talking, thanks to the 5th semester results, which came around at a very wrong time!
In any case, I got 66%, and passed all subjects! :D
More when I can post from here. My talk is at 3:30 PM. But will mostly get delayed by about half an hour.
Pictures come on Monday!
New website!
Posted by Srichand Pendyala Sunday, March 05, 2006 at 2:49 AM
Yay! I've finally got my new website!
Head off to http://srichand.net.in/ right away!
Just the photogallery is up right now. Next thing to put up is drupal for the main page.
Then a class scrap book.
Other apps like CodeView will come soon.
Java Web Start a breeze?
Posted by Srichand Pendyala Thursday, March 02, 2006 at 1:08 PM
I've been trying to get Java web start working on Breezy, but no dice...
srichand@krypton:~$ javaws
Java Web Start splash screen process exiting .....
Splash: sysCreateListenerSocket failed: No such file or directory
!!??
Its the DPI silly!
Posted by Srichand Pendyala Saturday, February 25, 2006 at 9:31 AM
Finally got the brochure printed. (More like, vatsa got it printed for me.)
Two major boo boos.
One glaring blunder was the fact that we got an older draft version printed, while a newer improved version lay aimlessly on NAND gates in a plastic enclosure...
The other one was, that we (I!) made it at 72 dpi, all the while not realising that print demanded at least 96 dpi!
The result: Something that we're not quite happy with.
Mood: Contemplative
Sponsorship?
Posted by Srichand Pendyala Thursday, February 23, 2006 at 9:04 AM
Mukthi 6.03 is in urgent need of sponsors! Know any company willing to sponsor Mukthi? Let me know too!
You may download the event brochure from http://srichand.net/mukthi.pdf
Mukthi 6.03
Posted by Srichand Pendyala Wednesday, February 22, 2006 at 8:53 AM
This I would guess is the first of many "official" announcements of Mukthi 6.03
We're still in very preliminary stages of planning, but trust me when I tell you its going to be *big* this time!
Slated for 17th and 18th March (tentative)
For those of you who've just joined us, Mukthi is a FOSS event aimed at students, by students.
The numbers after the name indicate the month and year. 03 for March, and 6 for 2006!
Last time's event was Mukthi 5.11.
Want to know more?
Wait a bit. ;)
Krypton Fuzz!
Posted by Srichand Pendyala Monday, February 13, 2006 at 12:10 PM

Introducing my own brand of Guitar Distortion Fuzz boxes!
The picture you see on the left is my first polished (literally) prototype of a fuzz box, and I must say, it sounds good!
Construction details are quite simple: Just put in a two level hard clipper circuit (silicon diodes are good) in the negative feedback loop of a 741 op-amp! That's it!
And when they tell you that the 741 produces very little noise, believe them!
This also marks my transition from transistor based preamps to op-amp based ones. Op-amps are so much easier to use, and have *much* lesser ambient noise!
The toughst part of it all was to cut the stainless steel box! Nails barely made a dent in it, while my hand drill couldn't even scratch it! I finally gave in, and chopped out an entire vertical section using shears (a wire cutter actually).
The metal box has two main advantages. Firstly its stable. It doesn't get thrown about too much even if you're the Kurt Cobain type. Secondly, and more importantly, it eliminates effects of interference from the surroundings.
Do we need mods?
Posted by Srichand Pendyala Wednesday, February 08, 2006 at 9:04 AM
Complain about the moderation system, and what do you know? You're a mod next!
So, is moderation good for a mailing list? In theory, its against free speech, so it can't be. But then, spamming and virus attacks leave us no choice.
So, should the solution be total and absolute moderation? Not in my opinion. I believe a more useful approach would be to allow certain trusted members, to post their messages through unmoderated. Got something to say about it? Say it!
Two decades
Posted by Srichand Pendyala Tuesday, February 07, 2006 at 1:02 PM
This is going to be one long post folks, so you may want to get your fish and chips now!
Twenty years.
Thats the time I've been around on this little planet of ours.
Thats twenty birthday parties. Twenty (at least) cakes cut. 210 candles blown (summation i=1 to 20).
Never mind that.
Utter turmoil.
That describes the past week. My return from Hyderabad was uneventful. I can't say the same for the days following that though.
Firstly my college has promised us 50% (5k in absolute amounts) of the money we asked for, towards sponsorship of our trip to Kolkata for the ACM ICPC. Which basically means, we run around for a couple of weeks, going from pillar to post, at the end of which, we hopefully get our money.
I've now officially started reading up on Data Mining. All I know of Data Mining, is that its a misnomer.
This week also marks my GRE preparation. I scored a 1200 on my diagnostic test. Which means an improvement of 300+ is in order.
Additionally, February is the FOSS month. On the 17th, Neel and her gang are holding a FOSS event at MCC. They seem to be doing this with a level of unsurpassed professionalism. If you're an FOSS enthusiast, you *want* to be there!
And while we're in the FOSS month, I'll tell you about Mukthi 6.03 thats coming up. Its tentatively planned for 25th March. Its going to be bigger and better than last time. Watch this space for more details!
And then there's our college alumni website that requires working on. The initial template designs are more or less designed. The backends are ready. We only need to glue up the whole thing and most importantly, document it all.
In addition to all this, there's my pet personal project: The LED interface board! The idea was initially to write an XMMS plugin using the parapin library, to get the LEDs to dance to the song. The board has only 3 for now. I need to buy another 5. Now, I just hope writing an XMMS plugin is easy...
Added of course, the personal turmoil that I've been through, but I'll let that pass.
College reopens 20th. Exactly two weeks from now. Nothing accomplished yet.
Live from Hyderabad!
Posted by Srichand Pendyala Sunday, January 29, 2006 at 7:48 AM
This place is *cold* ! There, I said it.
I am back at the old cyber cafe that I am used to. I introduced Firefox here a couple of years back. And guess what: All systems here now use the latest version, *exclusively* !
I haven't used a windows system in a while, so it suddenly feels very funny on this win98 box.
The newest Y! messenger I've been told so much about, is here. It doesn't seem very different. Just a lot slower and bulkier. And I just made my avatar too!
FOSS-EDU
Posted by Srichand Pendyala Saturday, January 28, 2006 at 4:06 AM
The FOSS-EDU group in Bangalore met yesterday, at Coffee Day, Cunningham road. The idea that the events have to be interactive, in some form or another, dominated the whole meet. Arky was there and shared with us some of his experience.
You can read more about the FOSS-EDU project here.
And thanks a ton to Praveen for putting in great efforts to make the whole thing happen!
I'll be leaving for hyderabad today, so the planet is going to stay stagnant till the morning of the first. At least.
FOSS month meet
Posted by Srichand Pendyala Wednesday, January 25, 2006 at 12:19 PM
A few of us working towards the FOSS month idea are meeting on Friday evening at 6 PM at Coffee Day at Cunningham road. If you're interested, contact me, or praveen or just be there!