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.

Show HN: I built a fake VS Code to browse live cricket score in office

674 pointsby the2ndfloorguyover 3 years ago

63 comments

pieterhgover 3 years ago
So cool to see this on top of HN.<p>Pankaj took my VSCode for Remote OK and modded it for cricket scores. Great work and it even still says index.php, hah.<p>If you&#x27;d like to see the original from a few weeks ago: <a href="https:&#x2F;&#x2F;remoteok.io&#x2F;vscode" rel="nofollow">https:&#x2F;&#x2F;remoteok.io&#x2F;vscode</a>
评论 #28987230 未加载
评论 #28988694 未加载
评论 #28987255 未加载
tailspin2019over 3 years ago
@dang seeing as this is a derivative of <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=28472170" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=28472170</a> but the credit isn&#x27;t very clear, could you give the original Show HN another repost perhaps?<p>Seems a shame that the author of the majority of this work (pieterhg) didn&#x27;t get a lot of credit here or the same level of interest in their original Show HN.
评论 #28988858 未加载
评论 #28989245 未加载
ratwwover 3 years ago
I wouldn&#x27;t assume ill-intent, or even that the company sucks.<p>This might be just a fun joke. At my previous job we had a company-wide shared folder with some stealth Excel games [1], my boss loved them.<p>[1] <a href="https:&#x2F;&#x2F;www.makeuseof.com&#x2F;tag&#x2F;6-iconic-games-recreated-microsoft-excel&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.makeuseof.com&#x2F;tag&#x2F;6-iconic-games-recreated-micro...</a>
评论 #28986495 未加载
vzalivaover 3 years ago
I had written TSR (Terminated and Stay Residendt) MS DOS &quot;Boss key&quot; program which when activated shows TurboC screen with compilation going on and compiled lines number counter changing. Used it when I played games during my internship in early nienties.
cyberferretover 3 years ago
Nice work! Reminds me of the old days of the &#x27;Boss Key&#x27; in most games of the 80&#x27;s. +1 on the suggestion to actually make this a VSCode extension so you can have it running in a tab in your actual workspace and check it from time to time.
评论 #28986279 未加载
kioleanuover 3 years ago
I was always fascinated by these kind of things and I always wondered why they are necessary, as I had never had a job in the past 15 years where you couldn’t open a sports page once in a while. Or better said, where someone would expect you sit 6-8-10 hours in front of the computer and churn code without interruption. Or go outside and check the scores on your phone
评论 #28986076 未加载
评论 #28986829 未加载
评论 #28986458 未加载
评论 #28986426 未加载
评论 #28986273 未加载
评论 #28986123 未加载
评论 #28986615 未加载
staredover 3 years ago
Reminds me of the PhD Comics &quot;Emergency button&quot; (<a href="http:&#x2F;&#x2F;phdcomics.com&#x2F;" rel="nofollow">http:&#x2F;&#x2F;phdcomics.com&#x2F;</a>, bottom right) redirecting to a fake journal article and a similar tool for Tinder redirecting to a spreadsheet.<p>In the case of PhD Comics is clearly an inside joke (I guess). For other tools I find it a clearly desired yet not the most honest feature.
评论 #28986355 未加载
EVa5I7bHFq9mnYKover 3 years ago
I had a video camera and a motion detection algorithm running to alert me if someone was approaching my cubicle, where I was napping.
评论 #28986494 未加载
评论 #28987640 未加载
ChrisArchitectover 3 years ago
This made me laugh, nice one.<p>Reminds of all the old apps&#x2F;games that had boss key&#x2F;buttons -- I wonder if there&#x27;s a gallery of a bunch of them somewhere? Creative &#x27;fake&#x27; docs and spreadsheets etc kinda funny
评论 #28988804 未加载
niruiover 3 years ago
A file named &quot;index.js&quot;, when you open it, the tab says &quot;index.php&quot;, and the file contains HTML code.<p>A comedy at it&#x27;s finest.
评论 #28989293 未加载
kirualexover 3 years ago
Made me laugh, but also made me think of all those bad experiences I had working with teams from Indian &#x2F; Pakistan... I can definitely imagine those guys watching cricket instead of pushing new code.
评论 #28989320 未加载
评论 #28988826 未加载
_joelover 3 years ago
Just goes to show the difference in work cultures. Here in the UK I could quite happily have the match up on another monitor, nobody would bat (pun unintended) and eyelash. I&#x27;m not sure I could do that with a game that requires more oversight though, test cricket, especially, is slow to watch. Fun though!
评论 #28986591 未加载
评论 #28987214 未加载
评论 #28986822 未加载
评论 #28986898 未加载
评论 #28986851 未加载
评论 #28986832 未加载
评论 #28986753 未加载
评论 #28987458 未加载
评论 #28988857 未加载
varispeedover 3 years ago
If your job prevents your from taking your mind off temporarily off of a task, then this is nothing short of abuse.<p>I cannot focus on the task for more than 10-20 minutes, then I take few minutes break, sometimes more. If I couldn&#x27;t do that, I wouldn&#x27;t get any work done because quickly my brain would sort of shut down.<p>I&#x27;ve been through this many times - manager would get me to a meeting room and say &quot;people complain that you are browsing the internet rather than working&quot;. I&#x27;d say &quot;do I deliver on time?&quot; the answer would be &quot;yes&quot;. That would be the end of it. I would also say he or she should talk with those who reported this, whether snooping on other workers is a good use of their time.<p>Nonetheless nice project! I remember doing similar thing to browse Reddit ages ago ;-)
评论 #28986718 未加载
jablover 3 years ago
Excellent!<p>Reminds me of those old MS-DOS games that often had a &quot;boss key&quot; which switched the game display to some fake spreadsheet.
piyush_soniover 3 years ago
Great work, but the fact that you had to build it means you need to change the company you work with ;).
评论 #28986101 未加载
m_stover 3 years ago
Reminds me of the Boss Screen in the famous German PC game &#x27;Moorhuhnjagd&#x27; where pressing [B] would pause the game and show a fake Word document.
评论 #28987617 未加载
DonHopkinsover 3 years ago
I was hoping the cricket score was a pleasant musical soundtrack of live crickets chirping, to listen to while you code.<p><a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=eKmRkS1os7k" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=eKmRkS1os7k</a>
wastedhoursover 3 years ago
Very good! About 7&#x2F;8 years ago I did the same to make HN look like some PHP code - did a looot of &quot;code reviews&quot; back then.
评论 #28986323 未加载
klelattiover 3 years ago
For those not too familiar with cricket - matches can go on for days and a summary of the score can be a couple of numbers.<p>Browsing the score might mean a glance at those numbers every fifteen minutes or so - probably about the same impact on productivity as checking the time.
评论 #28987562 未加载
efitzover 3 years ago
If you use VS Code, why not just build that as a plug-in?
评论 #28988983 未加载
jpindarover 3 years ago
You all might like CyberCoderOnline, a multiplayer game which runs in a browser and looks like vscode (though it also has another mode that is slightly more graphical). It would be cooler if was an actual vscode extention, though.<p><a href="https:&#x2F;&#x2F;cybercodeonline.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;cybercodeonline.com&#x2F;</a>
wesleywtover 3 years ago
My work is already pain. I don&#x27;t need to know how bad South Africa is doing while at work.
baybal2over 3 years ago
<a href="https:&#x2F;&#x2F;cric-code.pankajtanwar.in&#x2F;match&#x2F;38051~ind-vs-pak-icc-mens-t20-world-cup-2021" rel="nofollow">https:&#x2F;&#x2F;cric-code.pankajtanwar.in&#x2F;match&#x2F;38051~ind-vs-pak-icc...</a><p>10 wickets...
评论 #28987298 未加载
jonnycomputerover 3 years ago
I think this is hilarious. And let&#x27;s be honest here. Getting a score feed like this is much less distracting that launching a browser and visiting some site and somehow ending up on Facehook.
someothherguyyover 3 years ago
I think it would it be easier to make a repository with a file that just auto updates with the scores? You could use it in any editor, and you wouldn&#x27;t need a facade.
stefanvdw1over 3 years ago
Clever! Next step would be to build a VSCode extension so you can actually work in VSCode and keep track of live cricket scores
评论 #28986152 未加载
harhaover 3 years ago
This adds an item on my long list of fun little projects I unfortunately never start: a general purpose information consumption tool disguised as VS Code (with an extra feature to look like the IDE used at the firm in question)<p>From tennis or football games to text adventures, there would be so many great options to give the mind a quick break from work.
bonytover 3 years ago
When I was in high school, I wrote an IRC client that looked like microsoft word. In visual basic. Simpler times...
Trex_Eggover 3 years ago
bro thank you very much I was looking for this my whole career.
irrationalover 3 years ago
If it’s just the scores, I would think using curl&#x2F;wget in a terminal window might be simpler.
评论 #28987469 未加载
skinkestekover 3 years ago
Back in the days I remember the manual (or help file or something) for some submarine simulator game containing an &quot;emergency key&quot; that brought up a spreadsheet screenshot.<p>Can&#x27;t remember the name though, but it was on a Mac in the 90ies sometime so before Mac OS X.
评论 #28986388 未加载
iamgopalover 3 years ago
Years ago ( 15+ ) I created not to automatically send cricket updates to office chats.
kkcorpsover 3 years ago
Bro, It is amazing but I would suggest you to look for another job. In my office in Bangalore, we watch on TV and screen in cafeteria leaving the work aside although some meetings have to be attended.
eb0laover 3 years ago
This used to be a fake excel :-D Thank you for make me smile today.
sAbakumoffover 3 years ago
yeah, but why do you want to hide that you browser this cricket stuff in the first place? Does someone constantly watch what&#x27;s going on on your screen?
评论 #28986342 未加载
katzgrauover 3 years ago
Separately, I used to keep an ssh session to one of my servers open with lynx running, so I could browse HN and have it still look like work to a non-dev
analog31over 3 years ago
I learned alt-space-n for minimizing a window, which can be done discreetly without any obvious mouse motion. That and a rear view mirror on my monitor.
评论 #28988782 未加载
bluedinoover 3 years ago
I always seemed to have a putty window with a colorscheme similar to my editor. Then I ssh into a VPS, browse whatever over lynx, have IRC open...
mihaalyover 3 years ago
It&#x27;s so sad if one has to resort to these kind of tricks. Mostly for the management, I guess (assuming no abuse level of diversion).
mnd999over 3 years ago
Hope you didn’t regret it after yesterday’s match.
cambaceresover 3 years ago
Some posts I upvote just by reading the headline.
nkozyraover 3 years ago
Can&#x27;t imagine going this far without taking the next step of bundling it into an electron app with matching icon, etc.
brainwipeover 3 years ago
Modern problems require modern solutions. I hope your boss isn&#x27;t on HN. If my team wanted to check the scores it wouldn&#x27;t bother me - I hired people not robots.
评论 #28986399 未加载
pjmlpover 3 years ago
Great!<p>Next step, create a VBA macro that drops the results into Excel worksheet, for those more tasked with Office activities.
fsnowdinover 3 years ago
someone make the HN version of this plz
faridelnasireover 3 years ago
You could just change jobs to a company that allows you to have a window like that open on the side.
throw1234651234over 3 years ago
Title should be appended with &quot;...and could have gotten away with a .sh&#x2F;.ps instead&quot;
frankfuryover 3 years ago
Now, I&#x27;m interested in an NBA score like this. I wonder how it will look like on code.
abledonover 3 years ago
I can&#x27;t imagine working at a company that micro-manages like this. I have a style where i Code at like 500% effort for short bursts, then relax&#x2F;browse web stuff for up to an hour.
nathiasover 3 years ago
doing the needful
zamadatixover 3 years ago
Anyone remember Ghostzilla?
评论 #28986451 未加载
rafaelturkover 3 years ago
Fake VS Code everywhere!
francisduvivierover 3 years ago
Sooo, do we already have something like this for Hacker News?
评论 #28988948 未加载
aquirover 3 years ago
Great! Can we have one for HN as well, please? :)
Lapsaover 3 years ago
used to play some Nethack when didn&#x27;t felt much like working. quite indistinguishable
tarkin2over 3 years ago
Is there a vim plugin for it?
pelasacoover 3 years ago
it would be nice to have it to read HN newest topics. Open source for sure :)
pknerdover 3 years ago
Which APIs are you using?
seanhunterover 3 years ago
That is spectacular
shoulderfakeover 3 years ago
Who&#x27;s getting in trouble for looking at sports scores in the office? What archaic organization do you work at this pt ?
评论 #28987946 未加载
darepublicover 3 years ago
file has extension .php but is html
xtatover 3 years ago
A+
looping67over 3 years ago
the website hang up