Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Crunchy Pi

Received: by 10.68.134.225 with SMTP id pn1mr2750968pbb.7.1330991361205;
        Mon, 05 Mar 2012 15:49:21 -0800 (PST)
X-BeenThere: crunchy-discuss@googlegroups.com
Received: by 10.68.237.73 with SMTP id va9ls19610414pbc.4.gmail; Mon, 05 Mar
 2012 15:49:20 -0800 (PST)
Received: by 10.68.129.169 with SMTP id nx9mr19412440pbb.2.1330991360946;
        Mon, 05 Mar 2012 15:49:20 -0800 (PST)
Received: by 10.68.129.169 with SMTP id nx9mr19412439pbb.2.1330991360918;
        Mon, 05 Mar 2012 15:49:20 -0800 (PST)
Return-Path: <andre.robe...@gmail.com>
Received: from mail-pz0-f52.google.com (mail-pz0-f52.google.com [209.85.210.52])
        by gmr-mx.google.com with ESMTPS id 6si20341529pbg.2.2012.03.05.15.49.20
        (version=TLSv1/SSLv3 cipher=OTHER);
        Mon, 05 Mar 2012 15:49:20 -0800 (PST)
Received-SPF: pass (google.com: domain of andre.robe...@gmail.com designates 209.85.210.52 as permitted sender) client-ip=209.85.210.52;
Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of andre.robe...@gmail.com designates 209.85.210.52 as permitted sender) smtp.mail=andre.robe...@gmail.com; dkim=pass header...@gmail.com
Received: by mail-pz0-f52.google.com with SMTP id p12so5028487dad.39
        for <crunchy-discuss@googlegroups.com>; Mon, 05 Mar 2012 15:49:20 -0800 (PST)
Return-Path: <andre.robe...@gmail.com>
Received-SPF: pass (google.com: domain of andre.robe...@gmail.com designates 10.68.195.99 as permitted sender) client-ip=10.68.195.99;
Received: from mr.google.com ([10.68.195.99])
        by 10.68.195.99 with SMTP id id3mr54281839pbc.149.1330991360902 (num_hops = 1);
        Mon, 05 Mar 2012 15:49:20 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=mime-version:in-reply-to:references:date:message-id:subject:from:to
         :content-type;
        bh=SNPILyUhdUCMjx14bBA2/+Q6VvbiGxYDgsTQ2etamKk=;
        b=qGfmcKjngmT9i0+4kQEpQUBkaXddrmOgeCO767C1F9VZKgiJzKZQH/NqUw691gnfmM
         pGa9F21IQHhAzJDVqhDH2YkcQXY1LkC1UaxuJ3F2yGGEITm0oXANA/YLWJperHvyYTkI
         5iKYzTokYzuQ376rpS9HXB4rzdszU8yJ8oRO4Tu4HPkLgI85A2ppclCx7cSWXzrXPDgi
         aePcgiCEe9hcT8UuWqAvPXyX24txMW1LPtNHvRu5v4OiXCeE/v3NtLzBxGU1cZdo8ziq
         q9U7epmRwjFT00PHTYAEIOjGxK3wP/86+SKPqPy78GoK+Vzfx53L67CZpjGLdPqan0+d
         Y//w==
MIME-Version: 1.0
Received: by 10.68.195.99 with SMTP id id3mr46454527pbc.149.1330991360811;
 Mon, 05 Mar 2012 15:49:20 -0800 (PST)
Received: by 10.68.221.74 with HTTP; Mon, 5 Mar 2012 15:49:20 -0800 (PST)
In-Reply-To: <d34139bf-b7e3-4fdf-8cc4-155aec76a...@m2g2000vbc.googlegroups.com>
References: <b544f5cb-1f20-4419-8f3b-059ebbb02...@gw9g2000vbb.googlegroups.com>
	<15936296.1107.1330804584377.JavaMail.geo-discussion-forums@vbkc1>
	<d34139bf-b7e3-4fdf-8cc4-155aec76a...@m2g2000vbc.googlegroups.com>
Date: Mon, 5 Mar 2012 19:49:20 -0400
Message-ID: <CAGMu_=ozXKyLMNprQEazM8cm1HY9EXEXtixMsEEv_-b+_zG...@mail.gmail.com>
Subject: Re: [crunchy-discuss] Re: Crunchy Pi
From: Andre Roberge <andre.robe...@gmail.com>
To: crunchy-discuss@googlegroups.com
Content-Type: multipart/alternative; boundary=047d7b10c8d942a41e04ba8793d0

