Saturday, December 6, 2014

Performance wrecks composability

Usually one should look after the app performance in parallel with app development. And that is because performance can't be (easily) added afterwards.

Thursday, December 4, 2014

Error: syntax error: missing ';' before identifier 'hdr'

Problem
Visual Studio 2013/2015 build fails with error "prsht.h(607): error C2146: syntax error : missing ';' before identifier 'hdr'"

Cause
You didn't include the WinSDKVer.h header in stdafx.h. (Rebuild the project after changing stdafx.h).

Wednesday, November 19, 2014

Segmenting YouTube videos

Videos in YouTube can be segmented and enriched with extra information using viewers themselves.
When user adds "T=80" to the video hyperlink, the video starts playing from 80 second (YouTube start-end parameters). Then the extra information can be extracted from the context of the page, where the user inserts this link. It is smart.
But usually a user associates extra information with the particular segment of the video (T1; T2), not the segment from time T to the end of the video.  What to do, if the segment's end time is not specified in a link ?  It can be inferred from the watch time of all users who use given start time T for a particular video. Isn't it nice? Extra information is extracted from a way, in which the users watch the video.