Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Very good, SergIo, I'm impressed.

74 views
Skip to first unread message

Jeff-Relf.Me

unread,
Apr 10, 2019, 11:02:31 PM4/10/19
to
SergIo replied ( to ChrisV ):
> > [ unreadable source code, "Jeff-Relf.Me/X.HTM" ]
>
> yes, reminds me of FORTH

Very good, I'm impressed. Can you cite an example ?
I want to know how you came to that conclusion.

Was it this line:

PageUp ? ( --PP < BB ? PP = EE, iFolder = Cnt, rFolders = 0 : ( iFolder--, rFolders++ ) ) : PageDwn ? ( ++PP > EE ? PP = BB, rFolders = Cnt, iFolder = 0 : ( iFolder++, !--rFolders ) ) : 0 ;

What languages have you programmed in ?

Melzzzzz

unread,
Apr 10, 2019, 11:09:24 PM4/10/19
to
Garbage...
>
> What languages have you programmed in ?


--
press any key to continue or any other to quit...

Jeff-Relf.Me

unread,
Apr 11, 2019, 12:47:40 AM4/11/19
to
Branimir Maksimovic replied ( to me, "Jeff-Relf.Me/X.HTM" ):
> > PageUp ? ( --PP < BB ? PP = EE, iFolder = Cnt, rFolders = 0 : ( iFolder--, rFolders++ ) ) : PageDwn ? ( ++PP > EE ? PP = BB, rFolders = Cnt, iFolder = 0 : ( iFolder++, !--rFolders ) ) : 0 ;
>
> Garbage...

Not every hard-to-read document is garbage.
If you know what my code does, you can rewrite it any way you want,
without looking at my source code.

BB points to the first folder ( in a list of folders, each folder contains images ).
PP points to the current folder.
EE points to the last folder ( BB, PP and EE may point to the same folder ).

iFolder is a ( zero based ) index into the list of folders (BB).
rFolders is the number of folders remaining ( to the right of iFolder, EE - PP ).

PageUp take you to the previous folder, wrapping around to the last folder.
PageUp take you to the next folder, wrapping around to the first folder.

Jeff-Relf.Me

unread,
Apr 11, 2019, 1:11:08 AM4/11/19
to
Oops, it should be:

PageUp ? ( --PP < BB ? PP = EE : 0 ) : PageDwn ? ++PP > EE ? PP = BB : 0 : 0, iFolder = PP - BB, rFolders = EE - PP ;

Often, posting code leads to an improvement.

SergIo

unread,
Apr 11, 2019, 1:51:54 AM4/11/19
to
early ones;
CP/M DOS 1.25h, ever use PIP ?
fortran, (8 byte precision, ugh, ugly) fortran 88, pascal (the $25 one)
use linux mint now on several computers (formally windows)
have two servers in garage, one is very linux low power you can install
in a wall, the other is a full up Centos HP prolient G6 w 64Gbyte RAM, 4
xeon collecting dust-too loud if above 75F. even have raspberry pi 3
b+ is good, but you have to heat sink the processer.

Jeff-Relf.Me

unread,
Apr 11, 2019, 2:23:48 AM4/11/19
to
SergIo replied ( to me ):
> > What languages have you programmed in ?
>
> Early ones: CP/M DOS 1.25h. Ever use PIP ?

No, but PDP-11, on the Terak 8510 PC, was great.

> fortran, ( 8 byte precision, ugh, ugly ) fortran 88,

IBM ? did you wear a suit and tie ?

> Pascal (the $25 one)

In college, Turbo Pascal/C, from Philippe Kahn ( a Paris immigrant ),
in Silicon Valley, was fantastic.

Professionally, I used ETH Zurich's Modula-2 ( Niklaus Wirth ), 1981.
Microsoft and Apple "borrowed" a lot from those guys.

What country are you from ?

> I have two Linux servers in my garage,

Collecting dust ?

You aren't running any servers ?

David Brown

unread,
Apr 11, 2019, 2:47:25 AM4/11/19
to
Hi,

I don't know what newsgroups this thread started in or how it fits in
those groups, but this is not a thread for comp.lang.c++. Please remove
c.l.c++ from any other followups in this thread.

If any of you want to discuss C++, then of course you are welcome here -
but without cross-posts to such a selection of random other groups.

Pabst Blue Ribbon

unread,
Apr 11, 2019, 7:40:29 AM4/11/19
to
That line of code above is C++.


chrisv

