Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Show HN: I built a fake VS Code to browse live cricket score in office (cric-code.pankajtanwar.in)
674 points by the2ndfloorguy on Oct 25, 2021 | hide | past | favorite | 209 comments


So cool to see this on top of HN.

Pankaj took my VSCode for Remote OK and modded it for cricket scores. Great work and it even still says index.php, hah.

If you'd like to see the original from a few weeks ago: https://remoteok.io/vscode


These are all in good fun so it's kinda whatever, but I'm surprised OP didn't bother to mention the source even in the blog post https://pankajtanwar.substack.com/p/i-built-a-fake-vs-code-t...


OP here, thanks for your comment. I have given the complete credit & link to the original source for inspiration and some of the images on my home page. (please scroll down to the bottom of the home page). I am extremely grateful to u/pieterhg.


For me the problem is really that the title of the post doesn't really do justice to pieterhg's effort. To me, that feels very strongly like you're adorning yourself with borrowed plumes.


Sorry OP, but I have to disagree. That link at the bottom is only visible if you scroll down for a few seconds. I scrolled around the site for a while and never saw it. If you want to give "complete credit", then I would recommend replacing the text in the header, from this:

<!-- Checkout live matches, recent matches and upcoming matches at one place. Built by Pankaj Tanwar. -->

to this:

<!-- Checkout live matches, recent matches and upcoming matches at one place. CricCode is a port made by Pankaj Tanwar, based on RemoteOK's VS Code site, which was built by Pieterhg. -->

where "Remote OK's VS Code Site" links directly to their VS Code site (not their "Show HN"): https://remoteok.io/vscode


Plus, like I said elsewhere, even the "Inspired by" section itself is copied from the original site. The entire page is copied verbatim, with only the text switched out for his cricket theme.

I'm sorry to the OP, but you just can't plagiarise someone else's work like this and then write a fake diary about how you built it yourself (https://pankajtanwar.substack.com/p/i-built-a-fake-vs-code-t...).

By way of contrast, the 'Inspired by' on the original acknowledges its debt to Geektyper (https://geektyper.com/word/), an MS Word clone so different that no one would guess at the inspiration. That is an appropriate level of inspiration for such a small acknowledgement hidden right at the bottom.


Meh, that's his problem if he gets hired due to this and is expected to produce something similar from scratch.

Neither one is trying to make money directly off of this, what's the big deal?


Well, it's generally frowned upon to pass off someone else's work as your own. Hell, he wrote an entire blog post detailing the process of 'building' this website (linked above).

It's staggeringly brazen. The only true sentence in his post is "It makes me look like I'm doing real work".


Oh hmm yeah, the blog post is a bit dishonest.


No, it's wrong because it is wrong. Not because whether someone benefits or loses because of it. That doesn't matter.


"Right" and "wrong" can often be quite an over-simplification as well as cultural (among other things)...

But I also clarified things in a sibling comment.


For the life of me I can't find any mention of where you have picked up the original source from (actually, I can't even find the "inspiration" mention) on your blog post. It's a deliberately misleading blog. It should be very clear in both letter and intent somewhere at the top. I was one of the first ones to comment on this post here praising the work, but now I know better. Please do not denigrate millions of Indians who work hard to produce original work and do not like to take credit for someone else's work.


It should be at the top. We both know the reason why you've hidden it at the bottom of the page.


Hmm, it's pretty crap not to mention where the overwhelming majority of the code was clearly taken from – given they wrote a diary documenting how 'they' built this project, and then posted it on HN.

And it's not 'inspired by' the other project. Lots of the HTML seems to have been copied verbatim into a React project, with very specific long CSS strings from the original site.

Hilariously, even the tiny 'Inspired by' section at the end is itself stolen from the original site, which credits another site as inspiration (that site is genuinely different, emulating MS Word rather than VS Code).

It was very courteous of u/pieterhg to respond the way he did, put it that way. ("Even still says index.php!")


There's a line on the website if you scroll down all the way to the bottom:

> Inspiriation and some of the images from this HN post.

Which points to the Show HN by RemoteOK: https://news.ycombinator.com/item?id=28472170

Not sure whether it's enough to show attribution.


It's not enough. And "Inspired by" is deliberately hidden below a long trail of text, and that itself is a lie. It's not "inspired by". It's "almost lifted from".


It is enough. He gives attribution.


"Inspiration" though? It's loading the exact same images, in the exact same order, long passages of verbatim css, etc. It's fairly weak attribution there, and no nod in the blog post. It's "enough" from a copyright standpoint, but it's lame.


And, like I wrote above, literally the 'Inspired by' section itself was stolen from the original website. I'm sorry for repeating myself, but I'm in awe of how brazen this guy is.


Legally, probably. According to proper etiquette, far from it.


suprisingly, I have met some guy at the bar last Saturday, he quoted:

"Good designers copy, best designers steal"

