Re: [Jprogramming] CS Jokes (was Re: Functors in mathematics, Haskell and an example in J)

2012-04-12 Thread Raul Miller
2012/4/12 Björn Helgason : > The empties do not behave the same > >    0^0 > 1 Not an empty >   a:='' > >   a:=i.0 > >    (i.0)^i.0 > >    ('')^('') > No behavioral difference on empties. >   0%0 > 0 Not an empty. >   0%i.0 > >    (i.0)%i.0 > No behavioral difference on empties. >    (a:)%(

Re: [Jprogramming] CS Jokes (was Re: Functors in mathematics, Haskell and an example in J)

2012-04-11 Thread Björn Helgason
2012/4/4 Jose Mario Quintana > They both know that there is precisely 0^0 function with the empty set as > its domain and codomain. > The empties do not behave the same 0^0 1 a:='' a:=i.0 (i.0)^i.0 ('')^('') 0%0 0 0%i.0 (i.0)%i.0 (a:)%(a:) |domain error |

Re: [Jprogramming] CS Jokes (was Re: Functors in mathematics, Haskell and an example in J)

2012-04-11 Thread Raul Miller
On Wed, Apr 11, 2012 at 8:14 AM, Viktor Cerovski wrote: > type information is not stored anywhere, at least not in J/Haskell/LISP. Type information is stored somewhere, in any computer language implementation that deals with the storage of different types of information. It might be stored in di

Re: [Jprogramming] CS Jokes (was Re: Functors in mathematics, Haskell and an example in J)

2012-04-11 Thread Viktor Cerovski
Raul Miller-4 wrote: > > On Tue, Apr 3, 2012 at 2:49 PM, Viktor Cerovski > wrote: >> I've counted 4 contradictions: >>  1) 1d empty array, > > That's not a contradiction. '' is an example of a 1d empty array. > i.0 is another example > >>  2) empty array of numbers, > > That would be an arr

Re: [Jprogramming] CS Jokes (was Re: Functors in mathematics, Haskell and an example in J)

2012-04-11 Thread Viktor Cerovski
From: Edward Mokurai Cherlin > Sent: Tuesday, April 03, 2012 7:20 PM > To: Programming forum > Subject: Re: [Jprogramming] CS Jokes (was Re: Functors in mathematics, > Haskell and an example in J) > > > On Tue, April 3, 2012 6:24 pm, neit...@gaertner.de wrote: >> RM&

Re: [Jprogramming] CS Jokes (was Re: Functors in mathematics, Haskell and an example in J)

2012-04-05 Thread PMA
Recalling dimly from "Night at the Opera"(?): Boatswain: "Have you seen ?" Groucho: "Saw him climbing the mizzen mast." Boatswain: "We don't have a mizzen mast." Groucho: "Must have been somebody else." Jose Mario Quintana wrote: >> http://en.wikipedia.org/wiki/Empty_function > > The man at

Re: [Jprogramming] CS Jokes (was Re: Functors in mathematics, Haskell and an example in J)

2012-04-05 Thread Jose Mario Quintana
> http://en.wikipedia.org/wiki/Empty_function The man at the airport after giving her a big hog and an ardent kiss – My love, you have no idea how much I have missed you! The stunning and stunned woman – I do not know you! The man quickly walking away – I do not know you either! It must have bee

Re: [Jprogramming] CS Jokes

2012-04-05 Thread Devon McCormick
Unfortunately, I didn't abandon my impulse to improve the VBS and wasted several hours generalizing it. At least it has a real work application. On Thu, Apr 5, 2012 at 1:45 PM, Steven Taylor wrote: > even in humble much maligned vb this could be expressed better.  A > recursive definition would

Re: [Jprogramming] CS Jokes

2012-04-05 Thread Steven Taylor
even in humble much maligned vb this could be expressed better. A recursive definition would be better. You do find lots of horrible examples in the scripty type languages. re: interpreted V's compiled: APL isn't as reliant on compilation because it doesn't have to interpret very often (i.e. who

Re: [Jprogramming] CS Jokes

2012-04-05 Thread Joey K Tuttle
Charming exposition. Thanks for sharing it! On 2012/04/05 08:09 , Devon McCormick wrote: > Yes - but not necessarily funny ones: moot.aplwiki.com/BeyondCompilation . -- For information about J forums see http://www.jsoftware.com/

Re: [Jprogramming] CS Jokes

2012-04-05 Thread Devon McCormick
Yes - but not necessarily funny ones: moot.aplwiki.com/BeyondCompilation . On Thu, Apr 5, 2012 at 8:57 AM, Edward Mokurai Cherlin wrote: > On Wed, April 4, 2012 12:18 am, Devon McCormick wrote: >> So, the joke that paragraph doesn't contain, is it about what empty >> arrays those other languages

Re: [Jprogramming] CS Jokes

2012-04-05 Thread Edward Mokurai Cherlin
On Wed, April 4, 2012 12:18 am, Devon McCormick wrote: > So, the joke that paragraph doesn't contain, is it about what empty > arrays those other languages don't have? Well played. More precisely, what jokes other programming languages are. ^_^ > On Tue, Apr 3, 2012 at 9:49 PM, Edward Mokurai Ch

Re: [Jprogramming] CS Jokes

2012-04-03 Thread Devon McCormick
So, the joke that paragraph doesn't contain, is it about what empty arrays those other languages don't have? On Tue, Apr 3, 2012 at 9:49 PM, Edward Mokurai Cherlin wrote: ... > The next paragraph does not contain any jokes. The one after does. > > It is very easy to prove that any computable func

[Jprogramming] CS Jokes

