problem

How do I fix JavaHL (JNI) Not available after I have changed the logon password on my Mac?

I have installed Eclipse 3.5.2 and the plugin Subversion JavaHL Native Library Adapter 1.6.9.2 and this worked without any problems. However, this morning I was forced to change the password to logon to my Mac and since then I get the message that "Subversion native library not available" when I try to save any changes. Can anyone help? ...

jQuery: create regex pattern from variable

hi all, i'm trying to create a regex pattern out of a variable like: var tag = "style"; var pattern = "/<"+tag+"[^>]*>((\\n|.)*)<\\/"+tag+">/gi"; but it won't work - anyone can tell me what's wrong? thx ...

PHP javascript problem

i am beginner of shopping cart application. i am installed os commerce downloaded code in my local computer. It is up some extent working, but before checking page i stuck on same page. i am trying to pass variable information to javascript function, it is working. And i required to set java script variable set to session. how can ? i...

Hashtable comparator problem

Hi guys i've never written a comparator b4 and im having a real problem. I've created a hashtable. Hashtable <String, Objects> ht; Could someone show how you'd write a comparator for a Hashtable? the examples i've seen overide equals and everything but i simply dont have a clue. The code below is not mine but an example i found, the ...

$_GET encoding problem with cyrillic text

I'm trying this code (on my local web server) <?php echo 'the word is / думата е '.$_GET['word']; ?> but I get corrupted result when enter ?word=проба the word is / думата е ���� The document is saved as 'UTF-8 without BOM' and headers are also UTF-8. I have tried urlencode() and urldecode() but the effect was same. When upload it ...

PHP - move_uploaded_file doesn't work for music/video

Hey, I'm working on a upload script and using move_uploaded_file() function. The problem is, that it only works for .txt, .jpg, .psd and some other file types I've tryed, but not for .mp3, .mov, .avi and maybe others. There is nothing to the script, it's just the function. An interesting thing is, that it doesn't show any error msgs, i...

Strange behaviour on jQuery function.

Why this two functions have the strange behaviour of when I click on thead, the tbody expands and then collapse. On the second function could do some testing adding alerts to the if, else statement but it only gets into the if statement so it would only slideUP. Another thing I notice is that when there is only one row in tbody it work...

WPF rendering problem with HWND children in the way

I suppose it is safe to say that WPF renders its contents as a window background. There are no child windows in a traditional HWND sense. So, when one introduces something HWND based in a WPF app, like a WebBrowser, things start to go wrong way it terms of visual appearance. Consider a Window having a Grid with two children, WebBrowser ...

Jquery event triggering twice for no reason

I'm having a problem with a simple form where i'm attempting to fire an ajax request when someone types something. After debugging I'm left with an alert when the event is fired but it shows up twice, irrespective of the browser. (Ignore the 'rel' attribute in the input tags, that's for something else, unless you think its the rel attrib...

Java Robot key activity seems to stop working while certain software is running

I'm writing a Java application to automate character actions in an online game overnight (specifically, it catches fish in Final Fantasy XI). The app makes heavy use of java's Robot class both for emulating user keyboard input and for detecting color changes on certain parts of the screen. It also uses multithreading and a swing GUI. ...

PHP/HTML Strange refresh problem

After I upload my PHP files to my web host, I view the page by the URL. So what I usually do as I work on the page is make a change, upload, then refresh the browser to view my changes. What I find is that sometimes I refresh and it shows me a previous version of the page, I hit refresh 5 times and it shows me 5 different versions of t...

Getting Google results in Java? Need help!

Hello. Right now, I'm trying to get the results from Google in Java, by searching for a term. I'm using a desktop program, not an applet. That in itself isn't complicated. but then Google gave me a 403 error. Anyways, I added referrer and User Agent and then it worked. Now, my problem is that I don't get the results page from Google. In...

problem with binding events in Jquery chain

Hi , I am currently using jquery chain to bind html controls with JSON output. I have a few elements in my that I have to bind events on. Since these elements come within the scope of the the JQuery's root I observer that none of these bindings were working , then I figured out the builder in the hash that jquery chain takes in as a pa...

How to “unbind” .result on Jquery Autocomplete?

I have this code: $("#xyz").unautocomplete().autocomplete(dataVar, { minChars: 0, width: 400, matchContains: true, highlightItem: true, formatItem: formatItem, formatResult: formatResult }) .result(findValueCallback).next().click(function() { $(this).prev().search(); }); I call this code many times and the ...

Wordpress is ignoring Unicode Chars in URL

Hi, I am using wordpress with this type of permalink: /%year%/%monthnum%/%postname%/ if I use this type of url: example.com/2010/03/तकनीक it treats this url like this example.com/2010/03/ (By ignoring unicode chars) and displays March 2010 archive list. if I use english url: example.com/2010/03/technology then it works perfectly. T...

Counting problem C#

Hello, I've a bit of a problem. I'm adding numbers to ArrayList like 156, 340 (when it is TransferIn or Buy) etc and then i remove them doing it like 156, 340 (when it's TransferOut, Sell). Following solution works for that without a problem. The problem I have is that for some old data employees were entering sum's like 1500 instead o...

apostrophe text comparison in xsl

Hi I have a problem with text with apostrophe symbol example i try to test this xml having the symbol is then how can i compare ? <xsl:for each select="country[nation='India's]"> this is statement showing error Regards Nanda.A ...

Can't type anything in inputs or textareas

Hello, I have a problem: I've add a Jquery UI drag-n-drop widget to my page, but after that I can't type anything into inputs or textareas. I use jQuery 1.4.2 and jQuery UI 1.8rc3, and tiny_mce for convert textareas into WYSIWUG editor (I've tried to disable tiny_mce). When I put $("input").click( function(){ alert('clicked!'); }); - i...

How can install sqlite-ruby on linux when sqlite3 is not in /usr/local ?

I am trying to install sqlite3 and sqlite-ruby (ruby 1.8.6) on a linux box where I do not have root. I downloaded the sqlite3 source, binaries, and shared library and placed them all in a directory called sqlite3 I then try to install sqlite-ruby using gem install sqlite-ruby --with-sqlite-dir=the_path_sqlite/sqlite3 but I keep getti...

Problem with numbers

I am given a number N, and i must add some numbers from the array V so that they wil be equal. V is consisting of numbers that are all powers of 3: N = 17 S = 0 V = 1 3 9 27 81 .. I should add numbers from V to N and S in order to make them equal. The solution to the example above is : 17 + 1 + 9 = 27, 27, 1 and 9 are taken fr...