Skip to content

Instantly share code, notes, and snippets.

@Overbryd
Created June 16, 2011 17:08
Show Gist options
  • Save Overbryd/1029706 to your computer and use it in GitHub Desktop.
Save Overbryd/1029706 to your computer and use it in GitHub Desktop.
Code Challenge #2

Code Challenge #2

A new challenge is on. This time @rtacconi had the idea:

"Idea:

Create a simple persistent key/value storage capable of SET, GET and DELETE actions.
It is forbidden to use Redis, MongoDB, or other ready made key/value solutions,
only storage to file, databases, serialization... are allowed

The UI should be the CLI, not web this time... just for a change."

To join the battle do the following:

  1. Check the briefing

  2. Accept the challenge by commenting on this gist with an upfront estimate.

  3. When working on the implementation always have an time tracker running. This is for your your own good, as the better you can estimate yourself the better it is. It only works if your honest with yourself and track the exact working time from start to finish.

  4. When you're done, send an link to the publicly available project of yours. You don't have to open the source before the deadline ends.

  5. Open source everything and look at other solutions, compare, enjoy!

The Deadline for submissions is the 23rd of July

If you have any questions, don't hesitate to ask @Overbryd. I may moderate comments on this gist so that it stays readable.

I wish you a lot of fun :)

The goal of these challenges

It is not about who's the fastest scripter on the internet. It is more about code quality, choice of weapons and estimation skills. I understand these challenges as a fun way to improving my self estimation skills.

Previous challenge

@jamesu
Copy link

jamesu commented Jun 26, 2011

@radiospiel basically its just a way for multiple people to watch the same youtube video in sync (a prime example of this being synchtube).

My version so far if you were wondering: http://stuff.cuppadev.co.uk/testtube.jpg

@radiospiel
Copy link

@jamesu: I see. Is this synched only on the start or during watching the video too? (I.e. one person fastforwards the video and it gets fast forwarded for all viewers?)

@jamesu
Copy link

jamesu commented Jun 27, 2011

@radiospiel its basically updated about every 2 seconds, so the video stays in sync between all currently connected clients via the power of websockets.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment