Search:

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

Page 1 of 2 1 2

Search: Search took 0.26 seconds.

  1. Replies
    8
    Views
    6,346

    Re: Where is my JDK installation?

    You can probably use the Gnu Java compiler directly (if installed) by using the command 'gcj' instead of 'javac'.
  2. Replies
    18
    Views
    928

    Re: What are the Visual-Studio-alike RADTs?

    Did you install it from the universe repositories? If so there must be someone you can ask on the Boa or Ubuntu dev sides to fix it...

    Boa has code completion and form designer ... the only thing...
  3. Thread: Height Mapping

    by Klipt
    Replies
    16
    Views
    628

    Re: Height Mapping

    It's easier to check these things if you draw it out, but basically as dx increased (moving right) you gave more weight to the point with lower floor(x) (the left point), making your interpolated...
  4. Replies
    18
    Views
    928

    Re: What are the Visual-Studio-alike RADTs?

    For Python RAD also consider Boa-Constructor.
  5. Thread: Height Mapping

    by Klipt
    Replies
    16
    Views
    628

    Re: Height Mapping

    Try replacing


    float Top = DX * Terrain3 + ( 1.0F - DX ) * Terrain4;
    float Bottom = DX * Terrain1 + ( 1.0F - DX ) * Terrain2;
    with

    float Top = DX * Terrain4 + ( 1.0F - DX ) *...
  6. Replies
    20
    Views
    1,259

    Re: OO Code Is Dangerous

    Beachballs are also funny.

    The Daily Worse Than Failure has some programming stories that make you want to bash your head against the wall...
  7. Thread: Open books?

    by Klipt
    Replies
    10
    Views
    707

    Re: Open books?

    How to Think Like a Computer Scientist: Learning with Python is also quite good.
  8. Replies
    4
    Views
    292

    Re: Python challenges

    http://www.google.com/search?q=python+challenge
  9. Replies
    18
    Views
    928

    Re: What are the Visual-Studio-alike RADTs?

    http://en.wikipedia.org/wiki/Comparison_of_integrated_development_environments

    Look for those which give their platform as 'cross platform' or 'Linux'.
  10. Re: Convert Delphi source code to OS-neutral Free-pascal?

    If you already have Lazarus installed, that's probably the easiest way to write cross platform GUI programs in Pascal. Lazarus is meant to be an open source clone of Delphi, which is a RAD (rapid...
  11. Replies
    11
    Views
    682

    Re: Thinking in Python

    One of the main points of OOP with inheritance is to avoid switch statements or prolonged if tests:


    #!/usr/bin/env python

    class food:
    def __init__(self, name):
    self.name = name
    def...
  12. Re: Wow, development should really be done in Python...

    Ok. Here's another alternative: C++ with a garbage collector.
  13. Replies
    2
    Views
    981

    Re: Cut/Copy buffer access.

    Googling for linux clipboard, it seems that it depends on the desktop. E.g. for gnome you can use gtk clipboard functions:

    http://library.gnome.org/devel/gtk/unstable/gtk-Clipboards.html
  14. Re: Wow, development should really be done in Python...

    There is one case: runtime code generation. Compile time optimizations won't help there. A number of lisp implementations provide a compiler as part of the runtime and I think there's a lisp regular...
  15. Re: Wow, development should really be done in Python...

    That is already valid C99. It is also supported by g++ and will likely be valid C++ in the next standard.
  16. Re: Wow, development should really be done in Python...

    Isn't this what Valgrind is for?

    And I don't understand why people say C/C++ when programming in pure C is very different to using the OOP and template extensions C++ is capable of. In fact you...
  17. Replies
    64
    Views
    32,835

    Re: What Statistics Software do you recommend?

    Also check out the R/SPlus-Python Interface which lets you call R functions from Python! There are some statistical packages for Python but currently much more limited than R.
  18. Replies
    22
    Views
    3,249

    Re: so is Cobol dead?

    But every time it has a stroke or heart attack, the banks rush it into I.C.U. :)

    Even if Cobol seemed like a good idea at the time, I think it (and many better languages) will die simply because...
  19. Re: Scripting or Programming Language for Application Development?

    Is this less confusing?



    #include <stdio.h>
    int main()
    {
    printf("Hello world");
    return 0;
    }
  20. Thread: Python or Ruby?

    by Klipt
    Replies
    76
    Views
    9,639

    Poll: Re: Python or Ruby?

    Dylan was an attempt at Lisp with more common syntax. It still has macros (Dylan stands for DYnamic LANguage) but they are hygienic, more like Scheme's.

    I don't know anyone who uses Dylan though....
  21. Replies
    5
    Views
    382

    Re: Learning about Comp. Sci in general?

    Check out the Electrical Engineering and Computer Science section of MIT OpenCourseWare.
  22. Replies
    43
    Views
    2,420

    Re: The Bubblesort Challenge

    That depends whether by 'items' you mean the items you are sorting, or their possible values...

    Radix sort is a bit more scalable - just change 20 to another power of 2.


    def sortbyradix(n,...
  23. Replies
    43
    Views
    2,420

    Re: The Bubblesort Challenge

    Pigeonhole sort is very scalable (linear time) in the length of the sequence, so long as all the numbers in the sequence come from a small set ;)

    Mergesort in Haskell:


    merge x [] = x
    merge...
  24. Replies
    7
    Views
    1,629

    Re: Can you make a more elegant solution? (Python)

    Not in Python as such, but if you're doing serious numerical workouts you should consider the numpy (numeric python) and scipy (scientific python) packages :-D
  25. Poll: Re: What Is the Most Suitable Programming Language for a Beginner?

    I can't be sure since I went the other way, but I'd hazard a guess that it's fairly easy to learn other languages once you've grokked the concepts from python.

    For ease of introduction I think...
Results 1 to 25 of 38
Page 1 of 2 1 2