Maybe you'll like this.
f=: 13 :'y >.(1 |. 2 = y)*+:y'
f 1 2 3 2 2 4 2
2 2 6 4 2 8 2
f
] >. +: * 1 |. 2 = ]
Linda
-Origina
l Messae-
From: programming-boun...@forums.jsoftware.com
[mailto:programming-boun...@forums.jsoftware.com] On Behalf Of Aai
Sent: Wednesday,
Once this worked, I separated data arrays form functions and gave names to the
steps. If you save this script it will generate random seets of date and
product an appropriate stemplot. Scroll back in the terminal or jijx to see
how it was built.
NB.D=:/:~115 77 77 114 108 116 77
D=:/:~ (>:?1
ijconsole is not the official jconsole and it looks for libj.so.8.0.1
under /usr/lib/... I forgot the detail but I might compile it
with linenoise ( https://github.com/antirez/linenoise )
libjqt.so will look for libj.so, in your case, there should be
some file unable to load, you may try strace op
Here's a hack for enabling tab name completion in jhs:
Paste this into your javascript console, and then start typing an
identifier and hit tab for it to complete and then ENTER to get to the end
of line.
Future versions could cycle through options on tab or show a little inline
popup to choose t
I ran jqt as a regular user. I had to use root, though, to install the
qtide, and to inspect the operating system's view of the mapped files.
In /usr/.ib/x86_64-linux-gnu/ I see:
/usr/lib/x86_64-linux-gnu/libjqt.so
/usr/lib/x86_64-linux-gnu/libj.so.8.0.1
I do not see the link libj.so. I can crea
Sorry for confusion, with reference to libreadline, I assumed
your context was jconsole not jqt. Also linux jconsole might
already swtiched to libedit to avoid GPL restriction.
Thank you for correcting the package name for jlang. install'qtide'
might not intatll binaries to the correct places for
That's an interesting question.
I took a look at my windows installation of j64-801 and did not find any
reference to libreadline. I think it was used in older jconsoles.
So I went to a linux box and installed j64-801 (using the j801_amd64.deb).
As root:
apt-get install libqtcore4 libqtgui4 libq
I suspect J engine does not know the image address of libreadline that jconsole
had loaded without some hacking. Whether 15!:0 will load the shared object
into a different address or use the same image address, I don't know.
Or was libreadline static linked?
On 17.05.2014, at 1:00, Raul Miller
Yes, I tried it and it worked.
-Original Message-
From: programming-boun...@forums.jsoftware.com
[mailto:programming-boun...@forums.jsoftware.com] On Behalf Of Kip Murray
Sent: Friday, May 16, 2014 10:00 AM
To: programm...@jsoftware.com
Subject: Re: [Jprogramming] Stemplot
Did you noti
I "think" I am getting closer to a better model. So thanks especially to
Joe and Ric. My suspicion is that the initial positions of the turtles were
set by -z values when they should have been +z values and the pitch
adjustment (pt in the code) was negative relative to the desired pitch
adjustment
It might also be possible to do using 15!: and libreadline c api?
I am not sure, I've not tried that so do not know what obstacles you would
encounter?
Thanks,
--
Raul
On Fri, May 16, 2014 at 10:26 AM, bill lam wrote:
> Almost all sm cmd had been removed because qtide is now written in c++.
My understanding of JD is that its like JDB which is like a relational
database. Relational databases typically return flat structures. If the
query is returning a flat array (table of data) then converting to JSON
should be greatly simplified.
I may suggest that JSON may not be the right format f
Playing around with the online JSON displayer at
http://json.bloople.net/#_output , I see that the problem goes both ways:
there are JSON objects not directly representable in J - like heterogeneous
vectors - and J arrays not directly representable in JSON - like matrixes,
complex and rational numb
I would represent you data using ordinal fraction like this:
10 English
11 Write your name
12 Options
20 Svenska
21 Skriv ditt namn
31 Inställningar
The ordinal fraction algebra is described here:
http://www.statemaster.com/encyclopedia/Ordinal-fraction
Hälsning, Bo.
Den 9:04 fredag den 16. m
In case it's not clear, the initial table uses the tab character (9{a. or
"TAB") to delimit columns.
On Fri, May 16, 2014 at 10:39 AM, Devon McCormick wrote:
> I don't understand what your purpose is for these lists, but, as they seem
> to be aligned with each other, a table would seem a more na
I don't understand what your purpose is for these lists, but, as they seem
to be aligned with each other, a table would seem a more natural
representation.
For instance:
'whlang translations'=: ({.,&<}.) <;._1&>TAB,&.><;._2]0 : 0
English Svenska
Write your name Skriv ditt namn
Options Inställni
Almost all sm cmd had been removed because qtide is now written in c++.
Hotkey binding are also hardcoded using c++ IIRC. Therefore I suspect name
completion is doable but it needs to be done by working on qtide c++ source.
On May 16, 2014 9:29 PM, "Andrew Nikitin" wrote:
> In J602 wd environmen
Did you notice I had _ 1 _ while you had _1 _ ?
On Friday, May 16, 2014, Linda Alvord wrote:
> I got this far:
>
>S=:2 2 2 3 4
>L=:3 4 8 3 7
>
>le2=: 13 :'(=x) ([: ": #)"_1 y'
>S le2 L
> |length error: le2
> | S le2 L
> |[-4] c:\users\owner\j801-user\temp\137.ij
In J602 wd environment I use name completion a lot (
http://www.jsoftware.com/jwiki/AndrewNikitin/namecomplete ) and got used to it
quite a bit.
It uses sm* family of verbs to extract partial name to the left of the cursor,
look up matching names in current and path locales and complete it.
Thi
I got this far:
S=:2 2 2 3 4
L=:3 4 8 3 7
le2=: 13 :'(=x) ([: ": #)"_1 y'
S le2 L
|length error: le2
| S le2 L
|[-4] c:\users\owner\j801-user\temp\137.ijs
But missed the second _
le2=: 13 :'(=x) ([: ": #)"_1 _ y'
S le2 L
3 4 8
3
7
T
I have some questions:
(*) Are you guaranteed that these lists will always be the same length?
(*) Are you guaranteed that the entries will always be in order, with no
missing values?
(*) Is it possible that your text will have the delimiter (';' in this
case) in the entries?
(*) Do you care ab
Hi!
I have 2 or more lists of substantives. The lists must be as simple as
possible, since they are done
by a translator not familiar with computer languages.
From the lists I want to get a boxed matrix.
The numbers in each line of the list are only for reference purposes,
since the lists
are no
22 matches
Mail list logo