| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10
Comments:
<0> French . . . it would seem <1> found it! http://www.kame.net/newsletter/19980604/ <2> well, the name SI is french (systeme international) <3> silly french and their POO :) <2> hehe :) <2> but in europe, we don't use all SI units either <2> kelvin for instance <4> Isn't Celcius SI too? <5> DrkMatter: Nope. <6> Is euro SI? or is it dollar? <7> DrkMatter what temperature IS SI then? <4> Well, Kelvin I guess. <2> you better pay attention, vawjrwrk :)
<7> not fair <4> But Kelvin really isn't handy. <7> Celsius almost certainly is SI <5> Celsius is more used than Kelvin <5> Yeah. <8> since they're both linearly identical.. <8> does it really matter? :) <5> =) <3> let's switch to Rankin ;) <7> there's an h in there <4> Well, the SI webpage states Kelvin is. <2> i read that celsius is a SI derived unit <7> who is it that decreed no degree symbol before the C ... I thought that was SI <2> so it is SI <8> well, to do some calculations you need to convert to Kelvin first. <8> but [never?] do you need to convert to C first. <7> huh? <8> vaw, I think for the math to work out for the equations (as written) in most textbooks <8> chemistry and what not <2> Swish: unless it uses a difference of temperature :) <4> Well, yes, Kelvin si what you use in maths for absolute temperatures. <8> mathieu, true :) <7> mathieu well then, K and C are teh same <8> the 273 cancels.. <8> but yeah <4> But for msot use (IE, relative temperatures, and everyday use), Celcisu are a lot more handy. <7> 273.16 <8> ooh there's a .16 :) <7> iirc <2> .15 i thought :) <5> .15 AFAIK <4> It's .16 <2> it's .15 <5> DrkMatter: Not true. <5> http://en.wikipedia.org/wiki/Temperature_conversion_formulas <4> I got my info straight from the BIPM (Bureau International des Poids et Mesures / International office for weights and measures) <9> does anyone here know if the vtable of function pointers when you use virtual member functions is guaranteed to be in cl***-order or if its ordering is undefined? <7> wikpedia has a typo <4> http://www.bipm.fr/fr/si/base_units/ <4> I think THEY are the standards organization here, not wikipedia. =P <4> http://www.bipm.fr/en/si/base_units/ <4> There, for you non-french speaking barbarians. =P <5> I've learnt as "273.15", I may be wrong. <7> tiocsti not defined that I know of <2> http://www.googlefight.com/index.php?lang=en_GB&word1=273.15&word2=273.16 <2> google says it's 273.15 <2> :) <7> tiocsti the _location_ of the vtable, if it exists isn't defined either <5> =))
<7> oooooooh google <8> haha that's funny <9> vaw, yeah that i dont care about <4> mathiue: MY info coems from the BIPM! They'Re the one who -set- these things. <7> tiocsti why would you care about the other, if you cannot reliably find it <9> i was trying to change an abstract interface in a shared library and have existing code still call the right function as long as i _appended_ member functions, and didnt change the order of existing functions <2> DrkMatter: bipm has a type <2> typo <9> it works in compilers that i've looked at, but i dont have the ansi standard <2> http://www.bipm.fr/fr/si/si_brochure/chapter2/2-1/2-1-1/kelvin.html <7> tiocsti I'm not sure you can pull it off <4> -_- <4> Yes, and the typo is the .15 one. <4> Note how .16 is used everywhere else. <5> How can you tell ? <5> Maybe they were high.. <8> wow <2> hm <8> I googlefighted me vs. bill gates. <4> There are two sues of .16, and one of .15 <8> he's only twice as cool as I am. <4> *uses <4> Oh, and vawjr: FRom the BIPM, you should still put a degree symbol before Celcius, but not before Kelvin. <2> after reading: 273.15 kelvin = freezing of water at 1 atm, 273.16 kelvin = triple point of water <4> I say that ahd a float to double conversion fiasco. <7> DrkMatter ah, thanks <2> "The Celsius scale sets 0.01 C to be at the triple point of water " (wikipedia) <9> vaw, is there a design pattern for extending an interface in a shared lib without needing to rebuild consumers from source? <7> tiocsti C++ is silent on the topic of "shared libraries" <9> vaw: well of course, but it would apply to any case where you have mismatched abstract interfaces <9> vaw, thats just the only practical example <10> tiocsti: I've used an object factory for that situation. <10> The client code only sees the top library in the chain, which exposes a factory. All requests for object creation are done through that factory. <10> The trick is to create the factory through another factory. <1> a FactoryFactory? <10> That way other libraries can hook into the factory and substitute their own implementations. <10> The client code is none the wiser. <10> The Gang of Four book has a couple of applicable patterns. <1> I should prolly get around to reading that one of these days <10> Googling for "factory pattern" should return enough stuff to keep you up reading until well into tomorrow morning. <11> wtf, can't use string in a case ? <4> switch statements operate only on integer values. <11> how do i enum strings ? <4> You'll have to use if/else if/else if [...]. <11> not if i use enum <4> Well, yes, but enums aren'T strings. <11> meh <4> They're integers. But if it fits your need, use'em. <11> how ? <11> enum {"QUIT" = 0, ...} ? <4> Well... That won't work. <4> enums are just series of integers. <4> I meant that if you can substitute your strings with a serie of integers, you'll be able to use a switch statement. <11> ahh <4> Otherwise, it's if/else if for you. <11> thx <10> Or use a std::map to make an ***ociation <7> enum strings??? <7> or if you havn't mucked about with the ***igned values, an array for mapping
Return to
#c++ or Go to some related
logs:
tariqroadsale.com c code sort without comparisons firefox can't cut and paste #linux #MissKitten jet java_home ubuntu #AllNiteCafe What is the profession of nursery rhyme characters Lucy Locket and Kitty Fisher #linux #apache
|
|