Sorry, I missed the quotes'
-Original Message-
From: [email protected]
[mailto:[email protected]] On Behalf Of Linda Alvord
Sent: Friday, January 25, 2013 2:28 AM
To: [email protected]
Subject: Re: [Jprogramming] List all alphanumeric c
Your latest, Zsban, is getting quite terse!
D=:'0:A[a{'
j=: 13 :'(~:/\a.e.y)#a.'
j D
0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
Linda
-Original Message-
From: [email protected]
[mailto:[email protected]] On Beh
This misses 0, A and a:
a.#~2|i.&0"1 a./:@,"0 _'09AZaz'
123456789BCDEFGHIJKLMNOPQRSTUVWXYZbcdefghijklmnopqrstuvwxyz
This misses 9, Z and z:
a.#~2|'09AZaz'i.&6@/:@,"#:a.
012345678ABCDEFGHIJKLMNOPQRSTUVWXYabcdefghijklmnopqrstuvwxy
Linda
-Original Message-
From: program
I'm happy you are back!
Always an opportunity to learn new things.
R.E. Boss
> -Oorspronkelijk bericht-
> Van: [email protected]
> [mailto:[email protected]] Namens Dan Bron
> Verzonden: donderdag 24 januari 2013 23:27
> Aan: programm...@js
On Thu, Jan 24, 2013 at 9:40 PM, Zsbán Ambrus wrote:
>a.#~2|a.i.&0@/:@,"{'09AZaz'
This one doesn't work correctly, so replace it by this.
a.#~2|a.i.&0@/:@,"{'/9@Z`z'
Ambrus
--
For information about J forums see http://ww
I have not yet successfully traced the substitutions of the power
operator, but why do you need it?
+:`(gfy 5 10 20)@.0 1
10 20 40
We find that rather than making a train from the agenda j actually makes
and evaluates a phrase.
> Date: Thu, 24 Jan 2013 18:29:36 -0500
> From: "Dan Bron"
> To:
This is primarily a question for Oleg, but I'm posting it here because I'm
hoping for an answer more quickly than he may be able to provide. It is in
regard to one of his pages on the J wiki:
http://www.jsoftware.com/jwiki/OlegKobchenko/Background%20Removal
The line I'm looking at is this one:
S
On Fri, Jan 25, 2013 at 11:46 AM, Tracy Harms wrote:
> This is primarily a question for Oleg, but I'm posting it here because I'm
> hoping for an answer more quickly than he may be able to provide. It is in
> regard to one of his pages on the J wiki:
>
> http://www.jsoftware.com/jwiki/OlegKobchenk
Tracy,
I am just guessing here.
You mention 1r5 and 2 but you don't mention the 10 in the maximizing
filter. But 10%2 = 5. I am puzzled also though because the moving
average of length 8 remove 4 items on each edge, too. So maybe the
resizing cannot and is not exact. But the sizing is pretty clos
David Ward Lambert asked:
> I have not yet successfully traced the substitutions of the
> power operator, but why do you need it?
Because ]^:(1:`(<'@.')) is a verb and @. is a conjunction.
Conjunctions are limited because their arguments are forever fixed. They
can't be changed at runtime.
I wrote:
> Check out the verb "dont", and try to reimplement
> it without the using ]^:(1:`(<'@.')) or
> something equally sneaky.
Of course I should have said try to reimplement it _tacitly_ without being
sneaky.
Of course you could wrap @. in an explicit verb (and so get the
reusabil
If explicit code is simpler than tacit, why use tacit for that case?
Thanks,
--
Raul
On Fri, Jan 25, 2013 at 2:19 PM, Dan Bron wrote:
> I wrote:
>> Check out the verb "dont", and try to reimplement
>> it without the using ]^:(1:`(<'@.')) or
>> something equally sneaky.
>
> Of course I sho
Raul wrote:
> If explicit code is simpler than tacit, why use tacit for that case?
First, tacit is an end in itself. Constrained writing can be a source of
great beauty. Have you ever enjoyed a haiku?
Second, for an example of the practical benefits of the tacit style, you
might be interested
Perfect, Brian, you've answered my question. I had not understood the
expanding effect of 10 on the filter, nor the relationship of 10%2 to
restore to the correct size.
The biggest thing I missed was that R *is* used. It's used in the final
calculation. I can explain how the inexact sizing on the
By a similar chain of logic, x f^:(0:`<'@.')) y ↔ [email protected] (independent of f) .
This argument is perhaps more compelling in the context of an algebra of
programs. It is analogous to proving y = (x^K) * y by setting K=0 rather than
forcing x to be 1, which feels a little uncomfortable. But hey,
Dan, most of the code in the z locale is explicit. What is the fundamental
value of explicit code?
Kip Murray
Sent from my iPad
On Jan 25, 2013, at 3:05 PM, "Dan Bron" wrote:
> Raul wrote:
>> If explicit code is simpler than tacit, why use tacit for that case?
>
> First, tacit is an end in
"Oh father, most of the world is lost in sin. What is the attraction of this
sin?"
Kidding. I'm traveling this weekend. I'll try to compose a serious response
when I return.
The short story is there is no "perfect style". The style you choose depends
on what you're trying to communicate. T
> I guess this is the final proof that given J and a sufficiently
> POWERful
> AGENDA, you can DO anything!
agenda=. ]^:(1:`(<'@.'))
(atop=. (<'@') agenda 0)
@
type 'agenda'
┌┐
│verb│
└┘
type 'atop'
┌───┐
│conjunction│
└───┘
(insert=. (<'/') agenda 0)
/
t
18 matches
Mail list logo