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


Groups > comp.lang.python > #64684

Re: Can post a code but afraid of plagiarism

From Dennis Lee Bieber <wlfraed@ix.netcom.com>
Subject Re: Can post a code but afraid of plagiarism
Date 2014-01-24 09:01 -0500
Organization IISS Elusive Unicorn
References <e646d6f1-ac3c-4d55-9809-b5edee93dbbb@googlegroups.com> <14e7775c-2a79-46eb-8f25-d9ac7fc1eb01@googlegroups.com>
Newsgroups comp.lang.python
Message-ID <mailman.5942.1390572085.18130.python-list@python.org> (permalink)

Show all headers | View raw


On Thu, 23 Jan 2014 23:14:13 -0800 (PST), indar kumar
<indarkumar59@gmail.com> declaimed the following:

>On Saturday, January 18, 2014 3:21:42 PM UTC-7, indar kumar wrote:
>> Hi,
>> 
>> 
>> 
>> I want to show a code for review but afraid of plagiarism issues. Kindly, suggest how can I post it for review here without masking it visible for public
>

	You can stop repeating that caveat for one thing, and provide some
context of what/who you are replying to.

>Yes now I want to search for an ip that user has input but skipping the key which user has input. e.g. user entered PC1 and 192.168.0.1. Now I want to scan through config_database to see if this ip is already in it. But PC1 192.168.0.1 is added to config_database before searching so I want to skip PC1 key during searching so that I can see if this Ip is not already associated with any other host.

	And what is stopping you? You don't know how to process all the entries
in the main dictionary, or you don't know how to skip an entry when you
find it?

-=-=-=-=- (more non-Python)

/*	Aba-guernqrq rzhyngvba bs Argjbex NEC genssvp	*/

argjbex. = ""
argjbex.0 = 0	/* ahzore bs qrsvarq ubfgf	*/
qb sberire
	fnl " "
	fnl " "
	fnl "Ragre pbasvthengvba punatr va gur sbez:"
	fnl "	ubfganzr ZNP VC gvzrbhg"
	cnefr chyy ubfganzr ubfgZNP ubfgVC ubfgGvzrbhg

	vs ubfganzr = "" gura
	qb
		qb u = 1 gb argjbex.0
			fnl "Ubfg " argjbex.u.ubfg argjbex.u.znp argjbex.u.vc
argjbex.u.gvzrbhg
			fnl "Pnpur"
			qb n = 1 gb argjbex.u.pnpur.0
				fnl "      " argjbex.u.pnpur.n.znp argjbex.u.pnpur.n.vc
			raq
			fnl " "
		raq
		rkvg
	raq

	pnyy NECCebor ubfganzr ubfgZNP ubfgVC

	vs inyvq gura
	qb
		pnyy hcqngr ubfganzr ubfgZNP ubfgVC ubfgGvzrbhg
		pnyy NECNaabhapr ubfganzr ubfgZNP ubfgVC
	raq
	ryfr
	qb
		pnyy erzbir ubfganzr
	raq
raq
	
NECCebor:	cebprqher rkcbfr argjbex. inyvq
	cnefr net ua uz uv
	fnl " "
	fnl "NEC Cebor: " uz " ss:ss:ss:ss:ss:ss 0.0.0.0 " uv
	qb u = 1 gb argjbex.0
		vs argjbex.u.ubfg <> ua gura
			vs argjbex.u.vc = uv gura
			qb
				inyvq = 0
				erghea
			raq
	raq
	inyvq = 1
	erghea

hcqngr:  cebprqher rkcbfr argjbex.
	cnefr net ua uz uv ug
	qb u = 1 gb argjbex.0
		vs argjbex.u.ubfg = ua gura
		qb
			fnl "Ubfg " ua " hcqngrq"
			argjbex.u.znp = uz
			argjbex.u.vc = uv
			argjbex.u.gvzrbhg = ug
			erghea
		raq
	raq
		
	u = argjbex.0 + 1
	fnl "Ubfg " ua " nqqrq gb argjbex"
	argjbex.u.ubfg = ua
	argjbex.u.znp = uz
	argjbex.u.vc = uv
	argjbex.u.gvzrbhg = ug
	argjbex.u.pnpur. = ""
	argjbex.u.pnpur.0 = 0
	argjbex.0 = u
	erghea

