Showing posts with label Techkriti. Show all posts
Showing posts with label Techkriti. Show all posts

Tuesday, June 17, 2008

AutotuA Weekly Status Report - I (and more ;)

Yes, I am alive and kicking. Although at a much slower pace than I would've liked ;)

So I sent my first weekly report over yesterday, you can either read the (excessively long and probably boring and or confusing) weekly report or you can, well, do something else :P

And guess what, next time onwards, all you have to do is checkout the AutotuA news page or subscribe to the "gsoc" label on this blog to stalk me.

Oh, right, this will also probably be my first post on the FLOSS India Planet!

Hello everyone!~ I'm Nirbheek Chauhan (also called as "slacker #1" by some). I was one of the co-ordinators of this tiny little event in IIT Kanpur's tech-festival Techkriti.

You might have heard about it and maybe seen the awesome speakers (and posters ;) of the event.

You've probably had the pleasure of conversing with the mastermind behind the whole event.

And maybe, just maybe, you've heard about "FOSSKriti" :D

PS: We'll (hopefully) be back next year, so this is shameless advance publicity ;p

Tuesday, March 4, 2008

wth?

Gosh, it's been a month since I last blogged, and that too while this has been a very blogpost-philic month. FOSSKriti started and got over, freed.in was attended and praised for high-quality talks while the Indian FOSS community was boo-ed for low attendance at the same. FOSDEM came and went, and left several hundred hangovers in Europe.

I became aware of LinuxChix's Indian Chapter, was delighted to know about it, and decided to become a part of the community, and spread the word :)
I also became painfully aware of how much damage a vocal minority can do to a community that's starting up. I constantly winced during the flamewars on the Gentoo mailing lists during it's "Great Fall", as some have come to call it (though I disagree with them). Seeing the same munitions being deployed on the LC-IN ML gives me a depressing premonition of disaster.

The GDM 2.22 rewrite wasn't finished in time for inclusion in GNOME 2.22 (Hard Code Freeze), but gvfs managed to port more stuff and also get a "working" ftp backend, removing another bug from the 2.22 blocker bugs list.

The Xorg people were shouted at for not taking care of hald/dbus restarts, and patches were committed to fix the issue.

Gentoo Trustees were elected, and the results were expected and hilarious at the same time :-)
GSoC '08 was announced, and applications were invited from the various Open Source projects.
Diego 'Flameeyes' Pettenò framed his (and coincidentally my) thoughts about devs participating in GSoC (better than I could have) in a mail to the ML.

Beagle is still pondering about GSoC -- let's see how that turns out :)

*bheekling realises that the above paras are probably missing stuff, are somewhat anachronistic, terse, overflowing with links, and lacking continuity, but he believes that a jumbled-up link-eyebleed post is better than a forever procrastinated one :P

Wednesday, January 30, 2008

Fossकृति!

See that logo on the right at the bottom of the side-bar?



You don't? Scroll down a bit.



Arey, the one that's Black and Orange, (was made by me =), and looks like this:


FOSSKriti


Yep, that's right, we're having FOSSKriti at Techkriti '08 (IITK's Tech festival) from 13th to 17th Feb.

We're going to have Talks, HackFests, BoFs, Workshops, and goodies. If you're going to Techkriti, be sure to drop by.

It's the first time it's being held, so it'll certainly be an interesting event - especially with the Beagle/dashboard Hackfest Arun and I plan to organise ;)


Planning on having loads of fun that weekend,

~bheekling :^)

Monday, January 21, 2008

TesseracT and the Techkriti T-Shirt

Well, it got over a few days back, and now I can relax... Oh crap, exams this week >_<

Anyway, here's a limerick, and if you can solve it (and you weren't playing TesseracT), you're allowed to.. bah.

A firefox extension, a fountain of memes,
the abode of randomness, and pervy dreams.
'twas hacked, and a movie made,
people were banned, and anons hailed.
Copies exist, but the original's the same,
all that's posted is completely insane!

