Search:

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

Page 1 of 6 1 2 3 4

Search: Search took 0.03 seconds.

  1. [ubuntu] atheros wifi stopped working mysteriously on thinkpad t61

    Wifi has always worked reasonably well on my thinkpad. It was working yesterday too until it mysteriously died.

    Here's what happened: I was having some issues with avahi/zeroconf not working...
  2. Replies
    17
    Views
    1,188

    Re: good book on algorithm design

    so far i've gotten a chance to look at 2 of the suggested books...

    design patterns - the first 2 chapters were very interesting, i learned some things about oop that hadn't crossed my mind...
  3. Replies
    17
    Views
    1,188

    Re: good book on algorithm design

    based on the description that one does look interesting, perhaps even in conjunction with one of the others...

    also, to some of the other helpful posters (thank you btw) i realize i did specify...
  4. Replies
    17
    Views
    1,188

    Re: good book on algorithm design

    thank you all!

    i will have to sift through the recommendations to see which one(s) work for me.
  5. Replies
    17
    Views
    1,188

    good book on algorithm design

    apologies if this (or something similar) has been posted before, i searched and didn't find what i wanted...

    i'm looking for a good, accessible book on actually designing algorithms. i really...
  6. Replies
    2
    Views
    383

    Re: looking for...

    go over to art.gnome.org

    they have several that might suit your needs, it's under application themes or window borders, depending on what you want
  7. Thread: Warsow

    by oldmanstan
    Replies
    3
    Views
    377

    Re: Warsow

    too twitchy for me :) but it's a good concept
  8. Re: A very newbie question of Python string

    i note that print is a statement, i was trying to generalize why what he was trying to do is wrong and wouldn't work in other situations either, i assumed that the reason he was trying to do that in...
  9. Replies
    13
    Views
    1,614

    Re: good mmorpg's?

    Yeah, the last time I tried it, I waited for like 20 minutes and it hadn't (apparently) downloaded yet, I think I'll give it another go here soon though...

    thanks
  10. Re: A very newbie question of Python string

    the reason is that the + operator joins strings or adds numbers but

    print "hello world"
    is not a string

    "hello world"
    is a string, but when you put print in front of it you are basically...
  11. Replies
    13
    Views
    1,614

    Re: good mmorpg's?

    wow forgot about this thread... haha oops

    yeah, i found regnum but i can't get it to run, i dunno why... i've tried twice now, hangs when i start it or starts but buttons and such don't show up...
  12. Re: output directly to frame buffer in python? (easily?)

    ahh, there we go, thank you greatly
  13. output directly to frame buffer in python? (easily?)

    ok, back in the day in BASIC you could, for instance, draw a line directly on the screen using coordinates (as i recall it was dependent on screen resolution but i can't really remember)... i want to...
  14. Replies
    14
    Views
    704

    Re: python roots problem

    it's really very simple, i'm using it to find numbers a, b and c such that a^n + b^n = c^n in a given range where n > 2

    it does absolutely nothing useful, just a learning tool since number...
  15. Replies
    14
    Views
    704

    Re: python roots problem

    at the moment i'm just doing the roots like this

    import math

    def is_root(number, root):
    if math.exp(1/root*math.log(number)) % 1 == 0:
    return 1
    else:
    return 0
    but i also tried the...
  16. Replies
    14
    Views
    704

    Re: python roots problem

    maybe accuracy was the wrong word to use since really i'm not looking for "accuracy" per se. what i'm doing is writing a function to find perfect cubes. and since

    3.9999999999999996 % 1 != 0...
  17. Replies
    14
    Views
    704

    python roots problem

    when i do this:


    64**(1.0/3.0)

    python gives me


    3.9999999999999996
  18. Re: python list problem, is this an acceptable solution?

    i'll check into numpy and scipy, thanks guys. so far i'm lovin python. it's forgiving but from what i've read can be very powerful in the right hands. thanks!
  19. Re: python list problem, is this an acceptable solution?

    hmm, the example i gave was sort of bad, what i'm actually doing is iterating through a list of lists (simulating a matrix of sorts) and comparing each item with the items next to it. however,...
  20. python list problem, is this an acceptable solution?

    i want to check if a particular element of a list in in the list's range or not. in php i would use the isset() function but i don't know that an equivalent function exists in python (looked through...
  21. Replies
    0
    Views
    454

    new nvidia drivers

    ok, i went from a geforce 4400 with 128mb to a geforce 6800 with 256mb. at the same time i moved up to the new nvidia drivers that allow beryl/compiz without xgl. i guess they are still betas (i...
  22. Replies
    10
    Views
    14,193

    Re: more memory for python script

    sure, keep in mind that a) it isn't really that good, there are probably better ways to do things and b) i'm not a programmer and it's just for craps and giggles :)

    that said, i'm brand new to...
  23. Replies
    10
    Views
    14,193

    Re: more memory for python script

    testnum shouldn't actually be all that large at this point (not greater than 61) but after it checks testnum it checks 2^testnum-1 so maybe that's the problem

    i used xrange and now it seems to...
  24. Replies
    10
    Views
    14,193

    Re: more memory for python script

    sorry, i figured it was something simple how you can just change the amount allocated to a php script in a config file for php, here's the error, it includes the line it's trying to run...

    ...
  25. Replies
    10
    Views
    14,193

    more memory for python script

    i get a memory error from my python script, i think i probably just need to increase the amount of memory python is allowed to use (the loop runs fine for awhile before the error so it's not a bug in...
Results 1 to 25 of 145
Page 1 of 6 1 2 3 4