Slashdot Mirror


User: strangemoose

strangemoose's activity in the archive.

Stories
0
Comments
37
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 37

  1. Re:Reiser4 for cheap ba5tards? on Reiser4 Benchmarks · · Score: 1

    yuh.. Really, I play with transcode, a video camera, some video editing tools... Anyhow, that much porn is just insane.

  2. Reiser4 for cheap ba5tards? on Reiser4 Benchmarks · · Score: 1

    I'm wondering if this would be a benifit for me.. I like to play with video, but I'm not rich, all I have to play with is a mediocre 900Mhz processor, 512MB ram, 3x80GB+1x40GB (241GB used...) drives LVMed into one large ext3 volume. I mainly use it to store video sequences, many (thousands) ranging in size from 100MB to 600MB (with some >1GB files now and then).

    I was using ext2 previously till I had to sit through one to many fsck's ;).

    So, will Reiser4 be any more useful than ext3 in my case?

  3. Oh my god... NO!!!!! on Canadian Telco Telus Moves All Call Traffic to the Net · · Score: 1

    If they handle the VOIP as well as they handle thier DSL internet... You won't be talking to anyone in Alberta or BC for a very long time :(

  4. hmmmm... on Dealing with ADHD and Other Problems in Young Children? · · Score: 1

    I was originally diagnosed with ADHD when I was younger. I had the same basic symptoms you listed.. But as it turnes out I don't have ADHD and never did. My main problems stemmed from a form of chronic deperession (that yinged up and down like an adult who is Bi-Polar), and a severe case of Generalized Anxiety disorder.

    I would serriously get her checked again. In my oppinion, alot of ADHD casess can actually be narrowed down to something closer to the actual problem. I never took the 'R' ;) pill but was on Tofranil for a while. It hellped but not as much as my doctor was expecting... these days Im on an anti-deppresent which seems to really help the anxiety, which in its self helps the depression.. (the less I worry, the better my mood).

  5. Re:Use macros on Pre-Processers for Inlined C Code? · · Score: 1
    thats why you dont use plain braces, and something like:
    #define blah() do{ ... } while(0)
    instead.
  6. Re:Use macros on Pre-Processers for Inlined C Code? · · Score: 1

    the compiler does the type checking, and it never sees that, so you'll still get your warning/error from the compiler.

  7. Re:Use macros on Pre-Processers for Inlined C Code? · · Score: 1

    It's a habbit. with the braces there you can create local variables, I personally prefer GCCs ({ }) extention (it actually has a return value), but it's not portable..

  8. Re:Various... on Pre-Processers for Inlined C Code? · · Score: 1
    foo = bar(i++);
    Macros arn't dangerous, just the lazyness of the coder.
    #define bar(i) do { int v=(i); /* use v multiple times here */ } while(0)
    And please if anyone says thats slower than:
    #define bar(i) (/*use i multiple times...*/)
    Prove it? with real benchmarks, and state the compiler, and arch/system youre using. (belive it or not, but they all influence the result)

    IIRC, the first example should be optimized up the waazoo. loop goes away (duh), and it's possible, depending what you're doing with v, that v will vanish.
  9. Re:Use macros on Pre-Processers for Inlined C Code? · · Score: 1
    Thus, no type checking takes place
    Since when was any arbitrary value not type checked? Just what are you talking about?
    #define blah 2 /* that there is an int... */
    int i = blah;
    Thats not an error nor even a warning IIRC.

    In cases where yuo put an entire function into a macro, you're not going to get a return value the way you normally do, most likely you'll pass the variable that will hold the return value as an argument. which in that case, since the preprocessing is done BEFORE the compiler ever sees the code, so it really is inlined in the truest sense of the word. And type checking is done just the same as with 'normal' code, because it IS normal code once the compiler gets the preprocessed code.

    say like:
    #define blah(a, b, c) do { \
    c = a + b; \
    } while(0)

    int one = 1, two = 2, three = 0;
    blah(one, two, three);
    is EXACTLY like:
    int one = 1, two = 2, three = 0;
    three = one + two;
    so where did the lack of type checking come from?
  10. Re:Old news ;) on Enterprise Season Premiere Tonight · · Score: 1

    You'll call me crazy, But I like the Time travel plot in the Voyager Finale, all teh Borg are DEAD! w00t.
    I have that episode on VCD somewhere...
    /me goes to watch ;)

  11. Yeah! on Jacuzzi with 42'' Plasma TV · · Score: 1

    You'd never leave, cause after you finnish watching say... the first couple episodes of your TNG collection you'd have passed out and drowned ;)

  12. First reaction. on Cat Meows Have Evolved Because of Humans · · Score: 0, Redundant

    DUH!

    I mean really, did they _just_ figure that out? My sisters cat is a pro at getting what she wants, and uses a different meow for whatever it is.

  13. Re:What speed hit? on Seeking Multi-Platform I/O Libraries? · · Score: 1

    Not talking about KDEs dynamic linking broker. wtf are _you_ blathering about? What it has to do with is the high overhead of using deep levels of inheritance. and the memory usage.

  14. Re:What speed hit? on Seeking Multi-Platform I/O Libraries? · · Score: 1

    Sure it is. ever clocked the time it takes for KDE to start up? Sure the runtime speed is fine... but load time for all that loadtime linking is too much.

    Oh, and before someone says, Just aply the prelink patch... Tried it, but I can't spare my computer for the days it would take to compile all that C++ code.

  15. Re:c++ is out? on Seeking Multi-Platform I/O Libraries? · · Score: 1

    Did you or any of the people who replied to you actually read the original post? He said he had to do some nasty input etc... fstream, just won't cut it. he needs some thing as low level as stdio, or even just 'open', 'read', 'write', 'close'. (notice no 'f' prefix)

  16. Mingw32 or Dev-C++ on Cheap Software Languages for NT? · · Score: 4, Informative

    Mingw32 and (if you like IDEs) Dev-C++ (devcpp comes with mingw32) will create native win32 programs/dlls that directly use the msvcrt dll.

  17. Re:Well, just look at the technical documentation! on Modem Accelerators? · · Score: 1

    > I ain't someone that cares about modems any longer.

    really? are you not connected to the net through a modem? You do know what MoDem stands for right? I don't know what I'd do without my modem. (which just happens to be a Terayon cable modem..)

  18. Re:MP3 vs. OGG on Ogg Vorbis RC3 Released · · Score: 1

    Yes Im aware that my equipment isnt the best, especially since I have to keep the SBLives PCM mixer at 90% or I get a ton of noise. But Its deffinitly better than my old setup... some kind of builtin yamaha card with $16 speakers.

    And as i said I did a quick test, its the kind of test most people will do. Just listining with thier current setup.

  19. Re:MP3 vs. OGG on Ogg Vorbis RC3 Released · · Score: 1

    Im getting a max of 3% :)

  20. Re:MP3 vs. OGG on Ogg Vorbis RC3 Released · · Score: 0, Offtopic

    I did. :)...waaaaiiiitttt... I was never in the asylum...

  21. Re:MP3 vs. OGG on Ogg Vorbis RC3 Released · · Score: 1

    not really. :) with a longer song i did, it turned out to save less space. I probably depends on the complexity of the audio. (ie: how far down ogg can shuve the bitrate)

  22. Re:vorbis does rock..... on Ogg Vorbis RC3 Released · · Score: 2, Insightful

    > ship it now and tweak later!
    Yes.. thats the reasoning that keeps me from running RedHat or Windows9x/Me.

  23. MP3 vs. OGG on Ogg Vorbis RC3 Released · · Score: 1

    In my quick test, I just used the default settings in Grip.
    Song Length = 4min 1sec
    o MP3 encoded at 128Kbps:
    o file size = 3860304 bytes. (3.7 mb)

    o OGG VBR: (average kbps: around 110)
    o file size = 3320836 bytes. (3.2 mb)

    Ogg saved a half a meg of disk space, and (IMHO) Sounds better.

    (tested with a SBLive! Value, and Altec Lansing ACS54 4.1 speakers, OGG RC3)

  24. Re:Uh... Sleep Good. on Intel's New Compiler Boosts Transmeta's Crusoe · · Score: 1
    I really should het more sleep before posting... (I previewed it even...)
    the macro should be:
    #define useless_macro(a, b...) ({ printf(a, ##b); })
  25. Re:Uh... on Intel's New Compiler Boosts Transmeta's Crusoe · · Score: 3, Informative
    hmmm... The reason Intel's compiler can't compile the kernel is that the kernel uses extentions that only gcc has. like __attibute__((packed)), ARGV style macros and embeded blocks:
    #include useless_macro(a, b...) ({ printf(a, ##b); })