On a somewhat-related note, people from my college are going insane on a google doc, frantically brainstorming on quotes for the Techkriti T-Shirt =)

Some samples (mostly original):

"They googled geek... and found me."

Front: "Resistance is futile."
Back: "(when < 1 Ohm)"

(all bloody and gory) "We fragged the punchline"

"In case of Big Crunch, follow me"

"I have a fractional Erdos number. And I don't know what that means."

Two T-Shirts:
1. Front: "Theoretician," Back: "Warning: Experiments may fail with me around."
2. Front: "Experimentalist," Back: "Warning: Proofs may develop fallacies with me around."

"Made entirely from recycled atoms"

"Don't be a Carnot Follower, believe in 100% efficiency"

"Watt is the unit of power?"

"Rome was created in 7 days; We create tomorrow in 4" (Techkriti goes on for 4 days)

"Absolute zero is cool"

"Heisenberg: Schrödinger's Cat is Dead. No, wait. Schrödinger's Cat is Not Dead. No, wait..."

"Art is 'I'; science is 'we'"

"I am all that is left of a witty quote."

"%s/God/Me"

"A Physicist is someone who averages the first 3 terms of a divergent series"

"This quote was generated by a program"


And, towards the end, a meta quote/haiku ;)

Hundreds of quotes,
On a google doc,
The haiku made it. ~Nirbheek

And then more quotes :P

"Heisenberg rules - probably"

"Haven't Lost My Mind; It's Backed Up on a Disk Somewhere"

However, it's been hours, and they still haven't decided on a final yet. I guess that's relegated to the next blog post then ;)

Thursday, November 8, 2007

The previous 48 hours

Were eventful to say the least :)
Started off with an emergency puzzle-website-making spree by us on orders from our great Techkriti team. Our work was to design the website and think up puzzles for its content. In 24 hours. :P
This was for the online event TesseracT for which I was supposedly one of the three coordinators (the other two were Utkarsh and Teja). We three sat throughout the night, got questions, made the website, and then went to our normal day-routine without sleep. We thought we'd just finish up some of the stuff left and launch the website at night - pretty much everything was ready.
I asked the students' server admin Naresh to install mod_perl on the server in the afternoon since the submit script between the static xml+xsl pages used Perl to do the checking of the answers. He was somewhat busy, but was able to start the setting up. In the end, the website came up half an hour late due to a variety of problems (and some frantic debugging) on our side and the server side.

The real trouble started when the website did come up.
Now, here I must tell you that the students' server is the biggest piece of crap in the server room in the Computer Center. It has 500MB of.. swap and 256MB of RAM. It runs FreeBSD, and that was probably the reason why it ran at all in the hours of agony that followed.

Within minutes of the site being released, we found that the server had become excruciatingly slow. At first we thought it must be purely because of the sudden increase in hits, but we soon realised something was horribly wrong. The first culprit that came to mind was the Perl script that we were using. We checked the code and came to the conclusion that nothing could be wrong with it; all it did was a foreach over a hash with 10 entries :P Running it on another server showed us no abnormal behaviour, apache never went above 0.1% CPU.

In the meanwhile, the server had stopped responding to anything but pings, and was refusing to initiate ssh connections. And the bloody thing was locked inside a server room, so we didn't have physical access to it at all. The only guy who had an ssh connection open to the server was me, and that too out of pure chance - Praneeth (Flash, video, sound, and overall suckiness warning for the blog) (Praneeth was the other admin) had uploaded my ssh key onto the techkriti account so I could upload the TesseracT website (pure chance because the uploading would've normally been done by the webteam). Unfortunately, the user 'techkriti' was not in the wheel group, and hence could not `su -`, so the user was practically useless. The only thing I could run was `top` which showed us that the machine was out of memory :|