I don' know the source though. But this immediately strike me as soon as I see your comment. :)


Steve Jobs said that Picasso said "Good artists copy, great artists steal" so your guy at the bar must be a good designer.


Top marks for your politeness in calling this out!


Dp you have it open-sourced?


Nope, but then again I copied VS Code in a way :D


Yeah, it's hosted at https://cric-code.pankajtanwar.in/ ;)


@dang seeing as this is a derivative of https://news.ycombinator.com/item?id=28472170 but the credit isn't very clear, could you give the original Show HN another repost perhaps?

Seems a shame that the author of the majority of this work (pieterhg) didn't get a lot of credit here or the same level of interest in their original Show HN.


This one even supports a HN, Microsoft Word and Google docs theme.


Wow! I hadn't even spotted that. Very cool.

EDIT: For others, here are quick links to the Hacker News, MS Word, Google Docs and VS Code themes for pieterhg's original:

https://remoteok.io/hn

https://remoteok.io/docx

https://remoteok.io/docs

https://remoteok.io/vscode

This was first posted 45 days ago by pieterhg:

Show HN: I made a fake VS Code so you can browse remote jobs in your office (remoteok.io)

https://news.ycombinator.com/item?id=28472170


> https://remoteok.io/hn

Might also need the reverse of this, HN dressed up as a job search site. For when your parents keep nagging you to look for a job, but you just want to browse HN.


[flagged]


How's giving credit to the original guy "a bit dickish"?

That's precisely what should be done in these situations, bring awareness to the original just because when it was shared it didn't got lucky to get traction on HN.

No one is taking away from the originality or work of OP, but the fact that OP used the other person's work, why not reference it?


The point is not in giving credit, but in taking credit away. All these boards are based on luck. Trying to argue agains why one got up and the other didn’t isn’t constructive. It’s verging on toxic imho


Well except the point is to give credit where it's due.

I read the parent comment in the way of giving credit to the original creator of the content - as far as we know OP could have copied everything (which apparently he did, from images to the css).

In my opinion, the bare minimum he could have done was to credit who he copied it from, since he didn't even bother to take the printscreens for the images himself.

Imagine you're going around downloading projects that didn't get traction on HNs, just change the api, and by chance you got more votes, so it's all good? That's just messed up.


True, and I’m not arguing that this person deserves more (or any) credit than the other, my gripe is with calling for moderation straight up as if he’s almost calling the police. I should’ve made it clear that that is the dickish part imho


I wasn’t calling for moderation. I was suggesting that it would be good to repost the other HN article too. Reposting another article to give it another opportunity to be seen has no impact on this one.

This is an additive action. This is not moderation.

There is a standard HN practice of sometimes reposting articles that didn’t get much traction the first time around. Given that this article that we’re commenting on right now reached the top of HN’s home page but the original (barely credited) work garnered only a handful of comments, I thought it might be worth the original being reposted.

You’ve thrown around some name calling and brought up the word “toxic” here. I won’t respond in kind other than to say I find these comments a little ironic.


Mentioning a moderator is a calling for moderation action. If you just wanted it reposted you could’ve just repost yourself. That would’ve been the actual “additive action”.

I’m aware of the practice. Copycats will copy. You could’ve reposted but you chose to call the cops.


You’re right. I’m a terrible person.


Ignore this person. This is ludicrous.

The OP plagiarised this site, posted this on Show HN as "I built [this site]", and wrote a blog post about how he "built" it, with no mention of the original which he cut-and-pasted almost verbatim.

It's fair that HN give u/pieterhg the credit that was stolen from him here, at the very least. (I personally would remove this post altogether, given it violates copyright.)

How someone can get up in arms about your extremely minimal request, rather than what the OP did, is ... well, I sometimes don't know how on earth people think the things they do. 'Calling the cops', my God.


> I personally would remove this post altogether, given it violates copyright.

Good thing tyrannical people like you are not the moderators here.


You're not. That's not what I said. There's nothing wrong with calling someone's behavior (emphasis on "behavior") a bit dickish! We all do it.


Exactly. Thank you.


I wouldn't assume ill-intent, or even that the company sucks.

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.

[1] https://www.makeuseof.com/tag/6-iconic-games-recreated-micro...


I switched VS Code theme to light to avoid attracting attention (as most of our screens are mostly white normally) when using it occasionally while my job had nothing to do with VS Code (or any code at all). Everyone procrastinates. I wrote some code for sake of procrastination, instead of using social networks like normal people do. Some may probably call this "ill-intent".


Sounds like a bad idea. While stealthier in your case, writing code with a light color theme is heresy. :)


ADHD: I actually feel more focused with the light theme, dark theme somehow feels overwhelming.