unread,
Apr 11, 2019, 8:01:35 AM4/11/19
to
Melzzzzz wrote:

> Jeff-Relf.Me @. <Jeff-Relf.Me@> wrote:
>>
>> Was it this line:
>>
>> PageUp ? ( --PP < BB ? PP = EE, iFolder = Cnt, rFolders = 0 : ( iFolder--, rFolders++ ) ) : PageDwn ? ( ++PP > EE ? PP = BB, rFolders = Cnt, iFolder = 0 : ( iFolder++, !--rFolders ) ) : 0 ;
>
> Garbage...

I wonder if "Steve Carroll" would agree. He claims to be "unable to
access" some things that I think should be obvious, even to
non-programmers (note that he *has* done *some* programming, in his
life). "Steve" would rather concede to being a fscking idiot, than
admit that one of his shitty pals *lied* to attack me.

--
"ALL non-idiots support the use of testing over compile-time warnings
to determine if the code functions correctly. You're one of the few
idiots who thinks otherwise." - Dumfsck, lying shamelessly

David Brown

unread,
Apr 11, 2019, 8:31:44 AM4/11/19
to
That was not code, it was line noise that happened to be legal C++
syntax. The thread - at least the bit that has been cross-posted to
c.l.c++ - has nothing to do with C++. I can't guess about the rest of
the thread, or how it is conceivable for something to be relevant to
physics, newsreader software and OS advocacy, but this out-of-context
branch of a thread is not relevant to c.l.c++.

If someone wants to discuss C++ code in the style of that jumble, that's
fine - that could well be a thread in c.l.c++. But then it is not about
physics or OS advocacy or newsreaders. My objection is to the
cross-posting - a line like the one quoted does not make the thread
suitable for cross-posting here any more than the fact we are writing in
English means it should be cross-posted to alt.english.usage.

Jeff-Relf.Me

unread,
Apr 11, 2019, 9:39:09 AM4/11/19
to
It must be hard for you ( David Brown ) to laugh
with that stick so far up your ass.

There are no moderators here, this ain't no Wikipedia article;
if that's what you want, to go there, not here.

Although C++ can do more, it still C,
a very low-level language, close to the metal.

I don't need to define a class, in its own .H file, to do:

PageUp ? ( --PP < BB ? PP = EE : 0 ) : PageDwn ? ++PP > EE ? PP = BB : 0 : 0 ;
iFolder = PP - BB, rFolders = EE - PP ; // Jeff-Relf.Me/X.HTM

// PageUp takes you to the previous folder, wrapping around to the last folder.
// PageUp takes you to the next folder, wrapping around to the first folder.
//
// BB points to the first folder ( in a list of folders, containing images ).
// PP points to the current folder.
// EE points to the last folder ( BB, PP and EE may point to the same folder ).
//
// iFolder is a ( zero based ) index into BB, the list of folders.
// rFolders is the number of folders remaining ( to the right of iFolder, EE - PP ).

David Brown

unread,
Apr 11, 2019, 10:10:55 AM4/11/19
to
On 11/04/2019 15:38, Jeff-Relf.Me@. wrote:
> It must be hard for you ( David Brown ) to laugh
> with that stick so far up your ass.
>

Do you hear that whooshing noise? It's the sound of my point flying
/way/ over your head.

No one cares what you think C++ is, or if you think it is the same think
as C. If you want to write drivel instead of code, that's up to you.
No one cares if you call it C++ or C.

If you want to discuss C++ code, start a thread in c.l.c++. If you want
to discuss C code, start a thread in c.l.c. Either would be great -
we'd love to see the posts.

But /please/ don't bring unrelated threads from unrelated newsgroups
into groups that still have some semblance of topicality.

There are no moderators here - this is a polite request.

SergIo

unread,
Apr 11, 2019, 10:20:34 AM4/11/19
to
On 4/11/2019 1:23 AM, Jeff-Relf.Me@. wrote:
> SergIo replied ( to me ):
>>> What languages have you programmed in ?
>>
>> Early ones: CP/M DOS 1.25h. Ever use PIP ?
>
> No, but PDP-11, on the Terak 8510 PC, was great.

PDP-11s did an interface to one, they are boat ancors now!


>
>> fortran, ( 8 byte precision, ugh, ugly ) fortran 88,
>
> IBM ? did you wear a suit and tie ?

na, collage most took fortran,

remember in the 90's were IBM support still had to ware dark blue suits

