Friday, January 4, 2019

Digest for comp.lang.c++@googlegroups.com - 25 updates in 4 topics

Mr Flibble <flibbleREMOVETHISBIT@i42.co.uk>: Jan 03 11:58PM

On 03/01/2019 22:47, Rick C. Hodgin wrote:
> I may be wrong in that assessment, but given some of your replies
> over time I hold you in a regard high enough to see the difference
> between Fibble's solution, and the one I propose.
 
I believe my answer to which Ian refers is that you are clueless about
using modern C++ (in this case RAII and scoped-bound resource management)
so you invent all this unnecessary nonsense instead to wallpaper over your
ignorance.
 
/Flibble
 
--
"You won't burn in hell. But be nice anyway." – Ricky Gervais
 
"I see Atheists are fighting and killing each other again, over who
doesn't believe in any God the most. Oh, no..wait.. that never happens." –
Ricky Gervais
 
"Suppose it's all true, and you walk up to the pearly gates, and are
confronted by God," Bryne asked on his show The Meaning of Life. "What
will Stephen Fry say to him, her, or it?"
"I'd say, bone cancer in children? What's that about?" Fry replied.
"How dare you? How dare you create a world to which there is such misery
that is not our fault. It's not right, it's utterly, utterly evil."
"Why should I respect a capricious, mean-minded, stupid God who creates a
world that is so full of injustice and pain. That's what I would say."
fir <profesor.fir@gmail.com>: Jan 03 04:29PM -0800

W dniu piątek, 4 stycznia 2019 00:59:03 UTC+1 użytkownik Mr Flibble napisał:
> using modern C++ (in this case RAII and scoped-bound resource management)
> so you invent all this unnecessary nonsense instead to wallpaper over your
> ignorance.
 
the prbem with dick is lika a problem with heay drunkard in the tavern
 
that sits next to you and began to share imbecile drunkard stories (like on jesus or CrapAlive)
 
as drunkard is just drunkard, to much imbecile to be turned into some sober man
 
what can be done is to kick this imbecile out with your own leg, calling the police, leave the tavern, that sort of things
 
drunkards like that are to stupid when they found a place to parasite and flow out thier imbecilism they will do that.. the problem would be mended if normal people would get so much responsible to ignore this imbeclie to make this idiot
just bored to sit there, in that tavern
 
sadly such half-trolls as some here dont seem to bother and feed this idiot with attention discussing 'programming' with imbecile or 'religion' with an idiot
 
this is sad reality of usenet (sporadic exreme imbeciles mixed with some amount od half-idiots mixed with some dose of people who are relatively more sober but apatic as to troll spamars like hodgin...and imbecilism goes on, consuming 70% of trafic on imbecile hodgin pathological affairs.. get sober poor people)
queequeg@trust.no1 (Queequeg): Jan 04 08:51AM


> dik is rather clasic case of idiot posessed by devil
 
What kind of moron quotes 88 lines of text to add only two?
 
--
https://www.youtube.com/watch?v=9lSzL1DqQn0
David Brown <david.brown@hesbynett.no>: Jan 04 09:57AM +0100

On 03/01/2019 23:47, Rick C. Hodgin wrote:
>>    }
>> }
 
> Okay.  Really?  A non-unpleasant workaround? :-)
 
In practice, you would do this by defining a class template, probably
using lambdas for the code to be called on cleanup. Then the
boilerplate code could be kept separate from the function that uses it.
 
 
>     {
>        // Code here
>     }
 
 
Out of curiosity - in what contexts would you actually /want/ something
like that? I have heard your mantra before - you are just providing the
tools. But do you ever stop and think about whether a tool is useful,
or if people would want it? Would any code be improved when the
programmer can use your combined hammer-screwdriver-torch-spade-brush tool?
 
Having a way to specify cleanup code that is always called, no matter
what path is taken through a function - /that/ is useful. C++ RAII
gives you that. D gives you that.
<https://dlang.org/spec/statement.html#ScopeGuardStatement> Java gives
you it. But C does not (discounting gcc extensions).
 
There are various ways such a feature could be implemented - you should
pick /one/ method that suits the style of CAlive, and use that.
 
