Search:

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

Page 1 of 2 1 2

Search: Search took 0.18 seconds.

  1. Replies
    6
    Views
    757

    Re: Whats your favorite/best working C++ IDE

    I used Gedit for a long time with some plugins, but recently I switched to QT Creator and I'm very satisfied.

    I also used Eclipse some time ago, but auto completion was always very slow resulting...
  2. Replies
    2
    Views
    700

    [SOLVED] Re: Python: inherit Set objects

    Thank you :)

    Exactly what I wanted!
  3. Replies
    2
    Views
    700

    [SOLVED] Python: inherit Set objects

    Hello,

    I want to create a class implementing cyclotomic cosets which inherits from Set (http://docs.python.org/library/stdtypes.html#set-types-set-frozenset).

    I would like to inherit from Set,...
  4. Re: Correct file/ folder location syntax in linux-ubuntu

    Maybe this might help:

    http://en.wikipedia.org/wiki/Path_%28computing%29

    Look at the unix like entry in the table.
  5. Replies
    4
    Views
    448

    Re: Windows picture recovery tool

    Thank you!

    I'll have a look.
  6. Replies
    4
    Views
    448

    Windows picture recovery tool

    Hi,

    A friend of mine got her picture folder deleted and asks me if it's possible to recover it.

    Google gives some solutions, but I don't know which programs are trustworthy.
    Does anyone can...
  7. Replies
    3
    Views
    3,106

    [SOLVED] Re: Python namedtuple and inheritance using __new__

    After some more thinking I found a solution. It's more or less that what I wanted:

    class Foo(collections.namedtuple('Foo', 'x y z')):
    pass

    class FooTest(Foo):
    def __new__(self,...
  8. Replies
    3
    Views
    3,106

    [SOLVED] Python namedtuple and inheritance using __new__

    Hello,

    I want to use the following code:



    class Test(tuple):
    def __new__(self, n=None, k=None, d=None):
    # t = do some processing...
    return tuple.__new__(self,t)
  9. Replies
    12
    Views
    5,061

    Re: Static Attributes in Python

    Oh, I expressed myself not very clearly, of course I imported the copy module and didn't reinvent the wheel ;)

    I guess I have to think a little bit more about references in Python...
    Coming from...
  10. Replies
    6
    Views
    478

    Re: Parameters as reference C

    Hi,

    You have to cast p[] to (char*)p.
    You have also a problem with char aux[], it's a local variable, it will be destroyed if you leave the function, sou you can't point at.

    You could copy the...
  11. Replies
    12
    Views
    5,061

    Re: Static Attributes in Python

    Ok, thank you very much for this hint!
    You probably saved me a lot of debugging time! ;)

    I have implemented deepcopy() now, but I still have to implement some test suites to get valuable test...
  12. Replies
    12
    Views
    5,061

    Re: Static Attributes in Python

    Thank you Can+~ and smartbei, being new to Python I found an elegant way to solve my problem because of your answers!

    I wanted to design a class with static proprieties as your methods suggest,...
  13. Replies
    2
    Views
    624

    [ubuntu] Re: What ports are open by default?

    Hi,

    Check this:

    https://help.ubuntu.com/community/UFW

    You have also a graphical user interface in the repositories for ufw if you don't feel comfortable with the terminal:
    ...
  14. Replies
    5
    Views
    14,432

    [SOLVED] Re: SSH doesn't work any more

    Update:

    The problem was still not solved, after each boot SSH was broken.
    I did some more research and found this threat:

    http://ubuntuforums.org/showthread.php?t=1305226

    So it seems to be...
  15. Replies
    4
    Views
    2,515

    [ubuntu] Re: Using pstricks in Lyx

    I don't remember exactly what I did, it's already a long time ago ;)
    Probably I directly exported the Inkscape drawing as pdf and then included it into the tex/lyx dokument.

    In the meantime I do...
  16. Replies
    5
    Views
    14,432

    [SOLVED] Re: SSH doesn't work any more

    I checked, but the files didn't change.

    But I have good news, I reinstalled every SSH packet with Synaptic and now I can reconnect again :) :) :)

    Why is the simplest solution not the first one...
  17. Replies
    5
    Views
    14,432

    [SOLVED] Re: SSH doesn't work any more

    Thank you for your fast reply, but it seems to run:


    sudo /etc/init.d/ssh restart
    * Restarting OpenBSD Secure Shell server sshd [ OK ]
  18. Replies
    5
    Views
    14,432

    [SOLVED] SSH doesn't work any more

    Hello,

    My SSH connection doesn't work any more.

    I have two Computers A and B, which are in the same home-network.

    This morning a was still able to connect by SSH from A to B.
    I did some...
  19. Replies
    11
    Views
    8,404

    Re: Sequence of languages to learn after python

    I can suggest to learn C++, they complement. Then you have a high level and a low level programming language.
    C++ is very efficient and memory management is done by the programmer with pointers.
  20. Replies
    8
    Views
    2,373

    Re: C++ Explain this: int i = *(int*)&x;

    I think i is the content of x, copied into the integer bit by bit.

    More in detail: you take the address of x (&x), and cast that address to a pointer to integer (int*). Then you access the content...
  21. Re: Custom Code Highlighting for gedit - and your system

    Hello,

    Is it also possible to import this custom code highlighting into KDE applications like Kile or Kate under Gnome?

    I use Ubuntu 9.10.

    Regards,
    CHW

    Edit: It doesn't seem so, they use...
  22. Replies
    18
    Views
    2,265

    [SOLVED] Re: One translucent window

    You are welcome.
  23. Replies
    18
    Views
    2,265

    [SOLVED] Re: One translucent window

    You have to try the compiz solution.
    There you can define any window class to be translucent, not only limited to the borders.
  24. Replies
    18
    Views
    2,265

    [SOLVED] Re: One translucent window

    Hi,

    Maby this might help:

    http://ubuntuforums.org/showpost.php?p=8242769&postcount=6

    Regards,
    CHW
  25. Replies
    6
    Views
    1,882

    [gnome] Re: aMSN window problem after minimizing to tray

    I can't confirm you this bug, because I don't use aMSN for this purpose.
Results 1 to 25 of 49
Page 1 of 2 1 2