Played Challenges
Wrap the text of an email message to 79 characters - 679 entries
You're replying to an email with silly long lines. Clean them up.
- Best score: 5
- Best player score: 5
- Position: #36 / 386
- Number of attempts: 2
Search and Replace 0 - 4790 entries
Replace every instance of 'aaa' with 'xaaax'.
- Best score: 12
- Best player score: 12
- Position: #100 / 1585
- Number of attempts: 4
Interweave two blocks of text - 631 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: #62 / 211
- Number of attempts: 1
Python Hello World! Reformatting - 938 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: #209 / 364
- Number of attempts: 1
Recursively Palindrome - 239 entries
Note that there are 2^6-1 characters.
- Best score: 21
- Best player score: 24
- Position: #32 / 73
- Number of attempts: 4
Replacing some words - 419 entries
How fast could it be?
- Best score: 17
- Best player score: 20
- Position: #49 / 148
- Number of attempts: 3
Multiplication table. - 205 entries
Create a multiplication table.
- Best score: 31
- Best player score: 52
- Position: #18 / 63
- Number of attempts: 2
Sort the cardinal numbers - 293 entries
Maybe a simple challenge.
- Best score: 12
- Best player score: 14
- Position: #68 / 146
- Number of attempts: 1
formatted text to markdown - 183 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: #26 / 66
- Number of attempts: 2
Line Zipper - 450 entries
Zip/pair related lines.
- Best score: 12
- Best player score: 16
- Position: #91 / 210
- Number of attempts: 2
Case preserving word replacement - 453 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 / 179
- Number of attempts: 2
Complete the hex array data (Part II) - 156 entries
Do not use external tools(e.g. tac, seq) [My interpretation of Rule #7]
- Best score: 20
- Best player score: 22
- Position: #7 / 67
- Number of attempts: 1
imports alignment (python) - 661 entries
Align as one import per line.
- Best score: 17
- Best player score: 17
- Position: #3 / 194
- Number of attempts: 1
Rotating Philosophers Problem - 390 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: #39 / 163
- Number of attempts: 1
HTML to Haml - 842 entries
Help convert this HTML page to Haml.
- Best score: 23
- Best player score: 33
- Position: #79 / 202
- Number of attempts: 3
expand a list comprehension (python) - 301 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 / 106
- Number of attempts: 9
Numbering a List - 1859 entries
Pretty simple, number the list.
- Best score: 13
- Best player score: 19
- Position: #178 / 639
- Number of attempts: 5
Java Array2List - 225 entries
Convert an java array initializer into a list.
- Best score: 67
- Best player score: 85
- Position: #23 / 83
- Number of attempts: 3
Ruby 1.9 hashes - 1221 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 / 401
- Number of attempts: 7
Shebangs for all - 1912 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: #98 / 500
- Number of attempts: 6
82 bottles of beer on the wall - 303 entries
Take them down. (sorry, only 82 bottles because the problem size is limited!)
- Best score: 106
- Best player score: 133
- Position: #83 / 141
- Number of attempts: 1
Table Reshuffle - 371 entries
Fix the column order in this table... also append the new 'username' column.
- Best score: 22
- Best player score: 29
- Position: #56 / 134
- Number of attempts: 3
Letters are numbers - 150 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: #22 / 73
- Number of attempts: 3
Another Mixed-Up Haiku - 237 entries
VimGolf ... a perfect evening?
- Best score: 21
- Best player score: 28
- Position: #62 / 85
- Number of attempts: 1
Ruby 1.9 compat - 610 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 / 230
- Number of attempts: 2
Increment, increment, increment.... - 662 entries
Vim likes macros
- Best score: 10
- Best player score: 12
- Position: #175 / 401
- Number of attempts: 1
The Cake is a Lie - 1286 entries
Correct the capitalization of each word
- Best score: 9
- Best player score: 9
- Position: #84 / 512
- Number of attempts: 4
Context insensitive completion 0 - 507 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: #38 / 232
- Number of attempts: 4
Compile C - 365 entries
You might have to get clever to do this one.
- Best score: 19
- Best player score: 21
- Position: #38 / 132
- Number of attempts: 1
Context Insensitive completion 1 - 459 entries
Finish writing this simple Python HTTP server.
- Best score: 18
- Best player score: 19
- Position: #163 / 232
- Number of attempts: 1
Make Fancy Header - 1014 entries
Make the header text stand out with surrounding asterisks
- Best score: 16
- Best player score: 16
- Position: #32 / 338
- Number of attempts: 4
Reformat some Python - 579 entries
Fix some very bizarrely laid-out code.
- Best score: 34
- Best player score: 39
- Position: #78 / 229
- Number of attempts: 4
Reformat a C golf submission - 556 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: #103 / 200
- Number of attempts: 3
PEP8 Python Wrapping Comments and Code - 187 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: 23
- Best player score: 26
- Position: #17 / 64
- Number of attempts: 3
Reformat most common surnames - 647 entries
Reformat copy-pasted table into a list of the most common surnames
- Best score: 23
- Best player score: 35
- Position: #134 / 198
- Number of attempts: 1
Change the content of a string - 1475 entries
This docstring is a complete lie. Fix it.
- Best score: 22
- Best player score: 22
- Position: #40 / 557
- Number of attempts: 3
Deleting folded text - 341 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: #67 / 113
- Number of attempts: 1
Sort and add attributes - 1327 entries
Sort the states and add the attribute country to each record.
- Best score: 33
- Best player score: 33
- Position: #53 / 529
- Number of attempts: 2
Braces or Brackets? - 884 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: #121 / 288
- Number of attempts: 2
Flodder-challenge - 1117 entries
Replace the text the most efficient and win!
- Best score: 27
- Best player score: 37
- Position: #177 / 311
- Number of attempts: 3
xhtmlforum
Twitter: @xhtmlforum
XHTMLforum - german (X)HTML / CSS community