Sunday, July 22, 2018

Marriage

Marriage according to Merriam-Webster is "the state of being united as spouses in a consensual and contractual relationship recognized by law". 

Oxford Dictionary says "The legally or formally recognized union of two people as partners in a personal relationship (historically and in some jurisdictions specifically a union between a man and a woman)".

The above definition clearly states "legal" and "law". It is therefore an institution of the state. As such, it is not unusual for same-sex marriage to be recognized legally. Quite a number of countries has already passed laws allowing such same-sex marriage or "Ceremonies of Commitment". 

Christians have traditionally take marriage as "Therefore shall a man leave his father and his mother, and shall cleave unto his wife: and they shall be one flesh" KJV Gen 2:24. Would this view clash with the States' law of same-sex marriage?

Jesus said "Therefore render to Caesar the things that are Caesar’s, and to God the things that are God’s" ESV Matt 22:21. The verse is generally treated as separation of state and religion. It does apply to the views of marriage. 

Traditionally marriage refers to the matrimony between a man and a woman. If the state wants to add same sex marriage, there is nothing to prevent the state doing so. It is after all a "legal term" - a piece of legal contract between two person and is modified to be gender neutral.

Christians also depends on such legal document to protect either party in the marriage as required by the law. 

Same sex marriage, although recognized by the law, is very different from the traditional marriage.

1. It does not define sex (although generally acknowledged). Same gender sex is an abomination in Christianity Leviticus 18:22. Leviticus 20:13.

2. Same sex marriage does not produce next generation. If it is so common then human race is destined for annihilation. In a graying world, this escalates the issue. Obviously they can choose to adopt but it will be very difficult if same sex marriage is common.

3. No such gender specific term as husband and wife since it is gender neutral rendering it as obsolete. The term Dad and Mom will also be obsolete.

The state has to recognize the there are many religion that opposes same sex marriage and has to accept "freedom of religion" beliefs. Pious religious person need to adhere to their religious teachings while acknowledge (not accept) the fact that the law allows same sex marriage. If most people in the country accepts the changing of law to allow same sex marriage, there is nothing you can do. I like to put it as "religious tolerance".



Thursday, July 12, 2018

SQLITE Datetime Query

SQLITE does not have date datatype fields. The date information is either entered as text or numbers. Querying and getting the information is a bit tricky.

If it is a text, the date is stored as YYYY-MM-DD HH:MM:SS.SSSS.

If it is a Julian date, the data is stored as REAL, a float type.

If it is a Unix timestamp, it is stored as INTEGER.

Normally we want to get the data formatted according to local date time format. Singapore format is DD/MM/YYYY.  To get the data we use SQLITE function strftime.

If it is a text or Julian Date, we use strftime('%d/%m%Y %H:%M:%S',fieldname).

If it is Unix datetime, we use strftime('%d/%m%Y %H:%M:%S',fieldname,unixepoch).

The above is both applicable in the SELECT and WHERE query. You can use datetime('now') when adding/updating to add current date time.

Often we need to find the difference between two datetime. Using the above method, the difference can be found for text and Julian date. Use strftime and %S, %M, or $H or even %d or %M to find  the difference in the respective area. For Unix timestamp, since it is already in seconds, it is simply one minus the other as they are already integer values.

Now getting an offset of a date time is also not that difficult. Use datetime(fieldname, '+' || offset || ' minutes') to add minutes (can be any part of a datetime).

Conclusion, it is a bit troublesome but manipulating datetime in SQLITE is not that difficult.


Wednesday, June 27, 2018

Original Sin

