Played Challenges
Wrap the text of an email message to 79 characters - 766 entries
You're replying to an email with silly long lines. Clean them up.
- Best score: 5
- Best player score: 5
- Position: #36 / 410
- Number of attempts: 2
Search and Replace 0 - 4989 entries
Replace every instance of 'aaa' with 'xaaax'.
- Best score: 12
- Best player score: 12
- Position: #100 / 1624
- Number of attempts: 4
Interweave two blocks of text - 659 entries
Suppose you've got data on a list of things from multiple sources. They're all in separate chunks, so how might you create a tabular output?
- Best score: 15
- Best player score: 17
- Position: #65 / 214
- Number of attempts: 1
Python Hello World! Reformatting - 994 entries
A novice Python using prints Hello World! and a pro shows him different way. Using vim to get into pro style from novice, win the challenge.
- Best score: 39
- Best player score: 44
- Position: #218 / 380
- Number of attempts: 1
Recursively Palindrome - 267 entries
Note that there are 2^6-1 characters.
- Best score: 21
- Best player score: 24
- Position: #34 / 75
- Number of attempts: 4
Replacing some words - 428 entries
How fast could it be?
- Best score: 17
- Best player score: 20
- Position: #50 / 151
- Number of attempts: 3
Multiplication table. - 232 entries
Create a multiplication table.
- Best score: 31
- Best player score: 52
- Position: #20 / 68
- Number of attempts: 2
Sort the cardinal numbers - 310 entries
Maybe a simple challenge.
- Best score: 12
- Best player score: 14
- Position: #70 / 148
- Number of attempts: 1
formatted text to markdown - 184 entries
You're converting some posts from an old blog to markdown. The formatted text is far closer to the finished product than the html markup, so it seems like a good place to start. Word wrapping seems to be the main area for optimization.
- Best score: 70
- Best player score: 77
- Position: #27 / 67
- Number of attempts: 2
Line Zipper - 473 entries
Zip/pair related lines.
- Best score: 12
- Best player score: 16
- Position: #95 / 215
- Number of attempts: 2
Case preserving word replacement - 454 entries
Half way through my project, my people turned into dogs. Now I have to change everything in my source.
- Best score: 19
- Best player score: 19
- Position: #7 / 180
- Number of attempts: 2
Complete the hex array data (Part II) - 166 entries
Do not use external tools(e.g. tac, seq) [My interpretation of Rule #7]
- Best score: 20
- Best player score: 22
- Position: #8 / 69
- Number of attempts: 1
imports alignment (python) - 700 entries
Align as one import per line.
- Best score: 17
- Best player score: 17
- Position: #3 / 198
- Number of attempts: 1
Rotating Philosophers Problem - 410 entries
Can you help the philosophers find a good place to sit before they get five forks and spaghetti?
- Best score: 29
- Best player score: 30
- Position: #41 / 166
- Number of attempts: 1
HTML to Haml - 878 entries
Help convert this HTML page to Haml.
- Best score: 23
- Best player score: 33
- Position: #81 / 204
- Number of attempts: 3
expand a list comprehension (python) - 333 entries
Please show your way to convert a list comprehension in python to an ordinary for-loop expression!
- Best score: 42
- Best player score: 42
- Position: #1 / 109
- Number of attempts: 9
Numbering a List - 1931 entries
Pretty simple, number the list.
- Best score: 13
- Best player score: 19
- Position: #186 / 652
- Number of attempts: 5
Java Array2List - 233 entries
Convert an java array initializer into a list.
- Best score: 67
- Best player score: 85
- Position: #24 / 87
- Number of attempts: 3
Ruby 1.9 hashes - 1244 entries
Rubyists talk about being cutting edge but how many are using 1.9 in production? Time to convert those verbose 1.8 hashes in to symbolic, succinct 1.9 beauties!
- Best score: 12
- Best player score: 12
- Position: #15 / 406
- Number of attempts: 7
Shebangs for all - 1999 entries
We've all seen or used a shebang once or twice. Ditch the specific paths and leave just a dynamic Ruby and Python bath behind.
- Best score: 11
- Best player score: 12
- Position: #102 / 516
- Number of attempts: 6
82 bottles of beer on the wall - 313 entries
Take them down. (sorry, only 82 bottles because the problem size is limited!)
- Best score: 106
- Best player score: 133
- Position: #86 / 146
- Number of attempts: 1
Table Reshuffle - 429 entries
Fix the column order in this table... also append the new 'username' column.
- Best score: 22
- Best player score: 29
- Position: #59 / 139
- Number of attempts: 3
Letters are numbers - 167 entries
Letters and numbers are interchangeable. A lot of programming languages give you simple ways to convert individual letters to hex, binary and decimal but does Vim?
- Best score: 20
- Best player score: 26
- Position: #24 / 76
- Number of attempts: 3
Another Mixed-Up Haiku - 265 entries
VimGolf ... a perfect evening?
- Best score: 21
- Best player score: 28
- Position: #65 / 90
- Number of attempts: 1
Ruby 1.9 compat - 629 entries
Remember when Ruby supported `when <expr> :`? Well, it doesn't in 1.9, so let's make sure we use `then`, without ruining our lovely new hash syntax!
- Best score: 14
- Best player score: 14
- Position: #16 / 234
- Number of attempts: 2
Increment, increment, increment.... - 688 entries
Vim likes macros
- Best score: 10
- Best player score: 12
- Position: #181 / 408
- Number of attempts: 1
The Cake is a Lie - 1346 entries
Correct the capitalization of each word
- Best score: 9
- Best player score: 9
- Position: #84 / 527
- Number of attempts: 4
Context insensitive completion 0 - 577 entries
Buried in the lines you're not supposed to add is the line "Add this line!" Add that line to the top of the file.
- Best score: 6
- Best player score: 7
- Position: #40 / 246
- Number of attempts: 4
Compile C - 430 entries
You might have to get clever to do this one.
- Best score: 19
- Best player score: 21
- Position: #43 / 141
- Number of attempts: 1
Context Insensitive completion 1 - 498 entries
Finish writing this simple Python HTTP server.
- Best score: 18
- Best player score: 19
- Position: #174 / 245
- Number of attempts: 1
Make Fancy Header - 1052 entries
Make the header text stand out with surrounding asterisks
- Best score: 15
- Best player score: 16
- Position: #34 / 344
- Number of attempts: 4
Reformat some Python - 609 entries
Fix some very bizarrely laid-out code.
- Best score: 34
- Best player score: 39
- Position: #81 / 236
- Number of attempts: 4
Reformat a C golf submission - 604 entries
Take this C golf submission (for the "tiny but standards-compliant Hello World program" category, naturally), and turn it into formatted C code.
- Best score: 22
- Best player score: 32
- Position: #110 / 208
- Number of attempts: 3
PEP8 Python Wrapping Comments and Code - 210 entries
According to PEP8, long flowy text and code should have different max line lengths. Code: 79 characters max Long flowy text: 72 characters max
- Best score: 21
- Best player score: 26
- Position: #20 / 67
- Number of attempts: 3
Reformat most common surnames - 717 entries
Reformat copy-pasted table into a list of the most common surnames
- Best score: 23
- Best player score: 35
- Position: #142 / 210
- Number of attempts: 1
Change the content of a string - 1580 entries
This docstring is a complete lie. Fix it.
- Best score: 22
- Best player score: 22
- Position: #40 / 588
- Number of attempts: 3
Deleting folded text - 360 entries
The text below contains three folds. Delete them (and the text inside them). For example: 123 456 /*{{{*/ 789 /*}}}*/ 012 Should become: 123 012 Also, add `aoeuaoeu` to make sure small solutions don't get flagged as cheating.
- Best score: 17
- Best player score: 21
- Position: #70 / 117
- Number of attempts: 1
Sort and add attributes - 1451 entries
Sort the states and add the attribute country to each record.
- Best score: 33
- Best player score: 33
- Position: #53 / 563
- Number of attempts: 2
Braces or Brackets? - 1015 entries
Someone forgot whether to use braces or brackets and you have to clean up their code!
- Best score: 34
- Best player score: 43
- Position: #132 / 315
- Number of attempts: 2
Flodder-challenge - 1262 entries
Replace the text the most efficient and win!
- Best score: 27
- Best player score: 37
- Position: #189 / 335
- Number of attempts: 3
xhtmlforum
Twitter: @xhtmlforum
XHTMLforum - german (X)HTML / CSS community