Truth, Computing and Fail

  • Home
  • About

Loki: my attempt at creating an online judge

anomit | July 5, 2009

This would be my first major open source contribution out in the wild. If you don’t know what an online judge means here, consider paying a visit to SPOJ or UVa Online Judge to get an idea.

I wrote a mammoth README file that covers all the issues and features of this system and won’t waste much space here copying the same thing. It’s hosted at github (Rohit, happy now? ;) ). Head over to the main tree of the project.. Right now the source needs ugly hackery to get it running on another computer but I promise to correct that in the next few releases. Till then I believe the README you will help you out.

Oh, the code is licensed GPLv2 by the way. But you already knew it, didn’t you? :P

Categories
Coding, GNU/Linux
Tags
c, linux, loki, signals, system calls
Comments rss
Comments rss
Trackback
Trackback

« Moving to Google Code Proof of suckage, early 2008 »

6 responses

I installed Smarty ... then I tried to run index.php

Kartik | July 5, 2009

I installed Smarty … then I tried to run index.php in the judge directory but only “Hello, ! ” came up .
What did I miss ??

You missed something from the README. I've included the only

anomit | July 5, 2009

You missed something from the README.

I’ve included the only template file used so far now, index.tpl with the code.
…..
To change the path where you have installed Smarty look in the config.php file.

You are following just what they said in the installation guide on the Smarty website. Obviously it’ll produce what they wanted to show you, a hello world message :)

So change the Smarty paths in config.php and put index.tpl from the source in your Smarty templates directory.

I have already done all this ... I copied the

Kartik | July 6, 2009

I have already done all this …
I copied the template file to my smart directory , edited the paths and changed the mysql parameters too..
I will recheck the installation of smarty then..

Maybe you are accessing the wrong document from localhost? For

anomit | July 6, 2009

Maybe you are accessing the wrong document from localhost? For eg if the document root is /var/www and the source is at /var/www/judge, then you have to access http://localhost/judge

OT: Your blogroll is very outdated. One blog doesn't even

Aditya Mukherjee | July 27, 2009

OT: Your blogroll is very outdated. One blog doesn’t even exist anymore :|

Aditya, fixed and updated :P

anomit | September 2, 2009

Aditya, fixed and updated :P

Leave a comment

You can use these tags : <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

What’s in

  • Symlinks in a libfs virtual file system: The Pains
  • Small rant on the FUSE API reference
  • Kernel module debugging: a simple technique
  • Vim/Cscope quickie
  • PyCon India or Code Jam?

Blogroll

  • Akshay Kothari
  • Ankur Shrivastav (OS)
  • Ankur Sinha
  • Harsh J
  • Hullap
  • LUG manipal
  • Swap

Tags

aircrack airfail airtel assembly blues build c Coding college country cryptography dean faculty file systems fuckery gnuplot hacking India kernel linux mangalore manipal mpd music NASM plugin plugins politicians pub culture python rant rock sam scheduler simulation SSFNet stupidity supernatural suppression syscall syscalls unix vim xchat xml

Archives

  • January 2010
  • December 2009
  • November 2009
  • October 2009
  • September 2009
  • July 2009
  • June 2009
  • May 2009
  • April 2009
  • March 2009
  • January 2009
  • November 2008
  • September 2008
  • August 2008
  • July 2008
  • June 2008
  • May 2008
  • April 2008
  • March 2008
  • February 2008
  • January 2008
  • October 2007
  • September 2007
  • July 2007
  • June 2007
  • May 2007
  • April 2007
  • March 2007

License

Creative Commons License
This work by Anomit Ghosh is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 2.5 India License.
rss Comments rss valid xhtml 1.1 design by jide powered by Wordpress get firefox