NECNaabhapr: cebprqher rkcbfr argjbex.
	cnefr net ua uz uv
	fnl " "
	fnl "NEC Naabhapr " ua uz " 0:0:0:0:0:0 " uv uv
	qb u = 1 gb argjbex.0
		vs argjbex.u.ubfg <> ua gura
		qb
			arj = 1
			qb n = 1 gb argjbex.u.pnpur.0
				vs argjbex.u.pnpur.n.znp = uz be argjbex.u.pnpur.n.vc = uv
gura
				qb
					fnl "Ubfg " argjbex.u.ubfg " hcqngrq " uz uv
					argjbex.u.pnpur.n.znp = uz
					argjbex.u.pnpur.n.vc = uv
					arj = 0
				raq
			raq
			vs arj gura
			qb
				n = argjbex.u.pnpur.0 + 1
				fnl "Ubfg " argjbex.u.ubfg " nqqrq " uz uv
				argjbex.u.pnpur.n.znp = uz
				argjbex.u.pnpur.n.vc = uv
				argjbex.u.pnpur.0 = n
			raq
		raq
	raq
	erghea
			
erzbir: cebprqher rkcbfr argjbex.
	cnefr net ua
	fnl "Ubfg " ua " erzbirq sebz argjbex"
	uy = 0
	qb u = 1 gb argjbex.0
		vs argjbex.u.ubfg = ua gura
			uy = u
	raq
	vs uy <> 0 gura
	qb
		qb ub = (uy + 1) gb argjbex.0
			uq = ub - 1
			argjbex.uq. = argjbex.ub.
		raq
		ur = argjbex.0
		argjbex.ur. = ""
		argjbex.0 = ur - 1
	raq
	erghea
-=-=-=-=-

	Does not have an independent look-up command but does have to do
look-ups to handle updates and errors.

C:\Users\Wulfraed\Documents>arp.rx


Enter configuration change in the form:
        hostname MAC IP timeout
me 2:1:3:4:6:5 192.168.0.1 50

ARP Probe:  2:1:3:4:6:5  ff:ff:ff:ff:ff:ff 0.0.0.0  192.168.0.1
Host  me  added to network

ARP Announce  me 2:1:3:4:6:5  0:0:0:0:0:0  192.168.0.1 192.168.0.1


Enter configuration change in the form:
        hostname MAC IP timeout
you 1:2:3:4:5:6 192.168.10.10 50

ARP Probe:  1:2:3:4:5:6  ff:ff:ff:ff:ff:ff 0.0.0.0  192.168.10.10
Host  you  added to network

ARP Announce  you 1:2:3:4:5:6  0:0:0:0:0:0  192.168.10.10 192.168.10.10
Host  me  added  1:2:3:4:5:6 192.168.10.10


Enter configuration change in the form:
        hostname MAC IP timeout
them 6:5:4:3:2:1 10.10.0.10 100

ARP Probe:  6:5:4:3:2:1  ff:ff:ff:ff:ff:ff 0.0.0.0  10.10.0.10
Host  them  added to network

ARP Announce  them 6:5:4:3:2:1  0:0:0:0:0:0  10.10.0.10 10.10.0.10
Host  me  added  6:5:4:3:2:1 10.10.0.10
Host  you  added  6:5:4:3:2:1 10.10.0.10


Enter configuration change in the form:
        hostname MAC IP timeout
false a:b:c:d:e:f 192.168.0.1 10

ARP Probe:  a:b:c:d:e:f  ff:ff:ff:ff:ff:ff 0.0.0.0  192.168.0.1
Host  false  removed from network


Enter configuration change in the form:
        hostname MAC IP timeout
me a:b:c:d:e:f 192.168.0.1 10

ARP Probe:  a:b:c:d:e:f  ff:ff:ff:ff:ff:ff 0.0.0.0  192.168.0.1
Host  me  updated

ARP Announce  me a:b:c:d:e:f  0:0:0:0:0:0  192.168.0.1 192.168.0.1
Host  you  added  a:b:c:d:e:f 192.168.0.1
Host  them  added  a:b:c:d:e:f 192.168.0.1


Enter configuration change in the form:
        hostname MAC IP timeout

Host  me a:b:c:d:e:f 192.168.0.1 10
Cache
       1:2:3:4:5:6 192.168.10.10
       6:5:4:3:2:1 10.10.0.10