2012-04-03 Thread Edward Mokurai Cherlin
Not the exact article you are looking for, but in the genre: http://www.jsoftware.com/papers/eem/Empty_Array_Jokes.htm Some recent contributions: http://www.jsoftware.com/papers/APLQA.htm#empty_array On Tue, Apr 3, 2012 at 9:36 AM, Raul Miller wrote: > On Mon, Apr 2, 2012 at 6:51 AM, Edward M

Re: [Jprogramming] CS Jokes (was Re: Functors in mathematics, Haskell and an example in J)

2012-04-03 Thread Jose Mario Quintana
Sent: Tuesday, April 03, 2012 7:20 PM To: Programming forum Subject: Re: [Jprogramming] CS Jokes (was Re: Functors in mathematics, Haskell and an example in J) On Tue, April 3, 2012 6:24 pm, neit...@gaertner.de wrote: > RM> Is that two page article of empty array jokes available anywher

Re: [Jprogramming] CS Jokes (was Re: Functors in mathematics, Haskell and an example in J)

2012-04-03 Thread Edward Mokurai Cherlin
On Tue, April 3, 2012 6:24 pm, neit...@gaertner.de wrote: > RM> Is that two page article of empty array jokes available anywhere > RM> online? > > Yes. I've attached a copy. An empty copy? ^_^ I didn't see an attachment. > Martin

Re: [Jprogramming] CS Jokes (was Re: Functors in mathematics, Haskell and an example in J)

2012-04-03 Thread Jose Mario Quintana
...@gmail.com] Sent: Tuesday, April 03, 2012 3:07 PM To: Programming forum Subject: Re: [Jprogramming] CS Jokes (was Re: Functors in mathematics, Haskell and an example in J) Not the exact article you are looking for, but in the genre: http://www.jsoftware.com/papers/eem/Empty_Array_Jokes.htm Some recent

Re: [Jprogramming] CS Jokes (was Re: Functors in mathematics, Haskell and an example in J)

2012-04-03 Thread neitzel
RM> Is that two page article of empty array jokes available anywhere RM> online? Yes. I've attached a copy. Martin -- For information about J forums see htt

Re: [Jprogramming] CS Jokes (was Re: Functors in mathematics, Haskell and an example in J)

2012-04-03 Thread Raul Miller
On Tue, Apr 3, 2012 at 2:49 PM, Viktor Cerovski wrote: > I've counted 4 contradictions: >  1) 1d empty array, That's not a contradiction. '' is an example of a 1d empty array. i.0 is another example >  2) empty array of numbers, That would be an array which contains no numbers, yes? Actually

Re: [Jprogramming] CS Jokes (was Re: Functors in mathematics, Haskell and an example in J)

2012-04-03 Thread Roger Hui
Not the exact article you are looking for, but in the genre: http://www.jsoftware.com/papers/eem/Empty_Array_Jokes.htm Some recent contributions: http://www.jsoftware.com/papers/APLQA.htm#empty_array On Tue, Apr 3, 2012 at 9:36 AM, Raul Miller wrote: > On Mon, Apr 2, 2012 at 6:51 AM, Edward M

Re: [Jprogramming] CS Jokes (was Re: Functors in mathematics, Haskell and an example in J)

2012-04-03 Thread Viktor Cerovski
Edward Mokurai wrote: > I wrote another joke of this kind in APL News once long ago, > concerning a utility for printing sideways on fan-fold paper. It is > not difficult to prove that any computable function can be written in > one line of APL, and this provided a way of printing it. A single b

Re: [Jprogramming] CS Jokes (was Re: Functors in mathematics, Haskell and an example in J)

2012-04-03 Thread Raul Miller
On Mon, Apr 2, 2012 at 6:51 AM, Edward Mokurai Cherlin wrote: > This is the sort of thing that got me my own entry in Stan > Kelly-Bootle's Computer Contradictionary, along with a two-page > article consisting entirely of empty array jokes for use in teaching, > as suggested by Jim Brown, then of

Re: [Jprogramming] CS Jokes (was Re: Functors in mathematics, Haskell and an example in J)

2012-04-02 Thread Jose Mario Quintana
e directly the expression without any pronouns. ________ From: programming-boun...@jsoftware.com [programming-boun...@jsoftware.com] on behalf of Roger Hui [rogerhui.can...@gmail.com] Sent: Monday, April 02, 2012 10:15 AM To: Programming forum Subject: Re: [Jprogram

Re: [Jprogramming] CS Jokes (was Re: Functors in mathematics, Haskell and an example in J)

2012-04-02 Thread Jose Mario Quintana
er Hui [rogerhui.can...@gmail.com] Sent: Monday, April 02, 2012 10:15 AM To: Programming forum Subject: Re: [Jprogramming] CS Jokes (was Re: Functors in mathematics, Haskell and an example in J) http://www.jsoftware.com/jwiki/Essays/Covert%20Representation On Mon, Apr 2, 2012 at 3:51 AM, Edward Mo

Re: [Jprogramming] CS Jokes (was Re: Functors in mathematics, Haskell and an example in J)

2012-04-02 Thread Roger Hui
http://www.jsoftware.com/jwiki/Essays/Covert%20Representation On Mon, Apr 2, 2012 at 3:51 AM, Edward Mokurai Cherlin < moku...@sugarlabs.org> wrote: > On Sun, April 1, 2012 2:51 pm, Raul Miller wrote: > > P.S. after reading your example and seeing that you > > using the shape (with a prefix of

[Jprogramming] CS Jokes (was Re: Functors in mathematics, Haskell and an example in J)

2012-04-02 Thread Edward Mokurai Cherlin
On Sun, April 1, 2012 2:51 pm, Raul Miller wrote: > P.S. after reading your example and seeing that you > using the shape (with a prefix of 0) to hold the data > I am wondering if this was meant to be an april fool's > joke? I have observed that it is possible, in a hypothetical way, to represent