I'll spare them, just as in compassion, a man spares his son who serves him. Amen. Let us pray. Father in the name of Jesus we come before you this evening grateful for your masses that are new every morning for enabling us to gather both online and in your sanctuary Lord we are truly grateful. So now for the next few minutes as we consider your word how we pray that you will fill us with power from above that your Holy Spirit will indwell our minds to open our hearts to receive your word and Lord I ask that you may increase as I decrease why pray believing and trusting in Jesus name. Amen. A very warm welcome to those of you who are online and those in the sanctuary we are happy to be here to consider the sons and the daughters of God the sons and the daughters of God failed expectations is a lot of mankind some more than others I want to believe that everyone who has lived for a number of years has suffered failed expectations this evening I want us to consider a parent who has paid school fees for his son three to four years down the line graduation day comes and his son is not one going for graduation sadly the father learns that the sons keep classes failed exams and consequently was not eligible to graduate truly a painful moment for any parent who goes through that you can imagine the years invested in this particular son not so much for the benefit of the father but in an expectation that the sons Lord in future will be better because of the education that the father invests in imagine God in his mercy and grace seeing the pathetic desperate situation of fallen man determined to send his only begotten son that whosoever believes should not perish but have everlasting life sadly many even those that profess to be followers of Christ do not partake of the life offered so abundantly by Jesus Christ and his sacrificial death for sinners such as I even was still when God the father got the son and got the Holy Spirit have an expectation of us who are called into his fold who have partaken of his grace and that expectation my brother my sister we shall look into it later but in one of my favorite texts Romans chapter eight the chapter of God's inalienable love in verse 28 we are very familiar with it it says all things work together for good for them that love the Lord and are called according to his purpose I am particularly interested in 29 and it starts with four meaning it's joining 28 and 29 and the four is explaining the purpose for which all things are working together for good for them that love the Lord that purpose my brother my sister is recorded clearly in the Bible that the Lord's expectation is that we will conform to the image of his son and when we do that his son becomes just a fast born among many that's the expectation going back to us humanity it's not all bad because when we look at the book of 2 Timothy chapter 3 verse 1 to 5 truly a disheartening situation is found there it reads but this we know that in the last day's perilous times will come for men will be lovers of themselves lovers of money boasters proud blasphemers disobedient to parents and thankful and holy and loving and forgiving slanderers without self control brutal despisers of good you ask yourself so what has this got to do with the sons and the daughters of God surely we must be different going on to verse 5 lo and behold Paul speaking to his beloved son Timothy says this having a form of godliness but denying its power and from such people turn away friends I want to suggest to us that where the Bible is talking of a people who have a form of godliness is talking about that are in the fold those that are in the church indeed turning to the SDA Bible commentary verse volume 7 page 341 expounding on some of those characteristics that we often think belong to people outside the church and not ourselves on the issue of being unthankful the commentary says these ones they take and receive the benefits from God and from parents for granted they are ungrateful and thankful in terms of having a form of godliness but denying the power thereof the same commentary on page 341 says something really really sad about this situation that in these people who are called into the fold of safety they may practice things that outwardly are religious for example church attendance church gifts even personal service in the church but sadly they deny the power of God which cooperates with the will of man for the eradication of sinful tendencies we are talking of failed expectations we have mentioned that God has an expectation that having done so much for humanity in sending his only begotten son that we who believe in him should not perish but have everlasting life sadly Paul the man of God writing to young Timothy is observing that within the church there are those, verse 5 that have a form of godliness but in their very daily lives it is clear that there is a denial of the power of God to cooperate with the will of man for the eradication of sinful tendencies it's not all bad the same Paul talking about Timothy his beloved son like any father he is concerned that Timothy's faith should be of the genuine type not of those that deny the power of God to change lives so this is what Timothy is said to be when you look at 2 Timothy verse chapter 1 chapter 1 verse 3 Paul talking, we'll go to verse 4 and 5 Paul talking of Timothy says I am greatly desiring to see you being mindful of your tears that I may be filled with joy when I call to remembrance the genuineness of your faith that is in you which dwelt first in your grandmother Lois and in your mother Eunice I am persuaded it is in you also Amen the man of God Paul is testifying that even though he later observes that there are some in the church who have been called just like Timothy but are unholy unthankful having a form of godliness but denying its power its power to change humanity to be what God wants us to be so looking at the testimony of Paul concerning Timothy he observes that Timothy's own mother Eunice is a woman of faith we're in verse 5 he also observes that the grandmother Lois is a woman or was a woman of faith beloved this is the deal that God's expectation of each one of his sons and daughters is not to boast in our family lineage we've had people say I am born Adventist I don't know what that means we are born biologically and born again into the faith in the name of the Father, the Son and the Holy Spirit so there is nothing like being born an Adventist we are born as human beings and we accept Jesus Christ as our personal saviour so the Bible commentary volume 7 page 328 says observing the genuineness of the faith of Timothy it says even though Lois the grandmother even though Eunice the mother were women of faith the genuineness of the family member's faith beautiful as it is was not a saving faith for Timothy that is why Paul is rejoicing to learn and to observe that Timothy's faith is as genuine and legitimate as the faith of his mother and the faith of his Lois of his grandmother Lois beloved I want to encourage us parents and even young people that yes, within your family set up not all may be of faith but there is hope for everyone because God's expectation which we will later on see is that we cooperating together with him surrendering our wills to his will be enabled to conform to the image of his son Jesus Christ that is his word and his promise in Romans chapter 8 verse 29 moving on then Paul recognizing the world that we are living in now and even that was the case in his time in 2 Timothy chapter 4 and verse 5 says this to his son but you Timothy it doesn't matter what is going on around you and who is following God faithfully because we will not know sometimes be watchful in all things endure affliction do the work of an evangelist fulfill your ministry beloved I want to recommend to you and I that our testimony in the eyes of God not man will be that our faith is genuine that we are enduring in all things even affliction and that we are doing the work that he has called us to do and that we are fulfilling the ministry for which he has set us apart God the Father, God the Son, God the Holy Spirit have an expectation of their sons and their daughters they are mindful just like Paul is of Timothy that yes he may suffer trials and tribulations like we do but the ultimate desire and purpose is that in the end in the end while we walk the journey of faith we shall truly be declared children of God moving on to the heart of the matter how do we know if we are truly the sons and the daughters of God I invite us I invite us to go to Exodus chapter 19 verse 5 Exodus chapter 19 verse 5 I will not be explaining all the things that we will need to look at in order to get the assurance that truly we are sons and daughters of God but we will touch on just three this evening because of time and we want to look at the first one in Exodus chapter 19 verse 5 God himself speaking through Moses says now therefore if you will obey my voice and keep my covenant then you shall be a special treasure to me above all people for all the earth is my emphasis is if you will indeed obey my voice and keep my covenant then you shall be a special treasure the Bible commentary volume 1 page 592 of the SDA Bible commentary explains who or what the special treasure means talking of Israel in Exodus 19 the commentary extrapolates that in this manner every child of God every consecrated Christian listen to this is a jewel in the crown of our Lord imagine Jesus the king of kings with a crown that those glittering jewels in his crown is like you and me when we are consecrated the Lord considers us his jewel jewels shine because light from God light from the one who created the sun and the moon and gave wisdom for mankind to create light when light shines on a jewel it shines back this is who God thinks of us his sons and his daughters that when indeed we obey his voice we are truly his sons and his daughters I want us to consider the examples even as we are proceeding on the issue of obedience being one of the indicators that we are legitimate sons and daughters of God two men with a lot of similarities not ordinary men they became the kings of Israel one is Saul one is David one of the similarities is they were chosen by God himself you will find that in 1 Samuel chapter 9 verse 16 and 17 the selection by God himself of Saul we know because we are Bible readers we know that Saul became king not because God had originally intended for Israel to have kings but they demanded a king so that they may be like other nations and God in his permissive will allowed that to happen so Saul is chosen by God just like you and I are an elect of God when we accept Jesus Christ as our savior so chosen by God himself identified by his tribe, a Benjamin and also David we shall see is also chosen by God himself we see him later in 1 Samuel 16 verse 1 of the tribe of the Bethlehemite the family of Jesse and God speaks and says I will name him I will name him and truly in verse 12 of chapter 16 he is named David is identified by God himself so was that enough to make them sons of God the genuine ones not those that who had a form of godliness that we had read in 1 Timothy chapter 3 moving on some of the similarities a special thing that distinguishes the sons and daughters of God from others is the anointing the anointing we know for sure that when we are baptized we get a special anointing of the Holy Spirit and the word of God confirms that both Saul and David 1 Samuel 10 1 and 1 Samuel 16 verse 3 they were anointed so two traits that indicate that God had his hand on these two men the third one both were filled by the Holy Spirit kings were anointed by oil now we move on to the anointing that you and I receive which is of the Holy Spirit this is what the word of God says of Samuel in 1 Samuel chapter 10 if we can turn there 1 Samuel chapter 10 verse 6 then the spirit of the Lord will come upon you speaking of Samuel and you will prophesy with them and be turned into another man and let it be when these signs come to you that you do as the occasion demands for God is with you verse 9 so it was when he had turned his back that is Samuel from Samuel that God gave him another heart and all those signs came to pass readers of the Bible you know that Saul was looking for his father's lost donkeys and he met prophet Samuel on the road and the setting apart through the spirit of God happened and he indeed prophesied and became part of the prophet as they were prophesying and those that witnessed those that witnessed this when we read 1 Samuel chapter 10 they noticed I'm looking for it number 11 verse number 11 chapter 10 says and it happened when all who knew him formally so that indeed he prophesied among the prophet that the people said to one another what is this that has come upon the son of son of Hish is Saul also among the prophet surely the word of God comes to pass when in Luke chapter 11 the word of God promises we always could we can you shall find nor can the door shall be opened but the key thing there that Christ wanted his sons and daughters to know is that if we horrible sinful men and women know how to give good gifts to our children how much more we have God give the Holy Spirit to them that ask so the Holy Spirit distinguishes us as sons of God but children of God we want to consider is it a one time feeling for all times or it depends on our relationship with God as our relationship with our children we cultivate that we nurture that moving on to this same Samuel things begin to happen after his anointing to be king in first Samuel chapter 13 verse 13 to 14 if you read because we don't have time if you read from verse 5 to 9 maybe we will go there let's go there first Samuel so that we see the difference between two men who are anointed by the Holy Spirit of God anointed for leadership through the prophet Samuel anointed by the Holy Spirit to be leaders leading men and women to become sons and daughters of God what then happens to Saul as he is continuing with his leadership first Samuel 13 verse 5 talks about then the Philistines together to fight with Israel 30,000 chariots and 6,000 horsemen and people as the son which is on the seashore in multitude and they came up and then counted in mismatch in the east of the Bethaven look at this the burden of a leader when you see your people confronted by the enemy who is as powerful as is described here you may be tempted to fear to worry and to forget who's you are because that's what matters you belong to God the all powerful one in verse 6 when the men of Israel saw that they were in danger the people were distressed look at what the people are doing the people hid in caves in thickness, in rocks, in holes and in pits verse 7 some Hebrews crossed over the Jordan to the land of God and Gile and as for Saul he was still in Gilgar then he waited 7 days we're in verse number 8 he waited for Samuel the seer the man who is interceding with God on behalf of his sons and daughters including Saul the king Saul is waiting for Samuel to come and the word of God says the set time by Samuel was 7 days but Samuel did not come and the people were scattered from him the leader sees people running away from him so Saul said bring a burnt offering and a peace offering here to me and he offered the burnt offering there is the beginning of the fall of this man who became a different man by the testimony of the Bible by the anointing of the man of God and by the indwelling of the Holy Spirit Saul the ordinary young man who was just looking after donkeys became a man of God prophesy now he takes things into his own hands I know we know the story Samuel comes immediately after that burnt offering has been given by the man who was not anointed to be a priest anointed to be a king now he's taking matters in his own hands as if God was not powerful enough even in the absence of prophet Samuel to fight for them against the Philistines this is the word of God through the prophet Samuel to Saul you have done foolishly you have not kept the commandment of the Lord your God which he commanded you for now the Lord would have established your kingdom over Israel forever but now your kingdom shall not continue the Lord has sought for himself a man after his own heart and the Lord has commanded him to be the commander over his people why? because you Saul have not kept what the Lord commanded you brothers and sisters this is my appeal to us floral court included it doesn't matter you are anointed you are chosen you are identified by God himself as one of his own obedience is not a suggestion it is a requirement that distinguishes sons and daughters from any other person in the world so get a clear verdict your kingdom would have gone forever but because you have failed to heed the voice of God God has identified for himself another man to take over as king listen to the masses of God children of God that even after this verdict is read out by Samuel to Saul you will see when you read chapter 14 that God is still working with Saul he has not taken away his Holy Spirit from him we see Saul in in verse we see him in verse in first Samuel chapter 13 chapter 14 we see him in verse 37 chapter 14 verse 37 we see the same Samuel who took matters in his hands seems to have learned a lesson it's there Saul asks counsel of God shall I go down after the Philistines will you deliver them into the hand of Israel but he did not answer him that day in short when you continue reading you realize that even though Saul made a mistake and he repented God had pronounced the kingdom had moved elsewhere he remained on the throne and as long as he sought God God came through for him it is recorded indeed that even through his son Jonathan and his armor bearer together with Saul God ministered in their behalf and they defeated their enemies now the sad thing that we are looking at obedience sometimes even the Holy commandment of God which we know for sure are binding are indeed the very character of God many of us sadly even among the fold that is known as Christians like Saul we choose what to obey and we choose when to obey now look at chapter 15 we will not read all of it in verse 3 something is happening again to Saul and his people and God is saying in verse 2 that says the Lord of hosts the Amalekites have come to persecute and attack his people this is what God's instructions to Saul was that says the Lord of hosts I will punish what Amalek did to Israel now he ambushed him on the way when he came up from Egypt he was remembering history and the time has come for Amalek and his generation to face the wrath of God so these are the instructions in verse 3 now go attack Amalek and utterly destroy all that they have and do not spare them but kill both man and woman infant and nursing child ox and sheep and donkey I don't think that God would have been clearer he has highlighted exactly what Saul and his men what to do we know the story we know the sad reality that Saul took upon himself we see it we see it in the same chapter that Saul took it upon himself to spare Agag the king Saul said in verse 9 but Saul and the people spared Agag and the best we are in chapter 15 of first Samuel chapter 15 verse 9 this is what Saul the king after the very clear instructions from God does Saul and the people spared Agag and the best of the sheep the ox and the fattlings the lambs and all that was good and one feeling were unwilling to utterly destroy them but everything despised and worthless that they utterly destroyed the word of God is recording the reality that even though God's command to Saul and his people in verse 2 and 3 is very clear Saul leads his people and they are unwilling to utterly destroy them the word of God doesn't say it but I imagine being human like us they must have rationalized surely these are human beings like us why would we destroy all of them why? so they do not obey that which the Lord has commanded they are rationalizing the commandment of God beloved, partial obedience is total disobedience that is what we are learning and this is what God tells Saul when the man of God asks him again and again Saul is arguing in verse 20 of chapter 15 first Samuel Saul said to Samuel but I have obeyed the voice of the Lord and gone on his mission on which the Lord sent me and I brought back Agag the king of Amalek I have utterly destroyed their melanchite to this cowardly leader in verse 29 he is saying but the people took the plunder sheep, oxen and the best of the things which should have been utterly destroyed listen looking for excuses for disobedience we kept these ones to sacrifice to the Lord your God in Gilgall these next verses are true to all sons and daughters of God for all generations has the Lord as great a delight in banter offerings and sacrifices as in obeying the voice of the Lord behold to obey is better than sacrifice and to heed to heed than the fat of the realms listen for rebellion which is disobedience is as the sin of witchcraft the stubbornness and stubbornness as iniquity and idolatry because you have rejected the word of the Lord he has also rejected you from being king long story short long story short it is sad as Paul is recognizing in 2 Timothy chapter 3 verse 5 that there are sons and daughters by name with a form of godliness offering sacrifices attending churches gifts given services rendered but in some aspects of our lives we choose a soul to do that which is convenient contrary to God's will I don't know about you are you grieved when after the knowledge of truth you hear us saying I have to work on Sabbath I don't have another way the world is such that if my son or daughter does not go to school on Sabbath and he or she is a candidate she will be expelled from school sons and daughters are distinguished and distinguishable by their obedience remember Saul and David anointed by the spirit changed to be man of God to lead people his way one decides he will do that which is convenient and have partial obedience which is total disobedience obedience is a hallmark of being a son and a daughter of God no one that David asks God examine me if there be any wicked way in me because sometimes in our human thinking the word of God says the heart of man is wicked beyond all things and it will deceive you that what you are doing makes sense in the scheme of the kingdom of God obedience is better than sacrifice moving on the other hallmark that distinguishes the sons and daughters of God from others is found in Romans chapter 8 verse 9 and 13 Romans chapter 8 verse 9 and 13 Romans chapter 8 verse 9 says this but you are not in the flesh but in the spirit if indeed the spirit of God dwells in you now if anyone does not have the spirit of Christ he is not his the leading of the spirit of God made the difference between Thor and David we know the story of David in human reckoning when we look at his history when we reflect on his mother as plot after coveting someone's wife and plotting to kill him he is not his he is not his someone's wife and plotting murder and executing it in human flesh we attempted to think surely what it's all do that is so terrible compared to David the difference is in acknowledging sin turning away and allowing the Holy Spirit to do the work of sanctification in your lives the Word of God is clear in the same Romans chapter 8 verse 13 it says this Romans chapter 8 verse 13 for if you live according to the flesh you will die but if by the spirit you will put to death the deeds of the body you will live for as many as are led by the spirit of God these are the sons of God I suggest to me and you sons and daughters of God that the leading of the Holy Spirit in our daily lives makes the difference on sonship that the choices we make on a daily basis to obey avail to us the grace of God in our lives not of works is any man saved it is the gift of God indeed but faith manifests in works of obedience it's the evidence of a transformed life moving on number 3 sons and daughters of God will endure trials and temptations we read Malachi chapter 3 verse 17 I'll read it again Malachi chapter 3 verse 17 talking about sons and daughters of God this is the Word of God talking of His people I'll start in verse 16, 15 so now we call the proud blessing for those who do wickedness are raised up even tempt God and they go free then those who fear the Lord spoke to one another and the Lord listened and heard them so a book of remembrance was written before them for those who fear the Lord and who meditate in His name number 17 those ones who fear the Lord and meditate on His name they shall be minds is the Lord of hosts on that day that I shall make them my jewels I will spare them as a man spares his own son who serves him beloved being a child of God God acknowledges you and I when we trust Him when we obey Him when we respond to His spirit's leading He considers us as we began in the beginning that we are the jewels of His crown Christ is crowned because He is not just king of kings and Lord of lords He is saviour, He came to redeem so the jewels that decorate His crown are sons and daughters who have submitted fully not in partial obedience but in total obedience and when they fall they partake of fast John 1 9 that God is faithful and just to forgive anyone who confesses their sin not perfect like David but a son nevertheless because they are led by the spirit of God beloved the jewels of this earth I did a little research and I discovered that jewels are often formed in the depth of the earth it was suggested that diamonds are developed a hundred miles below the earth's surface a hundred miles is the equivalent of 161 km and 161 km is Nairobi to Nakuru now 161 km beneath rock and soil it will not be an easy three hour drive it takes time to become the jewel of God takes depth, takes time, takes temperature takes endurance just like diamonds a hundred miles below and where they are formed is 50,000 times the earth's pressure the pressure on the surface of the earth here where the diamonds are formed is 50,000 times more pressure than the earth's surface and listen to this in terms of heat in terms of heat it's 1,600 degrees Celsius does that sound like heat? yes, children of God the making of jewels on earth naturally by God takes depth takes temperature, takes pressure I want to suggest to you and I son and daughter of God that the same applies to you and I and that's why in Romans chapter 8 verse 28 it's a very favorite verse to most of us the word of God says and we know, we are not guessing and we know that all things work together for good to those who love the Lord and are called according to His purpose we know all things work together for good for them that love the Lord and are called according to His purpose one time I was really troubled what is this purpose? that is making all things good and bad to work together for my good what is this purpose? and lo and behold I found it in 29 in short it is to be conformed to the image of His Son that He might be the first one among many brethren that is the purpose of God in our trials, in our temptations there is enough depth being developed there is sufficient pressure to remove the dross that life brings upon us and ultimately the expectation of God of sons and daughters is that when human beings look at you Victor when human beings look at you William O'Call when humanity wherever you interact with them my sister Ann when people look at you they see the image of God's Son we will not be white we will not have long hair we may not speak like him but our character truly will be reflecting the image of Christ the first born and this is the expectation that He will not be an only child that He will be first born among many brethren that is the word of God so this is the deal sons and daughters of God do not shy away when trials and tribulations the heat is piled up the pressure builds up upon you the devil is often behind it God permits it that ultimately He may show off His jewels to the entire universe that these are mine they are my jewels we know from 1 Peter 1 6 and 7 that God allows problems to come our way it is not because He is a sadist and that He enjoys when His sons and daughters suffer no He longs to have jewels that have overcome the world in Bible readings for the home page 246 I came across a beautiful verse chapter on chastening and growth this is what it says our sorrows do not spring from the ground God does not afflict willingly nor grieve the children of men listen when He permits trials and afflictions it is that we may be partakers of His holiness amen the trials of life are God's workmen did we hear that God works all things together for good for them that love Him trials of life are God's workmen don't wiggle out don't compromise look at Joseph extreme pressure from his own family He does not harbour unforgiveness which is a trait of those that are ungodly deny the power of God we saw it in 2 Timothy 3 verse 5 ungodly, unthankful, unholy the trials of life are God's workmen to remove impurities roughness from our character they are hewing they are squaring they are chiseling and banishing and polishing sounds painful indeed it is a painful process between the dream for Joseph and the actual crowning as a leader he came from a teenager to an adult man in his 30s between the promise of Abraham father of many nations a number of years passed at a hundred the promise begins to show up but by the time Sarah is dying you may not have seen the big nations the word of God continues under the Bible readings for the whole that page 246 to say it is hard to be pressed down to the grinding wheel but the stone is brought forth prepared to fill its place in the heavenly temple amen that all the chiseling all the squaring all the sharpening is worth it consider the transformation of Jacob from a fraudster to Israel consider aggressive soul murderers killing with abandon transformed to be the humble evangelist introducing himself from one letter to the other born servant of God prolific writer ready to die provided he does not lose one minute to tell others that you too can be a son you too can be a daughter consider Peter self-righteous feeling too good to reach out to who Cornelius until God molds him and melts him and shows him that hey I have sons and daughters who may not look like you who may not have the same background like you but once they believe and trust and accept Jesus and they walk in faith through the leading of the Holy Spirit these are mine finishing brothers and sisters this is the real deal this is the real deal that God has an expectation that the sacrifice his son made will not be in vain especially those of Israel those who have seen and heard and tested of his goodness for how long will we behave like so choosing when it is convenient to obey when it is convenient to trust will you partner with God that Romans 8 28 and 29 will become true that at the end of time the many brethren will include you and I as sons and daughters of the Lord finishing let us allow God in our lives to polish us and make us his jewels as he has promised in Malachi 3 17 the difference is in the choice you make it's not that there's a select few know John 3 16 is clear for God so loved the world that he gave that whosoever believes shall not perish but have everlasting life let us not like so perish from within the fold let us choose like David to honor God that our testimony will be surely goodness and mercy shall follow us all the days of our lives I pray that if there is any son and daughter of God anywhere online or in this sanctuary you know for sure that on the aspect of obedience to God that we have fallen short if there be any son or daughter of God who knows for sure that the deposit of the Holy Spirit is availed in abundance but sometimes we ignore his prompting if there be any among us online and in the sanctuary who knows for sure that the image of the first born brother is not always clear in private and in public it is my prayer that we will run to him our elder brother and take the first opportunity to confess our sins and he is faithful and just to make us his jewels that ultimately he will say my father these for these ones I died they rend a good race they overcame the world these are yours due to 24 promises that he anxiously awaits to line us up before the father spotless not because we have not sinned but because we will have partaken the narrow road of obedience and walking with him submitting our will to his this is my prayer for you and for me my brothers in the mighty name of Jesus shall we pray father in the name of Jesus we come before you this evening thankful for sending your son to die for us that we may live father we recognize that we have fallen short of your glory that we do not always reflect that image that you require and expect of us father forgive us but we hang on to your word in Luke 12 how much more will you give us the Holy Spirit when we ask grant us your Holy Spirit to walk with us to teach us to comfort us to reprove us when we are at home to guide us and remind us of your teaching when we are tempted to compromise Lord remind us that it is worthwhile to endure to the end and keep us till you come again that we may live with you forever this is our prayer in Jesus name and now may we rise up and say the grace of our Lord together and now may the grace of our Lord Jesus Christ and the love of God and the fellowship of the Holy Spirit be with us now and forevermore Amen Amen God bless you


Hello and welcome to the session let us discuss the following question. It says the following table shows the monthly expenditure of a family draw a pie diagram for the data. So let us now move on to the solution and first of all to draw the pie chart we need to find the central angle subtended by each item and to find the central angle will divide the amount spent on one item by the total amount spent and will multiply that with 360.  Now we find the central angle for each item. So here we write item amount spent and here we find the central angle. Now the first item is a rent amount spent is 1500. Central angle is given by 1500 divided by the total amount spent multiplied by 360 degrees and that gives us the central angle as 50 degrees and the second item is the food. Amount spent is 3600 and the central angle is given by 3600 divided by 10800 multiplied by 360 degrees and that gives us the central angle as 120 degrees. Now the third is clothing spent is 1200. Central angle is given by divided by 10800 multiplied by 360 degrees and that gives us central angle as 40 degrees. Now the next item is education expenditure and the education is 2100 and its central angle is 2100 divided by 10800 multiplied by 360 degrees and that gives us the central angle as 70 degrees. Now the next is miscellaneous expenditure 2400. Central angle is obtained by 2400 divided by the total expenditure multiplied by 360 degrees and that gives us central angle as 80 degrees and you must make sure that the sum of all these central angles is equal to 360 degrees. Now to draw the pie chart first of all draw a circle of convenient radius. Now the central angle representing the expenditure on rent is 50 degrees so using protractor will first make an angle of 50 degrees. You can easily make an angle of 50 degrees using the protractor to representing the expenditure on rent. Now the sector angle representing the expenditure on food is 120 degrees so again using protractor 120 degrees and we are moving in the clockwise direction. Sector angle representing expenditure on clothing is 40 degrees. Next is education and the sector representing education has central angle as 70 degrees and the remaining is the expenditure on the miscellaneous and this is 80 degrees. This is food, this is clothing, education and this represents miscellaneous. So this is the required pie chart. So this completes the question and the session. Bye for now. Take care. Have a good day.


How can labeling the move increase the force now using notations, what, instead of legends can annotate each point directly on the graph, now, legend placement, avoid over-plotting, that doesn't seem to be a problem, subplots. It will be nice to have them all overlaid on top of one another, extracting the same. So the question is like how will it chop them up. And it's, I think it's, potentially suggesting taking the apex, because that's what we're finding first. That's actually a feature of New York it to something in built the rest is done by an algorithm. You can see it's not great, so we also need to see how to improve it, we'll probably add some controls for the timing there to say try and improve the T wave placement and that green label meant to be here at the peak, so to know what's happening there, but this could help as well if we just overlay, chop them up and overlay them, the pre peak and post R peak would ideally be detected automatically, so we're still detecting a change, hybrid processing change in direction, we also don't like any magic numbers. So if there are any values in the code, can we have input on the chat screen, be able to adjust the input parameters, all the timings, et cetera, amplitude, thresholds, we would like to turn it eventually into a web application, we already have a few flask applications running on an Apache server and stop that one, start this one, so this is what it should look like. We made some more modifications, so there should be inputs for different magic numbers within the code, so all sorts of time intervals and amplitude thresholds, so we can play around with it and see if we can get better labeling results, right, so doing the simulation to begin with, I just changed the order of a few things, but right, we have the index error, of course we do, essentially sending requests to the server, it's this error, I don't know if I was seeing anything like this before, okay, but it's also not this, anything, are we calling script.js in the HTML, and we reached, it's not running, is it, template HTML, template, output based on threshold, yeah, those thresholds meant to take in variables, okay, let's start again, sorry, using default, we would like to turn this code into a flask application, eventually deployed on Apache server, this is not exactly what we want, eventually we will have to have a full-fledged HTML and JavaScript and everything, but this should be a quick fix, if we want to display anything, page can be reached, because we are not actually running, right, so we see the plot, so we didn't actually needed that, we want to go by the AVA path, can we add any necessary input parameters, essentially anything that is a fixed constant number in the code would like to turn into a variable so we can control it from the application, can we make sure that default values and range for each input variable are being predefined, could we also generate the entire Python code for uppy file, index HTML and script.js, okay, this might take some time, but a bit odd, gonna cut the rails, yeah, this is not the input variables that I meant, but okay, we can have those as well, this is what we have in the previous application, this is better, getting 4 of 4, because we don't need that, generate a CG plot, sampling rate can definitely be 250,


So, we are celebrating our five-year anniversary, the ups.  The downs. Because it just sounds like boring, basic, not complicated, not interesting. And do you think those are words that would describe our love? And I'm also going to be sharing a video that I made for Shan on our five-year anniversary, which I thought was pretty cool. But first, we got to show some love to the sponsor of this video, Squarespace. Well, 2024 has arrived. And yeah, it's time for a complete restructure. This year, Shan and I are embracing a new direction, focusing on artistically stunning and engaging content, starting with Shan's website makeover. There's no better partner for this transformation than Squarespace, the proud sponsor of this video. Squarespace isn't just a sponsor for us. It's ideal for us in tailoring our brand and fit our unique needs and our desires. It stands as the ultimate platform for entrepreneurs looking to stand out and succeed online.  Plus, you can sell everything from products and content to time. Now, while I can go on and on about Squarespace's impressive capabilities, I'll save that for later in the video. But if you're eager to explore Squarespace right now for yourself, visit squarespace.com slash shan booty for a free trial. No credit card needed. And when you're ready to launch, go to squarespace.com slash shan booty to enjoy 10% off your first purchase of a website or a domain. Enjoy the video. We'll talk soon. It's wild. When I met you, love felt simple. And I always thought love was complicated. It's convoluted. It's hard. It's exhausting. And no one really understands it. And to be honest, I used to doubt that love could even be real if it was simple. And I know using the word simple to describe a love that has completely changed my life feels like a poor choice of words, right? But the safety, the stillness, the consistency and ease to our love is the reason why it's oxygen to me. Life is hard. Loving you is easy. It's five years in. And loving you is as easy and simple as breathing fresh air. And even though breathing air feels simple and effortless and I do it all day, its impact, it's not simple. It's literally why I'm alive. So when I say loving you is simple, I really mean loving you is why I'm alive. Five years. High five. We did it. Yeah. Thank you for that very special video that you made for our anniversary. Can you walk me through your inspiration for making it? Oh, well, you know, for me, I always, I don't think that I have a way with, like, writing out stories the way you do. But I do know that I do have taste in visuals. So for this year, I just really was like, how do I express the feeling that you give me and this relationship gives me that's more than just telling you or more than just a gift. Something that I can control. To me, it was like, almost like, this is going to sound so weird, but like if I was an artist and I could paint and I was able to be like this painting, this visual, this thing represents the feeling that I feel when I'm with you. And that's really where it came down to. It was just like, how do I express more what Shan means to me through a way that's just not just words? It's always tough around birthdays and Christmas and things because it's like, what do you get the person that can really get whatever. Yeah. And the only thing that I always land on is something like that I make, you know? Whether that be something visual, whether it be something tangible, I think the art of doing that, it's just an expression. I enjoy expressing that way. Even if I see other people who do videos that way or do things that way, it doesn't even have to be romantic related. It's just like somebody expressing something that I feel that I haven't put into words yet is awesome to see. So I think it's important and then you, it's like the person that you're showing this to maybe they think they know what you feel about them but now they have something that can make them feel something. Past words. Best friends? Yeah. You consider me your best friend. You don't really hear you say that. You never like your my best friend. You're my best friend. You're so vibrant and daring and fearless. I just think it's such a turn on to me. I'm excited to get bold and just hang with the world together.  And I've never looked at someone before like that. You have me right here looking fresh and then look how they have a chance. It feels like a dream. I would dream of a life like this. Just watching the way that you love our children. Okay, little pause here, but let's just dive into why Squarespace is so impressive to me. First, their appointments feature has been a game changer for us with our schedules being quite hectic. This feature streamlines our day-to-day management beautiful and speaking of beauty, you've got to check out their fluid engine. It makes creativity so easy and it's accessible from your browser or even your phone. And are you thinking of selling products? Squarespace has you covered here, too. They assist with everything from product design to production to inventory and shipping plus their mailing list management and analytics tools are top notch. And the ease of designing and customizing your website is simply amazing. If any of this sparks your interest, visit squarespace.com slash shamboody to start your free trial. No credit card required. And when you're ready to launch, go back to squarespace.com slash shamboody to get 10% off your first purchase of a website or a domain. Remember, that's squarespace.com slash shamboody for your free trial and 10% off your first purchase of a website or a domain. Now enjoy the rest of this video. Do you have a negative feeling that we didn't get to celebrate it personally? Celebrate our five-year anniversary? No, because I think that everything is just... I think we have a very realistic love. And some people may not like that and some people may be really relieved to know you could have a very intense and deep and powerful realistic love. Like, I don't think that our love exists in the realm of fantasy or the abstract. You know what I mean? It's just not realistic right now for us to take that time to be able to really celebrate the way that we want to. We haven't gone on a date night. Does that mean that we don't have time together? No, three hours a night, every single day. We have focused time to love on each other and to be with each other. But to do that and leave the house and know that the kids are okay, we just don't have that space right now. So I like that about us. I like that we're not resentful of our reality. And I think that's a really big accomplishment, especially for parents who work as often as we do. It's very easy for anybody to become resentful. And I'm so grateful that we can both acknowledge the hard without being resentful for our life or for the fact that we're in this because of the other person. You know what I mean? Yeah. Do you know what I'm saying by that? Yeah, it's like something as simple as us not getting to go out to dinner or celebrate it. It's like the circumstance that we're in is not going to be, the frustration of it's not going to be taken out on the significant other. Yeah. Is that what you're saying? And it's like, yeah, the frustration of that.  And it's so easy to be like, if it wasn't for you, I wouldn't have kids. If it wasn't for you, I wouldn't have less work responsibility. And if it wasn't for you and if I was by myself, I'd have more freedom. I'd have more time. And if I was by myself, like it's easy to kind of get into that type of thinking which can damage the partnership. And so instead it's the difference of, I talked about this in another piece of content that I'm making or I wrote about, is that what I treasure so much about what we have is those two hours at the end of every day. And it's like finally, I think the big stress I have right now, you know, is maintaining the kids' livelihood. That's going to go away soon. But I'm really on edge all day trying to protect them.  I don't have to be in like constant fight or flight. So at those two hours where whatever work we got into the day is done, household responsibilities is done to the best of our abilities, kids are in bed, that I can actually look across at you and enjoy this moment of rest together. I don't look over at you and I'm like, you didn't even help today. They're like, ugh, you're the one who got me into this mess. I mean like, it's actually a moment that we can share together of like, damn, that was hard. And thank you for making it easier. Thank you for not making any more additional stress on me. Thank you for not putting any more pressure on me. Thank you for making the load lighter. It's a heavy load. Thank you for carrying it with me and for showing up every day to do that. Like that to me is our anniversary celebration, every single day. Yeah. It sounds Disney. It's like in a good way. There's happily ever after. Well no, I mean there's definitely days. It's a good thing. You probably feel the same way. There's definitely days where those two hours come and you're like, I didn't get to do one thing for myself today. And you feel frustrated. There's definitely days where I'm like, you know I felt that recently. Where I'm like last weekend you were sick, this weekend you went out partying and now you're tired. Okay? Yeah. Like I got to keep stepping up and so those two hours come and I'm looking at you like, why are you tired? You know what I mean? Like so it's not consistent. I mean it's 95% of the time, which is amazing to me. So that's the non-Disney part. There's definitely days where in those hours I don't feel those warm feelings. Yeah. But overwhelmingly I do and I choose to focus on that. Yeah, that's good. On our five year cake, I would write on there that if you feel like your love is simple, that means it's probably good. Especially if you have a wildlife the way we do. It's nice to look at you and just think, I can be easy around here. I don't have to be on guard. I don't have to think that she's going to offend me.  It's simple. And that to me is the most important thing in a relationship. I know that there's a lot of people who like your very big emotion relationships but those are roller coasters to me and this has been the furthest thing from a roller coaster in a relationship that I've ever experienced. So, I cherish the simplicity to the way that we love each other. I love that. I think about this in one of my ex's moms called me simple once and I was so offended. I was like, what do you mean simple? Because it just sounds like boring, basic, not complicated, not interesting and do you think those are words I would describe our love? No. Not at all. No. No. Simple. Yes. But not boring or basic or anything like that. Yeah. I think that the reason it is simple is because it's complex. There's so much toxicity in our careers that I'm so glad that there's not any toxic in our relationship. So, yeah. Simple. Good. Boring? No. Complex? Yes. Are you surprised at all that we made it here? No. No. I didn't marry you because I thought it was going to end in five years. So, no. Yeah. I'm not surprised either. Are any of you surprised? Be honest. Probably.


So, that's really the focus of the book then, is how can we achieve this benefit of ketosis without going into ketosis? And so, where do we start? Well, you're well aware of this literature, and I've talked about it before. As you know, the ketogenic diet, the actual term, ketogenic diet was coined at the Mayo Clinic in 1930 for the treatment of seizures in children before, you know, any of the Dylantin or Phenobarbs were available, and it was remarkably effective. Fast forward when these drugs became available, it's really hard to stop a kid from eating carbohydrates, as any of us with children or grandchildren know. In fact, it's really hard to have humans stop eating carbohydrates, as any of us know. The ketogenic diet for kids fell out of favor, but in the 1990s, it actually had a resurgence where it was found that if you gave kids MCT oil, medium chain triglycerides, that they would produce ketones, as most of us know, and you could give them a lot more carbohydrates and a lot more protein. And when I wrote the plant paradox and my ketogenic version had a lot of MCT oil and a lot of carbohydrates, and it worked really well because of that information. So number one, we know that one of the brilliance of MCT oil is that it is absorbed directly from the gut, unlike any other fat, and it goes directly through the portal vein into the liver, and there it's converted into ketone bodies. So the beauty of MCT oil is, as I joke, you could have a fresh fruit salad, which don't get me started with that, and have some MCT oil, and you would still produce ketones and be in ketosis, even though you weren't on a ketogenic diet. So that's a good starting point, and let me just segue the names of medium chain triglycerides all carry the Latin word for goat, capra. So there's capric acid, caprylic acid, and so on, and you go, that's funny, why are they named after goats? And lo and behold, when you look at the fat in goat milk and sheep milk, 30% is medium chain triglycerides. So then, continuing down this rabbit hole, son of a gun, I could get the benefits of getting MCTs in very yummy forms like goat yogurt or sheep yogurt or goat cheese or sheep cheese, and that sounds like an appetizing way to get the benefits of MCTs in my diet, or I can mix MCT oil with a olive oil. So once you understand that ketones are signaling molecules that uncouple mitochondria and that uncoupling mitochondria is probably a good idea, so good an idea that Dr. Brand to defend himself wrote another paper and said, guess what, I've looked at super old people, people 105 years old who are thriving, and they have the most uncoupled mitochondria. And then you go, really? So it sounds like uncoupling mitochondria might be a really great way to live well for a very long time. And then you start saying, okay, what other substances uncouple mitochondria, and that's where we take the reader. And I think that's on page 50, I think you have a whole list of all the usual suspects that we didn't look at. I'll turn to that in a moment, but that we didn't, you know, the turmeric and quercetin and all the great things that we know have such health benefits, and now we're looking at them through the lens of their ability to uncouple mitochondria. There's an interesting section in the book, you're at a lecture getting ready to give a talk and somebody begins the lecture by saying, if there's anybody here who believes that polyphenols are antioxidants, you can leave now, right? Yeah, that was, yeah, go ahead. Because you developed the notion that the benefit of polyphenols is they act as uncoupling agents to protect mitochondria, having evolved from protecting the chloroplasts, the mitochondrial equivalent in a plant, to protect them as well. So when we eat these colorful plants, we get these polyphenols that then act as uncoupling agents in us. Yeah, it's, you know, it's amazing that, you know, plants have mitochondria, they're called chloroplasts that do exactly the opposite of our mitochondria. They take CO2 in sunlight, photons, and convert that into oxygen and glucose. And sugar. Sunlight, yeah, sugar. And sunlight is very damaging to mitochondria, just like oxygen is extremely damaging to our mitochondria. So, plants produce polyphenols in their leaves, in their fruits, to uncouple their chloroplasts to avoid sunlight damage. And the fascinating thing is that when we eat those plant polyphenols, we don't do a good job of absorbing them, but luckily our gut bacteria love to eat them. They're a great prebiotic food in their own right. And then they are converted into absorbable compounds that, lo and behold, uncouple our mitochondria. So these are postbiotics, then, because they're... Yeah, these are postbiotic products of these, of the bacteria. So that's the, that's the microbiome connection, and that's, you know, the real weakness in the notion of completely or doing almost completely eliminating carbs because you're going to eliminate fiber. And I think what you're saying is you've got to do everything if you're going to be able to harvest the benefits of polyphenols and other plant-based components.  Yeah. I give an example, which, as you know, I usually do blood work on patients every three months. And I like my patients to experiment. I like them to explore. And a number of patients say, you know, I'm going to do a hardcore ketogenic diet, or I'm going to do a hardcore ketogenic carnivore diet, and, you know, I'll see you in a few months and let's see what I did. And I, you know, I'll go great. These guys will come back, and I'm thinking of three individuals specifically, they come back and they say, we feel great. I've never felt better in my life. And I said, well, let's look at the blood work. So these guys all, all of these people have markers of increased inflammation on the surface of their blood vessels, increased stickiness on the surface of their blood vessels. And normally we should have incredible flexibility in our blood vessels. And these guys have markers of stiffness in their blood vessels. And so when they see this, and besides the fact that their cholesterol numbers are crazy, but that's totally beside the point, when I see this, I go, oh my gosh, you know, you're like that swimmer in Jaws at the start of the movie, happily swimming on the top of the ocean. And she doesn't realize there's a great white shark right beneath her about to eat her. And I said, look, you know, you may feel good right now, but I got news for you. There's a great white shark in you. And here's the evidence. And they go, but why? And I said, because you just starved, you're got microbiome. They're not, they have nothing to eat. They have no ability to modify any polyphenols that somehow arrived in your diet. And here's the consequences. And, you know, I've published data on the ability of polyphenols to change vascular flexibility of change vascular stickiness. And so this isn't, you know, this isn't conjecture. This is real. And now we have a reason why this is happening. Well, it's so interesting because, you know, again, this is a brand new way of understanding how all of this seems to come together.  There's so many other things that are going on here. And this is an important, a really important new side light in terms of understanding why we need to be eating more plants. And I have to say, every time I say that, I know I'm going to get criticized. Oh, I've gone up. The vegans have had their influence on Dr. Perlmutter and I'll get, you know, called out for it. And I'm not a vegan and I do eat animal products. I do eat eggs and fish. But nonetheless, you know, most my my statement for all to hear as your author of the plant paradox for crying out loud is that we need to eat more plants. We need to have more dietary fiber in your case. You know, you raise our awareness of lectins and the potential risk that that poses. But by and large, I think this move away from plants is not going to help anybody. And I think it's done with the notion of plants being carbohydrates. And therefore, why in the world do we want to do that? Yeah, you know, there's, in my opinion, there's really good plants that give us a lot of benefits and a lot of them are in either the fiber, the soluble fiber they contain or the polyphenol content that they contain. On the other hand, I think you and I would agree that there are certain plants or plant seeds that are not exactly the best things for us. And there are ways to detoxify most of the mischievous parts of plants that generations have done to pass down from, you know, grandmother to mother, et cetera, that unfortunately we've lost in our modern diet. But yeah, I'm not anti-plant. You know, I'm a I'm a veg aquarium. I tend to eat mostly vegetables, plant matter. And then on the weekends, my wife and I usually have, you know, wild shellfish or fish, and that's I think pretty good diet. Will I have a grass-fed, grass-finished steak? Yeah, about every three months. I'll have one. So if somebody walks by me, one of my favorite restaurants in Montecito, California and see me steak, that's me. You know, yeah, I'm having it last one was three months ago. So lay off. Well, they're not seeing you eat the tiramisu. So that's right. They're not they're not going to see me. That's something we're going to have to do at home. If you found this video helpful, I think you're going to love this one. There's high protein keto. There's muscle sparing keto. There's protein sparing keto. How does anybody know what keto is anymore? Well, the traditional keto diet was actually developed as a treatment for epileptic children.


Good day fellow investors. Yesterday we discussed Nobel Prize professor Richard Taylor implications about investing in financial markets and how behavioral finance affects our rational decision making, especially in adapting new information and other situations. Today we go one step beyond investing and something that's even more important than investing. Personal finance and saving for investing. How are we behaving in our personal life and is what we do for our investing not picking stocks? How much we allocate from our budget to investing is that enough and is that rational? The fact is that 50% of Americans don't have a 401k savings plan, which is not a good sign. On top of it just 10% of Americans save enough for their pension. Depending on where you are in the world this could be skewed. However I would never place my pensions in the hands of a government. The pension system is an experiment that has been going on for not even half a century. So it's something very dangerous to be sure that the government or some other institution will provide your pension. Therefore keep listening in order to see if you are doing enough for your retirement goal or for whatever independence financial independence goal that you might want to hit at a certain future date. So as I said only 10% of Americans and probably also in the rest of the world the situation is the same save enough. Now the problem is that we are not saving enough is first self-control. We prefer immediate gratification rather than future gratification. If you save now if you cut your spending now that's a loss and we know loss aversion from yesterday. That's painful especially if you have to invest it somewhere and who knows when you are going to get the benefits from that. However it's very important to have a part of your budget invested. Further investing can be overwhelming. If you just look at my videos you say oh my god where am I going to invest. That's too much information. If you are not passionate about investing I can imagine someone who's passionate about dancing when you start talking about stocks and investments after five seconds they are out. However taking a responsibility about the financial life is very very important and that's what people don't like. That's why again they prefer spending money now than investing or thinking about investing money in the future. Now the professor and his partner Slomo Bernazzi have made a very interesting plan that really works that helps people save more and plan more effectively in the future. They call it save more tomorrow which is a plan where you save more automatically put more aside in your 401k plan as you get the raise. So if you get the raise let's say 50% of that raise go immediately into investing and 50% goes into spending so you're not cutting anything. There is no loss aversion but you are saving much much more for the future. And they started this project with a small company in the Midwest in 1998 and people were saving 3.5% of their salary. Five years later they were saving 13.6% of their salary because they each year instead of spending all the raises they got they put those raises into investments. So that's a very interesting plan however there is even something more important that I want to discuss today and that is are you saving enough or investing enough to reach your investment returns? Many pension funds investors think stock will give 8-10%. That's completely wrong and I'm not saying that. Jack Bogl the founder of index investing is saying that and I have put this video in a playlist and after this video it should be immediately Jack Bogl discussing how stocks will return 4% in the next 10 years in a good scenario. Bonds will return 3% and that's not inflation adjusted. So are you doing enough now in your financial life in order to reach your goals which such returns? There is always then an option if you're not doing enough to save more or to invest in a smarter way to learn more about investing to lower your risk and increase your returns. So the question is do you have a plan when you invest? Do you think your expected returns are in line with what your investments can bring? Not speculative returns really look at the fundamentals the earnings the dividends that your investment have now and are expected to bring in the future. And then is what you're doing enough to support the lifestyle you want to have in the future? If not then you have to really think about what you're doing and how to change that. I will leave you today by asking you to watch the Jack Bogl video. It's pure financial knowledge and wisdom in one place. I don't agree on him on index investing because I think I'm smarter and I think many people that put a little bit of effort into investing can be smarter but for the rest for the returns for what he's doing for the costs really chapeau Jack Bogl. So watch his video today instead of listening to me. He has much more experience much smarter a great guy. Thank you for watching I'm looking forward to your comments and I'll see you in the next video.


So hey guys welcome to comic in if you're new make sure you hit the subscribe button and a little bell Count it below hit the like button. I mean even share with your friends Good job. We have cookies and milk Might be seen at that. Sure Hey guys, welcome back to comic in this is your weekly comic book and back issue review Today, I'm doing Superman Strength part two of three. I will tell you right now. I have not read number one or number three yet I found this at geeky out comics.  It was okay. It was an okay breed. It shows There's a lot of depth to the character of Superman It shows why he always keeps his word why he doesn't lie or anything like that There is quite a bit of humor in this but it's it's pretty cheesy and Maybe if I read the entire story part one two and three I Might like it better, but this was kind of dull We begin with pa can't telling Lois of a time when Clark was just ten years old a Solar eclipse has occurred which showcased the power that Clark would soon have Something happened in issue one that made Clark run He ran and ran for an hour. He ran until he ended up in a major city He thought the city was to peek at Kansas. He discovered a group of kids ganging up on another single kid These kids were bullies and Clark doesn't like bullies He jumps in and helps the kid get away But he's told by the gang that the kid was a criminal He tried to kill the brother of the gang leader Clark agrees to help the group of boys Get the kid and take him to the police But only if no weapons are involved But it turns out the attempted murder was just the latest of a massive back-and-forth between two families Kind of like the Hatfields of McCoy's Which ended with the both boys shooting each other right in front of Clark Clark makes his way to a pay phone and calls Home only to realize he's not in Topeka. He's not even in Kansas anymore, Toto He had run from Smallville to Chicago, Illinois in less than an hour Pau Kent took the little money he had that he couldn't really afford But had to for his son and he flew To Chicago to pick him up at the airport Clark apologized to him said he was sorry for running out of his boundaries He just he was upset and all he wanted to do was run and of course Paws said it was okay. He understood But Clark ultimately decided from then on Always keep his word Before he always said that he'd never run out of his boundaries well this day he had and Now he's learning why it's important to keep his word after this Lois is called to let Scorpelabs for a story that only she would be trusted with Superman's head has been trapped in a portable portal meaning His body's in one place at Lex Corp labs, but his head is somewhere else still attached to his body But it is kind of like the black holes in those old Roadrunner cartoons which Lois actually makes a point to bring it the criminals responsible are teasing the man of steel about his lack of body But suddenly on the news a crisis has announced Lots of flooding overseas Tons of people in trouble Thousands of people could die and if the criminals let it happen when they know Superman could save the people those deaths will be on their hands So Superman convinces the leader of the group to let him go as long as he promises to return and Become just ahead again and of course Superman is always a man of his word so the Criminal leader the gang leader trusts him let's him go help save the people and eventually Superman returns and allows the group to put him back through the portal and Keep him trapped like that the next several pages of this comic play out pretty Pretty intensely with the group Taking Superman's head to Lex Corp and meeting with Lex Luthor. They pretty much they have a proposition for him basically the group the gang leader invented these gloves that could create these portals and and He did so while working at Lex Corp He wants Lex to turn over the rights to those gloves to him and any Any profits he plans on making from it or whatever? and In return they'll become partners in a crime venture. Well Lex created his own pair of those gloves and Decides, you know, what do I need you for? I've got my own Well, that's when the team leader the team leader pulls out this This object which it looks like a small version of metropolis Trap behind an energy dump, but he pulls out a penny from his pocket and Drops it he tells Lex to go look outside And you see a giant penny just come falling down into the river. Of course Lex is pretty much he's got Lex by the short and curly's at this point and Lex is pretty worried So the guy is like okay now either do as I say but or I've got all this other stuff in my pocket I could drop it all nowhere near the water and destroy the entire city So he drops it and Lex having the glove having gloves himself opens portal allow Superman to fly through and He says the Superman Superman go I need your help.  It is is almost too cliche So I'll give Superman a strength part two of three Which is titled the long run by Scott McLeod from 2005 I'll give it a five out of ten I do plan on getting the other two issues To the story the man who broke Superman's arm and Cloud Spitter just because I'm kind of a completionist and I'd like to read the entire story before I'm Give up make up my final decision on it So there you have it five out of ten for Superman's strength part two the long run If you're feeling up to it go ahead go pick it up I Can't remember how much it was but It's not it's not too terrible much Make your own decision on it It it is what it is, you know You guys go have a good one make sure to hit that subscribe button make sure you hit the like


Did you know that Professional Supplement Center carries an array of high-quality supplement lines for cats and dogs? Vitamins and minerals are as critical to a pet's health as they are to human health as they aid, support, and help regulate bodily functions from joint health to digestion to muscle growth. Even with a well-balanced, high-quality diet, pets can develop vitamin and mineral deficiencies, which can sometimes have serious and long-lasting health effects. In addition to overall health support, specific reasons for supplementing can include aging, joint discomfort, diagnosis of vitamin or mineral deficiency, diagnosis of a disease. Along with proper nutrition, daily exercise, and weight management, nutraceuticals can help to keep pets healthy and comfortable as they age. As part of an overall wellness strategy, supplements that are commonly recommended for pet health maintenance include essential fatty acids, help reduce inflammation, boost the immune system, and help maintain critical brain function. Glucosamine with chondroitin sulfate helps maintain healthy joints, improve flexibility, and assist joint cartilage hydration. Probiotics, which provide healthy microbiota to aid digestion, also support the immune system and may help reduce symptoms of stress. Antioxidants, such as vitamin C, are vital to support the health of bones, blood vessels, teeth, and the immune system. Multivitamins and minerals aid overall health for pets of all ages, but as always, it's a good idea to discuss pet supplementation with your veterinarian before embarking on a supplement program. Remember also that not all supplements are created equally, so be sure to choose a high-quality brand you trust to help your furry family member live a long and healthy life. Pet Supplement Center offers many high-quality pet supplements. Please feel free to give us a call with any questions you may have, and we will be happy to assist you.


So there are not many people, so I won't mind if you come closer because it's going to be a lot of code and text.  So we'll get started. My name is, so okay, I'll just write, so this is the web framework talk, and my name is Bushtaq. I work for ThoughtWorks. Okay. So this is about using play as a modern web framework and Scala as the programming language for building enterprise web application. This was supposed to be a bigger talk when I submitted, but then I got a 20-minute slot. So I wanted to cover two big topics. One was because we are using a different set of technology, the way we are doing testing, especially dependency injection-related part, is unique, and I wanted to highlight that. And the second part is concurrency, that if you play, it's like Node.js, it's end-to-end non-blocking, but it uses futures and promises to do the concurrency. I don't think I will have much time to talk about concurrency. So let's start with the introduction to the framework and dependency injection and testing. And in the end, maybe we can have a brief demo about the concurrency. So how many of you have heard of play, and Scala? How many of you hate Scala? Okay, very few. So Scala gets a lot of bashing, and I think there are reasons for that, but we like it. There are a lot of cool, powerful things, hopefully I'll be able to show you that. Let's start with the structure of our framework. If you are then Ruby programming, Rails programming, Rails, when you create the base template of the project, it comes with a default, and something similar happens for the play projects as well. So you have app where your app code will reside, and then test will have your test, and then your conf will have your application configurations, routes, and stuff like that. The build is defined in the project, okay, that's something. So when you create a template of a play project, this structure will come out of the box, which is a good beginning, right? So after that, let's look at end-to-end flow. So for example, I am building a grad application for employees, right? Let's take a very simple example that I should be able to, okay, let me run this application. So I should be able to have a form where I create a new employee. I say EMP1, where the email is EMP1 at gmail.com. I don't change the home office and role, but address, I give something, random, code 3, and then I create.  So to begin with, let's see how it works, just the first flow of getting the form, right? So it all starts with the routes file. People who are familiar with Rails would understand what that means. So I define a route that if there is a get request on an endpoint new, then I need to do some action and that action is defined in a controller. So that is a new M controller. What it will do, it will take a form, employee form and call something which is views, right? It looks like a method. So it's a method which takes employee form of type, form of employee, but it's actually a template and what exactly happens is I define my templates like this, which are compiled into the class files, same class files like Java class files, and they become functions which I can call. So very briefly, what is this template? This template takes a form of employee and then will create the UI using helpers. There are a lot of helpers, other frameworks also have that. I will have a helper for all the fields that I want and then for the employee and for its address. I have some defaults and stuff like that. After I submit the form, it needs to go and post this form to a particular endpoint and that endpoint is this, create, create employee. So what happens on that endpoint is a post request on this one and which is now handled with the action in createEmploy. Now you notice that I'm not using a string here to specify that the form is submitted to create employee slash create employee endpoint, rather what I'm using is basically a first class object and a call on that. Curiously, it starts with route. So just to, I think this is very, very unique. So you'll have to pay some attention. So my action, we haven't seen createEmploy yet, but my action is defined in controllers employee controller and which maps to this route. So this is a forward route. This is the endpoint, this is the action. This is what they call reverse route, which is this will point to the string representation of that route, which means that if I change my string representation by making this employee 1, 2, 3, my code will not change. I don't have to change this because this is a representation which compiler has generated and then I'm using it and it will automatically map to the correct one as I change my strings. So which is cool, it will catch a lot of silly things, silly mistakes that you do. So what happens is that I have to refer it to the endpoints in my application itself for redirection, for form submission, for slings. What is the most brute force way? Just a string representation of the endpoint that redirects to this string and then it will rails does something very, very meaningful, it will give a name to a route. So even though you change your string representation and stuff like that, as long as your name doesn't change, you can use that to refer to your route, so it's some guarantee. What can happen is that your name can become slightly away from the meaning of the route. If you change your route completely, then name you will feel like changing the name and again you are back to the same problem. Here what you are using is not the name but the compiler generated reverse route. Which means that when we try play with this application, you may notice that once we change the value of this, okay, let's do a quick thing. So let's go to the employee, let's go to inspect. You see that this endpoint, can you see that? So this is a post method for create employee, right, appropriately created. Now let's do something like changing this route, say 1, 2, 3. But we don't have to do anything and change the form, instead we just have to reload. So the process of reloading will compile the routes, create the appropriate reverse routes and then we'll use it for do the mapping. And now you see what is the reverse route which is created, which is the change string, right? So this is a small thing but which is very, very valuable, okay? So now let's go and see what have we done in the create employee. So in create employee, again we have this form, we bind it from the request. And then that crazy fold name, fold is functional programming idea where if you have to handle with the error cases and the success cases, you can specify it in one go and you do some logic there. Let's ignore that for the moment, right? The main logic is that, okay, if there is an error, you send a bad request. But you send the form back with the errors populated so that user can fix the errors. If there is a success, you make a call to the service and save that information, right, and do the redirect after that. So that is about end to end flow. Let me just quickly see what is next, okay? Let's see another example of this. So now we saw that if I go back, this is employee one and this is the HTML representation of employee one. Now if I want a JSON representation, then again very similar to this is EMP one, right? So if you get a JSON back, and how does it happen? Similar to Rails, Rails has a same end point, same action, can serve both JSON as well as HTML if you handle it that way. So our action, which is the find action here is doing that. It's saying that if there is a HTTP header accepts HTTP headers HTML, then render HTML. If it is JSON, then give me the JSON representation of that particular object. And what we do here is that I set my accept header to application JSON. But if I change, if I do not give this by making an error, then what will happen? I will get HTML back, right? The same action, same end point, but it will give me the HTML back. So this is again a very small, but nice thing. Similarly, you can post. So I can go to an employee and post a JSON. Instead of creating via form, I can post and it will do all the validations. So I say that, okay, post this, it is done. But instead of Pune, I guess my home office is an enumeration. So if I say Pune12, it will tell me invalid JSON, but it will also tell me what is the validation error. It will say that there is a validation error home office in valid value. And you can do something meaningful around that validation, right? And this happens pretty much automatically as we'll see. So let's see what happens in this find. So once I get this find, again going back to the routes, find is mapped to this end point, employee colon name. Colon name will parse the URL and will bind the name part with a variable. That variable will be available to me to be parsed to the controller action, which is fine. Now, this is again type safe and all that. So if you make a mistake here of type, it will catch it. So for example, instead of string, it was a int. This idea may not show it, but it will, if I try to just reload this, it will catch it and it should show me error. Now this is again a cool feature. So I don't use it very often because we drive application via tests most of the time. But when you are exploring, when you are learning, this is very helpful that all the errors, not only compile time errors. But even the runtime errors are very well minimized and presented to you in the browser. So currently I'm seeing a compile time error that int and required string.  So let's fix that, but you can also do something interesting. So for example, here, if you do say 1 by 0, I haven't tried this. But if I just refresh this, it should, that is a runtime error. And it should show me that error also in the context, right? It should say that 1 by 0 and there is a runtime error, which is divided by 0, okay? So this is some, I'm talking about the framework right now. Some cool things here. I told you that that is all async and non-blocking in the end will talk what that means. So ignore that for a moment. What I'm doing is calling a employee service. How do I get employee service here? So I say my controller extends a controller because it's a controller and it mixes in a dependency called employee service component. Now this is in difference to what you will do in a typical dependency injection framework, right, if you're using spring or any DI mechanism. What you will do is, you will do a constructor-based dependency. Employee controller will have all the repositories as, how much time do I have? Just five minutes, okay? So maybe I should just focus on that part and then. So controller will have all the dependencies injected and then the framework will initialize it. Here it's somewhat different. And what happens is, if you notice, let's go to employee service. I'm just going to collapse this service, right? Employee service itself depends on something else, which is employee repo, I'm going to collapse this. And what you see here is that everything is a component and it has two parts. One is a class, which is like a class, but it is a inner class, interestingly. And this is a singleton, but it could also be a factory. This is a mechanism of creating an instance of the class that you control. Both of them are wrapped together in a component, and what you do is directly depend on the component. So I, employee service depends on employee repo, and by the virtue of that, I directly get access to the employee repo, right? Why? Because this is coming from here, right? So if you notice, in this mechanism, you will not use the class constructors to pass the dependencies, the way you will do otherwise. Because class constructors, actually you can argue that are not supposed to pass the dependencies like repositories and services and all that. They are for constructors, like names and some values and the way you will pass arguments to methods, right? And I think this is really short time. I want to drive this point really, really well. So let me try to do something that, if you have a class adder, for example, right, which has a parameter a integer, right? And you have a method add, which takes b, right? Which is an integer, and you have a plus b, right? This is like a class in a method, method which takes one argument and does some addition, right? This is very familiar to us. How do I use this? I say that x is equal to new adder of 10, and then I say x dot add to 30. And this will give me 40. If I do it on the next line, this say to 300, this will give me 310, right? So now what happens is that the context that this is the adder of 10 is kind of encapsulated within the class, right? And that is the simple principles of object orientation that we use. And while calling a method, I just give the part which is remaining, right? Now, this is very nice because you can keep that context hidden, right? And just take whatever is difference. But this gets lost when you start to do the constructor based dependency injection. What happens is, each constructor, right? If it's taking a repo as a dependency, as an alternative, what I can think is that repo is my context that I already know. So for example, instead of this a in here, I can have def a int is equal to 10, right? Or I can keep it abstract or I can give a value. If I do it like this, then I don't have to do it like this. So in a way, now what I have done is kind of fix that dependency A without having my user to pass or the framework to initialize. I have fixed that dependency A within the adder. And you know what, anyone which uses instance of adder will get that dependency out of the box. So the main question is that, how do I swap that dependency? Okay, quickly, let's do that. So I'm going to go to the test of this, so let's go in here. And just let's look at one of the tests. Before I look at the test, let's look at how I'm creating an assembly. So you have this components and, okay, just two minutes, okay, cool.  But at the time of creation, you swap components. So you say that instead of using a real repository, you use a mock repository. And instead of using a real play app, mock the play app, right? So by doing that, you have swapped the entire wiring of this application in this particular instance. And then, now if you test, you will be able to test in a traditional way. So you will have your test data employee, and you will have, using Mockito, you will set the expectation that on the employee repo, if there's a save call with this value, I get a future. And this is my service under test. So I'm now testing my save call by mocking the employee repo. And how is it possible, even without having constructors and dependencies, by swapping it using the with construct. I think we are just towards the end. So the message here is that if you use Kala with play, there are a lot of different opportunities for doing, for structuring your code. It is very powerful. I think I can show you, maybe offline if you're interested, different types of tests which are possible. And then concurrency itself is a big story, which is not specific to Kala, but play, play offers you a lot of easy constructs to build your web services. I'll just stop the question. Quick, quick one. Okay. It's not single, so what do they call it? Mixing composition, right? It's a trade-based mixing composition, which looks similar to multiple inheritance, but it is not. Why? Because all the mixings get linearized at the time of instance creation, not at runtime. This is what I mean by instance creation time. When I define this line, at this line, the whole mixing chain is linearized vertically so that each one has a determined parent, right? But at the time, before the instance is created, your super is open. Super is not like C++ multiple inheritance, C, the super is not bound. It's a bit detailed and a bit complicated. We can take it offline. It's like all of them. That is play-for-all-specification. It's nothing to do with the language. Play is the compiler output and shows it in the browser. Assuming that most of the web developers like to work that way, I don't think that is true. In a big project, I would really want to refresh and see, right? I will write my test because it's so big code-based. I want to just exercise my code. But it's a good, nice way to get started. And sometimes, that depends on your application. Can I take one more or two? Yeah? We will discuss it offline. But I think it's a concept of you made it as a property or even not a property. You made it as a field of your class. And you said that you can inject it, swap it. So that is because you need to see how this is happening. So how do I create my mock? I create my mock by extending. And then I override my web instance creation, right? I just say that this is a mock operative in which the mechanism of instance creation is a mock. When I do the mix-in, it will get wired. So now when the service call save happens, it will call on the mock. So you better set the expectation, otherwise there will be an error. So overriding is the mechanism of doing that. Now, overriding is not the mechanism that you will use for your app code. It's not a good practice to do a implementation in inheritance in a big way. But for tests, this is good because this is the only line. So you can have the whole single file where all the mock library is set up. But this is only for testing that you keep overriding just for the purpose of swaping. Cool? I think we can take the questions. Thank you.


Everybody force and Jake here. We've got a personal box for Jeff tea. It is a 2023 inception baseball hobby Good luck Jeff Lanes Bailey Remember the BET uncut. No, I don't Robert Poisson confident. Good luck Jeff. Come on first milestones right here green rookie Zack netto Miguel Amaya rookie out of through of 150 of 150 Miguel Amaya Terrang Altuve Wander Cassis and a rookie out of Garrett Hill 58 of 125 Garrett Hill number to 125 Thank you for the order Jeff. We will get these out to you