>
>> Pascal (the $25 one)
>
> In college, Turbo Pascal/C, from Philippe Kahn ( a Paris immigrant ),
> in Silicon Valley, was fantastic.

that was amazing when it came out, really brought prices for SW down

>
> Professionally, I used ETH Zurich's Modula-2 ( Niklaus Wirth ), 1981.
> Microsoft and Apple "borrowed" a lot from those guys.
>
> What country are you from ?

various

>
>> I have two Linux servers in my garage,
>
> Collecting dust ?
>
> You aren't running any servers ?
>

running a small one, a $250 a local guy is selling, HW from china, he
rolled a version of linux into it, looks like debian,

the other is HP and is too loud, and has old Centos 6 on it but I saw
on youtube where you can just replace the fans with quiet ones, but you
have to take the lid off the unit for good. got it for $160 from a guy
moving his surver farm to west coast

Jeff-Relf.Me

unread,
Apr 11, 2019, 10:23:26 AM4/11/19
to
Comp.Lang.C++ covers C and assembly language, straight to the metal.
We don't need a separate newsgroup for C.

I presented you ( David Brown ) with some C++ code,
and you can't show me how a class would improve it.

> There are no moderators here - this is a polite request.

This ain't no Wikipedia article;
if that's what you're looking for, and you can bend at all,
then you're in the wrong fucking place.

While you're at it, learn to laugh.
You're too uptight.

> No one cares what you think C++ is

You don't know what C++ is because you're too damn retarded.
Everyone here hates you, I'm quite sure.
You're less than useless.

Jeff-Relf.Me

unread,
Apr 11, 2019, 10:45:58 AM4/11/19
to
What does your server do, SergIo ?

You're not a fan of (sterile) Europe, I take it.

Melzzzzz

unread,
Apr 11, 2019, 10:59:45 AM4/11/19
to
On 2019-04-11, Jeff-Relf.Me @. <Jeff-Relf.Me@> wrote:
> Branimir Maksimovic replied ( to me, "Jeff-Relf.Me/X.HTM" ):
>> > PageUp ? ( --PP < BB ? PP = EE, iFolder = Cnt, rFolders = 0 : ( iFolder--, rFolders++ ) ) : PageDwn ? ( ++PP > EE ? PP = BB, rFolders = Cnt, iFolder = 0 : ( iFolder++, !--rFolders ) ) : 0 ;
>>
>> Garbage...
>
> Not every hard-to-read document is garbage.

This one is garbage...

Tim Rentsch

unread,
Apr 11, 2019, 11:57:16 AM4/11/19
to
David Brown <david...@hesbynett.no> writes:

> On 11/04/2019 05:02, Jeff-Relf.Me@. wrote:
>
>> SergIo replied ( to ChrisV ):
>>
>>>> [ unreadable source code, "Jeff-Relf.Me/X.HTM" ]
>>>
>>> yes, reminds me of FORTH
>>
>> Very good, I'm impressed. Can you cite an example ?
>> I want to know how you came to that conclusion.
>>
>> Was it this line:
>>
>> PageUp ? ( --PP < BB ? PP = EE, iFolder = Cnt, rFolders = 0 : (
>> iFolder--, rFolders++ ) ) : PageDwn ? ( ++PP > EE ? PP = BB, rFolders
>> = Cnt, iFolder = 0 : ( iFolder++, !--rFolders ) ) : 0 ;
>>
>> What languages have you programmed in ?
>
> I don't know what newsgroups this thread started in or how it fits
> in those groups, but this is not a thread for comp.lang.c++.
> Please remove c.l.c++ from any other followups in this thread.
>
> If any of you want to discuss C++, then of course you are welcome
> here - but without cross-posts to such a selection of random other
> groups.

Given your posting history, you are hardly someone to be faulting
people for disregarding topicality rules.

Besides which, look at the referenced web page. The line in
question comes from x.cpp, which is indeed a C++ source file.

David Brown

unread,
Apr 11, 2019, 1:36:38 PM4/11/19
to
On 11/04/2019 16:23, Jeff-Relf.Me@. wrote:
> Comp.Lang.C++ covers C and assembly language, straight to the metal.

No, it does not. It covers C++. There is comp.lang.c for C. For some
threads, it makes sense to cross-post to c.l.c and c.l.c++, but pure C
stuff goes in c.l.c. And there are assembly groups for discussing
assembly. For "bare metal" programming, comp.arch.embedded is often a
better place than a language-specific group, since most C++ programming
is not bare metal.

