Badge assembly
Game loops
Pythonic nightmares
Vertical zoo
Volunteer slang
200

What is 2022?

200

What is πŸ‡¬πŸ‡§ The United Kingdom? πŸ‡¬πŸ‡§

(Grand Theft Auto 2, 1999, DMA Design / Tarantula Studio / Rockstar)

200
class A: t = 'a'
class B: t = 'b'
class C: t = 'c'
class D(A, B, C): pass
print(D().t)

What is a?

Cause: When there are conflicts in Python's multiple-inheritance scheme, Python picks the first class.

200



What is GIMP scripted with Python running on OpenBSD?

200

R31

What is the BornHack grid coordinates to the building where NOC hosts their server room?

400

What is 2021?

400

What is πŸ‡¨πŸ‡Ώ The Czech Republic? πŸ‡¨πŸ‡Ώ

(Factorio, 2012-2020, Wube Software)

400
b = True
print(f'{b * "Born"}{not(b) * "Hack"}{(b + b) * "2024"}')

What is BornFalse20242024?

Cause: Booleans act as integers when multiplied on strings, and 'not' applies to the entire (b) * "Hack" expression, not just b.

400

What is Scratch running in Firefox running under XFCE on SUSE Linux?

400

P3

What is the radio channel used by CERT?

600

What is 2019?

600

What is πŸ‡§πŸ‡ͺ Belgium? πŸ‡§πŸ‡ͺ

(Baldur's Gate 3, 2023, Larian Studios)

600
evens = (i * 2 for i in range(4))
pairs = zip(evens, evens)
squares = (m * n for m, n in pairs)
print(sum(squares))

What is 24?

Cause: The programmer expected 'pairs' to be [(0, 0), (2, 2), (4, 4), (6, 6)], but its actual value is [(0, 2), (4, 6)] because evens is a generator, and the zip expression consumes data from the same generator in both of its arguments.


600

What is Rust running in Docker running on Linux on a machine with Libreboot firmware?

600

The kid pyromaniac

Who is Ellen?

800

What is 2024?

800

What is πŸ‡ΈπŸ‡ͺ Sweden? πŸ‡ΈπŸ‡ͺ

(Stellaris, 2016, Paradox Development Studio)

800
g = (lambda: (yield (yield (yield (yield (yield True))))))()
g.send(next(g) or False)
g.send(True and next(g))
print(next(g))

What is None?

Cause: The booleans get returned in the g.send calls, but we ignore those results.  The final next(g) call returns the result of the yield *after* returning the value of the previous g.send, which is None because we didn't send a value this time.

800

What is Go compiled with GCC (or linked with glibc) running on DragonFly BSD?

800

9, 13, 16, 19

What are the mealtimes for setup and teardown (including cake/coffee break)?

1000

What is 2018?

1000

What is πŸ‡ΊπŸ‡¦ Ukraine? πŸ‡ΊπŸ‡¦

(Metro 2033 Redux, 2010, 4A Games)

1000
class Eval:
    def __init__(self, arg): self.arg = arg
    __getattr__ = lambda self, x: eval(f'{x}({self.arg})')

try: Eval(Eval(10).Eval).print
except:
    try: Eval(20).Eval.Eval.print
    except:
        try: Eval(30).Eval.print
        except:
            try: Eval(40).print
            except: print(50)

What is 20?

Cause: The first statement fails because it passes a non-primitive class instance value to the Eval class, which then gets turned into its string representation by Eval.__getattr__, which loses information.  The second statement only handles a primitive int value and succeeds.

1000

What is Perl running on MINIX?

(As far as we know, OCaml hasn't been ported to MINIX.)

1000

Decorative gas

What's the name of the budget entry for any non-cooking, flamethrower-related expenses?

M
e
n
u