hqudsi
Joined 4 years ago
Joined 4 years ago
The other 'gotcha' is that in switch statements the compiler can't tell whether you enumerated on all your cases as there is no true enum type so it's not uncommon to have a catch all default case that either returns an error or panics and hope you can catch it during tests if you missed a case.
I just wish go had proper sum types.
That always stuck with me.
However there are legal schools and councils that people trust. Legal schools (or fiqh) were established by famous scholars that nearly everyone recognizes as an expert and were carried on by their students.
From a political standpoint, a lot of Muslims defer to Saudi Arabia because they are the current caretakers of Mecca and Medina.
But generally speaking for everyday normal Muslims they go with whatever their local imam says and go with whatever method the imam used because they are usually the most knowledgeable person around on such matters.
There's no rule that says you _have_ to break your fast with dates. We just do because that's how the prophet usually did it. Dates have no inherit religious significance. I eat them throughout the year because they are delicious and have nutritional benefits and there's some baraqah (wisdom) in things turning out this way. Also when it comes to farming dates are often harvested in late fall/early winter that's when they are juiciest so we just missed the window but also Ramadan rotates around the seasons due to being on the Lunar calendar. But there are different kinds of dates and you can dry them and they last on long time without spoiling. A very useful property when you live in a desert hence why it's such a common fruit there.
Even when the prophet didn't have access to dates, he would break it with water or yogurt, or even just salt instead. Whatever he has access to at the time.
Even this Ramadan, when I went to pee later in the day, the color wasn't dark implying I wasn't that dehydrated.
For example, the Quran says to pray but doesn't spell out how to pray. We learn how to pray from the hadith. Same thing with fasting. The Quran just says fast like Abraham fasted but it doesn't spell what that was. So we follow the way the Prophet did and he's human - he probably wasn't thinking how it would affect people in higher latitudes. He doesn't have supernatural powers or foresight. We say he's the best of us within human limits. Hence why there's a rich scholarly tradition to work these edge cases. It's also why we traditionally break our fast with dates because that's how the prophet did it. But the choice of dates is pretty arbitrary. There's nothing inheritly special about it. It's a staple food in the middle east so it's what he had access to. If the prophet lived in east Asia, then he probably would have broke his fast with rice and then that we would be the thing we break our fast with.
Also the Quran is not like other texts when it comes to structure. It was "revealed" (or authored for the non-religious) over a span of 20+ years and usually in response to something that happened. It's really more a dialogue between god and the prophet and his companions in response to events (someone is being mean or trying to kill them) or if they need guidance or reassurance on something. That's why sometimes taking verses literally is often wrong.
Notice how imams are not celibate like Catholic priests. In fact celibacy isn't even a thing in Islam. You're actively encouraged to get into a relationship and get married so you can fulfill your sexual desires. There's even a prophetic quote that says getting married is half of your religion. It's that important. Of course some things like drinking is not allowed even if you desire it and that's just something you have to deal with. But even if you cave it's not the end of the world because the grading system is heavily curved in your favor.
Having desires is natural and human and it's even ok to indulge in them every once in a while in a healthy way.
The Islamic term for this is nafs which means "self" or sometimes "ego". So fulfilling human desires is filling your nafs. But just like overfilling your stomach can be bad, overfilling your nafs is also bad so you need to practice discipline in not getting carried away.
At least with a programming language, which is more precis e and limited and what you can express, you are forced to think more precisely the desired logic.
I've taught and gave workshops to business people on programming and database query languages for data analysis include non-SQL ones like Mongo. And I can say that those that took to time to learn the query language communicated more effectively because they can send over a query and then use English to give more context, mostly around the presentation layer.
I'm more than happy creating some views in a SQL database and give business people access to a read only replica instance so they can do exploratory work on data without much involvement from engineering. I've seen so much developer time spent on generating reports for the business which takes time away from feature development.
And sure we might complain about data scientists handing us spaghetti jupyter notebooks or business analysts giving us rube goldberg excel sheets to productionize but I vastly prefer that over them telling us what they want in words. They are POCs and prototypes. It's fine if they are messy.
So if low code tools are thought of in the same vain as excel or jupyter notebooks, they can be pretty darn useful.
I also started doing `git commit --fixup` when doing cr fixes so I can just autosquash the fixes - `git rebase --autosquash`
So yea I think rebase and merge commits both have their place within a workflow.
That being said you'll find a variety of opinions with the Muslim community both from Saudi and non-Saudi Muslims.
I imagine my relationship with KSA is similar to how some if not many US Jews feel with Israel. Just like I have an emotional attachment to Mecca and Medina which is currently under Saudi control I can understand how those among the Jewish diaspora may have an emotional attachment to Israel or believe in principle jewish self determination even when they vehemently oppose the government or have reservations about the modern state.