Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.programming > #12079 > unrolled thread
| Started by | Kristjan Robam <he12457@hotmail.com> |
|---|---|
| First post | 2021-02-06 07:44 -0800 |
| Last post | 2021-02-10 20:05 +0000 |
| Articles | 13 — 6 participants |
Back to article view | Back to comp.programming
Can someone help ? Kristjan Robam <he12457@hotmail.com> - 2021-02-06 07:44 -0800
Re: Can someone help ? Peter <peterxpercival@hotmail.com> - 2021-02-06 20:38 +0000
Re: Can someone help ? Robam Kriztjan <he12457@hotmail.com> - 2021-02-08 00:53 -0800
Re: Can someone help ? Robam Kriztjan <he12457@hotmail.com> - 2021-02-08 01:40 -0800
Re: Can someone help ? Robam Kriztjan <he12457@hotmail.com> - 2021-02-08 01:54 -0800
Re: Can someone help ? Peter <peterxpercival@hotmail.com> - 2021-02-08 22:43 +0000
Re: Can someone help ? Richard Heathfield <rjh@cpax.org.uk> - 2021-02-09 08:14 +0000
Re: Can someone help ? I A <he12457@hotmail.com> - 2021-02-09 14:07 -0800
Re: Can someone help ? I A <he12457@hotmail.com> - 2021-02-09 14:44 -0800
Re: Can someone help ? Peter <peterxpercival@hotmail.com> - 2021-02-10 16:59 +0000
Re: Can someone help ? I A <he12457@hotmail.com> - 2021-02-10 09:11 -0800
Re: Can someone help ? David Brown <david.brown@hesbynett.no> - 2021-02-11 12:59 +0100
Re: Can someone help ? Peter <peterxpercival@hotmail.com> - 2021-02-10 20:05 +0000
| From | Kristjan Robam <he12457@hotmail.com> |
|---|---|
| Date | 2021-02-06 07:44 -0800 |
| Subject | Can someone help ? |
| Message-ID | <26347df0-c5f9-41e8-a51c-a5192dc7ac32n@googlegroups.com> |
<html>
<body>
<canvas id="canvas" width="800" height="500"></canvas>
<p></p>
<div style="display:none;">
<img id="y"
src="y.jpg"
width="800" height="500">
</div>
<script>
const canvas = document.getElementById('canvas');
const ctx = canvas.getContext('2d');
const img = document.getElementById('y');
img.addEventListener('load', e => {
ctx.drawImage(img, 0, 0);
var imgData = ctx.getImageData(0, 0, canvas.width, canvas.height);
var array1=new Array(4*canvas.width*canvas.height);
for (var i = 0; i < 4*canvas.width*canvas.height; i++) {
array1.push(0);
}
var r1=Math.round(Math.random()*255);
var r2=Math.round(Math.random()*255);
var r3=Math.round(Math.random()*255);
var r4=Math.round(Math.random()*255);
for (var i = 0; i < imgData.data.length; i += 4) {
if(array1[i]==1) continue;
var a1=imgData.data[i];
var a2=imgData.data[i+1];
var a3=imgData.data[i+2];
var a4=imgData.data[i+3];
r1=Math.round(Math.random()*255);
r2=Math.round(Math.random()*255);
r3=Math.round(Math.random()*255);
r4=Math.round(Math.random()*1);
for (var j = i+4; j < imgData.data.length; j += 4) {
if(array1[j]==1) continue;
if(a1==imgData.data[j]&&a2==imgData.data[j+1]&&a3==imgData.data[j+2]&&a4==imgData.data[j+3]) {
imgData.data[j]=r1;
imgData.data[j+1]=r2;
imgData.data[j+2]=r3;
imgData.data[j+3]=r4;
array1[j]=1;
console.log(1);
}
}
imgData.data[i]=r1;
imgData.data[i+1]=r2;
imgData.data[i+2]=r3;
imgData.data[i+3]=r4;
console.log(1);
}
ctx.putImageData(imgData, 0, 0);
});
</script>
</body>
</html>
The code has some error in it.
The points of same color will need to get the same random color.
A I
E-mail: ya12983 mail co m
Telephone number: (372) 6861327
[toc] | [next] | [standalone]
| From | Peter <peterxpercival@hotmail.com> |
|---|---|
| Date | 2021-02-06 20:38 +0000 |
| Message-ID | <rvmup2$17s0$1@gioia.aioe.org> |
| In reply to | #12079 |
Kristjan Robam wrote:
Ask https://validator.w3.org/nu/#textarea.
> <html>
> <body>
> <canvas id="canvas" width="800" height="500"></canvas>
> <p></p>
>
> <div style="display:none;">
> <img id="y"
> src="y.jpg"
> width="800" height="500">
> </div>
>
>
> <script>
> const canvas = document.getElementById('canvas');
> const ctx = canvas.getContext('2d');
> const img = document.getElementById('y');
>
> img.addEventListener('load', e => {
> ctx.drawImage(img, 0, 0);
> var imgData = ctx.getImageData(0, 0, canvas.width, canvas.height);
>
> var array1=new Array(4*canvas.width*canvas.height);
>
> for (var i = 0; i < 4*canvas.width*canvas.height; i++) {
> array1.push(0);
> }
>
>
> var r1=Math.round(Math.random()*255);
> var r2=Math.round(Math.random()*255);
> var r3=Math.round(Math.random()*255);
> var r4=Math.round(Math.random()*255);
>
> for (var i = 0; i < imgData.data.length; i += 4) {
> if(array1[i]==1) continue;
> var a1=imgData.data[i];
> var a2=imgData.data[i+1];
> var a3=imgData.data[i+2];
> var a4=imgData.data[i+3];
>
>
> r1=Math.round(Math.random()*255);
> r2=Math.round(Math.random()*255);
> r3=Math.round(Math.random()*255);
> r4=Math.round(Math.random()*1);
>
>
> for (var j = i+4; j < imgData.data.length; j += 4) {
> if(array1[j]==1) continue;
> if(a1==imgData.data[j]&&a2==imgData.data[j+1]&&a3==imgData.data[j+2]&&a4==imgData.data[j+3]) {
> imgData.data[j]=r1;
> imgData.data[j+1]=r2;
> imgData.data[j+2]=r3;
> imgData.data[j+3]=r4;
> array1[j]=1;
> console.log(1);
> }
> }
> imgData.data[i]=r1;
> imgData.data[i+1]=r2;
> imgData.data[i+2]=r3;
> imgData.data[i+3]=r4;
> console.log(1);
> }
>
> ctx.putImageData(imgData, 0, 0);
> });
>
>
> </script>
> </body>
> </html>
>
> The code has some error in it.
> The points of same color will need to get the same random color.
>
>
>
>
> A I
>
> E-mail: ya12983 mail co m
> Telephone number: (372) 6861327
>
--
When, once, reference was made to a statesman almost universally
recognized as one of the villains of this century, in order to
induce him to a negative judgment, he replied: "My situation is
so different from his, that it is not for me to pass judgment".
Ernst Specker on Paul Bernays
[toc] | [prev] | [next] | [standalone]
| From | Robam Kriztjan <he12457@hotmail.com> |
|---|---|
| Date | 2021-02-08 00:53 -0800 |
| Message-ID | <798d69c6-1bd7-4cf0-a499-f46c36dd3396n@googlegroups.com> |
| In reply to | #12080 |
Better formulation:
<html>
<body>
<canvas id="canvas" width="888" height="500"></canvas>
<p></p>
<div style="display:none;">
<img id="y"
src="y.jpg"
width="888" height="500">
</div>
<script>
var canvas = document.getElementById('canvas');
var ctx = canvas.getContext('2d');
var img = document.getElementById('y');
img.addEventListener('load', e => {
ctx.drawImage(img, 0, 0);
var imgData = ctx.getImageData(0, 0, canvas.width, canvas.height);
var array1=new Array(4*canvas.width*canvas.height);
for (var i = 0; i < 4*canvas.width*canvas.height; i++) {
array1[i]=0;
}
var r1=Math.round(Math.random()*255);
var r2=Math.round(Math.random()*255);
var r3=Math.round(Math.random()*255);
var r4=Math.round(Math.random()*255);
for (var i = 0; i < imgData.data.length; i += 4) {
if(array1[i]==1) continue;
var a1=imgData.data[i];
var a2=imgData.data[i+1];
var a3=imgData.data[i+2];
var a4=imgData.data[i+3];
r1=Math.round(Math.random()*255);
r2=Math.round(Math.random()*255);
r3=Math.round(Math.random()*255);
r4=Math.round(Math.random()*1);
for (var j = i+4; j < imgData.data.length; j += 4) {
if(array1[j]==1) continue;
if(a1==imgData.data[j]&&a2==imgData.data[j+1]&&a3==imgData.data[j+2]&&a4==imgData.data[j+3]) {
imgData.data[j]=r1;
imgData.data[j+1]=r2;
imgData.data[j+2]=r3;
imgData.data[j+3]=r4;
array1[j]=1;
}
}
imgData.data[i]=r1;
imgData.data[i+1]=r2;
imgData.data[i+2]=r3;
imgData.data[i+3]=r4;
}
ctx.putImageData(imgData, 0, 0);
});
</script>
</body>
</html>
The code runs only in server.
A I
E-mail: ya12983 mail co m
Telephone number: (372) 6861327
[toc] | [prev] | [next] | [standalone]
| From | Robam Kriztjan <he12457@hotmail.com> |
|---|---|
| Date | 2021-02-08 01:40 -0800 |
| Message-ID | <f63cdc30-006c-458a-a48f-732fd3244642n@googlegroups.com> |
| In reply to | #12096 |
Better formulation:
<html>
<body>
<canvas id="canvas" width="111" height="222"></canvas>
<p></p>
<div style="display:none;">
<img id="img1"
src="img.jpg"
width="111" height="222">
</div>
<script>
var canvas = document.getElementById('canvas');
var ctx = canvas.getContext('2d');
var img = document.getElementById('img1');
img.addEventListener('load', e => {
ctx.drawImage(img, 0, 0);
var imgData = ctx.getImageData(0, 0, canvas.width, canvas.height);
var array1=new Array(4*canvas.width*canvas.height);
for (var i = 0; i < array1.length; i++) {
array1[i]=0;
}
var r1=Math.round(Math.random()*255);
var r2=Math.round(Math.random()*255);
var r3=Math.round(Math.random()*255);
var r4=Math.round(Math.random()*255);
for (var i = 0; i < imgData.data.length; i += 4) {
if(array1[i]==1) continue;
var a1=imgData.data[i];
var a2=imgData.data[i+1];
var a3=imgData.data[i+2];
var a4=imgData.data[i+3];
r1=Math.round(Math.random()*255);
r2=Math.round(Math.random()*255);
r3=Math.round(Math.random()*255);
r4=Math.round(Math.random()*255);
for (var j = i+4; j < imgData.data.length; j += 4) {
if(array1[j]==1) continue;
if(a1==imgData.data[j]&&a2==imgData.data[j+1]&&a3==imgData.data[j+2]&&a4==imgData.data[j+3]) {
imgData.data[j]=r1;
imgData.data[j+1]=r2;
imgData.data[j+2]=r3;
imgData.data[j+3]=r4;
array1[j]=1;
}
}
imgData.data[i]=r1;
imgData.data[i+1]=r2;
imgData.data[i+2]=r3;
imgData.data[i+3]=r4;
}
ctx.putImageData(imgData, 0, 0);
});
</script>
</body>
</html>
The code runs only in server.
A I
E-mail: ya12983 mail co m
Telephone number: (372) 6861327
[toc] | [prev] | [next] | [standalone]
| From | Robam Kriztjan <he12457@hotmail.com> |
|---|---|
| Date | 2021-02-08 01:54 -0800 |
| Message-ID | <b0b9bcd7-aa75-44e8-b5dc-9be0617906e3n@googlegroups.com> |
| In reply to | #12098 |
This is something better now:
<html>
<body>
<canvas id="canvas" width="346" height="378"></canvas>
<p></p>
<div style="display:none;">
<img id="img1"
src="img.jpg"
width="346" height="378">
</div>
<script>
var canvas = document.getElementById('canvas');
var ctx = canvas.getContext('2d');
var img = document.getElementById('img1');
img.addEventListener('load', e => {
ctx.drawImage(img, 0, 0);
var imgData = ctx.getImageData(0, 0, canvas.width, canvas.height);
var array1=new Array(4*canvas.width*canvas.height);
for (var i = 0; i < array1.length; i++) {
array1[i]=0;
}
var r1=Math.round(Math.random()*255);
var r2=Math.round(Math.random()*255);
var r3=Math.round(Math.random()*255);
var r4=Math.round(Math.random()*255);
for (var i = 0; i < imgData.data.length; i += 4) {
if(array1[i]==1) continue;
var a1=imgData.data[i];
var a2=imgData.data[i+1];
var a3=imgData.data[i+2];
var a4=imgData.data[i+3];
var r01 = Math.random() < 0.5 ? -1 : 1;
var r02 = Math.random() < 0.5 ? -1 : 1;
var r03 = Math.random() < 0.5 ? -1 : 1;
var r04 = Math.random() < 0.5 ? -1 : 1;
r1=(a1+r01*Math.round(Math.random()*15))%255;
r2=(a2+r02*Math.round(Math.random()*15))%255;
r3=(a3+r03*Math.round(Math.random()*15))%255;
r4=(a4+r04*Math.round(Math.random()*15))%255;
for (var j = i+4; j < imgData.data.length; j += 4) {
if(array1[j]==1) continue;
if(a1==imgData.data[j]&&a2==imgData.data[j+1]&&a3==imgData.data[j+2]&&a4==imgData.data[j+3]) {
imgData.data[j]=r1;
imgData.data[j+1]=r2;
imgData.data[j+2]=r3;
imgData.data[j+3]=r4;
array1[j]=1;
}
}
imgData.data[i]=r1;
imgData.data[i+1]=r2;
imgData.data[i+2]=r3;
imgData.data[i+3]=r4;
}
ctx.putImageData(imgData, 0, 0);
});
</script>
</body>
</html>
But not what I exactly mean.
A I
E-mail: ya12983 mail co m
Telephone number: (372) 6861327
[toc] | [prev] | [next] | [standalone]
| From | Peter <peterxpercival@hotmail.com> |
|---|---|
| Date | 2021-02-08 22:43 +0000 |
| Message-ID | <rvsepr$17mg$1@gioia.aioe.org> |
| In reply to | #12099 |
Robam Kriztjan wrote:
> This is something better now:
It is not so much better that https://validator.w3.org/nu/#textarea
reports no errors. Were I you (what an alarming idea) I would fix the
errors (there are three) and the warning too. (When I was a programmer
I always fixed warnings unless there was a very, very, very good reason
not to; and then I would put a comment in the code justifying (let's
hope) my decision not to fix them.)
I recognize that syntactically correct code can still fail to do what
you want of it. If you want help you will need to say precisely what
specification your code is required to fulfil. But note that no one is
obliged to help you, and (this is important) if you behave like an utter
twat even people who are naturally predisposed to help may be unwilling
to do so.
> <html>
> <body>
> <canvas id="canvas" width="346" height="378"></canvas>
> <p></p>
>
> <div style="display:none;">
> <img id="img1"
> src="img.jpg"
> width="346" height="378">
> </div>
>
>
> <script>
> var canvas = document.getElementById('canvas');
> var ctx = canvas.getContext('2d');
> var img = document.getElementById('img1');
>
> img.addEventListener('load', e => {
> ctx.drawImage(img, 0, 0);
> var imgData = ctx.getImageData(0, 0, canvas.width, canvas.height);
>
> var array1=new Array(4*canvas.width*canvas.height);
>
> for (var i = 0; i < array1.length; i++) {
> array1[i]=0;
> }
>
>
> var r1=Math.round(Math.random()*255);
> var r2=Math.round(Math.random()*255);
> var r3=Math.round(Math.random()*255);
> var r4=Math.round(Math.random()*255);
>
> for (var i = 0; i < imgData.data.length; i += 4) {
> if(array1[i]==1) continue;
> var a1=imgData.data[i];
> var a2=imgData.data[i+1];
> var a3=imgData.data[i+2];
> var a4=imgData.data[i+3];
>
>
> var r01 = Math.random() < 0.5 ? -1 : 1;
> var r02 = Math.random() < 0.5 ? -1 : 1;
> var r03 = Math.random() < 0.5 ? -1 : 1;
> var r04 = Math.random() < 0.5 ? -1 : 1;
>
> r1=(a1+r01*Math.round(Math.random()*15))%255;
> r2=(a2+r02*Math.round(Math.random()*15))%255;
> r3=(a3+r03*Math.round(Math.random()*15))%255;
> r4=(a4+r04*Math.round(Math.random()*15))%255;
>
>
> for (var j = i+4; j < imgData.data.length; j += 4) {
> if(array1[j]==1) continue;
> if(a1==imgData.data[j]&&a2==imgData.data[j+1]&&a3==imgData.data[j+2]&&a4==imgData.data[j+3]) {
> imgData.data[j]=r1;
> imgData.data[j+1]=r2;
> imgData.data[j+2]=r3;
> imgData.data[j+3]=r4;
> array1[j]=1;
> }
> }
>
> imgData.data[i]=r1;
> imgData.data[i+1]=r2;
> imgData.data[i+2]=r3;
> imgData.data[i+3]=r4;
> }
>
> ctx.putImageData(imgData, 0, 0);
> });
>
>
> </script>
> </body>
> </html>
>
>
> But not what I exactly mean.
>
>
>
>
> A I
>
> E-mail: ya12983 mail co m
> Telephone number: (372) 6861327
>
--
When, once, reference was made to a statesman almost universally
recognized as one of the villains of this century, in order to
induce him to a negative judgment, he replied: "My situation is
so different from his, that it is not for me to pass judgment".
Ernst Specker on Paul Bernays
[toc] | [prev] | [next] | [standalone]
| From | Richard Heathfield <rjh@cpax.org.uk> |
|---|---|
| Date | 2021-02-09 08:14 +0000 |
| Message-ID | <rvtg8q$46b$1@dont-email.me> |
| In reply to | #12103 |
On 08/02/2021 22:43, Peter wrote: <snip> > But note that no one is > obliged to help you, and (this is important) if you behave like an utter > twat even people who are naturally predisposed to help may be unwilling > to do so. You make an excellent point, but did making that point really require you to quote 90 lines of code? -- 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
[toc] | [prev] | [next] | [standalone]
| From | I A <he12457@hotmail.com> |
|---|---|
| Date | 2021-02-09 14:07 -0800 |
| Message-ID | <994f1fbb-f83d-42f6-97da-48c27e3b38e3n@googlegroups.com> |
| In reply to | #12106 |
<html>
<body>
<canvas id="canvas" width="800" height="500"></canvas>
<p></p>
<div style="display:none;">
<img id="y"
src="y.jpg"
width="800" height="500">
</div>
<script>
var canvas = document.getElementById('canvas');
var ctx = canvas.getContext('2d');
var img = document.getElementById('y');
img.addEventListener('load', e => {
ctx.drawImage(img, 0, 0);
var imgData = ctx.getImageData(0, 0, canvas.width, canvas.height);
var array1=new Array(4*canvas.width*canvas.height);
for (var i = 0; i < array1.length; i++) {
array1[i]=0;
}
var r1=Math.round(Math.random()*255);
var r2=Math.round(Math.random()*255);
var r3=Math.round(Math.random()*255);
var r4=Math.round(Math.random()*255);
for (var i = 0; i < imgData.data.length; i += 4) {
if(array1[i]==1) continue;
var a1=imgData.data[i];
var a2=imgData.data[i+1];
var a3=imgData.data[i+2];
var a4=imgData.data[i+3];
r1=Math.round(Math.random()*255);
r2=Math.round(Math.random()*255);
r3=Math.round(Math.random()*255);
r4=Math.round(Math.random()*1);
for (var j = i+4; j < imgData.data.length; j += 4) {
if(array1[j]==1) continue;
if(a1==imgData.data[j]&&a2==imgData.data[j+1]&&a3==imgData.data[j+2]&&a4==imgData.data[j+3]) {
imgData.data[j]=r1;
imgData.data[j+1]=r2;
imgData.data[j+2]=r3;
imgData.data[j+3]=r4;
array1[j]=1;
}
}
imgData.data[i]=r1;
imgData.data[i+1]=r2;
imgData.data[i+2]=r3;
imgData.data[i+3]=r4;
}
ctx.putImageData(imgData, 0, 0);
});
</script>
</body>
</html>
Fixed some errors.
A I
E-mail: ya12983 mail co m
Telephone number: (372) 6861327
[toc] | [prev] | [next] | [standalone]
| From | I A <he12457@hotmail.com> |
|---|---|
| Date | 2021-02-09 14:44 -0800 |
| Message-ID | <a271531b-9212-4e51-bdf6-b8a7a535766an@googlegroups.com> |
| In reply to | #12113 |
Gone through validator now.
<!DOCTYPE html>
<html lang="en">
<head>
<title>
Random colors to same colors.
</title>
</head>
<body>
<canvas id="canvas" width="244" height="251"></canvas>
<p></p>
<div style="display:none;">
<img id="aaaaa" alt="photo"
src="a2.jpg"
width="244" height="251">
</div>
<script>
var canvas = document.getElementById('canvas');
var ctx = canvas.getContext('2d');
var img = document.getElementById('aaaaa');
img.addEventListener('load', e => {
ctx.drawImage(img, 0, 0);
var imgData = ctx.getImageData(0, 0, canvas.width, canvas.height);
var array1=new Array(4*canvas.width*canvas.height);
for (var i = 0; i < array1.length; i++) {
array1[i]=0;
}
var r1=Math.round(Math.random()*255);
var r2=Math.round(Math.random()*255);
var r3=Math.round(Math.random()*255);
var r4=Math.round(Math.random()*255);
for (var i = 0; i < imgData.data.length; i += 4) {
if(array1[i]==1) continue;
var a1=imgData.data[i];
var a2=imgData.data[i+1];
var a3=imgData.data[i+2];
var a4=imgData.data[i+3];
var l1=Math.random();
if(l1<0.5) l1=-1;
else l1=1;
var l2=Math.random();
if(l2<0.5) l2=-1;
else l2=1;
var l3=Math.random();
if(l3<0.5) l3=-1;
else l3=1;
var l4=Math.random();
if(l4<0.5) l4=-1;
else l4=1;
r1=(Math.abs(a1+l1*Math.round(Math.random()*456)))%255;
r2=(Math.abs(a2+l2*Math.round(Math.random()*456)))%255;
r3=(Math.abs(a3+l3*Math.round(Math.random()*456)))%255;
r4=(Math.abs(a4+l4*Math.round(Math.random()*456)))%255;
for (var j = i+4; j < imgData.data.length; j += 4) {
if(array1[j]==1) continue;
if(a1==imgData.data[j]&&a2==imgData.data[j+1]&&a3==imgData.data[j+2]&&a4==imgData.data[j+3]) {
imgData.data[j]=r1;
imgData.data[j+1]=r2;
imgData.data[j+2]=r3;
imgData.data[j+3]=r4;
array1[j]=1;
}
}
imgData.data[i]=r1;
imgData.data[i+1]=r2;
imgData.data[i+2]=r3;
imgData.data[i+3]=r4;
}
ctx.putImageData(imgData, 0, 0);
});
</script>
</body>
</html>
But not doing what I want.
A I
E-mail: ya12983 mail co m
Telephone number: (372) 6861327
[toc] | [prev] | [next] | [standalone]
| From | Peter <peterxpercival@hotmail.com> |
|---|---|
| Date | 2021-02-10 16:59 +0000 |
| Message-ID | <s013ef$1bvi$2@gioia.aioe.org> |
| In reply to | #12114 |
I A wrote: > Gone through validator now. Good. > <!DOCTYPE html> > <html lang="en"> > <head> > <title> > Random colors to same colors. > [...] > > </script> > </body> > </html> > > > But not doing what I want. What do you want it to do? "Random colors to same colors." is barely comprehensible. -- When, once, reference was made to a statesman almost universally recognized as one of the villains of this century, in order to induce him to a negative judgment, he replied: "My situation is so different from his, that it is not for me to pass judgment". Ernst Specker on Paul Bernays
[toc] | [prev] | [next] | [standalone]
| From | I A <he12457@hotmail.com> |
|---|---|
| Date | 2021-02-10 09:11 -0800 |
| Message-ID | <98a4a3b8-54fa-43dc-a782-070c478f6b53n@googlegroups.com> |
| In reply to | #12133 |
Random colors to same colors on picture. Random colors do not need to be unique.... I A E-mail: ya12983 mail co m Telephone: 372 6861327
[toc] | [prev] | [next] | [standalone]
| From | David Brown <david.brown@hesbynett.no> |
|---|---|
| Date | 2021-02-11 12:59 +0100 |
| Message-ID | <s0366r$ge5$1@dont-email.me> |
| In reply to | #12133 |
On 10/02/2021 17:59, Peter wrote: > I A wrote: >> But not doing what I want. > > What do you want it to do? "Random colors to same colors." is barely > comprehensible. > Very little of what this fool writes is comprehensible - and even less is remotely relevant to programming. He has been asked many times, politely at first, to stick to programming threads written in a sensible manner - and then people will try to help him with his programming questions. Any effort you make into trying to understand what he wants, is wasted - he has no idea himself. Any effort you make into trying to help him is not just wasted, but counter-productive - it encourages to stay and pollute the group with his garbage (and we already have Amine for that). As always, I will welcome Kristjan (and Amine) if and when they agree to join this group instead of destroying it.
[toc] | [prev] | [next] | [standalone]
| From | Peter <peterxpercival@hotmail.com> |
|---|---|
| Date | 2021-02-10 20:05 +0000 |
| Message-ID | <s01eak$1224$2@gioia.aioe.org> |
| In reply to | #12106 |
Richard Heathfield wrote: > On 08/02/2021 22:43, Peter wrote: > > <snip> > >> But note that no one is obliged to help you, and (this is important) >> if you behave like an utter twat even people who are naturally >> predisposed to help may be unwilling to do so. > > You make an excellent point, but did making that point really require > you to quote 90 lines of code? That's a fair comment. I will try to mend my ways. > -- When, once, reference was made to a statesman almost universally recognized as one of the villains of this century, in order to induce him to a negative judgment, he replied: "My situation is so different from his, that it is not for me to pass judgment". Ernst Specker on Paul Bernays
[toc] | [prev] | [standalone]
Back to top | Article view | comp.programming
csiph-web