Salta al contenuto
0
  • Home
  • Piero Bosio
  • Blog
  • Mondo
  • Fediverso
  • News
  • Categorie
  • Recenti
  • Popolare
  • Tag
  • Utenti
  • Gruppi
  • Home
  • Piero Bosio
  • Blog
  • Mondo
  • Fediverso
  • News
  • Categorie
  • Recenti
  • Popolare
  • Tag
  • Utenti
  • Gruppi
Skin
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Predefinito (Nessuna skin)
  • Nessuna skin
Collassa

Piero Bosio Web Site

Forum federato con il resto del mondo. Non contano le istanze, contano le persone

  1. Home
  2. Categorie
  3. Senza categoria
  4. i nerd sniped myself tonight and i imagine the NSA operative who is assigned to me is very confused by the increasingly erratic and frustrated google searches for HOW DO I CALCULATE THE MOON WHERE IS THE MOON

i nerd sniped myself tonight and i imagine the NSA operative who is assigned to me is very confused by the increasingly erratic and frustrated google searches for HOW DO I CALCULATE THE MOON WHERE IS THE MOON

Pianificato Fissato Bloccato Spostato Senza categoria
51 Post 9 Autori 1 Visualizzazioni
  • Da Vecchi a Nuovi
  • Da Nuovi a Vecchi
  • Più Voti
Rispondi
  • Topic risposta
