Microsoft Speech Recognition comes with a Speech Reference Card. It consists in some pre-determined words that are recognized.
I want to know if it's possible to disable it. Is it?
I have a model that is something like this:
class Input(models.Model):
details = models.CharField(max_length=1000)
user = models.ForeignKey(User)
class Case(Input):
title = models.CharField(max_length=200)
views = models.IntegerField()
class Argument(Input):
case = models.ForeignKey(Case)
side = models.BooleanField()
A user can submit many arguments, per case. I want to be able to say how many users have submitted side=true arguments.
I mean if 1 user had 10 arguments and another user had 2 arguments (both side=true)
I'd want the count to be 2, not 12.
I have many record in my database wich contains datetime field (e.g. 2010-05-23 17:45:57).
I want to count all records between e.g. 15:00 and 15:59 (it all can by from other day, month or year). How can I do this?
I need to pass two array list references to a function and return the reference of merged array list.
how can i do it????
pls help....
public int merge(ArrayList x, ArrayList y)
{
List all = new ArrayList();
all.addAll(x);
all.addAll(y);
System.out.println(all);
return all;
}
is it correct???
Write two functions, called countSubStringMatch and countSubStringMatchRecursive that take two arguments, a key string and a target string. These functions iteratively and recursively count the number of instances of the key in the target string.
Hello!
I'm using SubSonic 2.1. I ran it against a database and it created all the files seemingly correctly. However, when I went to use one of the classes, the app wouldn't built. I'm making a Windows application, but in the SubSonic file there's a reference to HttpContext.Current.User. Does anyone know why that would happen?
I have a class called Deal.
Deal has vote_scores.
I would like to see how many vote_scores are in Deal that are greater than 2.
My guess :
for vote_scores 2 in Deal
count
end
Doesn't really work :D
In Fluent NHibernate, given an automapped component, is there a convention for setting up a parent reference back to the "holder" of the component?
By having for example a property named Parent or something like that? I can't seem to find any information about how to do it or issues about it.
I have a query regarding my report, the report format is as under
**Date** **Received** **Closed** **Pending**
12/01/10 1000 900 100
12/02/10 2000 1000 1000
12/03/10 1500 1300 200
The above report shows the Help Desk tickets Received, Closed, Pending Count as date wise.
How can I create a dynamic SQL query to show above result?
Received Tickets is calculated on SubmitedDate
Closed Tickets is calculated on ClosedDate with status "Closed"
same for Pending Tickets whose status is "Pending".
Please provide me the idea or some sample SQL queries.
When I attempt to count the number of items in a group I get the total number of items in the collection. How do you get the number of items in each group?
I cant seem to get any consistent info on this. Different sources appear to say different things and trhe venerable php.net iteslf (appears) not to explicitly state this - although I must admit, I only had a quick look.
In cases where I am passing around 'heavy' objects, I need to pass by reference, but I dont want to keep typing:
function foo(TypeName& $obj)
if I can get away with simply,
function foo(TypeName $obj)
So what does the standard say?
I wonder if anyone could point me in the direction where I can read about the nuts and bolts of C#. What I'm interested in learning are method call costs, what it costs to create objects and such.
My aim of learning this is to get a better understanding of how increase the performance of an application and get a better understanding of how the C# language works.
The reference should preferable be a book, a book that I can read cover to cover.
I am looking for a plugin or code with a functionality like the "line count" or "line number" in common editors.
The line number usually is shown on the left border of the editors content.
Anyone got an idea how to do it with TinyMCE?
Example:
line number | content
line number one
number two
3.
one line skipped (three is empty)
5.
contents end
Some MATLAB help needed !
I have an set of 1s and 0s, I need to find how many 1s and how many 0s.
(i.e. x = [ 1 1 0 0 0 0 0 1 0 0 1 1 ....] ) . I was looking at some search and count inbuilt function, however I have not been successful.
Hi
I need to synchronize the count down time for all users.So it will display identical remaining time to all in asp.net.
Waiting for your valuable thoughts
Thanking You
I have this snippet of the code
Stack& Stack:: operator=(const Stack& stack){
if(this == &stack){
return *this
}
}
here I define operator = but I can't understand, if I receive by reference stack why it should be & in this == &stack and not this == stack and why we return * in return *this and not this thanks in advance for any help
i know this connects to my original question but i put it here so it is seen by people afresh.
after passing each line of the code into a string,
how can i count the following things:
--the number of standalone functions and member functions per class
--the number of lines per function?
I want to know how can i find all the values that are NULL in the MySQL database for example I'm trying to display all the users who don't have an average yet.
Here is the MySQL code.
SELECT COUNT(average) as num
FROM users
WHERE user_id = '$user_id'
AND average IS_NULL
I am calling this function which is modifying an array by reference:
function addWord(&$words, $wordIndex, $word)
{
$words[$wordIndex] = $word;
}
At the function call,
addWord(&$words, $wordsIndex, $word);
($words is used only during the function call)
doesn't work. How do I make this or a similar functionality work? I want the addWord to be a separate function.
Say you have a user table and an order table which references user (user has_many orders) and contains an item count field.
How could you efficiently ask "how many uses ordered how many items?"
That is, to generate something along the lines of:
Number of users | sum of items
-------------------------------
5 users | 1 item
4 users | 5 items
1 user | 7 items
Thanks in advance.
I have been getting an error in VB.net "object reference not set to an instance of object". Can you tell me what are the causes of this error? thanks..
i am doing:
explain select * from calibration;
it says 521332 rows
when i do:
select count(*) from calibration;
i am getting 521961
can someone explain whats going on here?