Tip jar

If you like CaB and wish to support it, you can use PayPal or KoFi. Thank you, and I hope you continue to enjoy the site - Neil.

Buy Me a Coffee at ko-fi.com

Support CaB

Recent

Welcome to Cook'd and Bomb'd. Please login or sign up.

March 29, 2024, 08:42:39 AM

Login with username, password and session length

popcorn will answer ALL your maths questions correctly here

Started by Replies From View, April 10, 2021, 09:51:47 PM

Previous topic - Next topic

gib

Quote from: Replies From View on April 15, 2021, 02:22:46 PM
Does anyone remember asking those specific questions?

i'm changing my question to why does the dog look so shit

touchingcloth


Replies From View

Quote from: popcorn on April 17, 2021, 11:34:19 PM
are you saying I need to work it out with a pencil

I'm saying you need to do the work yourself, without a calculator, and show exactly what you did to work it out so that everyone can check the process.

popcorn

Number of countries of the world (estimate): 100

Number of people in each country on average (estimate): 100

Therefore 100 x 100 = 10,000 people

______________

Number of times I do a shit per day (typical day): 1

Certainty that everyone else does the same number of shits per day (typical day) as me (estimate): 100%

Assuming that 5 minutes constitutes one "time", number of times that exist in a single day: (24 hrs divided by 5mins): 288 times

______________

Certainty of shitting: 100%

Replies From View

You weren't asked to work out a "certainty of shitting", Crayhole (which is your new name).

Quote from: Replies From View on April 17, 2021, 11:28:04 PM
you need to work out how many people are likely to be having a shit at any exact same given moment

popcorn


Replies From View




zomgmouse



Replies From View


zomgmouse


touchingcloth


Sonny_Jim

In this section of assembler for 'Super Spike V'Ball' on the NES, why do they decrement and then increment the Y register?  I thought it might be setting the negative flag but surely the LDA would do that anyway?

Quote
07:C83B: A0 00     LDY #$00
07:C83D: 84 3B   STY $3B tmp_var6_hi = #$6E
07:C83F: 88         DEY
07:C840: C8         INY
07:C841: B1 2F    LDA ($2F),Y @ $86A3 = #$02
07:C843: 30 0D    BMI $C852 end
07:C845: 18         CLC

seepage

Quote from: Sonny_Jim on April 23, 2021, 09:30:20 AM
In this section of assembler for 'Super Spike V'Ball' on the NES, why do they decrement and then increment the Y register?  I thought it might be setting the negative flag but surely the LDA would do that anyway?

Is it a quicker way to drop the last bit for some reason?

Sonny_Jim

Y gets loaded with 0, so it's empty.  A real headscratcher and I hope Popcorn has the requisite mathematics to find an answer.

pancreas


Replies From View

Quote from: pancreas on April 23, 2021, 12:25:51 PM
Don't answer popcorn's questions for him.

Sometimes you realise your elected leaders are too shit and you have to save fragments of humanity yourself


There's a limit, obviously.  I can't endlessly step in when popcorn is being paid a living wage to cover it 24/7.  However every now and then I will give a starving African lad a sandwich.


The Dog

Quote from: Sonny_Jim on April 23, 2021, 12:16:45 PM
Y gets loaded with 0, so it's empty.  A real headscratcher and I hope Popcorn has the requisite mathematics to find an answer.

Is there ever a jump into C840 from somewhere else?

Replies From View

Quote from: The Dog on April 23, 2021, 12:57:42 PM
Is there ever a jump into C840 from somewhere else?

No doubt popcorn will only be thinking of WD40 at this moment.  Quite literally a buffoon at maths, that boy

Sonny_Jim

Oh man, I'm such a melon.  Let me print the full listing and you'll see where I went wrong.  Certainly a 'woods for the trees' moment:

Quote
07:C83B: A0 00    LDY #$00
07:C83D: 84 3B    STY $3B tmp_var6_hi = #$00
07:C83F: 88       DEY
loop:
07:C840: C8       INY
load from table
07:C841: B1 2F    LDA ($2F),Y @ $D31E = #$29
07:C843: 30 0D    BMI $C852 end
07:C845: 18       CLC
07:C846: 65 3B    ADC $3B tmp_var6_hi = #$00
07:C848: 85 3B    STA $3B tmp_var6_hi = #$00
if > 16
07:C84A: C9 10    CMP #$10
07:C84C: B0 04    BCS $C852 end
07:C84E: C5 3A    CMP $3A tmp_var6_lo = #$00
07:C850: 90 EE    BCC $C840 loop

ETA:  Sorry Popcorn, I'll have a think about a more interesting question.

Replies From View


Sonny_Jim

I've certainly got egg on my face.  What a gaffe, Prince Phillip would be proud.

Replies From View

Mate don't be so hard on yourself.  There is only room for one dunce in this land and it is popcorn.

popcorn

does that mean I don't have to answer any more maths questions

Replies From View

Quote from: popcorn on April 23, 2021, 02:12:22 PM
does that mean I don't have to answer any more maths questions

no it means you have to try harder


much much harder

popcorn

well ok is it at least OK if my answers are wrong then. due to dunce.

Replies From View


popcorn

If it's not OK to make mistakes how do I learn from them.