Search Results - JustLinux Forums


Search:

Type: Posts; User: jemfinch

Page 1 of 20 1 2 3 4

Search: Search took 1.31 seconds.

  1. Replies
    2
    Views
    521

    You need code tags. Python isn't Python without...

    You need code tags. Python isn't Python without indentation.

    Jeremy
  2. Replies
    3
    Views
    14,152

    I think you might have a command "basename" which...

    I think you might have a command "basename" which might do what you want.

    Jeremy
  3. Replies
    4
    Views
    534

    Python is the ideal beginner language. It's...

    Python is the ideal beginner language.

    It's also the ideal advanced scripting language too, ironically.

    Jeremy
  4. Replies
    5
    Views
    624

    Why would it be better in bash? Perl is...

    Why would it be better in bash?

    Perl is everywhere; bash isn't.

    Jeremy
  5. Thread: memcpy

    by jemfinch
    Replies
    6
    Views
    634

    Not necessarily. That's certainly not an...

    Not necessarily. That's certainly not an invariant, perhaps when you're working with late copying of substrings.

    Using memmove instead of memcpy is just good programming practice. Anytime you...
  6. Replies
    5
    Views
    539

    It's too bad Python isn't installed on those...

    It's too bad Python isn't installed on those machines -- it provides much better tools for this. Does Perl even offer an easy way to iterate over strings? I can't remember.

    Anyway, as bwkaz...
  7. Replies
    5
    Views
    539

    I can't tell you how to do it in Perl, because I...

    I can't tell you how to do it in Perl, because I don't feel like looking up the syntax to substr, but you should use this algorithm:



    import re

    def lettersToNumber(s):
    if not...
  8. Thread: memcpy

    by jemfinch
    Replies
    6
    Views
    634

    Don't use memcpy, its behavior is undefined in...

    Don't use memcpy, its behavior is undefined in the case of an overlapping source and destination. Use memmove instead.

    Jeremy
  9. Replies
    18
    Views
    3,146

    Nope -- it's a plain old /bin/sh bourne shell. ...

    Nope -- it's a plain old /bin/sh bourne shell. Making it a c-shell would break the very standards they're hoping to uphold.

    Jeremy
  10. Replies
    2
    Views
    607

    Oops! :D ...

    Oops! :D
    http://arstechnica.infopop.net/OpenTopic/page?a=tpc&s=50009562&f=57909216&m=4110959254&r=4110959254#4110959254

    :)

    Jeremy
  11. Replies
    2
    Views
    607

    Books for sale!

    Hey, I remember some people might have been interested in my Chess books at some point, so since I finally got them up on the internet to sell, I figured I'd provide a link to the sale if anyone...
  12. Thread: Hey, guys...

    by jemfinch
    Replies
    11
    Views
    947

    Hey, guys...

    I figured I might as well fill all y'all in.

    Some of you know a bit about my future plans and all, and some don't, so I'll recap a little bit.

    I'm a sophomore classics major at college,...
  13. Replies
    8
    Views
    844

    Go ahead. Search this board for pieces of Python...

    Go ahead. Search this board for pieces of Python code and pieces of Perl code. I'll let you deduce yourself which you'd rather learn :)

    Jeremy
  14. Python's so easy, most non-domain-specific books...

    Python's so easy, most non-domain-specific books really aren't worth the money.

    Jeremy
  15. I don't think there is a downside. Jeremy

    I don't think there is a downside.

    Jeremy
  16. Thread: AOL::TOC perl

    by jemfinch
    Replies
    6
    Views
    725

    I suppose so. Better than "whatever I still use,...

    I suppose so. Better than "whatever I still use, however lacking, because I'm unwilling to try new and powerful things."

    Jeremy
  17. The reason you got the strange error message,...

    The reason you got the strange error message, btw, is because % is an overloaded operator on strings, and so "123" % "3" "doesn't convert all the arguments" because there aren't any format specifiers...
  18. Thread: AOL::TOC perl

    by jemfinch
    Replies
    6
    Views
    725

    You're a bit behind the times :) I switch away...

    You're a bit behind the times :) I switch away from Python around 9 months ago :) This time, the bad code belonged to me -- that's why I picked O'Caml. It makes me write better code.

    Jeremy
  19. Thread: AOL::TOC perl

    by jemfinch
    Replies
    6
    Views
    725

    AOL::TOC is a horribly coded PoS module. I...

    AOL::TOC is a horribly coded PoS module.

    I wrote an AIM bot with it, until it broke. Then I went to look at the code and saw how horribly and hacky the code was.

    AOL::TOC is (no joke) the...
  20. close() shuts down the socket itself. You need...

    close() shuts down the socket itself.

    You need to set the SO_REUSEADDR option on the socket.

    Jeremy
  21. SO_REUSEADDR

    SO_REUSEADDR
  22. Replies
    1
    Views
    699

    First, read the manpage for waitpid. It's...

    First, read the manpage for waitpid. It's perhaps misleading in that there's at least some form of it that does not block.

    Either way, it doesn't really matter. Install a signal handler for...
  23. You don't need the FOOSCOUNT stuff. const...

    You don't need the FOOSCOUNT stuff.

    const char* FOOS = { ... }

    0x13a isn't a valid character.

    Jeremy
  24. Thread: *ahem*

    by jemfinch
    Replies
    8
    Views
    905

    Also note that Arstechnica now has a rather...

    Also note that Arstechnica now has a rather lively programming forum that could use a few more UNIX-centric programmers :)

    Jeremy
  25. Replies
    3
    Views
    1,319

    Have you tried the vim OLE object that can be...

    Have you tried the vim OLE object that can be embedded into DevStudio?

    I'm just curious, I have no earthly clue what it's like, I don't use vim, I don't use DevStudio...I don't even use Windows ...
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4