@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3 4 5 6 7 8



Comments:

<0> D->G
<0> You don't know whether the player is dead
<0> You don't know the truth value of D
<0> What can you then conclude about the truth value of G
<1> not a damn thing
<0> Bingo
<0> So what are the possible values of D
<0> ***uming the player is either dead or they aren't
<0> D or not D
<1> possible values are 0 and 1
<0> D or ~D
<0> Yeah
<0> Let's say D is 1 if the player is dead
<0> Since 1 is what we call true
<0> And 0 is false
<0> if (1) {this code always executes}



<0> if (0) {this code gets ignored like khan at a hetero***ual bar}
<0> So
<1> .....lol
<0> If the player is dead
<0> What is the value of D
<1> 1
<0> And if they're alive, what is the value of D
<1> 0
<0> If the player is dead, what is the value of G?
<1> true
<0> In numerical form
<1> 1
<1> or
<0> And if they're alive, what's the value of G
<1> whatever one we want it to be yes?
<1> 0
<2> 42
<0> Doing good so far
<0> Now
<3> yeah, redeye ****s
<0> (There's a reason I seem like I'm repeating, hang tight)
<3> ****S I say!
<3> it wasn't even funny!
<2> pinkeye?
<3> PI better be better!
<3> bastards!
<0> With each value on its own line, what are the possible values of D, Tak?
<1> D: 0 1 G: 0 1
<0> Okay, close
<1> err..
<0> But each value on its own line
<1> you just said D
<0> Right
<0> And each value on its own line
<1> D
<1> 0
<1> 1
<0> Good
<0> Now add a column for the resulting values of G, and title that column "D->G"
<1> D->G
<1> 0
<1> 1
<0> Now put them next to each other
<1> D D->g
<1> 0 0
<1> 1 1
<0> And you've got a truth table
<0> And what's D?
<0> It doesn't entirely matter
<0> It could be voltage
<0> It could be the proposition that the sky is red
<0> It could be an indicator that the player is dead
<0> The output doesn't care
<0> Now that logic only took one input
<0> You can get considerably more complex
<3> http://www.rossignol.com/index.php?&_lang=US&cl***=Products&function=detail&moid=136&first=0&oidit=T005:3qvz8461ccelx3z05j4s5y4sa&categ=T001:ea0b99bdab9582918af5a08e3b986a2a&matos=T002:6134c8b22a7ec8953814026bef1af44a&univers=T007:C7b70ec9c34a975b6608695a2f0458371&family=T008:76361feb205c460ea850e1eb9dff36ab&***=T009:bed14ddcf5a27e8568cf42426a675166&oidProd=T010:152c52c689e157fae385df3314371319&template=produit_detail.html
<3> look at those pretty new skis.
<0> But was that helpful to you, Tak?
<0> The point of the logic is that it's entirely self contained.
<0> It's a priori.



<1> it was, but... *looks at paper and thinks*
<0> Whether you know whether A and B are true or not, or whether D is, doesn't matter
<0> You don't even have to know what they are
<0> All you have to know is their possible values
<0> And how their possible values affect the rest of the logic
<0> Try making a truth table for this:
<0> A means the sky is black
<0> B means it's night time
<0> uhhhh
<1> OH
<0> Can't think of a way to make this an example, but what are the possible truth values of A AND B
<1> what the hell it makes sense now
<1> A B
<1> 0 0
<1> 0 1
<1> 1 0
<1> 11
<0> Bingo
<1> that is simply all the possibly combos
<0> And you might have a column on their right of A and B
<0> Right
<0> And if you had three possible inputs, you'd have 8 rows
<0> (***uming binary states for each input)
<1> aha yea!
<0> Real easy
<0> But, if you've never seen it before, it can be a little odd.
<0> But one last thing
<0> Take the table you just wrote
<1> ?
<0> And add a column for A AND B
<1> A B A^B
<1> 0 0 0
<1> 0 1 0
<1> 1 0 0
<1> 1 1 1
<0> Right
<0> Real easy stuff, just making sure you got it
<0> But, 95% of the stuff inside your computer works exactly like that
<1> thanks :D
<0> Sure
<0> And the rest of it just reads the inputs off your hard drive, or from the ports on the *** of the computer, or from a crystal clock
<0> Or whatever
<0> So it's all very fundamental.
<0> That Code book really delves wonderfully into how it all relates
<0> How we go from counting in decimal math all the way through to putting together machine code
<0> And why it all works
<1> I have really been wanting to learn about that kind of stuff lately anyway
<0> So if you've never been exposed to that, it might be a fun read.
<0> I think it's very interesting
<0> Once you see it, you really don't have to study it unless you're into that sort of thing
<0> But it's really good to see at least once
<0> Like
<0> You know your radio works off radio waves
<0> And turns them into audio
<0> But it's one thing to say you know that
<0> And it's quite another to actually see the course of events
<0> But that's for another night
<1> hehe
<1> I was wondering first of all how 1 and 0, true and false are representing in this box *kicks his computer*
<0> ~5 volts DC, 0 volts DC
<0> But that's pretty arbitrary
<0> Your hard drive is just a collection of sorted zones, some are magnetic (1), some aren't.
<0> Once you can arrange the world into 0's and 1's, it's just a matter of shoving it through the right sequence of logic gates, and you'll get anything you want.
<0> I used to think that was hyperbole, then I discovered wikipedia
<0> :o
<4> ok
<5> alright i'm gonna try to get some sleep... thanks for the help guys
<4> What is the best way of validating at string to be alphanumeric only?
<4> or could you recommend a regex lib
<4> nvm
<4> got it
<0> http://www.zombietime.com/
<6> whats that ?
<0> :)


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #c++
or
Go to some related logs:

pcsx + rpm + fc4
12WHERE IS THE HOLY SHRINE ESTABLISHED BY ST BERNADETTE??
#MissKitten
baby_chique
Mac address Java console output
I hate john stewart
#chatzone
#AllNiteCafe
It works fine on MY computer It worked yesterday
#c



Home  |  disclaimer  |  contact  |  submit quotes