Cat Boarding Cat Boarding Housed within the Citys Animal Care Facility the cat boarding service features 28 spacious light and airy cat condominiums Cats are fully catered for in a climate controlled room with large play gym good quality meals at breakfast and dinner and fresh bedding linens and kitty litter trays daily Carers will monitor the cats food intake and toilet habits daily to make sure they are adapting to their new surroundings Single condominiums can be hired or for cat families or those wanting extra play space they can be converted into doubles depending on availability The design of the condominiums ensures that the cats can not see or be seen by the cats either side of them but the open plan layout of the room allows your pet to have full view of the room and their carers friendly face Age All cats must be at least 4 months of age to board at the facility Health status Cats must be up to date with a minimum F5 vaccination This vaccine is very important and protects your cat against such things as feline enteritis feline rhinotracheitis and feline calici virus Upon arrival our staff will require your pets vaccination certificate for sighting Without this certificate we are unable to accept your cat into the facility If you are having difficulties locating your certificate please phone your veterinarian clinic and ask for a copy If boosters are required they should be done two weeks prior to boarding Parasite control Cats must be up to date with worming and flea control upon admission Cats showing signs of flea infestation ear mites or skin allergies may not be accepted to stay Medications If your cat requires medication unfortunately they can not be accepted at our facility Regulations All cats must be microchipped registered and desexed If your cat has not been registered the staff at the facility can do this upon arrival fees apply When All year round Residents are asked to enquire with City staff about the suitability of the service for their cats prior to booking Description Applicable to Condition GST Cost Cat Boarding at Animal Care Facility All Applicants Per Cat Per Day Inc 2500 Animal Care Facility To book and for further information please contact the City 9474 0777 enquiriessouthperthwagovau 123pm Monday to Sunday 121pm Public Holidays closed Good Friday Christmas Day and Boxing Day 199 Thelma Street Como

B I B I O O O O B I I O B I O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O B I O B I I O O O O O O O O B I I O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O


The Importance of Asking Questions I am grateful for but also somewhat intimidated by this assignment to be with you today The mission of Brigham Young University is unique in all the world and I have great admiration and respect for those who really understand this mission and are absolutely committed to it Although all members of The Church of Jesus Christ of Latterday Saints are motivated to learn gain knowledge and increase in wisdom and intelligence those who have the privilege of being associated with this remarkable institution and its sister schools are uniquely positioned and greatly blessed to acquire the attributes and understandings One of the key ways that we learnnot only here at BYU but throughout lifeis by asking questions I am sure that your parents can attest to the fact that you have been asking questionssome of them difficult to answersince your first capacity to utter coherent sentences Your questions have continued as they should and even your professors learn about you by asking you questions It is about the general notion of questions that I would like to focus my comments and counsel today Sir John Lubbock was an English banker statesman naturalist and prolific writer born in 1834 In an essay entitled National Education he made a statement that has particular relevance for us in this special university environment There are three great questions which in life we have over and over again to answer Is it right or wrong Is it true or false Is it beautiful or ugly Our education ought to help us to answer these questions Sir John Lubbock The Use of Life 1894 reprint Freeport New York Books for Libraries Press 1972 1023 Had Sir John Lubbock known perhaps he might have best said Our education at BYU especially ought to help us answer these questions Some seem to believe that faith and questions are antithetical Such could not be further from the truth The Restoration itself was unfolded by the proper and necessary melding of both The Prophet Joseph Smith had both faith and questions Indeed the passage of scripture that led Joseph to the Sacred Grove experience includes both a question and the promise of an answer based on the askers faith I marvel each time I consider the wonderful way in which the Prophet Joseph Smith used proper questions not only to enhance his knowledge but also to enlarge his faith You know of his First Vision experience Those of you who have served as missionaries have recounted it many many times Even after these many years since I was a young missionary I am moved by rereading his history frequently and commend it to you for your regular reexamination In his history Joseph Smith described his family circumstances and the religious environment in which he grew up as a young boy He was exposed to significant religious fervor and difference of opinion among the various denominations all proclaiming to preach the gospel of Jesus Christ and to have the truth Let me pick up his account In the midst of this war of words and tumult of opinions I often said to myself What is to be done Who of all these parties are right or are they all wrong together If any one of them be right which is it and how shall I know it Joseph SmithHistory 110 I would submit to you that these three questions constitute much more than Josephs passive curiosity They allowed him to focus on resolving his own personal dilemma and also prepared him to have that experience so critical to the lives of all of us Let me return to Josephs history While I was laboring under the extreme difficulties caused by the contests of these parties of religionists I was one day reading the Epistle of James first chapter and fifth verse which reads If any of you lack wisdom let him ask of God that giveth to all men liberally and upbraideth not and it shall be given him JSH 111 emphasis in original While the Prophet Joseph Smith did not go on to share the following verses in his formal history we should remember that they are vital components in receiving the answers to the questions that Joseph posed as well the ones we might ask ourselves Let me continue with the narrative of James But let him ask in faith nothing wavering For he that wavereth is like a wave of the sea driven with the wind and tossed For let not that man think that he shall receive any thing of the Lord A double minded man is unstable in all his ways James 168 The operative phrase but let him ask in faith gives a basic secret Faith without wavering is necessary for receiving the answers we desire Although faith is absolutely essential in obtaining answers to the questions we ask through prayer faith in the Lord Jesus Christ and the Fathers plan is also helpful in obtaining the answers to other important questions that we would ask Before we leave the Prophet Joseph Smiths history it is instructive to consider other queries posed by the young prophet during these formative years of the restoration of the gospel One of the fundamental truths about asking proper questions in faith and in the proper way is that the answer received may not be that which was expected or hoped for and sometimes is even an answer to a more important or fundamental question than we had thought to ask Again quoting from the experience of the Prophet Joseph Smith My object in going to inquire of the Lord was to know which of all the sects was right that I might know which to join No sooner therefore did I get possession of myself so as to be able to speak than I asked the Personages who stood above me in the light which of all the sects was right for at this time it had never entered into my heart that all were wrongand which I should join JSH 118 Note the pointed answer that he received I was answered that I must join none of them verse 19 followed by the explanation known to all of us in that same verse After this clarification Joseph reported He again forbade me to join with any of them and many other things did he say unto me which I can not write at this time It seems as though the adversary was aware at a very early period of my life that I was destined to prove a disturber and an annoyer of his kingdom else why should the powers of darkness combine against me Why the opposition and persecution that arose against me almost in my infancy JSH 120 Joseph Smith though very young reflexively understood another important principle related to proper questions I refer to the questions that he asked himself as he tried to understand the answers he had received from the Father and the Son Let us again return to Josephs words It caused me serious reflection then and often has since how very strange it was that an obscure boy of a little over fourteen years of age and one too who was doomed to the necessity of obtaining a scanty maintenance by his daily labor should be thought a character of sufficient importance to attract the attention of the great ones of the most popular sects of the day and in a manner to create in them a spirit of the most bitter persecution and reviling But strange or not so it was and it was often the cause of So it was with me I had actually seen a light and in the midst of that light I saw two Personages and they did in reality speak to me and though I was hated and persecuted for saying that I had seen a vision yet it was true and while they were persecuting me reviling me and speaking all manner of evil against me falsely for so saying I was led to say in my heart Why persecute me for telling the truth I have actually seen a vision and who am I that I can withstand God or JSH 123 25 These are good questions Joseph Smith then mentions something of the challenges that were consistent in his life for the next period of years and again reports an experience derived from his proper questioning On the evening of the abovementioned twentyfirst of September after I had retired to my bed for the night I betook myself to prayer and supplication to Almighty God for forgiveness of all my sins and follies and also for a manifestation to me that I might know of my state and standing before him for I had full confidence in obtaining a divine manifestation as I previously had one JSH 129 We then know of the events with the angel Moroni that occupied that entire night as well as the next day and the tremendous import they hadnot only for Joseph Smith but for all of us with the coming forth of the Book of Mormon Speaking of the translation of the Book of Mormon we recognize that Josephs capacity to ask and his understanding of the importance of proper questions was honed and developed during this period of time Let me draw your attention to his words again We meaning Joseph and Oliver Cowdery still continued the work of translation when in the ensuing month May 1829 we on a certain day went into the woods to pray and inquire of the Lord respecting baptism for the remission of sins that we found mentioned in the translation of the plates While we were thus employed praying and calling upon the Lord a messenger from heaven descended in a cloud of light and having laid his hands upon us he ordained us JSH 168 We know that this is when Joseph Smith and Oliver Cowdery were ordained to the Aaronic Priesthood given instruction as to how baptism would properly be performed and how they should be baptized and also taught and given promises about other great and significant events that were about to transpire in their lives and in the restoration of the gospel of Jesus Christ We could spend much more time than we have allotted to us today in giving other examples where the Prophet Joseph Smith asked the appropriate questions and received the doctrinal insights and understandings that are so precious to us in our day One need only peruse the Doctrine and Covenants and recognize that in fact virtually all of these revelationsboth to individuals and to the Church generallycame in response to carefully reasoned and faithladen supplications to our Father in Heaven But even with the importance of these good questions we must remember as Elder Neal A Maxwell said There are All These Things Shall Give Thee Experience Salt Lake City Deseret Book 1979 9 Do questions that do not have this same general impact or doctrinal significance still have a place in our lives I hope that the answer is an obvious yes Ours is a gospel of questions and our lives in all of their spheres require thoughtful and appropriate inquiry if we are going to progress The question is not whether we should ask questions but rather What are the questions we should be asking My experience in science and medicine leads me to believe that real progress is almost always the result of asking the right questions If important answers to questions are to be forthcoming from our striving then the proper questions need to be asked Even when correct answers or valuable insights are available they do not usually occur when wrong questions or no questions are asked Many scientists can relate experiences when they or others made important discoveries seemingly by serendipity When this was the case they still concur that the welcome knowledge came as the result of carefully crafted inquiry When we discount questions that are silly inappropriate tasteless or nonsensical we still have to acknowledge that all questions that could be construed as proper in at least some settings are not equally salient Some questions have great proximate significance without having any lasting importance such as Where will I find a place to park before my next class or What should we have for lunch or What will I wear to the important party this coming weekend One of the mistakes that may be made by those who pride themselves on their inquiring minds is to focus on small I dont know what kind of shoes the Prophet Joseph Smith wore or even if he wore shoes when he made his trip to the Sacred Grove I suppose that there might be historians or cultural anthropologists or even shoemakers who might be interested in that question There is nothing wrong with asking that question and it might even lead to a publication in a learned journal if the answer is found What is really important however is that Joseph went to the grove and had his sacred experience that literally changed the world Even when we are trying to think clearly and ask careful questions it is easy to become distracted It may be tempting sometimes to look for the question to ask that seems controversial or sensational or perhaps that no one has previously thought to pose Likewise it is sometimes alluring to ask a question or questions that will consciously deflect one from asking the right or important or central question when it is known or suspected that the critical answer might to be too hard or too compelling It is also possible to frame a question that is so oblique If we can accept that questions are not only acceptable but are also essential then we can move to determining what are ultimately the best or most vitally important questions These would be those that deal with central or core truths or issues There is nothing inherently wrong with wanting to know the answer to a question just because it exists but it is almost always more productive to have a clear purpose in mind or problem to solve when asking a question For example some geneticists may be willing to work for a long time on identifying the chemical sequence of a particular gene just because it is there On the other hand that search becomes much more compelling for most when it is known that a particular gene has a significant role in a specific characteristic problem or disease Knowing chemical formulas or structures of compounds or substances will contribute to the total body of knowledge but these facts do not usually help much in fighting cancer if one spends all his time on sequencing genes that have to do with Our scientific colleagues here on campus will tell us that usually they have the most success in advancing or gaining more knowledge by building on the work or the truths that have already been discovered by others Todays geneticists who are unraveling the secrets of the genes and their role in disease do not have to duplicate the foundational genetic experiments of many years ago performed by Mendel and others or the theoretical modeling of DNA structure suggested by Watson and Crick Rather they gratefully consider the work theories and discoveries of those who have gone before then study them We can also benefit from those who have gone before in obtaining answers to our important questions We dont need to have a personal First Vision experience because Joseph Smith already had it and we have his account and his testimony together with the confirming witness of the Holy Ghost and of countless others We dont need to visit with Moroni and learn what he taught Joseph Smith because we have the scriptural record that has been provided None of us attended the Sermon on the Mount in the Holy Land but we didnt need to be there because we We are not afraid of any questions That assertion does not mean that the answers to all of them are available or that those that are are of equal value In fact faith is such a profound principle and so necessary for us to accomplish all that we must do that details of interest or importance will always be kept in the realm of faith Think of the responses of Book of Mormon prophets to either their own questions or questions posed to them Do you remember honest Nephis response when asked the question Knowest thou the condescension of God Not only do we acknowledge to ourselves and to the Lord when we dont know the answers to questions that are posed but we need to admit we dont know to others when appropriate In teaching his son Helaman Alma made this clear as they discussed some important doctrinal points Now these mysteries are not yet fully made known unto me therefore I shall forbear Alma 3711 In our humility about what we dont know however we must never equivocate about the inescapable data that have been made available to each of us as the basis for our faith Of the many examples that we might advance perhaps the most compelling is the Book of Mormon itself Whatever is thought of its origin the fact is that we have it We can lift it we can read it we can test it and examine it If we are honest we must reach definite conclusions about it In brief it is either true or it is the product Whenever you are attempting to find the answer to a question of great importance you should when possible go to the primary source For example you should feel free to read any commentaries about the Book of Mormon that you wish but be sure that you spend adequate time reading the Book of Mormon itself directly and then ask the important question it asks you And when ye shall receive these things I would exhort you that ye would ask God the Eternal Father in the name of Christ if these things are not true and if ye shall ask with a sincere heart with real intent having faith in Christ he will manifest the truth of it unto you by the power of the Holy Ghost And by the power of the Holy Ghost ye may know the truth of all things Moroni 1045 This is a good place to start asking important questions because when you have the answer that the Book of Mormon is true then of necessity some other important things are true For example since the Book of Mormon is true Joseph Smith is then very clearly a prophet of God Because Joseph is a prophet then his other revelations are true Because Joseph saw the Father and Jesus Christ then many of our other questions about their nature and roles are answered The Church of Jesus Christ of Latterday Saints is the true church and Josephs successors in the There will always still be questions we have of course and things we dont understand fullyand even some things we may not like very much We will still have some fundamental things we will need to accept on faith Even some of the details of the Book of the Mormon itself will always be in this realm Though we continue to learn more about why it is increasingly impossible that one such as Joseph Smith could have written this scripture on his own and why the alternative explanations advanced for the books origins are not credible it is highly likely With all of the good questions that might be asked which are the most significant When we are considering proximate things like what to eat or wear the answers for good reason may change often When we ask the questions of ultimate significance like those pertaining to doctrine however the answers are stable and unchanging I refer in this sense to questions more important even than what should be my major or my career The world continues to soften its position on moral laws but the seventh commandment and its associated principles will always stand even if cures for AIDS Amulek was a wonderful exemplary missionary and gospel teacher in his later life but in his younger years this was not so By his own admission early in his life his priorities may not have been where they should have been To his great credit however with some very significant help from Alma he became what God expected him to become see Alma 8 and 10 Coming from the perspective of his own trials and experiences as well as being tutored by the Holy Ghost he was able to understand that the great question in the minds of the people Saul of Tarsus who became the Apostle Paul had his dramatic experience on the road to Damascus Prior to that time Saul although apparently completely committed to the things that he believed may not have asked the proper questions It took a rather dramatic intervention to command his attention Let me refer to the account in Acts 9 And as he journeyed he came near Damascus and suddenly there shined round about him a light from heaven And he fell to the earth and heard a voice saying unto him Saul Saul why persecutest thou me Note again the role of questions in the way Jesus teaches And he said Who art thou Lord And the Lord said I am Jesus whom thou persecutest it is hard for thee to kick against the pricks And he trembling and astonished said Lord what wilt thou have me to do And the Lord said unto him Arise and go into the city and it shall be told thee what thou must do Acts 936 Saul asked two very good questions in response to the inquiry of the Lord In a sense his first questionWho art thou Lordis the same question described by Amulek as the great question Sauls second query was the appropriate response to the Saviorwho did not have to ask Saul directly as He had the Pharisees What think ye of Christ Saul asked What wilt thou have me to do This was the immediate answer of one prepared before the foundation of the world Apparently in an instant an understanding or memory became very clear to Saul of the central truth The fundamental principles of our religion are the testimony of the Apostles and Prophets concerning Jesus Christ that He died was buried and rose again the third day and ascended into heaven and all other things which pertain to our religion are only appendages to it Teachings 121 We know with great appreciation what Paul became and did when his questions were answered We might likewise consider that all of our questionsbeyond the great one and its associated queries surrounding the Savior the plan of salvation and our fundamental responsibilities in the kingdom of Godshould be only appendages to these central truths Some of these secondary or appendage questions might be very important to us for perfectly good reasons but might also not have much significance for others or even the Lord The phrase it mattereth not is found more than once in both the Book of Mormon Although the answer to some of our questions may be it mattereth not sometimes not only the answers but the questions themselves are pivotal and matter a great deal It is vital for scientists to ask the right questions but it is also important for us to do the same in all phases of our lives A great temptation for even faithful Latterday Saints is to occasionally consider the selfposed proposition that since I am unique or find myself in special extenuating circumstances then a particular commandment or standard meaning a previous answer from the Lord does not really apply Asking how I may avoid or get around this or that commandment or principle is the wrong question The much more appropriate question would be something like this I find myself in a difficult situation Why has the Lord or the Brethren or my parents or the university administration given the counsel that has been given in these circumstances Sauls response Lord what wilt thou have me to do is not only the safe question it is the right one As appropriate as this question is however it is not always easy to ask In fact the best answers often come when our challenges are the greatest Think of the tremendous suffering of the Prophet Joseph Smith and his associates in Liberty Jail during the cold miserable winter of 18381839 Try to imagine the pathos of the suffering prophet and his pleas and almost desperate questions to the Lord O God where art thou And where is the pavilion that covereth thy hiding place How long shall thy hand be stayed and thine eye yea thy pure eye behold from the eternal heavens the wrongs of thy people and of thy servants and thine ear be penetrated with their cries Yea O Lord how long shall they suffer these wrongs and unlawful oppressions before thine heart shall be softened toward them and thy bowels be moved with compassion toward them DC 12113 Out of this almost unthinkable misery the Lord comforted Joseph both generally and with great specificity in answering his questions including some that he didnt ask The Lord was kind enough and clear enough as He will be with each of us to acknowledge His understanding of the circumstances see DC 121123 But He then gave this stunning summary answer in part with a key question The Son of Man hath descended below them all Art thou greater than he DC 1228 Or think of the apparent rebuke felt by Peter James and John when they accompanied the Savior to the Garden of Gethsemane as the Atonement was unfolding In the midst of His agony and profound prayer those He might have expected to have the most empathy and to understand best were found asleep Said Jesus Couldest not thou watch one hour Mark 1437 These are the kinds of questions that we might ask ourselves so that the Lord will not need to do so Careful and thoughtful questions both from us and to us are essential parts of life How we frame those we ask and how we respond to those that come to us will in large measure determine the outcomes in our striving and progression to keep our second estate Abraham 326 or in other words achieve happiness in this life and qualify for eternal life in the world to come In Rudyard Kiplings The Elephants Child we find this good advice I keep six honest serving men They taught me all I knew Their names are What and Why and When And How and Where and Who The JustSo Stories 1902 With our unique perspective about the best source of answers to our most important questions let us remind ourselves of the counsel of John And this is the confidence that we have in him that if we ask any thing according to his will he heareth us And if we know that he hear us whatsoever we ask we know that we have the petitions that we desired of him 1 John 51415 May we be thoughtful and wise in framing the questions we ask and as we ask always express appropriate gratitude for the privilege of not only asking questions both great and small but also receiving necessary and wonderful answers from Him who knows all that we really need to know In the name of Jesus Christ amen Cecil O Samuelson was a member of the Presidency of the Seventy of The Church of Jesus Christ of Latterday Saints when this devotional address was given at Brigham Young University on 13 November 2001 Intellectual Reserve Inc All rights reserved RELATED TOPICS Questions RELATED SPEECH The Spirit that Leads to Truth Richard L Evans Dec 1 1953

B I I I I O O O O O O O O O O O O O O O O O O O B I I O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O B I I O O O O O O O O O O O O O O O O O O O O O O O O O O O

the importance of asking questions
brigham young university


Lifestyle A Beginners Guide to Every Type of Cheese Say cheeeeeeese Megan Prendergast Spoon University pinterest It doesnt matter if youre a die hard cheese fan or a cheese newbie after taking your first bite you know that cheese is king So check out this easy breakdown of all of the greatest cheeses on earth Even if you already know this info feed the cheese beast inside you Hard Cheese Photo courtesy of blogdidrikscom Hard cheeses have a lower moisture content than soft cheeses and are packed into moulds that undergo tons of pressure and are are usually aged longer than soft cheese These are some of the most common ones Asiago Photo courtesy of chcheeseshopcom Asiago cheese is a milky yet sharp cheese Its smooth and sometimes crumbly texture makes it the perfect addition to bagels how can you say no melted cheese on a bagel You just cant Check out how to make an asiago cheese bagel here ParmigianoReggiano Photo courtesy of eatandrelishcom Commonly known as Parmesan in the English speaking world this dense granular cheese produces a strong fruity nutty flavor helloheaven Its great grated on pasta dishes such as this white wine sauce pasta dish Pecorino Romano Photo courtesy of commonswikimediaorg Pecorino Romano is a sharper slightly saltier version of Parmesan Because of the hardyet flakey texture of the cheese its perfect for grating And the sharp salty flavor of Pecorino Romano makes it great on top of pasta dishes like this one pan tomato pasta dish Cheddar Photo courtesy of brennansmarketcom Originally manufactured exclusively in England cheddar cheese is the most widely purchased and eaten cheese in the world It has a creamy sharp flavor But the sharpness of it depends on aging time the longer aging period the sharper the cheddar Its the perfect cheese for grilled cheese sandwiches like this epic one Swiss Photo courtesy of deliciousfoodandwinecom Swiss cheese is a beautiful balance between nutty and sweet The larger the holes in a wedge of Swiss cheese the more pronounced the flavor Fun fact the holes are sometimes called eyes so when the cheese has little or no eyes its called blind Swiss cheese is great on burgers especially this Sriracha burger SemiHard Cheese Photo courtesy ofparkfarmcouk Semihard cheeses are very similar to hard cheeses except they arent as hard duh Check out some of the tastiest semihard cheeses Provolone Photo courtesy of goldenagecheesecom Despite the firm and somewhat grainy texture of Provolone it is still a deliciously smooth cheese And its buttery tangy flavor makes it the perfect addition to any sandwich It became very well known in the United States thanks to its appearance on the Philly cheesesteaks If youre wanting some more Provolone check out these bizarre Philly cheesesteak creations Gouda Photo courtesy of goldenagecheesecom This sweet yet nutty cheese offers a rich unique flavor There are a lot of different Gouda varieties including smoked and goats milk Fun fact Gouda is pronounced howda by its Dutch cheesemakers Gouda in particular smoked gouda tastes great with apple chutney on crackers Genius SemiSoft Cheese Photo courtesy of getstuffedcoza Semisoft cheese has a higher moisture content compared to harder cheese and it also tends to have a milder taste Check out some of the best semisoft cheeses below Mozzarella Photo courtesy of walksofitalycom Though originally made from the milk of water buffalo todays mozzarella cheese is made from cows milk And unlike many many cheeses mozzarella is not aged The fresh milky flavor makes it the perfect pizza cheese Not a pizza fan try this awesome grilled Caprese sandwich instead Manchego Photo courtesy of cheesetraderscom This cheese is often recognized by the traditional herringbone basket weave pattern thats pressed on the rind Depending on aging time Manchego cheese can take on a variety of flavors from fruity and tangy to caramel and nutty Eat Manchego cheese with thinly sliced prosciutto dates or apples to bring out its awesome flavor Havarti Photo courtesy of cheesetraderscom Havarti cheese is rich and creamy in flavor with sharpness depending on aging like most cheeses But all Havarti variations are both buttery and sweet Throw some Havarti into this easy edamame salad Muenster Photo courtesy of goldenagecheesecom Muenster is a smooth moist cheese that varies in intensity from mild to sharp And because of its incredible melting properties Muenster is perfect in mac n cheese burgers and grilled cheese sandwiches like this one Soft Cheese Photo courtesy of cheesecom Soft cheese is basically the opposite of hard cheese mild and notsofirm And its perfect to spread on crackers Boooyah Check em out Brie Photo courtesy of goldenagecheesecom This French cheese is one of the most known out there and it has well deserved its nickname The Queen of Cheeses The fruity nutty cheese is a great dessert cheese that is best enjoyed smelly I say the stinkier the better Try this delicious dark chocolate raspberry and brie grilled cheese to get your fix Feta Photo courtesy drosengartencom Though feta is usually made from a combination of goats milk and sheeps milk many stores today sell both goats milk feta and sheeps milk feta Depending on the region where its made the flavor texture and aroma varies from soft creamy and nearly holeless to intense robust and sometimes dry Try this garlic feta braised chicken for dinner tonight you can thank us later Fresh Cheese Photo courtesy of mondodinnercom Fresh cheeses can spoil in a few days without the proper preservatives These cheese are extra soft easily spreadable and quite mild Ricotta Photo courtesy of enwikipediaorg Ricotta is a fresh Italian cheese that is made from the whey leftover from sheep cow goat or buffalo milk during the production of cheese The sweet fluffy cheese has a light consistency Ricotta is the perrrrrfect addition to toast find out how to upgrade your ricotta toast here Cream Cheese Photo courtesy of bbccouk Cream cheese is a soft mildtasting cheese with high fat content Because it is not naturally matured cream cheese is supposed to be enjoyed fresh which sets it apart from other soft cheeses And guess what you can make many different flavors of cream cheese from basil to berry Adulting Megan Prendergast Spoon University

O O O O O B I I I O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O B O O O O B O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O B O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O


Connection Bar Home Connection Connection Bar Connection Bar SSRI offers oneonone advice to support Duke students and faculty in planning and conducting their research SSRIs Connection Bar open 10 am to 6 pm on weekdays during the academic year is staffed by advanced graduate students and postdoctoral scholars with expertise in using both quantitative and qualitative methods and tools Drop by to get assistance with a research project schedule an appointment via email or chat with a consultant to get quick answers to your questions Please note that Bar consultants advise students on how to learn about use and apply research tools students hold responsibility for completing their own projects Chat Monday Friday 1000 am 600 pm Consultation Find a Consultant Request an Appointment Help Topics Connection Bar Consulting SSRI Projects Research Connect Space SSRI Data We help with data resources online data interfaces databases and other issues relevant to research and team projects Connection Bar We offer a help desk staffed by grad students and postdocs live chat online tutorials oneonone consults and more Education We ensure that Duke scholars have access to the tools and training they need to conceive undertake and complete their research Project Development We support scholars with prepostaward services and facilitate collaborative teams with research support and training Durham NC 27708 9196816019 SSRI Gross Hall 2nd Floor 140 Science Drive Durham NC 27708 SSRI Erwin Mill Building 2024 W Main St Durham NC 27705 Social Media Tweets DukeSSRI About People SSRI Snapshot Affiliates Programs Facilities Policies Employment Contact Connection Connection Bar Consulting SSRI Projects Research Connect Space SSRI Education Master in Interdisciplinary Data Science MIDS ModU Bass Connections SSRI Metadata Catalog Data Analytics Evaluation Engagement Workshops Help Topics Social Science Research Lab Program for Advanced Research in the Social Sciences PARISS Data IT Get Manage Analyze Data Research Datasets IT User Services Triangle Research Data Center TRDC Research Data Security Learn about the PRDN PRDN Help Request PRDN User Access Instructions PRDN Technical FAQs Researcher Responsibilities Research Data Security Team Activities Communications Branding GIST Magazine SSRI Brochure Web Development Mailing Lists News Events The Social Science Research Institute at Duke University is a part of Interdisciplinary Studies at Duke University

B I O O B I B I B O O O O O O O O O O O O O O O O B I O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O B I O B O O O O B O O O O O O O O O O O O O O O O O O O B I O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O B O O O O O O O O O O B O O O O O O O O O O O O O O O O B O O O O O O O O B I O B O O O O B O O O O O O B O O O B O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O B O O O O O O O O O O O O O O O O O O O O O O O O


How do I pass tuples elements to a function as arguments in python Ask Question 12 I have a list consisting of tuples I want to pass each tuples elements to a function as arguments mylist a b c d e f myfunc a b myfunc c d myfunc e f How do I do it Best Regards python list arguments tuples improve this question edited May 16 12 at 1924 asked May 16 12 at 1918 alwbtc 8422 39 99 151 I will presume that the example has an error and myfunce d was meant to be myfunce f otherwise you will have to explain the reason the second argument is d there Gareth Latty May 16 12 at 1923 yes sorry i will correct it alwbtc May 16 12 at 1924 2 Answers active oldest 25 This is actually very simple to do in Python simply loop over the list and use the splat operator to unpack the tuple as arguments for the function mylist a b c d e f for args in mylist myfunc args Eg numbers 1 2 3 4 5 6 for args in numbers print args 1 2 3 4 5 6 answered May 16 12 at 1919 Gareth Latty 626k 11 123 150 3 See also itertoolsstarmap DSM May 16 12 at 1925 3 The funcargs syntax is not specific to 3x but print being a function is so the example will give a syntax error on printargs on 2x Andrew Clark May 16 12 at 1926 3 You may think you are using print as a function on 2x because you use parentheses but the parentheses arent actually doing anything if there is only one value For example print1 is the same thing as print 1 You can do the same thing with other statements as well for example return1 is equivalent to return 1 Andrew Clark May 16 12 at 1936 1 On Python 2x you could create a simple function that just prints out each argument for example you could use def _printargs print joinmapstr args Andrew Clark May 16 12 at 1937 2 Another option in Python 2x is to import the print function from the future from __future__ import print_function Gareth Latty May 16 12 at 1938 show 7 more comments 1 To make DSMs comment explicit from itertools import starmap list starmap print 1 2 3 4 5 6 list is used here to force the generator to run out You could instead just iterate like for _ in starmap pass etc 1 2 3 4 5 6 None None None the actual created list print returns None after printing answered May 16 12 at 2006 Karl Knechtel 369k 5 62 92 I would argue this is a bad idea you are constructing a list where you dont actually want one Its ugly and not clear Gareth Latty May 16 12 at 2312 The starmap iterator can be used however it needs to be used In situations where we want to pass each tuples elements to a function as arguments its common to want to do something with the results of the function calls too If not for _ in starmap pass is appropriate Karl Knechtel May 17 12 at 436 It does the job but why do it instead of a normal for loop Its much less clear for anyone reading that code Gareth Latty May 17 12 at 1053 Not the answer youre looking for Browse other questions tagged python list arguments tuples or ask your own question asked 6 years 7 months ago viewed 17216 times active 6 years 7 months ago question feed

O O O O O O O O O O O O B O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O B O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O B O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O B O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O B O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O B O O O O O O O O O O O O O O O O O O O O O O O O O


How to change a console application to a windows form application Ask Question 9 4 I had been developing a console application until our project needed a fancy UI to go with it so we decided to change the project type to windows form application We tried putting the code below in our entry point Application EnableVisualStyles Application SetCompatibleTextRenderingDefault false Application Run new UI It kind of works but the original console window is still there Ive googled out some useful infos like this one but what all they do is essentially killing the window after it has been created not tackling the root of the problem So is there any more elegant way to do this c windows console improve this question asked Jun 18 12 at 453 Kang Min Yoo 407 1 7 17 2 Cant you just copy the code to a new WinForms project Itll also help in maintaining the old one Alex R Jun 18 12 at 456 2 Answers active oldest votes 18 Right click your project in the solution explorer and select properties Then under the Application tab change the Output type of your project from Console Application to Windows Application answered Jun 18 12 at 501 astro boy 1175 1 9 14 0 The project type needs to be set to Winexe depending on the IDE also called Windows application instead of Exe depending on the IDE also called Console application in the project properties answered Jun 18 12 at 501 O R Mapper 149k 7 39 85 Your Answer By clicking Post Your Answer you acknowledge that you have read our updated terms of service and cookie policy and that your continued use of the website is subject to these policies Not the answer youre looking for Browse other questions tagged c windows console or ask your own question asked 6 years 6 months ago viewed 14214 times active 6 years 6 months ago Blog Adios to Winter Bash 2018 46 People Chatting SO Close Vote Reviewers 1 hour ago Antti Haapala PHP 2 hours ago Paul Crovella 1 Make Autohotkey ignore any special characters in string question feed

O O O O B I O O B O O O O O O O O O O O B I O O O O O O O O O O O O O O O O O O O O B O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O B O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O B I O B O O O O O O O O O O O O O O O O O O O O O O O O O O O O O B O O O O O O O O O O B I O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O B O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O


LastFullWeek starting with monday in crystal reports Ask Question 1 When using LastFullWeek i get the last Sunday Saturday week but for my reports i want the last Monday Sunday week Is there any simple way to get this behaviour or do I have to write my own function for it which isnt that hard but unconvenient for such a common date span date crystalreports crystalreportsxi improve this question asked Jul 24 12 at 850 LapplandsCohan 480 2 11 28 5 Answers active oldest 3 custom function LastFullWeekEx Function DateVar date Optional NumberVar firstDayOfWeek crSunday date DayOfWeekdate firstDayOfWeek 6 TO date DayOfWeekdate firstDayOfWeek usage use with nonvolatile DataDate and Sunday TABLEDATE IN LastFullWeekExDataDate use with nonvolatile DataDate and Monday TABLEDATE IN LastFullWeekExDataDate crMonday testing should return True MinimumLastFullWeek MinimumLastFullWeekExDataDate crSunday AND MaximumLastFullWeek MaximumLastFullWeekExDataDate crSunday answered Jul 24 12 at 1317 craig 17k 16 78 141 1 Instead of using DATE in LastFullWeek use the form DATE1 in LastFullWeek answered Apr 7 14 at 2005 Kékkői Károly 11 2 0 The code if no better answer comes along for others who find this question through the search engine DATE currentdate dayofweekcurrentdate crMonday 6 AND DATE currentdate dayofweekcurrentdate crMonday 1 answered Jul 24 12 at 909 LapplandsCohan 480 2 11 28 0 You have no other choice than to use a custom formule as Crystal Reports uses fixed week settings US So a week is Sunday to Saturday and DayOfWeek starts with Sunday valueindex 1 answered Jul 25 12 at 726 user564548 DayOfWeek can simply be made to start the week on other weekdays by using DayOfWeek date firstDayOfWeek I was hoping there was a similar solution to my LastFullWeek problem LapplandsCohan Aug 1 12 at 1227 0 Add 1 to LastFullWeek min and max DateVar Start MinimumLastFullWeek1 Monday DateVar End MaximumLastFullWeek1 Sunday Example Date range to string StringVar LastWeekRange ToTextStart ToTextEnd LastWeekRange Return example MMDDYYYY MMDDYYYY Example Selecting all dates within date range datefield Start and datefield End answered Nov 21 18 at 1717 zachstagrammer 11 2 Not the answer youre looking for Browse other questions tagged date crystalreports crystalreportsxi or ask your own question asked 6 years 5 months ago viewed 7818 times active 1 month ago Blog Adios to Winter Bash 2018 question feed

B O O O O B I O O O O O B O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O B O O O O O B O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O B I O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O B O O O O O O O O O O O B O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O


what is the reason for orgomgCORBACOMM_FAILURE vmcid SUN minor code 208 completed Maybe error in my java corba chat application Ask Question 3 1 I have been trying to run a java corba chat application ref httpsgithubcomehlTalkCat In that when i first run the naming service id nameservbat the error pops orgomgCORBACOMM_FAILURE vmcid SUN minor code 208 completed Maybe Namming Service activé IOR null The error leads to this line of coding orgomgCORBAObject obj orbresolve_initial_references NameService I have tried many java corba chat application all the application ends with this error and this line all the application seams to have this same coding error what is this error how can i resolve it java corba improve this question asked Dec 17 12 at 835 elvisanandkumar 464 3 12 29 2 Answers active oldest votes 2 First start the tnameserver in command prompt and then start your name server in your program This is the command for run tnameserve tnameserv ORBInitialPort 1050 answered Dec 25 12 at 818 Rathakrishnan 1385 2 17 40 1 thanks radha this works fine i am able to get the ior value after starting the tnameserverthank you very much elvisanandkumar Dec 25 12 at 820 Happy to help you you are welcome Rathakrishnan Dec 25 12 at 822 2 If Host Name or Port No mismatches you may get this error The Host Name and Port Number in the arguments of run_oss_clientbatsh file should match with that of Java IDL Name Server Though no run_oss_client script in AS10G R2 You can work out easily after noticed another Report is running on the same machine It is Reuse existing naming service port on the same machine Please try the following Modify ORACLE_HOMEreportsconfrwnetworkconf to let it use other naming service port number on the same server discoveryService namingService name Cos host 127001 port 14021 discoveryService answered Dec 17 12 at 847 Harish Raj 1184 2 12 21 Your Answer By clicking Post Your Answer you acknowledge that you have read our updated terms of service and cookie policy and that your continued use of the website is subject to these policies Not the answer youre looking for Browse other questions tagged java chat corba or ask your own question asked 6 years ago viewed 19507 times active 2 months ago Blog Adios to Winter Bash 2018 question feed

O O O O O O O O O O O O O O O O O B I I O O O O O O O O O O O O B I I O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O B I I O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O


SQL

Pivot

on

dates

column

Ask

Question

Im

fairly

new

to

SQL

but

believe

me

I

have

searched

for

help

before

posting

this

I

have

a

query

which

returns

a

list

of

people

assigned

to

jobs

also

the

jobs

have

varying

length

and

people

who

are

assigned

to

those

jobs

are

working

different

lengths

What

I

am

trying

to

do

is

convert

what

is

a

list

of

similar

records

with

the

only

variable

changing

is

the

date

and

some

how

pivot

this

data

so

that

the

dates

become

column

headings

and

the

rows

represent

a

BOOL

yesno

This

is

the

data

Im

getting

back

currently

JSON

encoded

resultsroleVision

and

what

I

would

like

to

get

back

is

resultsroleVision

Im

sure

this

is

some

kind

of

PIVOT

query

but

I

cant

get

it

to

work

Thanks

sql

date

boolean

pivot

improve

this

question

James

A

Mohler

asked

Dec

at

Simon

Unsworth

Are

you

trying

to

do

this

in

SQL

What

rdbms

are

you

using

Can

you

post

the

data

from

the

table

and

not

in

the

JSON

format

Taryn

Dec

at

StandbyIts

a

bit

of

a

complicated

join

query

Simon

Unsworth

Dec

at

Im

basically

using

php

with

access

to

remote

SQL

server

and

then

formatting

in

JSON

to

display

on

a

iPhone

app

Icant

really

see

an

easy

way

to

dump

the

database

as

its

not

managed

by

me

Simon

Unsworth

Dec

at

Answer

oldest

If

you

are

going

to

be

running

this

query

in

SQL

Server

then

you

can

use

the

PIVOT

function

select

from

select

role

familyname

givenname

skill

level

id

date

Y

flag

from

yourtable

src

pivot

max

flag

for

date

in

piv

See

SQL

Fiddle

with

Demo

Or

you

can

use

an

aggregate

function

and

a

CASE

statement

select

role

familyname

givenname

skill

level

id

max

case

when

date

then

flag

end

max

case

when

date

then

flag

end

max

case

when

date

then

flag

end

max

case

when

date

then

flag

end

from

select

role

familyname

givenname

skill

level

id

date

Y

flag

from

yourtable

src

group

by

role

familyname

givenname

skill

level

id

See

SQL

Fiddle

with

Demo

Both

give

the

result

ROLE

FAMILYNAME

GIVENNAME

SKILL

LEVEL

ID

Vision

Supervisor

Unsworth

Simon

Telegenic

Staff

Y

Y

Y

Y

The

above

works

great

if

you

know

the

values

to

transpose

but

you

if

you

dont

then

you

can

use

dynamic

sql

similar

to

this

DECLARE

cols

AS

NVARCHAR

MAX

query

AS

NVARCHAR

MAX

select

cols

STUFF

SELECT

QUOTENAME

convert

char

date

from

yourtable

group

by

date

order

by

date

desc

FOR

XML

PATH

TYPE

value

NVARCHARMAX

set

query

SELECT

role

familyname

givenname

skill

level

id

cols

from

select

role

familyname

givenname

skill

level

id

date

Y

flag

from

yourtable

x

pivot

maxflag

for

date

in

cols

p

execute

query

See

SQL

Fiddle

with

Demo

answered

Dec

at

Taryn

Thanks

for

your

reply

but

the

problem

was

that

I

cant

hard

code

the

dates

they

are

dynamic

So

I

have

done

two

queries

and

sorted

out

the

results

in

the

iPhone

Simon

Unsworth

Dec

at

SimonUnsworth

see

my

edit

I

added

a

dynamic

sql

version

of

the

query

Taryn

Dec

at

I

have

to

do

something

similar

again

soon

I

shall

try

the

dynamic

SQL

Does

it

work

on

all

servers

or

do

you

need

something

special

inserting

Simon

Unsworth

Dec

at

This

type

of

code

will

work

on

sql

server

Taryn

Dec

at

Not

the

answer

youre

looking

for

Browse

other

questions

tagged

sql

date

boolean

pivot

or

ask

your

own

question

asked

years

ago

viewed

times

active

years

ago

question

feed

O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O B O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O B O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O B I O O O O B O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O B I O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O B I O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O


Add a link to an image in a css style sheet Ask Question 5 I am looking to add a link to an image in acss style sheet so it will nagvigate to the link when the image is pressed The code for the image itself is logo background image url images logo png width 981px height 180px margin left auto margin right auto What is the code to add to allow it to navigate to a hyperlink For example If I wanted it to navigate to httphomecom css hyperlink stylesheet improve this question asked Feb 6 13 at 1338 Marc L 401 4 14 26 check at my edit please Andrea Turri Feb 6 13 at 1421 4 Answers active oldest 13 You can not do that via css the URL you put on the backgroundimage is just for the image Via HTML you have to add the href for your hyperlink in this way a href httphomecom id logo Your logo a With textindent and some other css you can adjust your a element to show just the image and clicking on it you will go to your link EDIT Because Im sure youre lazy to search what textindent do and trying my code you had text on your image Im here again to show you and explain why my solution is much better a href httphomecom id logo Your logo name a This block of HTML is SEO friendly because you have some text inside your link How to style it with css logo background image url images logo png display block margin 0 auto text indent 9999px width 981px height 180px Then if you dont care about SEO good to choose the other answer edited Feb 6 13 at 1421 answered Feb 6 13 at 1342 Andrea Turri 5443 7 31 59 Thanks I have made the changes suggested but the text appears and the hyperlink doesnt appear to be linked to the image Teh site with changes is at towelscoza not my site but one i am trying to fix for a friend and trying to find my way around his code Marc L Feb 6 13 at 1827 Ok found the error he hadnt included the style sheet in the header I had considered the SEO issues but since I was struggling with CSS mainly since the last time I wrote HTML code was close to a decade ago I put it in the background just wanting to get the site working as needed Marc L Feb 6 13 at 1839 1 You dont add links to style sheets They are for describing the style of the page You would change your markup or add JavaScript to navigate when the image is clicked Based only on your style you would have a href homecom id logo a answered Feb 6 13 at 1342 Schleis 248k 3 46 71 add a comment 0 I stumbled upon this old listing pondering this same question My bandaid for this same question was to make my header text into a link I then changed the color and removed text decoration with CSS Now to make the entire header picture a link I expanded the padding of the anchor tag until it reached close to the edge of the header image This worked to my satisfaction and I figured i would share answered Dec 6 15 at 046 Lars 1 add a comment 0 You could do something like a href httphomecom img src imageslogopng alt id logo a in HTML answered Jun 15 16 at 1348 Saryk 204 1 9 add a comment protected by Community Mar 13 18 at 1548 Thank you for your interest in this question Because it has attracted lowquality or spam answers that had to be removed posting an answer now requires 10 reputation on this site the association bonus does not count Would you like to answer one of these unanswered questions instead Not the answer youre looking for Browse other questions tagged css hyperlink stylesheet or ask your own question asked 5 years 11 months ago viewed 144178 times active 1 year 1 month ago Blog Adios to Winter Bash 2018 0 How to hyperlink an image through CSS question feed

O O O O O O O O O O O O O O O O O O O O O O O O O B I I O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O


recursively use scp but excluding some folders Ask Question 40 11 Assume there are some folders with these structures bench1 1cpu p_0 image bench1 1cpu p_0 fl_1 bench1 1cpu p_0 fl_1 bench1 1cpu p_0 fl_1 bench1 1cpu p_0 fl_1 bench1 1cpu p_1 image bench1 1cpu p_1 fl_1 bench1 1cpu p_1 fl_1 bench1 1cpu p_1 fl_1 bench1 1cpu p_1 fl_1 bench1 2cpu p_0 image bench1 2cpu p_0 fl_1 bench1 2cpu p_0 fl_1 bench1 2cpu p_0 fl_1 bench1 2cpu p_0 fl_1 bench1 2cpu p_1 image bench1 2cpu p_1 fl_1 bench1 2cpu p_1 fl_1 bench1 2cpu p_1 fl_1 bench1 2cpu p_1 fl_1 What I want to do is to scp the following folders bench1 1cpu p_0 image bench1 1cpu p_1 image bench1 2cpu p_0 image bench1 2cpu p_1 image As you can see I want to recursively use scp but excluding all folders that name fl_X It seems that scp has not such option UPDATE scp has not such feature Instead I use the following command rsync av exclude fl_ userserver my dir But it doesnt work It only transfers the list of folders something like ls R bash scp improve this question edited Feb 27 13 at 2017 asked Feb 27 13 at 2006 mahmood 7443 30 89 138 2 Look into rsync which can use scp or at least ssh as its transfer mechanism and supports exluding certain subdirectories from its argument chepner Feb 27 13 at 2008 1 Is this OK rsync av exclude fl_ userservermydir mahmood Feb 27 13 at 2010 I think thats the right idea I mentioned this in a comment because Im not confident enough in my rsync skills to provide a definitive answer chepner Feb 27 13 at 2012 It doesnt work Someone please see the updated post mahmood Feb 27 13 at 2018 cant you do scp bench11cpup_image remotehhostpath2remote Good luck shellter Feb 27 13 at 2022 show 2 more comments 5 Answers oldest 38 Although scp supports recursive directory copying with the r option it does not support filtering of the files There are several ways to accomplish your task but I would probably rely on find xargs tar and ssh instead of scp find type d wholename benchimage xargs tar cf ssh userremote tar xf C my dir The rsync solution can be made to work but you are missing some arguments rsync also needs the r switch to recurse into subdirectories Also if you want the same security of scp you need to do the transfer under ssh Something like rsync avr e ssh l user exclude fl_ bench remote my dir edited Feb 28 13 at 2152 answered Feb 27 13 at 2334 jxh 549k 6 71 145 1 So where is filtering you are using tar for archiving mahmood Feb 28 13 at 2035 find is doing the filtering for you in my solution tar packages up the directories you want to copy on the local side and unpackages them on the remote side jxh Feb 28 13 at 2036 jxh How could you do it from remote to local Can you excecute those find xargs and tar commands in the remote machine and grab that data to the local one via ssh jgomo3 Dec 29 16 at 2104 1 jgomo3 Yes you can use ssh and execute tar to package up files on the remote and use tar locally to unpackage them jxh Dec 29 16 at 2125 1 alonsos The find command identifies directories that match the provided pattern and prints them out The xargs command reads the input and makes them arguments to the tar command which then archives all the directories The ssh command connects to the remote machine and executes tar on the remote machine which unpacks the archive into the mydir directory jxh Nov 23 17 at 539 10 Assuming the simplest option installing rsync on the remote host isnt feasible you can use sshfs to mount the remote locally and rsync from the mount directory That way you can use all the options rsync offers for example exclude Something like this should do sshfs userserver sshfsdir rsync recursive exclude whatever sshfsdir path on server where to store Note that the effectiveness of rsync only transferring changes not everything doesnt apply here This is because for that to work rsync must read every files contents to see what has changed However as rsync runs only on one host the whole file must be transferred there by sshfs Excluded files should not be transferred however edited Mar 4 16 at 1931 answered Apr 28 14 at 1416 Marian 3852 2 13 17 worked but the exlude param had to be placed just after rsync command else I faced ERROR destination must be a directory when copying more than 1 file kellogs Mar 2 16 at 1731 And it should be excludeparam instead of exclude param kellogs Mar 2 16 at 1813 1 Bizarre my version of rsync doesnt care about the order I changed it nonetheless to avoid people running into problems Thanks Marian Mar 4 16 at 1933 5 You can export a GLOBIGNORE and use export GLOBIGNORE ignore1ignore2 scp r source remoteurl remoteDir answered May 2 17 at 1122 Nautical 742 7 14 1 or without export GLOBIGNOREignore1ignore2 scp r source remoteurlremoteDir Martin Ždila Nov 30 18 at 1602 1 If you use a pem file to authenticate u can use the following command which will exclude files with something extension rsync Lavz e ssh i fullpathtopem o StrictHostKeyCheckingno o UserKnownHostsFiledevnull exclude something progress path inside local host user host path inside remote host The L means follow links copy files not links Use full path to your pem file and not relative Using sshfs is not recommended since it works slowly Also the combination of find and scp that was presented above is also a bad idea since it will open a ssh session per file which is too expensive answered Aug 17 16 at 404 Ofer Eliassaf 1748 1 8 17 A find and scp probably would need an ssh session per file But its not what my answer is doing jxh Dec 13 18 at 1716 0 You can use extended globbing as in the example below Enable extglob shopt s extglob cp rv excludeme jpg var destination answered Mar 11 16 at 1602 WackGet 1295 2 26 39 Your Answer By clicking Post Your Answer you acknowledge that you have read our updated terms of service and cookie policy and that your continued use of the website is subject to these policies Not the answer youre looking for Browse other questions tagged bash scp or ask your own question asked 5 years 10 months ago viewed 82091 times active 1 year 8 months ago Blog Adios to Winter Bash 2018 41 People Chatting SO Close Vote Reviewers 1 hour ago Shadow SOBotics 1 hour ago Natty 9 Uploading file to AWS from local machine Hot Network Questions Does the subsequent automatic damage from the Witch Bolt spell trigger the necrotic damage from Hex New manager is a jerk is it OK to quit without providing a reason What does it mean when my new HDD reports errors at a time that shouldnt exist Can someone read my EMail if I lose ownership of my domain Theorem 58 Baby Rudin Some questions A Very Illegal Position The Grand Heist Why does a sign difference between space and time lead to time that only flows forward Did new Brazilian president Bolsonaro say hed rather have a dead son than a gay one Is it unreasonable to expect students to read the lecture notes before attending the first class Is ssh with public key authentication no passwords secure enough Can Intel Optane memory compensate for less RAM J H C Whitehead and his pig A word or phrase that implies a struggle or hardship is about to begin Examples of words that are monomorphemic in English but polymorphemic in other languages What did babies eat before the advent of modern blenders How many javelins does an orc have I used olive oil to finish my salad serving utensils now what Why is angle of incidence equal to angle of reflection Under what logic are Republicans able to say that the current American government shutdown is the Democrats fault POSIX shell does lose its special meaning if it is the last character in a word Problem in evaluating logarithm derivatives Is this projected return from Wealthify too low Can I stop previously cast spells from affecting me by moving into a Globe of Invulnerability question feed

O O B O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O B O O O O O O O O O O O O O O O O O O O O O O O O O O O O B O O O O O O O O O O B O O O O O B O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O B O O O O O O O O O O O O O O O O O O O O O O O O O O O B O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O B O O O O O O O O O O O O O O O O O O O B O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O B O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O B O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O B O O O O O O O O O O O O O O O O O O O B O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O B O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O B O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O B O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O


how to detect outliers in the columns of a dataframe in R 2 I have a data frame suppose this names c a a a a a b b b b b c c c c c c c c var1 c 0942999593 0935507266 0973589623 0969415912 095230801 0935507266 0888740961 091750551 0944482672 0945468585 1457579147 0922206277 0941511433 0954724791 0941014244 0941511433 0941511433 150511433 var2 c 0012678088 0014313763 0001138275 0020568206 0012987126 0001217192 003360358 0009758172 0015066932 0037879492 0020471157 0010738162 0010952531 0019377213 0027140572 0031116892 0018530676 890E05 asdataframe cbind names var1 var2 df I would like to convert the outliers to Na in the columns var1 and var2 However I would like to calculate the outliers independently for each category in the column names So the outliers for a in var1 will be the outliers found using just the first 5 rows in var1 the way in which I detect the outlier is all values below or above the quantiles 025 and 075 respectively Is there any easy way to do this in R thank you very much in advance Tina r dataframe outliers improve this question asked Apr 18 13 at 1733 user18441 328 4 12 1 You can use split on your df by variable names and detect your outlayer however you define it Roman Luštrik Apr 18 13 at 1821 1 JuliánUrbano How could it not She asked for quantile values not absolute numeric values Carl Witthoft Apr 18 13 at 1835 CarlWitthoft rightdidnt read that right Julián Urbano Apr 19 13 at 004 1 Answer oldest 5 accepted Heres how you can do it for var1 quantiles tapply var1 names quantile minq sapply names function x quantiles x 25 maxq sapply names function x quantiles x 75 var1 var1 minq var1 maxq NA Repeat the same for var2 or dfvar2 answered Apr 18 13 at 1832 Theodore Lytras 3605 1 13 23 1 What I was going to say but this is cleaner note the handy way minq matches up with the levels Carl Witthoft Apr 18 13 at 1835 Thank you very much user18441 Apr 18 13 at 1908 Your Answer By clicking Post Your Answer you acknowledge that you have read our updated terms of service and cookie policy and that your continued use of the website is subject to these policies Not the answer youre looking for Browse other questions tagged r dataframe outliers or ask your own question

O O O B O O O O O O O O O O O O B I O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O B O O O O O O O O O O O O O O O B O O O O O O O O O O B O O O O O O O B O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O B O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O B O O O O O


How

to

calculate

with

text

boxes

and

skip

empty

text

boxes

Ask

Question

I

have

to

count

with

money

and

I

have

created

some

textboxes

where

the

user

can

input

how

many

euro

coins

he

has

and

so

for

euro

euro

etc

Now

I

want

to

calculate

to

total

but

if

a

textbox

is

empty

you

cant

count

whit

it

I

have

tried

some

ways

but

it

wont

work

because

the

program

will

automatically

start

counting

with

every

input

To

keep

it

short

I

want

to

skip

empty

textboxes

during

calculation

Now

I

have

this

aa

Parse

Text

c

ba

Parse

Text

c

ca

Parse

Text

c

da

Parse

Text

c

ea

Parse

Text

e

fa

Parse

Text

e

ga

Parse

Text

e

ha

Parse

Text

e

ia

Parse

Text

e

ja

Parse

Text

e

ka

Parse

Text

e

total

aa

ba

ca

da

ea

fa

ga

ha

ia

ja

ka

AppendText

rnTotaal

total

ToString

But

that

doesnt

work

because

sometimes

there

are

empty

boxes

I

hope

you

can

give

me

a

simple

solution

c

textbox

improve

this

question

Uwe

Keim

asked

May

at

You

should

use

decimal

for

the

total

Ahmed

KRAIEM

May

at

Answers

oldest

I

think

you

should

use

this

approch

var

list

new

List

Tuple

TextBox

decimal

Tuple

Create

Tuple

Create

Tuple

Create

Tuple

Create

Tuple

Create

Tuple

Create

Tuple

Create

Tuple

Create

Tuple

Create

Tuple

Create

Tuple

Create

decimal

sum

list

Sum

tuple

int

a

int

TryParse

tuple

Text

out

a

return

a

tuple

answered

May

at

Ahmed

KRAIEM

How

do

I

show

the

total

everything

together

with

this

code

May

at

The

total

is

sum

Ahmed

KRAIEM

May

at

If

I

do

I

get

the

error

can

not

convert

from

decimal

to

string

and

if

I

try

I

get

the

error

can

not

convert

from

method

group

to

string

May

at

Ahmed

KRAIEM

May

at

Thanks

just

forgot

the

May

at

Id

change

the

code

so

that

youre

leveraging

collections

rather

than

dealing

with

so

many

similar

variables

individually

Create

a

dictionary

that

maps

each

currency

value

to

the

textbox

that

represents

it

var

mapping

new

Dictionary

decimal

TextBox

Then

you

can

get

out

those

values

Where

the

text

is

a

valid

integer

and

Sum

them

int

n

decimal

total

mapping

Where

pair

int

TryParse

pair

Value

Text

out

n

Sum

pair

pair

Key

int

Parse

pair

Value

Text

edited

May

at

answered

May

at

Servy

You

can

use

intTryParse

which

will

load

your

variable

with

in

case

of

non

numeric

data

including

empty

string

int

a

int

TryParse

Text

out

a

answered

May

at

Zbigniew

You

can

use

but

you

can

combine

that

with

an

extension

method

to

clean

up

your

code

public

static

NumberOrZero

this

string

input

output

if

string

IsNullOrWhiteSpace

input

TryParse

input

out

output

return

output

Then

you

can

do

aa

Text

NumberOrZero

c

ba

Text

NumberOrZero

c

ca

Text

NumberOrZero

c

da

Text

NumberOrZero

c

ea

Text

NumberOrZero

e

fa

Text

NumberOrZero

e

ga

Text

NumberOrZero

e

ha

Text

NumberOrZero

e

ia

Text

NumberOrZero

e

ja

Text

NumberOrZero

e

ka

Text

NumberOrZero

e

edited

May

at

answered

May

at

mattytommo

A

note

Extension

methods

have

to

be

static

and

defined

in

a

nongeneric

static

class

They

are

in

scope

when

the

namespace

they

are

in

is

in

scope

Jeremy

Pridemore

May

at

JeremyPridemore

Ah

yeah

I

knew

that

just

missed

off

the

static

keyword

Thanks

mattytommo

May

at

Not

the

answer

youre

looking

for

Browse

other

questions

tagged

c

textbox

or

ask

your

own

question

asked

years

months

ago

viewed

times

active

year

months

ago

Blog

Adios

to

Winter

Bash

Hot

Network

Questions

question

feed

O O O O O O O O O O O O O O O O O O O O O O O O O B O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O B O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O