In computing, ANSI escape codes (or escape sequences) are a method using in-band signaling to control the formatting, color, and other output options on video text terminals. To encode this formatting information, certain sequences of bytes are embedded into the text, which the terminal looks for and interprets as commands, not as character codes.
ANSI codes were introduced in the 1970s and became widespread in the minicomputer/mainframe market by the early 1980s. They were used by the nascent bulletin board system market to offer improved displays compared to earlier systems lacking cursor movement...
How fast (slow) is your language?
This is a question both to test your coding skills but also to speed benchmark your favorite language. The code snippet will make a table of the fastest code per language. It is related to previous fastest-code [challenge]1 so you may find some of the code ther...
In computing, ANSI escape codes (or escape sequences) are a method using in-band signaling to control the formatting, color, and other output options on video text terminals. To encode this formatting information, certain sequences of bytes are embedded into the text, which the terminal looks for and interprets as commands, not as character codes.
ANSI codes were introduced in the 1970s and became widespread in the minicomputer/mainframe market by the early 1980s. They were used by the nascent bulletin board system market to offer improved displays compared to earlier systems lacking cursor movement...
In computing, ANSI escape codes (or escape sequences) are a method using in-band signaling to control the formatting, color, and other output options on video text terminals. To encode this formatting information, certain sequences of bytes are embedded into the text, which the terminal looks for and interprets as commands, not as character codes.
ANSI codes were introduced in the 1970s and became widespread in the minicomputer/mainframe market by the early 1980s. They were used by the nascent bulletin board system market to offer improved displays compared to earlier systems lacking cursor movement...
ESC[A is up, ESC[B is down, ESC[C is right, ESC[D is left. Sometimes there's a 1 between the [ and the letter, could be another (larger) number if key held down for long time.
Programming Puzzles and Code Golf has graduated from beta. Soon we will get a custom site design, and with that the reputation boundaries for privileges will go up. A lot of users will lose privileges on the site. So your task is to write a program that tells us how much extra reputation we'll ne...
Meme: Graduation
Originator: Geobits
Cultural Height: Sept. 26, 2014–Feb. 23, 2016
Background: Geobits, a known and "loved" user, tried to convince people that PPCG is set to graduate during PPCG's beta. An often used date is November 1st.
@wizzwizz4 literally every reference you've seen to any particular date (October 1st, 15th, December 1st, January 1st, you name it), has been an instance of that meme.
All right the two of you combined might be able to help me decide. In the past I haven't really tried to learn more than the basics of either ecause the horror stories of their type systems was somewhat off-putting
In either one you have the type signatures like a -> b-> c which can look confusing at first, but it's simple once you understand currying and know that -> is right-associative.
@quartata I feel like with OCaml there is usually one "right" way to do something, and you don't have a lot of options. Whereas with haskell you've got more freedom...
Draw me a Brick Wall!
I'm drawing up a plan for my house extension - and I need a simple graphic for walls...
The Challenge
Your task is to create a program, which takes an input of the wall's dimensions and draws a brick wall, in the style of the one below.
[__][__][__][__]
_][__][__][__][_
...
@quartata I am sorry, but I am not here right now. Please leave a message after the tone: NULNULNULNULDELDELDELDELNULNULNULNULDELDELDELDELNULNULNULNULDELDELDELDEL
The cool stuff
The following rosace can help calculate numbers modulo 7.
In order to do that, you must start at 0 and turn clockwise a number of steps given by the first digit. Then, for each successive digit, follow the arrow and then turn clockwise the number of steps given by that digit.
He...
Meme: Graduation
Originator: Geobits
Cultural Height: Sept. 26, 2014–Feb. 23, 2016
Background: Geobits, a known and "loved" user, tried to convince people that PPCG is set to graduate during PPCG's beta. An often used date is November 1st.