23 votes

Bake me some moji

bash, 14 bytes iconv -fCP1252 Try it online!
Doorknob's user avatar
  • 71.5k
20 votes

Bake me some moji

Java 8, 72 66 36 25 bytes s->new String(s,"cp1252") Try it online. ...
Kevin Cruijssen's user avatar
18 votes

Store eight bits on a punched card

JavaScript (ES6),  103  100 bytes See also my other answer for less bitwise operations, more maths, and a closed-form expression Both functions expect and return an integer. 8-bit → 12-bit ( 56  53 ...
Arnauld's user avatar
  • 192k
17 votes

Professor at MIT can read minds!

JavaScript (ES6), 130 102 bytes Takes input as an array of strings in "Rs" format, where R is the rank and s is the suit. Expects "T" for 10's. ...
Arnauld's user avatar
  • 192k
16 votes

Decode Polybus Square/Tap Code/Prison Code

Python 2,  40  39 bytes -1 thanks to kops! (Multiply before integer division) lambda a:[chr(r*16/3+c+59)for r,c in a] An unnamed function accepting an iterable of ...
Jonathan Allan's user avatar
15 votes

Professor at MIT can read minds!

Python 2, 143 140 138 136 127 125 124 123 121 bytes ...
TFeld's user avatar
  • 19.8k
13 votes
Accepted

Bracket Expansion!

Gema, 17 characters [#]?=@repeat{?;#} Sample run: ...
manatwork's user avatar
  • 20.2k
12 votes

Encode - Shuffle - Decode

Jelly, (17 bytes + 18 bytes) × length 6 = 210 points b36µỤỤ+×3µŒ¿b3U+Ṣ Ṣ:3_J Ṣ%3Uḅ3œ?Çḅ36 Try it online! (or with extra debug info) Having had a go at solving this challenge aiming at the stated ...
12 votes

Decode USB packets

convey, 31 25 bytes Takes JK as 01. ...
xash's user avatar
  • 11.3k
12 votes

ro1000an nu1000era50 en100o501ng

Vyxal s, 9 bytes ƛøṘ∨;⁽-ḊṠ Try it online or run a test suite. ...
naffetS's user avatar
  • 12.4k
10 votes

Professor at MIT can read minds!

Jelly, 33 bytes ØDḊḊ;“TJQKA”p“CDHS” ¢iⱮµḊŒ¿×4+Ḣị¢ Try it online! Explanation The first line is niladic. It yields a list of the 52 cards ...
dylnan's user avatar
  • 5,364
10 votes

Decode a 7-segment display

JavaScript (ES6), 26 bytes Takes input in little Endian. n=>'0958634172'[n*3%77%10] Try it online!
Arnauld's user avatar
  • 192k
10 votes

Gödel encoding - Part I

Jelly,  11 10 9  8 bytes -1 thanks to Unrelated String! (Use of a dyadic chain in place of a monadic compound link avoiding the need for argument manipulation with `...
Jonathan Allan's user avatar
9 votes

Bake me some moji

R 3.5.0 or higher, 32 20 bytes scan(,"",e="latin1") Try it online! Oddly short for a string challenge in R... thanks to JayCe for golfing down 12 more bytes! <...
Giuseppe's user avatar
  • 28.6k
9 votes

Encode - Shuffle - Decode

Jelly, (4 3 bytes + 6 5 bytes) × length 8 = 80 64 points b⁴ÄṢŻIḅ⁴ Try it online! Jelly, (2 1 byte + 4 3 bytes) × length 10 = 60 40 points ÄṢŻI Try it online! Explanation Solution 1 This is ...
9 votes

Elias omega coding: decoding

convey, 66 bytes 1<<<<,<< />>>v$1^ ,<"<##<^ :`#?@#^^ {1$v>"}%2 ~,>/+?< 3 0$,>*2 Try it online! ...
xash's user avatar
  • 11.3k
9 votes

Decode Polybus Square/Tap Code/Prison Code

J, 22 bytes 65(u:@+>&74)@+[:5&#.<: Try it online! [:5&#.<: Decrement each input value ...
Jonah's user avatar
  • 33.4k
8 votes

Bracket Expansion!

Retina, 24 23 22 bytes +`\[([^][]*)](.) $2*$1 Try it online! This is practically a builtin in Retina 1. Edit: Saved 1 byte thanks to @Kobi. 47 45 bytes in Retina ...
Neil's user avatar
  • 170k
8 votes

Prime Factor Encoding

05AB1E, 13 bytes Encoder, 8 bytes 0ì¥ĀηOØP Try it online! Explanation ...
Emigna's user avatar
  • 53k
8 votes

Decode a 7-segment display

Python 3, 18 bytes b'~0my3[_p{'.find Try it online! Uses little-endian inputs. Contains a raw \x7F byte. Python 2, 27 ...
Lynn's user avatar
  • 68.7k
8 votes

Decode Polybus Square/Tap Code/Prison Code

Jelly, 10 bytes ØAḟ”Ks5⁸œị Try it online! -1 byte thanks to Jonathan Allan! How it works ...
caird coinheringaahin g's user avatar
8 votes

Decode Polybus Square/Tap Code/Prison Code

Jelly, 10 bytes ḅ5<⁴ạƊ+60Ọ Try it online! A completely different approach. Explanation ...
xigoi's user avatar
  • 7,231
8 votes

Decode Polybus Square/Tap Code/Prison Code

brainfuck, 85 bytes ...
xigoi's user avatar
  • 7,231
8 votes

Decode USB packets

Husk, 11 bytes σḋ126ḋ63Ẋ=Θ Try it online! Takes an array of bits(0=J, 1=K), outputs an array of bits(formatted as string for convenience) Explanation ...
Razetime's user avatar
  • 27.1k
8 votes

Encode a Lenguage

05AB1E, 7845 535 34 BC Try it online! This converts the input from base 2 according to 05AB1E's codepage. ...
ovs's user avatar
  • 59.3k
7 votes
Accepted

Telegraphy Golf: Decode Baudot Code

Pyth, 98 97 95 93 90 83 80 bytes The code contains unprintable characters, so here is a reversible xxd hexdump: ...
PurkkaKoodari's user avatar
7 votes

Bracket Expansion!

Haskell, 101 96 bytes fst.(""%) infix 4% s%']':d:r=(['1'..d]>>s,r) s%'[':r|(t,q)<-""%r=s++t%q s%x:r=s++[x]%r s%e=(s,e) Try it online! Instead of using ...
Laikoni's user avatar
  • 26.2k
7 votes

Bracket Expansion!

Perl 5, 34 33 29 + 1 (-p) = 30 bytes s/.([^[]*?)](.)/$1x$2/e&&redo Try it online! Cut it down with some help from @...
Xcali's user avatar
  • 14.9k
7 votes

Prime Factor Encoding

Jelly, 17 bytes Encoder (10 bytes): 0;IA+\‘ÆNP Try it online! Decoder (7 bytes): ÆEĖŒṙḂ¬ Try it online! How? Encoder: ...
Jonathan Allan's user avatar
7 votes

Encode - Shuffle - Decode

Shakespeare Programming Language, 10 * (264 + 494) = 8650 7910 7580 Encoder: 264 bytes ...
Jo King's user avatar
  • 47.2k

Only top scored, non community-wiki answers of a minimum length are eligible