Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.
4

Shakespeare Programming Language, 2 bytes .: Explanation: If this string is in the title of the play, the . ends it and the : is not a valid character name. Similar problems occur in an act and scene name. No character can speak a line beginning with :, and the . will end a Recall statement, which can otherwise create a comment.


4

Haskell, haven't bothered to golf, 14 If I can get down to 13, I'll try to golf this, but I don't have time right now: {-# LANGUAGE TemplateHaskell #-} module Main where import Control.Monad.State.Lazy import Control.Lens import Data.List (intersect) import System.Environment import Text.Printf data World = World { _wDictionary :: [String] ...


4

Ruby, 418 bytes, score 12 (on 'palest') $dict = File.readlines('agreeddict.txt').map(&:chomp) def search(wrd) words = 0 fdic = $dict.clone guess = '' starters = ['earths','blowup','coding'] chs = wrd.chars while guess!=wrd do guess = starters.pop || fdic.pop words += 1 ghs = guess.chars chars = (chs|ghs).size fdic....


4

Python 3.8, 730 bytes, score 13 p='https://gist.github.com/lesshaste/775f70d4da6778807ff9a8a42c293169/raw/c36b8d3b3d501106de781cb2c3b4c8f6e9d47b33/agreeddict.txt' from urllib.request import urlopen as o w=str(o(p).read(),encoding='utf-8').split('\n') from collections import* g=lambda x:lambda s:len(set(x)&set(s)) s=dict() for x in w: f=g(x) #the ...


2

Python 2 (PyPy), O(1) operations def cmod(a1, a2, b1, b2): # Compute p = a * conj(b) p1 = a1 * b1 + a2 * b2 p2 = - a1 * b2 + a2 * b1 # Compute the norm-squared of b b_nsq = b1 ** 2 + b2 ** 2 b_nsq_half = b_nsq // 2 # Do a symmetric mod of d1 and d2 by b_nsq # That is, into the interval [-b_nsq_half, +b_nsq_half) d1 = (...


2

Getting the solutions from @Delfad0r's program I extended @Delfad0r's program to output solutions. It also gives intermediate results, so you get output like this: Solving n = 8: a(8) >= 9 a(8) >= 10 a(8) >= 11 a(8) >= 12 a(8) >= 13 o . o . o o . o o . o o . o o o o o o . . o . . o o o . o . . o . o o o a(8) = 13 ...


1

3 Languages, 274 Bytes #define b++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+> #include<stdio.h> #define p(x)int main(){printf("नमस्ते दुनिया!");} #if 0 p=print goto=len goto("endif") s="Helo Byd!"; #endif p(s) C:नमस्ते दुनिया! Python: Helo ...


1

JavaScript, Score: 1644 alert("Hell0 W0rld!") You can't really do much with JavaScript.


1

Python 3, 98 + 9 + 5 = 112 )).strip() ] - ...


1

P is for Python 3, 32 chars -> Score: 38 print('%c'*26%(*range(97,123),)) I'm on fire. This is based in my 2011 answer which is before Python 3.5 added starred tuple unpacking, making it smaller that that one.... EXCEPT for Python 2 also got a smaller version today which is unbeatable :)


1

T is for Triangular, 19 bytes → 19+10 = 29 ,5,D@"*i.jC>"dj>F+/ Try it online! Ungolfed: , 5 , D @ " * i . j C > " d j > F + / The process here is, Push 65 Push 27 j is a conditional NorthWest IP switch; it changes to NW if the top value of the stack is not 0. This means we have the equivalent of looping from 26 to 0 (...


1

P is for Pyth, 1 character -> Score: 5 G Try it out! That's it - just 1 letter. This is how it works: The variable G is by default initialised to abcdefghijklmnopqrstuvwxyz in this language. By default, the value returned by a program is printed out to the standard output.


1

K is for Keg, 3 + 3 bytes - > 6 azɧ Try it online! It seems that the rule disallowing newer languages to be posted has been removed. Let me know if this is somehow invalid.


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