Yes! I have that book - thanks for reminding me!
On Thu, Feb 18, 2021 at 2:09 PM Ian Clark wrote:
> Cliff Reiter's book! Chapter Six! How could I have forgotten that?
>
> On Thu, 18 Feb 2021 at 19:00, Raoul Schorer
> wrote:
>
> > Devon,
> >
> > Check out the book:
> >
> > Fractals, visualizati
J902-release-b is available. This fixes bugs that have been reported over
the last few months.
As the upgrade is easy, it is recommended for all.
start J902
load'pacman'
'upgrade' jpkg 'jengine'
--
For information about J f
This is what I use for distances between conductors of a power line.
Self distances will be 0 but if needed they can be added (in my case
these would be conductor diameters)
'n,n array of distances between conductors '
' result =. dij (conductor positions as complex numbers )
dij=: |@ -/~
Cliff Reiter's book! Chapter Six! How could I have forgotten that?
On Thu, 18 Feb 2021 at 19:00, Raoul Schorer wrote:
> Devon,
>
> Check out the book:
>
> Fractals, visualization and J 4th edition 1&2
>
> You can find it on lulu.com and the pdf version is free, I think! The book
> uses a lib tha
Devon,
Check out the book:
Fractals, visualization and J 4th edition 1&2
You can find it on lulu.com and the pdf version is free, I think! The book
uses a lib that can be found in pacman and is full of examples: hexagons,
game of life and lots of cellular automata. I have it, and it really cool!
I think someone did a 3D version in APL quite a while ago but I have no
idea where it may have gotten to.
On Thu, Feb 18, 2021 at 12:19 PM Ian Clark wrote:
> @ Devon
> A hexagonal grid for game of Life sounds really fascinating! Even though
> it's been tried (and works fine):
> https://en.wikipe
@ Devon
A hexagonal grid for game of Life sounds really fascinating! Even though
it's been tried (and works fine):
https://en.wikipedia.org/wiki/Conway%27s_Game_of_Life#Variations
Unfortunately the illustration there is a gif, not a svg. Else it might
have given you a flying start with your hexagon
Yes, I'm sorry. Attachments used not to work – and then I thought I saw
evidence that they did.
I had actually given the link to its wiki page in my first post, but not
the full path:
https://en.wikipedia.org/wiki/SVG_animation#/media/File:Morphing_SMIL.svg
On Thu, 18 Feb 2021 at 15:24, Hauke Reh
Your point 3 is pretty good. Why don't you write something there?
Also, a FAQ page would be useful. The Guides page mentions FAQs but I
don't find them useful, though there are a lot of pages with FAQ in the
name. Consolidating this, and linking it from NuVoc and Guides, would
be a great se
It's documented under 'more information' in NuVoc:
https://code.jsoftware.com/wiki/Vocabulary/quotedot#dyadic
I imagine the *how* of finding it is reaching for monadic ".
and then being dissatisfied with it, through a process like
1. I want to receive a string and turn it into a number.
".'1
Thanks for all the suggestions. I have been using J's "plot" for hexagons
lately - see
https://code.jsoftware.com/wiki/NYCJUG/2021-02-09#Drawing_a_Hexagonal_Grid#Adding_Layers
- but wanted to see if I could implement JH Conway's game of life on a
hexagonal grid so "plot" does not cut it for this.
Well, both your advices work as predicted.
I did not think readcsv would handle the double quotes in an appropriate way,
but that I didn't try it is worse.
And 0&". is a superb trick, where did you find that?
Thanks.
R.E. Boss
-Original Message-
From: Programming On Behalf Of Ric
She
otoh, an embedded URL, like this [1],
pointing to the SVG, would do just fine
[1] https://en.wikipedia.org/wiki/URL
Am 18.02.21 um 16:24 schrieb Hauke Rehr:
> the attachment didn’t make it through
> I got used to just adding a .txt extension
> and it usually works with non-binary stuff
> (or at l
the attachment didn’t make it through
I got used to just adding a .txt extension
and it usually works with non-binary stuff
(or at least txt-like mime types)
I even managed to get pdfs through that way,
iirc.
Am 18.02.21 um 16:15 schrieb Ian Clark:
> Glad to find enthusiasts for SVG – I thought mi
Glad to find enthusiasts for SVG – I thought mine was a minority interest.
And thanks Bill for letting me know there's a dedicated SVG widget: svgview.
Long time since I played with isigraph/isidraw. I recall a html widget in
Qt, of limited capability, and didn't expect it to handle SVG too. But
w
Okay, given it’s that easy, don’t do preprocessing
if you have homogeneous files from this one source only.
IIUC, it should now suffice to
, _2 {.\ 0&".;._1 LINE
(if you won’t ever have 0s, you can simplify)
Am 18.02.21 um 14:37 schrieb Ric Sherlock:
> Actually 0&". Seems to convert number str
Actually 0&". Seems to convert number strings containing commas OK.
0 ". > '123,555';'253,562.26'
123555 253562
On Fri, 19 Feb 2021, 02:27 Ric Sherlock, wrote:
> My initial reaction is that the tables/csv add on should read those OK,
> the issue will be converting the number strings in the c
My initial reaction is that the tables/csv add on should read those OK, the
issue will be converting the number strings in the cells to numbers.
If there are no meaningful commas other than the field delimiters, couldn't
you use -.&','each after readcsv to remove them?
Alternatively:
TAB fixdsv
Oops!
Sent from my iPad
> On 18 Feb 2021, at 11:38, R.E. Boss wrote:
>
> In my first message (far below) I wrote:
>
I could only find it in \j64-602\addons\tables\csvedit
>
>
> R.E. Boss
>
>
> -Original Message-
> From: Programming On Behalf Of
> 'Michael Day' via Programm
Thnx anyway.
R.E. Boss
-Original Message-
From: Programming On Behalf Of R.E.
Boss
Sent: donderdag 18 februari 2021 12:38
To: programm...@jsoftware.com
Subject: Re: [Jprogramming] csvedit
In my first message (far below) I wrote:
>>> I could only find it in \j64-602\addons\tables\cs
In my first message (far below) I wrote:
>>> I could only find it in \j64-602\addons\tables\csvedit
R.E. Boss
-Original Message-
From: Programming On Behalf Of
'Michael Day' via Programming
Sent: donderdag 18 februari 2021 12:30
To: programm...@jsoftware.com
Subject: Re: [Jprogrammi
Sorry, I used the kind of regex I’m used to from vim,
and they do not necessarily work with sed, or perl, or
whatever. (But usually, the differences are small.)
Tools like sed (or awk, etc.) really help with this kind of task.
It is simple, and this tool tells us simple problems
like this do have
I keep too many old versions of J - it turns out I have csvedit.ijs for
J version 6.02.
It's accompanied by help.html, and testX.csv, where X e. ' ' cut '1
1a 2 3 4 5 6'
as well as the manifest and history. The script and txt files are dated
3/Aug/2007,
the csv files 7/Jan/2007 .
I've no
A broker in the US.
If I wanted to change the world, I would not start there. 😉
R.E. Boss
-Original Message-
From: Programming On Behalf Of Hauke
Rehr
Sent: donderdag 18 februari 2021 12:08
To: programm...@jsoftware.com
Subject: Re: [Jprogramming] csvedit
On second thought, though: W
On second thought, though: Who created that file?
If you know there may be commas in your numbers,
don’t export to a dsv where the delimiter is the comma.
You may choose any sign whatsoever.
(But it’s wise to stay with any of the more common ones.)
I think it’s a design flaw in the export of the c
That's what I'm doing right now.
R.E. Boss
-Original Message-
From: Programming On Behalf Of bill
lam
Sent: donderdag 18 februari 2021 11:59
To: Programming forum
Subject: Re: [Jprogramming] csvedit
I think it is easier to read them as string and then do some post-processing in
J.
Unfortunately, I don't read regex(?)
R.E. Boss
-Original Message-
From: Programming On Behalf Of Hauke
Rehr
Sent: donderdag 18 februari 2021 12:01
To: programm...@jsoftware.com
Subject: Re: [Jprogramming] csvedit
do you count
s/\(\d\),\(\d\)/\1\2/g
s/"//g
as a lot of tailor made pre-
do you count
s/\(\d\),\(\d\)/\1\2/g
s/"//g
as a lot of tailor made pre-processing?
(I assume the /numbers/ are quoted,
not the separators which would make
it even simpler: s/","//g)
Am 18.02.21 um 11:55 schrieb R.E. Boss:
> Actually, my question is: I have a comma separated file which contains
>
I think it is easier to read them as string and then do some
post-processing in J.
On Thu, Feb 18, 2021 at 6:55 PM R.E. Boss wrote:
> Actually, my question is: I have a comma separated file which contains
> numbers with a comma as thousands separator, enclosed between double quotes
> (").
> How
Actually, my question is: I have a comma separated file which contains numbers
with a comma as thousands separator, enclosed between double quotes (").
How can I read these, without doing a lot of tailor made pre-processing?
R.E. Boss
-Original Message-
From: Programming On Behalf Of
I think this addon depends on another grid addon which had been decommited
many years ago.
On Thu, Feb 18, 2021, 6:22 PM R.E. Boss wrote:
>
> Where has https://code.jsoftware.com/wiki/Addons/tables/csvedit gone?
> I could only find it in \j64-602\addons\tables\csvedit
>
>
> R.E. Boss
>
Where has https://code.jsoftware.com/wiki/Addons/tables/csvedit gone?
I could only find it in \j64-602\addons\tables\csvedit
R.E. Boss
--
For information about J forums see http://www.jsoftware.com/forums.htm
32 matches
Mail list logo