My Polyglot Advent of Code
m.signalvnoise.com1 pointsby mace0 comments
• Android UI Engineers
• Embedded Engineers
• Mechanical Product Design Engineers
• Hardware Engineers
• Server Engineers
Send us your resume at https://juneoven.com/jobs.html • Android UI Engineer
• Embedded Engineer
• Mechanical Product Design Engineer
• Hardware Engineer
• Server Engineer
Send us your resume at https://juneoven.com/jobs.html python -Wall manage.py runserver.
Not only will you quickly see what's broken, but Django will dump helpful deprecation warnings for things that will eventually break at some point. >>> import dis
>>> def a():
... while 1: pass
...
>>> def b():
... while True: pass
...
>>> dis.dis(a)
2 0 SETUP_LOOP 3 (to 6)
>> 3 JUMP_ABSOLUTE 3
>> 6 LOAD_CONST 0 (None)
9 RETURN_VALUE
>>> dis.dis(b)
2 0 SETUP_LOOP 10 (to 13)
>> 3 LOAD_GLOBAL 0 (True)
6 POP_JUMP_IF_FALSE 12
9 JUMP_ABSOLUTE 3
>> 12 POP_BLOCK
>> 13 LOAD_CONST 0 (None)
16 RETURN_VALUE
The conclusion reinforces this: "Postgres served us well in the early days of Uber, but we ran into significant problems scaling Postgres with our growth."
I read this a both endorsement of PostgreSQL as well as highlighting some of the problems that any large-scale use of it would run into.