I've got a few DOM elements, say text-field input A, B, C, and all of them have the property of 'onclick'. How do I find to which object a particular 'onclick' belongs?
hey,
I'm trying to programming a crossword creator. using a given dictionary txt file and a given pattern txt file. The basic idea is using DFS algorithm. the problem begin when the dictionary file is v-e-r-y big (about 50000 words). then i recive the :
Exception in thread "main" java.lang.OutOfMemoryError: GC overhead limit exceeded
i know that there is a part in my program that waists memory, but i don't know where it is, how to find it and how to fix it
Hello.
I have pretty big table with lots of columns. I want to find all lines, with some word in it.
Sure, i can write something like
SELECT * FROM table WHERE 'blablabla'
IN col1 OR 'blablabla' IN col2 OR ...
But I think it's not the best solution =))
Hi
I need to enable pdo_mysql in my EasyPhp environment, so I went to php.ini file and uncommented the following line:
extension=php_pdo_mysql.dll
Unfortunately I still have the same problem.
I'm using the CLI so I suppose I need to locate the php.ini file used by the CLI. How can I find it?
Thank you
I'm looking for an algorithm to find bounding box (max/min points) of a closed quadratic bezier curve in Cartesian axis:
input: C (a closed bezier curve)
output: A B C D points
friends i am doing noise reduction in images. for that i have to compare the original image and the filtered image mathematically.please guide me how to find SNR of images in MATLAB.
is there any other mathematical comparison of images available in MATLAB?
PLEASE HELP ME AS SOON AS POSSIBLE.
I have an instance of Tomcat 6.0.18 running on Sun's Java HotSpot(TM) Server VM build 1.6.0_14-b08. Is there any way for me to find out what garbage collection algorithm the JVM is using to run my web application?
I have a number resx files as follows,
Resources-es-ES.resx
Resources-es.resx
Resources.resx (english defaults)
They are compiled into an assembly and I use them for localising my web pages by simply referring to Resources.Ok for example. My question is whether there is a way to find out the "rendered culture", e.g. if I come into the site with my CurrentUICulture set to "fr-fr" for example it will fall back to using the English resources and I'm wondering how to get that information to help me with some JavaScript localisation.
I'm loading profile pictures from Facebook, cache them on disk and load them into cells of a UITableView.
Now I'm wondering, how I can find out when someone has changed his/her profile picture on Facebook that I have to load the new image from the web instead of using the one cached disk.
The url of the image is always the same. Is there a lightweight way of doing this without downloading the image and comparing it to the local file?
The problem is, say, i am having a page xyz. And in that page there are 20 portlets. How can i find out the names of all portlets placed on the page.
Provided i am having the admin privilege.
I have the following structure in Python:
letters = [['a', 'b', 'c'], ['p', 'q', 'r', 's'], ['j', 'k', 'l']]
I would like to find all the possible combinations of letters in the order that they currently exist. For the example above this would be:
apj
apk
apl
aqj
aqk
aql
...
csk
csl
This seems like it should be a very simple thing to do but I cannot figure it out.
What is the best way to find if an object is in an array ?
This is the best way I know:
function include(arr, obj) {
for(var i=0; i<arr.length; i++) {
if (arr[i] == obj) return true;
}
}
include([1,2,3,4], 3); // true
include([1,2,3,4], 6); // undefined
Given a list of words which contains the letters a-z at least once, how would you write a program to find the shortest pangram counted by number of characters (not counting spaces) as a combination of the words?
Since I am not sure whether short answers exist, this is not code golf, but rather just a discussion of how you would approach this. However, if you think you can manage to write a short program that would do this, then go ahead, and this might turn into code golf :)
Hi there
My company has got iPhone app development expertise but I'm not sure what's the best way to find customers who need to develop iPhone apps. Any suggestions?
Alex
Hi!
I have to be able to set a random location for a waypoint for a flight sim. The maths challenge is straightforward:
"To find a single random location within a quadrangle, where there's an equal chance of the point being at any location."
Visually like this: http://screencast.com/t/NTUxMzJhZGQ
An example ABCD quadrangle is:
A:[21417.78 37105.97]
B:[38197.32 24009.74]
C:[1364.19 2455.54]
D:[1227.77 37378.81]
Thanks in advance for any help you can provide. :-)
I want to know what are the best links in a site are? It may be pagerank wise or popularity wise. For example http://www.pragprog.com is a site. I want to find out what are the most relevant links this site has. The links should not be external pointing links. It should be of the same site. Do google or any similar site can tell such information?
Hi there, I'm looking to pass parameters into a Windows Service not only upon launch but while it's still running as well. I've heard the best way to do this would be through the COM but I have no idea where to even get started. Are there any good places you can recommend where I can find some helpful information about how to get started with the COM and Windows Services? Thanks in advance!
Hi,
Consider there are 3 different centers across the country,which have their different holidays schedule.Now i want to find that the current date is the business day or not(eliminate saturaday ,sunday and Holidays).
tell me,Which one is feasible? Can i store the details of the holiday with description in 3 separate tables for 3 different centers or in a 3 separate file? is it possible to read the file using PL\SQl?
I am always wondering is there such a place/site that I can find the latest information about IT?(follow some 'big' guys on twitter?) Sorry if this question is subjective but I am really interested in that
In Netbeans or in Eclipse, you can use "Find Usages" or "References" from the right click context menu. If a() calls b(), using the functionality from b() will show you a(). However, what I want is to be able to see some kind of tree or have an option to see all usages of a given/class or method, such that if z() calls a() that using the functionality will show both z() and a().
Any IDE plugins or external tools that can do this?
In searching the web I came across http://groupaware.mobi/iphone which
has a sample iphone navigation site.
Is there someplace I can find a similar thing for android? i.e.
sample web pages with css, sample templates, navigation etc.
If not, what suggestions would you have to offer to someone looking
to build a web page for android?