Search:

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

Page 1 of 10 1 2 3 4

Search: Search took 0.16 seconds.

  1. Re: Javascript Websocket server message broadcast to clients

    I have had a quick search online and it looks like the socket.io module is what you need to do this. Below is a link to an example tutorial. Hopefully you can take what you need from that to get set...
  2. Replies
    3
    Views
    540

    Re: java question

    Rather than naming your objects elementX when you create them, why not add them create them in an array:

    SomeClass[] elements = new SomeClass[SIZE];

    Then you could add to a list:
    for(int X=0;...
  3. Replies
    2
    Views
    700

    Re: DecimalFormat not working in Java

    In your line System.out.print(x+ " ") x here is a double, so you are printing a double to double precision, which is why you are getting the output you are seeing. You should be printing the output...
  4. Replies
    6
    Views
    613

    Re: Python base64 decode and bz2 decompress

    To point you in the right direction, have a look at a caesar cipher.
  5. Replies
    6
    Views
    613

    Re: Python base64 decode and bz2 decompress

    Ok, I cracked it, is it for a job application?
  6. Replies
    6
    Views
    613

    Re: Python base64 decode and bz2 decompress

    I have reproduced the steps that you have done and I managed to produce the same result. What is it that you are trying to achieve? Where did the string come from? Why are you trying to read it? ...
  7. Replies
    3
    Views
    438

    Re: 'make'ing me mad

    I have found the same issue recently. I'm also quite new to make files. I found online that it is possible to auto generate the dependencies. See here:...
  8. Replies
    6
    Views
    1,413

    [SOLVED] Re: C++, templates and arrays of pointers

    I think you are looking for
    Array_Append<TT*>(YOUR ARGS);
    So that you are specifying the type for your template.
    Paul
  9. Replies
    3
    Views
    1,995

    Re: Java Threading ExecutorService Question

    Whenever you submit a task to an ExecutorService it returns a Future object. You could build a list of these Future objects and check if they have been finished using the isDone() method.
    ...
  10. Replies
    5
    Views
    1,332

    Re: OpenGL and C++

    I used this when I was getting myself set up for C++ and OpenGL dev.
    http://www.videotutorialsrock.com/opengl_tutorial/get_opengl_setup_linux/home.php
    I find videos can be more helpful. ...
  11. Re: Function to execute a binary incase of code.

    I think you can use the exec() function for this.

    Paul
  12. Thread: Algorithm

    by PaulM1985
    Replies
    2
    Views
    522

    Re: Algorithm

    Did you check the stickies? Specifically, http://ubuntuforums.org/showthread.php?t=1766253
  13. Replies
    4
    Views
    383

    Re: Run directory program in ubuntu

    Slightly modifying fdrake's post:



    #install the complier
    sudo aptitude install build-essential g++
    # to compile
    g++ -o your_dir/complied your_dir/not_compiled.cpp
    #to run...
  14. Re: Cleaning Windows registry through Linux command line interface

    Why use linux CLI? It seems to be a job much more suited to actually be done in Windows.
  15. Replies
    5
    Views
    740

    Re: Image transfer GUI by using c#

    Have you looked on google for port and socket examples in C#?

    http://msdn.microsoft.com/en-us/library/system.net.sockets.socket.beginsendfile.aspx or you could use...
  16. Replies
    6
    Views
    458

    Re: Game in Eclipse file Path Problem :) ??

    If you use relative paths they will be the same in Windows and Ubuntu, so I would strongly recommend that you use them since you won't run into compatibility issues.

    If you are using an absolute...
  17. Replies
    6
    Views
    458

    Re: Game in Eclipse file Path Problem :) ??

    Hi

    Are you trying to use absolute paths or relative paths? I would recommend that you use relative paths so that you are able to distribute your game. Are you using Java? If so, have you looked...
  18. Re: see if it is a change between two pictures

    You could test with your own custom images, like a fully red png file compared against a fully blue png. I would imagine that would give you a huge difference.

    You could then find out what a...
  19. Replies
    8
    Views
    894

    Re: Segmentation fault

    After having a read of the documentation it would be interesting to know what "sqlite3_step" returned. The information here (http://www.sqlite.org/c3ref/step.html) indicates that there are a few...
  20. Re: How do I develop mobile apps using Objective C

    Go to this link and follow the instructions.

    http://developer.android.com/sdk/index.html

    Paul
  21. [SOLVED] Re: Form does not appear even after this.setVisible(true) [JAVA]

    Your Login class is a JPanel, which is not a window. You want a window to be displayed. So you either need to change your Login class to inherit from JFrame, so that it is a window that can be...
  22. Re: [OpenGL] Image doesn't fill the whole window

    Could you tell me where you set up your perspective view? I have searched the files and I can't see any calls to any of the following, which I would have expected:
    glFrustrum
    glOrtho...
  23. Re: [OpenGL] Image doesn't fill the whole window

    I haven't looked at your code, but based on what you are trying to achieve I think you probably want orthogonal projection rather than perspective. Are you looking to just render simple images like...
  24. Re: Suggestions on language and 3D graphics library for engineering simulation

    Given the very tight timescale that you have I think that it would probably be best to do this in Matlab.

    You have all the necessary matrix multiplication and maths functions already built in and...
  25. Replies
    4
    Views
    2,307

    [SOLVED] Re: 12.04 -Can't connect to wired network

    I finally managed to solve my problem. I opened the file /etc/network/interfaces and removed everything and replaced it with:



    auto lo
    iface lo inet loopback


    I then restarted networking...
Results 1 to 25 of 250
Page 1 of 10 1 2 3 4