Welcome to Harmony-of-the-Spheres Discussions! #130
Replies: 47 comments 37 replies
-
Finally! We won't have to shit post in odd closed pull request threads or issues 🤣 |
Beta Was this translation helpful? Give feedback.
-
Hahahaha wonderful! 🤣🚀 Oh so I have longed for this moment 😛 We can simulate the true experience though by naming threads names that could have been a PR och issue B) Hahahahah 🤣 🤣 🤣 🤣 That's what I call poetry! (Now I know two parts of it, this quote and the 42. I haven't read it tbh 😅) Great! Can we expect to see Material Design?😝🤣 Yeah feels like I'm waiting half the time for the wiki to load so it's a good call 👍 I must say that at first the wrapping of the data in text was quite nice but when I'm on my 10th scenario it has gotten a bit too repeating, so I'm 50/50 in that case. 100 visitors per day isn't bad at all :o That's quite a lot! 🚀 And burst of 3000 just shows what a bit of publicity can do :D. Julmust sounds safer than coding in a hat that can blow off at anytime 🤣 Yes, it definitely helps in expanding one's coding toolbox. I'm doing it in Nim so I've got to learn a lot about its standard library and string parsing so far. And today we had to build a very simple VM to solve the task which I haven't really done before but it was a lot of fun 😄 Talking about doing things you don't normally do, is the next step for me to learn how to do CSS properly? 😨 I'm not watching much in particular, just what's on at the moment and hockey of course. Otherwise, it's mostly youtube edutainment videos that on my list. Prime haven't mad much notice here I Sweden compare to Netflix and the others but perhaps that changing now that they've established themselves here? Let's just hope they have better subtitles than translations of their items 🤣 |
Beta Was this translation helpful? Give feedback.
-
Happy 2021!!! Had a good start to what will hopefully be a better year than the previous one??? I've been working on the spaceflight stuff and have made some solid progress, but I've run into some weird bug where, it only happens sometimes, when the spacecraft enters another sphere of influence, everything goes NaN. Been trying to figure out why it only happens in some cases, but so far no luck, so I'm gonna leave it for a week or so and see if something comes to mind, because I'm starting to go proper 🤪 . Other than that things are kicking... Nice to be working again and spring's just around the corner, so yay! As for learning CSS, I wouldn't wish that on my worst enemy 😝 . It's useful, sure, and it's not as bad as it used to be, but I just find writing clean and sensible CSS to be nigh on impossible. Then again the learning curve is really shallow, so if you want to animate a box or two you can learn how to do so in like ten minutes. Gonna make myself some new exoplanet scenarios now... All I have to do is "npm run exoplanets" and voila, done. That should restore my programming confidence 🤣 . Hope school is fun and that you're happy and kicking! |
Beta Was this translation helpful? Give feedback.
-
Happy 2021 to you too!! 🎊 It's been fine. I'm reading some really interesting courses right now, one in machine learning, one on Computational science (solving PDEs specifically), and one on thermodynamics. They are a blast and has lots of programming in them 😄 Nice to hear that things are kicking for you! I'm quite fond of the winter tbh. It's so bright and not gray and wet 😉 That spaceflight bug seems really odd 🤔 From what I can recall, we don't use the orbital elements from the last timestep in the current one so we shouldn't get some strange mix of the two. Hmm... Yeah leaving something when it doesn't work is probably a good idea. It can really drive you mad trying to find what causes it. And in the end, it was all just because you used the wrong variable in some part of the code you didn't look at at all 🤣 🤣🤣 true true! Yeah if you are writing it yourself from scratch it may actually be maintainable, but anyone else looking at it will go 😱 and run away from their computer at at least twice the speed of light! 🤣 Hahaha 🤣 sounds really hard! |
Beta Was this translation helpful? Give feedback.
-
Done a bit of digging regarding the spaceflight bug and it seems like what happens sometimes, but not every time, when the spaceship enters another sphere of influence is that the eccentric and true anomalies come out as NaN, which throws a spanner in the calculations... Any what might be happening here? Oh, and happy last day of winter! |
Beta Was this translation helpful? Give feedback.
-
That's a good lead! The eccentric (and mean) anomalies are calculated from the true anomaly so I would guess it the calculation of the true anomaly that goes wrong sometimes. When you say that it sometimes does it, do you mean in some scenarios but not others, or do you mean that for the same scenario given the exact same parameters (dt etc) you only sometimes get NaN? Would be great with a reproducible scenario 😄 My theory: here we calculate the true anomaly using |
Beta Was this translation helpful? Give feedback.
-
I have no idea why it only happens when entering a new sphere of influence though :/ Even if the old mass of influence was used somehow it should affect it that much, it would just continue on its old path, right? Same to you 🌸 The sun and the heat is nice 😄 |
Beta Was this translation helpful? Give feedback.
-
I can reproduce it, but it only happens for planets with a smaller soi, so it never happens when I go to Jupiter, Saturn or even Neptune... Getting rather close now, though, as I've pinned it down to the solveKeplerEq method... Fingers crossed 😅 |
Beta Was this translation helpful? Give feedback.
-
In the while loop, when the eccentricity is greater than 1, E has a value of -6305.985121061316 and when you try to Math.cosh(E) and Math.sinh(E) you get NaN |
Beta Was this translation helpful? Give feedback.
-
So your hypothesis was spot on |
Beta Was this translation helpful? Give feedback.
-
Now let's see if clamping these guys will fix the issue... |
Beta Was this translation helpful? Give feedback.
-
Noops... That did not work 🤣 |
Beta Was this translation helpful? Give feedback.
-
Ahh I see so sinh(E) and cosh(E) becomes Infinity and when we divide infinity by infinity we get NaN 🤯 |
Beta Was this translation helpful? Give feedback.
-
So our problem is that the solver doesn't converge for hyperbolic orbits very close to a body? And we every only get so close to the really small ones. Have I understood this correctly? |
Beta Was this translation helpful? Give feedback.
-
Yups... Shenanigans |
Beta Was this translation helpful? Give feedback.
-
Cheers for your feedback! All makes an awful lot of sense and I'll implement it for the next iteration... I have an awful lot of ideas 🚀 🚀🚀🚀🚀🚀🚀!!! Got this from an American teacher yesterday "These are fabulous! Intend to share with students - thanks for making. The center of mass and different settings really give more insight into gravity. How accurate are the numbers such as speed, etc?"... I don't know about you, but that's why I'm doing this (and for the kick of figuring things out, of course 😉 )!!! He had some feedback, as well, so I'm gonna implement it and get back to him. |
Beta Was this translation helpful? Give feedback.
-
We get quite a lot of messages, actually.... Mostly people requesting new scenarios, but some also have really cool ideas for new features |
Beta Was this translation helpful? Give feedback.
-
How's your Thursday treating you? |
Beta Was this translation helpful? Give feedback.
-
That's nice! 😄 What kinds of scenarios are they requesting? Exoplanets or solar system? My Thursday is treating me well, been out for a 2.5 hour walk before lunch. You must be psychic to know that I wouldn't respond yesterday 🤣🤣🤣 How is your Thursday/Friday? 😉 |
Beta Was this translation helpful? Give feedback.
-
@TheHappyKoala How is your summer? 😁 |
Beta Was this translation helpful? Give feedback.
-
@TheHappyKoala You should add the gas giants and the moon in the starship scenario |
Beta Was this translation helpful? Give feedback.
-
Hi there! I was hoping to join in here, to restart my programming and to answer some questions that my reading of space opera has generated. Last time I did much development, I was working with gcc, make, lex, and yacc, so npm, gatsby, and react are a lot to learn all at once. And I still haven't quite figured out push and pull in git - seems like they should switch names as far as I'm concerned. Anyways, hope to have more substance to talk about as things progress. -John |
Beta Was this translation helpful? Give feedback.
-
At this point I would like to focus on the user interface and the starship simulation. I read a lot of sci-fi, and I keep running into, “I don’t think that is how it would work. My physics and math are adequate, but definitely not my strongest suit. I also spent some time trying to get a phd in software engineering, so I would be happy to comment or refactor anywhere you think that would help.
…-John Van Voorhis
On Aug 14, 2022, at 8:48 AM, Darrell Huffman ***@***.***> wrote:
Hi John!
Thanks for writing. We would love it if more people contributed to our simulator, so you are more than welcome to join forces 😄 . Fortunately, you don't have to know all of those technologies to contribute to Harmony of the Spheres. @HugoGranstrom, for instance, probably hasn't touched Gatsby, React and the related libraries at all, but he's written some cracking physics code. What kind of contribution would you be interested in making? If you let me know, I can create an issue and assign it to you, and give some pointers regarding what to read up on.
Once again, many thanks for writing!
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.
|
Beta Was this translation helpful? Give feedback.
-
As @TheHappyKoala said, you don't have to learn everything to help out. I for one have never touched any React- or Gatsby-code. But from what you say about working with UI I would guess React is the thing you should focus on learning at first.
When you push, you push your local changes to the git server. When you pull, you pull the latest changes from the git server. |
Beta Was this translation helpful? Give feedback.
-
Hey @jvanv62 ! If you're not sure about how to use git, I would suggest using GitHub Desktop, which makes creating a new branch, pulling the latest changes from master and pushing commits super easy. And super sweet that you want to work on the Starship scenarios, as they haven't received the love that they so deserve. Is there something you miss in there, or something you would change? If so, I think that would be an awesome first contribution, and please don't hesitate to ask questions. I'm gonna clean up and improve the local development setup, since it's somewhat of a mess at the moment and could be optimised a great deal, but tell me, have you been able to install all the dependencies and start the project on your computer? |
Beta Was this translation helpful? Give feedback.
-
Darrell,
Actually having some trouble setting things up. I have home-brew and node set up on my computer, but am having trouble getting libraries/modules set up properly for HotS. I successfully created the hello world react app, so I have everything I need somewhere.
I have found some good online help stuff, but I think there may be some issues with out of date libraries.
Additionally, I can make git work, just not feeling comfortable with the workflow yet.
I’m running on a recent, not new, iMac with Monterery for what it’s worth.
…-John
On Aug 16, 2022, at 10:12 AM, Darrell Huffman ***@***.***> wrote:
Hey @jvanv62 <https://github.com/jvanv62> !
If you're not sure about how to use git, I would suggest using GitHub Desktop <https://desktop.github.com/>, which makes creating a new branch, pulling the latest changes from master and pushing commits super easy.
And super sweet that you want to work on the Starship scenarios, as they haven't received the love that they so deserve. Is there something you miss in there, or something you would change? If so, I think that would be an awesome first contribution, and please don't hesitate to ask questions.
I'm gonna clean up and improve the local development setup, since it's somewhat of a mess at the moment and could be optimised a great deal, but tell me, have you been able to install all the dependencies and start the project on your computer?
—
Reply to this email directly, view it on GitHub <#130 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ANVNAT6DCL3XRTF7REPOK3DVZOOTTANCNFSM4USQU34Q>.
You are receiving this because you were mentioned.
|
Beta Was this translation helpful? Give feedback.
-
That would be great. I’ve been busy with other stuff, but specific goals might focus my mind.
…-John Van Voorhis
On Sep 18, 2022, at 11:41 AM, Darrell Huffman ***@***.***> wrote:
Happy September, @jvanv62! Just want to check in and see if you have any questions or suggestions. If you want me to create and assign you an issue related to the starship scenarios, let me know and I'll get to it :).
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.
|
Beta Was this translation helpful? Give feedback.
-
can you add some new mass templates, like Sagittarius A* and other black holes? i'm a bit tired of beetlejuice being the biggest template, and i'm dumb, so i can't make it myself. thanks. |
Beta Was this translation helpful? Give feedback.
-
also, did you make it the website format, or was that someone else? link: https://gravitysimulator.org/ |
Beta Was this translation helpful? Give feedback.
-
sorry about any future message spamming, ADHD brain sucks. |
Beta Was this translation helpful? Give feedback.
-
👋 Welcome!
We’re using Discussions as a place to connect with other members of our community. We hope that you:
build together 💪.
To get started, comment below with an introduction of yourself and tell us about what you do with this community.
Beta Was this translation helpful? Give feedback.
All reactions