Search:

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

Page 1 of 10 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    45
    Views
    6,414

    Beginner's Programming Challenge #12

    Beginner Programming Challenge #12

    Welcome to the 12th Beginner Programming Challenge! As I was selected the winner of Challenge #11, I've been tasked with presenting a new challenge!

    If you...
  2. Replies
    90
    Views
    9,166

    Re: Beginner Programming Challenge #11

    Fun fun. I'll poke around and see if I can't find something fitting by the end of the day.

    edit: it's up! Enjoy!
  3. Replies
    8
    Views
    1,532

    [SOLVED] Re: GCC Auto Casting?

    It doesn't give an error, but compiled with -Wall, you would see a warning about what you're trying to do with printf. The token '%d' expects an int. If you need decimal precision in your output, use...
  4. Replies
    4
    Views
    313

    Re: Who owns The Most Servers?

    the answare is unintelligible when the image is that small.

    http://www.intac.net/a-comparison-of-dedicated-servers-by-company_2010-04-13/

    Doesn't surprise me, given that their business is all...
  5. Replies
    7
    Views
    1,784

    [SOLVED] Re: GCC warnings about data type value ranges

    I think the point was to explicitly overflow the data type, the OP was "correct" in his assignments.
  6. Replies
    7
    Views
    1,784

    [SOLVED] Re: GCC warnings about data type value ranges

    I could be mistaken, here but... Whole number literals are assumed to be of type int. If you use a cast in your third example, the compiler shuts up.

    In the 4th case, -1 can be adequately...
  7. Replies
    3
    Views
    233

    Re: shell script problem

    Running 'echo $?' twice will give you a success. The first time you run it, it really does recall the last error message. You'd be solving the chicken and the egg problem otherwise -- how can 'echo...
  8. Replies
    3
    Views
    233

    Re: shell script problem

    What are you expecting to happen? The variable $? holds the exit code of the last run program.
  9. Replies
    90
    Views
    9,166

    Re: Beginner Programming Challenge #11

    Submitting a partial rewrite that uses only stack allocated memory and has some mild improvements/fixes. I don't really consider myself a beginner in programming, but I'm still pretty green when it...
  10. Replies
    8
    Views
    1,565

    Re: Btrfs multi-device support

    That's a familiar error. You're missing one of the crc32 modules in the initramfs. The Grub2 fix is only if you're using BTRFS as root.
  11. Replies
    8
    Views
    1,565

    Re: Btrfs multi-device support

    This line clearly works, as mount -a doesn't complain when its run. The issue is definitely in the initramfs. You need to make sure that the install hook, the boot hook and all the modules are being...
  12. [ubuntu] Re: capturing ALL output from terminal to file

    Probably means he had an idea and then realized it wouldn't work. There's no way to delete a post on these forums.

    'script' might do what you want.
  13. Replies
    17
    Views
    1,311

    [ubuntu] Re: Can you run two sets of RAID 1 mirrored?

    There's definitely monitoring tools available that can alert you if a drive is failing. The tools I'm familiar with are command line based and just send mail. I'm not aware of GUI based utils, but...
  14. Replies
    8
    Views
    1,565

    Re: Btrfs multi-device support

    You need a boot hook on your initramfs to be able to mount automatically. I've been running a RAID-0 btrfs device as my root partition for several months now with no fuss (on Arch). Somewhere on...
  15. Re: Create array consisting of each character in a string

    Unless there's some way to abuse the IFS to split unconditionally on anything, I think the sed solution may be the most concise.

    On the other hand, you're essentially creating an array in your...
  16. Replies
    17
    Views
    1,311

    [ubuntu] Re: Can you run two sets of RAID 1 mirrored?

    The LVM suggestion was nothing but a suggestion. Figured I'd let you know it's out there.

    I'm not sure why you have any doubts as to your hardware supporting it when its strictly a software based...
  17. Replies
    17
    Views
    1,311

    [ubuntu] Re: Can you run two sets of RAID 1 mirrored?

    That's fine, except you can't partition a raid device like you can a regular block device. I would suggest using LVM on top of the RAID-1 partition. This allows you to resize partitions on the fly...
  18. Replies
    20
    Views
    1,177

    Re: Help me decode this.

    If you keep saying it, maybe someone will believe you.

    http://www.fashion-res.com/EX/10-09-17/sense-this-picture-makes-none.thumbnail.jpg

    In the future, I'd recommend avoiding the use of the...
  19. Replies
    17
    Views
    1,311

    [ubuntu] Re: Can you run two sets of RAID 1 mirrored?

    I know Ubuntu enjoys keeping around every last kernel it ever found, but 500mb is enormous for a boot partition. 50mb is a little too small, but 100mb is more than sufficient. Regardless, a /boot...
  20. Re: How to switch XServer with console command / XLib ?

    Look at XOpenDisplay(3).
  21. Replies
    9
    Views
    2,585

    Re: How to use dmalloc?

    Aha. How often I forget Ubuntu enjoys splitting packages.
  22. Replies
    17
    Views
    1,311

    [ubuntu] Re: Can you run two sets of RAID 1 mirrored?

    Yeah fair enough. I thought you might be interested in using Ext3 and that sketch ext3fs driver for Windows. "Sandboxing" Vista in a 80gb partition and leaving the rest for RAID sounds fine to me.
    ...
  23. Replies
    17
    Views
    1,311

    [ubuntu] Re: Can you run two sets of RAID 1 mirrored?

    If you use software RAID, you won't be able to access those drives (safely) from Windows.

    Google returns this when searching for 'ubuntu mdadm'. It's a fairly simple process, you just need to be...
  24. Re: compare a variable to a list and exit on fail

    Interesting. Works fine from a prompt with -q, but not from a script.
  25. Replies
    90
    Views
    9,166

    Re: Beginner Programming Challenge #11

    Your entry exits as soon as its starts. Changing your while loop in main() to a do/while fixes that.

    Two cents: While commenting is valuable, I believe that comments should answer the question...
Results 1 to 25 of 250
Page 1 of 10 1 2 3 4