The rest of your "in", "out", "enter" stuff is just a matter of
re-arranging the code in a non-sequential way. I am at a loss to see
how it helps anyone - but if you really think it does help, don't you
already have your "casks" to do that job?
 
 
I believe you would be much better off if you tried to think what coding
problems you are trying to solve, and start from those - start from the
problems and challenges, rather than starting from a solution. Much of
your CAlive ideas sound like you have figured out the 42 but you have no
idea what the question is. This leaves the useful ideas (as there are
some) hidden amongst a jumble of new syntax, new operators, new keywords
that are far more than anyone would ever remember or want to use in a
programming language.
fir <profesor.fir@gmail.com>: Jan 04 03:34AM -0800

W dniu piątek, 4 stycznia 2019 09:51:44 UTC+1 użytkownik Queequeg napisał:
> fir <profesor.fir@gmail.com> wrote:
 
> > dik is rather clasic case of idiot posessed by devil
 
> What kind of moron quotes 88 lines of text to add only two?
 
hevy idiots are who ask that question, who show kinda imbecile thinking with no shame
fir <profesor.fir@gmail.com>: Jan 04 03:42AM -0800

W dniu piątek, 4 stycznia 2019 09:57:52 UTC+1 użytkownik David Brown napisał:
> some) hidden amongst a jumble of new syntax, new operators, new keywords
> that are far more than anyone would ever remember or want to use in a
> programming language.
 
note if youre discusing wih spamer you harm this group... even if you discus what is on the edge of something 'on topic'.. the more poroblem here is that various hodgin idiotisms consume 70% of
usenet trafic (in the 2 groups i visit)
and you increase it into 71%
 
soon this groups could change name
"stupid idiot dick and his religious and crap-alive affairs"
fir <profesor.fir@gmail.com>: Jan 04 03:48AM -0800

W dniu piątek, 4 stycznia 2019 12:35:03 UTC+1 użytkownik fir napisał:
 
> > > dik is rather clasic case of idiot posessed by devil
 
> > What kind of moron quotes 88 lines of text to add only two?
 
> hevy idiots are who ask that question, who show kinda imbecile thinking with no shame
 
idiots are those who show kinda imbecile thinking with no shame
 
(youre good example, always imbecile and always mentally reduced ... some people know that ;c)
fir <profesor.fir@gmail.com>: Jan 04 07:09AM -0800

W dniu poniedziałek, 31 grudnia 2018 13:10:26 UTC+1 użytkownik fir napisał:
 
> do
 
> repeat
 
thi idea seem good but the trouble is to chose right words also such that could be generalized for ore loop demands (and i dont get that )
 
note yet btw some idea, related to idea of rightside if:
 
rightside if is just if whose condition is placed rightside instead of leftsile
 
if(i>1) printf("kotek");
 
printf("kotek") if(i>1);
 
is like teh same thiugh changes readabiity (imo may increase it)
 
related ide is nack if, say it work this way that it gioes back and executi its
block from the left again
 
printf("kotek") bif(i>1);
 
that would make loop, its weird
idea to use it but can be considered
 
some adbantage is you could combine ifs and backifs in various ways
 
if(a) {f00() bif(b) }
 
enters if a then loops if b
 
(if(a) f00();) bif(b);
 
loops if b but goes to f00 only if a
 
 
howewer wonder for what that could be suable looks weird, but maybe helps to explore various conditions of conditional loops (and it seems there are numerous)
 
this if is btw same as this back-while
 
other options are yet for examble that backif but this one who not executes its block until bif itself is reached
 
 
{ .... } bif2(x)
 
if not x nothing will be executed
 
also there are possible more wiird construct like
 
if2(x)
{
///.....

// x=0;
}
 
such if testes x at the exit of its block, if x is false then do not executes its block (works like do notking, lol)
(seems like silly idea but its imaginable)
fir <profesor.fir@gmail.com>: Jan 04 07:16AM -0800

W dniu piątek, 4 stycznia 2019 16:09:31 UTC+1 użytkownik fir napisał:
> }
 
> such if testes x at the exit of its block, if x is false then do not executes its block (works like do notking, lol)
> (seems like silly idea but its imaginable)
 
that could be so called quantum if ;c
calculate a lot only to finely calculate you should not execute it at all so deny it ;c (lul)
queequeg@trust.no1 (Queequeg): Jan 04 03:34PM


> (youre good example, always imbecile and always mentally reduced ... some people know that ;c)
 
At least I quote properly, I don't make many misspellings (which isn't
because of language knowledge, as in Polish you produce exactly the same
amount of misspellings and grammar errors as here), and I don't generate
long threads with me talking to myself and replying to my own posts about
my brilliant ideas. I probably make some grammar errors from time to time,
as English isn't my native language, but at least I read what I write.
 
