What is 2022?
What is π¬π§ The United Kingdom? π¬π§
(Grand Theft Auto 2, 1999, DMA Design / Tarantula Studio / Rockstar)
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.
What is GIMP scripted with Python running on OpenBSD?
R31
What is the BornHack grid coordinates to the building where NOC hosts their server room?
What is 2021?
What is π¨πΏ The Czech Republic? π¨πΏ
(Factorio, 2012-2020, Wube Software)
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.
What is Scratch running in Firefox running under XFCE on SUSE Linux?
P3
What is the radio channel used by CERT?
What is 2019?
What is π§πͺ Belgium? π§πͺ
(Baldur's Gate 3, 2023, Larian Studios)
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.
What is Rust running in Docker running on Linux on a machine with Libreboot firmware?
The kid pyromaniac
Who is Ellen?
What is 2024?
What is πΈπͺ Sweden? πΈπͺ
(Stellaris, 2016, Paradox Development Studio)
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.
What is Go compiled with GCC (or linked with glibc) running on DragonFly BSD?
9, 13, 16, 19
What are the mealtimes for setup and teardown (including cake/coffee break)?
What is 2018?
What is πΊπ¦ Ukraine? πΊπ¦
(Metro 2033 Redux, 2010, 4A Games)
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.
What is Perl running on MINIX?
(As far as we know, OCaml hasn't been ported to MINIX.)
Decorative gas
What's the name of the budget entry for any non-cooking, flamethrower-related expenses?