On Mon, Jun 20, 2022 at 4:59 AM Elijah Stone wrote:
> On Mon, 20 Jun 2022, Elijah Stone wrote:
> > meaning that the shape of the result from indexing could be any prefix of $y
>
> I am not thinking straight, and should go to bed. Could be any _suffix_ of y.
> Just reverse $x and $y, and I think t
You could simplify this to:
NB. android date example: Mon Jun 20 10:50:01 AZOST 2022
tz=: {{ 4 {:: cut shell 'date' }}
That looks cute -- one of the extensions added lately I'm not yet
familiar with.
More stuff to digest ...
If you wanted something portable, you could also add an IFJA b
On Mon, Jun 20, 2022 at 12:04 PM Martin Kreuzer wrote:
> This is the version I now use on my SONY Xperia Z3 Compact D5803
> running Android v4.4.4 (KitKat) ...
...
> tz=: {{
> NB. get Android date (e.g.: Mon Jun 20 10:50:01 AZOST 2022)
> ad=. shell 'date'
> NB. define Blank
> BL=. 32 { a.
All,
My code is not perfect, but the error I was noticing in trying to step
through the algorithm using the verbs f and diff were correct, BUT my
initial data in the noun raw was missing a starting SPACE. So the example
data was unsolvable. When I corrected the data, I was able to get an answer
wi
This bumpy workaround I'm going to share (in case somebody might be
interested) isn't meant to answer the original question of this
thread but helped me to fix the ported system_date_time functions for
my smartphone.
These I had defined for the use within a Windows PC environment,
mimicking t
Purists may object to the number representation in the 16x16 puzzle, in
the generalisation I've just posted;
numbers 1-16 are encoded as 1-g ! Clearly they could be "better" as
0-f. I don't know which is preferable!
I normally stick to a numeric output, involving no encoding.
NB - I haven't
I got confused trying to reconcile Roger’s wiki essay version and his earlier
(I think)
forum posting. So here’s a new attempt to generalise his algorithm starting
from the
wiki essay. I’ve assumed the input’s ravel is of length an exact fourth power,
n4;
n1, n2, n3 are the lower powers, an
On Mon, 20 Jun 2022, Elijah Stone wrote:
meaning that the shape of the result from indexing could be any prefix of $y
I am not thinking straight, and should go to bed. Could be any _suffix_ of y.
Just reverse $x and $y, and I think the formula I gave before holds.
--
On Mon, 20 Jun 2022, Elijah Stone wrote:
Actually, it needs to be a suffix. That's the issue.
7 9 ''}i.2 2
Thinking about the issue a little bit more: using an empty list for m, it
could have been intended as an array of k-indices for any k<$$y, meaning that
the shape of the result from
On Mon, 20 Jun 2022, Raul Miller wrote:
9 ''} i.2 2
Coincidentally, this was how my code originally looked. Then I needed x to be
a vector instead of a scalar, and the curtains fell.
Conceptually '' the shape of is a prefix of the shape of i.0 2:
Actually, it needs to be a suffix. T
It should probably be more relaxed.
9 ''} i.2 2
0 1
2 3
(i.0 2) ''} i.2 2
0 1
2 3
Conceptually '' the shape of is a prefix of the shape of i.0 2:
$9
$''
0
$i.0 2
0 2
So, it doesn't make sense that this would be a length error. If it
needs to be an error, it should be some other
11 matches
Mail list logo