It pains me that, as you have a lead-in in Polish ("... napisał:" instead
of "... wrote:"), some people know that you're Polish and might be
mistaken to think that every Polish programmer is a brainless, clueless,
mentally and emotionally retarded moron, which would obviously be hurtful
to the rest of us.
 
Rick is a religious fanatic, but he's smart enough to write properly and
express himself clearly, while you can't (or are unwilling to) adhere to
the basic principles of a widely and commonly adopted Netiquette.
 
--
https://www.youtube.com/watch?v=9lSzL1DqQn0
"Rick C. Hodgin" <rick.c.hodgin@gmail.com>: Jan 04 07:44AM -0800

On Friday, January 4, 2019 at 10:34:59 AM UTC-5, Queequeg wrote:
> Rick is a religious fanatic...
 
One man's "religious fanatic" is another man's (Jesus') Kingdom
servant.
 
If you see me doing things inappropriate to the teachings of
Christ, living inappropriately in my personal life, teaching a
doctrine contrary to the accurate teachings of the Bible, then
you have cause to consider me to be something other than what
Christ calls us all to be. But if you see me teaching what the
Bible teaches, and living the same, then what you see is not a
"fanatic," but rather someone who has heard the message, taken
it to heart, and is seeking to live it rightly and accurately.
 
--
Rick C. Hodgin
queequeg@trust.no1 (Queequeg): Jan 04 04:07PM

> Bible teaches, and living the same, then what you see is not a
> "fanatic," but rather someone who has heard the message, taken
> it to heart, and is seeking to live it rightly and accurately.
 
You're mixing two separate things here.
 
One is how you live your life -- and that's noone's business, you're
obviously free to believe in any religion you choose and live by the
Bible, as long as it's done with respect to the local law (I'd refrain
from practicing stoning, for example).
 
Another thing is that all other people are free to choose their own paths.
If they come to you and ask you for your teachings, then that's fine, but
imposing one's beliefs on another human being, especially one who didn't
came here for religious teachings, is what I consider a religious
fanatism.
 
There are many religions in the world, including atheism (which I consider
a belief too) and there's no reason, other than feeling of superiority, to
deny people their rights to choose their own belief system.
 
--
https://www.youtube.com/watch?v=9lSzL1DqQn0
fir <profesor.fir@gmail.com>: Jan 04 08:17AM -0800

W dniu piątek, 4 stycznia 2019 16:34:59 UTC+1 użytkownik Queequeg napisał:
 
> Rick is a religious fanatic, but he's smart enough to write properly and
> express himself clearly, while you can't (or are unwilling to) adhere to
> the basic principles of a widely and commonly adopted Netiquette.
 
youre dork and lier not better than hodgin ifot..both takling on politenes and netiquestte and one being offensile imbecile, lier and mass spamer other being agresive imbecile, stalker and even kinda pathology...
 
as to me hovever what you say as my fails used to be a part of a fame people used to build around me - and so to say that fame was one of the more oryginal people creations ive seen and i foud it as quite interesting thing
 
i only worry i lost some of freshnes and power whan im goin old (feeling like my brain being ate by toxoplasmosis or what) and dont do even entry point work in a domain of literature (this work in c was somewhat done, some dose of it)
im heavily doomed
David Brown <david.brown@hesbynett.no>: Jan 04 05:24PM +0100

On 04/01/2019 16:34, Queequeg wrote:
> mistaken to think that every Polish programmer is a brainless, clueless,
> mentally and emotionally retarded moron, which would obviously be hurtful
> to the rest of us.
 
Don't worry. Regulars here are familiar with fir - most either killfile
him, or pretty much ignore him. We will not judge Polish programmers
based on his example - no more than we should judge Christians based on
Rick's rather bizarre theology, or other such generalisations from
single outlying cases.
 
bitrex <user@example.net>: Jan 03 08:17PM -0500

On 01/02/2019 05:20 PM, Mr Flibble wrote:
> Rick C. Hodgin is so full of shit.  Safely ignore.
 
I used to go to church regularly in the US as a kid until I thought
"Gosh, these people are full of shit."
 
In my 20s I went to a university atheist meeting and thought "Gosh,
these people are even worse!"
 
I just take Sundays off, now.
bitrex <user@example.net>: Jan 03 08:24PM -0500

On 01/03/2019 08:17 PM, bitrex wrote:
 