> We don't need a separate newsgroup for C.

There /is/ a separate newsgroup for C. C and C++ have always had
separate newsgroups, because they are different languages.

>
> I presented you ( David Brown ) with some C++ code,
> and you can't show me how a class would improve it.

What makes you think I couldn't show how to improve it? What makes you
think it has to have a class to be improved? What makes you think I
said it had to be non-C C++ code to be improved?

The main steps to improving that monstrosity are to fire the guy that
wrote it, hire a competent programmer and write sensible code from the
specifications. The choice of language - C, C++, or anything else - is
a minor issue.

>
>> There are no moderators here - this is a polite request.
>
> This ain't no Wikipedia article;
> if that's what you're looking for, and you can bend at all,
> then you're in the wrong fucking place.
>

You appear to be a very muddled individual. I know what Usenet groups
are - do you?

> While you're at it, learn to laugh.
> You're too uptight.
>
>> No one cares what you think C++ is
>
> You don't know what C++ is because you're too damn retarded.
> Everyone here hates you, I'm quite sure.
> You're less than useless.
>

Ah, what a clear and logical argument.

Let me try one last time. There is the group comp.lang.c++ for
discussing C++ topics. There is comp.lang.c for discussing C. There is
comp.os.linux.advocacy that is apparently for spouting all sorts of
nonsense, just as long as you are rude to each other. I have no idea
whether sci.physics and news.software.readers are true to their original
purposes, but if so then your thread here is out of place.

Mr Flibble

unread,
Apr 11, 2019, 3:59:20 PM4/11/19
to
You have trolled here before with that shit.

It is really simple: if you used meaningful variable names you wouldn't
need comments explaining what the variables mean, fucktard.

/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."

Bart

unread,
Apr 11, 2019, 4:15:43 PM4/11/19
to
On 11/04/2019 20:59, Mr Flibble wrote:

>>"      PageUp ? ( --PP < BB ? PP = EE : 0 ) : PageDwn ? ++PP > EE ? PP =
>> BB : 0 : 0 ;
>>      iFolder = PP - BB, rFolders = EE - PP ; "

> It is really simple: if you used meaningful variable names you wouldn't
> need comments explaining what the variables mean, fucktard.


Well BB=begin, EE=end I guess, but the way it's written doesn't help.
Laid out properly you can still see some problems:

if (PageUp) {
if (--PP < BB) {
PP=EE;
} else {
0;
}
} else if (Pagedown) {
if (++PP > EE) {
PP=BB;
} else {
0;
}
} else {
0:
}

iFolder = PP - BB;
rFolders = EE-PP;


What's with all those zeros? It's because ?: needs a second branch.
Written in a saner manner with proper names (I've removed the middle
else as not really needed):

if (PageUp) {
if (--PP < FirstFolder) {
PP = LastFolder;
}
}

if (Pagedown) {
if (++PP > LastFolder) {
PP = FirstFolder;
}
}

iFolder = PP - FirstFolder;
rFolders = LastFolder - PP;

then it's just some very ordinary scrolling logic (that wraps
apparently). Compare with the original:

PageUp ? ( --PP < BB ? PP = EE : 0 ) : PageDwn ? ++PP > EE ? PP = BB :
0 : 0 ; iFolder = PP - BB, rFolders = EE - PP ;

which tries its hardest to avoid writing normal statements.

red floyd

unread,
Apr 11, 2019, 7:19:37 PM4/11/19
to
Thanks, Bart, for the work. Had anyone where I work submitted the
original code as part of a code review, he would have been seriously
slapped down. It fails two of the "X-ability" tests. Readability and
Maintainablilty.

And the sad part is, the compiler probably generated identical code
for both versions.

SergIo

unread,
Apr 12, 2019, 1:27:24 PM4/12/19
to
C++ is still not a B-


ALGOL
LISP
Fortran II

SNOBOL

BASIC

RPG (ugh)

FORTRAN 66

Prolog

Scheme

SMALL
Turbo Pascal
Objective C

Fortran 2018 (yes..)

https://en.wikipedia.org/wiki/Timeline_of_programming_languages

Sir Gaygory's Owner's Owner 🐶笛

unread,
May 12, 2019, 5:37:02 PM5/12/19
to
On Wed, 10 Apr 2019 22:10:58 -0700 (Seattle), LO AND BEHOLD;
Jeff-Relf.Me @. determined that the following was of great importance
and subsequently decided to freely share it with us in
<Jeff-R...@Apr.10--10.10pm.Seattle.2019>:

