Monday, 27 May 2013

javascript web audio example


paste this code in chrome console  (start a sound)

var context = new webkitAudioContext();
var sinewave = context.createOscillator();
sinewave.connect(context.destination);
sinewave.noteOn(0);


off sound

sinewave.noteOff(0);



more example watch this vedio
http://ontwik.com/javascript/stuart-memo-javascript-is-the-new-punk-rock-jsconf-eu-2012/

Thursday, 23 May 2013

Non-contact measurement of heart rate




Experts from Fujitsu developed atechnology,that allows you to measure the frequency of the human heart by analyzing video in real-time person. Principle is to measure the amount of blood circulating in the superficial blood vessels. This is achieved by measuring the absorption of light skin face. To display the results enough five seconds

Saturday, 18 May 2013

My opinions for Computer programmer

Programmers who don’t code in their spare time for fun will never become as good as those that do.

  I think even the smartest and most talented people will never become truly good programmers unless they treat it as more than a job. Meaning that they do little projects on the side, or just mess with lots of different languages and ideas in their spare time.
                                                                                                                                    by Pranay  Soni


Not all programmers are created equal.


  Quite often managers think that DeveloperA == DeveloperB simply because they have same level of experience and so on. In actual fact, the performance of one developer can be 10x or even 100x that of another. It’s politically risky to talk about it, but sometimes I feel like pointing out that, even though several team members may appear to be of equal skill, it’s not always the case. I have even seen cases where lead developers were ‘beyond hope’ and junior devs did all the actual work – I made sure they got the credit, though.                      
                                                                                                                                    by Pranay  Soni


The only “best practice” you should be using all the time is “Use Your Brain”.

  Too many people jumping on too many bandwagons and trying to force methods, patterns, frameworks, etc. onto things that don’t warrant them. Just because something is new, or because someone respected has an opinion, doesn’t mean it fits all.
                                                                                                                                    by Pranay  Soni

Tuesday, 14 May 2013

Add .json file in asp.net web.config file



 How can I enable the download of *.json files from an old ASP.NET site (IIS6 I am led to believe)?
 I am getting a 404 page instead of the JSON file.
 Do I need to create a web.config file? What goes in it?

you can just add the following to your web.config in the system.webServer section:
<staticContent>
    <mimeMap fileExtension=".json" mimeType="application/json" />
</staticContent>