OCD: The idea of having some apps dark and some light (some apps, let alone websites don't support dark themes) feels horrible.

Sun: shining bright from the back, straight into my monitor, good luck reading anything with a dark theme.


If I'm honest, I very likely have un-diagnosed ADHD or am on the spectrum at some level. I'm most assuredly OCD. I often have an easy time getting my own office over other techs because I'm willing to sit in what amounts to a broom closet with no windows to escape the nasty, overhead fluorescent lighting prevalent in most office settings. My username should give a hint. I love overcast skies, dark offices, and dark terminal windows and IDEs. Strangely enough, I cannot stand dark theme browsers setups. Surfing the web with a dark theme seems almost like wading through fog.


Might be because dark browser themes are rarely complete enough. There's always something off; last time I tried to theme a fully dark Firefox, I couldn't get the address bar text to be light with a dark background.


Everything you describe is the same for me.


All of that being said, it's still heresy. Just because it may be "right" doesn't mean it's not heresy. Ask history.


If dark theme zealots spent less time evangelising, maybe their eyes wouldn't hurt so much.


Sounds like a bad idea. While I don't agree with the job agreements that claim any work you do on your personal computer outside of work hours belongs to the company, it would be hard to claim such code should not belong to the company if you do it during work hours.


You don't have to claim the code if nobody knows it exists in the first place. It was not anything I ever meant to show anybody. Just small utilities for myself, meant to actually improve my productivity.


Long ago I had a college job doing data entry for a tiny long-distance carrier. We had hourly quotas, etc. and had to retype the information into several different backend systems. One day I dug up a manual and discovered that there were a copy/paste commands available on the terminal we were using. I could get through my quota in 40 minutes. I showed this to my supervisor who told me “we’re paying you to type not to play around on computers”. For the rest of the summer I took a nice long coffee break every hour.


I was once a temp worker hired to transfer a bunch of records from an old, terminal-based mainframe into a newer Windows-based app for an insurance company. I spent about an hour doing so and then went and asked the supervisor if their IT department had an old copy of Windows 3.11 lying around (this was Win 98). 3.x had the "macro recorder" that would capture everything - including mouse movement. They did.

I practiced highlighting all the fields, switching apps, and pasting the data. You could only play back at maybe 3x original speed. Then I started my macro running. I had estimated that I could have done it manually in about three days; the macro would do it in about 30 hours and not screw up any of the data along the way. Told the supervisor what I'd done and asked to be paid for two. She said yes and offered me a job on the spot; too bad I was starting med school in a month.


In highschool math, we were learning LRAM, RRAM, and MRAM - where you estimate the "area under a curve" by making rectangles and then summing their area. A very interesting technique but very manual to calculate.

I wrote a program from scratch on my TI-82 to calculate the answers and my math teacher said "You wrote the program yourself, so you can use it during the exams. You still have to show your work manually, but it sounds great to check your work."

This was a pivotal moment in my path to becoming a software engineer. :)


Ditto. During my college internship (1999), I worked the night shift for a certain very large OG domain name registrar. We had a nightly quota of about 200 domain names to take from being registered to the vanilla configuration. Since this was a Unix environment and I was actually learning shell scripting in college at the time, this was the perfect opportunity to script. I received permission from the greybeard running the servers to proceed with the caveat he vetted the code before making it executable. I went from taking almost 5-6 hours to doing my quota in mere minutes. My boss learned of this and told me to keep it a secret from the other techs. He then put me to work writing code to paginate reports and other things. On my last day at the job, I shared the code with everyone.


The second part of that sentence, probably omitted by your boss “… play with computers. The same way we are charging our client for a highly unoptimised process where we charge by person/hour, don’t make it look like it can be done more efficiently or I’ll fire you”


you're lucky he/she didn't kick you out; go and justify "I need 12 people to do something that one person can do in 1 day, alone"


I had written TSR (Terminated and Stay Residendt) MS DOS "Boss key" 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.


Nice work! Reminds me of the old days of the 'Boss Key' in most games of the 80'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.


Growing up I had a game which had a "Boss Key" in that showed a spreadsheet and some pie charts, I remember wondering why you'd want a fake business looking screen in a game that disappears if you press any key. So many mysteries that remained unanswered before you could ask the internet.


I remember dad's computer at work had Leisure Suit Larry on it with a boss screen. Must have been mid 80's. Also that golf game that spoke to you (I think the Simpsons riffed on it).

Probably most PCs were in offices at the time so it makes sense I guess.


Tinder has this too


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


You have to bare in mind this appears to be an Indian site and a lot of companies in India have a very different culture to that of the Silicon Valley (or even London).


A few years back I worked for a company who had a UK branch. The boss at the UK office was generally nice enough, but very strict about what was allowed at the office. We managed all IT from the Danish office, and would notice that a certain hours in-bound traffic would increase a lot.

When we look into why we figured out that it was a few guys, working insane hours, who where streaming Champions League while working. Technically not allowed at the UK office, but the decision from the Danish IT Manager: "Fuck it! If they're still at work they should at least be allowed to watch a game".


