Let's Share

YouTubeInsider Tools for Visual Studio

posted Aug 12, 2016, 12:10 PM by Saurabh Sarkar   [ updated Aug 12, 2016, 12:19 PM ]

Developers refer a lot of online video tutorials (Youtube) in their life span. We agree that's the way to get started with any new language or technology. But, all tutorials don't have the link to the code, explained in the video. To get the code, developers often pause the video and type the whole code page by page. This is a cumbersome experience. What if, a tool that could help developers by extracting the code out of the Youtube tutorial video. It would extract the code and make it ready as a text or a code file for the developer, to make changes accordingly. We agree that sometimes it won't a complete code to run, but it can be evolved later to do that.


  • Provides YouTube video search tool in Visual Studio
  • No interruption to switch to a browser
  • Plays YouTube Video in Visual Studio IDE
  • Captures and Crops source code section in a frame
  • Extract code out of the selected frame
  • Deducts the programming language of the source code in the video

Future Advances

  • Better OCR engine to provide more accurate translation for source codes specific (may be include compiler)
  • Best result from multiple frames
  • Investigation to design a better classification algorithm with ample amount of training data to deduct the programming language.
  • Timestamp of a spoken word in the video
  • NLP to convert the audio of the video to provide a complete automation of the workflow

APIs Used

  • GoogleApis.YouTube
  • Tesseract
  • Microsoft.ProjectOxford.Vision

Brute Force Defense - an android app suite to find/secure your phone using Microsoft Band

posted Aug 12, 2016, 12:06 PM by Saurabh Sarkar   [ updated Aug 12, 2016, 12:18 PM ]

Check out this new android app for Microsoft Band. Helps you find your phone: I always loose my phone around the house somewhere. Won't it be easier and handy to just press a button and find your phone. Brute Force Defense does it for you. You use your Microsoft band to ring your phone. Brute Force Defense allows you to Lock your phone if you left it unlocked. It also allows you to turn the silent mode on if you are somewhere important and cannot afford to let your phone ring. Just pick up your phone, add the Brute Force Defense Tile to your band and keep your phone safe.

Brute Force Defense Team

Forecast Your Trip - accoording to your choice of weather

posted Aug 12, 2016, 12:01 PM by Saurabh Sarkar   [ updated Aug 12, 2016, 12:16 PM ]

Forecast Your Trip helps your to plan/forecast your trip according to your choice of weather. Go ahead try it now. Come on.

Please check it out at:

and like the fb page at: https://www.facebook.com/forecastyourtrip

Right now its just available for android but iPhone/WindowsPhone is not so far. Please help me promote it and ofcourse try it as well and provide valuable feedback.

Stanford researchers unveil virtual reality headset that reduces eye fatigue, nausea

posted Aug 4, 2015, 6:12 PM by Saurabh Sarkar   [ updated Aug 4, 2015, 6:12 PM ]

Assistant Professor Gordon Wetzstein's new Stanford Computational Imaging Group has developed a light-field stereoscope that creates a dramatically more natural virtual reality experience than what is present in today's leading headsets.


My thesis at NCSU repos

posted Jun 12, 2015, 10:24 PM by Saurabh Sarkar

Check out my thesis report: http://repository.lib.ncsu.edu/ir/handle/1840.16/10358

CS Student Work/Sleep Habits Revealed As Possibly Dangerously Normal

posted Feb 24, 2015, 9:00 PM by Saurabh Sarkar   [ updated Feb 24, 2015, 9:02 PM ]

Study on student's sleep habits by researchers at Brown University.

Effects of Mental Fatigue on Programming Tasks

posted Feb 18, 2015, 2:54 AM by Saurabh Sarkar   [ updated Feb 18, 2015, 9:15 AM ]

Imagine a newly graduated software engineer joined the software industry. All those late night assignments/homework are turned into business projects. Waking up late transformed into dressing up and attending early morning scrums. His schedule changing totally into something unacceptable by his body and mind. Every individual has their circadian rhythm and working patterns. If he is forced to work against it and more than his cognitive capacity, he will get into the fatigue state. Fatigue is a physiological state of reduced mental or physical mental capability. It results from excessive workload(both physical and mental), exhaustion, or sleep-loss. Fatigue (also called exhaustion, tiredness, and lethargy) is a complex phenomenon encompassing several physiological and psychological characteristics. Fatigue can be categorized according to the distinct effects it has on a person. Mental fatigue is defined as a state of weariness, with a feeling of boredom/saturation and declines motivation. Skills Fatigue deals with the inability to perform a certain task at one's usual capacity.

He is motivated to work hard, and hence is involved in numerous projects with various pressing deadlines. He himself is not aware of that he is suffering from psychological disorders. He may make mistakes and therefore introduce bugs during software development. The industry is not aware of that the demand to offer constant support and the work in large quantity is degrading the quality. Fatigue is not just seen in newly graduates but is also been reported by experienced software developers. Several studies have been conducted to understand the risk of reduced cognitive capability while driving or performing other physical activities in industries. However, very little research has been carried out in assessing the risk for programming.

We conducted a survey and received responses from 311 participants. The age distribution of the participants lies mostly between 17
and 74. We had new as well as experienced software developers in the respondents. One of our survey questions was on a Likert scale from 1 to 5 asking developers to rate the frequency and severity of the effects of fatigue according to their personal experience.

Around 65% of the respondents thought it is a high severe problem. 55%-60% respondents stated that it occurs to them more often than not. The result motivated us to delve into the problem.

Among the factors which lead to mental fatigue, Stress and Sleepiness are the highly ranked that which validates our definition of mental fatigue in programming tasks.

The survey helped us define some factors which are affected by mental fatigue in programming. We discovered 6 factors which are affected by mental fatigue in programming tasks.
All factors are intertwined in a way, but Performance seems to be voted to affect more in programming. Detailed description of the factors can be found here.

The study of mental fatigue, including its causes and symptoms, is traditionally supported by data collected through instrumentation, self-reporting mechanisms (generally questionnaires) or, more recently, through the use of physiological sensors. The research is to conduct, monitor, and analyze data in a non-invasive and non-intrusive way and present the results in a cordial manner. In future work, we will also consider factors like developer's behavior and working scenarios. Future work would include coping mechanism for fatigue.

Initial Experiment
We intended to come up with a focus curve that can show some working pattern of the programmer. Below is the working pattern of a programmer during a Hack-a-thon.
We can observe that all the features are diminishing while approaching the sleep time. We observed that the co-relation of Energy with other features were significant. The results were promising and gave us the motivation to continue our study.

With the increased interest in the behavior of software developers, more research should be carried out to identify the adverse effects of mental fatigue on software development.

Feedback and Comments are highly encouraged.

1-7 of 7