- Go to church this Sunday - 5 Updates
- Semantics of comma operator - 7 Updates
- Simple Program from 2.3.2 of Stroustrup 3/e - 2 Updates
- Semantics of comma operator - 6 Updates
- Inverse Transubstantiation (Buns) - 2 Updates
- The Truth - 2 Updates
- C++ Boost Libraries - 1 Update
mcheung63@gmail.com: Jan 14 05:38AM -0800 fuck off |
Daniel <danielaparker@gmail.com>: Jan 14 08:32AM -0800 On Saturday, January 13, 2018 at 4:25:51 PM UTC-5, Rick C. Hodgin wrote: > You see me write about sin and condemnation, Old Betsy strikes again :-) > Go to church and ask people questions. From your earlier answers, it seems that when you went to your church and asked people questions, the feedback you got was that you had to know when to turn if off, when to shut it down. |
"Rick C. Hodgin" <rick.c.hodgin@gmail.com>: Jan 14 01:21PM -0800 On Sunday, January 14, 2018 at 11:32:59 AM UTC-5, Daniel wrote: > From your earlier answers, it seems that when you went to your church and > asked people questions, the feedback you got was that you had to know when > to turn if off, when to shut it down. The feedback I got was that people were scared or unwilling to do what I am doing because they would lose friends. Standing up for God necessarily means isolation and shunning and mocking from those who are unsaved. And applying for real those things taught in the Bible by Jesus and the apostles necessarily means isolation and shunning and mocking by the lukewarm church. Look up to God, Daniel ... and then walk as His very nature commands. -- Rick C. Hodgin |
Melzzzzz <Melzzzzz@zzzzz.com>: Jan 14 09:26PM > things taught in the Bible by Jesus and the apostles necessarily > means isolation and shunning and mocking by the lukewarm church. > Look up to God, Daniel ... and then walk as His very nature commands. Nothing that few depos of Haldol wouldn't cure... -- press any key to continue or any other to quit... |
Daniel <danielaparker@gmail.com>: Jan 14 01:58PM -0800 On Sunday, January 14, 2018 at 4:22:10 PM UTC-5, Rick C. Hodgin wrote: > walk as His very nature commands. Sorry, I come from a tradition where good works matter, and while the belief in supernatural beings has faded away, the idea of good works remains. It seems to me that in your tradition, should the belief in supernatural beings fade away, there would be nothing left. You, too, live in the modern world, and I'm sure you understand why some things are taught in Sunday school (or Friday school) and not in the regular school curriculum. I'm sure you understand why your pastor does not consider you qualified to teach on religious matters. I'm sure you realize that your central argument, that people must perform some cognitive shift required by some divine figure (you choose the Christian Jesus but there's no reason why it could not be any of the other traditional divine figures), I'm sure you realize that that would be unconvincing to a modern audience. But I'm also fairly sure that you would be unable to stop spamming usenet even if you wanted to, the obsession being that strong. It's as if you've been exposed to a severe demonic molestation, but in the modern world, we would call that a mental health problem, and react to it sympathetically, at least most of us, some virulent posters here excepted :-) |
ram@zedat.fu-berlin.de (Stefan Ram): Jan 14 01:31AM >I tried it with both Thunderbird and Sylpheed and they don't do what a >news client should do. But it's still better than a non-standard format >that gets erroneously interpreted as a mail address. msg-id = [CFWS] "<" id-left "@" id-right ">" [CFWS] is defined in RFC 5322 which specifies an Internet standards track protocol. On the Internet one cannot get more standard than this. |
ram@zedat.fu-berlin.de (Stefan Ram): Jan 14 12:33PM >affected a message that seems to have been a response to one of my >messages, where that response was unavailable on Google Groups (due to >Stefan's No-Archive headers). You can read my articles directly from your server: I assume your news server has the host name "news". So, you start by $ telnet news 119 Now you issue the article command followed by the MID, e.g., $ article <news-mid-20180114131816@ram.dialup.fu-berlin.de> . If you should not have the MID, $ group comp.lang.c++ 211 100 1000 1100 comp.lang.c++ Now you see that there are articles from 1000 to 1100. You want to see the head of the last article, $ head 1100 Path: ... $ body 1100 ... Many servers also support, xover 1090-1100 finally, quit . As a small exercise, you can use these commands to write your own newsreader in C++. Under Windows, ... #include <windows.h> #include <winsock.h> ... SOCKET sock; const int BUF_LEN=10000; char File_Buf[ BUF_LEN ]; struct sockaddr_in address; struct hostent * host; test(); if(( sock = socket( AF_INET, SOCK_STREAM, 0 ))== INVALID_SOCKET )wserr(); address.sin_family = AF_INET; address.sin_port = htons( 119 ); ::std::cout << "Connecting to host\n"; if(!( host = gethostbyname( "news" )))wserr(); address.sin_addr.s_addr=*(( unsigned long * )host->h_addr); if( connect( sock,( struct sockaddr * )&address, sizeof( address )))wserr(); strcpy( File_Buf, "article <news-mid-20180114131816@ram.dialup.fu-berlin.de>\r\n" ); send( sock, File_Buf, strlen(File_Buf),0 ); recv( sock, File_Buf, BUF_LEN, 0 ); recv( sock, File_Buf,BUF_LEN, 0 ); ::std::cout << File_Buf << '\n'; ... and so one, you get the idea. |
ram@zedat.fu-berlin.de (Stefan Ram): Jan 14 12:50PM >>messages, where that response was unavailable on Google Groups (due to >>Stefan's No-Archive headers). >$ telnet news 119 Possibly, sometimes, something like authinfo <username> <password> is needed as a first command. |
ram@zedat.fu-berlin.de (Stefan Ram): Jan 14 06:42PM >>For some reason, this is all I see when I view your message: >>On 01/12/2018 11:23 AM, Stefan Ram wrote: >... and from this point forward the topic was hijacked. James opened a /new/ thread, because James' post <aac2ba82-c585-dba0-a49c-28e737417461@verizon.net> had an empty "References" header. His post just happened to have the same "Subject" header as an older thread. |
ram@zedat.fu-berlin.de (Stefan Ram): Jan 14 06:51PM ><aac2ba82-c585-dba0-a49c-28e737417461@verizon.net> >had an empty "References" header. His post just happened >to have the same "Subject" header as an older thread. I can understand Geoff's disappointment because all of us who have posted into this new thread should have chosen a "Subject" header that describes the subject more appropriately. I'm sorry about having posted with the wrong "Subject" header myself. |
ram@zedat.fu-berlin.de (Stefan Ram): Jan 14 09:48PM >Please consider that future readers of your code may not have memorised >them all. When someone is learning Italian, he is supposed to learn several irregular verb forms by heart. One single verb has dozens of forms, and there are dozens of irregular verbs. Not to mention literally thousands of nouns he has to learn. A programmer should have mental capabilities way beyond those of mere Italian learners. How can it be possible that a programmer can't memorize 20 levels of precedence, and shall not even be bothered to look them up? Even ordinary doctors learn hundreds and hundreds of medical terms. Disclaimer: I don't know all precedence levels by heart, I look them up if need be. This is what I can write from my memory, but I'm just guessing, I'm not sure: (x) x[...] x.... x->... x(...) x++ x++ --x ++x -x +x !x ~x x*y x/y x+y x-x x<<y x>>y x&y x|y x^y ??? x&&y x||y x?y:z (does not exactly fit) x = y x += y and so on x,y I'm sure I have made some mistakes and omissions above. As I said, I look up the precedence when I need to know it. |
ram@zedat.fu-berlin.de (Stefan Ram): Jan 14 09:54PM Ok, now correcting, using notes: >x.... >x->... >x(...) Here, a new level should have started by writing an empty line. >x++ >x++ Was intended to read "x--". >+x >!x >~x forgot: &x, *x, sizeof x forgot: (cast)x >x*y >x/y forgot: x%y >x-x >x<<y >x>>y Oops, a major omission: Totally forgot x<y, x>y, x<=y and x>=y here. x==y x!=y >x&y >x|y >x^y ??? ^ is higher than |, I thought about that possibility, but was not sure. |
Jorgen Grahn <grahn+nntp@snipabacken.se>: Jan 14 01:55PM On Fri, 2018-01-12, arnuld wrote: > I have been out of coding for few years and out of C++ for more than few. > I hope few of you remembered me :) . Wanted to get back to the > fundamentals of good C++ practices. Whatever /those/ are ... > It works fine, any advice will be appreciated: > #include <iostream> > bool askSample(); I'd place the implementation of askSample() here, in an anonymous namespace. People probably think differently about it, but I really dislike forward declarations; I'm much happier with having functions (and other things) appear just when they're needed -- even though that means main() as to come last. > bool askSample() > { > std::cout << "Do you want to prceed (y/n) ? " << std::endl; Unrelated to C++, but that kind of prompting is almost always the wrong user interface for a real program. > } > ======================= OUTPUT ============================== > [arnuld@arch64 programs]$ g++ -std=c++17 -pedantic -Wall -Wextra 232.cpp You use the same warning options as me, so I obviously approve ;-) IMHO, since you seem to be on Unix, you should write a Makefile. This would do for your case, I think: CXXFLAGS=-std=c++17 -pedantic -Wall -Wextra a.out: 232.o $(CXX) $(CXXFLAGS) -o $@ $< /Jorgen -- // Jorgen Grahn <grahn@ Oo o. . . \X/ snipabacken.se> O o . |
David Brown <david.brown@hesbynett.no>: Jan 14 10:39PM +0100 On 14/01/18 14:55, Jorgen Grahn wrote: > dislike forward declarations; I'm much happier with having functions > (and other things) appear just when they're needed -- even though that > means main() as to come last. I think the same as you - I prefer to order my code as bottom-up. And it should definitely be in an anonymous namespace or "static" (static is perhaps a bit old-fashioned). |
"Alf P. Steinbach" <alf.p.steinbach+usenet@gmail.com>: Jan 14 02:08AM +0100 On 1/13/2018 8:47 PM, Stefan Ram wrote: > /which/ message it was that you were asking for. But from > the context it seems that this should have been the message > <getc-count-20180112172146@ram.dialup.fu-berlin.de> Here is a standard link that would be clickable if our tools still worked: <url: news://getc-count-20180112172146@ram.dialup.fu-berlin.de> I tried it with both Thunderbird and Sylpheed and they don't do what a news client should do. But it's still better than a non-standard format that gets erroneously interpreted as a mail address. With a bit more work one can find a GMail archive URL, e.g. as discussed here, <url: https://productforums.google.com/forum/#!topic/Apps/UCY9_ek0h3o> Essentially, in Google Groups search for "messageid: MY_MESSAGE_ID" For the above message that kind of search yielded exactly 0 hits. However, a ditto search for ... > that you then replied to in your message > <p3dkbh$ek8$1@dont-email.me> yielded <url: https://groups.google.com/forum/#!msg/comp.lang.c++/MWSZ4KlLu7I/sb8xwHFjAwAJ> which headers show that the message id given earlier was correct. It seems that Google Groups don't archive your posts in comp.lang.c++. Perhaps you're posting with "don't archive this please" header? Checking... Yes, you have imposed your own silly scheme that nobody knows about: > services to mirror the article via the web (HTTP). But Stefan Ram > hereby allows to keep this article within a Usenet archive server > with only NNTP access without any time limitation. Cheers & hth., - Alf |
"Alf P. Steinbach" <alf.p.steinbach+usenet@gmail.com>: Jan 14 06:14AM +0100 On 1/14/2018 2:31 AM, Stefan Ram wrote: > is defined in RFC 5322 which specifies an Internet > standards track protocol. On the Internet one cannot > get more standard than this. Let me quote what you snipped: >> services to mirror the article via the web (HTTP). But Stefan Ram >> hereby allows to keep this article within a Usenet archive server >> with only NNTP access without any time limitation. And no, a message id is not an URL. Still, maybe the URL I tried was incorrect, e.g. the "//", but much better than what you posted that modern clients interpret as an e-mail address. Cheers & hth., - Alf |
David Brown <david.brown@hesbynett.no>: Jan 14 12:32PM +0100 On 13/01/18 19:42, James Kuyper wrote: > quite recently, and apparently (judging by it's position in the display) > as a response to a message of mine. If you know of any such message, > could you either re-post it, or at least e-mail me a copy? This is possibly a Thunderbird bug. I have seen this happening on rare occasions - I think mainly in connection with network problems. My theory on what happens is that Thunderbird has collected the start of the post (subject, reference, poster) but has not bothered to collect the body of the post until you start to read it. However, if there is a problem in the network, server, etc., when you try to read it, it is possible for Thunderbird to mark the post as downloaded and read, even though it did not actually get it. |
James Kuyper <jameskuyper@verizon.net>: Jan 14 06:52AM -0500 On 01/14/2018 06:32 AM, David Brown wrote: > problem in the network, server, etc., when you try to read it, it is > possible for Thunderbird to mark the post as downloaded and read, even > though it did not actually get it. This isn't the first time it's happened to me, and your guess seems consistent with the symptoms I've seen. It is the first time that it's affected a message that seems to have been a response to one of my messages, where that response was unavailable on Google Groups (due to Stefan's No-Archive headers). |
Geoff <geoff@invalid.invalid>: Jan 14 10:05AM -0800 On Fri, 12 Jan 2018 11:44:43 -0500, "James R. Kuyper" >For some reason, this is all I see when I view your message: >On 01/12/2018 11:23 AM, Stefan Ram wrote: ... and from this point forward the topic was hijacked. Thank you very much. |
Vir Campestris <vir.campestris@invalid.invalid>: Jan 14 09:20PM On 13/01/2018 19:06, Bonita Montero wrote: > But in this case you can omit the parenthesis around > "(c = fgetc (in))" becuase the comma-operator has the > lowest precedence. I just looked. There are 17 levels of operator precedence. Please consider that future readers of your code may not have memorised them all. Andy |
mcheung63@gmail.com: Jan 14 05:39AM -0800 rick, fuck off |
"Rick C. Hodgin" <rick.c.hodgin@gmail.com>: Jan 14 05:50AM -0800 > rick, .. off I did not create this thread you replied to. It was written by a deceiver who mocks me, and mocks God, sowing confusion and strife rather than truth and righteousness. He posts using my identity, but he is not me, nor does he speak for me. ----- There is another path, Peter. It is the path of righteousness, and it is from, and leads to, Jesus. -- Rick C. Hodgin |
mcheung63@gmail.com: Jan 14 05:38AM -0800 fuck off |
"Rick C. Hodgin" <rick.c.hodgin@gmail.com>: Jan 14 05:47AM -0800 > .. off I did not write the post you replied to. It was written by a deceiver who mocks me, and mocks God, sowing confusion and strife rather than truth and righteousness. -- Rick C. Hodgin |
Real Troll <real.troll@trolls.com>: Jan 14 01:51AM On 12/01/2018 09:18, Alf P. Steinbach wrote: > critical), and bignums, and matrices, and parser generation, and image > handling, and and... Oh yes, interface to Python. That's cool and very > practically useful, and I sort of regret not having tried it out. The problem with Boost is that their header files are linked like so: # include <boost/config/detail/select_compiler_config.hpp> Now in VS this is not going to compile because it requires linking like this: # include "boost/config/detail/select_compiler_config.hpp" Now if it is one or two files you can change quickly but Boost has nested header files (about 63,000) so it is almost impossible to change all of them. Both VS and Builder C++ (Embarcadero) complains about this type of linking. Why they decided to do this is something I don't know. Perhaps there must be another way to compile these files in your project. |
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