Thomas changed the topic of #Kopernicus to: #Kopernicus | Release 1.2.2-6 - https://git.io/v0Gg5 | Pictures: https://git.io/vHqLy | List of packs: http://git.io/vWjiY | GitHub: http://git.io/vWAFE | Examples: http://git.io/vWAF9 | Visual Editor: http://git.io/vWAbq | Funny Quotes: https://git.io/vHqt8 | <Kopernicus> Kopernicus/master 91e89a4 thomas-jenkins: Kopernicus 1.2.2-6 - "404 - Title not found"
TonyAirborne has joined #Kopernicus
TonyC_alt has quit [Ping timeout: 180 seconds]
Sigma88 is now known as SigmaAway
TonyAirborne has quit [Ping timeout: 204 seconds]
egg is now known as egg|zzz|egg
GregroxMun has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
Bdisney has joined #Kopernicus
<Bdisney> Test
<Bdisney> Erm why is my text just a black bar
<Bdisney> Nevermind it was an addon. Anyone here?
<Bdisney> I'll take your silence as a no.
<Bdisney> Still kind of waiting.
<Bdisney> I may as well just kind of say my question and then give you another way to contact me once someone answers.
<Bdisney> Anyways, the issue: I really want to make a planet pack - BADLY - But I have 0 clue on any coding knowledge. I've tried KittopiaTech, but when I create a copy of a body (so I can then create a new planet), it doesn't show up on the body select screen. I CAN edit code, however, i cannot create it. Essentially what I mean by that, if all the brackets and
<Bdisney> necessary numbers and stuff are already in place, I can edit it to do a lot of things. (So if I had a preset for Jool, I could probably create a new gas giant by tweaking the numbers; trial and error; and making new textures), However, I'm still looking for a preset to base this on. I can use kittopia to add rings and stuff, However, I do need a preset for
<Bdisney> both rocky and gas planets.
<Bdisney> you can contact me via skype; search on that "Brandon Disney" and you should find me. The pic should be of a black hole with shockwaves n' stuff
NathanKell is now known as NathanKell|AFK
NathanKell|AFK is now known as NathanKell
NathanKell is now known as NathanKell|Twitch
NathanKell|Twitch is now known as NathanKell
NathanKell is now known as NathanKell|AWAY
<KillAshley|SEMI> o/
Olympic1 is now known as Olympic1|AWAY
Gameslinx has joined #Kopernicus
<Gameslinx> o/
<Gameslinx> Is there a way to limit the light curve of a star so that it only affects the planets around it instead of the entire system?
egg|zzz|egg is now known as egg|afk|egg
<Gameslinx> Put shortly, the range of its light
<KillAshley|SEMI> pretty sure there is, but i cant remember....been a while since i messed with stars. should ask sigma when he gets on
<Gameslinx> Alright thank you :)
<SigmaAway> Bdisney: still here?
SigmaAway is now known as Sigma88
<Sigma88> 0/ KillAshley|SEMI
<Gameslinx> @sigma88 did you see my above message? If you're able to help, that would be awesome :)
<Sigma88> Gameslinx: what do you mean with light?
<KillAshley|SEMI> he means a light falloff based on the distance
<KillAshley|SEMI> like the displayed light on scaledspace
<Sigma88> there are different features in ksp that you could refer to when talking about light
<Sigma88> ok
<Sigma88> so the illumination effect on the planet
<Gameslinx> When my star passes close to another planet, the other planet receives light from my star instead of the sun, but my star is not anywhere near powerful enough to actually reach that ar
<Gameslinx> KillAshley got it :)
<Sigma88> so you are referring to the lighting effect, not the solar panels output
<Sigma88> right?
<Gameslinx> Yes
<Sigma88> I know this would have been an issue
<Sigma88> s/ow/ew
<Qboid> Sigma88 meant to say: I knew this would have been an issue
<Gameslinx> Hmm
<Sigma88> right now kopernicus selects the closest star
<Sigma88> when displaying light
<Sigma88> I think it should select the star with the brightest "light output"
<Sigma88> meaning, the star that will make the solar panels produce the most Ec/s
<Gameslinx> That... makes... a bit of sense. Is it not able to select both, or use a node similar to Sphere of Influence but with light? "LightSOI = ____ " as a suggestion
<Sigma88> I don't know about that
<Sigma88> I guess it's possible
<Gameslinx> That would be nice
<Sigma88> I'll point this out in a kopernicus issue, I will link it when it's open
<Gameslinx> Thank you :)
<1CSAAEQPB> [Kopernicus] Sigma88 commented on issue #166: with the latest release this issue has been solved... https://git.io/vHCOS
<3GRAAAY43> [Kopernicus] Sigma88 closed issue #166: Wrong solar panel output https://git.io/v9cyT
<Kopernicus> [Kopernicus] Sigma88 opened issue #176: ScaledSpace lighting effect https://git.io/vHC3k
<Sigma88> Gameslinx: ^
<Kopernicus> [Kopernicus] Sigma88 opened issue #177: cbNameLater https://git.io/vHC3n
<Sigma88> KillAshley|SEMI: idk if you use cbNameLater
<Sigma88> that might interest you
<Gameslinx> Me?
<Sigma88> no killashley
<Sigma88> your link is the second to last
<Sigma88> ScaledSpace lighting effect https://git.io/vHC3k
<KillAshley|SEMI> i dont use it
<Sigma88> this one
<Gameslinx> Thanks Sigma
<Sigma88> np
<KillAshley|SEMI> never really needed it in my packs
<Kopernicus> [Kopernicus] Sigma88 commented on issue #177: pinging here some people I know use the feature:... https://git.io/vHC3d
<Kopernicus> [Kopernicus] Sigma88 commented on issue #177: pinging here some people I know use the feature:... https://git.io/vHC3d
<Gameslinx> I used cbNameLater but I've just switched over to displayName
<Sigma88> yes that's the best option
<Sigma88> I'm being cautious because I don't want to be making decisions on wrong assumptions
<Sigma88> so if there is anyone who actually needs cbNameLater they can contact me
<Sigma88> before we make the change
<Kopernicus> [Kopernicus] Sigma88 commented on issue #177: pinging here some people I know use the feature:... https://git.io/vHC3d
Gameslinx has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<Kopernicus> [Kopernicus] Sigma88 opened pull request #178: see-you-later-cbNameLater (master...see-you-later-cbNameLater) https://git.io/vHCGp
<Kopernicus> [Kopernicus] Sigma88 commented on issue #89: I guess we can close this right? :D https://git.io/vHCZz
<Kopernicus> [Kopernicus] Sigma88 closed issue #75: Terrain glitches when timewarping in Space Center scene and launching through launchpad (might only occur when Kerbin is reparented) https://git.io/vHCZ6
<Kopernicus> [Kopernicus] Sigma88 commented on issue #177: pinging here some people I know use the feature:... https://git.io/vHC3d
<Kopernicus> [Kopernicus] Sigma88 commented on issue #177: pinging here some people I know use the feature:... https://git.io/vHC3d
<Sigma88> !whois jadeofmaar
<Sigma88> \whois jadeofmaar
Olympic1|AWAY is now known as Olympic1
<Sigma88> stupid chat
<Sigma88> :D
ferram4 has quit [Ping timeout: 204 seconds]
<Sigma88> !seen Eleusis*
<Qboid> Sigma88: I haven't seen the user Eleusis* yet.
<Sigma88> !seen *Eleusis*
<Qboid> Sigma88: I haven't seen the user *Eleusis* yet.
<Sigma88> >_>
<Qboid> Sigma88: I'll redirect this as soon as they are around.
<KillAshley|SEMI> Sigma88: wtf is that
<Sigma88> a kerbasaur
<Sigma88> kerbasaurus rex to be precise
<Sigma88> :D
<Sigma88> KillAshley|SEMI: ^
<Sigma88> I have the krontosaurus as well
GregroxMun has joined #Kopernicus
<Sigma88> 0/
<GregroxMun> \o
<Qboid> GregroxMun: Sigma88 left a message for you in #Kopernicus [29.05.2017 11:47:06]: "https://www.dropbox.com/s/8h4kq05lzursfy8/Screenshot%202017-05-29%2013.46.31.png?dl=0 xD"
<GregroxMun> Hohohohohoho
<GregroxMun> ^actual reaction
<GregroxMun> that's incredible.,
<Sigma88> I have the krontosaurus as well
<Sigma88> btw, TR is not compatible with 1.3 :(
<GregroxMun> :(
<Sigma88> it works fine for everything
<Sigma88> but crashes when you try going eva
<Sigma88> >_>
<GregroxMun> oh wow
<Sigma88> yes
<Sigma88> I wanted to go look at the dinosaur but ksp kept crashing
<Sigma88> >_>
<Sigma88> I had to take a pic from the craft :D
<Kopernicus> [Kopernicus] StollD commented on issue #177: I don't want to remove it, at least not now.... https://git.io/vHC5B
Thomas|AWAY is now known as Thomas
ferram4 has joined #Kopernicus
<Kopernicus> [Kopernicus] StollD commented on issue #176: Another idea: The limitation to one active scaled space light was done because otherwise it would've been way too bright in Scaled Space. ... https://git.io/vHC5Q
<Thomas> o/
<Sigma88> 0/
<Kopernicus> [Kopernicus] Sigma88 commented on issue #176: so every star will illuminate a planet? everyone with a different intensity based on luminosity and distance? ... https://git.io/vHCbu
<GregroxMun> that above comment on issue 176 sounds like heaven.
<Kopernicus> [Kopernicus] Sigma88 commented on issue #177: that's cool by me, I've already switched anyways https://git.io/vHCAX
<Sigma88> !wa convert 4.63e10 to mols
<Qboid> Sigma88: convert 4.63×10^10 to moles: (no named unit) and mol (moles) are not compatible.
<Sigma88> what?
<Sigma88> stupid wa
<Sigma88> !wa 4.63e10 / avogadro's number
<Qboid> Sigma88: (4.63×10^10)/(Avogadro number): 7.688×10^-14
<Sigma88> !wa (4.63e10 / avogadro's number) moles to pico moles
<Sigma88> !wa (4.63e10 / avogadro's number) * moles / picomoles
<Qboid> Sigma88: (4.63×10^10)/(Avogadro number) mol/pmol (mole per picomole): 0.07688
<Sigma88> !wa (1.39e10 / avogadro's number) * moles / picomoles
<Qboid> Sigma88: (1.39×10^10)/(Avogadro number) mol/pmol (mole per picomole): 0.02308
<Sigma88> 0.01 pmol/25ul
<Sigma88> !wa 0.01 pmol/25ul
<Qboid> Sigma88: (0.01 pmol (picomoles))/(25 µL (microliters)): 4×10^-7 mol/m^3 (moles per cubic meter)
<Sigma88> thomas is there a way to get the order of magnitude of a double in c#?
<Sigma88> eg: input = 0.03
<Sigma88> output = 0.01
<Sigma88> or -2
<Sigma88> (as in, 10^-2)
<Sigma88> egg|afk|egg: ^
* UmbralRaptor assumes that there's a log10, or does that take too many cycles?
<Sigma88> UmbralRaptor: so log10(0.03) ?
<Sigma88> and then round?
<Thomas> !c Math.Log
<Qboid> (1,7): error CS0428: Cannot convert method group `Log' to non-delegate type `object'. Consider using parentheses to invoke the method
<Thomas> !c Math.Log(1, 10)
<Qboid> 0
<UmbralRaptor> Barring the specialized function, that should work
<Thomas> !c Math.Log(2, 2)
<Qboid> 1
<Thomas> !c Math.Log(0.03, 10)
<Qboid> -1.52287874528034
<Thomas> !c Math.Log(10, 0.03)
<Qboid> -0.656651097862631
<UmbralRaptor> !c Math.Log(3, 10)
<Qboid> 0.477121254719662
<Thomas> !c Math.Log(10, 1/0.03)
<Qboid> 0.656651097862631
<Sigma88> !c Math.Log(1, 10)
<Qboid> 0
<UmbralRaptor> !c Math.Round(Math.Log(3, 10), 1)
<Qboid> 0.5
<Sigma88> !c Math.Log(0.1, 10)
<Qboid> -1
<Sigma88> !c Math.Log(0.01, 10)
<Qboid> -2
<Sigma88> !c Math.Log(0.03, 10)
<Qboid> -1.52287874528034
<Sigma88> !c Math.Round(Math.Log(0.03, 10),0, MidpointRounding.AwayFromZero);
<Qboid> -2
<Sigma88> !c Math.Round(Math.Log(0.09, 10),0, MidpointRounding.AwayFromZero);
<Qboid> -1
<Sigma88> that's not right
<Sigma88> I think I need to use string
<Sigma88> might as well explain what I need
<Sigma88> there are some rounding errors when using MM and c# in general
<Sigma88> for example, when I calculate masses and geeASLs in SD
<Sigma88> I can get some values like
<Sigma88> 1.00000000000001
<Sigma88> what I want to do is round that number to one less decimal pace
<Sigma88> place
<Sigma88> !c "1.0000001".IndexOf(".")
<Qboid> 1
<UmbralRaptor> This sounds like an egg question, then. >_>;;
<Sigma88> !c "1.0000001".Substring(1,8)
<Qboid> .0000001
<Sigma88> hmmm
<Sigma88> !c 0.5d
<Qboid> 0.5
<Sigma88> ugh
<Sigma88> this is going to be a pain in the ass
<Sigma88> !c "36000.0000000001".Length
<Qboid> 16
<Sigma88> ok
<Sigma88> so
<Sigma88> I can check if the Length is 15 (removing the floating point)
<Sigma88> if it is 15, I round the last 2 numbers to the nearest 10
<Sigma88> so in this case, 01 rounded to 10 is 0
<Sigma88> and replace the last 2 numbers with the rounded value
<Sigma88> does that sound like a bad idea?
<Sigma88> of course I will need to take out floating points and everything after "E" if there is one
<Thomas> crappy suggestion incoming
<Thomas> (1.00000000000001 * 10) - ((int)1.00000000000001)
<Thomas> no
<Thomas> (1.00000000000001 * 10) - ((int)(1.00000000000001 * 10))
<Sigma88> no I cannot assume the number is an int
<Thomas> you dont assume that
<Thomas> tell me a random number
<Thomas> that fits your description
<Sigma88> !c (1.00000000000001 * 10)-((int)(1.00000000000001*10))
<Qboid> 9.9475983006414E-14
<Sigma88> >_>
* Thomas blames floating points
<Sigma88> thomas, use 2/3 as a number
<Sigma88> !c 2/3
<Qboid> 0
<Sigma88> !c 2d/3
<Qboid> 0.666666666666667
<Sigma88> that
<Thomas> !c var x = 2d/3
<Thomas> !c (x * 10) - (int)(x * 10)
<Qboid> 0.666666666666666
<Thomas> !c x
<Qboid> 0.666666666666667
<Thomas> !c x = 2d/5
<Thomas> !c x
<Qboid> 0.4
<Thomas> !c x = 2d/50
<Thomas> !c x
<Qboid> 0.04
<Thomas> !c (x * 10) - (int)(x * 10)
<Qboid> 0.4
<Thomas> Sigma88: ^
<Thomas> !c x = 37.005
<Thomas> !c (x * 10) - (int)(x * 10)
<Qboid> 0.0500000000000114
<Thomas> Hmm
<Sigma88> I'm not sure that's better
<Sigma88> :)
<Thomas> !c (x * 10) - (int)(x * 10) + (int)x
<Qboid> 37.05
<Thomas> !c x = 2d/50
<Thomas> !c (x * 10) - (int)(x * 10) + (int)x
<Qboid> 0.4
<Thomas> Yep
<Thomas> That should work
<Thomas> !c (x * 10) - (int)(x * 9)
<Qboid> 0.4
<Thomas> !c x = 37.005
<Thomas> !c (x * 10) - (int)(x * 9)
<Qboid> 37.05
<egg|afk|egg> Sigma88: why do you want to do that, 1.00000000000001 is a nice number
<Thomas> !c x = 37.75
<Thomas> !c (x * 10) - (int)(x * 9)
<Qboid> 38.5
<Thomas> Heh
<egg|afk|egg> why are you all doing these silly things
<egg|afk|egg> don't try to pretend that binary floating point is something other than binary floating point
<egg|afk|egg> you will shoot yourself in the foot
<Thomas> Because I am bored, and because I said "silly suggestion incoming" :P
<egg|afk|egg> and then our lord Kahan will laugh at you
<Sigma88> egg|afk|egg: so what would you propose?
<Sigma88> this is my issue
<egg|afk|egg> Sigma88: what is your issue
<Sigma88> I have a calendar mod that calculates which year / day is today from the "time" provided by KSP
<egg|afk|egg> Sigma88: in Kerbal years and days?
<egg|afk|egg> or normal years and days
<Sigma88> the problem is, that with rounding errors, a day can end up being 36000.0000000001 seconds long
<egg|afk|egg> no, that's if you do it wrong
<Sigma88> the length of day and year is customly defined
<egg|afk|egg> ah
<egg|afk|egg> well, you don't care
<egg|afk|egg> if the day is 36000.0000000001 s long, then it's 36000.0000000001 s long
<egg|afk|egg> nobody gives a damn
<Sigma88> the problem is
<Sigma88> if a year is, let's say
<Sigma88> !c 36000*365
<Qboid> 13140000
<Sigma88> and a day is supposed to be 36000 but gets bumped to 36000.0000000001 for an error
<egg|afk|egg> then you still don't care
<Sigma88> it ends up there's not enough space to fit 365 days in a year
<egg|afk|egg> seriously before ULPs catch up with you you'll be old
<Sigma88> which means my code will cut the year short
<egg|afk|egg> Sigma88: unless you write things really stupidly
<egg|afk|egg> which it sounds like you do
<Sigma88> because it assumes there's a leap year
<egg|afk|egg> we are straying from the point
<egg|afk|egg> *what are you trying to do*
<egg|afk|egg> not *what issues do you think there are*
<Sigma88> I'm trying to cleaning up rounding errors
<egg|afk|egg> ok, stop right there
<egg|afk|egg> that's impossible
<egg|afk|egg> go back up to the higher level of things that you are trying to do
<egg|afk|egg> it does not *make sense* to clean up rounding errors
<egg|afk|egg> you will write code that is internally inconsistent
<egg|afk|egg> and impossible to debug
<egg|afk|egg> so stop
<Sigma88> ok
<egg|afk|egg> rounding errors exist, and you live with them
<egg|afk|egg> now, what are you trying to do
<Sigma88> so, I want to make a mod that can calculate years and days from the ingame time (which is in seconds)
<egg|afk|egg> define "calculate years and days"
<Sigma88> I tell you how long is a "year" and how long is a "day" in seconds
<Sigma88> I tell you the time now
<Sigma88> in seconds
<Sigma88> I want the year and day
<egg|afk|egg> Sigma88: how long is a "year" << in what
<Sigma88> brb got to get off the train
<egg|afk|egg> seconds, days, dogs?
<UmbralRaptor> Date conversions, so $big_num seconds -> MM/YYYY?
<egg|afk|egg> UmbralRaptor: what is this strange date format
* egg|afk|egg stabs UmbralRaptor with ISO 8601
<UmbralRaptor> Does ISO 8601 apply to non-terran date systems?
<egg|afk|egg> no
<KillAshley|SEMI> i want a year measured in dogs
<UmbralRaptor> The current date is dog 5, potato 28.
<KillAshley|SEMI> *puppy 28
<egg|afk|egg> ah no, in puppies it's 27.4
<egg|afk|egg> for meaningful historical reasons
<KillAshley|SEMI> i can live with that
<Thomas> KillAshley|SEMI: A dog lives for about 15 years (according to the interwebs), so a one year measured in dogs is probably 1/15 dogs
<KillAshley|SEMI> can i request kopernicus clock have a dog option?
<Thomas> You can mod that
<GregroxMun> The idea is it's configurable
<GregroxMun> so you just make a dog calendar
<Sigma88> I like dogs so puppy years is ok
<Sigma88> But I really like cats
<Sigma88> So.....
<Thomas> cat!
<KillAshley|SEMI> pffft cats are assholes
<egg|afk|egg> kitty!
<Sigma88> Egg I had something else in mind xD
<egg|afk|egg> Sigma88: oh, you want to compute leap days from arbitrary year and day lengths?
<egg|afk|egg> Sigma88: that's fun
<egg|afk|egg> Sigma88: not easy, but fun
<KillAshley|SEMI> lol
<egg|afk|egg> Sigma88: is that what you want to do?
<Sigma88> I have two options right now
<Sigma88> Not both for leap years
<egg|afk|egg> no no, you can have both
<egg|afk|egg> and use continued fractions!
<Sigma88> Wait let me get home
<egg|afk|egg> Sigma88: anyway I'm going to eat so we can talk about that after food
<Sigma88> Egg i was about to say the same
Sigma88 is now known as SigmaNomz
<Kopernicus> [Kopernicus] NathanKell commented on issue #177: Thing is I would like to keep Earth called Earth in data as well as
<GregroxMun> Idea: a "Village" biome with ground scatter of little houses.
<egg|afk|egg> wait, we have a live NathanKell|AWAY?
<Bdisney> so... its actually active today?
<Bdisney> or not...
<KillAshley|SEMI> GregroxMun: imagine how that would kill you pc when you go near it
<KillAshley|SEMI> Bdisney: is what active
<GregroxMun> I'd really rather not.
<KillAshley|SEMI> lol
<Thomas> egg|afk|egg: Yes, he's been regulary avtive for some time now, but you always miss him
<Thomas> (me too)
NathanKell|AWAY is now known as NathanKell
<Thomas> o/ NathanKell
<NathanKell> o/
<NathanKell> interesting scrollback timing :D
<GregroxMun> did you feel an itchy ear, NK?
<NathanKell> nope, just hilariuusly coincidental :]
<NathanKell> or maybe I have sooper powers
<Thomas> NathanKell: Well, it's kinda the second time now :D First time was Sarbian
NathanKell is now known as NathanKell|AFK
SigmaNomz is now known as Sigma88
<Sigma88> 0/
<Sigma88> lol NK already afk
<Sigma88> thomas I think it's time
<Thomas> for what?
<Sigma88> I tried to battle it, kept telling myself it wasn't necessary
<Sigma88> but now I realize it was unavoidable all along
<Sigma88> I've got to port 100% SD to plugin
<Sigma88> >_>
<Thomas> \o/
<Thomas> Plugin \o/
<Thomas> Write a MM to C# compiler
<Sigma88> !c 14400f*2.5f
<Qboid> 36000
<Sigma88> why do you think MM returns 36000.000000001 ?
<Thomas> !c 14400d*2.5d
<Qboid> 36000
<Thomas> Hmm
<Thomas> !c (14400d*2.5d).ToString()
<Qboid> 36000
<Thomas> Sigma88: Ask Sarbian?
<Sigma88> does MM use float or double?
<Sigma88> I'm trying to check that it's not a silly error from Ohiobob first
<Sigma88> -.-
<Sigma88> dayLengthMultiplier = 1.66666666666667
<Sigma88> -.-
<Sigma88> -.-
<Sigma88> -.-
<Sigma88> -.-
<Sigma88> WTF
<Thomas> Sigma88: MM uses double
<Sigma88> >_>
<Sigma88> !c 5/3d
<Qboid> 1.66666666666667
<Sigma88> thomas, I think we should add a parameter to round year and day values to the nearest second
<Sigma88> so that we can avoid all this crap
<Kopernicus> [Kopernicus] Sigma88 commented on issue #177: @NathanKell is there some places where the real name of the planet could come up? https://git.io/vHWqo
<Kopernicus> [Kopernicus] Sigma88 closed pull request #178: see-you-later-cbNameLater (master...see-you-later-cbNameLater) https://git.io/vHCGp
<Kopernicus> [Kopernicus] Sigma88 commented on issue #177: I'd say there's enough interest to keep cbNameLater, so I'll just close the issue https://git.io/vHWqd
<Sigma88> !c Math.Round(0.4,0)
<Qboid> 0
<Sigma88> !c Math.Round(0.5,0)
<Qboid> 0
<Sigma88> !c Math.Round(0.6,0)
<Qboid> 1
<Sigma88> !c Math.Round(0.500000001,0)
<Qboid> 1
<Sigma88> I guess that's fine
<Sigma88> thomas are you still here?
<Thomas> yes
<Sigma88> let's say I want to add a bool to round the number
<Sigma88> I assume is best to round the number just once, instead of putting a check in the get{} of the number
<Sigma88> right?
<Sigma88> so I just parse the bool, then after everything is set, I check the bool, if it's true I round the number, and that's it
<Sigma88> >_>
<Thomas> Or you parse the bool in preapply, and eval in in the setter of the relative loader
<Thomas> But.. actually your way makes more sense
<Thomas> o/
Thomas is now known as Thomas|AWAY
<Sigma88> night
<Sigma88> ;)
<egg|afk|egg> !wpn Sigma88
* Qboid gives Sigma88 a metabotropic expansion
<GregroxMun> !wpn
* Qboid gives GregroxMun an average gantlet
<Sigma88> 0/
<GregroxMun> WE SHALL FIGHT
<Sigma88> I'm here
<egg|afk|egg> good
<Sigma88> !wpn egg
* Qboid gives egg a boiled NaN
<egg|afk|egg> sorry, I fell asleep
<egg|afk|egg> so
* GregroxMun punches Sigma88
<egg|afk|egg> let's go back to your question
<Sigma88> yup
<egg|afk|egg> Sigma88: you have a day length which is some number of seconds (as a double) and the year length (same), right?
<Sigma88> yes and no
<Sigma88> I found out where the error was coming from
<Sigma88> ohiobob was using SD to change the rotation period of kerbin
<Sigma88> he needed 3/5th
<Sigma88> so he set the multiplier to
<Sigma88> !c 3d/5
<Qboid> 0.6
<Sigma88> sorry
<Sigma88> 5/3
<Sigma88> !c 5d/3
<Qboid> 1.66666666666667
<Sigma88> but then the result was
<egg|afk|egg> !c (3.0/5.0).ToString("R")
<Qboid> 0.6
<Sigma88> !c 14400 * 1.66666666666667
<Qboid> 24000
<Sigma88> >_>
<Sigma88> 5/3 rds
<egg|afk|egg> !c (3.0/5.0).ToString("G17")
<Qboid> 0.59999999999999998
<egg|afk|egg> neache 3/5 è rappresentabile, Sigma88
<egg|afk|egg> ma non fa niente
<Sigma88> well 3/5 is 0.6
<Sigma88> :D
<Sigma88> there's no rounding error
<egg|afk|egg> no Sigma88
<Sigma88> ?
<egg|afk|egg> there is no value of double which is equal to 0.6
<Sigma88> what?
<egg|afk|egg> because 1/5 is not an integer times a power of 2
<egg|afk|egg> nor is 3/5
<Sigma88> oh god
<Sigma88> !c (double)(3d/5d)
<Qboid> 0.6
<Sigma88> but it sais 0.6
<egg|afk|egg> yes but you are being lied to
<egg|afk|egg> please try to understand what a floating point number *is*
<egg|afk|egg> not what is printed for convenience
<Sigma88> so 0.6 is not a double
<Sigma88> interesting
<egg|afk|egg> 0.6, the rational number is not a value of the IEEE 754 floating point type binary64
<egg|afk|egg> the key is *binary*
<egg|afk|egg> because the same thing happens for 1/3 in decimal and 1/5 in binary
<Sigma88> ah that makes sense
<egg|afk|egg> do we have Soozee?
<egg|afk|egg> hmm not here
ferram4 has quit [Read error: Connection reset by peer]
ferram4 has joined #Kopernicus
egg|afk|egg is now known as egg|zzz|egg
Mead has joined #Kopernicus
<Sigma88> GregroxMun: rejoice http://forum.kerbalspaceprogram.com/index.php?/topic/96851-11-texturereplacer-2413-442016/&do=findComment&comment=3072578
<Sigma88> !c -0.25%1
<Qboid> -0.25
<Sigma88> !c (-0.25%1+1)%1
<Qboid> 0.75
<Sigma88> !c (-1%1+1)%1
<Qboid> 0
<Sigma88> !c (0%1+1)%1
<Qboid> 0
<Sigma88> !c (1%1+1)%1
<Qboid> 0
<Sigma88> !c (0.25%-1-1)%-1
<Qboid> -0.75
<Sigma88> !c (-0.25%-1-1)%-1
<Qboid> -0.25