UmbralRaptor changed the topic of #kspacademia to: https://gist.github.com/pdn4kd/164b9b85435d87afbec0c3a7e69d3e6d | Dogs are cats. Spiders are cat interferometers. | Космизм сегодня! | Document well, for tomorrow you may get mauled by a ネコバス. | <UmbralRaptor> … one of the other grad students just compared me to nomal O_o | <ferram4> I shall beat my problems to death with an engineer.
<soundnfury> 0_o
* soundnfury responds in a locally linear manner wherein O(ε²) terms may be neglected
e_14159 has quit [Ping timeout: 201 seconds]
e_14159 has joined #kspacademia
<soundnfury> !wpn UmbralRaptor
* Qboid gives UmbralRaptor a solenoidal LED
* UmbralRaptor gives Ellied a solenoid.
egg|zzz|egg has quit [Read error: Connection reset by peer]
icefire has quit [Read error: Connection reset by peer]
Technicalfool_ has quit [Ping timeout: 180 seconds]
<Iskierka> 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
<Iskierka> 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
<Iskierka> 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
<Iskierka> 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
Iskierka has left #kspacademia [Leaving]
<Iskierka> 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
<Iskierka> 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
<Iskierka> 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
Iskierka has joined #kspacademia
<Iskierka> 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
Iskierka has left #kspacademia [Leaving]
<Iskierka> 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
<Iskierka> 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
<Iskierka> 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
<Iskierka> 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
<UmbralRaptor> uh
Technicalfool has joined #kspacademia
<Iskierka> 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
Iskierka has joined #kspacademia
<Iskierka> 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
Iskierka was kicked from #kspacademia by UmbralRaptor [Iskierka]
<Iskierka> 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
<Iskierka> 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
Iskierka has joined #kspacademia
<Iskierka> 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
* UmbralRaptor pokes channel modes with a stick.
<Iskierka> 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
<Iskierka> 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
<Iskierka> 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
<Iskierka> 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
<Iskierka> 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
<Iskierka> 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
Iskierka has quit [Quit: ZNC - http://znc.in]
Iskierka has joined #kspacademia
<UmbralRaptor> ...what happened?
<Iskierka> pi had been sitting on laptop numpad for a while, apparently hit enter while trying to backspace, and apparently there was a LONG queue
<Iskierka> which znc was saving so force restart
<Iskierka> hopefully not *too* much got through. The end of it was on 3, so if it was still on 0 it wasn't as bad as it could be
<SilverFox> that's a really long link
<Iskierka> apparently ZNC has settings to disable the flood protectsion in general but not to clear its queue, which would be more useful
<Iskierka> I'd like to be protected in aggressive places with lots to paste, but also to kill it in accidents
egg|cell|egg has quit [Ping timeout: 186 seconds]
egg|phone|egg has joined #kspacademia
Mehjiir is now known as Snoozee
egg has joined #kspacademia
<egg> !wpn UmbralRaptor
* Qboid gives UmbralRaptor a mean hydrargentium trihexaflexagon
<egg> !wpn Iskierka
* Qboid gives Iskierka an expressed group
<UmbralRaptor> !wpn egg
* Qboid gives egg a Kozai salmiak
<UmbralRaptor> bleh, RTS
* UmbralRaptor drops a pile of zerglings on egg.
ferram4 has quit [Ping timeout: 204 seconds]
<egg> UmbralRaptor: never played the starcrafts, but age of empires is the first game I played
<egg> [or more accurately, sat on phl's lap while he was playing it]
Technicalfool_ has joined #kspacademia
<egg> !wpn UmbralRaptor
* Qboid gives UmbralRaptor an asymmetric goto
Technicalfool has quit [Ping timeout: 186 seconds]
* UmbralRaptor summons additional raptors.
<egg> UmbralRaptor: ah yes, I think you made a commit message about additional pythons at some point
<UmbralRaptor> >_>
<UmbralRaptor> Yep, using astropy for date conversions.
<egg> UmbralRaptor: now we have principia's own libs \o/
<egg> UmbralRaptor: hmm, age of empires is slightly older than starcraft apparently
<UmbralRaptor> The same principle applies, yes?
<egg> UmbralRaptor: what principle?
<egg> UmbralRaptor: afaict the specifics differ quite a bit, I don't think there's an equivalent to the zergling thing
<UmbralRaptor> Figure out a low tier unit to spam, and use it to autowin small maps?
* UmbralRaptor got really frustrated with the ubiquity of starcraft and wrote of RTSs as a genre.
<UmbralRaptor> And of course, these matches with friends are even less fun because you don't know the maps well because the computer can somehow trivially outproduce you, but not them...
<egg> UmbralRaptor: I don't think you can spam low tier units easily? aoe II tends to devolve into "trash wars" when everyone runs out of gold, but I can't think of anything that sounds like cheap-unit-flood autowin
<egg> UmbralRaptor: does starcraft have houses? that might be an important factor in preventing such tactics
<UmbralRaptor> I want to say that there was a long (multiyear) period where one could build 6 zerglings before a terran or protoss player could complete their first military building.
<egg> UmbralRaptor: that's also a thing, the aoe series has much more similar behaviour across civilizations
<UmbralRaptor> Technically there's a unit limit, but running a few dozen is trivial. Probably over 100 is where things get iffy.
<egg> UmbralRaptor: right, whereas aoe requires building more houses to accomodate more troops (or villagers)
<UmbralRaptor> There are structures that are required to have more units active at one time. But IIRC, they're fairly cheap.
<UmbralRaptor> Oh, and in the case of the Zerg, it's also a unit. That can be upgraded for use as a detector and/or transport.
<egg> !wpn UmbralRaptor
* Qboid gives UmbralRaptor a float lance
egg|cell|egg has joined #kspacademia
egg|phone|egg has quit [Ping timeout: 204 seconds]
egg|phone|egg has joined #kspacademia
egg|cell|egg has quit [Ping timeout: 201 seconds]
egg|phone|egg has quit [Read error: Connection reset by peer]
egg|phone|egg has joined #kspacademia
<egg|work|egg> !u 
<Qboid> U+007F ()
Snoozee has quit [Quit: CUT THE HARDLINES!!]
Snoozee has joined #kspacademia
Snoozee is now known as Majiir
<egg|work|egg> !wpn UmbralRaptor
* Qboid gives UmbralRaptor an orientable constant
<egg|work|egg> !wpn Iskierka
* Qboid gives Iskierka an egotistical McBoatFace/geobukseon hybrid
egg|cell|egg has joined #kspacademia
egg|mobile|egg has joined #kspacademia
egg|cell|egg has quit [Read error: Connection reset by peer]
egg|phone|egg has quit [Ping timeout: 186 seconds]
APlayer has joined #kspacademia
<APlayer> Hi people!
<APlayer> I have a question on my recent Runge-Kutta Integrator problem.
<APlayer> So, as I said, I am implementing this in JS. I figured I may define the function f(t, Y) as an actual function that gets t and Y and returns the Y' vector.
<APlayer> Now, this is probably a newbie questions, but for the velocity - do I just do oldVel + acceleration * time = newVel ?
<APlayer> Where time is delta-t, that is.
<egg|work|egg> `nein, das waere Euler
<egg|work|egg> die Geschwindigkeit ist einfach ein Teil des ys
ferram4 has joined #kspacademia
<APlayer> Also lasse ich die Geschwindigkeit unverändert?
<egg|work|egg> nein!
<egg|work|egg> das ganze y wird so berechnet als es hier erklaert wird https://de.wikipedia.org/wiki/Runge-Kutta-Verfahren#Allgemeine_Formulierung
* egg|work|egg is probably missing a comma in the above sentence
<APlayer> Nein, ich meine nicht das.
<APlayer> Die Funktion f(t, Y) berechnet aus Position, Geschwindigkeit und Zeit die neue Geschwindigkeit und Beschleunigung.
<egg|work|egg> ja
<APlayer> Wie manipuliere ich an dieser Stelle die Geschwindigkeit?
<egg|work|egg> die Geschwindigkeit, die von f berechnet wird, is genau die, die an f gegeben wird
<APlayer> Also lasse ich sie doch unverändert?
<egg|work|egg> f(t, (q, v)) = (v, Kraft(t, q))
<egg|work|egg> genau
<APlayer> Gut, das war die Frage. Danke vielmals!
<egg|work|egg> Kraft(t, q, v) eigentlich
<egg|work|egg> APlayer: es ist aber keine "newVel", fuer f gibt es kein delta-t
* e_14159 switches egg|work|egg back to English.
<e_14159> (Also, why |work|?)
<APlayer> Force, probably.
<APlayer> Ah, that work. Got it.
<APlayer> Uh, maybe because you usually use it at work? ;-)
<egg|work|egg> APlayer: f is the derivative, the delta-ts themselves are in the RK method; f lives in the ODE, doesn't know about any delta-t
<egg|work|egg> e_14159: because I'm at work
* e_14159 is confused about holidays not being the same for every country.
<e_14159> That's complicated :-)
<egg|work|egg> arguably given my productivity today, maybe it's a bit of a misnomer >_>
<egg|work|egg> * e_14159 switches egg|work|egg back to English. << was my German *that* bad? :-p
<e_14159> Also, egg|work|egg: "das ganze y wird so berechnet als es hier erklaert wird [...]" - the comma missing was before the als, and the als should be a wie
<e_14159> No, it was perfectly fine; I was just irritiert, dass ich plötzlich Englisch in diesem Channel lese.
<egg|work|egg> e_14159: yeah, I spotted the comma, but I'm perpetually confused by als vs. wie
<whitequark> uh
<egg|work|egg> hi whitequark
<whitequark> hi
<egg|work|egg> !wpn whitequark
* Qboid gives whitequark a Bravais photothyristor
<e_14159> egg|work|egg: So are most Germans :P
<APlayer> Egg: And one more thing. The Runge-Kutta Integrator itself does Y_n+1 = Y_n + h * sum(b_i * k_i) for i from i = 1 to s
<APlayer> But the "Y_n + h * stuff" part adds a vector to a scalar, doesn't it?
<APlayer> Or is that per coordinate?
<egg|work|egg> nope, the k_i are vectors
<egg|work|egg> thus b_i*k_i are also vectors (b_i are scalars), and so is their sum multiplied by the scalar h
<APlayer> Ah - now I understand!
<APlayer> Wow, huge thanks!
<whitequark> !wpn egg|work|egg
* Qboid gives egg|work|egg a long symbol
<egg|work|egg> is it ⌠
<egg|work|egg> !u ⌠
<Qboid> U+2320 TOP HALF INTEGRAL (⌠)
<APlayer> Also, "wie" is "how" as in "how you do that" while "als" is something you use in comparisons, "as". For example "Blau _wie_ der Himmel" but "Blauer _als_ der Himmel"
<egg|work|egg> ah no, maybe it's ⟶
<egg|work|egg> !u ⟶
<Qboid> U+27F6 LONG RIGHTWARDS ARROW (⟶)
<APlayer> Now that I think of it, "als" can probably be used on most, if not all, occasions where you use "as" except those where it could probably be replaced by "how" (...it is) or "the way" (...it is).
Thomas|AWAY is now known as Thomas
APlayer has quit [Read error: Connection reset by peer]
* egg|work|egg wonders what whitequark's "uh" meant
<egg|work|egg> !wpn Thomas
* Qboid gives Thomas a mercury helicoid
egg|phone|egg has joined #kspacademia
egg|mobile|egg has quit [Read error: Connection reset by peer]
egg|cell|egg has joined #kspacademia
egg|phone|egg has quit [Read error: Connection reset by peer]
<egg|work|egg> O_o twitter's UI suddenly changed?
<egg|work|egg> whitequark: not quite the same, but iirc someone had made a game on the hyperbolic plane https://twitter.com/whitequark/status/875323002954665989
<kmath> <whitequark> I want to play this *so much* https://t.co/bLRW8mHfv1
egg|phone|egg has joined #kspacademia
egg|cell|egg has quit [Read error: Connection reset by peer]
<egg|work|egg> (still integer dimension, but non-Euclidean fun is fun)
<egg|work|egg> (might be rather; I haven't actually played the thing)
<egg|work|egg> e_14159: which holiday is it in the big Kanton in the north?
<e_14159> egg|work|egg: No idea. Let me check.
<e_14159> Fronleichnam, apparently.
<egg|work|egg> e_14159: do you have the 15th of August?
<egg|work|egg> (we don't have that here, but we do in france)
<egg|work|egg> maybe it is a thing in the catholic cantons too?
<egg|work|egg> e_14159: here holidays can depend on canton, or even town, it's quite odd
<e_14159> egg|work|egg: Yes, but only in Bavaria, and only in villages with a majority of catholic inhabitants.
<egg|work|egg> :D
<egg|work|egg> e_14159: here we have Sächsilüüte that's a thing in zurich but not in winterthur (same canton) :D
<e_14159> Confusing.
<e_14159> Anyway, off for dinner.
<egg|work|egg> so early? O_o
APlayer has joined #kspacademia
<APlayer> Hi again!
<APlayer> Again, regarding my question from earlier today. This should be easier, a simple vector maths problem. So, I need to calculate the gravity & engine acceleration from position and velocity. The vectors are given in regular 2D space (yes, I simplified that to 2D in the bend).
<APlayer> How would I go about this? Is it sufficient to calculate each of those per coordinate?
<APlayer> For example, for gravity, I do gx = GM / x^2 and gy = GM / y^2
<UmbralRaptor> Does this count as acronym abuse? https://arxiv.org/abs/1706.04556
<UmbralRaptor> APlayer: uh, not eggsactly. GM/r^2 multiplied by some angles to get the x and y forces.
<APlayer> Aww dang.
<UmbralRaptor> Because the distance is still the same for the craft, no matter your coordinate system.
<APlayer> And what do you mean by "some angles"?
<APlayer> Halt, found it
<UmbralRaptor> ok
<APlayer> Mag * cos(angle) for x and Mag * sin(angle) for y?
APlayer has quit [Read error: Connection reset by peer]
APlayer has joined #kspacademia
<Iskierka> assuming x and y and angle are defined that way, yes
<Iskierka> that way being that angle 0 is pure +x
<APlayer> Okay, thanks a lot!
egg|cell|egg has joined #kspacademia
egg|phone|egg has quit [Read error: Connection reset by peer]
<APlayer> Okay, sounds easier than it is. I still need to get the angles, then.
egg|cell|egg has quit [Read error: Connection reset by peer]
* UmbralRaptor finds spherical (or at least polar) coordinates centered on the planet easiest to think in.
egg|phone|egg has joined #kspacademia
<APlayer> The given problem apparently gets much easier if using cartesian coordinates.
<Iskierka> UmbralRaptor, easiest to think in when you don't have accelerations to expand out, at least
egg|phone|egg has quit [Read error: -0x1: UNKNOWN ERROR CODE (0001)]
<APlayer> May I use acos(x / mag) to geth the angle?
<Iskierka> where do you have an x term to do so?
<APlayer> X is the vector x component.
<Iskierka> yes, but the point here is that would be the x component of the magnitude, which above we get using the angle
<Iskierka> you need another source of x and a different magnitude
<APlayer> Uh, the problem is not quite that. I have a velocity, and I need to calculate an engine acceleration if the ship burns prograde.
<Iskierka> although once you have that you can (often) skip the trig and angles altogether and just use a unit vector as direction to multiply by
<Iskierka> in that case yes, you can use the velocity vector, normalised to unit, and multiply by acceleration
<Iskierka> due to float errors trig is a good thing to be avoided as it's very non-reversible
<APlayer> Another problem is that JS supports no vector maths, so I keep it to a minimum. I implemented, so far, multiplication by a scalar and addition.
<APlayer> So I would need to implement a function to normalise vectors aswell...
<APlayer> Oh well.
<Iskierka> you *could* use something that just supports vectors
<APlayer> JS is the only language I know well enough to do useful stuff :(
<Iskierka> That means time to learn another since all curly brackets are similar enough
<APlayer> Well, I plan to learn C++ next. It's a big project, probably for the summer vacations.
<UmbralRaptor> Well, the snek language has some nice libraries, and Principia uses C++…
<Iskierka> C++ is probably a big jump. would recommend java for this, similar enough, introduces things that would be needed later
<Iskierka> python would also be good but probably need more things changed. Java would just want you to declare your variables
<APlayer> No, wait. There /are/ libs for JS to use vectors, but I found none to go beyond 3D. And I need 4D. So yeah.
e_14159- has joined #kspacademia
<Iskierka> Suspect JS may not support sufficient extensibility for n-vectors
<APlayer> As for what language to use, I feel like C++ is better for me. I have some experience in low level languages as well as in high level ones, C++ is fast and actually useful. Python would be a thing for me too, I even did some stuff with it, but never went really beyond quadratic solvers. I would like a language that supports graphics natively.
<Iskierka> which, if you were going to 4, would be the most sensible implementation
<Iskierka> C++ is kind of scary-big though
e_14159 has quit [Ping timeout: 201 seconds]
e_14159- is now known as e_14159
<Iskierka> and really no languages support graphics "natively"
<Iskierka> all are using some kind of library, even if Java and C++ come with that library
<APlayer> Well, so that you don't need to collect dozens of libs for making a decent UI.
<Iskierka> That'll happen with C++ too
<APlayer> Oh well. I'll give C++ a try, and if it's too difficult I'll look at Python again. But really, it's mainly the OOP stuff that is hard for me.
<APlayer> I normalize a vector by dividing every component by the magnitude?
<UmbralRaptor> By the magnitude of the entire thing, yes.
<APlayer> Okay, thanks a lot!
<APlayer> It'll be interesting to make this thing visually plot the trajectory and results. I guess that's what I will do! :D
APlayer has quit [Read error: Connection reset by peer]
BPlayer has joined #kspacademia
<egg> UmbralRaptor: principia!
* egg pets UmbralRaptor with Kozai
<UmbralRaptor> AΑAΑAΑ
<BPlayer> How many physics ticks does KSP have per second, by default?
<egg> 50, but that's hardly relevant
<BPlayer> I just want a decent guess at how many steps I need to make with my Runge-Kutta Integrator (may I please abbreviate that as RKI in the future?)
<BPlayer> That is, I have an estimate on how many seconds the burn takes, and I will multiply that by 50 to get the number of steps.
<egg> RK method is fine, RKI isn't really standard
<UmbralRaptor> I'm not sure that KSP is a good baseline for step size. >_>
<BPlayer> And, by the way, I just had a thought. Remember, when I just asked how to simulate the low TWR burn, you answered I should not use a tarhet orbit as this makes the problem much harder?
<egg> the whole point of using an RK method is that you can use much larger steps
<egg> also no need to estimate, just run until the time hits your final time
<BPlayer> Well, I like to be exact. Let me at least use 10 per second, then.
<egg> BPlayer: that's pointless
<BPlayer> Well, I need a delta-t, that's what I am estimating.
<egg> the entire idea around doing that RK thing is that you can increase the timestep and still be *more accurate* than Euler
<egg> sure, pick something, let's say a second
<BPlayer> Okay, what number would you pick?
<egg> and then you just run things forward until your final time
<BPlayer> Okay, 1 second... (dang, sounds quite large)
<egg> you don't get your step from your final time
<egg> (it's probably ridiculously small for a low-thrust burn tbh)
<egg> depends on which RK method you pick of course
<BPlayer> RK4
<egg> but a second looks small compared to the timescales involved, so it should be quite good
<BPlayer> The TWR is on the scale of 0.001 to 0.0001
<BPlayer> Uh, 0.01 to 0.001 that is
<BPlayer> And the burns are around 2 km/s to 10 km/s
<egg> yeah, so basically if you integrate gravity right you should be good
<egg> so 1 second will be way to small probably, but let's start with that
<BPlayer> I had an estimate that the burns take up to 10 h, so that is 36 k steps for the longest burn
<Iskierka> conveniently 36k is not a lot for computers in most cases
<BPlayer> Also, 1 km/s to 3 km/s, I read from the wring note at first
<BPlayer> Iskierka: You're dealing with JS, entirely floating point math and dozens of function calls per iteration. ;-)
<Iskierka> Still isn't so humongous. Might be a little slower than you'd want but it won't be too much of a pain
<BPlayer> Well, I don't mind letting it compute for a hour. I mean, well, what's the trouble, I just need to let it sit and make its work.
<BPlayer> And, egg, what did you mean when you said "just run until the time hits your final time"?
<BPlayer> I have no final time...
<egg> well you should :-p
<BPlayer> And how do I get it?
<BPlayer> I just run for the predetermined number of steps, or not?
<BPlayer> Uh, no, I don't
<BPlayer> Dang
regex has joined #kspacademia
<BPlayer> So I need to keep track of the imparted delta-v and stop the thing when the burn is done?
<BPlayer> Or is it easier to calculate the maximal time in advance?
<BPlayer> "maximal time" even how that itself sounds is weird.
BPlayer has quit [Read error: Connection reset by peer]
APlayer has joined #kspacademia
<kmath> <scanlime> Tuco inspecting the texture on his new fakemouse https://t.co/2EWL1sFhxl
<egg> UmbralRaptor: Kozai!
<kmath> <Newpa_Hasai> @whitequark yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy… https://t.co/XnwguMThBI
<egg> whitequark: also, as strowger78 says, catpics are more than welcome :-p
* egg Ꙩ_ꙩ at the rain
Thomas is now known as Thomas|AWAY
<egg> also the sky is orange
<UmbralRaptor> egg: Is there hail and/or tornadoes?
<egg> no, just thunder and a lot of rain
<egg> UmbralRaptor: sky is now yellow
<UmbralRaptor> uh
<egg> whitequark: does the cat know how to use the fire extinguisher
<whitequark> egg: no. why would it need to?
<whitequark> the PSU in the photo is set to charging at 0.1C current, there's literally no way it blows
<egg> whitequark: well, mostly wondering if the cat is part of the fun activities for the entire family :-p
<egg> whitequark: there's also the case where your cat decides to attack a cat feeder with a thermic lance of course http://quinndunki.com/blondihacks/?p=3023
<whitequark> yeah I've seen that
<UmbralRaptor> egg: I think fire extinguisher training is only needed for shop cats. Ask Tuco for details?
<egg> whitequark: huh, funnily enough I do remember having a fax machine at home back in Paris
<egg> !wpn UmbralRaptor
* Qboid gives UmbralRaptor a Venusian photothyristor
<UmbralRaptor> !wpn egg
* Qboid gives egg a truncated moo
<egg> it was actually a moooo
<egg> UmbralRaptor: now the sky is pink
<egg> who is playing with the hue slider
<UmbralRaptor> Is there a color temp? B-V photometry?
<UmbralRaptor> >_>
<egg> Sarbian: oh wow, congratulations, mine is still backordered >_> https://twitter.com/Sarbian/status/875037561831526400
<kmath> <Sarbian> Thanks to a work meeting near à LEGO store I finaly managed to grab one of those ? https://t.co/eib6uxbDht
<kmath> <kevinschawinski> So where do they think Gatorade comes fr....I'll see myself out. https://t.co/PEhixBuon4
<egg> !wpn UmbralRaptor
* Qboid gives UmbralRaptor a sarcastic tetrahedron which strongly resembles an automorphism
<UmbralRaptor> o_O
<UmbralRaptor> !wpn -add:wpn corvid
<Qboid> UmbralRaptor: Weapon added!
<APlayer> !wpn APlayer
* Qboid gives APlayer an UTF-2ⁿ bus
<APlayer> Heh
<APlayer> Uh, wait. Someone highlight me please..
regex has quit [Remote host closed the connection]
<UmbralRaptor> APlayer
<APlayer> Thanks...
<egg> !wpn UmbralRaptor
* Qboid gives UmbralRaptor a beryllium table-like banana
<UmbralRaptor> Flat banana…
APlayer has quit [Remote host closed the connection]
icefire has joined #kspacademia
<egg> !wpn UmbralRaptor
* Qboid gives UmbralRaptor an isentropic 2N7000
<UmbralRaptor> !wpn egg
* Qboid gives egg a caffeinated tea
<UmbralRaptor> !wpn icefire
* Qboid gives icefire an immersive semiconductor
* UmbralRaptor wonders if this is whitequark's cat: https://twitter.com/diodebot/status/875457587495530496
<kmath> <diodebot> screaming synapsid-conducting presidential diode
<whitequark> nah
<whitequark> not presidential for sure
<Sarbian> \o/ egg :)
<egg> whitequark: does it conduct synapsids though
<egg> Sarbian: I hope they'll ship it eventually :-p
<egg> Sarbian: at least they have my money
regex has joined #kspacademia
regex has quit [Remote host closed the connection]
<kmath> <johnregehr> Hard to work with this sweet boy here https://t.co/AWDWcOAEwa
<kmath> <johnregehr> Ah, summer Kids are learning tis-100 Laz is slightly dirty https://t.co/IPK6z7O5Qu
<egg> UmbralRaptor: also feline colorimetry is hard
<UmbralRaptor> >_>
<kmath> <typeoneerror> @canuckistani @firefox .let me know if you need any literal #firefox shots—mochi got you covered #onbrand https://t.co/khO8oYbCFN
<egg> rain & thunder again
<egg> but no funny sky colours anymore