Saturday, July 31, 2010

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

Programmer Question

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? I have tried to add this line (-Djava.library.path=/usr/lib/jni) to the eclipse.ini file but this didn´t seem to make any difference.



Can anyone help?



Find the answer here

Is stdlib's qsort recursive?

Programmer Question

I've read that qsort is just a generic sort, with no promises about implementation. I don't know about how libraries vary from platform to plaform, but assuming the Mac OS X and Linux implementations are broadly similar, are the qsort implementations recursive and/or require a lot of stack?



I have a large array (hundreds of thousands of elements) and I want to sort it without blowing my stack to oblivion. Alternatively, any suggestions for an equivalent for large arrays?



Find the answer here

Saturday, July 24, 2010

How to make a Tag cloud app that post on a website?

Programmer Question

I want to make an app where the users can post messages that will be displayed on a website. The users would need to create a username and password to be able to post.



The app would be like a twitter, but only be able to post through the app and read the last few posts and not be able to write private messages.



The website would function like a huge cloud of thoughts where everyone could go and read what others have written. Once the post hit the cloud, they can't be deleted. Only me could delete posts.



All posts would have different color and font size, it would look like a huge tag cloud on the website.



How do I make an app and a website like this?



David H



Find the answer here

LinkWithin

Related Posts with Thumbnails