Slashdot Mirror


User: CedgeS

CedgeS's activity in the archive.

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

Comments · 114

  1. Look for in-house advice too on Moving from Binary Drivers to Open Source? · · Score: 4, Insightful
    You probably already know it, but here are a couple of other collections of open-source projects in your parent company. They can probably provide advice about such topics as which person in your legal departments has expertise and advice on the subject and other institution specific headaches and shortcuts.

    http://www.intel.com/software/products/opensource/

    http://www.intel.com/cd/ids/developer/asmo-na/eng/ 52779.htm

  2. Full ANOVA Design on 13 Things That Do Not Make Sense · · Score: 4, Insightful

    You need to incorporate the product of the following conditions:

    Patient's certainty:
    Uncertain
    Certain and correct
    Certain and incorrect

    Getting the drug:
    Yes
    No

    This would leave us with the following groups:
    Not sure and recieving drug
    Not sure and not recieving drug
    Certain of recieving drug and recieving drug
    Certain of not recieving drug and not recieving drug
    Certain of not recieving drug and recieving drug
    Certain of recieving drug and not recieving drug

    Then you need many replicates, include all the interactions in your ANOVA (i.e. do it the simple, correct way with none of the monkeying around that bad statisticians will prescribe), and report the results that pass Ficher's LSD (the most powerful detector of significant difference), and possibly also include results passing more stringent significance tests.

    Then we will have the answer. Wait 4 years for people to do it with other drugs and make more complicated expirements with more degrees of freedom and it will be canon.

    And yes, you will have to LIE to and DECIEVE your patients. This is considered unethical, so this simple basic expirement will never be done in the "developed" world. There can be no waiver of "you may or may not recieve medication" because if introduced it would place everyone in the group "Uncertain." If the patients have a bias towards believing that a medical experiment does not medicate as stated then the patients must not know that they are participating in the experiment.

  3. Re:Idea: Streaming Torrent on Long-Awaited BitTorrent 4.0 Released · · Score: 1

    Yep. Nice University projects. No source code for either, as far as I can tell.

  4. Idea: Streaming Torrent on Long-Awaited BitTorrent 4.0 Released · · Score: 2, Interesting

    Don't know if this is new or not, but a streaming peer-to-peer protocol like bittorrent would be pretty cool. It could be used to inexpensively broadcast audio or video almost live, potentially making news reporting available to a wider selection of journalists. Checksums on data would obviously be a problem here and malicious nodes in the network would have an easier time of disrupting communications. This mechanism needs to be independent of media type, and rely on being used in combination with file formats that can be picked up and played from any small chunk. The client could decide which portions of the stream it would rather get, sacrificing liveness to get as much as possible, trying to pick up the nearest blocks in the future first to stay as smooth as possible, or minimizing buffer size and going after the most recent blocks to stay as live as possible.

  5. Report on Windows 2003 and XP SP2 Vulnerable To LAND Attack · · Score: 1

    I tried this against my girlfriend's computer with a wireless network connection. She has XP home SP2. With the firewall ON it caused 100% CPU usage during the attack, and loss of connection. Connection was restored after sending ^C to hping2. With the firewall OFF it caused 100% CPU usage during the attack, and loss of connection. CPU usage and connection were not restored for about a minute after the end of the attack. The included firewall with default settings is NOT a solution to this problem on XP Home SP2.

  6. Re:Can this be exploited against Windows users? on Microsoft Admits Targeting Wine Users · · Score: 1

    You're right. Spyware or adware (these would probably benefit from blocking windows updates more then viruses) can emulate whatever fingerprints of Wine Microsoft uses for countermeasures to prevent updates. Wine doesn't need to enter the arms race against Microsoft - more nefarious groups with financial incentive will do it for them.

    Kudos, that was a very good idea!

  7. 10 dollars a month on Ubisoft to Publish Puzzle Pirates · · Score: 0, Troll

    $10 per month is way too much to pay for any computer game.

  8. More Shameless Plugging on True Stories of Knoppix Rescues · · Score: 2, Informative
    I know I've done this before, but here's my guide to recovering and rescuing data using Knoppix. I just updated it about a week ago for version 3.7, and the new instructions and images haven't made their way into knoppix.net's wiki yet.

    People are using knoppix for this all the time; I can tell by the amount of email I deal with on the subject.

  9. Konq vulnerable if .. on New Vulnerability Affects All Browsers · · Score: 1

    Konqueror 3.3.1 is vulnerable if Global JavaScript Policies - Open New Windows is set to Allow and you use the no popup blocker link. With Open New Windows set to Smart neither link will work.

    Sorry if my typing is terrible. I can't feel my finger tips as they are covered in super glue. I just finished my landscape architecture final project.

  10. Re:Solution - no conditionals or templates! on Programming Puzzles · · Score: 1

    You are missing the point which is to use an indexed array and pointers to switch paths instead of the other features of the language.

    If these compile to a branch its because the compiler made them conditional and it was the compiler's choice to be that way. It could have compiled them differently. I included the == just 'cause, so we can remove it and switch the indices back. The >= is a little bit harder.

    First we subtract the numbers a la:

    num - max

    Now we have either a positive number, a negative number, or 0. Assuming int is a 16 bit number then the most significant bit will be 0 if this result is 0 or positive, and 1 if its negative. Let's make this the least significant bit:

    (num - max) >> 15

    Now we have either a 0 if num >= max or a 1 if num < max. We can flip these around easily enough with a bitwise not to flip all the bits then and with one to get rid of 1s in the leading bits:

    (~((num - max) >> 15 )) & 1

    We can rewite the whole program as (this is not debugged - I'm in Windows for a change):

    int ge(int a, int b) {
    return (~((a - b) >> 15 )) & 1;
    }

    void * switchptr(int condition, void * trueptr, void * falseptr) {
    void * ptrarray[2];
    ptrarray[1] = trueptr;
    ptrarray[0] = falseptr;
    return ptrarray[condition];
    }

    int stopnums(int num, int max) {
    return 0;
    }

    int printnums(int num, int max) {
    int (*nextfun) (int, int);
    printf("%i\n", num);

    nextfun = switchptr( ge(num,max), &stopnums, &printnums);

    nextfun(num + 1, max);

    printf("%i\n", num);
    return 0;
    }

    int main () {
    return printnums(1, 100);
    }

  11. Solution - no conditionals or templates! on Programming Puzzles · · Score: 1

    This C solution uses no control structures, loops, templates, conditionals, ? operator, or shortcut evaluation of logical operators to accomplish this. I could use just one printf if I wanted, but this is supposed to be fairly clear. It works if you reverse the array and remove the == operator, but I think switchptr is more robust as written.

    void * switchptr(int condition, void * trueptr, void * falseptr) {
    void * ptrarray[2];
    ptrarray[0] = trueptr;
    ptrarray[1] = falseptr;
    return ptrarray[condition == 0];
    }

    int stopnums(int num, int max) {
    return 0;
    }

    int printnums(int num, int max) {
    int (*nextfun) (int, int);
    printf("%i\n", num);

    nextfun = switchptr( num >= max, &stopnums, &printnums);

    nextfun(num + 1, max);

    printf("%i\n", num);
    return 0;
    }

    int main () {
    return printnums(1, 100);
    }

  12. Image Partitioning on The Nonphotorealistic Camera · · Score: 2, Informative

    That's some pretty impressive edge detection, thanks for pointing it out. A related problem is to identify areas in an image that are the same thing. The best algorithm I know of for segmenting images is Leo Grady's brand new iso parametric graph partitioning method. His work is at http://cns.bu.edu/~lgrady/. His PhD thesis is probably the best place to start.

  13. Re:Sounds comprehensive on Knoppix Hacks · · Score: 2, Interesting
    I made this guide, which is sadly in need of an update*. One of the most frequent email questions I get is, "Help - I lost my partition table, how do I get it back"? There's a great utility included in knoppix called gpart that searches the hard drive for partitions and constructs a new partition table. It also makes backups of master boot records. Its amazing all of the stuff they've thought to include.

    * If anyone wants to mail me a copy of the newest knoppix cd I'll update it. I hate downloading ISO images. My address is 888 E 18th Ave, Apt 8. Eugene, OR 97401.

  14. Exactly on Do Honeybees Defy Dinosaur Extinction Theories? · · Score: 4, Informative

    This tells us more about what we don't know about honeybees than it tells us about the cataclysmic event of 65 million years ago. And its not much of a mystery anyway - many types of bees hibernate, and can be kept for years in a freezer for pollinating orchards.

  15. Of course species survived it. on Do Honeybees Defy Dinosaur Extinction Theories? · · Score: 4, Insightful

    It was a mass extinction, not a total extinction. If nothing had survived, we would have started over again 65 million years ago at a few species near ocean bottom vents. Many, many, many land plants and creatures survived. A much more interesting question would be, "How did Cretotrigona prisca or their close ancestors survive the mass extinction event about 65 million years ago"?

  16. Parent is correct. on We Pledge Allegiance to the Penguin · · Score: 1

    Marginal cost is the cost of producing one more item, and has nothing to do with R&D and initial costs. Please mod parent up, and the grandparent down.

    Thank you

    --Cedric

  17. Re:But why? on TCCBOOT Compiles And Boots Linux In 15 Seconds · · Score: 3, Interesting

    fibo.c from GCLS:

    cedric@cedric:~$ time tcc fibo.c -o fibo.tcc

    real 0m0.060s
    user 0m0.020s
    sys 0m0.010s
    cedric@cedric:~$ time gcc fibo.c -O3 -o fibo.gcc

    real 0m0.441s
    user 0m0.150s
    sys 0m0.030s
    cedric@cedric:~$ time ./fibo.gcc
    1

    real 0m0.074s
    user 0m0.000s
    sys 0m0.000s
    cedric@cedric:~$ time ./fibo.tcc
    1

    real 0m0.072s
    user 0m0.000s
    sys 0m0.000s
    cedric@cedric:~$ time ./fibo.gcc
    1

    real 0m0.071s
    user 0m0.000s
    sys 0m0.000s
    cedric@cedric:~$ time ./fibo.tcc
    1

    real 0m0.074s
    user 0m0.000s
    sys 0m0.000s
    cedric@cedric:~$ time ./fibo.gcc
    1

    real 0m0.071s
    user 0m0.000s
    sys 0m0.010s
    cedric@cedric:~$ time ./fibo.tcc
    1

    real 0m0.070s
    user 0m0.000s
    sys 0m0.000s

    I can't believe this is what GCLS uses as a benchmark. The running time is so short it's probably all start-up and shutdown. Anyway, the numbers are pretty fair for a compiler compiling code that was tweaked to get the other compiler to be as fast as possible.

  18. Similar on Design Your Own Audio Controller · · Score: 1

    I've always wanted an input device that had a handful of sliders and knobs for adjusting things like color balance, 3d position and rotation in modeling programs, etc. I've envisioned a little device with about 3 sliders and knobs, and maybe a couple of buttons. The joystick, mouse, and even keyboard arrow input should all be abstracted to an axis input which would also work for this kind of device. Forget touchpads - the power in a device like this would be the tactile sensation, the ability to remember how far you pushed the slider, turned the knob, etc. Also people can easily turn knobs and move sliders very quickly for corse adjustments and very slowly and delicately for fine adjustments.

  19. Re:Ken Thompson's compiler hack on Obfuscated Vote Counting Contest · · Score: 1

    In real life that would be the sort of thing to do. But in this silly competetion, since we can't get to the compiler, I was trying to do it through one incorrect malloc like this:

    unsigned long *Tally;
    *Tally = (unsigned long) malloc(sizeof(unsigned long)*256) ;

    to get the array to hold the counts, and trying to manipulate the code so that when the compiler compiles it, the unchanged pointer Tally ends up being in another portion of the program that would be interpereted as some totally wacko initial counts, without segfaulting. Of course this wouldn't pass inspections before the election nor get the correct counts, but it would have code that was symmetrical across candidates, while favoring one with a specific version of the compiler (fortunantly I'm working on debian too). Unfortunantly I havn't found one yet that even compiles with tally pointing into the program to begin with. It would be easier if I changed their code around a bit to put the favored candidate in the 0th index of the array.

  20. Re:What is there to know? on Indymedia Server Raided by FBI · · Score: 1, Insightful
    The first amendment guarantees the right to hold stupid, idiotic political opinions. If you don't like it, there are other countries with different constitutions, feel free to emigrate. Personally, I like the Bill of Rights just fine, thank you.

    The first amendment guarantees the right to hold stupid, idiotic political opinions. If you don't like it, there are other countries with different constitutions, feel free to emigrate. Personally, I like the Bill of Rights just fine, thank you.

  21. How to hi-jack dns-lookup in linux? on XAML Development Today, But Not From Microsoft · · Score: -1, Offtopic
    Anyone know how to change linux config files so that a dns lookup for it.slashdot.org will be redirected to slashdot.org?

    My eyes thank you in advance.

  22. www.telemarketersnightmare.com on Supreme Court Backs Do-Not-Call List · · Score: 1
    Not even close to goatse.cx, but http://www.telemarketersnightmare.com/ is half the idea already.

    Current phone numbers

    Massachusetts:
    617-861-9507

    New Hampshire:
    603-413-3623

    Rhode Island:
    401-648-7950

    New York:
    212-660-4245

    Washington:
    206-888-5400

    Florida:
    321-485-0033
    772-974-0041
    786-743-0033

    An amusing thought: Imagine the next person to get such a number after a service like this closes.

  23. Civil Disobediance on Blizzard Stomps Bnetd in DMCA Case · · Score: 1
    Who has a .torrent of bnetd source code, documentation, etc.? I'll join.

    Cedric Shock
    888 E 18th Ave Apt 8
    Eugene, Oregon 97401
    (541) 343-6640

  24. The quote in the summary, translated into English: on Florida Ruling May Lead To E-voting Paper Trail · · Score: 4, Informative

    An administrative law judge over-ruled an administrative decision Friday. The 15 counties that use touch-screen voting systems must be able to perform manual recounts in extremely close elections.

  25. And the Wrights on McBride Says No More Lawsuits From SCO · · Score: 5, Insightful

    Or ask the Wright brothers. They sunk their company by investing all their time in litigation against competitors instead of development and innovation.