A Sabbath-rest for the people of God

我们既蒙留下,有进入他安息的应许,就当畏惧,免得我们(原文是你们) 中间或有人似乎是赶不上了。 (希伯来书 4:1 和合本)
Therefore, since the promise of entering his rest still stands, let us be careful that none of you be found to have fallen short of it. (Hebrews 4:1 NIV)
因为有福音传给我们,像传给他们一样;只是所听见的道与他们无益,因为他们没有信心与所听见的道调和。 (希伯来书 4:2 和合本)
For we also have had the good news proclaimed to us, just as they did; but the message they heard was of no value to them, because they did not share the faith of those who obeyed. (Hebrews 4:2 NIV)
但我们已经相信的人得以进入那安息,正如 神所说:"我在怒中起誓说:'他们断不可进入我的安息!'"其实造物之工,从创世以来已经成全了。 (希伯来书 4:3 和合本)
Now we who have believed enter that rest, just as God has said, "So I declared on oath in my anger, 'They shall never enter my rest.' " And yet his works have been finished since the creation of the world. (Hebrews 4:3 NIV)
论到第七日,有一处说:"到第七日, 神就歇了他一切的工。" (希伯来书 4:4 和合本)
For somewhere he has spoken about the seventh day in these words: "On the seventh day God rested from all his works." (Hebrews 4:4 NIV)
又有一处说:"他们断不可进入我的安息!" (希伯来书 4:5 和合本)
And again in the passage above he says, "They shall never enter my rest." (Hebrews 4:5 NIV)
既有必进安息的人,那先前听见福音的,因为不信从,不得进去。 (希伯来书 4:6 和合本)
Therefore since it still remains for some to enter that rest, and since those who formerly had the good news proclaimed to them did not go in because of their disobedience, (Hebrews 4:6 NIV)
所以过了多年,就在大卫的书上,又限定一日,如以上所引的说:"你们今日若听他的话,就不可硬着心。" (希伯来书 4:7 和合本)
God again set a certain day, calling it "Today." This he did when a long time later he spoke through David, as in the passage already quoted: "Today, if you hear his voice, do not harden your hearts." (Hebrews 4:7 NIV)
若是约书亚已叫他们享了安息,后来 神就不再提别的日子了。 (希伯来书 4:8 和合本)
For if Joshua had given them rest, God would not have spoken later about another day. (Hebrews 4:8 NIV)
这样看来,必另有一安息日的安息为 神的子民存留。 (希伯来书 4:9 和合本)
There remains, then, a Sabbath-rest for the people of God; (Hebrews 4:9 NIV)


Photo by Natalie Toombs / Unsplash

bring good news

那报佳音,传平安,报好信,传救恩的,对锡安说:你的 神作王了!这人的脚登山何等佳美! (以赛亚书 52:7 和合本)
How beautiful on the mountains are the feet of those who bring good news, who proclaim peace, who bring good tidings, who proclaim salvation, who say to Zion, "Your God reigns!" (Isaiah 52:7 NIV)


Photo by Flo Dahm / Unsplash

Correct usage of tzset(), TZ env

https://knowledgebase.progress.com/articles/Article/000044163
TZ variable can be set on on for a session, user profile or use it in the Database start-up script to start the database for the specific timezone or country or city.

Following are some examples can be tested in a terminal session of UNIX.

For China is UTC+8:00 or GMT+8:00

TZ needs to set it with opposite sign as follows:

TZ=UTC-8:00; export TZ
or,
TZ=GMT-8:00; export TZ
or,
TZ=Asia/Shanghai;export TZ

setenv("TZ", "GMT-8:00", 1) tzset(); 

For US EST (GMT-5:00, New York):

TZ=UTC+5:00; export TZ
Or,
TZ=GMT+5:00; export TZ
Or,
TZ=America/New_York;export TZ

setenv("TZ", "UTC+5:00", 1) tzset(); 

