TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

LeetCode but You Can Force People to Code in Light Mode

120 pointsby weebao3 months ago

19 comments

jellyfishbeaver3 months ago
I must be in the extreme minority, I always prefer light themes.
评论 #43154127 未加载
评论 #43154419 未加载
评论 #43153680 未加载
评论 #43153287 未加载
评论 #43154212 未加载
评论 #43153467 未加载
评论 #43153302 未加载
评论 #43153151 未加载
评论 #43154527 未加载
评论 #43154885 未加载
评论 #43165590 未加载
评论 #43162304 未加载
评论 #43154971 未加载
评论 #43156073 未加载
weebao3 months ago
Basically recreated LeetCode on a $5&#x2F;month VPS lol. It started as a class project but over 800 people joined so I kept refining it for 2 months. It supports running Python, Java, and C++ code (building a code runner is tough). Give it a try and let me know what you think!<p>The code is also open-source too at <a href="https:&#x2F;&#x2F;github.com&#x2F;beatcode-official">https:&#x2F;&#x2F;github.com&#x2F;beatcode-official</a>
评论 #43152292 未加载
评论 #43153218 未加载
评论 #43161544 未加载
评论 #43152284 未加载
user99999999993 months ago
&quot;Runtime analysis? How is that possible?&quot; I thought...<p><a href="https:&#x2F;&#x2F;github.com&#x2F;beatcode-official&#x2F;server&#x2F;blob&#x2F;42169027dda3d0f0982ee56c39a295f54706be57&#x2F;app&#x2F;services&#x2F;execution&#x2F;runtime_analysis.py">https:&#x2F;&#x2F;github.com&#x2F;beatcode-official&#x2F;server&#x2F;blob&#x2F;42169027dda...</a>
评论 #43155526 未加载
评论 #43152539 未加载
评论 #43165685 未加载
评论 #43155367 未加载
dudus3 months ago
I just wanted to mention another cool alternative<p><a href="https:&#x2F;&#x2F;neetcode.io&#x2F;" rel="nofollow">https:&#x2F;&#x2F;neetcode.io&#x2F;</a><p>The author has a YouTube channel where he actually solves a lot of the problems step by step. Really cool as a learning resource
评论 #43153334 未加载
评论 #43165608 未加载
评论 #43152975 未加载
walthamstow3 months ago
I use light mode when it&#x27;s light, and dark mode when it&#x27;s dark. Anything else results in either cooked retinas or excessive squinting.<p>It baffles me that anyone could be so wedded to their theme that they would use dark at midday in a well-lit office or vice versa.
评论 #43155917 未加载
评论 #43165616 未加载
评论 #43154569 未加载
TrackerFF3 months ago
I &quot;grew up&quot; coding in bog-standard light mode decades ago, and I guess it just stayed with me? Still do it that way.<p>EDIT: If you&#x27;re gonna be devious, just force people to code with blue font over black background.
评论 #43165696 未加载
pavlov3 months ago
In my universe, the only permitted background colors for programming editors are NeXT white, SGI pastel yellow, and Turbo Pascal blue.
评论 #43165810 未加载
jtreminio3 months ago
&gt; but You Can Force People to Code in Light Mode<p>As I&#x27;ve aged my preferences have moved away from dark themes to light themes.<p>I used to have everything in dark mode: terminal, IDE, sublime text, use Dark Reader Chrome extension.<p>But I can&#x27;t see shit anymore. I need light!
评论 #43153097 未加载
评论 #43165780 未加载
ukFxqnLa2sBSBf63 months ago
It’s a fun idea but the ability gimmick makes me not interested. I imagine it will also quickly be overrun by AI copy&#x2F;pasters.
评论 #43165622 未加载
weebao3 months ago
Kinda insane how this post I made for my project got viral. Got a tons of feedbacks and I just want to thank everyone here for checking it out. Really means a lot for a student trying to build cool stuff :)
amne3 months ago
I&#x27;m just here to praise the &quot;Login as guest&quot;. Thank you !!
评论 #43165677 未加载
nialv73 months ago
just tried to play a round, the answer checker failed because it compares the results with `result == eval(expected)`, where `expected` is `&quot;true&quot;`, which is not a thing in Python.
评论 #43156079 未加载
评论 #43165639 未加载
eGQjxkKF6fif3 months ago
This seems like a fun thing, could it be used for a hackathon type style of event with say group participants up to ~100? I&#x27;d love to see some hackathons.
评论 #43165634 未加载
addandsubtract3 months ago
The &quot;freezio&quot; ability seems more like a power up, than a roadblock. Imagine people actually read what they wrote.
评论 #43165655 未加载
DidYaWipe3 months ago
I don&#x27;t see where it says that.<p>Regardless, is that forcing an inverse color scheme on someone supposed to prove something valuable?
评论 #43165673 未加载
johnm3 months ago
A bunch of wimps for not going back to actual VT220 green phosphor terminals. Lol.
phoe-krk3 months ago
Going for &quot;deletio&quot; too many times causes the JS to go into a loop.<p>Still, fun.
评论 #43165647 未加载
koinedad3 months ago
The magic elements are a fun idea!
评论 #43165726 未加载
babyent3 months ago
Solarized Light 4 Life lol<p>Dark mode always strained my eyes like crazy. White bg is too much. Solarized Light works best for me.
评论 #43153899 未加载
评论 #43156512 未加载