All Questions
0
votes
0answers
1 views
Sync kinect audio with video stream
Hi i'm trying to sync audio from a kinect device and its color stream. I can get the color stream timestamp, but i cant get a timestamp for audio. The kinect documentation doesn't provide any info ...
0
votes
0answers
3 views
Why my program has time limit exceeded?
post this question before i know you don't understand it, but without help a make finally the program from this problem: Given a number n (n<=10^12) print all its prime factors in strictly ...
0
votes
0answers
2 views
VBScript to color input text field
I have the below code.
I have an input text field which has an example value grey colored. When clicking on the field, the text is erased and color is set to black. Then, after it finishes some ...
0
votes
0answers
3 views
What should I know before making a paint program in Java using Swing?
I'm getting ready to expand upon my knowledge of coding by building a simple paint program that allows you to save and open images in PNG and JPEG formats. What knowledge should I possess before ...
0
votes
0answers
2 views
Android: HTTPS Authentication for HTTPClient
I am connecting to a server via HTTPS. I accept all x509 certificates from the server. Now I just need to add authentication user name and password to the httpclient. I am using HTTPClient not ...
0
votes
0answers
4 views
Custom color scheme for CSS
I was looking for tutorial which will explain me how to create and load color scheme on my HTML site. I have base.css green.css and orange.css. Now, when site is loaded default color scheme is green, ...
0
votes
0answers
6 views
VS 2010 looking for wrong boost lib?
I'm trying to use #include "boost/date_time/gregorian/gregorian.hpp" but wind up with the error message LINK : fatal error LNK1104: cannot open file 'libboost_date_time-vc100-mt-gd-1_51.lib' VS is ...
0
votes
1answer
10 views
I need the closest smaller value in mysql table
I'm making experience points based rank system for my mmorpg. Let's say I have 2 tables,
table1: username - exp
table2: rankname - exp
each rank require a specific amount of exp to get promoted ...
0
votes
0answers
6 views
C++/SDL/SDL_Mixer - error: cannot convert 'void (CApp::*)()' to 'void (*)()' for argument '1' to 'void Mix_HookMusicFinished(void (*)())'
I'm trying to create a C++ application using SDL and SDL_Mixer for audio, and am trying to follow this tutorial. However, using SDL_Mixer's Mix_HookMusicFinished() isn't working, giving the error: ...
0
votes
0answers
3 views
Calculate minimum value of Bitvector in Z3
I have the following piece of code:
(declare-const L4 (_ BitVec 6))
(declare-const L1 (_ BitVec 6))
(declare-const L0 (_ BitVec 6))
(declare-const l2 (_ BitVec 6))
(assert (= l2 (_ ...
0
votes
0answers
2 views
how does angular compile attribute into directives at a later time
I want to be able to have the second directive phone compiled to alert, how should I do this
<div ng-app="website">
<div ng-controller="MyController">
<div ...
0
votes
0answers
4 views
Objective-C (IOS 6.1+): Draw Text in a shape or path
I was wondering if there is an "easy" way to draw text in a shape or a view or a path so that the characters wrap if the text line is too long (even with fonts with different sizes).
Below just an ...
0
votes
0answers
3 views
OpenCV: Training a soft cascade classifier
I've built an algorithm for pedestrian detection using openCV tools. To perform classification I use a boosted classifier trained with the CvBoost class.
The problem of this implementation is that I ...
0
votes
0answers
7 views
Need iFrame Content to Refresh (Loading Page Content Within Divs)
I am using Codiqa, a mobile prototyping tool, which creates div id layers with iframes inside them, and the menu links just go to that DIV id without any real page loading; so when the main Apps menu ...
-1
votes
0answers
12 views
string is not recognised as valid timespan
I am trying to convert time value of overtime.text(hh:mm:ss) into totalminutes
Dim minutes = CInt(TimeSpan.Parse(Overtime.Text).TotalMinutes)
OvertimeAmount.Text = (minutes * Val(OvertimeRate.Text)) ...