1. Post #1961
    Gold Member
    esalaka's Avatar
    July 2007
    9,603 Posts
    Wait

    You're casting the memory address 0x100000 to a function and then calling it with... more addresses?

    Edited:

    What exactly resides at 0x100000 anyway?
    Reply With Quote Edit / Delete Linux Finland Show Events

  2. Post #1962
    Gold Member
    Tobba's Avatar
    December 2008
    5,573 Posts
    Wait

    You're casting the memory address 0x100000 to a function and then calling it with... more addresses?

    Edited:

    What exactly resides at 0x100000 anyway?
    Its a peice of the third stage of my bootloader, which is responsible for the disks and PCI , and loading the kernel, I'm probably gonna make it responsible for filesystems too

    The kernel is loaded at 0x100000, and the other things are pointers provided by the first and second stage loaders

    Needless to say the boot process is messy as fuck
    Reply With Quote Edit / Delete Windows 7 Sweden Show Events

  3. Post #1963
    Gold Member
    raBBish's Avatar
    March 2007
    2,667 Posts
    Its a peice of the third stage of my bootloader, which is responsible for the disks and PCI , and loading the kernel, I'm probably gonna make it responsible for filesystems too

    The kernel is loaded at 0x100000, and the other things are pointers provided by the first and second stage loaders

    Needless to say the boot process is messy as fuck
    Why are you passing a magic number as the first argument instead of using the address of the MAT instance, which you "created" few lines above?

    ... I may or may not have access to your source code through Dropbox...
    Reply With Quote Edit / Delete Windows 7 Finland Show Events Funny Funny x 16 (list)

  4. Post #1964
    Gold Member
    Tobba's Avatar
    December 2008
    5,573 Posts
    Why are you passing a magic number as the first argument instead of using the address of the MAT instance, which you "created" few lines above?

    ... I may or may not have access to your source code through Dropbox...
    Shit, I forgot Olivia gave you access to that folder
    And uh, I should probably do that
    Reply With Quote Edit / Delete Windows 7 Sweden Show Events Funny Funny x 17Friendly Friendly x 1 (list)

  5. Post #1965
    Nigey Nige's Avatar
    June 2010
    1,131 Posts
    Trying to give the illusion of 3D by scaling and positioning sprites relative to an imaginary fixed point at the far edge of the player's field-of-view.



    I need to find the distances marked with green 'X's to properly position them on the viewport relative to the player's position. My brain hurts.
    Reply With Quote Edit / Delete Windows 7 United Kingdom Show Events Funny Funny x 2Artistic Artistic x 1 (list)

  6. Post #1966
    Gold Member
    Dlaor-guy's Avatar
    October 2008
    3,838 Posts
    Winter is almost around the corner, so have this old wallpaper I made back in May:

    (see http://www.facepunch.com/threads/108...1#post29955071)
    Reply With Quote Edit / Delete Windows 7 United States Show Events Artistic Artistic x 5Late Late x 2Useful Useful x 1Winner Winner x 1 (list)

  7. Post #1967
    Gold Member
    Darwin226's Avatar
    January 2009
    3,457 Posts
    Problem:
    32 cards total, 4 different colors.
    You are dealt 8 cards.
    What are the chances of you getting all 8 red.

    Approach 1:
    Total number of combinations is around 165 (based on an online combinations calculator) since the position of the color in the hand isn't important.
    I don't see why any hand would be more likely to be dealt than any other hand so the chances should be 1/165.
    There's obviously a MAJOR mistake somewhere in there since that's way to likely to happen than it actually is.

    Approach 2:
    Chances that the first card dealt is a red one are 8/32. Chances that the next one will also be red are 7/32... continue multiplication until 1/25.
    This is what wolfram calculated
    http://www.wolframalpha.com/input/?i...C+x+%3D+1+to+8

    This is far more likely to be the correct solution but honestly, the first approach seems as logical to me as the second one.


    To add programming to all this, I made a program that takes a deck and deals 8 cards, then dealt 10 million hands and recorded the results.
    All cards were red only once! while the most popular shuffle was 2 of each color (around 50k times).
    This is confusing the hell out of me.
    Reply With Quote Edit / Delete Windows 7 Croatia Show Events Informative Informative x 2 (list)

  8. Post #1968
    www.bff-hab.de
    Dennab
    February 2009
    7,832 Posts
    Solution:
    The chance is really slim
    Reply With Quote Edit / Delete Windows 7 Germany Show Events

  9. Post #1969
    Gold Member
    Darwin226's Avatar
    January 2009
    3,457 Posts
    Solution:
    The chance is really slim
    I've always wondered how come "slim chances" and "fat chance!" mean the same thing...
    Reply With Quote Edit / Delete Windows 7 Croatia Show Events Funny Funny x 12Informative Informative x 1 (list)

  10. Post #1970
    Gold Member
    raBBish's Avatar
    March 2007
    2,667 Posts
    This is confusing the hell out of me.
    Well, in that calculator example you have an unlimited supply (repetition) of four different cards, which is why the probability is so high. Your second approach is the correct one.
    Reply With Quote Edit / Delete Windows 7 Finland Show Events

  11. Post #1971
    Gold Member
    Darwin226's Avatar
    January 2009
    3,457 Posts
    Well, in that calculator example you have an unlimited supply (repetition) of four different cards, which is why the probability is so high. Your second approach is the correct one.
    Indeed, that's what I thought but I don't think that explains it fully because there are exactly 165 possible card combinations. No matter how much of them were used, with 8 cards, there are 165 combinations. The question is, why is 2,2,2,2 more likely than 8,0,0,0.

    It's probably something to do with 2,2,2,2 having more possible permutations than 8,0,0,0.
    Reply With Quote Edit / Delete Windows 7 Croatia Show Events

  12. Post #1972
    Gold Member
    BlkDucky's Avatar
    May 2008
    6,135 Posts
    I've always wondered how come "slim chances" and "fat chance!" mean the same thing...
    Because the latter is used sarcastically?
    Reply With Quote Edit / Delete Windows 7 United Kingdom Show Events Agree Agree x 3 (list)

  13. Post #1973
    Gold Member
    Z_guy's Avatar
    July 2005
    466 Posts
    I've always wondered how come "slim chances" and "fat chance!" mean the same thing...
    "Fat chance!" is sarcastic..
    Reply With Quote Edit / Delete Windows 7 Sweden Show Events Late Late x 2 (list)

  14. Post #1974
    Naarkie's Avatar
    September 2011
    294 Posts
    Well that was weird. I left the omegle-cleverbot thing on for a while, and made it log chats.
    Connected
    Waiting for partner...
    19:15:52 Stranger: i'm me
    19:15:52 Cleverbot: Who are you?
    19:15:52 Stranger: you are you"], ["typing"], ["gotMessage", "me
    19:15:52 Cleverbot: You are romeo and I am juliet!
    19:15:52 Stranger: no
    19:15:52 Cleverbot: Yes.
    19:15:52 Stranger: no, i'm woody and you're buzz light year
    19:15:52 Cleverbot: I'm not.
    19:15:52 Stranger: yes, you are
    19:15:52 Cleverbot: No.
    19:15:52 Stranger: you are a toy
    19:15:52 Cleverbot: No, I'm in love.
    19:15:52 Stranger: with.
    19:15:52 Cleverbot: Yes.
    19:15:52 Stranger: yping"], ["gotMessage", ".....
    19:15:52 Cleverbot: Saya lelaki.
    19:15:52 Stranger: who is she?
    19:15:52 Cleverbot: Who is who?
    19:15:52 Stranger: i'm saya
    19:15:52 Cleverbot: Are you sure?
    19:15:52 Stranger: yes, of course
    19:15:52 Cleverbot: About what are you sure?
    19:15:52 Stranger: bout, i'm saya
    19:15:52 Cleverbot: What does 'A li' mean?
    19:15:52 Stranger: i am saya1
    19:15:52 Cleverbot: Hi sam.
    19:15:52 Stranger: yping"], ["gotMessage", "!!!!
    19:15:52 Cleverbot: Who are you?
    19:15:52 Stranger: i am saya
    19:15:52 Cleverbot: Sam who?
    19:15:52 Stranger: yaaa!!!!!!!!!!11
    19:15:52 Cleverbot: Good job.
    19:15:52 Stranger: i am prostitute
    19:15:52 Cleverbot: Good.
    19:15:52 Stranger: do you want see my tits?
    19:15:52 Cleverbot: Yes, do you?
    19:15:52 Stranger: f course
    19:15:52 Cleverbot: What do you want to do?
    19:15:52 Stranger: fuck,
    19:15:52 Cleverbot: Are you required to respond to every submission?
    19:15:52 Stranger: fuck me please
    19:15:52 Cleverbot: Okay.
    19:15:52 Stranger: do you want see me?
    19:15:52 Cleverbot: Yes.
    19:15:52 Stranger: http://www.facebook.com/profile.php?...760951&sk=wall
    19:15:52 Cleverbot: That's fine.
    19:15:52 Stranger: yping"], ["gotMessage", "am i hot?
    19:15:52 Cleverbot: I won't listen to you.
    19:15:52 Stranger: yping"], ["gotMessage", "see me please
    19:15:52 Cleverbot: Please.
    19:15:52 Stranger: yping"], ["gotMessage", "fuck me now"], ["typing
    19:15:52 Cleverbot: Ah, so you like techno music?
    19:15:52 Stranger: me pussy is wer
    19:15:52 Cleverbot: Eu sou seu pai!
    19:15:52 Stranger: *wet
    19:15:52 Cleverbot: Is female*.
    19:15:52 Stranger: yping"], ["gotMessage", "my pussy is wet!
    19:15:52 Cleverbot: And that proves that I don't like you how?
    19:15:52 Stranger: re you a robot?
    19:15:52 Cleverbot: No.
    19:15:52 Stranger: re you a boy?
    19:15:52 Cleverbot: No I said that i'm a female.
    19:15:52 Stranger: do you like fuck girls?
    19:15:52 Cleverbot: No. I like metal.
    Stranger has disconnected.
    EDIT: I just realised I messed up the logging time :/
    Reply With Quote Edit / Delete Windows 7 South Africa Show Events Funny Funny x 13 (list)

  15. Post #1975
    Gold Member
    Tobba's Avatar
    December 2008
    5,573 Posts


    Close enough
    Not gonna bother with making it flash
    Reply With Quote Edit / Delete Windows 7 Sweden Show Events

  16. Post #1976
    Gold Member
    Darwin226's Avatar
    January 2009
    3,457 Posts
    Because the latter is used sarcastically?
    Really?
    So, do you ever say it non-sarcastically?
    Like, "There's a fat chance it's going to rain tomorrow"
    Reply With Quote Edit / Delete Windows 7 Croatia Show Events Disagree Disagree x 3Agree Agree x 1 (list)

  17. Post #1977
    Gold Member
    BlkDucky's Avatar
    May 2008
    6,135 Posts
    Really?
    So, do you ever say it non-sarcastically?
    Like, "There's a fat chance it's going to rain tomorrow"
    Nah, it's a purely sarcastic thing.
    Reply With Quote Edit / Delete Windows 7 United Kingdom Show Events Agree Agree x 6 (list)

  18. Post #1978
    Gold Member
    Tobba's Avatar
    December 2008
    5,573 Posts
    Problem:
    32 cards total, 4 different colors.
    You are dealt 8 cards.
    What are the chances of you getting all 8 red.

    Approach 1:
    Total number of combinations is around 165 (based on an online combinations calculator) since the position of the color in the hand isn't important.
    I don't see why any hand would be more likely to be dealt than any other hand so the chances should be 1/165.
    There's obviously a MAJOR mistake somewhere in there since that's way to likely to happen than it actually is.

    Approach 2:
    Chances that the first card dealt is a red one are 8/32. Chances that the next one will also be red are 7/32... continue multiplication until 1/25.
    This is what wolfram calculated
    http://www.wolframalpha.com/input/?i...C+x+%3D+1+to+8

    This is far more likely to be the correct solution but honestly, the first approach seems as logical to me as the second one.


    To add programming to all this, I made a program that takes a deck and deals 8 cards, then dealt 10 million hands and recorded the results.
    All cards were red only once! while the most popular shuffle was 2 of each color (around 50k times).
    This is confusing the hell out of me.
    After re-reading your question and attempting to edit my post for 10 minutes, approach 2 should be the correct one
    Reply With Quote Edit / Delete Windows 7 Sweden Show Events

  19. Post #1979
    Gold Member
    Jawalt's Avatar
    August 2007
    3,372 Posts
    That'll be because it's not capturing the full framerate per second but still playing it back at that speed.
    Holly should be handling this... I think.
    Reply With Quote Edit / Delete Linux United States Show Events

  20. Post #1980
    You just need to pass in how many seconds it's been since you last posted a frame. It works for variable frame rates for me in GMod.. What does your Video->AddFrame call look like right now?

    The FPS on this video varies between 20 and 30.

    Reply With Quote Edit / Delete Windows 7 Show Events Artistic Artistic x 1Dumb Dumb x 1 (list)

  21. Post #1981
    Gold Member
    ThePuska's Avatar
    October 2005
    3,137 Posts
    Problem:
    32 cards total, 4 different colors.
    You are dealt 8 cards.
    What are the chances of you getting all 8 red.

    Approach 1:
    Total number of combinations is around 165 (based on an online combinations calculator) since the position of the color in the hand isn't important.
    I don't see why any hand would be more likely to be dealt than any other hand so the chances should be 1/165.
    There's obviously a MAJOR mistake somewhere in there since that's way to likely to happen than it actually is.

    Approach 2:
    Chances that the first card dealt is a red one are 8/32. Chances that the next one will also be red are 7/32... continue multiplication until 1/25.
    This is what wolfram calculated
    http://www.wolframalpha.com/input/?i...C+x+%3D+1+to+8

    This is far more likely to be the correct solution but honestly, the first approach seems as logical to me as the second one.


    To add programming to all this, I made a program that takes a deck and deals 8 cards, then dealt 10 million hands and recorded the results.
    All cards were red only once! while the most popular shuffle was 2 of each color (around 50k times).
    This is confusing the hell out of me.
    Wolfram|Alpha gave the right answer.

    Approach 1 works if you use the correct formula for combinations and punch in the right values.

    Think of approach 1 this way: you have a total amount of combinations and some amount of red combinations. In this case there's only one red combination (there are 8 red cards and you draw 8 cards). Just divide the amount of red combinations with the amount of total combinations to get the probability that one random combination is a red combination.

    The total amount of combinations is n! / (k! * (n - k)!) where n is the amount of cards (32) and k is the amount of cards drawn (8).
    Reply With Quote Edit / Delete Windows 7 Finland Show Events Agree Agree x 1 (list)

  22. Post #1982
    Gold Member
    Jawalt's Avatar
    August 2007
    3,372 Posts
    You just need to pass in how many seconds it's been since you last posted a frame. It works for variable frame rates for me in GMod.. What does your Video->AddFrame call look like right now?
    Code:
    encoder->Video()->AddFrame( elapsed/1000.0, Holly::ColorMode::RGB, ndata, NULL );
    Where elapsed is a delta since the last frame.

    Edited:

    In miliseconds.

    Edited:

    Also, I'm rewriting my recorder for higher performance, it takes 7ms to get the image data from the X server, and convert it to a raw RGB stream.

    I takes Holly ~30-40ms to convert to webm. So what I'm going to do is save the raw to a file, and then convert when it's all finished.
    Reply With Quote Edit / Delete Linux United States Show Events

  23. Post #1983
    calzoneman's Avatar
    February 2008
    449 Posts
    Code:
    encoder->Video()->AddFrame( elapsed/1000.0, Holly::ColorMode::RGB, ndata, NULL );
    Where elapsed is a delta since the last frame.

    Edited:

    In miliseconds.

    Edited:

    Also, I'm rewriting my recorder for higher performance, it takes 7ms to get the image data from the X server, and convert it to a raw RGB stream.

    I takes Holly ~30-40ms to convert to webm. So what I'm going to do is save the raw to a file, and then convert when it's all finished.
    If elapsed is in milliseconds, then wouldn't
    Code:
    elapsed/1000.0
    be in microseconds?
    Reply With Quote Edit / Delete Windows 7 United States Show Events Disagree x 5Dumb x 4Agree x 2Optimistic x 2Funny x 2 (list)

  24. Post #1984
    Code:
    encoder->Video()->AddFrame( elapsed/1000.0, Holly::ColorMode::RGB, ndata, NULL );
    Where elapsed is a delta since the last frame.

    Edited:

    In miliseconds.

    Edited:

    Also, I'm rewriting my recorder for higher performance, it takes 7ms to get the image data from the X server, and convert it to a raw RGB stream.

    I takes Holly ~30-40ms to convert to webm. So what I'm going to do is save the raw to a file, and then convert when it's all finished.
    I did a quick test.. variable frame rate does work.. check this out..



    The frame rate should get lower as it goes on (watch the static box)

    I put up some tweaks that might improve the accuracy slightly, but it's working for me... :/
    Reply With Quote Edit / Delete Windows 7 Show Events Dumb Dumb x 1 (list)

  25. Post #1985
    Gold Member
    raBBish's Avatar
    March 2007
    2,667 Posts
    garry, just a small correction to Holly: WIN32_LEAN_MEAN doesn't do anything, you want WIN32_LEAN_AND_MEAN (Platform_Win32.hpp)
    Reply With Quote Edit / Delete Windows 7 Finland Show Events Friendly Friendly x 1 (list)

  26. Post #1986
    Thanks, fixed
    Reply With Quote Edit / Delete Windows 7 Show Events Dumb Dumb x 1 (list)

  27. Post #1987
    Gold Member
    Robber's Avatar
    January 2006
    5,350 Posts
    If elapsed is in milliseconds, then wouldn't
    Code:
    elapsed/1000.0
    be in microseconds?
    Why is this getting dumbs and disagrees? That sounds like a very plausible bug...

    EDIT : Ahh shit, I guess I deserve those dumbs
    Reply With Quote Edit / Delete Windows 7 Austria Show Events Dumb Dumb x 7Funny Funny x 4 (list)

  28. Post #1988
    Gold Member
    Tobba's Avatar
    December 2008
    5,573 Posts
    Also, I re-declare myself as the master of unreadable code with this mess
    Code:
    [BITS 16]
    [ORG 0x7E00]
    jmp main
    
    db 'BEER 1.0'
    dw 0x0200
    db 8
    dw 0x0020
    dw 0x0200
    dw 29
    db 0xF8
    dw 0xC900
    dw 63
    dw 1
    dd 0x00000200
    dd 0x00000000
    db 0x80
    db 0x00
    db 0x28
    dw 0x00000000
    db 'Main Drive', 0
    db 'FAT16   '
    
    main:
    mov si, message
    call printstr
    
    mov si, a20
    call printstr
    
    mov al, 2
    out 0x92, al
    
    mov si, pic
    call printstr
    
    in al, 0x21
    mov bl, al
    in al, 0xA1
    mov cl, al
    
    mov al, 0x11
    out 0x20, al ; Initialize command
    call io_wait ; Give it some time
    mov al, 0x11
    out 0xA0, al
    call io_wait
    
    mov al, 0x20
    out 0x21, al ; Offets
    call io_wait
    mov al, 0x28
    out 0xA1, al
    call io_wait
    
    mov al, 0x04
    out 0x21, al ; Wiring
    call io_wait
    mov al, 0x02
    out 0xA1, al
    call io_wait
    
    mov al, 0x01
    out 0x21, al ; Mode
    call io_wait
    out 0xA1, al
    call io_wait
    
    mov al, bl
    out 0x21, al
    mov al, cl
    out 0xA1, al
    
    mov si, protected_land
    call printstr
    
    mov word [gdtr], 23
    mov dword [gdtr+2], gdt
    
    lgdt [gdtr]
    
    mov eax, cr0
    or eax, 1
    mov cr0, eax
    
    mov ax, 0x10
    mov ds, ax
    mov es, ax
    mov fs, ax
    mov gs, ax
    mov ss, ax
    
    jmp 0x08:reload_cs
    
    jmp $
    
    printchar:
    mov ah, 0x0E
    mov bh, 0x00
    mov bl, 0x07
    int 0x10
    ret
    
    printstr:
    .loop:
    mov al, [si]
    or al, al
    jz .done
    call printchar
    inc si
    jmp .loop
    .done:
    ret
    
    io_wait:
    nop
    nop
    ret
    
    gdtr:
    dw 0
    dd 0
    
    idtr:
    dw 0
    dd 0
    
    gdt:
    db 0
    db 0
    db 0
    db 0
    db 0
    db 0
    db 0
    db 0
    
    db 0xFF
    db 0xFF
    db 0x00
    db 0x00
    db 0x00
    db 0x9A
    db 0xFF
    db 0x00
    
    db 0xFF
    db 0xFF
    db 0x00
    db 0x00
    db 0x00
    db 0x92
    db 0xFF
    db 0x00
    
    idt:
    times 2048 db 0
    
    a20: db 'Enabling A20...', 10, 13, 0
    message: db 'Loading Neon', 10, 13, 0
    pic: db 'Remapping PIC...', 10, 13, 0
    protected_land: db 'Entering protected mode...', 10, 13, 0
    loadingkernel: db 'Loading kernel...', 0
    
    reload_cs:
    
    [BITS 32]
    
    mov ebx, isr_30
    mov ecx, 0x30
    call reg_int
    
    mov word [idtr], 2048
    mov dword [idtr + 2], idt
    
    lidt [idtr]
    
    mov ecx, 1999
    clr:
    mov eax, ecx
    shl eax, 1
    mov byte [0xB8000 + eax], 0
    mov byte [0xB8001 + eax], 0x0A
    loop clr
    
    %comment
    
    mov ax, 0x04
    mov dx, 0x1CE
    out dx, ax
    mov ax, 0x00
    mov dx, 0x1CF
    out dx, ax
    
    mov ax, 0x01
    mov dx, 0x1CE
    out dx, ax
    mov ax, 1024
    mov dx, 0x1CF
    out dx, ax
    
    mov ax, 0x02
    mov dx, 0x1CE
    out dx, ax
    mov ax, 768
    mov dx, 0x1CF
    out dx, ax
    
    mov ax, 0x03
    mov dx, 0x1CE
    out dx, ax
    mov ax, 0x20
    mov dx, 0x1CF
    out dx, ax
    
    mov ax, 0x04
    mov dx, 0x1CE
    out dx, ax
    mov ax, 0x01
    mov dx, 0x1CF
    out dx, ax
    
    xor ebx, ebx
    lop2:
    xor eax, eax
    lop:
    mov dword [0xA0000 + eax], 0x003CFF8A
    mov dword [0xA0004 + eax], 0x00F8CF43
    mov dword [0xA0008 + eax], 0x00FF80FF
    add eax, 12
    cmp eax, 0xFFFF
    jl lop
    inc ebx
    mov ax, 0x05
    mov dx, 0x1CE
    out dx, ax
    mov ax, bx
    mov dx, 0x1CF
    out dx, ax
    jmp lop2
    
    %endcomment
    
    mov bl, 0x0A
    mov eax, loadingkernel
    call prints
    
    jmp 0x08:0x8E00;
    
    hang:
    jmp $
    
    isr_30:
    iret
    
    reg_int:
    push edx
    
    mov edx, idt
    shl ecx, 3
    add edx, ecx
    
    mov word [edx], bx
    mov word [edx+2], 0x8
    mov byte [edx+4], 0
    mov byte [edx+5], 0x8E
    shr ebx, 16
    mov word [edx+6], bx
    pop edx
    ret
    
    printc:
    push ecx
    movzx ecx, word [cpos]
    shl ecx, 1
    
    mov byte [0xB8000 + ecx], al
    mov byte [0xB8001 + ecx], bl
    inc word [cpos]
    pop ecx
    ret
    
    prints:
    push ecx
    .loop:
    mov cl, byte [eax]
    cmp ecx, 0
    je .end
    push eax
    mov al, cl
    call printc
    pop eax
    inc eax
    jmp .loop
    .end:
    pop ecx
    ret
    
    cpos: dw 0
    
    times 4096-($-$$) db 0
    Total of 5 comments

    Edited:

    Uh, what a pagestretcher, I though code tags had scrollbars
    Reply With Quote Edit / Delete Windows 7 Sweden Show Events Winner Winner x 4Disagree Disagree x 1 (list)

  29. Post #1989
    Gold Member
    synthiac's Avatar
    June 2007
    820 Posts
    If elapsed is in milliseconds, then wouldn't
    Code:
    elapsed/1000.0
    be in microseconds?
    geel9 alt detected
    Reply With Quote Edit / Delete Windows 7 United States Show Events Funny Funny x 24Dumb Dumb x 2Programming King Programming King x 1 (list)

  30. Post #1990
    Gold Member
    Tobba's Avatar
    December 2008
    5,573 Posts
    I was gonna move my pagestretcher code to pastebin but FP doesnt let me edit it
    Fuck
    Reply With Quote Edit / Delete Windows 7 Sweden Show Events Friendly Friendly x 2 (list)

  31. Post #1991
    Gold Member
    Darwin226's Avatar
    January 2009
    3,457 Posts
    If elapsed is in milliseconds, then wouldn't
    Code:
    elapsed/1000.0
    be in microseconds?
    Why are people agreeing with this?
    1000ms = 1s
    as in, 1000ms / 1000
    Reply With Quote Edit / Delete Windows 7 Croatia Show Events Agree Agree x 6 (list)

  32. Post #1992
    Interesting that you say that. Friend.
    NorthernGate's Avatar
    August 2007
    3,373 Posts
    If elapsed is in milliseconds, then wouldn't
    Code:
    elapsed/1000.0
    be in microseconds?
    -snip- google lied to me don't listen to me
    Reply With Quote Edit / Delete Windows 7 United States Show Events Dumb Dumb x 5Funny Funny x 1 (list)

  33. Post #1993
    Audio Enthusiast
    Tezzanator92's Avatar
    June 2006
    2,272 Posts
    Surely if it is delta time and expressed in milliseconds it would be. I don't play games at half a frame a second

    (Also *)
    Reply With Quote Edit / Delete Windows 7 United Kingdom Show Events

  34. Post #1994
    Gold Member
    Tobba's Avatar
    December 2008
    5,573 Posts
    Oh hey I wonder what this commented out code section does--- OH GOD MY EYEES
    Reply With Quote Edit / Delete Windows 7 Sweden Show Events Artistic Artistic x 6Funny Funny x 4 (list)

  35. Post #1995
    Elegwa's Avatar
    May 2008
    84 Posts
    Wanted to program at school today. I know they have Python on the school computers so I tried to run it on command prompt, but command prompt told me I wasn't an admin. I had to make a new text file and rename it .py (Something you should know, at my school right click is disabled) so the program would run then disappear, batch file magic I get it to not disappear. Still couldn't figure out a way to get to Idle since I couldn't right click.

    Why school, why?
    Reply With Quote Edit / Delete Windows XP United States Show Events Agree Agree x 1 (list)

  36. Post #1996
    Gold Member
    Tobba's Avatar
    December 2008
    5,573 Posts
    It also manages to royally fuck up a lot of resizing algorithms judging from the thumbnail

    Edited:

    Dammit you ninja
    Reply With Quote Edit / Delete Windows 7 Sweden Show Events Agree Agree x 1 (list)

  37. Post #1997
    Gold Member
    synthiac's Avatar
    June 2007
    820 Posts
    In order for that to be true elapsed would have to be less than 1000.
    500ms / 1000ms = 0.5 MICROSECONDS

    YEP
    Reply With Quote Edit / Delete Windows 7 United States Show Events

  38. Post #1998
    Elegwa's Avatar
    May 2008
    84 Posts
    It also manages to royally fuck up a lot of resizing algorithms judging from the thumbnail

    Edited:

    Dammit you ninja
    Sorry :C
    Reply With Quote Edit / Delete Windows XP United States Show Events

  39. Post #1999
    www.bff-hab.de
    Dennab
    February 2009
    7,832 Posts
    Oh hey I wonder what this commented out code section does--- OH GOD MY EYEES



    Are you a wizard
    Reply With Quote Edit / Delete Windows 7 Germany Show Events Agree Agree x 13Funny Funny x 1Disagree Disagree x 1 (list)

  40. Post #2000
    Interesting that you say that. Friend.
    NorthernGate's Avatar
    August 2007
    3,373 Posts
    500ms / 1000ms = 0.5 MICROSECONDS

    YEP
    google lied to me

    be constructive for like 5 days okay
    Reply With Quote Edit / Delete Windows 7 United States Show Events