Search:

Type: Posts; User: zobayer1; Keyword(s):

Page 1 of 9 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    1
    Views
    579

    [SOLVED] Re: ALT+TAB brings two overlapping panels

    Problem solved after removing konky addons.
  2. [SOLVED] Re: Intellij IDEA 13 issue - cannot close project or application

    Honestly, your English is fine. And I do not use android plugin (or hardly any other plugin). I re-installed the program and now it is working fine. The problem caused when I used IDEA's auto update...
  3. Common development platform for Windows, Linux and Mac

    Hello everyone, I was hoping to get some suggestions about building an application that will work in all the three major platforms without much modification. The application will sound / microphone /...
  4. [SOLVED] Intellij IDEA 13 issue - cannot close project or application

    I am using Itellij IDEA 13.0.2 on ubuntu 12.04 64 bit. JVM version is 1.7.0_53 by oracle.

    I cannot close the program other than killing java. I am also unable to close opened project. Once a...
  5. [SOLVED] Re: Spring Framework: Deprecated warning in persistence.xml

    Thanks so much for such elaborate answer. I am new to spring framework. Will surely try this. XML based config is also a bit tedious job to do. Java based config seems much more natural. Thanks again...
  6. Replies
    1
    Views
    579

    [SOLVED] ALT+TAB brings two overlapping panels

    Whenever I try to switch among applications and work spaces using ALT+TAB, or SHIFT+ALT+TAB, I always get two overlapping panels, one of which is the default panel that shows all the running windows,...
  7. Replies
    3
    Views
    1,068

    Re: Crash course in Web App development?

    As you've mention you have quite good base on Java, I think you should try something like "Spring", or "EJB" for web app development. There are lots of resources on these things over the net. For...
  8. [SOLVED] Spring Framework: Deprecated warning in persistence.xml

    I am fairly new in spring framework, I am trying to use hibernate over jpa2 for mysql database server.
    Here is my persistence.xml file, and, here is my pom.xml file incase you need to check the...
  9. Re: [C++] Efficient symmetric sparse matrix storing

    What does your matrix represent here? A graph like data structure? Also about the search, what are you really going to search here? The presence of a specific <int, double> key-value pair in a row or...
  10. Replies
    28
    Views
    3,365

    Re: Help With C Socket Programming Chat Program

    Hi, your code is working fine as expected, When I write something, from client, it goes to server and when I write something in server, it goes to client. The program is not echoing anymore because...
  11. Replies
    28
    Views
    3,365

    Re: Help With C Socket Programming Chat Program

    Yah, I told about that (separating the IO) in one of my previous post as well, and I don't think its that hard, as he is already using fork, or he could just use pthread.

    Also, I understand this...
  12. Replies
    28
    Views
    3,365

    Re: Help With C Socket Programming Chat Program

    Also I think this will probably be inappropriate, here [http://zobayer.blogspot.com/2013/06/socket-programming-in-c-pthread.html] is how I did it, the basic functionality is almost same, except...
  13. Replies
    28
    Views
    3,365

    Re: Help With C Socket Programming Chat Program

    of course I will.

    I followed the easiest way to debug, I put printfs here and there, and the code is supposed to be waiting just before the fgets call in if block or before the recv call on the...
  14. Replies
    28
    Views
    3,365

    Re: Help With C Socket Programming Chat Program

    The block dwhitney67 mentioned is actually a logical bug, you can't decode anything before getting any message, but both of your server and client are stuck at this point, take a look at these parts...
  15. Replies
    28
    Views
    3,365

    Re: Help With C Socket Programming Chat Program

    Did you prematurely close the programs? (i.e. the server?) just restart the terminal, and it should be fine. to avoid this problem, do not hard code your port number, take it as a command line...
  16. Replies
    1
    Views
    354

    Re: Sockets and Streams JAVA

    Sockets have nothing to do with the issue, if machine A and B are not reachable from each other (which is reachable for LANs but most of the case not reachable through internet because of not having...
  17. Replies
    8
    Views
    4,462

    [SOLVED] Re: JNI with C++ : UnsatisfiedLinkError

    Well, surely I will give that a try, but in this project, I have to use JNI as other modules are build up using the similar fashion. Thanks for letting me know about that :)
  18. Replies
    28
    Views
    3,365

    Re: Help With C Socket Programming Chat Program

    1st option:
    try memset-ing the buffer i.e. client_message before calling in recv


    memset(client_message, 0, sizeof client_message);


    that way you do not need to assign null and the positions...
  19. Replies
    28
    Views
    3,365

    Re: Help With C Socket Programming Chat Program

    As ziekfiguur has mentioned, removing those 4 lines will let the program run, but it still has problems like, first send "hello" from client, you get back "hello", then send "hi", you will get...
  20. Replies
    8
    Views
    4,462

    [SOLVED] Re: JNI with C++ : UnsatisfiedLinkError

    Yeah later I have changed that to a cpp file. And (hopefully) only the algorithm in body will change, but the signature of the function will not change. So, I only need to re-compile the part which...
  21. Replies
    8
    Views
    4,462

    [SOLVED] Re: JNI with C++ : UnsatisfiedLinkError

    Thanks man, just one more question, if I just change the .so file, should the entire jni class needs to be recompiled? or if the class is recompiled, do I need to compile the .so file again?
  22. Replies
    8
    Views
    4,462

    [SOLVED] Re: JNI with C++ : UnsatisfiedLinkError

    After trying a bit I figured out the problem.
    Here the signature is something like:

    JNIEXPORT jboolean JNICALL Java_HelloJNI_sayHello (JNIEnv *, jclass, jstring);


    However, the tutorial I...
  23. Replies
    8
    Views
    4,462

    [SOLVED] JNI with C++ : UnsatisfiedLinkError

    It was working when I wrote the Hello World version of it, i.e. with a void function, but when I add return types, it continuously gives UnsatisfiedLinkError exception. Here is what I am trying:
    ...
  24. Replies
    5
    Views
    698

    [SOLVED] Re: Need help with compiling C++ program

    Thanks, it's much simpler, I was thinking about putting spaces after some escape characters, but looks like single quotes does it.
  25. Replies
    4
    Views
    1,673

    Re: Driver Hello World example in Ubuntu

    I have written a similar thing few years back, and faced same sort of problems, I fixed it by not using any space in the directory names and instead of $(PWD) I had to use $(shell pwd), I still have...
Results 1 to 25 of 211
Page 1 of 9 1 2 3 4