--047d7b10c8d942a41e04ba8793d0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On Mon, Mar 5, 2012 at 7:19 PM, dextrus <andy.b...@port.ac.uk> wrote:

> I'm impressed and a bit non-plussed! Talk about customer service!
>
> I'd obviously prefer you to make a change such as this.


Ok, I'll do it ... once I get a better idea of exactly how it should appear=
.


> I could hack
> it I suppose, but I don't know enough to do anything elegant and as
> you said, I'd then have a limited release distro and I want to see
> Crunchy on every Rpi.

No problem! ;-)


> However I'm concerned that having dismissed the
> idea, you would be willing to entertain the idea now albeit with
> caveats. I don't agree with your stance myself, but I think it should
> be discussed a bit more perhaps. In short, I feel a bit guilty now,
> and if anyone else is alive here, perhaps we could have a discussion
> about hidden code?


In some ways, Crunchy is "mature" ...  in that it does what it needs to do
and discussions (and development) are pretty much dead these days.  There's
been some interesting experiments done recently (i.e. someone taught a
course with Crunchy hosted on Amazon's cloud so that no install was
required from students) but nothing discussed on this list.

Now, as to hidden code...  Crunchy can be used by anyone to browse, and
execute, code found on the web.  In doing so, Crunchy breaks the sandbox
erected by the browser, and can execute arbitrary code ... even things like
"rm *"  (or "del *.*") with no safeguards other than requiring the user to
press either a button or "enter" to execute the code displayed on the
browser.

Imagine if one could hide some code (like "rm *) and have an unsuspecting
user execute it...

For this reason, I (mostly - with the help of others) went to great lengths
to ensure that no malicious code could be inserted and executed without the
Crunchy user getting the opportunity to see it first.


Note: In my perfect world, it wouldn't be hidden,
> but conditionally folded.. but my talks on the Geany forum and sniffs
> around Scintilla made me realize this isn't straight-forward at all.
>

Crunchy uses Editarea as its basic editor and Editarea does not support
code folding.   In my most recent project, I have moved away from using
Editarea, since it appears to be a bit stagnant (and sometimes buggy) and I
use Codemirror instead, which apparently support code
folding<http://codemirror.net/demo/folding.html>
.

Hidden code via code folding still gives, in theory, the opportunity to the
user to look at it first to ensure that no malicious code will be executed.
 So, I could certainly see this as being acceptable.  From a pedagogical
point of view, I understand perfectly the idea of hiding a whole mess of
code to a beginner so  that he/she can focus on the basics being displayed.

If you could give a more concrete example of what you'd like to see (a
proto-test page would be ideal), I could probably get a working prototype
in less than a day of coding.  These days, my schedule is rather flexible
so it should not be too difficult to find the time to do it - once I have a
better idea.


>
> I'll be in touch about the other subject!
>
Great.

>
> Thanks Andr=E9
>
> My pleasure! :-)

Andr=E9


> /Andy
>
> --
> You received this message because you are subscribed to the Google Groups
> "crunchy-discuss" group.
> To post to this group, send an email to crunchy-discuss@googlegroups.com.
> To unsubscribe from this group, send email to
> crunchy-discuss+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/crunchy-discuss?hl=3Den-GB.
>
>

--047d7b10c8d942a41e04ba8793d0
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<br><br><div class=3D"gmail_quote">On Mon, Mar 5, 2012 at 7:19 PM, dextrus =
<span dir=3D"ltr">&lt;<a href=3D"mailto:andy.b...@port.ac.uk">andy.bain@por=
t.ac.uk</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D=
"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I&#39;m impressed and a bit non-plussed! Talk about customer service!<br>
<br>
I&#39;d obviously prefer you to make a change such as this. </blockquote><d=
iv><br></div><div>Ok, I&#39;ll do it ... once I get a better idea of exactl=
y how it should appear.</div><div>=A0</div><blockquote class=3D"gmail_quote=
" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I could hack<br>
it I suppose, but I don&#39;t know enough to do anything elegant and as<br>
you said, I&#39;d then have a limited release distro and I want to see<br>
Crunchy on every Rpi. </blockquote><div>No problem! ;-)</div><div>=A0</div>=
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">However I&#39;m concerned that having dismis=
sed the<br>