President Do30 (Duterte) said that God is stupid (https://www.channelnewsasia.com/news/asia/outrage-after-philippines--duterte-calls-god--stupid---10471570). He could not understand why God expose Adam and Eve to temptation.

It is true that the origin of Sin is very difficult to explain. I will no dwell on the apologetic aspect but rather the common sense aspect.

Gen 2:9 said that God planted trees in the garden. In the midst of it is the tree of life and tree of knowledge of good and evil. The specific mention of the two trees means that it is significant.

What is the use of the two trees? We can only imagine by the name given to the two trees. It must be for some use which we cannot imagine. Was it for Adam and Eve, one of them is obviously not (Gen 2:17).

Why then God planted the tree of knowledge and evil? Is it to tempt Adam and Eve? We have no idea. It must be of some use. The use of it is unknown. Adam was put there to work and care for the garden. Is it just for this purpose? God even created a helper for Adam.

God does not want Adam and Eve to live for ever so God banished both from the garden (Gen3:22-23).  He also put barriers around the tree of life. This also means that the use of the garden is more than just for Adam and Eve. It is not there to tempt Adam and Eve otherwise the simple removal of the tree of life will suffice.

If the tree of life is specifically mentioned together with tree of knowledge and evil, the protection of one of it when the other is breached is very significant. It means they are more than just there to tempt Adam and Eve. God mentioned that Adam and Eve become like "one of us" and "lest he lives forever" (Gen 3:22).  The fact that Adam and Eve are made in the "image of God" (Gen 1:27) and Gen 3:22 means that the trees is probably use by God himself.

When God gave the instruction, Eve was not created yet. Although Eve knows about the instruction, it wasn't given to her directly. The serpent was not known to receive the instruction too. It is acceptable that Eve was punished as she was helper to Adam. Since she is "one flesh" with Adam, the punishment can be applied to her also. However, the punishment is extended to their off springs. This hardly constitute a test of Adam's obedience.

The Serpent plays a part in the coercing of Eve to eat the fruit. However, the instruction is given to Adam and Eve not the serpent. Punishing the serpent seems a bit unreasonable unless the incident is viewed as a crime thus accessory to the crime is also punishable.

If the whole incident is meant to test Adam and Eve, it is strange that the bible deviates from the instruction (Gen 2:17) to describe the creation of animals and birds, the creation of Eve plus the meaning of marriage (Gen 2:18-24) then goes back to the story line in Gen 3.

My conclusion is that the trees are not there to tempt Adam and Eve. Duterte's view is short sighted.

Obviously, the above arguments have no basis. It is just human reasoning.


Saturday, March 17, 2018

Hokkaido Tour 7-14 March 2018

It was not the first choice for a family tour. The original destination is Europe. However, due to not enough participants, the tour was cancelled.

The first stop is Narita Airport.


The shot was taken inside the airport. After that, the tour guide controls our movement thus not able to take much photo outside the airport.

At New Chitose Airport, Hokkaido, again our movements are also tightly controlled, Unable to take picture of the airport. We are immediately put on a Bus and took an hour or so to go to Sapporo View Hotel.

The next day began our tour proper. The first stop is White Lover Park (白い恋人). Quite a lot to see in the park but I prefer outdoors.







Next stop is Otaru Canal. Its an abandoned port where buildings were converted into restaurants. Can see the amount of ice on roof of those buildings.




Its snow covered and was in the day thus nothing so spectacular about it. I only noticed that the temperature is 4.5 degrees.






Next, we go into one of the restaurants to eat seafood. The crab is huge. Others take photo holding it but I am a Naturalist thus avoid handling wild life even though it was ready to be eaten afterwards. The price is staggering 86,000 yen. We skip the order and just go for the set meal by the travel agency.


After filling the stomach, took a couple of photos of the snow outside. Can't help it as it is my first ever visit to a snow covered country besides HeHuanShan Taiwan many decades ago. Even then it was a brief visit to the mountains.



Next, we visited the Otaru Sakaimachi Shopping street. The Otaru Music Box Museum has a steam operated clock. Unfortunately, unable to record the chime.





The Japanese White Birch is leafless but is still a beauty to behold.

Besides it are Japanese Tree Liliac. The bark is quite nice too look.

An overlooked item is this 常夜灯. Nobody noticed it.


The next hotel is at South Sapporo called Jozankei Manseikaku Hotel Milione. It is a hotel with Onsen (温泉). Had a taste of Japanese hotspring bath after dinner. The view outside the window of the hotel room is quite nice.






Nice of Google Photos to beautify one of the picture but it looked so unreal.


On the next day, since it is Winter, the scheduled Zoo visit is cancelled. So is the motor-sledge ride. Instead we went to a wine factory Otokoyama Sake Brewery Museum.






We then proceed to Glass Forest (glassware) and then to candle making session. Nothing natural so skipped the photo taking session. The night is spent in Furano Natulux hotel. A panorama view (by Google) is taken from hotel room window and the hotel lobby.








The next day we embarked on a 200KM trip north to Monbetsu Prince Hotel. Opposite a Pachinko Palor. No event for the day. Took a few photos out of the hotel room window again. The first one is an auto-panorama by Google.




After dinner, there is a demonstration of how the Japanese make "MuaChi".


The water quality is a bit weird. On filling the cup, the water was murky then turn white after a while.



I like the "chopping" culture in all the hotels. They provide you with a card to show that you are using the table and when finished, you turn it over to indicate you have done. The English translation is a bit weird though.



The next day we embark on an ice breaker ship to a journey without ice to break.






After that we visited the Okhotsk Tower. It is a tower made specifically to attract tourists. The facility is a bit retro. The 360 view Studio is just a fish eye projection and the story is an anime of a seal. The undersea observatory view is hopeless. All the windows are covered by ocean growth. I rather go outside to take photos.






The next spot is the Okhotsk Tokkari Center. A place to nurse wounded seals. Not much of a show but at lease it is sight to see spotted seals upclose.



Used my cycling video recorder to record some actions. The video below does not work due to unknown reasons. Here is the link Seal demo


On the next day we visited the Okhotsk Sea Ice Museum. Here we get a feel of getting a wet tower frozen straight out of our hands at -20 degrees. The video is a failure. It is supposed to be just a picture. As above, the video does not play.







Next destination, lunch at 花のれん. No English word for the Sushi Restaurant. It has a nice retro telephone and some flora (not sure whether it is real). A fellow tourist was caught in the photo.




Next destination, Abashiri Prison Museum. It was made famous by a Japanese show.







The above is a Ainu wooden statue of a child called Nipopo in Ainu language. Only found in Ohotsuku area. First made and sold in 1954 by inmates of the prison. Used as good luck charm.




Next stop Shiretoko Grand Hotel Kitakobushi the northern most point of our tour. On the way, captured a number of ice scenes at the sea.







At the hotel, I managed to catch view of the Black Tailed sea gull. it was taken at a great distance away from the hotel room window.



While doing a morning stroll, took a picture of a waterfall nearby.


The next day took the route back south and on the way visit the Waterfall of Oshinkoshin.




On the way, take a stop between Lake Kussharo and Lake Mashu to 硫磺山. An active volcano that spills sulfur steam.





A video shows the steaming sulfur is here.

Next we went to 白鸟飞来地 at Lake Kussaro. Here I managed to take shots of Japanese Whooper Swans.




Nearby is also the Mallards in pairs.




Next stop is Lake Mashu, the clearest lake in the world. Unfortunately, it is all frozen up at this time.








Third spot of the day is Lake Agan Ainu Kotan. An aborigine handicraft area. Its here I experienced quite heavy snowing for the very first time.








We settle down at New Akan Hotel nearby. Thereafter, to go the lake to do fishing on ice. Unfortunately, nothing caught. Had to use the ticket to get free fish tempura to eat. Quite salty but nice. The scenes are taken from the hotel room.






They had a small firework display at night. Photos taken from hotel room window also.





The next morning, took the opportunity of late departure time to walk around the hotel. Managed to capture the photos of two Mallards





The rest of the day is an uneventful trip back to Sapporo. Captured a few photos on the way from the Bus. Before we settle down in the same hotel in the fist day, we visited the Winter Olympic site.






Dinner is not supplied so we venture out to Tanukikoji Shopping Arcade (狸小路商店街) in search for dinner. It is a very long street for pedestrians only. Full of products. Captured a couple of photo of a Shinto Priest.





Dinner is at Ippudo 一風堂 札幌狸小路店. Very nice Ramen.

The next day visited Mitsui Outlet Park for shopping. Its like Orchard Road with many branded products. Thereafter, back to New Chitose Airport to fly back to Narita and then Singapore.

This is not a nature walk series. Its just a normal tour with flora and fauna in mind. There are lots of photos and videos which Google Photos does not allow me to add into the blog.

These are some photos taken along the way but just do not have location indicated so not sure where exactly is it.









A large Nipopo statue on the coast.