> In my 20s I went to a university atheist meeting and thought "Gosh,
> these people are even worse!"
 
> I just take Sundays off, now.
 
By picking one of those options you're more or less just picking what
form you want to take your Ayn Rand fanboys in, you see.
Mr Flibble <flibbleREMOVETHISBIT@i42.co.uk>: Jan 04 01:30AM

On 04/01/2019 01:24, bitrex wrote:
 
>> I just take Sundays off, now.
 
> By picking one of those options you're more or less just picking what form
> you want to take your Ayn Rand fanboys in, you see.
 
Atheism is neither a religion nor a philosophy. Atheism is simply the lack
of belief in deities.
 
/Flibble
 
--
"You won't burn in hell. But be nice anyway." – Ricky Gervais
 
"I see Atheists are fighting and killing each other again, over who
doesn't believe in any God the most. Oh, no..wait.. that never happens." –
Ricky Gervais
 
"Suppose it's all true, and you walk up to the pearly gates, and are
confronted by God," Bryne asked on his show The Meaning of Life. "What
will Stephen Fry say to him, her, or it?"
"I'd say, bone cancer in children? What's that about?" Fry replied.
"How dare you? How dare you create a world to which there is such misery
that is not our fault. It's not right, it's utterly, utterly evil."
"Why should I respect a capricious, mean-minded, stupid God who creates a
world that is so full of injustice and pain. That's what I would say."
bitrex <user@example.net>: Jan 03 10:17PM -0500

On 01/03/2019 08:30 PM, Mr Flibble wrote:
 
> Atheism is neither a religion nor a philosophy. Atheism is simply the
> lack of belief in deities.
 
> /Flibble
 
Right. It's like God-veganism, where veganism is defined as the lack of
eating animal products and ensuring your friends and family are aware
this is the case
"Rick C. Hodgin" <rick.c.hodgin@gmail.com>: Jan 03 08:13PM -0800

On Thursday, January 3, 2019 at 8:30:51 PM UTC-5, Mr Flibble wrote:
> Atheism is neither a religion nor a philosophy. Atheism is simply the lack
> of belief in deities.
 
Atheism is a belief system, one that states their are no deities.
That position cannot be proven. It is wholly a religion, and one
these "secularists" are trying to force on the world, kicking "religion"
out of all public places not realizing they're following their own
militant religion all the while.
 
It is the enemy (Satan) at work in deceived sinners, doing his will
in them as they are unaware due to sin's effect on people.
 
Someday you will see this, Leigh. Here or there, one day you too
will know the truth.
 
--
Rick C. Hodgin
David Brown <david.brown@hesbynett.no>: Jan 04 10:10AM +0100

On 04/01/2019 04:17, bitrex wrote:
 
> Right. It's like God-veganism, where veganism is defined as the lack of
> eating animal products and ensuring your friends and family are aware
> this is the case
 
No, not at all.
 
Of course, there are some "evangelistic atheists" - people who actively
try to convince others that religion of any sort is a bad idea, or that
their religious beliefs are worthless.
 
But the huge majority of atheists simply don't have any religious
beliefs or any belief in the "supernatural" or "divine". (That does
/not/ mean they think science knows everything, or that everything is
explainable.) They don't care about religion - it is not part of their
lives. They also don't care what other people think or belief -
atheists in general are quite happy for others to have whatever
religious beliefs they want, as long as those people don't force it on
others. If /you/ want to go to church, that's fine - just don't expect
/others/ to go to church for your benefit. Atheists are usually
tolerant of everything except intolerance.
 
The whole thing is more like supporting football teams. Some people -
the religious people - have a favourite football team. Most of these
are only vaguely fans - they might watch an occasional match, or be
happy when their team wins, or have a coffee mug with the team logo.
Others are rabid fans, dressing in their team colours, travelling around
the country to watch them play. And some are violent, actively seeking
out competing fans for fights.
 
Atheists are the people who don't bother watching football, or do so
only from the viewpoint of seeing well-played sport regardless of who is
playing.
Mr Flibble <flibbleREMOVETHISBIT@i42.co.uk>: Jan 04 01:58PM

On 04/01/2019 04:13, Rick C. Hodgin wrote:
> these "secularists" are trying to force on the world, kicking "religion"
> out of all public places not realizing they're following their own
> militant religion all the while.
 
