Skip to content

Instantly share code, notes, and snippets.

View cosmologicon's full-sized avatar

Christopher Night cosmologicon

View GitHub Profile
123456789 752880530 826085747 576968456 721429729 173957326 1031077599 407299684 67656429 96549194 1048156299 663035648 604085049 1017819398 325233271 942914780 664359365 770319362 52838563 720059384 472459921 662187582 163882767 987977812 394465693 464694202 95709627 223284720 771568361 970504310 294540455 704157900 851311221 633778290 368669651 421360872 776475713 720514990 534188863 579493444 927362125 111546922 112115435 704073952 429403801 629044198 794444503 614697148 933021477 807710946 921807619 607224280 297787889 55272734 301417327 851638324 541420285 787115162 734238747 1012197328 727027273 414901078 305231111 22777004 222869461 502474066 965338675 245261000 187929505 272813710 615528351 911484452 800263597 705608458 1032713547 108974784 335041017 367855302 700377911 948413596 51694725 627117506 662512995 370874296 595994961 316107774 1053618127 256174100 318919773 719453562 317249147 1036784048 545487273 951311926 535668071 298766476 278136117
299723314 818309267 597598376 400204545 491273582 4252
123456789 752880530 826085747 576968456 721429729 173957326 1031077599 407299684 67656429 96549194 1048156299 663035648 604085049 1017819398 325233271 942914780 664359365 770319362 52838563 720059384
472459921 662187582 163882767 987977812 394465693 464694202 95709627 223284720 771568361 970504310 294540455 704157900 851311221 633778290 368669651 421360872 776475713 720514990 534188863 579493444
927362125 111546922 112115435 704073952 429403801 629044198 794444503 614697148 933021477 807710946 921807619 607224280 297787889 55272734 301417327 851638324 541420285 787115162 734238747 1012197328
727027273 414901078 305231111 22777004 222869461 502474066 965338675 245261000 187929505 272813710 615528351 911484452 800263597 705608458 1032713547 108974784 335041017 367855302 700377911 948413596
51694725 627117506 662512995 370874296 595994961 316107774 1053618127 256174100 318919773 719453562 317249147 1036784048 545487273 951311926 535668071 298766476 278136117 299723314 818309267 597598376
400204545 491273582 4252
3141
5926
5358
9793
2384
6264
3383
2795
288
4197
@cosmologicon
cosmologicon / pickle-local-error.py
Created September 27, 2020 17:13
PyWeek 30 pickle edge case: minimal example
# Minimal example of pickling error encountered in my PyWeek 30 entry.
# Unpickling a function fails when it can't be referred to by the name in its __name__ attribute,
# such as when the function is locally defined within a callback.
# This is unlikely to come up in general unless you explicitly set the __name__ attribute, because
# you can't pickle local objects. However, it occurs when you pickle the method of an instance and
# the method of that instance's class is a local object.
import pickle
@cosmologicon
cosmologicon / crossword-grid-validity-examples.txt
Last active January 24, 2020 19:23
Examples of crossword grid requirements for Daily Programmer #382
7x7 valid
. . . # . . .
. . . # . . .
. . . . . . .
# # . . . # #
. . . . . . .
. . . # . . .
. . . # . . .
@cosmologicon
cosmologicon / yahtzee-upper-1.txt
Created November 11, 2019 22:05
Yahtzee upper section scoring bonus challenge input
579066766
3846016
567281940
3354341
3219931
4750791
34780459
233097105
32052310
486792205
@cosmologicon
cosmologicon / smorse2-bonus1.in
Created August 7, 2019 14:23
Input for r/dailyprogrammer Intermediate #380 bonus 1
------.-...-..--.-...-.-..-.-..-...---.--...-.-....---..-...-.-......--..---.-.---
-----.-----.--..--.-..--..-..--...--.-.....-..-.--...-.-.-......--.-...-..-..---..
-----.--.--.-...---.--..-..--..-.-.-.....-.-.-.--.-.-..--..--.--.-.......--......-
-----.--..---.--.-..-....--.....---.-.---.-..-....-.-.-...-.-......-...-.---..--.-
-----.-.--.---..--.---.-....-.........-.-....----..-..-.-..--..--..--.-.--....--..
-----.-.--...--.----..--.-....-......--...-..--.....-.-.--.....----.-..-.-...---.-
-----.-..--......-.-.-......-...-.---.--..-.-.----.-...-..-...--.-...---.--.-.--..
-----.-...---..-....--......--.-.----..---..--.-.--.-..-.-.-.---.-.........-..--..
-----.-....---.--..-..-..-....-.-...---..-.--....-...-.-.-.-.-.....-----.--.--.-..
-----...-.-.-.-...---.--..---.-.-....-.---..-...-.--..--.......-.-..---.--.....--.
@cosmologicon
cosmologicon / tree-equal.txt
Created January 25, 2019 22:36
Pairs of tree representations for Daily Programmer #373: which ones are equal?
(()) (())
(()()) (()())
(()()()) (()()())
(()()()()) ((())()())
((())()(())) ((())()(()))
((())()()(())) ((())()()(()))
((()())()()()()) (()()(()())()())
((())()()()()()()) (()()()()()(())())
((()())(()())()(())) ((())()(()())(()()))
((())()()()((())()())) ((()())()(()(())())())
@cosmologicon
cosmologicon / tree-embed.txt
Created January 25, 2019 22:34
Pairs of tree representations for Daily Programmer #373: which ones are embeddable?
(((()(())(()))()(()())()())((())(()())(()()())(()()()()()(()()))(())())(()()()())((())()()()()()(()))(((())()((())())(()))(()())(()((())()())())((())())(()()(())(())())(()()())(()))(()(()()()()())(()()()(()())()())()()()(())((())()()(()()())))((()(())(()))()())((()()())((()())(()())(()))(()())()((())()())(()()()((()(()))())(()(())()())(())(((())())()()()))(()())(()()()(((()))())))(()(())(())(()))) ((((())()(())())()((())()()())(())()(()())(())(()(()())()(()()())()())(()(())((())()(()))))((())(()())()()(()(())())()(())(()(())()))(()(()()())(()()(())()())(())()(()()(()())(()()))(()())(()))((())(()(()())())((()())()())(()(())())((())(())()(())())((())(())(()())(()())(()(())(()()())()()())(())(())(()()(()())()(())()))((()()())(()()()())()(())(())())(()()())(()(())()))((()()(())(())()())(()((())(((())))()())(())(()(()())()()()(()))(())(()))(()()())(()(())()()())(()()(()(())()(()()()())()(())())()()(()()(()()()())()(())()()())(()()()())(()())(()()))(()()()()(()(())()))(()()(()(()()))()()()(())((())()()(()))())((())
@cosmologicon
cosmologicon / 363-hard-words.txt
Created June 15, 2018 16:41
Challenge input for dailyprogrammer #363 [Hard]
abed
abet
achy
acid
ados
agar
agha
ague
ahem
ains