Tagged Questions
7
votes
3answers
218 views
Advanced Code Golf - Disk Operations, and File Allocation
Good Afternoon Golfgeneers.
This is reasonably long and detailed question. Given what it was asking, it needed to be. If you have any questions, please ask them. If there is anything that isn't ...
2
votes
3answers
408 views
Calculating Resistance (Nerd Sniping)
Good Afternoon Golfers,
Our challenge for today is inspired by XKCD comics 356 and 370. We're going to write a program to calculate the resistance of a group of resistors. A forewarning that this is ...
5
votes
2answers
325 views
Drawing 3d nets - Archimedean solids
I have a weakness for 3d nets which when cut out and folded allow you to make 3d shapes out of paper or card. The task is simple, written the shortest program you can that draws nets for the 13 ...
7
votes
4answers
695 views
Breakout in half an hour
When I was a young teen I had a very boastful friend who claimed he could code up breakout (http://en.wikipedia.org/wiki/Breakout_(video_game)) in half an hour. Half an hour later he had done a great ...
3
votes
1answer
345 views
Code Golf: Make a Web Crawler
A Web Crawler is a program that starts with a small list of websites and gets the source code for all of them. It then finds all the links in those source codes, gets the website it links to then puts ...
1
vote
0answers
185 views
Build an Authenticating SMTP Client
The basic parts of SMTP can be implemented in surprising little code. I was able to build an example SMTP client that works with Gmail and Amazon SES in about 320 characters using PHP.
Your task is ...
24
votes
9answers
2k views
Advanced Code Golf - Write a small HTTP server
Your challenge is to write a code-golf HTTP server that accepts GET requests. It obviously doesn't have to be fully featured, but it must serve files from a directory.
Rules:
The HTTP server must ...
10
votes
4answers
891 views
Self-Interpreting Interpreter
Based on a comment by George Edison to this question, write the smallest self-interpreting interpreter.
You may use the language of your choosing.
Empty languages do not count. Your program must be ...
4
votes
1answer
353 views
Shortest path in a graph
Write a program to take a graph (from either standard input or a file, your choice) and find a shortest path in the graph.
Graphs are specified using the following format:
A---S F--T
| / \ |
| / ...