LeetCode but You Can Force People to Code in Light Mode
Project and Implementation
- Creator rebuilt a LeetCode-like platform on a cheap VPS; supports Python, Java, and C++ with containerized code execution for isolation.
- Building the runner was described as challenging, especially Java (type erasure, templating) and container startup latency.
- Some users pointed to existing open-source judge/runner systems (INGInious, Judge0); author chose to build their own to learn.
- Thread notes the post should have used “Show HN” convention; author was unaware.
Runtime Analysis and LLM Use
- Users investigated the “runtime analysis” feature and found it is powered by an LLM, not real performance measurement.
- Several commenters argued this should be clearly disclosed so users don’t treat it as factual.
- Discussion broadened into concerns that LLM-powered features “work most of the time” but are hard to verify, unlike deterministic code.
- Author mentioned previously trying real curve-fitting via stress tests, but it failed too often.
Potential Use Cases and Cheating
- People asked if it could support hackathon-like events with ~100 participants or relay-style team play; author is interested in such modes.
- One commenter predicted the platform would be quickly overrun by AI copy-paste solutions; author didn’t have a mitigation plan and framed it as more of a fun project.
Bugs, Features, and Alternatives
- Users reported correctness issues in the checker (e.g., Python
eval("true"), string comparisons), calling the site “unplayable” until fixes; author responded and patched. - Some praised “login as guest” and playful “abilities” (e.g., freezing code, deleting text, rickrolls), though one questioned whether forcing inverse color schemes proves anything educational.
- NeetCode was mentioned as a strong alternative, with praise for its video walkthroughs; author plans to integrate those videos in practice mode.
Light vs Dark Mode Debate
- A large subthread debated light vs dark themes, with many older or visually-impaired users preferring light mode and others favoring dark or mid-gray backgrounds.
- Opinions conflicted on eye strain: some say dark themes help, others say they hurt, especially with astigmatism.
- Several people dynamically switch themes based on ambient light; others view strong, consistent contrast (not pure black) as most important.
- Solarized (especially light) drew both strong criticism and strong support, illustrating highly subjective preferences.
- Some described extreme indoor lighting setups (hundreds of watts of LEDs) to mimic daylight, claiming mood and SAD benefits, which made dark mode unusable.