Linked Questions

69 votes
43 answers

Tips for golfing in Bash

What general tips do you have for golfing in Bash? I'm looking for ideas that can be applied to code golf problems in general that are at least somewhat specific to Bash (e.g. "remove comments" is not ...
manatwork's user avatar
  • 20.2k
71 votes
38 answers

Enlarge ASCII art

In this challenge, you must take multiline ASCII art as input, such as: ...
Doorknob's user avatar
  • 71.5k
54 votes
31 answers

Create a memory leak, without any fork bombs [closed]

Your task is to create a memory leak. This is a program that uses loads of memory, until the computer runs out and has to do some swapping to save itself from running out. The only way that the memory ...
George's user avatar
  • 1,367
33 votes
30 answers

Ah, why is there a bug in my program?

This challenge is inspired by @LuisMendo's MATL answer to my "binary multiples" challenge. Task Pick a code-golf challenge that is open and that has been posted before this one; let me call it the "...
RGS's user avatar
  • 14.1k
25 votes
35 answers

Write an interpreter for *

The task is simple. Write an interpreter for the language *. Here's a bigger link to the wiki. There are only three valid * programs: * Prints "Hello World" <...
TheOnlyMrCat's user avatar
  • 1,349
37 votes
13 answers

Print, Increment, Decrement, Alias - Interpret Prindeal

Prindeal (pronounced prin-dee-al) is a new esoteric programming language that only has four commands: print, increment, decrement, and alias. Despite its minimalism, complex mathematical operations ...
Calvin's Hobbies's user avatar
18 votes
17 answers

PPCG Jeopardy: Robbers

How well do you know the site? Let's find out. This is a cops-and-robbers challenge. Cop's thread. As a robber, you need to: Find a non-deleted, non-closed challenge that matches a cop's ...
Nathan Merrill's user avatar
11 votes
18 answers

Shortest Code that creates a Deadlock

Write the shortest code to create a deadlock. Code execution must halt, so this doesn't work: ...
Justin's user avatar
  • 21.2k
21 votes
11 answers

Write an interpreter for my esoteric language Jumper

I have thought up esoteric language Jumper. Later you will see why. It operates with random-access-memory with bytes as cells. RAM is zero indexed and initially filled with zeros. When trying access ...
Somnium's user avatar
  • 2,669

15 30 50 per page