Naresh: are you logged into students
?
me: Yeah
no commands are working
Naresh: fine
me: they take forever to execute
hey
I have top running
it shows 1% CPU :|
Naresh: ?!
me: Yes.
CPU states: 4.0% user, 0.0% nice, 20.1% system, 0.0% interrupt, 75.9% idle
Mem: 134M Active, 27M Inact, 83M Wired, 608K Cache, 35M Buf, 656K Free
Swap: 487M Total, 483M Used, 3692K Free, 99% Inuse, 1704K In, 332K Out
memory
Naresh: fuck
me: ?
Does it have htop?
Naresh: no
out of memory right?
me: Yeah


Arun called me up after a while asking what had happened. After we discussed the situation, he suggested we try `ssh root@localhost`. That sounded like an excellent idea at that time, but for some reason, we did an `su praneeth` instead (Praneeth had come over to where I was in the meanwhile), and then did an `su -`. Mind you, both these commands took ~30 mins to run. While we were waiting for them to finish, we setup TesseracT on an internal server so that at least the campus people could play it.
Oh, and in hindsight, `ssh root@localhost` would not have worked since the machine was refusing ssh connections :)

When we finally had root access on the server, we issued an `apachectl stop`, which took ~ 1 1/2 hours to run. And when it had finished, something very strange happened; mod_perl stopped working, and the main Techkriti page came back up. This was quite a disaster actually, as hundreds of people who were waiting for next.pl to load suddenly saw the file load into their browsers, and thanks to my stupidity, saw the answers as well ~_~
Arun told me soon afterwards (as I had realised to an immense sense of stupidity when mod_perl stopped working), that I should have put the answers in a separate file. Oh well, lesson learnt for the main event (this was just the prelims with no official registration or prize money).

After this, I ran top with root and saw that stocksim (Crappy Java program, run by the Business Club people for online stock thingies) was one of the culprits - it was using >225MB of memory. The other culprit, as Praneeth theorised, was the mod_perl itself. He said he had read that the mod_perl on FreeBSD was buggy and prone to high memory usage.

We decided to kill stocksim and take our chances with the mod_perl again. As Naresh was working on the thing, something happened, and the server went down, and this time, it _really_ went down - I'm not sure what happened, but the end result was that now we could do nothing about the server.

Arun and I decided to give techkriti's IP address to the temporary server till the next morning. Arun did all the vhosts stuff and in 15 mins, techkriti.org was "back up" - it just had the following message:


Okay, our server died on us. This is a temp server.<br/>
While we restore the Techkriti website, Play <a href="tesserac>/">TesseracT</a> :)


TesseracT was back up for the world! ;)

Praneeth had been trying to restore/reinstall the old phpbb that was on the temporary server (which was our Navya server (internal link) actually ;), and had gotten tired, given up, and gone back to his room. After >32 hours of staying awake, I was in no mood to finish his work. All three of us lumbered back to our respective rooms from the CSE deptt at ~3am.

We did, however, have enough energy to take a 60 second exposure picture of a flowering tree behind the CC on the way back ^_^



We found this photo to be such a beauty in the midst of our sullen tiredness, that we decided to make this the last page in the puzzle - which I did right after I got back to my room :)

As things stand now, the students' server is back up, and mod_perl is off on the server. So TesseracT is down for everyone outside IITK. People inside IITK can still play it at http://navya.junta.iitk.ac.in/tesseract .

On a different note, I read this here


The decision to use Tracker by default in Ubuntu rather than the similar Beagle indexing system is somewhat controversial. Beagle can index more content and provides a more functional search tool with features like date sorting. Beagle is already included in popular Linux distributions like OpenSUSE and has been tested more extensively.


I've been wondering for the past few months if this was the result of Tracker fanboyism, Mono-hatred, or Ubuntu's experimentalism.

Update: Pics! :)

Update 2: Utkarsh's flashback on the thing; mostly stuff that I didn't write in detail about above.

PS: New Navya Server = 2 Dual-Core AMD Opteron 2.4GHz Processors, 8GB RAM, 500GB SATA hdd.
Speed = Compiling MySQL (gentoo) takes 6 mins (compared to 25mins on my Pentium M, 1GB laptop).