Effettua l'accesso per rispondere
Questa discussione è stata eliminata. Solo gli utenti con diritti di gestione possono vederla.
  • aevaundefined aeva

    @demofox @dotstdy @jon_valdes assuming I didn't screw anything up adapting Jon's shader toy, the 30 iteration soft sin also has the surprising property of being able to clip out of the expected -1.0 to 1.0 output range https://github.com/Aeva/mollytime/blob/af58e9237903856b6193a116ae6408038dc47d4a/src/patch.cpp#L319

    Tom Forsythundefined Questo utente è esterno a questo forum
    Tom Forsythundefined Questo utente è esterno a questo forum
    Tom Forsyth
    scritto su ultima modifica di
    #28

    @aeva @demofox @dotstdy @jon_valdes There's lots of versions of CPU sin/cos as well. The fastest is basically identical to the GPU one - about 12 bits of precision, IIRC. Then they do iteration internally if you want higher precision. There's no magic - everything costs!

    As you noticed, sometimes it's better not to call sin-vs-cos, because you're not guaranteed to get magnitude 1.0. In those cases it's better to get sin and derive the other by doing sqrt(1-sin^2).

    Tom Forsythundefined 1 Risposta Ultima Risposta
    • Tom Forsythundefined Tom Forsyth

      @aeva @demofox @dotstdy @jon_valdes There's lots of versions of CPU sin/cos as well. The fastest is basically identical to the GPU one - about 12 bits of precision, IIRC. Then they do iteration internally if you want higher precision. There's no magic - everything costs!

      As you noticed, sometimes it's better not to call sin-vs-cos, because you're not guaranteed to get magnitude 1.0. In those cases it's better to get sin and derive the other by doing sqrt(1-sin^2).

      Tom Forsythundefined Questo utente è esterno a questo forum
      Tom Forsythundefined Questo utente è esterno a questo forum
      Tom Forsyth
      scritto su ultima modifica di
      #29

      @aeva @demofox @dotstdy @jon_valdes Also, if you care about precision at all, do range reduction yourself beforehand. Otherwise you have no idea how it's being done internally.

      aevaundefined 1 Risposta Ultima Risposta
      • Tom Forsythundefined Tom Forsyth

        @aeva @demofox @dotstdy @jon_valdes Also, if you care about precision at all, do range reduction yourself beforehand. Otherwise you have no idea how it's being done internally.

        aevaundefined Questo utente è esterno a questo forum
        aevaundefined Questo utente è esterno a questo forum
        aeva
        scritto su ultima modifica di
        #30

        @TomF @demofox @dotstdy @jon_valdes I already do the range reduction. I learned that the hard way once upon a time XD

        1 Risposta Ultima Risposta
        • aevaundefined aeva

          wikipedia: even the ancient babylonians knew how to use math to figure out what the moon is up to

          me: great how do i do that

          wikipedia: 😏

          aevaundefined Questo utente è esterno a questo forum
          aevaundefined Questo utente è esterno a questo forum
          aeva
          scritto su ultima modifica di
          #31

          today's extremely basic astronomy question that i'm finding surprisingly difficult to find an answer to: are geographic coordinates and equatorial coordinates the same coordinate system except one is for looking up and the other is for looking down, or is there some essential conversion step needed to correlate them?

          https://en.wikipedia.org/wiki/Geographic_coordinate_system

          https://en.wikipedia.org/wiki/Equatorial_coordinate_system

          aevaundefined 1 Risposta Ultima Risposta
          • aevaundefined aeva

            today's extremely basic astronomy question that i'm finding surprisingly difficult to find an answer to: are geographic coordinates and equatorial coordinates the same coordinate system except one is for looking up and the other is for looking down, or is there some essential conversion step needed to correlate them?

            https://en.wikipedia.org/wiki/Geographic_coordinate_system

            https://en.wikipedia.org/wiki/Equatorial_coordinate_system

            aevaundefined Questo utente è esterno a questo forum
            aevaundefined Questo utente è esterno a questo forum
            aeva
            scritto su ultima modifica di
            #32

            i feel like i'm so close to getting this working. i found a simple implementation of ELP2000-85 that gives the approximate ecliptic coordinates and distance of the moon for a given julian century, i found math for translating between ecliptic and equatorial coordinates, and the math for working with the julian calendar looks easy enough, so i just need to figure out the missing conversions and decide on an internal time keeping standard

            aevaundefined 1 Risposta Ultima Risposta
            • aevaundefined aeva

              i feel like i'm so close to getting this working. i found a simple implementation of ELP2000-85 that gives the approximate ecliptic coordinates and distance of the moon for a given julian century, i found math for translating between ecliptic and equatorial coordinates, and the math for working with the julian calendar looks easy enough, so i just need to figure out the missing conversions and decide on an internal time keeping standard

              aevaundefined Questo utente è esterno a questo forum
              aevaundefined Questo utente è esterno a questo forum
              aeva
              scritto su ultima modifica di
              #33

              i think astronomy would be a lot simpler if ancient peoples didn't get so hung up on conceptualizing celestial bodies as spheres and simply invented linear algebra first

              rfundefined SnoopJundefined aevaundefined 3 Risposte Ultima Risposta
              • aevaundefined aeva

                i think astronomy would be a lot simpler if ancient peoples didn't get so hung up on conceptualizing celestial bodies as spheres and simply invented linear algebra first

                rfundefined Questo utente è esterno a questo forum
                rfundefined Questo utente è esterno a questo forum
                rf
                scritto su ultima modifica di
                #34

                @aeva On cosmology sequence breaks: Terence Tao noted that an ancient Greek heliocentrist got his arguments shot down because others said, hey, if the earth moves so much yet the stars seem to stay still, the universe would have to be *thousands* of times bigger than anyone figures it is. And how would you know, back then, it was way *more* than thousands of times bigger?

                https://www.youtube.com/watch?v=YdOXS_9_P4U

                aevaundefined 1 Risposta Ultima Risposta
                • aevaundefined aeva

                  i think astronomy would be a lot simpler if ancient peoples didn't get so hung up on conceptualizing celestial bodies as spheres and simply invented linear algebra first

                  SnoopJundefined Questo utente è esterno a questo forum
                  SnoopJundefined Questo utente è esterno a questo forum
                  SnoopJ
                  scritto su ultima modifica di
                  #35

                  @aeva a lot of things would be simpler if cults based on "perfect" shapes hadn't done all the [gestures] that they did

                  divine geometry is a helluva drug

                  SnoopJundefined aevaundefined 2 Risposte Ultima Risposta
                  • rfundefined rf

                    @aeva On cosmology sequence breaks: Terence Tao noted that an ancient Greek heliocentrist got his arguments shot down because others said, hey, if the earth moves so much yet the stars seem to stay still, the universe would have to be *thousands* of times bigger than anyone figures it is. And how would you know, back then, it was way *more* than thousands of times bigger?

                    https://www.youtube.com/watch?v=YdOXS_9_P4U

                    aevaundefined Questo utente è esterno a questo forum
                    aevaundefined Questo utente è esterno a questo forum
                    aeva
                    scritto su ultima modifica di
                    #36

                    @rf they were so close lol

                    1 Risposta Ultima Risposta
                    • SnoopJundefined SnoopJ

                      @aeva a lot of things would be simpler if cults based on "perfect" shapes hadn't done all the [gestures] that they did

                      divine geometry is a helluva drug

                      SnoopJundefined Questo utente è esterno a questo forum
                      SnoopJundefined Questo utente è esterno a questo forum
                      SnoopJ
                      scritto su ultima modifica di
                      #37

                      @aeva on the other hand getting extremely horny for triangles is both funny and kinda relatable, so

                      aevaundefined 1 Risposta Ultima Risposta
                      • SnoopJundefined SnoopJ

                        @aeva a lot of things would be simpler if cults based on "perfect" shapes hadn't done all the [gestures] that they did

                        divine geometry is a helluva drug

                        aevaundefined Questo utente è esterno a questo forum
                        aevaundefined Questo utente è esterno a questo forum
                        aeva
                        scritto su ultima modifica di
                        #38

                        @SnoopJ we're still using spherical trig in astronomy today despite earth being an ellipsoid

                        SnoopJundefined 1 Risposta Ultima Risposta
                        • SnoopJundefined SnoopJ

                          @aeva on the other hand getting extremely horny for triangles is both funny and kinda relatable, so

                          aevaundefined Questo utente è esterno a questo forum
                          aevaundefined Questo utente è esterno a questo forum
                          aeva
                          scritto su ultima modifica di
                          #39

                          @SnoopJ mood

                          1 Risposta Ultima Risposta
                          • aevaundefined aeva

                            @SnoopJ we're still using spherical trig in astronomy today despite earth being an ellipsoid

                            SnoopJundefined Questo utente è esterno a questo forum
                            SnoopJundefined Questo utente è esterno a questo forum
                            SnoopJ
                            scritto su ultima modifica di
                            #40

                            @aeva well, yea, because astronomy doesn't really give a shit what shape the earth is anyway

                            Glyphundefined 1 Risposta Ultima Risposta
                            • SnoopJundefined SnoopJ

                              @aeva well, yea, because astronomy doesn't really give a shit what shape the earth is anyway

                              Glyphundefined Questo utente è esterno a questo forum
                              Glyphundefined Questo utente è esterno a questo forum
                              Glyph
                              scritto su ultima modifica di
                              #41

                              @SnoopJ @aeva everything is a sphere if you zoom out far enough

                              aevaundefined 1 Risposta Ultima Risposta
                              • Glyphundefined Glyph

                                @SnoopJ @aeva everything is a sphere if you zoom out far enough

                                aevaundefined Questo utente è esterno a questo forum
                                aevaundefined Questo utente è esterno a questo forum
                                aeva
                                scritto su ultima modifica di
                                #42

                                @glyph @SnoopJ i'm tired of all the spherical milky way conspiracy theorists

                                SnoopJundefined 1 Risposta Ultima Risposta
                                • aevaundefined aeva

                                  @glyph @SnoopJ i'm tired of all the spherical milky way conspiracy theorists

                                  SnoopJundefined Questo utente è esterno a questo forum
                                  SnoopJundefined Questo utente è esterno a questo forum
                                  SnoopJ
                                  scritto su ultima modifica di
                                  #43

                                  @aeva @glyph this is a really easy "whoa dude" win when doing physics outreach, especially if it's coupled to the side of basically any demo about angular momentum, because then you get to talk about *why* galaxies mostly come in pancake form factor

                                  aevaundefined 1 Risposta Ultima Risposta
                                  • aevaundefined aeva

                                    I just want to calculate the current direction of tidal force from the observer's earth-relative position in space and time is that so wrong

                                    Irenes (many)undefined Questo utente è esterno a questo forum
                                    Irenes (many)undefined Questo utente è esterno a questo forum
                                    Irenes (many)
                                    scritto su ultima modifica di
                                    #44

                                    @aeva oh what a fun one

                                    have you encountered the thing where every computation in astronomy is coordinate conversion

                                    aevaundefined 1 Risposta Ultima Risposta
                                    • SnoopJundefined SnoopJ

                                      @aeva @glyph this is a really easy "whoa dude" win when doing physics outreach, especially if it's coupled to the side of basically any demo about angular momentum, because then you get to talk about *why* galaxies mostly come in pancake form factor

                                      aevaundefined Questo utente è esterno a questo forum
                                      aevaundefined Questo utente è esterno a questo forum
                                      aeva
                                      scritto su ultima modifica di
                                      #45

                                      @SnoopJ @glyph sure. it's just the hairy ball theorem taken to its logical extreme basically

                                      1 Risposta Ultima Risposta
                                      • Irenes (many)undefined Irenes (many)

                                        @aeva oh what a fun one

                                        have you encountered the thing where every computation in astronomy is coordinate conversion

                                        aevaundefined Questo utente è esterno a questo forum
                                        aevaundefined Questo utente è esterno a questo forum
                                        aeva
                                        scritto su ultima modifica di
                                        #46

                                        @ireneista yes

                                        Irenes (many)undefined 1 Risposta Ultima Risposta
                                        • aevaundefined aeva

                                          @ireneista yes

                                          Irenes (many)undefined Questo utente è esterno a questo forum
                                          Irenes (many)undefined Questo utente è esterno a questo forum
                                          Irenes (many)
                                          scritto su ultima modifica di
                                          #47

                                          @aeva "fun", isn't it

                                          aevaundefined 1 Risposta Ultima Risposta
                                          Rispondi
                                          • Topic risposta
                                          Effettua l'accesso per rispondere
                                          • Da Vecchi a Nuovi
                                          • Da Nuovi a Vecchi
                                          • Più Voti


                                          Gli ultimi otto messaggi ricevuti dalla Federazione
                                          • aevaundefined
                                            aeva

                                            now that I'm a bit further down this rabbit hole I'm realizing this isn't much different from the terrestrial cartography I did one summer in college about 16 years ago, except that your benchmarks are all moving a lot faster

                                            per saperne di più

                                          • Evan Prodromouundefined
                                            Evan Prodromou

                                            @ok That's what I thought.

                                            per saperne di più

                                          • Evan Prodromouundefined
                                            Evan Prodromou

                                            Bot server is here: https://github.com/evanp/activitypub-bot and you can ask @ok if they are OK

                                            per saperne di più

                                          • Evan Prodromouundefined
                                            Evan Prodromou

                                            The update was hard; the jsonld.js library was choking on the FEP's context document because Codeberg Pages, where FEP context documents are hosted, is unreliable.

                                            I ended up adding a feature to the `activitystrea.ms` NodeJS library to let you pre-cache a context document, so it didn't have to go fetch it at run time. While I was under the hood, I also fixed a couple of bugs that made it hard to work with extra context documents.

                                            The bot server is now working; I'm going to add more contexts.

                                            per saperne di più

                                          • Evan Prodromouundefined
                                            Evan Prodromou

                                            I updated the #ActivityPubBot server software to use FEP-5711, the inverse properties FEP. It is a way to declare two-way relations; if X has an `inbox` property with value Y, then Y has an `inboxOf` property with value X. It helps with navigation when you're using the ActivityPub API, and it also helps with spoofing (since both objects agree on the relationship).

                                            https://w3id.org/fep/5711

                                            per saperne di più

                                          • Evan Prodromouundefined
                                            Evan Prodromou

                                            @lkngrrr are you on the plane right now?

                                            per saperne di più

                                          • lkngrrr 🏳️‍🌈🏳️‍⚧️🏴‍☠️undefined
                                            lkngrrr 🏳️‍🌈🏳️‍⚧️🏴‍☠️

                                            I know I am flying Air France to Paris in an Airbus 350 but WOW I was not prepared for how French this was gonna be

                                            per saperne di più

                                          • L'Anarchiversitarioundefined
                                            L'Anarchiversitario

                                            Contro il ponte, contro la repressione! Solidarietà agli arrestati No Ponte (con gli indirizzi per scrivere ai compagni e indicazioni per il sostegno economico)
                                            @anarchia
                                            Riceviamo e diffondiamo: CONTRO IL PONTE, CONTRO LA REPRESSIONE SOLIDARIETÀ AD ANDRE, BAK E GUI Negli scorsi giorni trehttps://www.rivoluzioneanarchica.it/contro-il-ponte-contro-la-repressione-solidarieta-agli-arrestati-no-ponte-con-gli-indirizzi-per-scrivere-ai-compagni-e-indicazioni-per-il-sostegno-economico/

                                            per saperne di più
                                          • Accedi

                                          • Accedi o registrati per effettuare la ricerca.
                                          Powered by NodeBB Contributors
                                          • Primo post
                                            Ultimo post