Wisel*!


This is mostly true for services companies (TCS, Infosys, etc). A lot of restrictions are there because clients demand it. It is borne out of fear of data breach. So these companies goes few steps ahead and impose blanket ban of lot of things e.g can't plug USB devices to company provided laptops, No permissions to install anything (except whitelisted software).

On the other hand, new age product companies/startups are similar to Silicon Valley.


This is correct. It's generally the big consultancy firms that are ... unfun workplaces.


I worked for Microsoft about 10 years back. Unfun workplace. I thought it would be so fun to work there. I fought and got through three interviews. The team seemed cool initially. By week three I knew I had made a mistake. These people seemed so stodgy, so incapable of having a bit of fun. So utterly by the book. They almost seemed unable to deviate from the script. There was a sense of fear in the air that took a month or two to sense. I swore then I'd never work for another massive IT company and left after 6 months. I now focus on non-profits and I couldn't be happier. I get to work on cool projects that I often come up with. If I think I can build or code something better than what we have, I'm given the green light to do a working prototype. What more could I ask for? Sure, the pay is lower. But I work 8 hours and go home. There are no laborious crunch days trying to get something out the door. No meticulous, nasty meetings where everyone is playing one-upmanship, or buzzword bingo with gems like "synergistic" or using stupid phrases like "we tuned x and boom goes the dynamite", no talk of cross-functional team spearheading, no sharing an office with people who won't stop farting despite the nasty looks and obvious can of Glade. Give me a task, a deadline, a budget, and get out of the way. I have rarely asked for a software license. I can do most things with FOSS/Linux. I may ask for a Raspberry Pi to prototype something or a slice of a VM for Ubuntu Server. These things cost almost nothing. I truly enjoy getting things done with minimal resources. It's fun working within contraints like RAM, hardware specs. I could see how embedded work would be fun in this regard.


With everything in life--it depends on the team you work with. I work for a Fortune 50 company and in my first role the team was a lot of fun. We had Slack and the memes were borderline for a work environment but it was a high trust team. I switched to a new department and I feel like I work for the federal government. It's like there's a fear around expressing any emotion. There are pros and cons to each situation.

I used to work for a startup and that culture was a lot of fun at first but the "blow investor money on catered lunches every day but you can't hire more engineers" mentality seemed very childish to me. I learned that I like the middle ground.


Never had that as an issue in India as well for me. No one has questioned what I do in my desk or my computer, even in some of the large consulting companies.


Some entrepreneurs running their own companies find the idea of even a minute of employee's time they are paying for being spent on anything other than their actual tasks infuriating.


I’d agree with them if I was selling minutes of my time. I’m selling my ability to use computers to create business outcomes.


