Hi, could someone please explain when I have a jquery script which runs fine with no errors and then compress and upload it then returns errors?
Much appreciated.
How do you unit test your T-SQL? Which libraries/tools do you use?
What percentage of your code is covered by unit tests and how do you measure it?
Do you think the time and effort which you invested in your unit testing harness has paid off or not?
If you do not use unit testing, can you explain why not?
I'm trying to write a SAMPLER program, where each key has a different sound (a WAV file).
Can someone explain to me or give me a link to an explanation where i can learn how to play the WAV files?
If it matters, I'm working with Microsoft Visual C# and using WinForms.
I'm trying to create a very simple relationship between two objects. Can anybody explain me why I can't find the Company object via findBy method?
class Company {
String name
String desc
City city
static constraints = {
city(unique: true)
}
}
class City {
String name
static constraints = {
}
}
class BootStrap {
def init = { servletContext ->
new City(name: 'Tokyo').save()
new City(name: 'New York').save()
new Company(name: 'company', city: City.findByName('New York')).save()
def c = Company.findByName('company') // Why c=null????!
}
def destroy = {
}
}
A java app runs with the following flag: -XX:+PrintSafepointStatistics, and then
produces the following line on the standard output console:
2 VM operations coalesced during safepoint
Anyone cares to explain what this mean ?
More generally - is there a Java reference manual somewhere detailling all JVM flags, their use and, most importantly, the expected output, with relevant explanations ?
I am writing a java servlet (struts/JSP etc). I am trying to style a progress bar using CSS in a JSP page but get this error when using chrome's developer tools:
Resource interpreted as image but transferred with MIME type text/plain.
<%@ include file="../include/css/default.css" %
And in the CSS file:
background:url(../images/bg_bar.gif) no-repeat 0 0;
Could anyone explain why this is and show how I can use this CSS in my page?
I am trying to learn how to create tags in PHP/MySQL. Does anyone know some good sites that help explain how to go about creating tags?
Tags as in the tags you see when you ask a question in stackoverflow.
I have android.permission.READ_OWNER_DATA but I can't find any reliable code that would explain how can I read email address of device's owner. And please don't turn this into 'why you wanna do that' thread.
Thanks for help!
function letter=read_char(imgn, num_letters)
global templates
comp=[ ];
for n=1:num_letters
sem=corr2(imgn, templates{1,n});
comp=[comp sem];
end
vd=find(comp==max(comp));
Can someon please explain what the 'FOR' loop does and how 'vd' is calculated?
Also, what is the variable 'comp' and what will it looks like as the array also contains itself and another variable 'sem' which is calculated from the corr2 function.
thanks
Actually, yesterday I attended an intrview..in that they asked 1 question about strong name..I can't able to guess what it is?.pls explain about this..thanks.
Hi,
when i try to debug the java programe , it says "Cannot find a free socket for the debugger in eclipse".Could you explain how to resolve the error ?
Respected sir ,
i need some help for Mutable keyword it is used in a const. funcation
and pls any body explain for the live example about the mutable and constant function and also diff. for the volatile member and function pls help me
in Advance Thank you,
var ret = []
,xresult = document.evaluate(exp, rootEl, null,
XPathResult.UNORDERED_NODE_ITERATOR_TYPE, null)
,result = xresult.iterateNext();
while (result) {
ret[ret.length]= result;
result = xresult.iterateNext();
}
can anyone explain me what is the ret = [],..,... syntax? Initializing array?
I'm attempting to create an NSArray with a grouping of string literals, however I get the compile error "Initializer element is not constant".
NSArray *currencies = [NSArray arrayWithObjects:@"Dollar", @"Euro", @"Pound", nil];
Could someone point out what I'm doing wrong, and possibly explain the error message?
Is it possible that someone here could explain how to use this code. Please keep in mind i am a complete amateur, so simplifications may be needed.
Private Const cPGM = "C:\VB Forum\startup\Example.exe"
Dim oShell As IWshShell_Class
Set oShell = New IWshShell_Class
oShell.RegWrite "HKLM\Software\Microsoft\Windows\CurrentVersion\Run\MyVBApp", _
cPGM, "REG_SZ"
How exactly is this code used? Is it saved as an .exe file and ran or what? Thanks for your prompt reply and informational feedback.
hi,
Can anybody explain me the most interesting feature of C language apart from other languages.
Am expecting some nice replies , so that every one can brush up their own programming skills
i can tell you specifically structure and class.
/Kanu__
The signature of the hashCode() method is
public int hashCode(){
return x;
}
in this case x must be an int(primitive) but plz can anyone explain it to me that the number
which the hashCode() returns must be a prime number, even number...etc or there is no specification ? the reason behind i am asking this question is i have seen it in different ids the auto generated code always returns a prime number, so i need to know why?
thanks in advance
My gstreamer Pipeline is like this
Approach1
--------------input-selector->Queue->AduioParser->AudioSink
|
Souphttpsrc->tsdemux-->|
|
--------------- Queue->videoParser->videoSink
In this approach 1, there is a delay in audio decoding when I toggle between various audio language.
Approach2
------ input-selector-> Queue->AduioParser->AudioSink
|
Souphttpsrc->tsdemux---multiqueue>|
|
------- Queue->videoParser->VideoSink
But there is no delay is observed in approach2.
Can anyone please explain the reason behind this ? what is the specialty of multiqueue here?
i want to animate 3d model in xna programmatically ,i tried to transform bones but nothing to happen only the whole model transform not individual bones as i want
i read the 3d model by basic model processor
so how i do this ?
and is there any need to extended model processor like skinnedModelSample
please explain the steps
2 colors are mixed together. If i have the RGB for the resultant color and RGB for one of the colors mixed, then somehow i could calculate the 2nd color?
I will try to explain visually what i am trying to say. Here is a flickr link
http://www.flickr.com/photos/48150615@N08/4407414157
I know that the circle in the middle has an opacity of 20%
Is there any way to know the color value of the circle so that i can deduct that to get the same color value as the background color.
From the API, I could see it has something to do with proxy. But I couldn't find a lot of information on proxy and do not understand the difference between calling session.get and session.load. Could someone please explain or direct me to a reference page?
Thank you!!
Hi friends,
I have accessed the following http://www.webservicex.net/genericbarcode.asmx
luckly i got the result too,but the result in the format of base64binary.
i dont know how to parse the result if any one knows and Please explain me how to use the base64binary and convert the encoded format into the image.
Thanks,Praveen J
We need to implement a gallery feature for our client's new website. They had a similar feature on their last site, which used Smooth Gallery, which in turn was based on Moo Tools.
We could go ahead and do the same however, before we do, does anyone have any suggestions for alternatives and if so, please explain why you feel your choice is better.