239 karma · joined October 18, 2025
SUCCESS = 0
TOO_FAR_LEFT = 2
TOO_SLOW_OR_TOO_LOW = 4
TOO_FAST_OR_TOO_HIGH = 8
MIN_ALTITUDE = 100
MAX_ALTITUDE = 300
MIN_SPEED = 200
MAX_SPEED = 400
MIN_SPEED_200_RANGE = 238
MAX_SPEED_300_RANGE = 338
MAX_HEADING_RIGHT = 8
def landing_skill_check(
altitude: int,
speed: int,
heading: int) -> int:
if altitude < MIN_ALTITUDE:
return TOO_SLOW_OR_TOO_LOW
if altitude >= MAX_ALTITUDE:
return TOO_FAST_OR_TOO_HIGH
if speed < MIN_SPEED:
return TOO_SLOW_OR_TOO_LOW
if speed >= MAX_SPEED:
return TOO_FAST_OR_TOO_HIGH
if speed < 300:
if speed < MIN_SPEED_200_RANGE:
return TOO_SLOW_OR_TOO_LOW
else:
if speed >= MAX_SPEED_300_RANGE:
return TOO_FAST_OR_TOO_HIGH
if heading < 0:
return TOO_FAR_LEFT
if heading >= MAX_HEADING_RIGHT:
return TOO_SLOW_OR_TOO_LOW
return SUCCESSWhereas with Python, even in the latest version, you're already looking at atleast 10x the amount of startup latency in practice.
Note: This is excluding the actual time that is made for the network call, which can of course also add quiete some milliseconds, depending on how far on planet earth your destination is.
That's exactly my experience. While a well-structured monolith is a good idea in theory, and I'm sure such examples exist in practice, that has never been the case in any of my jobs. Friends working at other companies report similar experiences.
This is not the case for most monoliths, unless they are structured into LLM-friendly components that resemble patterns the models have seen millions of times in their training data, such as React components.
The issue is not the specific form in which code is executed on your machine, but rather who is allowed by you to run code on your computer.
I don't trust arbitrary websites from the Internet, especially when they are not cryptographically protected against malicious tampering.
However, I do trust, for instance, the Debian maintainers, as I believe they have thoroughly vetted and tested the executables they distribute, with a cryptographic signature, to millions of users worldwide.
This is the equivalent of giving an author of a website remote code execution (RCE) on your computer.
I get the idea that you can download the script first and carefully read it, but I think that 99% of people won't.
EDIT:
> Due to this incredible demand, we've hit our current budget limit and need to temporarily pause the service.
There you go.
[1] Various HN posts regarding Hetzner vs AWS in terms of costs and perf.
Within the next few years, it will introduce an additional enterprise edition, a SaaS offering, or a change in licensing terms.