Search:

Type: Posts; User: jerome bettis; Keyword(s):

Page 1 of 10 1 2 3 4

Search: Search took 0.04 seconds.

  1. Replies
    14
    Views
    8,242

    Re: Bash, Sed & Awk tutorials

    i know it can be done, but look how much more work that was. thanks for helping me prove my point so well :lolflag:

    bash/sed/awk are all worth learning. i've been meaning to look at some other...
  2. Replies
    14
    Views
    8,242

    Re: Bash, Sed & Awk tutorials

    ^ i'll agree with that in a genral sense, awk is more powerful and can do everything sed can. But for a lot of smaller things, sed is far quicker. my personal favorite is

    find /dir/ -iname...
  3. Re: Does Anyone Here Know Anything About iPhone Development

    objective C can go @!#$ itself. It's crap. Steve Jobs purchased it so he has to run around championing it regardless of how third world it really is. It's crap to program in. :mad:
  4. [ubuntu] Re: pm-suspend does not suspend, pm-hibernate works out of box

    bump. i didnt change anything. I tried suspend again, and surprise it actually went to suspend OK. So the failure there may be due to something I have running.

    However, it still failed to...
  5. Re: Ajax not working in Chrome, InternetExplorer

    yes, developing things to be cross browser is about as stressful as it gets

    If you can, import the jquery javascript library and learn how to use that. It is quite nice for a lot of things, ajax...
  6. [ubuntu] pm-suspend does not suspend, pm-hibernate works out of box

    All,

    After 5 long years using gentoo only, i'm back in ubuntu land. I am FED UP with all of the broken packages in gentoo. They have some great things going but it's just not usable, it's a...
  7. Replies
    7
    Views
    27,840

    Re: Get CPU usage as a %

    x=`/path/cpupct.py`

    those are back quotes ` ` the key in the top left corner, next to 1.
  8. Replies
    7
    Views
    27,840

    Re: Get CPU usage as a %

    ^ that won't give you an accurate measure.

    i wrote a python script for someone a while ago to do this. i read some stuff on how to calculate it. i'm 100% sure this is correct - i adapted it from...
  9. Thread: ban me

    by jerome bettis
    Replies
    26
    Views
    1,364

    Re: ban me

    yep this is my last stop

    best of luck to you all, but i've got to move on.
  10. Thread: ban me

    by jerome bettis
    Replies
    26
    Views
    1,364

    ban me

    do it

    thanks
  11. Replies
    596
    Views
    29,580

    Re: Forum Layout Organization

    right but it looks like *** and 80% of people that see it won't like it.

    also you should have done this in a sandbox. and why do you all have the same avatar, i feel like i'm in a cult. ban me...
  12. Replies
    596
    Views
    29,580

    Re: Forum Layout Organization

    can we at least get rid of this brown on the sides? make it white or off white if it has to be this way.
  13. Replies
    596
    Views
    29,580

    Re: Forum Layout Organization

    why is this only 80% wide in firefox?

    i hope that's just a bug and not the way it's going to stay

    also the front page is not very intuitive, the two column thing in particular. a checkbox in...
  14. Replies
    596
    Views
    29,580

    Re: Forum Layout Organization

    the old layout was so much better
  15. Replies
    20
    Views
    1,200

    Re: Good Coding/Design Practices

    http://www.psgd.org/paul/docs/cstyle/cstyle01.htm
  16. Replies
    11
    Views
    1,605

    Re: iostream missing?

    #include <iostream> // (no .h for c++ libs)
    using namespace std;
    int main() {
    cout "asdfaf";
    }

    // or

    #include <iostream>
    int main() {
  17. Re: logging into my college account w/ ssh, default is Java build 1.4, need 1.5, help

    right there's probably a whole bunch of network file systems somewhere in /, that would make it take a long *** time.

    try replacing the / right after find with /usr /opt

    edit
    i'm slow...
  18. Re: logging into my college account w/ ssh, default is Java build 1.4, need 1.5, help

    for i in `find / -type f -iname "java" 2> /dev/null` ; do echo $i ; $i -version ; echo ; done

    that will run all versions of java with the -version option, you could put " | grep 1.5" (no quotes)...
  19. Replies
    53
    Views
    2,637

    Re: Web programming.

    then don't reply? nobody reads your giant posts with quotes everywhere anyways.


    personally, i'm a fan of j2ee. but javascript isn't cutting it, i'm wondering if there's something better for...
  20. Re: Is Python programming a marketable skill?

    around here i haven't seen a single job that mentions python. j2ee and asp.net are all over the place. not a lot of c++ entry level jobs either. jobs in a nix environment are more common than i...
  21. Re: logging into my college account w/ ssh, default is Java build 1.4, need 1.5, help

    they probably have 1.5 installed, but 1.4 is just the one that's linked to in your path.

    find / -type f -iname "javac" -o -iname "java" 2>/dev/null

    type that and maybe you can track it down. ...
  22. Re: Java -- get height and width of a 2d array

    2d arrays in java can be staggered, that means they can look like

    xxxxxxxxx
    xxxxxx
    xxxxxxxxxxxx
    xxxxxxxx
    xxxxx
    xx

    and not necessarily like
  23. Replies
    24
    Views
    72,722

    Re: C replace function

    for (x=0; x < 100; ++x) {
    string[x] = NULL;
    }
    for (x=0; x < 100; ++x) {
    newstring[x] = NULL;
    }

    whoa why not just put both those in the same loop? and you can use
    memset(string, 0,...
  24. Replies
    24
    Views
    72,722

    Re: C replace function

    of course i tried it, no segfaults if you initialize the string properly. i like the + 1 thing instead of starting at the beginning, that's much better



    true, but that's not because of the...
  25. Replies
    24
    Views
    72,722

    Re: C replace function

    no it replaces all of them, try it. what do you think the loop is there for?

    i disagree with you about the while (1). saying while (whatever) {} vs while (1) { if (whatever) break; } are the...
Results 1 to 25 of 250
Page 1 of 10 1 2 3 4