Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.programming > #9248

Re: Telnet

From Richard Heathfield <rjh@cpax.org.uk>
Newsgroups alt.conspiracy, alt.comp.freeware, alt.os.linux.ubuntu, comp.programming, alt.windows7.general, alt.comp.os.windows-10
Subject Re: Telnet
Date 2018-09-12 00:54 +0100
Organization Fix this later
Message-ID <pn9kja$mkp$1@dont-email.me> (permalink)
References <a2efc21c-0360-4f6c-8421-91c1d7337453@googlegroups.com> <gvdcpdpbas4khemi91kjjd9099jingua92@4ax.com> <pn5k19$2oq$1@toylet.eternal-september.org> <pn5q0c$9nq$1@dont-email.me>

Cross-posted to 6 groups.

Show all headers | View raw


On 10/09/18 14:02, David Brown wrote:
> On 10/09/18 13:20, Mr. Man-wai Chang wrote:

<snip>

>> Window$ has Telnet as well, though their users seldom use it.
>>
> 
> Would you /please/ stop cross-posting to such inappropriate groups?

No, he won't. Mr Chang is not noted for his community spirit.

ObProgramming:

Today I cobbled together the following code:

#include <math.h>

#define R(x) ((int)(((x) & 0xFF0000UL) >> 16))
#define G(x) ((int)(((x) & 0xFF00UL) >> 8))
#define B(x) ((int)((x) & 0xFFUL))

static double colour_distance(unsigned long ca, unsigned long cb)
{
   int rd = R(ca) - R(cb);
   int gd = G(ca) - G(cb);
   int bd = B(ca) - B(cb);
   return sqrt(rd * rd + gd * gd + bd * bd);
}

(and a driver, of course) to demonstrate that Mark Knight's tennis 
cartoon was not, as people were trying to make out, using colour to 
further racist stereotypes.

It was mildly interesting because, including the driver, it was 36 lines 
long, it compiled correctly first time, and it worked first time. That's 
a long way from being my record, but it's probably the longest this year 
for which I could make that claim.

-- 
Richard Heathfield
Email: rjh at cpax dot org dot uk
"Usenet is a strange place" - dmr 29 July 1999
Sig line 4 vacant - apply within

Back to comp.programming | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Re: Telnet "Mr. Man-wai Chang" <toylet.toylet@gmail.com> - 2018-09-10 19:20 +0800
  Re: Telnet David Brown <david.brown@hesbynett.no> - 2018-09-10 15:02 +0200
    Re: Telnet "Mr. Man-wai Chang" <toylet.toylet@gmail.com> - 2018-09-10 22:36 +0800
      Re: Telnet David Brown <david.brown@hesbynett.no> - 2018-09-10 18:35 +0200
        Re: Telnet "Mr. Man-wai Chang" <toylet.toylet@gmail.com> - 2018-09-11 01:15 +0800
          Re: Telnet David Brown <david.brown@hesbynett.no> - 2018-09-10 20:05 +0200
            Re: cross-posting "Mr. Man-wai Chang" <toylet.toylet@gmail.com> - 2018-09-11 03:30 +0800
            Re: Usenet management and NNTP server software "Mr. Man-wai Chang" <toylet.toylet@gmail.com> - 2018-09-11 04:03 +0800
              Re: Usenet management and NNTP server software "Dirk T. Verbeek" <dverbeek@xs4all.nl> - 2018-09-10 23:07 -0500
        Re: Telnet KWills Shill #3 <compuelf@gmail.com> - 2018-09-11 02:21 -0700
          Re: Telnet "Mr. Man-wai Chang" <toylet.toylet@gmail.com> - 2018-09-11 22:47 +0800
            Re: Telnet "Cybe R. Wizard" <cybe_r_wizard@WizardsTower.invalid> - 2018-09-11 10:56 -0500
              Re: Telnet "Mr. Man-wai Chang" <toylet.toylet@gmail.com> - 2018-09-11 23:57 +0800
    Re: Telnet Richard Heathfield <rjh@cpax.org.uk> - 2018-09-12 00:54 +0100
  Re: Telnet TPayne <tpay@nr.net> - 2018-09-10 14:22 -0400
    Re: posts of any value "Mr. Man-wai Chang" <toylet.toylet@gmail.com> - 2018-09-11 03:17 +0800
  Re: Telnet AndyW <Andy@nojunqmail.com> - 2018-09-11 07:08 +0100

csiph-web