Host  you 1:2:3:4:5:6 192.168.10.10 50
Cache
       6:5:4:3:2:1 10.10.0.10
       a:b:c:d:e:f 192.168.0.1

Host  them 6:5:4:3:2:1 10.10.0.10 100
Cache
       a:b:c:d:e:f 192.168.0.1


Press ENTER key to exit...
-- 
	Wulfraed                 Dennis Lee Bieber         AF6VN
    wlfraed@ix.netcom.com    HTTP://wlfraed.home.netcom.com/

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Can post a code but afraid of plagiarism indar kumar <indarkumar59@gmail.com> - 2014-01-18 14:21 -0800
  Re: Can post a code but afraid of plagiarism Roy Smith <roy@panix.com> - 2014-01-18 17:27 -0500
  Re: Can post a code but afraid of plagiarism indar kumar <indarkumar59@gmail.com> - 2014-01-18 14:32 -0800
    Re: Can post a code but afraid of plagiarism Roy Smith <roy@panix.com> - 2014-01-18 17:35 -0500
    Re: Can post a code but afraid of plagiarism Chris Angelico <rosuav@gmail.com> - 2014-01-19 09:42 +1100
    Re: Can post a code but afraid of plagiarism Ben Finney <ben+python@benfinney.id.au> - 2014-01-19 09:59 +1100
    Re: Can post a code but afraid of plagiarism Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-01-19 06:31 +0000
      Re: Can post a code but afraid of plagiarism Devin Jeanpierre <jeanpierreda@gmail.com> - 2014-01-18 22:45 -0800
      Re: Can post a code but afraid of plagiarism Dan Stromberg <drsalists@gmail.com> - 2014-01-19 21:21 -0800
      Re: Can post a code but afraid of plagiarism Chris Angelico <rosuav@gmail.com> - 2014-01-20 17:21 +1100
        Re: Can post a code but afraid of plagiarism Roy Smith <roy@panix.com> - 2014-01-20 09:08 -0500
          Re: Can post a code but afraid of plagiarism Rustom Mody <rustompmody@gmail.com> - 2014-01-20 08:11 -0800
          Re: Can post a code but afraid of plagiarism Terry Reedy <tjreedy@udel.edu> - 2014-01-20 16:56 -0500
          Re: Can post a code but afraid of plagiarism Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-01-21 00:47 +0000
            Re: Can post a code but afraid of plagiarism Oscar Benjamin <oscar.j.benjamin@gmail.com> - 2014-01-21 10:32 +0000
              Re: Can post a code but afraid of plagiarism Dan Sommers <dan@tombstonezero.net> - 2014-01-21 13:49 +0000
      Re: Can post a code but afraid of plagiarism Ben Finney <ben+python@benfinney.id.au> - 2014-01-20 18:39 +1100
        Re: Can post a code but afraid of plagiarism indar kumar <indarkumar59@gmail.com> - 2014-01-19 23:55 -0800
          Re: Can post a code but afraid of plagiarism Ben Finney <ben+python@benfinney.id.au> - 2014-01-20 19:17 +1100
            Re: Can post a code but afraid of plagiarism Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-01-22 00:51 +0000
              Re: Can post a code but afraid of plagiarism Rustom Mody <rustompmody@gmail.com> - 2014-01-21 19:01 -0800
                Re: Can post a code but afraid of plagiarism Roy Smith <roy@panix.com> - 2014-01-21 22:46 -0500
          Re: Can post a code but afraid of plagiarism Chris Angelico <rosuav@gmail.com> - 2014-01-20 19:48 +1100
          Re: Can post a code but afraid of plagiarism bryan rasmussen <rasmussen.bryan@gmail.com> - 2014-01-20 10:19 +0100
          Re: Can post a code but afraid of plagiarism Alister <alister.ware@ntlworld.com> - 2014-01-20 09:36 +0000
          Re: Can post a code but afraid of plagiarism Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-01-22 00:01 +0000
        Re: Can post a code but afraid of plagiarism Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-01-22 00:51 +0000
          Re: Can post a code but afraid of plagiarism Neil Cerutti <neilc@norwich.edu> - 2014-01-22 13:34 +0000
      Re: Can post a code but afraid of plagiarism Chris Angelico <rosuav@gmail.com> - 2014-01-20 18:59 +1100
      Re: Can post a code but afraid of plagiarism Ben Finney <ben+python@benfinney.id.au> - 2014-01-20 19:10 +1100
  Re: Can post a code but afraid of plagiarism Ben Finney <ben+python@benfinney.id.au> - 2014-01-19 09:57 +1100
  Re: Can post a code but afraid of plagiarism Grant Edwards <invalid@invalid.invalid> - 2014-01-19 16:22 +0000
  Re: Can post a code but afraid of plagiarism indar kumar <indarkumar59@gmail.com> - 2014-01-22 00:36 -0800
    Re: Can post a code but afraid of plagiarism Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2014-01-22 08:53 -0500
    Re: Can post a code but afraid of plagiarism Rustom Mody <rustompmody@gmail.com> - 2014-01-22 08:48 -0800
    Re: Can post a code but afraid of plagiarism Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-01-23 00:01 +0000
  Re: Can post a code but afraid of plagiarism indar kumar <indarkumar59@gmail.com> - 2014-01-22 00:39 -0800
  Re: Can post a code but afraid of plagiarism indar kumar <indarkumar59@gmail.com> - 2014-01-22 08:33 -0800
    Re: Can post a code but afraid of plagiarism Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2014-01-22 22:36 -0500
  Re: Can post a code but afraid of plagiarism indar kumar <indarkumar59@gmail.com> - 2014-01-22 08:46 -0800
  Re: Can post a code but afraid of plagiarism indar kumar <indarkumar59@gmail.com> - 2014-01-22 08:50 -0800
  Re: Can post a code but afraid of plagiarism indar kumar <indarkumar59@gmail.com> - 2014-01-22 08:53 -0800
  Re: Can post a code but afraid of plagiarism indar kumar <indarkumar59@gmail.com> - 2014-01-22 09:09 -0800
    Re: Can post a code but afraid of plagiarism Ned Batchelder <ned@nedbatchelder.com> - 2014-01-22 14:19 -0500
  Re: Can post a code but afraid of plagiarism indar kumar <indarkumar59@gmail.com> - 2014-01-22 23:46 -0800
    Re: Can post a code but afraid of plagiarism Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2014-01-23 20:26 -0500
  Re: Can post a code but afraid of plagiarism indar kumar <indarkumar59@gmail.com> - 2014-01-22 23:57 -0800
    Re: Can post a code but afraid of plagiarism Asaf Las <roegltd@gmail.com> - 2014-01-23 01:46 -0800
  Re: Can post a code but afraid of plagiarism indar kumar <indarkumar59@gmail.com> - 2014-01-23 02:10 -0800
  Re: Can post a code but afraid of plagiarism indar kumar <indarkumar59@gmail.com> - 2014-01-23 13:15 -0800
    Re: Can post a code but afraid of plagiarism Emile van Sebille <emile@fenx.com> - 2014-01-23 13:28 -0800
  Re: Can post a code but afraid of plagiarism indar kumar <indarkumar59@gmail.com> - 2014-01-23 13:34 -0800
    Re: Can post a code but afraid of plagiarism Emile van Sebille <emile@fenx.com> - 2014-01-23 13:49 -0800
  Re: Can post a code but afraid of plagiarism indar kumar <indarkumar59@gmail.com> - 2014-01-23 13:56 -0800
    Re: Can post a code but afraid of plagiarism Piet van Oostrum <piet@vanoostrum.org> - 2014-01-24 15:13 +0100
  Re: Can post a code but afraid of plagiarism indar kumar <indarkumar59@gmail.com> - 2014-01-23 19:15 -0800
    Re: Can post a code but afraid of plagiarism Rustom Mody <rustompmody@gmail.com> - 2014-01-23 21:57 -0800
    Re: Can post a code but afraid of plagiarism Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-01-24 08:13 +0000
  Re: Can post a code but afraid of plagiarism indar kumar <indarkumar59@gmail.com> - 2014-01-23 23:14 -0800
    Re: Can post a code but afraid of plagiarism Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2014-01-24 09:01 -0500
    Re: Can post a code but afraid of plagiarism bob gailer <bgailer@gmail.com> - 2014-01-24 18:42 -0500
    Re: Can post a code but afraid of plagiarism Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2014-01-24 19:42 -0500

csiph-web