✡✡✡✡✡✡✡✡✡✡✡ Oops, it should be:
✡✡✡✡✡✡✡✡✡✡✡
✡✡✡✡✡✡✡✡✡✡✡ PageUp ? ( --PP < BB ? PP = EE : 0 ) : PageDwn ? ++PP > EE ? PP = BB :
✡✡✡✡✡✡✡✡✡✡✡ 0 : 0, iFolder = PP - BB, rFolders = EE - PP ;
✡✡✡✡✡✡✡✡✡✡✡
✡✡✡✡✡✡✡✡✡✡✡ Often, posting code leads to an improvement.
✡✡✡✡✡✡✡✡✡✡✡

using meaningful variable names to make your code actually readable, unless you're trying to win an obfuscated coding contest.

--
[THIS POAST HAS PASSED TRIMCHECK® VALIDATION]

THIS SPACE FOR RENT
https://www.youtube.com/watch?v=iB6B8jGSdLA

"Thanks to muzzies and their apologist-enablers like puppy whistle, this
seems to be the new norm in the world. It's spreading like a cancer,
and it's time we admit we're at war with pure evil. We need to put an
end to this muzzie plague, or life on Earth is going to become pure hell
everywhere. We need to get these people out of every civilized
country, and there's only one way to do it. IOW, we have to become
like them, with an emphasis on expediency over cruelty." - Checkmate (of alt.checkmate)

"Pussy Willow has just proven that Trump's crackdown on previously
unenforced immigration policies is working. We'll deal with the domestic
terrorists as needed, but we don't need to be letting the muzzie
terrorists get a foothold in our country too. One need only look at what
they're doing in Europe right now to know we're doing the right thing by
keeping them out, which is our right and our duty. - Checkmate (#1 pussy willow fan)

-

"You just made puppy whistle's sig line longer." - Janithor

-

"If I have a complaint about the (Southern Poverty) Law Center's description (of the alt-right movement), it is the phrase "heavy use of social media," which implies the alt-right is a real-world movement which uses a lot of social media. This is backwards: it is an online movement which occasionally appears in the real world. Where it gets punched." - Jason Rhode

-

"I think we should destroy every last fucking mosque in America." - "Checkmate, DoW #1" <Lunatic...@The.Edge> proves for us that white males are violent in Message-ID: <MPG.32c5bfef...@news.altopia.com>

-

Golden Killfile, June 2005
KOTM, November 2006
Bob Allisat Memorial Hook, Line & Sinker, November 2006
Special Ops Cody Memorial Purple Heart, November 2006
Special Ops Cody Memorial Purple Heart, September 2007
Tony Sidaway Memorial "Drama Queen" Award, November 2006
Busted Urinal Award, April 2007
Order of the Holey Sockpuppet, September 2007
Barbara Woodhouse Memorial Dog Whistle, September 2006
Barbara Woodhouse Memorial Dog Whistle, April 2008
Tinfoil Sombrero, February 2007
AUK Mascot, September 2007
Putting the Awards Out of Order to Screw With the OCD Fuckheads, March 2016

%

unread,
May 12, 2019, 5:38:56 PM5/12/19
to
On 2019-05-12 2:36 p.m., Sir Gaygory's Owner's Owner 🐶笛 wrote:
> On Wed, 10 Apr 2019 22:10:58 -0700 (Seattle), LO AND BEHOLD;
> Jeff-Relf.Me @. determined that the following was of great importance
> and subsequently decided to freely share it with us in
> <Jeff-R...@Apr.10--10.10pm.Seattle.2019>:
>
> ✡✡✡✡✡✡✡✡✡✡✡ Oops, it should be:
> ✡✡✡✡✡✡✡✡✡✡✡
> ✡✡✡✡✡✡✡✡✡✡✡ PageUp ? ( --PP < BB ? PP = EE : 0 ) : PageDwn ? ++PP > EE ? PP = BB :
> ✡✡✡✡✡✡✡✡✡✡✡ 0 : 0, iFolder = PP - BB, rFolders = EE - PP ;
> ✡✡✡✡✡✡✡✡✡✡✡
> ✡✡✡✡✡✡✡✡✡✡✡ Often, posting code leads to an improvement.
> ✡✡✡✡✡✡✡✡✡✡✡
>
> using meaningful variable names to make your code actually readable, unless you're trying to win an obfuscated coding contest.
>
i take vitamin c when i get a code
0 new messages