I agree to you but they often think they are paying for an entire work day of focused working. As to me, I actually find the idea of 8 hours (or even 6) of uninterrupted (even if we don't count bathroom and lunch breaks) focused working absurd. It would require taking meth or enormous will effort. To me it seems all the time of pure focused work (unless it requires almost no mental processing) per day can only add up to 4 hours or so. IIRC there even is a scientific paper supporting this.


>> I had never had a job in the past 15 years where you couldn’t open a sports page once in a while.

Let's talk about males in the workplace, and web filters.

Isn't it funny how web filters almost never block sports sites?

I worked with a woman who raged about this and was convinced that "People magazine is blocked, but ESPN isn't? It's because men built web filters!"

Interesting perspective.


It's because bosses regulate filters, and bosses are indeed men on average.


Cricket is a very long sport (up to 5 days for a test match) and quite often you don't actively watch it so much as keep an eye on it while you go about your day.

This is good because you can have the window open all day on one of your screens without it obviously being not work. Cricket.com.au has a similar option which emulates a spreadsheet https://live.cricket.com.au/bossmode/2836/51513/western-aust...


I remember in 2016 when Leicester won the premier league, pretty much everyone in a fairly large office (100+ people) just stopped working to watch one of the games on. I had to go to the toilet at some way through it, but just put it on the radio on my phone so I wouldnt miss anything. I didnt realise though, that for whatever reason the radio was about 5 seconds behind, so ditched even using it after hearing the entire office shake with cheering, and then the radio telling me 5 seconds later why.


I think before the open plan office frenzy it was quite normal. By the way, I discovered most of my friends WFH now and don't plan to quit, so maybe we can treat open-plan offices as a crazy fashion that appeared, persisted in spite of multiple studies showing it's bad for everybody (including micromanaging bosses), and now no longer makes sense as those who can WFH.


> I had never had a job in the past 15 years where you couldn’t open a sports page once in a while

Good for you!

But do you really not realise that other people work under less favourable conditions than yourself?


There's "less favourable", and "mind slavery" where can't look at anything non-work related.

It's weird for me that someone with technical skills to build a proper web application would have to be subject themselves to the latter one.


I mean, I assume these 'do this while you work' style applications are more of a joke than serious applications meant to subvert management.


The guy who built this is a programmer, not a call-center slave. It's not hard finding something better in this market.


When we actually used to go to office, we always replaced the CI/CD screens with live cricket feeds all over the office. It was much less distracting than opening a tab on your machine, and you could still stay updated with just a glance. As an exciting match would draw close to the end though, people would pay much more attention to the screens than their work.


Reminds me of the PhD Comics "Emergency button" (http://phdcomics.com/, bottom right) redirecting to a fake journal article and a similar tool for Tinder redirecting to a spreadsheet.

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.


There was a computer game I played a bit at a kid that had a "boss coming" mode. It'd cover the screen with fake progress bars and messages like "updating spreadsheets" and "compiling estimates" or something. Clearly meant as a jokey easter egg, but fun.


The original Leisure Suit Larry in the Land of the Lounge Lizards (1987) had a 'boss coming' key. It showed a spreadsheet bar graph thing, that looked like 'work' although if you looked at the labels it had columns for different condom types like "plain", "ribbed" and a couple of others.


Inspired me to look up the game I was thinking about. It was Enigma, a MasterMind clone: https://www.macintoshrepository.org/20064-enigma-freeverse-


I had a video camera and a motion detection algorithm running to alert me if someone was approaching my cubicle, where I was napping.


Sounds like a modern day George Costanza [1], I mean it as a compliment.

[1] https://www.youtube.com/watch?v=Tw9sQmmfqWg


Reminds me of a script I wrote a few weeks ago. Basically it listens to Google Chat notifications via D-Bus and plays my phone's alarm clock sound when someone DMs or mentions me. In my case it was meant for when I wanted to take a break without blocking people who needed me though (not high-tech sleeping on the job ^^).


This made me laugh, nice one.

Reminds of all the old apps/games that had boss key/buttons -- I wonder if there's a gallery of a bunch of them somewhere? Creative 'fake' docs and spreadsheets etc kinda funny


fun to look around at some of the old ones, DOS games mostly, mock-spreadsheets etc

Even found that ESPN Australia had one built into their CricInfo page back in 2015 that went to a fake spreadsheet screen with live scores embedded in the cells! https://www.kotaku.com.au/2015/11/remember-the-boss-key-from...


Good times! Also the Laffer Utilities from Sierra circa 1990 which was a play on Norton. https://leisuresuitlarry.fandom.com/wiki/The_Laffer_Utilitie...


A file named "index.js", when you open it, the tab says "index.php", and the file contains HTML code.

A comedy at it's finest.


Actually, there's other layer to that joke.

For context, the original fake VSCode was made by Pieter Levels ( https://remoteok.io/vscode ) - which isn't mentioned in this project.

The joke is that his main product, remoteok, was a single index.php file for a long time.

In a world where people spend too much time thinking of tech stacks, the dude was banking on a single php file.


Made me laugh, but also made me think of all those bad experiences I had working with teams from Indian / Pakistan... I can definitely imagine those guys watching cricket instead of pushing new code.


My experience with a team from India who liked to watch cricket was completely positive. They got their work done. And watched cricket. They were completely responsive to me when needed, and would watch cricket when the work wasn't urgent.

I don't think that is any different than any other remote worker. You both work at home and live your life. As long as the work gets done, who cares how the rest of their time is spent, or even when they do it?


What was your experience like?


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'm not sure I could do that with a game that requires more oversight though, test cricket, especially, is slow to watch. Fun though!


I'm not sure that's "UK" specific but probably more office/company/leadership specific..

I don't live in the UK..

For the 2018 World Cup my department repurposed several meeting room TVs to stream matches and folks could gather in those rooms to work while watching the games.

Work still got done on time.

At the same time, a friend who worked down the street forwarded me an all-team memo from his boss that warned employee sick day requests would be "extra scrutinized" during the World Cup. So yeah.. Leadership.


During the last Winter Olympics, IT asked people to please watch on a projector or a common screen in the office, since it took such a toll on the network when everyone had their separate stream.


At a previous job I held a decade ago the network team purchased several TV tuner cards & a DirecTV subscription. They then set up IP multicast, gave the Helpdesk the DirecTV remotes, and set up a Wiki page with instructions on how to watch & a schedule of upcoming special events.


Huh TIL people still watch the Olympics. :-P


Brave from an F1 fan.


Haha fair (but creepy since I guess you had to go crawl my comments or my Twitter to figure that out)


In preparation of Ind vs Pak World Cup semi-final in 2011, about 125 people had applied for a leave (me included!) in a 150-person company I used to work in. The management eventually decided to stream the match in office.

All leave applications were cancelled :)


My previous job just had the sports playing on the displays around the office. If you couldn’t see one from your desk, IT would wheel over a portable meeting TV with sport on it for you. If it was a notable event, and you didn’t even want to pretend you were working, there’d be a stream in one of the auditoriums with audio.

They had to pay a pretty hefty license for the whole headcount of the office, and they whole thing started because one team leader wanted to watch EPL. It was a pretty great place to work tbh.


At almost all of my previous jobs we were allowed to either watch World Cup games at the workplace, or go home during the game if we weren't interested. It felt fair to everyone, and work still got done. It helps that the countries where this happened were Germany, Brazil and Argentina.


2018 World Cup...the owner's son at the place I was working at was going through a stage where he "liked soccer" (we are in the US), and in some sort of attempt to look cool or something, he streamed the games in the lunch room on projectors, at the collaboration table TV's, and they allowed employees to stream the game at their desks.

After the first day, the rest of the company complained enough about the speed of the internet that we had to block it on the firewall.


> the rest of the company complained enough about the speed of the internet

That’s why you stream it to only one conference room (or a small number). By making it explicitly approved for those rooms, you can limit the people who are doing it more clandestinely. Then you only take the bandwidth hit for a smaller number of streams.

Even if you don’t want to encourage it, the better managers would accept that it’s going to happen and then try to minimize the impact.


Exactly.. Just think of it as an all-hands meeting but where people actually care about the outcome!


Worked at a place where the boss made everyone uninstall iTunes when it first came out because he considered it distracting to listen to music all day.


Was it also an open-plan office? Lol


You know it.


The US often has the same issue with the first couple of rounds of the NCAA mens basketball tournament. There are 32 games over the first two days (Thursday and Friday) starting at noon. The internet at work has always gotten slower on those days.

The CBS online stream even has a “boss mode” with a fake spreadsheet.


At Blue Shield of CA, they used a web filter to block all websites that were for "Entertainment purposes" (back in 2015). Even music streaming wasn't allowed across the whole company. We ultimately just streamed music/things on our phones, etc but it was one of the more absurd IT policies for a company of grown adults.


It is called low trust environment.

In high trust environment nobody cares what you are doing -- you are trusted to manage your time to produce results best you can. You are given a challenge and you figure your way to deliver results. We are all adults and we understand different people work differently but most people are unable to keep focus uninterrupted for 8h straight, day after day.

In a low trust environment management thinks they can improve productivity by banning activities that have nothing to do with work.

The reality is that banning everything else than work is not causing people to do more work. It just causes them to work longer but slower. Or be more inventive about avoiding work. Or just staring at the screen with your mind blank (I have been there). Also not care to manage your time better, look out for risks, improvements, etc. And then if they are any good quit after 2 years so they don't get bored to death.

Do you really want to pay your developer by the hour? This is just as stupid as paying by LoC.


Unfortunately it's more difficult for senior leaders to trust engineering because it's more difficult for most senior leaders to understand how effective their engineering team is versus how effective they should expect them to be.

You would never expect this level of micromanagement for sales because it's clear when salespeople are or are not performing. Who cares if a salesperson is only working 10 hours a day if they're bringing in more revenue than any of their peers? Everyone in leadership can see that.

However when an engineer is a top performer that's not necessarily clear. What people see are the bugs that get created, deadlines met vs not met, how quickly inquiries are responded to, etc...


This sounds legit at first sight and I thought so in the past, but as I gain more experience I find it is just an excuse.

I thought a lot about entire topic. I think excuse comes from our internal necessity to think as being better than others. I mean, if I was promoted to manager it must necessarily mean I am better than others?

And so a lot of managers persist telling that excuse to themselves (even if not consciously) that they are better and so can be trusted to do things but other people that are "under" them aren't.

Some other thoughts:

* Trusting somebody necessarily means becoming vulnerable to them. Yes, if you trust an employee it is possible they are going to cause damage. The solution is not to stop trusting employees but rather fire employees who can't be trusted.

* Trust does not mean blind trust. You can still trust people to make good decisions but then expect them to be able to explain it and to verify these decisions. An example of low trust: require lengthy process to approve software license for developer tools. High trust: allow developers to get any piece of software they need, automatically. As them to write down rationale when they request the license. If you request software honestly and can explain what it is needed for you don't have to worry and you can get it immediately.

* I believe most people want to do good. But when they are not being trusted they rationalize doing bad work (and sometimes they are really prevented from doing good work altogether).

* I have worked for a lot of companies, most with very low trust environments by some with high trust. Observing new employees joining taught me that people change when they join the company to fit the culture. People who join high trust environment mostly try to be have responsibly (within their abilities). People who join low trust environment mostly become automatons who feel they can't change anything (because they are not trusted/expected to do so).

* If you are a senior leader of a non-trivial organization, you have no other way than to put trust in your employees because there is no way you can enforce/verify everything. In low trust environments leadership puts trust in their management. In high trust environments senior leaders put trust in all their employees and use managers to detect and remedy faults in the process.


At a previous employer we had a pool table which was well used by almost every level of the company. People would regularly disappear for 20 minutes to play a couple of games.

On a whole I think it was probably neutral or even a positive for productivity. If my project manager wanted to talk through something he'd usually appear over my shoulder and just say "pool?". Similarly other people on the team when struggling with something would do the same and use the time to loosely discuss the issue (often in rubber duck fashion) or just take a few minutes to think about something else which was often enough to get things moving again.


With my current employer this is foosball.

At previous employers me and my team would sometimes do a few rounds in a team pve videogame at lunch, without anyone ever having an issue.

These things, if done in moderation, builds good team cohesion and spirit.


Shit, man, foosball ain't no joke, I can't talk while doing that!

We used to have a table at Oracle, inherited from the SUN acquisition. Managers never used it, maybe because they were mostly women. We had some furious tournaments though, where I discovered that French people play it with balls made of cork - for a slower and more technical game.


Ah yeah, I probably should have mentioned that almost the entirety of the conversations would happend while waiting to be next in line for a game, or post match.

There is little to no coherent speech that happens during those intense 5-8 minutes


wowzers, they let you....do whatever you wanted at LUNCH? how generous...


I really didn't think anyone would have difficulty understanding what was meant here...

Ofcourse the lunch break was ours to do with as we pleased. That wasn't the point.

Rather the point was that no one ever raised any issue with a group of the professional developers playing video games inside the office. And sometimes for longer times than just lunch.

That does speak to the type of people who were managers there. They realized that this was a close group of friends who were honing social and coordination skills that would feed back positively into the team's work.

I advice leaving the snarky tone at the door next time. It can usually only backfire on you.


I'm not a huge cricket fan but there's something so pleasant about having Test Match Special on a crackly longwave radio in the background when I'm working. I'll be sad when they shut AM radio down in the UK even though it's probably impossible to listen in cities at this point.


Could always get the R5 Live stream and process it, or use gnuradio/hackrf etc to rebroadcast it on AM for that real authentic vibe.

https://forum.cockos.com/showthread.php?t=86181

https://www.dlineradio.co.uk/articles/building-an-am-transmi...


Yeah, I'll probably end up doing something along those lines although I reckon it'd probably be cheaper to knock up a little circuit to generate AM from the analogue audio output rather than using an SDR.


This can also be company or department specific. I remember when we moved, I encouraged and actually pushed that we arrange everything in a full privacy mode, regardless of where you stay and how many people are in the office, no one can see your screen or desk without coming up behind you. It's funny how other departments in our same company have a clear hierarchy, where the boss has full privacy and everyone under him needs to have their screens placed that they are visible at all time/when entering the office. The funniest, or maybe saddest was another dev team that forced everyone to face the walls around each office, so the screens are always public.


Nothing to do with being in the UK btw


This. Bringing up UK in this context is inherently implying that it is the country one lives in that is responsible for the quality of work culture. In particular, it implies the work culture in UK is by default better than in India. That's just bad.

And if someone doesn't get that, just replace that with "Here in Germany" or "Here in the USA" and you instinctively understand the notion of nationalism this transpires.


Sure, I get that. I live in the UK though, I didn't want to put the company I work for, it's that simple. The original poster was in India, which is known for a little more strict conditions, also. I've also never needed to use any obfuscated interface to check on scores etc, anywhere I've worked here.


There is a certain culture in the UK that it is OK to monitor the cricket scores. I have seen this multiple times. Test cricket is a 5 day event, so you do not need to monitor too closely in most situations


Indeed, I used to work on a trading floor where they'd show cricket on the wide screens. The game is so slow it kinda lends itself to that. You can concentrate, then turn your head when there's a wicket.


At a previous office, I sent a video to someone. Some time later, I asked if they had seen it yet. They had not. It turns out that team didn't watch videos during working hours, but my team did.


Things can get pretty intense with IT "body shops" in India where the company literally makes money on the hour.


If your job prevents your from taking your mind off temporarily off of a task, then this is nothing short of abuse.

I cannot focus on the task for more than 10-20 minutes, then I take few minutes break, sometimes more. If I couldn't do that, I wouldn't get any work done because quickly my brain would sort of shut down.

I've been through this many times - manager would get me to a meeting room and say "people complain that you are browsing the internet rather than working". I'd say "do I deliver on time?" the answer would be "yes". 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.

Nonetheless nice project! I remember doing similar thing to browse Reddit ages ago ;-)



Excellent!

Reminds me of those old MS-DOS games that often had a "boss key" which switched the game display to some fake spreadsheet.


Great work, but the fact that you had to build it means you need to change the company you work with ;).


Depends on perspective.

> the fact that you had time to build it means you need to keep the job at the company you work with ;)


Reminds me of the Boss Screen in the famous German PC game 'Moorhuhnjagd' where pressing [B] would pause the game and show a fake Word document.


Leisure Luit Larry had this!


I was hoping the cricket score was a pleasant musical soundtrack of live crickets chirping, to listen to while you code.

https://www.youtube.com/watch?v=eKmRkS1os7k


Very good! About 7/8 years ago I did the same to make HN look like some PHP code - did a looot of "code reviews" back then.


Just read the page source! For browsing HN, it is actually feasible.


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.

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.


I think the OP was using this to keep up-to-date on the Twenty20 world cup. This is a much shorter format of the game, and a match can take as little as 2 - 3 hours to complete from start to finish.

https://en.wikipedia.org/wiki/Twenty20


I was hoping for a flame-war about T20 not being real cricket... that would be very un-HN!


Hahaha, I also think that ship has sailed.


This made me think of the last timeless test!

> The last timeless Test was the Fifth Test between England and South Africa at Durban in 1939,[13] which was abandoned as a draw after nine days of play spread over twelve days, otherwise the England team would have missed the boat for home. [1]

[1] https://en.wikipedia.org/wiki/Timeless_Test


If you use VS Code, why not just build that as a plug-in?


That's a lot of work for a joke


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.

https://cybercodeonline.com/


My work is already pain. I don't need to know how bad South Africa is doing while at work.



Kind of poetic justice after they sabotaged our hosted series lineup by harrassing NZ team's family members with fake bomb threats.


I think this is hilarious. And let'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.


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't need a facade.


Clever! Next step would be to build a VSCode extension so you can actually work in VSCode and keep track of live cricket scores


Looks like some one else already built one[0]

[0] - https://marketplace.visualstudio.com/items?itemName=KavinDes...


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)

From tennis or football games to text adventures, there would be so many great options to give the mind a quick break from work.


When I was in high school, I wrote an IRC client that looked like microsoft word. In visual basic. Simpler times...


bro thank you very much I was looking for this my whole career.


If it’s just the scores, I would think using curl/wget in a terminal window might be simpler.


Was thinking the same - sounds like someone was really bored.

And if you have to be in VS Code, why not a plugin or curl script which outputs to a file, which is then in a VS Code tab.


Back in the days I remember the manual (or help file or something) for some submarine simulator game containing an "emergency key" that brought up a spreadsheet screenshot.

Can't remember the name though, but it was on a Mac in the 90ies sometime so before Mac OS X.


It was quite common for pc games (like Sierra's adventure games) to have a boss key in the 80s: https://en.wikipedia.org/wiki/Boss_key


Years ago ( 15+ ) I created not to automatically send cricket updates to office chats.


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.


This used to be a fake excel :-D Thank you for make me smile today.


yeah, but why do you want to hide that you browser this cricket stuff in the first place? Does someone constantly watch what's going on on your screen?


Because, seriously, cricket? ;-)


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


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.


I rarely use solely windows (always remoting to a box), but this keystroke is really nice to know!


It has an insanely obscure origin, the rectangular symbol in the upper left corner of a window represented the space bar.


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...


It'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).


Hope you didn’t regret it after yesterday’s match.


Some posts I upvote just by reading the headline.


Can't imagine going this far without taking the next step of bundling it into an electron app with matching icon, etc.


Modern problems require modern solutions. I hope your boss isn't on HN. If my team wanted to check the scores it wouldn't bother me - I hired people not robots.


Within reason, of course, since at the end of the day you do pay them to run your business. But I've had plenty of workplaces that would have football matches on a TV if need be. And I've spent plenty of time playing mario kart on the clock as well.


Great!

Next step, create a VBA macro that drops the results into Excel worksheet, for those more tasked with Office activities.


someone make the HN version of this plz


You could just change jobs to a company that allows you to have a window like that open on the side.


Title should be appended with "...and could have gotten away with a .sh/.ps instead"


Now, I'm interested in an NBA score like this. I wonder how it will look like on code.


I can'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/browse web stuff for up to an hour.


doing the needful


Anyone remember Ghostzilla?


I loved that prog, I used to use it all the time - I was often on site as the IT person in non-IT companies and would have downtime etc but didn't want to look like I was lazing around and seeing as I just wanted to read forum threads etc it worked brilliantly in keeping me looking respectable.


Fake VS Code everywhere!


Sooo, do we already have something like this for Hacker News?


there are some CLIs to read hacker news in the terminal, if that's enough :)


Great! Can we have one for HN as well, please? :)


used to play some Nethack when didn't felt much like working. quite indistinguishable


Is there a vim plugin for it?


it would be nice to have it to read HN newest topics. Open source for sure :)


Which APIs are you using?


That is spectacular


Who's getting in trouble for looking at sports scores in the office? What archaic organization do you work at this pt ?


Workers in India, China... many, many places.


file has extension .php but is html


A+


the website hang up




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: