- Machine code!!! \o/ - 6 Updates
- A Preferred or Better Way? - 2 Updates
- A Preferred or Better Way? - 1 Update
- [Ad] Learn D and Help C++ Improve - 1 Update
woodbrian77@gmail.com: Sep 03 07:05PM -0700 On Thursday, September 3, 2015 at 2:51:45 PM UTC-5, Mr Flibble wrote: > >> is at least to those with an ounce of common sense. > > It's the evidence that counts, there is some recently discovered archaeological evidence for the existence of David, not totally conclusive. The consensus seems to be that it is probable a king called David existed sometime in 10th century BCE, and that some of the material in the Books of Samuel is historical rather than all legend. > There is absolutely no evidence whatsoever that David existed, none. If you want proof of G-d's existence, consider the C++ Middleware Writer. As G-d helped David to defeat Goliath, He helps us to build the best software in existence. Brian Ebenezer Enterprises - "America didn't create religious liberty. Religious liberty created America." Bobby Jindal http://webEbenezer.net |
David Brown <david.brown@hesbynett.no>: Sep 04 10:09AM +0200 >>> all legend. >> There is absolutely no evidence whatsoever that David existed, >> none. Proof by repeated assertion does not work when given by Christians - it does not work when given by Mr Flibble either. There /is/ archaeological evidence for the existence of both King David and Jesus. Obviously there is no evidence for anything divine or supernatural being involved, but people who actually /know/ something about history and archaeology are mostly agreed that these people were real, and at least some of the events mentioned in the Bible are likely to have a basis in fact. The evidence for King David is not strong - it is certainly not "proof", and for most of what is written in the OT, there are no other sources. But there is enough to say it is likely that the character in the OT is not entirely fictional even though many of the details and the deeds attributed to him may be fictional, mistaken, or wrongly attributed. <https://en.wikipedia.org/wiki/David#Archaeology> For most of the "historical" events described in the Bible, OT and NT, there is very little evidence for or against the Biblical story. But "very little" is significantly different from "absolutely none". Regarding the historical Jesus, there is a little more information: <https://en.wikipedia.org/wiki/Historical_Jesus> (The Wikipedia articles are, of course, not an authority of some kind - but they give a good starting point for further research.) Most Biblical historians agree that Jesus existed, with a few events in his life having at least some evidence - but there is good reason to suspect that he was not particularly important, but merely one of the great many preachers, teachers, "holy people", and "prophets" that were common in that time and area. > If you want proof of G-d's existence, consider the C++ Middleware > Writer. As G-d helped David to defeat Goliath, He helps us to build > the best software in existence. That is not "proof", it is faith or belief. If you are happy to believe in God, that's fine - but please do not call it "proof". > Brian Ebenezer Enterprises - "America didn't create religious > liberty. Religious liberty created America." Bobby Jindal The story of the "pilgrim fathers" on the Mayflower escaping religious persecution in England, and forming America based on freedom and religious liberty, is part of the USA's own creation myth written shortly after American independence. In fact, the pilgrim fathers were running /from/ religious freedom - back home in England, they had been doing their best to persecute other Christian groups and force their particular brand onto everyone else. They set out for America to find a place where they could control and enforce their own version of Christianity on everyone else. (You can either accept that argument, or deny it, or do some research on the subject - I don't have any references at hand, and don't have the time to find them myself, so I will not blame anyone for disagreeing with me here. But perhaps it will make you think a little about what you think you know.) |
Mr Flibble <flibbleREMOVETHISBIT@i42.co.uk>: Sep 04 03:11PM +0100 On 04/09/2015 09:09, David Brown wrote: > about history and archaeology are mostly agreed that these people were > real, and at least some of the events mentioned in the Bible are likely > to have a basis in fact. There is absolutely no evidence whatsoever that King David or Jesus Christ existed, none. > suspect that he was not particularly important, but merely one of the > great many preachers, teachers, "holy people", and "prophets" that were > common in that time and area. Some guy that the fictional Jesus Christ may have been partially based on and the fictional Jesus Christ ARE NOT THE SAME INDIVIDUAL. Jesus Christ never existed. /Flibble |
Gareth Owen <gwowen@gmail.com>: Sep 04 08:25PM +0100 > Yeah. Sometimes Flibble makes sense but other times he > rants and yells. He just needs to tweak his meds. He'll be fine. |
"Öö Tiib" <ootiib@hot.ee>: Sep 04 03:46PM -0700 On Friday, 4 September 2015 17:11:29 UTC+3, Mr Flibble wrote: > > to have a basis in fact. > There is absolutely no evidence whatsoever that King David or Jesus > Christ existed, none. Just reject everything with bald assertion that purely negates opponent's point. > Some guy that the fictional Jesus Christ may have been partially based > on and the fictional Jesus Christ ARE NOT THE SAME INDIVIDUAL. Jesus > Christ never existed. Just restate your original bald assertion again. Write nothing else. Turing test: false. Consciousness level of author detected: 0, because algorithm matches exactly with what I predicted. |
Daniel <danielaparker@gmail.com>: Sep 04 04:24PM -0700 On Friday, September 4, 2015 at 6:46:47 PM UTC-4, Öö Tiib wrote: > Just restate your original bald assertion again. Write nothing else. > Turing test: false. Consciousness level of author detected: 0, because > algorithm matches exactly with what I predicted. The problem is that Mr Flibble is outside his field, and isn't familiar with the scholarly work, but still feels it necessary to make utterances. Had he read a bit about the minimalist position on the authenticity of the texts, he would have been able to engage with David in an interesting way, but he obviously hasn't. In much the same way, and just to bring this back on topic, it's rarely interesting to read something critical about C++ from somebody who doesn't know anything about C++. Daniel |
MikeCopeland <mrc2323@cox.net>: Sep 04 03:14PM -0700 I am processing a file that's "named" .csv, but which isn't. It's a file with values that are separated by tab characters...but there's a lot of data that isn't data at all. For example, every character is followed by a '\0' character, and there are non-ASCII characters at the "front" of the data stream record. I want to process this file as though it's a comma-separated file, and I'm cleaning it up with the following code (which works - the data line goes from 1289 characters to 389 characters): size_t ttt = 0; while(ttt < str.length()) // clean up line; replace Tabs w/commas { if((str.at(ttt) > 127) || (str.at(ttt) < 1)) str.erase(ttt, 1); else { if(str.at(ttt) == '\t') str.at(ttt++) = ','; else ttt++; } } // while There may be other, better ways, to do this. I assume that using an iterator is one, but I don't know quite how to do so (when to advance the iterator, etc.). Are there other, better, ways? If so, can someone show me how? TIA --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus |
Paavo Helde <myfirstname@osa.pri.ee>: Sep 04 05:41PM -0500 MikeCopeland <mrc2323@cox.net> wrote in news:MPG.3053c5acd6186f3f9896b0 > lot of data that isn't data at all. For example, every character is > followed by a '\0' character, and there are non-ASCII characters at the > "front" of the data stream record. If (almost) every second byte is zero and there is a BOM marker in the beginning then this most probably means this file is in Unicode UCS-2 or UTF-16 encoding. On Windows you should use std::wstream and std::wstring for processing it. Your current approach is corrupting any non-ASCII characters in the file, apart of other problems. If you have your file read into a std::wstring, you can translate tabs to commas by a single line: std::replace(str.begin(), str.end(), L'\t', L','); hth Paavo |
ram@zedat.fu-berlin.de (Stefan Ram): Sep 04 10:38PM MikeCopeland <mrc2323@cox.net> writes: It's a >lot of data that isn't data at all. For example, every character is >followed by a '\0' character, and there are non-ASCII characters at the >"front" of the data stream record. The file might be encoded in UTF-16 or UCS-2 with a BOM or some such. >iterator is one, but I don't know quite how to do so (when to advance >the iterator, etc.). Are there other, better, ways? If so, can someone >show me how? TIA The front-door solution is to get the documentation, where it is being specified which grammar is used for the file. If it is a text file, the encoding should be given by the documentation of the file. In this case, one can write a function to get the next Unicode code point from the file, and then one still needs to know the grammar to properly parse the file. »CSV« is not a specification, because, as you have observed, that term is too vague. There is a whole family of languages named »CSV«. ::std::string::at for me somehow a kind of abstraction for parsing that feels unusual to me. When I am scanning or parsing a text, I am thinking in terms of »get_next_code_point«, »peek_next_code_point«, »get_next_token« and so. I can only write a parser, once I have a grammar. I do not have a grammar for your file. So I can't write a parser for it. For example, here is a parser for a simple type of arithmetic expressions: #include <iostream> #include <ostream> #include <sstream> template< typename scanner >struct parser { scanner s; parser( char const * s ): s{ s } {} int numeral(){ return s.get() - '0'; } int prefix(){ int sign = 1; while( '-' == s.peek() ){ s.get(); sign *= -1; } return sign * numeral(); } int start(){ int result = prefix(); while( '-' == s.get() )result -= prefix(); return result; }}; int main() { using p = ::parser< ::std::stringstream >; auto test = []( char const * s ){ ::std::cout << p{ s }.start() << '\n'; }; test( "4-2" ); test( "-4-2" ); test( "4--2" ); test( "-4--2" ); test( "-4---2" ); test( "--4--2" ); test( "4-2-1" ); test( "4-2--1" ); } |
DeMarcus <demarcus_at_hotmail_com@tellus.orb>: Sep 04 01:25PM +0200 Hi! One of our best C++ programmers Andrei Alexandrescu, recently decided to leave his work and focus completely on the programming language D. http://forum.dlang.org/thread/xsqrdgwnzehdmfmvcznn@forum.dlang.org Today his book The D Programming Language is on sale at informit.com for a bargain. http://www.informit.com/deals/ If you missed the sale you can still find it here. http://www.informit.com/store/d-programming-language-9780132654463 It's good to have Alexandrescu back on programming language research since he contributes a lot, not only to D but also C++. Here's another book he has written that is a great start for anyone that wants to become more handy with templates. http://www.informit.com/store/modern-c-plus-plus-design-generic-programming-and-design-9780201704310 Best regards, Daniel PS. No I'm not paid to write this, it's just that Alexandrescu's books, talks, and work in general have contributed a lot to the programming community and to me personally. :) |
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