Wrong. Atheism is no more a religion than "off" or "standby" is a TV
channel. Atheism absolutely does NOT make a claim that there are no
deities as that would be a position of knowledge not belief. Atheism is
simply the LACK OF BELIEF in deities. A lack of belief is NOT a belief.
 
 
> It is the enemy (Satan) at work in deceived sinners, doing his will
> in them as they are unaware due to sin's effect on people.
 
Assertion made without evidence. Satan does not exist (prove otherwise).
 
 
> Someday you will see this, Leigh. Here or there, one day you too
> will know the truth.
 
 
See what? The truth? I am correct and you are incorrect so what you claim
to be "true" I claim to be "bullshit".
 
Now fuck off.
 
/Flibble
 
--
"You won't burn in hell. But be nice anyway." – Ricky Gervais
 
"I see Atheists are fighting and killing each other again, over who
doesn't believe in any God the most. Oh, no..wait.. that never happens." –
Ricky Gervais
 
"Suppose it's all true, and you walk up to the pearly gates, and are
confronted by God," Bryne asked on his show The Meaning of Life. "What
will Stephen Fry say to him, her, or it?"
"I'd say, bone cancer in children? What's that about?" Fry replied.
"How dare you? How dare you create a world to which there is such misery
that is not our fault. It's not right, it's utterly, utterly evil."
"Why should I respect a capricious, mean-minded, stupid God who creates a
world that is so full of injustice and pain. That's what I would say."
Siri Cruise <chine.bleu@yahoo.com>: Jan 04 06:49AM -0800

Bowman: My god! It's full of dereference operators!
 
--
:-<> Siri Seal of Disavowal #000-001. Disavowed. Denied. Deleted. @
'I desire mercy, not sacrifice.' /|\
The first law of discordiamism: The more energy This post / \
to make order is nore energy made into entropy. insults Islam. Mohammed
ram@zedat.fu-berlin.de (Stefan Ram): Jan 04 08:52AM

It is already 2019, and I still have not really learned
concepts well! May be someone can help me? In the Python
newsgroup, Chris Angelico wrote:
 
|In other words, you want typing to be as restrictive as it is in C++
|or Java. How would you define the type "JSON-encodable"? You can
|encode a string, an integer, a float, an array of JSON-encodable
|objects, and a mapping from strings to JSON-encodable objects. Can
|you represent that as a class?
 
. I wanted to reply, and show how this is done in C++:
 
#include <string>
#include <functional>
 
template< typename T >
concept bool JSON_encodable = /* "bool" for gcc in 2019 */
::std::is_same< T, ::std::string >::value ||
::std::is_same< T, int >::value ||
::std::is_same< T, double >::value ||
requires( T a ){ a[ 0 ]; JSON_encodable< *a >; }||
requires( T f, ::std::string s ){ JSON_encodable< f( s )>; };
 
. But now the compiler is complaining about the recursions
in the last two lines. How does one write this correctly?
ram@zedat.fu-berlin.de (Stefan Ram): Jan 04 08:54AM

Supersedes: <beginner-20190104093332@ram.dialup.fu-berlin.de>
 
It is already 2019, and I still have not really learned
concepts well! May be someone can help me? In the Python
newsgroup, Chris Angelico wrote:
 
|In other words, you want typing to be as restrictive as it is in C++
|or Java. How would you define the type "JSON-encodable"? You can
|encode a string, an integer, a float, an array of JSON-encodable
|objects, and a mapping from strings to JSON-encodable objects. Can
|you represent that as a class?
 
. I wanted to reply, and show how this is done in C++:
 
#include <string>
#include <functional>
 
template< typename T >
concept bool JSON_encodable = /* "bool" for gcc in 2019 */
::std::is_same< T, ::std::string >::value ||
::std::is_same< T, int >::value ||
::std::is_same< T, double >::value ||
requires( T a ){ a[ 0 ]; JSON_encodable< *a >; }||
requires( T f, ::std::string s ){ JSON_encodable< f( s )>; };
 
. But now the compiler is complaining about the recursions
in the last two lines. How does one write this correctly?
"Fred.Zwarts" <F.Zwarts@KVI.nl>: Jan 04 09:29AM +0100

"Melzzzzz" schreef in bericht news:zMpXD.45105$kk4.42834@fx36.am4...
>> it
>> still continues.
 
>Communism is also religion...
 
As I said, it depends on what you call religion.
In a certain sense any conviction that declares itself superior to others
has the danger of becoming a religion. Atheism is not free of such danger.
Even christianity has been turned into a religion by some people. :-)
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: