- The Problem with Christianity - 15 Updates
- std::map Object wirthin std::map? - 6 Updates
- Stackful coroutines library - 1 Update
- cmsg cancel <nnqera$cui$2@dont-email.me> - 1 Update
"Rick C. Hodgin" <rick.c.hodgin@gmail.com>: Aug 01 05:17PM -0700 On Monday, August 1, 2016 at 7:17:20 PM UTC-4, Mr Flibble wrote: > https://twitter.com/tehcoder42/status/760245156478058504 > Hypocrites. > /Flibble It's not the religious freedom that's the issue, Leigh. It's the battle that's unseen by the unsaved, which is a spiritual battle for men's souls. Because of sin, people are dead spiritually. They must be born again to enter in to eternal life. The evil spirits of this world use that total blindness to the spirit world to influence our flesh to do things which are evil. Christians do not fight against people. Many still do, but it's only out of ignorance and it's not what the Bible teaches us to do. Our goals are the people, and are enemies are the evil spirits: http://biblehub.com/kjv/ephesians/6.htm 10 Finally, my brethren, be strong in the Lord, and in the power of his might. 11 Put on the whole armour of God, that ye may be able to stand against the wiles of the devil. 12 For we wrestle not against flesh and blood, but against principalities, against powers, against the rulers of the darkness of this world, against spiritual wickedness in high places. 13 Wherefore take unto you the whole armour of God, that ye may be able to withstand in the evil day, and having done all, to stand. 14 Stand therefore, having your loins girt about with truth, and having on the breastplate of righteousness; 15And your feet shod with the preparation of the gospel of peace; 16 Above all, taking the shield of faith, wherewith ye shall be able to quench all the fiery darts of the wicked. 17 And take the helmet of salvation, and the sword of the Spirit, which is the word of God: 18 Praying always with all prayer and supplication in the Spirit, and watching thereunto with all perseverance and supplication for all saints; There is an invisible war at work, which has evidence in the Bible, and evidence in each of our lives: Dr. Steve Lawson "The Invisible War" https://www.youtube.com/watch?v=UDVWvOQvlK8 Christians are not fighting the people. They are fighting the evil spirits which are enticing people who are not born again to bright about things which are designed to deceive people into Hell, by imposing their spiritual nature influence upon the flesh, so as to mislead the flesh. Christians fight against evil spirits, against wickedness in high places, against principalities and dark rulers at work in this world. Our goals are ALWAYS in saving the people by teaching them the truth about Jesus Christ Best regards, Rick C. Hodgin |
Real Troll <real.troll@trolls.com>: Aug 02 12:59AM -0400 > <snipped due to Sharia Law in force> It's a good idea to use namespace like so: > cout << "Hello World"; > return 0; > } This avoids using std::cout << "Your string goes here"; that's enough for today on religion. |
Daniel <danielaparker@gmail.com>: Aug 02 08:46AM -0700 On Saturday, July 30, 2016 at 7:57:47 AM UTC-4, Rick C. Hodgin wrote: > People will see God, see > Heaven, see eternity, and they will want it because it really is glorious. Not everyone agrees with that, though, see Mark Twain's Letter II. http://www.classicreader.com/book/1930/3/ > But, because they were not forgiven by Jesus Christ, their sin debt remains, > and their name was not written down in the Lamb's Book of Life. As such, > they will be cast headlong into the burning lake of fire: Or worse http://www.stereophile.com/cables/804aq/index.html#sQc5Lxl9soccSZKk.97 > My words point you to Jesus Christ and the Bible. What about the older Mesopotamia polytheistic traditions that predate Judaism, from which the later Judaic stories evolved from? Don't you find the older stories more convincing, for example, that the divine assembly's motivation for destroying humans with the flood was because they were making too much noise and keeping the divine patron Enlil from his sleep? And that the deity that created humans, Ea-Enki, interfered with Enlil by advising Atrahasis to build a barge? And that the divine assembly finally came around when they found that with all the humans dead, there were no sacrifices for the divine patrons to eat or drink? > I have to give you: pointing you to Him for salvation, and eternal life. > And it's free for the taking ... all you have to do is come to Him and ask > Him to forgive you, and He will: It seems unconvincing to me that the deities would be so obsessed with humans coming to them and asking for forgiveness. For what reason would they want that? Wouldn't it be more reasonable to think that they created humans for entertainment? Think about yourself, which would you rather watch, an entertaining show? or a procession of people asking you for forgiveness? If the deities created you for entertainment, you should seriously consider doing something interesting, or they might turn you off. Be well, Daniel |
"Rick C. Hodgin" <rick.c.hodgin@gmail.com>: Aug 02 08:50AM -0700 On Tuesday, August 2, 2016 at 11:46:46 AM UTC-4, Daniel wrote: > doing something interesting, or they might turn you off. > Be well, > Daniel You learn the truth by searching for it. Read and study the Bible, and specifically Jesus Christ. It is not just a book written by men with fables and stories. It is God's own writing through the Holy Spirit through men. He Himself will confirm within you the truth of the content in ways your flesh cannot comprehend. There is a war on for your soul. A casual examination is enough to keep the truth hidden from you, but a full-on pursuit is required to find it. All who pursue the truth in this way find it. That's a promise from God Himself. Best regards, Rick C. Hodgin |
scott@slp53.sl.home (Scott Lurndal): Aug 02 04:58PM >You learn the truth by searching for it. You are star stuff - every molecule in your body was created in the heart of a star, at some time in the past. You are the universe made manifest. To crib from R.A.H., thou art god. |
Daniel <danielaparker@gmail.com>: Aug 02 10:54AM -0700 On Tuesday, August 2, 2016 at 12:38:19 AM UTC-4, Real Troll wrote: > It's a good idea to use namespace like so: > > #include <iostream> > > using namespace std; I understand now why this thread was flagged for abuse! Daniel |
Daniel <danielaparker@gmail.com>: Aug 02 11:14AM -0700 On Tuesday, August 2, 2016 at 11:51:12 AM UTC-4, Rick C. Hodgin wrote: > Read and study the Bible, and specifically Jesus Christ. Rick, I understand you like the Judaic stories and monotheistic traditions. I would encourage you, though, to also read the translations of the older Mesopotamia texts, elements of which were incorporated into the later Judaic texts. I think you might like Old Testament Parallels by Victor Harold Matthews. With the polytheist stories, there are aspects of conflict between the deities, which is interesting, but lost in the monotheistic traditions. In the monotheistic traditions the deity tends to develop an unhealthy obsession with humans, perhaps because he doesn't have any other deities to socialize with. Although I suppose you could argue that Christianity brought something like polytheism back, with the notion of the trinity. Best wishes, Daniel |
"Rick C. Hodgin" <rick.c.hodgin@gmail.com>: Aug 02 11:34AM -0700 On Tuesday, August 2, 2016 at 2:15:05 PM UTC-4, Daniel wrote: > I understand you like the Judaic stories and monotheistic traditions. I would encourage you, though, to also read the translations of the older Mesopotamia texts, elements of which were incorporated into the later Judaic texts. I think you might like Old Testament Parallels by Victor Harold Matthews. With the polytheist stories, there are aspects of conflict between the deities, which is interesting, but lost in the monotheistic traditions. In the monotheistic traditions the deity tends to develop an unhealthy obsession with humans, perhaps because he doesn't have any other deities to socialize with. Although I suppose you could argue that Christianity brought something like polytheism back, with the notion of the trinity. > Best wishes, > Daniel There is an enemy of God at work in this world teaching false things. God teaches us true things. We do not automatically turn to God because we are fallen in sin. We believe the enemy's lies ahead of God's truth because God is spirit, and His words are spirit and they are life. The enemy speaks to our flesh, our feelings, our emotions, our flesh-based reason. He has a goal in so doing, and that is to deceive us so we will not come to God, will not come to Jesus Christ, will not come to truth, and therefore be saved. The enemy is trying to keep you from coming to the truth, and to that which is yours for the taking: eternal life in the paradise of God. I teach and point you to the truth. I point you to read and study the Bible, Daniel. God Himself will reveal the truth of it within your soul, if you will pursue it. It won't be me or any other person convincing you, but God Himself will convince you of its truth because it is just that: truth. Best regards, Rick C. Hodgin |
Daniel <danielaparker@gmail.com>: Aug 02 11:52AM -0700 On Tuesday, August 2, 2016 at 2:34:53 PM UTC-4, Rick C. Hodgin wrote: > I point you to read and study the Bible I agree with you that the biblical stories and traditions are important, as is the older body of texts that the biblical traditions drew on, and altered to their needs. > God Himself will reveal the truth of it within your soul, > if you will pursue it ... but God Himself will convince you of its truth > because it is just that: truth. Now I think you're satirizing the Christian way of proselytizing :-) (blessed are they that have not seen and yet have believed, etc.) Best regards, Daniel |
"Rick C. Hodgin" <rick.c.hodgin@gmail.com>: Aug 02 01:05PM -0700 On Tuesday, August 2, 2016 at 2:52:55 PM UTC-4, Daniel wrote: > I agree with you that the biblical stories and traditions are important, > as is the older body of texts that the biblical traditions drew on, and > altered to their needs. The Bible is a fundamental document. It does not draw from other sources. There is, however, an enemy of God who seeks to undermine the knowledge of God by introducing all manner of lies regarding God, His prophets, the recording of history through the Biblical account, but as we go along even our sciences are proving everything the Bible says is true. It's the nature of truth. It speaks with one voice and cannot lie. It is, therefore, no matter how it's examined, or in which way it's scrutinized, always standing upon its own statements and self. Lies, however, can appear to be a particular way, but always crumble under close scrutiny. > > if you will pursue it ... but God Himself will convince you of its truth > > because it is just that: truth. > Now I think you're satirizing the Christian way of proselytizing :-) (blessed are they that have not seen and yet have believed, etc.) Read and study the scriptures, Daniel. Themselves. Not other sources as well. You'll find they are consistent, and they tell a story that is not found in any other document, past, present, or future. God Himself is the author of the Bible, His Holy Spirit at work through men, penning those things He would give to us from the beginning, through until the time of today, and until the end time. Best regards, Rick C. Hodgin |
Mr Flibble <flibbleREMOVETHISBIT@i42.co.uk>: Aug 02 10:27PM +0100 On 02/08/2016 21:05, Rick C. Hodgin wrote: > The Bible is a fundamental document. It does not draw from other sources. > There is, however, an enemy of God who seeks to undermine the knowledge of > God by introducing all manner of lies regarding God, His prophets, the God doesn't exist though. > It's the nature of truth. It speaks with one voice and cannot lie. It is, > therefore, no matter how it's examined, or in which way it's scrutinized, > always standing upon its own statements and self. The Bible is erroneous; we know this thanks to the evidence. > Lies, however, can appear to be a particular way, but always crumble under > close scrutiny. What lies? Satanism seems like a good religion for an atheist. Maybe I shall become a Satanist. Yes. I am now a Satanist. /Flibble |
Daniel <danielaparker@gmail.com>: Aug 02 03:33PM -0700 On Tuesday, August 2, 2016 at 4:05:56 PM UTC-4, Rick C. Hodgin wrote: > Read and study the scriptures, Daniel. Themselves. Not other sources as > well. You'll find they are consistent, and they tell a story that is not > found in any other document, past, present, or future. Rick, I find it illuminating to read your responses because they illustrate the power of the story and the story teller, how great stories affect us and give meaning to our lives. I can understand a little of your awe by remembering the affect on my thinking of the stories I read when I was young, particularly Darkness at Noon by Arthur Koestler, and the burnt out cases by Graham Green. Protests aside, I still think you would find it interesting to read about the relationship between the writings of the Old Testament and other, more ancient, Near Eastern literature. If you come from an evangelical background, you might even experience that as a dangerous pleasure! But I have no doubt you would enjoy other takes on the familiar stories. Kindest regards, Daniel |
"Rick C. Hodgin" <rick.c.hodgin@gmail.com>: Aug 02 03:59PM -0700 On Tuesday, August 2, 2016 at 5:27:45 PM UTC-4, Mr Flibble wrote: > [snip] I thought you added me to your banned list. FWIW, Leigh, I'm very impressed with your neogfx library. It's quite beautiful. Best regards, Rick C. Hodgin |
"Rick C. Hodgin" <rick.c.hodgin@gmail.com>: Aug 02 04:04PM -0700 On Tuesday, August 2, 2016 at 6:33:22 PM UTC-4, Daniel wrote: > you would enjoy other takes on the familiar stories. > Kindest regards, > Daniel You see a similarity between the things of the Bible and what you call prior writings. I'll point you to a conclusion drawn by Napoleon Bonaparte regarding Jesus Christ and Christianity. Bearing in mind that God is one, and that He does not change, and is the same yesterday, today, and forever, you can place your assessment alongside his: http://www.stempublishing.com/magazines/bt/BT17/1889_319_Napoleons_Testimony.html "I know men, and I tell you that Jesus Christ is not a man. Superficial minds see a resemblance between Christ and the founders of empires and the gods of other religions. That resemblance does not exist. There is between Christianity and every other religion the distance of infinity. "We can say to the authors of every other religion, You are neither gods nor the agents of Deity. You are but missionaries of falsehood, moulded from the same clay with the rest of mortals. You are made with all the passions and vices inseparable from them. Your temples and your priests proclaim your origin. Such will be the judgment, the cry of conscience, of whoever examines the gods and the temples of paganism..." There is nothing like the Bible. It is the greatest selling book of all time, and not for nothing. In it, you meet the One true God, God Almighty, and you learn about Him, our life here on Earth, our future, why we're in the state we're in, and the solution to our troubles (His Son). There are no other documents anywhere which convey the history and teachings of the Bible, as a single source from beginning to end, with the central theme of everything being Jesus Christ, and His rescue of mankind from their sin. If you come to that realization, the rest of your life will be changed, because you will be on the pursuit of truth. Best regards, Rick C. Hodgin |
Daniel <danielaparker@gmail.com>: Aug 02 04:24PM -0700 On Tuesday, August 2, 2016 at 7:04:26 PM UTC-4, Rick C. Hodgin wrote: > of the Bible, as a single source from beginning to end, with the central > theme of everything being Jesus Christ, and His rescue of mankind from their > sin. I understand, it's the stories that interest you, not the scholarship that places the texts in their historical context. Much like, I suppose, it's Shakespeare's plays that interest me, not the Oxfordian vs Stratford debate. Best wishes, Daniel |
MikeCopeland <mrc2323@cox.net>: Aug 02 12:27PM -0700 I am trying to implement a std::map object with a structure that contains a std::map object within each object (is that possible?). In the class below I have a number of variables and functions that all seem to work...except the std::map named "eyMap". The function "setYearMax" fails when I execute the code, but other setters and getters work as desired. Is there something fundamentally wrong with this logic, or is here another way to declare and use a map-like structure within this class? Please advise. TIA class DBE_Info { public: void setYoB(int year); void setAge(int age); void setType(char eType); void setYearMax(int eYear); void setRefName(string name); void updPart(void); void normalizeAgeType(void); void computeYoB(void); int getYoB(void); int getAge(void); int getEYear(void); string getRefName(void); char getType(void); int getPart(void); int getYearMax(int eYear); DBE_Info(); // This is the constructor ~DBE_Info(); // This is the destructor private: int dAge, eYear; int birthYear; int yearsPart; char entType; string refName; map<int, int> eyMap; map<int, int>::iterator eyIter; }; // Member functions definitions including constructor DBE_Info::DBE_Info(void) { birthYear = yearsPart = dAge = eYear = 0; entType = 'A'; refName = ""; eyMap.clear(); // is this needed within the constructor? } DBE_Info::~DBE_Info(void) { return; } void DBE_Info::setYoB(int year) { birthYear = year; return; } void DBE_Info::setRefName(string name) { refName = name; return; } string DBE_Info::getRefName(void) { return refName; } int DBE_Info::getEYear(void) { return eYear; } int DBE_Info::getYoB(void) { return birthYear; } void DBE_Info::setType(char eType) { entType = (eType == ' ') ? 'A' : eType; return; } char DBE_Info::getType(void) { return entType; } void DBE_Info::updPart(void) { yearsPart++; return; } int DBE_Info::getPart(void) { return yearsPart; } void DBE_Info::computeYoB(void) { dAge = nAge, eYear = eventYear; if(nAge >= maxAgegroup) { int qq = (cGender == 'M') ? 0 : 1; entType = age2Str[cRCode-'a'][nAge][qq].cEntType; return; } // if if(birthYear > 0) return; int wYear = eventYear; if((wYear >= 0) && (wYear < 100)) wYear +=1900; if(wYear < EPOCH) wYear +=100; birthYear = eventYear-nAge; return; } // computeYoB void DBE_Info::setYearMax(int eYear) { eyMap[eYear] = maxAgegroup; // This FAILS!! return; } // setYearMax int DBE_Info::getYearMax(int eYear) { eyIter = eyMap.find(eYear); if(eyIter != eyMap.end()) return eyIter->second; else { return 89; } } // getYearMax --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus |
Victor Bazarov <v.bazarov@comcast.invalid>: Aug 02 03:40PM -0400 On 8/2/2016 3:27 PM, MikeCopeland wrote: > I am trying to implement a std::map object with a structure that > contains a std::map object within each object (is that possible?). Why wouldn't it be? You can have a vector of deques of sets of strings... No particular limitation on what is contained in what. > the class below I have a number of variables and functions that all seem > to work...except the std::map named "eyMap". The function "setYearMax" > fails when I execute the code, Should we now commence guessing how it "fails", or will you give us some hint > desired. > Is there something fundamentally wrong with this logic, or is here > another way to declare and use a map-like structure within this class? At a first glance there is nothing inherently wrong with it. Try FAQ 5.8 (if you can find it, look for mirrors of C++ FAQ Lite). > }; > // Member functions definitions including constructor > DBE_Info::DBE_Info(void) Don't use this C-ism. If you intend to have nothing between the parentheses, don't put anything there. Ought to be DBE_Info::DBE_Info() > birthYear = yearsPart = dAge = eYear = 0; > entType = 'A'; > refName = ""; Don't use assignments. Use initializer list. > eyMap.clear(); // is this needed within the constructor? Nope. > } > DBE_Info::~DBE_Info(void) { return; } Same note about "void" as above. > void DBE_Info::setYoB(int year) { birthYear = year; return; } > void DBE_Info::setRefName(string name) { refName = name; return; } Don't pass objects by value. Pass them by const ref. > return 89; > } > } // getYearMax Try formatting your code better and add comments explaining your intentions. Your code is not easy to read. V -- I do not respond to top-posted replies, please don't ask |
Paavo Helde <myfirstname@osa.pri.ee>: Aug 02 10:50PM +0300 On 2.08.2016 22:27, MikeCopeland wrote: > I am trying to implement a std::map object with a structure that > contains a std::map object within each object (is that possible?). Yes, that's ok so far as you don't attempt to store a map object inside itself. > char entType; > string refName; > map<int, int> eyMap; That's OK. > map<int, int>::iterator eyIter; Storing an iterator long-term in the class seems not so good idea, why do you think you need this? > entType = 'A'; > refName = ""; > eyMap.clear(); // is this needed within the constructor? No. > void DBE_Info::computeYoB(void) > { > dAge = nAge, eYear = eventYear; Does not compile. > if(nAge >= maxAgegroup) Does not compile: no nAge, no maxAgegroup, etc. > void DBE_Info::setYearMax(int eYear) > { > eyMap[eYear] = maxAgegroup; // This FAILS!! In principle something like this should work fine. This exact code however fails already at compile time because there is no maxAgegroup anywhere. Maybe maxAgegroup should be a parameter here? Are you aware that a function can have multiple parameters? > return 89; > } > } // getYearMax Your code contains a lot of noise (unneeded 'void' and 'return;' thingies). Also it produces a lot of compile errors, which kind of contradicts your claim it failed at run time. Anyway, you did not dare to tell what error did you got. Try to prepare a complete (preferably compilable) example of your code, together with the main() function, demonstrating the problem. See "http://www.graphics.cornell.edu/~martin/docs/c++-faq/how-to-post.html#[5.7]" |
MikeCopeland <mrc2323@cox.net>: Aug 02 01:45PM -0700 > Should we now commence guessing how it "fails", or will you give us some > hint It doesn't update the map object when I walk through the code with the debugger, and there's nothing in the map object when I access the object in later code. In essence, nothing happens in the code that fails. > Don't use this C-ism. If you intend to have nothing between the > parentheses, don't put anything there. Ought to be > DBE_Info::DBE_Info() Point taken. Thanks for that, as well as the oher suggestions. > Try formatting your code better and add comments explaining your > intentions. Your code is not easy to read. I culled my (numerous) comments in favor of posting even more code (that would be more difficult to read). My apologies... --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus |
MikeCopeland <mrc2323@cox.net>: Aug 02 01:45PM -0700 In article <0LOdnU2jDoMdZD3KnZ2dnUU78fnNnZ2d@giganews.com>, myfirstname@osa.pri.ee says... > > map<int, int>::iterator eyIter; > Storing an iterator long-term in the class seems not so good idea, why > do you think you need this? No reason, other than documenting how the map object is being accessed. Using a global (within a loop) would be fine for me. > Does not compile. > > if(nAge >= maxAgegroup) > Does not compile: no nAge, no maxAgegroup, etc. True - because it's a global data item, as are some other variables referenced in the code I posted. (Yes, I know the use of global variables isn't recommended, but it's my bad...) > Maybe maxAgegroup should be a parameter here? Are you aware that a > function can have multiple parameters? Yes. My laziness being exposed... 8<{{ > thingies). Also it produces a lot of compile errors, which kind of > contradicts your claim it failed at run time. Anyway, you did not dare > to tell what error did you got. All true. I knew I was posting a lot here, but I didn't want to show code that (I thought) wasn't pertinent to the issue. My apoligies. --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus |
Mr Flibble <flibbleREMOVETHISBIT@i42.co.uk>: Aug 02 10:23PM +0100 On 02/08/2016 20:40, Victor Bazarov wrote: > On 8/2/2016 3:27 PM, MikeCopeland wrote: >> void DBE_Info::setRefName(string name) { refName = name; return; } > Don't pass objects by value. Pass them by const ref. And miss out on move semantics? /Flibble |
Ramine <ramine@1.1>: Aug 02 11:40AM -0400 Hello... Stackful coroutines library for Delphi and FreePascal, you can port it to C++. Description: This library to do Stackful Coroutines was ported to the 32 bit FreePascal and to 64 bit Delphi compilers and enhanced with a semaphore and a mutex by Amine Moulay Ramdane. Because threads alone are expensive on windows because each thread uses one Megabytes of stack, so you can use this library with my Threadpool engine that scales well to be able to serve a great number of internet connections or TCP/IP socket connections, and of course you can do with it many other things such us simulations etc. Use the threads.pas unit for 32 bit compilers, and use threads64.pas unit for 64 bit compilers. Main features: Very small RAM overhead and provides semaphore and mutex. You can download this library from: https://sites.google.com/site/aminer68/stackful-coroutines-library-for-delphi-and-freepascal Look at the defines.inc include file, you can configure it like this: {$DEFINE XE} for Delphi XE compilers. {$DEFINE FPC} for FreePascal. {$DEFINE Delphi} for Delphi 7 to Delphi 2007 compilers. Language: FPC Pascal v2.2.0+ / Delphi 5+: http://www.freepascal.org/ Operating Systems: Win (x86). Thank you, Amine Moulay Ramdane. |
bleachbot <bleachbot@httrack.com>: Aug 02 05:39PM +0200 |
You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page. To unsubscribe from this group and stop receiving emails from it send an email to comp.lang.c+++unsubscribe@googlegroups.com. |
No comments:
Post a Comment