Skip to content

Tarik Billa

  • Web Development
    • html
    • vue.js
    • laravel
    • css
    • javascript
    • jquery
    • node.js
    • php
    • asp.net
  • Programming
    • python
    • java
    • c
    • c++
    • c#
  • git
  • android

astronomy

Moon / Lunar Phase Algorithm

June 7, 2023 by Tarik

If you’re like me, you try to be a careful programmer. So it makes you nervous when you see random code scattered across the internet that purports to solve a complex astronomical problem, but doesn’t explain why the solution is correct. You believe that there must be authoritative sources such as books which contain careful, … Read more

Categories python Tags algorithm, astronomy, c++, calendar, python Leave a comment

Position of the sun given time of day, latitude and longitude

January 26, 2023 by Tarik

This seems like an important topic, so I’ve posted a longer than typical answer: if this algorithm is to be used by others in the future, I think it’s important that it be accompanied by references to the literature from which it has been derived. The short answer As you’ve noted, your posted code does … Read more

Categories r Tags astronomy, azimuth, geometry, math, r Leave a comment

Tarik Billa

Software Engineer
tarikbilla@gmail.com
+8801884414000
  • Reuse a hash in YAMLApril 17, 2024
  • Dockerfile: how to redirect the output of a RUN command to a variable?April 16, 2024
  • How to cd to a directory with spaces in the directory name?April 16, 2024
  • Maximum MIME type length when storing the type in a databaseApril 16, 2024
  • What is the difference between Unit, Integration, Regression and Acceptance Testing?April 16, 2024
© 2026 Tarik Billa