I taked the snapshot but I can't record the video and store into hard disk. How to recording the video using JMF? If anyone know, then give the procedure..
We're trying to document the performance difference of our site using different browsers. We use LoadRunner for load testing but I don't see a way to specify the "browser engine" it uses to run it's tests (perhaps it's using it's own?). In any event I'm not sure that LoadRunner is the right tool for this job but we own it so if we can use it, great.
If not, is there another tool out there that I can use to record a script and run it automatically against a site using several different browsers?
Hi,
In entity framework is there a way to have a default value for a column such that Linq to Entity won't require this parameter when constructing a new object?
For example I've marked on column in the EF designer with a default value (I typed in "All" as it was a string). But if I try to construct a new record and not specify this parameter I still get a FOREIGN KEY constraint exception.
The INSERT statement conflicted with the FOREIGN KEY constraint "FK_FunctionalityTypeInterfaceRelationship"
The DDL that is being created is putting all of my many to many associations into 1 table, but I actually want each many to many association in its' own table (for other reasons)
Right now hbm2ddl is creating this table (only Table1Key OR Table2Key OR Table3Key should be filled out for any given record, causing this table to have nullable foreign keys):
+-----------+
| xRef |
+-----------+
| Table1Key |
| Table2Key |
| Table3Key |
| RiskKey |
+-----------+
I want hbm2ddl to create the following 3 tables so that there are no nullable foreign keys.
+-----------+ +-----------+ +-----------+
| xRef1 | | xRef2 | | xRef3 |
+-----------+ +-----------+ +-----------+
| Table1Key | | Table2Key | | Table3Key |
| RiskKey | | RiskKey | | RiskKey |
+-----------+ +-----------+ +-----------+
Hello, i have an application with use Hibernate and Mysql. In Mysql i have a blob in my table.
When i record a value in this table with accent like é or è in mysql i have a good result (binary) so when i want read into my jsp i have ? instead of é
I need to insert a record to a table.
Subsonic builds the query something like this (as far as i know):
INSERT INTO Table1
(Title, Description, RowVersion)
VALUES
(@Title, @Description, @RowVersion)
But i want to remove the RowVersion column from the SQL query bacause its autogenerated by the sql server.
How can i do that?
I'm wondering what's the easiest/best way to determine if a sound, being recorded on the iPhone mic, is above a certain frequency.
My guess is that I would need to use the Audio Queue Services since I don't need to record the audio to a file.
I'm using SDK 4.0, so I can use the FFT functions in the Accelerate framework if needed.
i am trying this
Datetime t=Convert.ToDateTime(row["TimeStamp"])
i am getting this record from Database dat contains the milliseconds too
but when i do this i lose the milliseconds
how can i get the milliseconds
Hi,
i am student and cannot afford the premium support, so my question here:
I have quite a simple XML and it gives me the following Error:
http://img33.imageshack.us/i/screenprn.png/
Ext.regModel('User', {
fields: ['id', 'name', 'email']
});
var store = new Ext.data.Store({
model: 'User',
autoLoad:true,
proxy: {
type: 'ajax',
url : 'ajax/user.xml',
reader: {
type : 'xml',
model: 'User',
record: 'user'
}
}
});
I am about to develop a application using Sencha touch. The issue i am facing right now is Sencha code should read the following XML ( "data.xml" and display News, Articles...), any expert that can help here please ?
<ns2:categories>
<category>
<catId>96</catId>
<title>News</title>
</category>
<category>
<catId>97</catId>
<title>Articles</title>
</category>
</ns2:categories>
and when i click on News as an example should read that particular "recordId" element in "data_read.xml" and display "origUrl","title","data" .the data_read.xml looks like below..
<ns2:records>
<record>
<recordId>96</recordId>
<title>123 Lifted</title>
<author>|</author>
<published>2010-01-20T14:36:00.000-08:00</published>
<origUrl>
http://www.abc.com/</origUrl>
<numComments>0</numComments>
<data>
<![CDATA[<p>According to a report on sd asdas das asdasd asdasd hjjasd .</p>
<p> </p>
<p>This is a landmark vote, and a harbinger of change for this extremely traditional area that also has banned the use of metal r bolt.</p>
<p> </p>
<p>Check out: abc.com and xyz .com for more information.</p>
<p class="modifydate">Last Updated (Wednesday, 20 January 2010 22:36)</p>]]>
</data>
</record>
</ns2:records>
IS this possible in Sencha ? Thanks for your help in advance
I have 2 tables in my linq dbml. One is people with a uniqueid called peopleid and the other is a vertical with a foreign key for peopleid and a uniqueid called id. I need to create a type of linq query that does a left outer join on people and gets the latest record in the vertical table based off the max(id) column. Can anyone suggest what this should look like? Thanks.
Does someone knows how we can combine our current recording into another background playing music? I need some sample code for this. I want to create something like karaoke application in which we can record our voice over an instrumental music.
Hi everyone,
i have the class
var prstore = new Ext.data.Store({
url: 'xmlformat.xml',
autoLoad: true,
reader: new Ext.data.XmlReader({
record: 'price'
}, [{name: 'Pri', mapping: '@rate'}])
});
the data which is stored in the "prstore",i want it to copy it into an array.
something like
var hello = [];
hello = prstore.getrange();
but it's not working for me
please help
thank you
Here's my simple query. If I query a record that doesn't exist then I will get nothing returned. I'd prefer that false (0) is returned in that scenario. Looking for the simplist method to account for no records.
SELECT CASE
WHEN S.Id IS NOT NULL AND S.Status = 1 AND (S.WebUserId = @WebUserId OR S.AllowUploads = 1) THEN 1
ELSE 0
END AS [Value]
FROM Sites S
WHERE S.Id = @SiteId
Hi,
I have a simple gateway listener which generates a log at the screen output via printf. I would like to record it so I can insert it in a mysql table.
printf("\nPacket received!! Decoding...");
I wonder if there is any fast way to do this is C.
In case there is, could I get both outputs at the same time?
Thanks
I'm trying to change the custom accessoryView of a uitableviewcell immediately after the user clicks on the cell. How would I do this?
For the record, I'm using Matt Gallagher' custom table view tutorial:
http://cocoawithlove.com/2009/04/easy-custom-uitableview-drawing.html
Download link for source: http://projectswithlove.com/projects/EasyCustomTable.zip
I have a bunch of records with dates formatted as a string such as '04/17/2009'
I want to convert them to a mysql datetime field
I plan to use a foreach loop to read the old date value and insert the newly formatted value into a new field in each record
what would be the best way to convert that string...I thought php might have a way to do it automatically?
thanks
I have a VOIP application that blocks the microphone and speaker after using it!
Steps to reproduce:
Place a call on 4G (both mic and speaker work)
Place a call on app (both mic and speaker work)
Place a call on 4G (Neither mic nor speaker work)
Steps to fix mic and speaker:
Open applications / Voice Recorder
Record something quickly
Place call (both mic and speaker work)
I have 2 classes with about 300 lines of code each:
RtpStreamReceiver
RtpStreamSender
Am I not releasing something?
I have a table like so:
mysql> show create table foo;
CREATE TABLE foo
(
network bigint NOT NULL,
activeDate datetime NULL default '0000-00-00 00:00:00',
...
)
In the domain object, FooVO the activeDate member is annotated as Temporal.
If I don't set activeDate to a valid Date instance, a new record is inserted with NULLs.
I want the default value to take effect if I don't set the activeDate member. Thanks.
Hi All
I Use a Sql Server Compact DataBase File For Store the Data in My Windows Application Software.In this DataBase I have A Table With Identity Field.When I Insert A Record To the Table, identity Code increment Automatically.But When I Delete All Records From Table,And Insert Records Again,Identity Field don't Start From 1.
I Want Reset this Value to 1.
Please Help Me
I currently have a PHP form that uses AJAX to connect to MySQL and display records matching a user's selection (http://stackoverflow.com/questions/2593317/ajax-display-mysql-data-with-value-from-multiple-select-boxes)
As well as displaying the data, I also place an 'Edit' button next to each result which displays a form where the data can be edited. My problem is editing unique records since currently I only use the selected values for 'name' and 'age' to find the record. If two (or more) records share the same name and age, I am only able to edit the first result.
I loaded same entity record on 2 separate browser window then press submit (hibernate template.merge), version number incremented for both browser window, but never caught any problem with optimistic lock.. so how to test this?
my save() look like this
hibernatetemplate().merge(..);
setJPAObject(null); //reset after save
Just curious here: is it possible to invoke a Windows Blue Screen of Death using .net managed code under Windows XP/Vista? And if it is possible, what could the example code be?
Just for the record, this is not for any malicious purpose, I am just wondering what kind of code it would take to actually kill the operating system as specified.
I am trying to use python's multiprocessing library to hopefully gain some performance. Specifically I am using its map function. Now, for some reason when I swap it out with its single threaded counterpart I don't get any memory leaks over time. But using the multiprocessing version of map causes my memory to go through the roof. For the record I am doing something which can easily hog up loads of memory, but what would the difference be between the two to cause such a stark difference?
Say I have 2 tables:
Person
- Id
- Name
PersonAttribute
- Id
- PersonId
- Name
- Value
Further, let's say that each person had 2 attributes (say, gender and age). A sample record would be like this:
Person->Id = 1
Person->Name = 'John Doe'
PersonAttribute->Id = 1
PersonAttribute->PersonId = 1
PersonAttribute->Name = 'Gender'
PersonAttribute->Value = 'Male'
PersonAttribute->Id = 2
PersonAttribute->PersonId = 1
PersonAttribute->Name = 'Age'
PersonAttribute->Value = '30'
Question: how do I query this such that I get a result like this:
'John Doe', 'Male', '30'