Trapping Rain Water

Question:

http://www.lintcode.com/en/problem/trapping-rain-water/
Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap after raining.

Example

Given [0,1,0,2,1,0,1,3,2,1,2,1], return 6.

Answer

RunTime : 1272ms
class Solution {
public:
 /*
 * @param heights: a list of integers
 * @return: a integer
 */
 int trapRainWater(vector<int> &heights) {
  // write your code here
  if (heights.size() < 3)
   return 0;
  int result = 0;
  size_t l, r;
  l = 0;
  r = heights.size() - 1;
  while (l < r) {
   while (l < r && heights[l] == 0) l++;
   while (l < r && heights[r] == 0) r--;
   int min = heights[l] < heights[r] ? 
                                  heights[l] : heights[r];
   for (size_t i = l; i <= r; i++) {
    if (heights[i] >= min)
     heights[i] -= min;
    else {
     result += min - heights[i];
     heights[i] = 0;
    }
   }
  }
  return result;
 }
};

Earn Money from YunFile

RIGHT ACTIONS FROM WRONG MOTIVES

"你们祷告的时候,不可像那假冒为善的人,爱站在会堂里和十字路口上祷告,故意叫人看见。我实在告诉你们,他们已经得了他们的赏赐。 (马太福音 6:5 和合本)
"And when you pray, do not be like the hypocrites, for they love to pray standing in the synagogues and on the street corners to be seen by others. Truly I tell you, they have received their reward in full. (Matthew 6:5 NIV)
你祷告的时候,要进你的内屋,关上门,祷告你在暗中的父;你父在暗中察看,必然报答你。 (马太福音 6:6 和合本)
But when you pray, go into your room, close the door and pray to your Father, who is unseen. Then your Father, who sees what is done in secret, will reward you. (Matthew 6:6 NIV)
你们祷告,不可像外邦人,用许多重复话,他们以为话多了必蒙垂听。 (马太福音 6:7 和合本)
And when you pray, do not keep on babbling like pagans, for they think they will be heard because of their many words. (Matthew 6:7 NIV)
你们不可效法他们;因为你们没有祈求以先,你们所需用的,你们的父早已知道了。 (马太福音 6:8 和合本)
Do not be like them, for your Father knows what you need before you ask him. (Matthew 6:8 NIV)
所以,你们祷告要这样说:我们在天上的父:愿人都尊你的名为圣。 (马太福音 6:9 和合本)
"This, then, is how you should pray: " 'Our Father in heaven, hallowed be your name, (Matthew 6:9 NIV)
愿你的国降临;愿你的旨意行在地上,如同行在天上。 (马太福音 6:10 和合本)
your kingdom come, your will be done, on earth as it is in heaven. (Matthew 6:10 NIV)
我们日用的饮食,今日赐给我们。 (马太福音 6:11 和合本)
Give us today our daily bread. (Matthew 6:11 NIV)
免我们的债,如同我们免了人的债。 (马太福音 6:12 和合本)
And forgive us our debts, as we also have forgiven our debtors. (Matthew 6:12 NIV)
不叫我们遇见试探;救我们脱离凶恶(或译:脱离恶者) 。因为国度、权柄、荣耀,全是你的,直到永远。阿们(有古卷没有因为…阿们等字) ! (马太福音 6:13 和合本)
And lead us not into temptation, but deliver us from the evil one. ' (Matthew 6:13 NIV)

Clouds in the sky during sunset.
Photo by Tom Barrett / Unsplash

Welcome to use Magoosh coupon code: CNAMBLER

I am Ambassador of Magoosh.
http://magoosh.com/

Welcome to use my Magoosh coupon code:

CNAMBLER

You can get more discount and save your money.

GMAT

GRE

TOEFL

fixed: embedded-redis: Unable to run on macOS Sonoma

Issue you might see below error while trying to run embedded-redis for your testing on your macOS after you upgrade to Sonoma. java.la...