idea, you would be willing to entertain the idea now albeit with<br>
caveats. I don&#39;t agree with your stance myself, but I think it should<b=
r>
be discussed a bit more perhaps. In short, I feel a bit guilty now,<br>
and if anyone else is alive here, perhaps we could have a discussion<br>
about hidden code? </blockquote><div><br></div><div>In some ways, Crunchy i=
s &quot;mature&quot; ... =A0in that it does what it needs to do and discuss=
ions (and development) are pretty much dead these days. =A0There&#39;s been=
 some interesting experiments done recently (i.e. someone taught a course w=
ith Crunchy hosted on Amazon&#39;s cloud so that no install was required fr=
om students) but nothing discussed on this list.</div>
<div><br></div><div>Now, as to hidden code... =A0Crunchy can be used by any=
one to browse, and execute, code found on the web. =A0In doing so, Crunchy =
breaks the sandbox erected by the browser, and can execute arbitrary code .=
.. even things like &quot;rm *&quot; =A0(or &quot;del *.*&quot;) with no sa=
feguards other than requiring the user to press either a button or &quot;en=
ter&quot; to execute the code displayed on the browser.</div>
<div><br></div><div>Imagine if one could hide some code (like &quot;rm *) a=
nd have an unsuspecting user execute it... =A0=A0</div><div><br></div><div>=
For this reason, I (mostly - with the help of others) went to great lengths=
 to ensure that no malicious code could be inserted and executed without th=
e Crunchy user getting the opportunity to see it first.</div>
<div><br></div><div><br></div><blockquote class=3D"gmail_quote" style=3D"ma=
rgin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Note: In my pe=
rfect world, it wouldn&#39;t be hidden,<br>
but conditionally folded.. but my talks on the Geany forum and sniffs<br>
around Scintilla made me realize this isn&#39;t straight-forward at all.<br=
></blockquote><div><br></div><div>Crunchy uses Editarea as its basic editor=
 and Editarea does not support code folding. =A0 In my most recent project,=
 I have moved away from using Editarea, since it appears to be a bit stagna=
nt (and sometimes buggy) and I use Codemirror instead, <a href=3D"http://co=
demirror.net/demo/folding.html">which apparently support code folding</a>.<=
/div>
<div><br></div><div>Hidden code via code folding still gives, in theory, th=
e opportunity to the user to look at it first to ensure that no malicious c=
ode will be executed. =A0So, I could certainly see this as being acceptable=
. =A0From a pedagogical point of view, I understand perfectly the idea of h=
iding a whole mess of code to a beginner so =A0that he/she can focus on the=
 basics being displayed.</div>
<div><br></div><div>If you could give a more concrete example of what you&#=
39;d like to see (a proto-test page would be ideal), I could probably get a=
 working prototype in less than a day of coding. =A0These days, my schedule=
 is rather flexible so it should not be too difficult to find the time to d=
o it - once I have a better idea.</div>
<div>=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;=
border-left:1px #ccc solid;padding-left:1ex">
<br>
I&#39;ll be in touch about the other subject!<br></blockquote><div>Great.=
=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;borde=
r-left:1px #ccc solid;padding-left:1ex">
<br>
Thanks Andr=E9<br>
<br></blockquote><div>My pleasure! :-)</div><div><br></div><div>Andr=E9</di=
v><div>=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8e=
x;border-left:1px #ccc solid;padding-left:1ex">
/Andy<br>
<div class=3D"im HOEnZb"><br>
--<br>
You received this message because you are subscribed to the Google Groups &=
quot;crunchy-discuss&quot; group.<br>
</div><div class=3D"HOEnZb"><div class=3D"h5">To post to this group, send a=
n email to <a href=3D"mailto:crunchy-discuss@googlegroups.com">crunchy-disc=
uss@googlegroups.com</a>.<br>
To unsubscribe from this group, send email to <a href=3D"mailto:crunchy-dis=
cuss%2Bunsubscribe@googlegroups.com">crunchy-discuss+unsubscribe@googlegrou=
ps.com</a>.<br>
For more options, visit this group at <a href=3D"http://groups.google.com/g=
roup/crunchy-discuss?hl=3Den-GB" target=3D"_blank">http://groups.google.com=
/group/crunchy-discuss?hl=3Den-GB</a>.<br>
<br>
</div></div></blockquote></div><br>

--047d7b10c8d942a41e04ba8793d0--