Search:

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

Page 1 of 10 1 2 3 4

Search: Search took 0.06 seconds.

  1. [all variants] Re: effect of not partitioning & does btrfs support 4k sectors

    I don't think you have to worry about drive alignment if you're not partitioning drives. Though, mkfs.btrfs does give a method to offset where the filesystem starts, but I've never tried it.

    The...
  2. [all variants] Re: effect of not partitioning & does btrfs support 4k sectors

    There really isn't any disadvantages to not partitioning your data drives. If you partition your drives, you'll run the risk of not having your filesystems properly aligned anyway.

    Also, btrfs...
  3. Replies
    37
    Views
    1,916

    Re: How often do you defrag?

    Not all linux filesystems.

    BtrFS can be fragmented relatively easily. I have firsthand experience =p
  4. Replies
    19
    Views
    2,692

    Re: Prime number generator in C

    Yeah. I figured that out when I started getting rid of some lines of code in my program. It started to look more like his. However, his is still faster by about 20 ms and I can't figure out why.
  5. Replies
    19
    Views
    2,692

    Re: Prime number generator in C

    So I based my new algorithm on the Sieve of Eratosthenes. It seems wicked fast now, but it only works with small numbers. I can't scale it to 2 000 000, which is what the problem needs.

    I get...
  6. Replies
    19
    Views
    2,692

    Re: Prime number generator in C

    You're absolutely right.
    I got my program to work, and it takes 874 ms to complete.

    I browse the forum over on Euler (a hidden thread only accessible by those who've solved the problem), and...
  7. Replies
    19
    Views
    2,692

    Re: Prime number generator in C

    I did this

    #include<stdio.h>
    main(void){
    int primes[] = {4,5,6,7};
    int i;

    primes[4] = 11;
    for(i = 0; i <=4; i++){
    printf("%d\n", primes[i]);
  8. Replies
    19
    Views
    2,692

    Prime number generator in C

    I'm trying my hand at some of the Project Euler problems and one of them requires that I calculate every prime number below 2 million.

    I already had a working implementation for generating prime...
  9. Replies
    421
    Views
    13,949

    Poll: Re: Do you think nuclear power is the way to go?

    I'm against it.

    They require much higher maintenance
    They're vulnerable to attacks
    They're considered "clean energy" in terms of CO2 emission, but leaves radioactive waste that needs to be stored
  10. Replies
    21
    Views
    709

    [ubuntu] Re: Whats the purpose of root?

    I remember sudo being active for a period of time.. meaning if one does


    sudo whoami
    if one uses sudo again within a certain amount of time, it will not ask for a password again.. so..


    sudo...
  11. Replies
    21
    Views
    709

    [ubuntu] Re: Whats the purpose of root?

    So what is it that sudo does that makes it more secure?
  12. Replies
    21
    Views
    709

    [ubuntu] Re: Whats the purpose of root?

    But doesn't su also give the power to run commands as a different user?


    su username -c "command to run"
  13. Replies
    2,880
    Views
    296,786

    Re: What can Windows do that Linux can't?

    I don't know what everyone's configurations are but my desktop/laptops can suspend/resume and hibernate/resume pretty quickly.. Much faster than windows.

    Besides, isn't hibernate dependent on...
  14. Replies
    5
    Views
    270

    [all variants] Re: Moderately High System load

    It's probably the CPU monitor app that you're using. I suspect drawing the cpu usage graphs takes a toll on the CPU. Try with a commandline app, like top
  15. [ubuntu] Re: What is session named "exe" in sysmonitor?

    exe (for me) is usually just a flash video.

    You can try to find out what program started it by doing this:

    ps -o ppid,comm | grep exe
    The above command should give you the PID of its parent...
  16. Re: How come other people can die in your dreams

    I used to eat chips in my dreams :P

    The best part? Not having to wash my hands afterwards. (Which is also the worst part because I can't lick my fingers)
  17. Replies
    25
    Views
    1,438

    [ubuntu] Re: I need a command, please!

    nothing says moviehacker like scrolling lines from a kernel compile.
  18. [ubuntu] Re: My Ubuntu is starting to slow down again (worse than before) My Windows 7 works f

    32/64bit shouldn't really matter if you're not doing heavy things like video conversions. At least I didn't notice the difference between 32 and 64 bit on my Core 2 duo.. But maybe that's because I...
  19. [ubuntu] Re: My Ubuntu is starting to slow down again (worse than before) My Windows 7 works f

    Too lazy to read through the whole thread, but I still want to help.

    Here are some things to watch out for if your computer's running slowly


    Harddrive running out of space:
    You say that...
  20. Replies
    532
    Views
    54,145

    Re: Google sent me a free notebook

    I got my Cr-48 last night! Apparently, it had been sitting at the side of my house the whole day! One thing I was concerned about was that the temperature outside was waaaaaay below freezing, and...
  21. Replies
    532
    Views
    54,145

    Re: Google sent me a free notebook

    I love how the air-mail reached him before the e-mail
  22. Replies
    532
    Views
    54,145

    Re: Google sent me a free notebook

    There was a question earlier in this thread about browsing the filesystem.. You can browse through folders on chrome using
    file://<path>

    # example
    file:///home

    should probably work in...
  23. Replies
    239
    Views
    12,500

    Re: the sarcasm thread

    </sarcasm>
    </thread>

    ..

    <rant>
    This is my attempt at hijacking the thread. And it sucks :mad:

    <!--
  24. Replies
    9,964
    Views
    991,463

    Re: You know you're a geek when........

    If you're really geeky, you would worry about removing needed dependencies
  25. Replies
    25
    Views
    1,112

    Re: Science channel Bull

    Direct beams from the Large Hadron Collider
Results 1 to 25 of 250
Page 1 of 10 1 2 3 4