All Questions
0
votes
0answers
1 views
If statement Logic flag
So I have two If statements and an overloaded function that needs to be used. I can't seem to figure out the logic for how to get this to work as i want it. To make it easier i took out the nonsense ...
0
votes
0answers
1 views
Count two values (total words & uniques) in multiple files (texts) and output a csv in Python
I work with various collections of text files, about which I want to know a variety of things, like word counts, etc. I have code that successfully does this, and now I want to introduce a script into ...
0
votes
0answers
2 views
Prolog defining my own operator and arithmetic_function
I wanna declare an ! operator who will used to calculete facorial of an Integer.
I have this code in file.
:- arithmetic_function(!/1).
!(X,Y):-sil(X,1,Y).
sil(0,X,X):-!.
sil(N,A,X):-A1 is A*N,N1 ...
0
votes
0answers
2 views
16-Digit Code Shows Hidden Download Link?
Could anyone point me in the direction of having a a form on a website, consisting of just a text field, that reveals to a download link when they punch in the correct 16-digits?
Any help ...
0
votes
0answers
3 views
Client gui in V8 / python
I have a client application with interactions with servers, but no clients. I'm thinking about using ghost.py as a frontend (instead of wx or Qt). Are there any projects which use V8 for client apps ...
0
votes
0answers
3 views
Django Tutorial pub_date__year filter works and pub_date__second filter doesn't
I'm working my way through the Django tutorial, and I have a model as follows.
class Poll(models.Model):
question = models.CharField(max_length=200)
pub_date = models.DateTimeField('date ...
0
votes
0answers
3 views
Setting value of a JScrollPane
INTRODUCTION
I am trying to set the vertical scroll position of a JScrollPane
The scrollpane doesn't have a vertical scrollbar but I want to scroll the view.
I am able to successfully do this within ...
0
votes
0answers
3 views
Updation of Database using two seperate EXE in Delphi at same time
two seperate exe (Process) is using same database and update database, how to syncronise database operation if user run both the exe for database updation in Delphi xe2. if we run the one exe it looks ...
0
votes
0answers
4 views
QtSerialPort framing error
I have built qtserialport for Qt4 and written a console application to log data from a device which sends information at 9600 bauds, 8 data bits, 1 stop bits and no parity, which I think is the ...
0
votes
0answers
3 views
Storing Control Mappings for Use with XNA
I am working on creating a wrapper for user input in XNA (such that a keyboard, mouse, or controller can be treated more or less equivalently throughout the rest of the application). As part of this, ...
0
votes
0answers
18 views
jquery drop down not working
Trying to use http://labs.abeautifulsite.net/jquery-dropdown/ for a simple drop down menu but for some reason, I cannot get it to work.
<a href="#" ...
0
votes
0answers
4 views
Timestamp with local time zone
I've been reading about adding a column that displays the local timezone with timestamp. I can just figure out the right code. Here is what I have so far:
INSERT INTO o_employees (Start_Date) VALUES ...
0
votes
0answers
3 views
Maps V2 myLocation blue dot callback
I want to be able to click the blue dot (my location) that is shown on the map. Is there anyway to get a callback from that click?
Thanks,
Martijn
0
votes
0answers
8 views
generate date for any duration and integrate it with LINQ query of student exam/marks list
I have a Exam date table and marks of students and while generating report the user can select any date could be 20 years from now. The report has to show the date and Day but blank marks and course ...
0
votes
0answers
4 views
How to insert binary data into a PostgreSQL BYTEA column using the C++ libpqxx API?
I'd like to insert some binary data into a BYTEA column, but I find the Doxygen output is lacking in details, and http://pqxx.org/ has been down for the past few days.
How would I go about inserting ...