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.
My problem is I need to get the position of the viewport relative to the extent of the entire document. I am only concerned with Firefox.
My issue is that everything I have read says that:
viewport height is window.innerHeight
scroll position is window.pageYOffset
document total height is document.height
So, I would expect that if I scrolled to the bottom of a page that
window.innerHeight + window.pageYOffset = document.height
But it doesn't! Can someone please explain to me why this is?
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 = {
}
}
Hi,
My requirement is host a silver light web site on Linux O/S on tomcat or web logic server.
would appreciate if anyone can explain the possibility and approach for this.
Regards,
vidya
I am extremely confused as to how a JButton works. I have read over the oracle documents of the JButton, but I have failed to see how a JButton can have an actionlistener added to it. I have really always wondered how things like JFrames and all that can have things like .addMouseListener and all that. Can anyone explain how a JButton can have an actionListener added to it like the .addActionListener(...) syntax?
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
I'm thinking about moving from MySQL to Postgres for Rails development and I just want to hear what other developers that made the move have to say about it.
I'm looking for personal experiences, not a Mysql v Postgres shootout, just the pros and cons that you yourself have arrived at. Stuff that folks might not necessarily think.
Feel free to explain why you moved in the first place as well.
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,
sometimes, my boss will complain us why we need so long time to implement a feature, actually, the feature has been implemented in other AP before, you just need to copy and paste codes from there. The cost should be low. It's really a hard question, because copy and paste codes is not a easy thing from my point. Do you have any good reason to explain your boss who doesn't know technology?
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 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
Hi i am new to iphone developement , can any one explain me , why setDelegate is used, where we should use it.
[request setDelegate:sender];
thanks in advance.
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 ?
I have a computer working as a server with many SQL Server 2005 databases in it since two years ago.
Today, I don't know why, when I try to connect locally to any of the databases it gives me that error. It fails even if I'm logged in using Windows Authentication or as 'sa' user. It just wouldn't let me access the databases' info.
Could anybody explain me what's going on?
I don't know how to explain this correctly but just some sample for you guys so that you can really get what Im trying to say.
Today is April 09, 2010
7 days from now is April 16,2010
Im looking for a php code, which can give me the exact date giving the number of days interval prior to the current date.
I've been looking for a thread which can solve or even give a hint on how to solve this one but I found none.
I was just looking at this code and i don't understand what RETURN TRUE does or what the point of it is? Can someone please explain?
class Elephpant {
public $colour;
public function dance() {
echo "elephpant dances!\n";
return true;
}
}
Thankyou in advance ;-)
Is it possible to create a custom button -- web user control? I want certain java scripts to trigger when buttons are clicked. If so, are there any articles out there that explain the basics?
I completely understand that I can load javascript via .js link or dynamically at page load, but I would like to just drop a control on the page without manually adding code to every page on every one of my projects.
img_hsv is a Mat element of an hsv image!
when i give cout<<*img_hsv.data+10; it gives true value of the pixel ie 79 as output.
but when i assign uchar * a=img_hsv.data+10; it gives me some other value...
can you please explain me why is this the case? thanks!
What is the best way to produce several tables of unknown size on the same worksheet? Values will be pulled from an oracle database and are used as values on several tables. Is it possible to create dynamic named ranges or is some other method desirable? I have some experience with c# but do not have access to VSTO 2005.
Any help or suggestions would be greatly appreciated.
I am willing to explain the problem further if requested.
I am reading though the sql server 2008 bible and I am covering the views section. But he really dont explain the purpose of views. What is a good use for views. Should I use them in my website and what are the benefits of them.
What is the difference between git and cvs version control systems?
I have been happily using CVS for over 10 years and have been told that GIT is much better. Could someone please explain what the difference between the two is and why one is better than the other?
Hi all!
Someone could explain me how the USB token works?
I have to implement that secure layer in a java application, but i don't know very well how it works!
I know only the mecanism of a normal token key generator!
Thanks a lot!
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__