egg changed the topic of #principia to: READ THE FAQ: http://goo.gl/gMZF9H; The current version is Cardano. We currently target 1.2.2. <scott_manley> anyone that doubts the wisdom of retrograde bop needs to get the hell out | https://xkcd.com/323/
e_14159 has quit [Ping timeout: 190 seconds]
e_14159 has joined #principia
Wetmelon has quit [Read error: Connection reset by peer]
MrSavage has joined #principia
MrSavage has quit [Quit: Leaving]
Superlagge has joined #principia
MrSavage has joined #principia
MrSavage has quit [Remote host closed the connection]
MrSavage has joined #principia
MrSavage has quit [Client Quit]
icefire has quit [Read error: Connection reset by peer]
MrSavage has joined #principia
MrsSavage has joined #principia
MrsSavage has quit [Client Quit]
MrSavage has quit [Client Quit]
MrSavage has joined #principia
stratochief is now known as stratochief|away
MrSavage has quit [Quit: Leaving]
MrSavage has joined #principia
MrSavage has quit [Remote host closed the connection]
MrSavage has joined #principia
MrSavage has quit [Quit: Leaving]
NolanSyKinsley has quit [Remote host closed the connection]
HypergolicSkunk has joined #principia
Rokker is now known as RokkerSleep
boidlo has joined #principia
ferram4 has quit [Ping timeout: 200 seconds]
HypergolicSkunk has quit [Quit: Connection closed for inactivity]
<GH> [Principia] eggrobin opened pull request #1338: Input lock (master...input-lock) https://git.io/vSdab
stratochief|away is now known as stratochief
HypergolicSkunk has joined #principia
RokkerSleep is now known as Rokker
MrSavage has joined #principia
Supperlagg has joined #principia
Superlagge has quit [Ping timeout: 201 seconds]
Jesin has joined #principia
<GH> [Principia] pleroy opened issue #1339: Expand KeplerOrbit to return all the useful numbers https://git.io/vSdMX
ferram4 has joined #principia
egg|zzz|egg is now known as egg
MrSavage has quit [Remote host closed the connection]
MrSavage has joined #principia
<GH> [Principia] pleroy opened pull request #1340: A test for Молния orbits (master...1133) https://git.io/vSdd7
rsparkyc has joined #principia
NolanSyKinsley has joined #principia
<rsparkyc> you on lamont?
<lamont> ja
<rsparkyc> got your message about a working patch for osx, that's awesome
<rsparkyc> i was trying on my end without success
<rsparkyc> would love it if you had time to put together a build
<lamont> yeah, i actually left it running the whole week i was on vacation and came back to my L5 orbit still running...
<rsparkyc> hah, sweet
<rsparkyc> even if you could provide tips to help me get mine compiling that would help
<lamont> yeah some of the stuff i did was kind of goofy so i want to clean up the patch i was creating
<rsparkyc> ok, cool
<rsparkyc> currently, mine is failing here:
<rsparkyc> Undefined symbols for architecture i386:
<rsparkyc> "google::GetStackTrace(void**, unsigned long, int)", referenced from:
<lamont> yeah i386
<lamont> you need to build 64-bit
<rsparkyc> haven't done much c work, is that a flag i need to pass in?
<lamont> not a flag, it needs to get patched
<rsparkyc> ahh
<rsparkyc> let me try that patch
<lamont> that should at least get you further
<egg> lamont: one week running? Nice! :D
<lamont> make sure you’ve checked out 2017032803-Cardano tag
<lamont> lol, well doing nothing at all other than an L5 orbit...
<lamont> i did crash it at least once getting there...
<lamont> egg: can you look over the install_deps.sh bit in that gist and let me know what you think about that patch? its not really related to OSX, just starts always pulling from the deps and rebuilding latest, IDK if you want that or not…
<lamont> i was leaning towards dropping that out and only submitting a PR with the OSX bits
<lamont> i also hacked up the Makefile in ways that need to be made conditional on OSX, so that patch isn’t useful as a PR right now since it’d fix OSX and break everything else…
<egg> why did -lsupc++ get dropped and what does that do :-p
<egg> yeah, try not to break the linux build
<lamont> it blew shit up, IDK i can’t remember now...
<egg> :D
<lamont> i think somewhere i found that mono didn’t need that…
<egg> but that's not for mono though is it
<lamont> on OSX its mono
<lamont> i’m not sure why the linux build didn’t need that as well
<rsparkyc> yeah, i saw the same thing that you had to drop that on osx
<lamont> rsparkyc: i think the build still drops off the library in GameData/Principia/Linux64/principia.so and it needs to be moved/renamed to GameData/Principia/MacOS64/principia.dylib manually
<rsparkyc> ok
<lamont> if it does compile i’m pretty certain you’ll hit that
<egg> lamont: oh, I remember whitequark helped me fix a bug by telling me to add lsupc++
<egg> so I don't think it'll link without it
<rsparkyc> applying that patch said there were a few hunks rejected
<egg> at least on linux
<rsparkyc> i'm on the Cardano tag
<lamont> hrm that’s just a git diff of my working direction
<lamont> directory
<lamont> on top of that tag
<rsparkyc> yeah, weird
<rsparkyc> rcaskey:~/Desktop/KSPMods/Principia rcaskey$ cat Makefile.rej
<rsparkyc> diff a/Makefile b/Makefile(rejected hunks)
<rsparkyc> @@ -292,7 +292,7 @@ iwyu_generate_mappings:
<rsparkyc> %.cpp!!iwyu: iwyu_generate_mappings
<rsparkyc> $(IWYU) $(CXXFLAGS) $(subst !SLASH!,/, $*.cpp) $(IWYU_FLAGS) 2>&1 | tee $(subst !SLASH!,/, $*.iwyu) | $(IWYU_CHECK_ERROR)
<rsparkyc> -$(REMOVE_BOM)
<Soozee> -292,7 +292,7 iwyu_generate_mappings:
<rsparkyc> +$(REMOVE_BOM)
<rsparkyc> $(FIX_INCLUDES) < $(subst !SLASH!,/, $*.iwyu) | cat
<rsparkyc> $(RESTORE_BOM)
<rsparkyc> @@ -301,7 +301,7 @@ iwyu: $(subst /,!SLASH!, $(addsuffix !!iwyu, $(IWYU_TARGETS)))
<Soozee> -301,7 +301,7 iwyu: $(subst /,!SLASH!, $(addsuffix !!iwyu, $(IWYU_TARGETS)))
<rsparkyc> %.cpp!!iwyu_unsafe: iwyu_generate_mappings
<rsparkyc> $(IWYU) $(CXXFLAGS) $(subst !SLASH!,/, $*.cpp) $(IWYU_FLAGS) 2>&1 | tee $(subst !SLASH!,/, $*.iwyu) | $(IWYU_CHECK_ERROR)
<rsparkyc> -$(REMOVE_BOM)
<rsparkyc> +$(REMOVE_BOM)
<rsparkyc> $(FIX_INCLUDES) $(IWYU_NOSAFE_HEADERS) < $(subst !SLASH!,/, $*.iwyu) | cat
<rsparkyc> $(RESTORE_BOM)
<rsparkyc> rcaskey:~/Desktop/KSPMods/Principia rcaskey$ cat generate_version_header.sh.rej
<rsparkyc> diff a/generate_version_header.sh b/generate_version_header.sh(rejected hunks)
<rsparkyc> @@ -13,9 +13,17 @@ char const Version[] =
<rsparkyc> } // namespace base
<rsparkyc> } // namespace principia"
<Soozee> -13,9 +13,17 char const Version[] =
<rsparkyc> -echo -e "$VERSION_TEMPLATE" |
<rsparkyc> -sed "s/%%DATE%%/`date -d $(git log -1 --format=%cd --date=iso-strict) -u +%Y-%m-%dT%H:%M:%SZ`/" |
<rsparkyc> -sed "s/%%VERSION%%/`git describe --tags --always --dirty --abbrev=40 --long`/" > $TEMPORARY_FILE
<rsparkyc> +PLATFORM=$(uname -s)
<rsparkyc> +if [ "$PLATFORM" == "Darwin" ]; then
<rsparkyc> + echo -e "$VERSION_TEMPLATE" |
<rsparkyc> + sed "s/%%DATE%%/`date -j -u -f \"%Y-%m-%d %H:%M:%S %z\" \"$(git log -1 --format=%cd --date=iso)\"`/" |
<lamont> yikes
<rsparkyc> + sed "s/%%VERSION%%/`git describe --tags --always --dirty --abbrev=40 --long`/" > $TEMPORARY_FILE
<rsparkyc> +else
<rsparkyc> + echo -e "$VERSION_TEMPLATE" |
<rsparkyc> + sed "s/%%DATE%%/`date -d $(git log -1 --format=%cd --date=iso-strict) -u +%Y-%m-%dT%H:%M:%SZ`/" |
<rsparkyc> + sed "s/%%VERSION%%/`git describe --tags --always --dirty --abbrev=40 --long`/" > $TEMPORARY_FILE
<rsparkyc> +fi
<rsparkyc> +
<rsparkyc> if cmp -s base/version.generated.h $TEMPORARY_FILE
<rsparkyc> then
<rsparkyc> echo "No change to git describe, leaving base/version.generated.h untouched"
<teabot> Generatead.
<egg> ...
<lamont> heh yeah, just lemme push a branch
<rsparkyc> lol, ok
<lamont> lets just solve this by using git properly...
<rsparkyc> well, i think making patches still IS a "proper" way to do it
<rsparkyc> though making a branch is a lot easier
<lamont> git remote add lamont-granquist https://github.com/lamont-granquist/Principia
<lamont> git fetch lamont-granquist
<lamont> git checkout lcg/osx
<lamont> ^^^^^ try that
<rsparkyc> will do
<lamont> make sure your working directory is clean
<rsparkyc> yeah, i'll just nuke what i have
<lamont> `git checkout — . && git clean -ffdx`
<egg> lamont: aah yes I need lsupc++ for my thread_local variables
<lamont> is that just another external dep?
<lamont> and its odd that it links fine without it...
<rsparkyc> lamont: running install_deps now
<rsparkyc> i'll let you know if i run into anything
<GH> [Principia] pleroy pushed 3 new commits to master: https://git.io/vSdpZ
<GH> Principia/master b2d12a3 Robin Leroy: more logic
<GH> Principia/master 49ed0a5 Robin Leroy: input lock and better celestial clicks
<GH> Principia/master abca646 Pascal Leroy: Merge pull request #1338 from eggrobin/input-lock...
<rsparkyc> lamont: got this
<rsparkyc> ld: library not found for -lsupc++
<lamont> derp yes i was just testing that
<rsparkyc> ok, i'll pull it out of the make file and try again
<lamont> or re-pull my branch i just fixed that
<rsparkyc> ok
<rsparkyc> hmm, said 12 warnings and 1 error, let me see if i can find the actual error
<rsparkyc> here it is: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/tuple:221:10: error: static_assert failed "Attempted to construct a reference element in a tuple
<lamont> can you put the full context of that error up on pastebin or gist?
<rsparkyc> yep
<egg> lamont: it doesn't link on linux, maybe on OSX it can do thread_local stuff without that
<lamont> it might be because i’m still on El Capitan (10.11) and haven’t upgraded to 10.12 yet?
<rsparkyc> that's quite possible
MrSavage has quit [Quit: Leaving]
<lamont> % clang --version
<lamont> Apple LLVM version 8.0.0 (clang-800.0.42.1)
<lamont> i’m on that version of clang (from Xcode)
<rsparkyc> Apple LLVM version 8.1.0 (clang-802.0.41)
<rsparkyc> so, i'm guessing my best bet would be to wait for you to actually push up a binary, or upgrade
<rsparkyc> stack overflow says "The bug is caused by the calls to tuple_cat (though not exactly in it; it seems to be some messiness inside libc++'s tuple's byzantine maze of constructors and SFINAE conditions), so the workaround is to avoid using it"
<GH> [Principia] pleroy closed issue #1133: Dynamical oblateness tests https://git.io/viPmJ
<GH> [Principia] pleroy pushed 8 new commits to master: https://git.io/vSdjj
<GH> Principia/master 20c50fe pleroy: A test that doesn't crash.
<GH> Principia/master 15ebac5 pleroy: Some integrators work, some don't, you can't explain that.
<GH> Principia/master d3ec0bd pleroy: Clean the code now that it works.
regex has joined #principia
MrSavage has joined #principia
<lamont> TIL you can add your own releases to forked repos…
<rsparkyc> yep, and awesome, i'll try it out
regex has quit [Remote host closed the connection]
<rsparkyc> awesome, got it running, now i need to figure out how to add maneuvers :)
<lamont> lol yes
<rsparkyc> oh this is intense
<rsparkyc> so cool
Supperlagg has quit [Ping timeout: 201 seconds]
boidlo has quit [Ping timeout: 180 seconds]
saolof has joined #principia
boidlo has joined #principia
<lamont> egg: what is the status of principia working with RSS/RO/RP0?
<egg> it should work?
<egg> well in Cardano you have the sunslap bug
<lamont> sunslap?
<lamont> …i’m picturing batman whacking the sun in my head right now…
<Qboid> [#1315] title: Prevent the sun from slapping interplanetary vessels | The orbits of KSP's `Vessel`s are updated at `Early/Timing1(-99)`, whereas we updated the parents (in `InsertOrKeepVessel`) at `WaitForFixedUpdate`. This meant that for one frame, we would end up giving KSP offsets around the wrong body. Depending on various factors, this would put the vessel inside the sun, or sometimes mer
<Qboid> ely dewarped to 1x (if the vessel escaped destruction, it would go back to the right place in the next frame).... | https://github.com/mockingbirdnest/Principia/issues/1315
<Qboid> [#1302] title: Crash into the sun when crossing SOI | Sometimes, when crossing from one SOI to another, your vessel crashes into the sun.... | https://github.com/mockingbirdnest/Principia/issues/1302
<lamont> lulz
<lamont> looks like that fix cherry-picks cleanly onto cardano
Wetmelon has joined #principia
egg is now known as egg|nomz|egg
egg|nomz|egg is now known as egg
icefire has joined #principia
<GH> [Principia] gordonfpanam opened issue #1341: Permissions needed on Windows x64? https://git.io/vSFE7
HypergolicSkunk has quit [Quit: Connection closed for inactivity]
<rsparkyc> so, after a few hours, i think i figured out how to get to L5
<rsparkyc> bots everywhere...
* egg pets the bots
<rsparkyc> at first i thought someone else posted exactly when i did
<rsparkyc> and then i thought they stole my image
<rsparkyc> and then i figured it was a bot
<rsparkyc> lamont: thx for putting that build up there, seems to work like a charm
rsparkyc has quit [Quit: Leaving.]
<lamont> here’s mine from 2 weeks ago: http://i.imgur.com/LmZQLjx.png
boidlo has quit [Ping timeout: 180 seconds]
Wetmelon has quit [Ping timeout: 186 seconds]
<GH> [Principia] gordonfpanam commented on issue #1341: Are there specific error entries I should be looking for in the glog folder or ksp.log that would indicate a permission or access-denied problem? Cardano appears to run on a Steam-based install of KSP 1.2.2, but the logs I'm reading so far don't indicate any permission problems. I also run as a non-admin user with UAC, SRP, DEP, and a bunch of other security TLAs included with Windows 10 Pro, and KSP tends
MrSavage has quit [Remote host closed the connection]
MrSavage has joined #principia
<GH> [Principia] eggrobin commented on issue #1341: If it works (you have the Principia UI and it is doing its thing), it works; we wrote that because in some circumstances Principia would fail to load because of permission reasons (e.g. if KSP, not installed via Steam, was manually dropped in Program Files). The permission suggestions are clearly overly broad, but it's a sledgehammer that worked with our confused users. https://git.io/vSFj8
egg is now known as egg|zzz|egg
saolof has quit [Remote host closed the connection]