Code we're not proud of is all too often needed and necessary.
(Not always with the best consequences, but... room for improvement...)
--
Raul
On Sat, Dec 23, 2023 at 6:43 AM Ewart Shaw wrote:
>
> See also this post from September:
>
Yes, there are infinities of these tiles.
https://static.scientificamerican.com/sciam/assets/Image/2023/saw0124Kapl47_d.jpg
illustrates some of the continuum (with the caveat that Tile(0,1),
Tile(1,0) and Tile(1,1) are exceptional and also support periodic
tiling though also a variant of
It's possible that some here would (a) be interested in this topic and
(b) not be aware, yet, of this article on the subject:
https://www.scientificamerican.com/article/inside-mathematicians-search-for-the-mysterious-einstein-tile/
No J code, at the moment, though that might be fun.
FYI,
--
When you get a failure like this, you should start by checking your edge cases.
For example, line 22 (index 21) in your c contains no '#' characters.
--
Raul
On Tue, Dec 12, 2023 at 9:30 PM David Lambert wrote:
>
> My program correctly scores the example. Which indexes from my data set
> are
https://adventofcode.com/2023/day/5 is where MAPS came from.
--
Raul
On Sun, Dec 10, 2023 at 12:32 AM Devon McCormick wrote:
>
> OK - looks interesting - what's MAPS?
>
> On Sat, Dec 9, 2023 at 8:46 PM David Lambert wrote:
>
> > /:~&.>&.(1&{)"1 MAPS
> >
>./ | +. (mis/"2 - simp/"2) w{test NB. max deviation of real and
> imaginary parts
> 1.23179e_13 6.36111e_15
>
> This can likely be simplified more if it's meant to work only on 2D vectors.
>
> I guess this one is a good reminder that having a concise languag
Given a J expression:
0j_180p_1*^.@(j.-.&.*:)@(+/ .*)&(% +/&.:*:)
(1) Describe its purpose, and
(2) Use that to simplify the expression.
Here, the biggest hurdle is extracting the purpose from even a short
bit of code. I'm not sure that extracting purpose from code is
particularly viable in
r 'now', but it was a placeholder name anyway. Why 'Y:'?
>
> On Sun, 13 Aug 2023, Raul Miller wrote:
>
> > On Sun, Aug 13, 2023 at 1:55 AM Elijah Stone wrote:
> >> I will note that, with my proposed n:, this would be trivial: (0&, +
> >> ,&0)^:(2&^ n:)@1
> >
On Sun, Aug 13, 2023 at 1:55 AM Elijah Stone wrote:
> I will note that, with my proposed n:, this would be trivial: (0&, +
> ,&0)^:(2&^ n:)@1
I'm not sure I remember your proposal, but I imagine that Y: would be
a better name (for what I think this would be doing) than n:
(If x: was not
One approach:
nt=:(!~ i.@>:)@^~&2
Less efficient:
ntt=:(0&, + ,&0)^:(2&^`1:)
(In both cases, it's about taking advantage of definitions, rather than
merely rearranging operations.)
I hope this helps,
--
Raul
On Sat, Aug 12, 2023 at 7:02 PM 'Nollaig MacKenzie' via Chat <
c...@jsoftware.com>
https://www.youtube.com/watch?v=f4s1h2YETNY
This is a pretty good introduction to how to build fragment shaders.
Shader programming has some significant similarities to J programming.
However, it's also constrained in some ways that J is not, and also
borrows from scalar programming in some
In case we need some visual puns:
Blue Jay https://ebird.org/species/blujay
Green Jayhttps://ebird.org/species/grnjay
Brown Jayhttps://ebird.org/species/brnjay
Purplish Jay https://ebird.org/species/purjay1
Turquoise Jayhttps://ebird.org/species/turjay1
Azure Jay
liked the file system you get with this site, so there could be
> convenience for someone looking to work with files on the web.
>
> Luke D
>
> On Fri, Jun 9, 2023 at 7:28 AM Raul Miller wrote:
>
> > Today I stumbled over replit. (http:repl.it for example.)
> >
> &g
Today I stumbled over replit. (http:repl.it for example.)
It's... something of a curiosity.
Specifically, it supports J (jconsole) in the browser... sort of, in a
sort of "traditional ide" fashion. (You can create an account and sign
in if you have a google or github account and you are willing
And, a related question:
I am told that the android implementation of J is missing standard
verbs like (do) and (rplc). But I do not know why.
Is there documentation on this issue somewhere?
Thanks,
--
Raul
On Sat, Jun 3, 2023 at 1:46 AM Michael Dykman wrote:
>
> Greetings J-community,
>
>
It's difficult for me to see how your recent posts are related to each other.
Possibly these are topics worth blogging about, but I don't have the
energy to try researching them all, myself. Especially in the time
available to me, today.
--
Raul
On Sun, Mar 5, 2023 at 3:13 PM Donna Ydreos
That meant little or nothing to me, as I didn't have the necessary
background. So, I took it as a search term.
One of the writeups on that disaster had this to say:
---
In 1995, geological engineer J. David Rogers concluded in his book,
The St. Francis Dam Disaster Revisited, that
Last year, the rosettacode forums migrated to miraheze hosting, and in
the process, the "tasks not implemented in J" report was lost.
Recently, a kind soul re-implemented a mechanism to find these task
pages which works at miraheze, and now
https://rosettacode.org/wiki/Tasks_not_implemented_in_J
Also, to extract unicode characters as single elements of an array, I
would use 9 u:
#9 u:a.{~40 32 205 161 194 176 32 205 156 202 150 32 205 161 194 176 41
11
,.9 u:a.{~40 32 205 161 194 176 32 205 156 202 150 32 205 161 194 176 41
(
͡
°
͜
ʖ
͡
°
)
(However, when writing to a file, I'd
Hmm...
0j10":(^6),:+/1p4 1p5
403.4287934927
403.4287758193
That is pretty close.
Thanks,
--
Raul
On Sat, Jan 14, 2023 at 4:53 PM David Lambert wrote:
>
> (^6)-+/1p4 1p5
>
> --
> For information about J forums see
gt; about:
> qid=: -: */@q:
>
> On 2022-12-31 at 2:26 PM, "Raul Miller" wrote:*/7 17 17
> 2023
>#~.}:_816]1633}.0j1e6":1r2023
> 1
>
> --
> Raul
> --
> For informati
*/7 17 17
2023
#~.}:_816]\1633}.0j1e6":1r2023
1
--
Raul
--
For information about J forums see http://www.jsoftware.com/forums.htm
I don't know about naming here, but if you are going to attempt
searching on numeric results, you might want something more precise
than ^^. to obtain a decimal representation.
For example:
0j16 ": 851897554247r254074700880
3.3529412857573449
I hope this helps,
--
Raul
On Mon, Dec 26, 2022
in some introductory material on the
> wiki.
>
> On Sun, 18 Dec 2022, Raul Miller wrote:
>
> > I was looking over https://rosettacode.org/wiki/Gotchas#J today, and
> > wondering if that writeup was missing anything important.
> >
> > It occurs to me that other peo
I was looking over https://rosettacode.org/wiki/Gotchas#J today, and
wondering if that writeup was missing anything important.
It occurs to me that other people might have better perspectives on
this, than I do.
Does anyone here see anything important that got overlooked?
Thanks,
--
Raul
Oops, I said (-: /:) when I should have said (-:/:~)@,
(And, (-:/:~)@,"0 for comparing individual boxed strings.)
Very, very different concepts.
I hope I did not confuse anyone there, but I probably did.
--
Raul
On Sat, Dec 10, 2022 at 3:18 PM Raul Miller wrote:
>
> Compar
Comparing strings is different from comparing characters.
One approach would be to compare boxed strings -- this would require
using the (-: /:) mechanism. Or, perhaps (-: /:)"0 depending on the
desired result.
Another approach would compare character lists. This would require
they be the same
On Fri, Dec 9, 2022 at 2:22 PM Jimmy Gauvin wrote:
> the domain of < and others could be extended to include characters.
That is true.
But is it a good idea?
(A case could be made that the error messages are useful in catching
problems where the programmer thought they were comparing numbers
For what it's worth: you do not actually need the directory names,
except in the sense that you need to distinguish '..' from other
directory names.
--
Raul
On Thu, Dec 8, 2022 at 11:07 AM 'Michael Day' via Chat
wrote:
>
> This one was a stinker!
> Line spaces as possibly spoilers below!!!
> -
There's a couple different ways of dealing with the directories.
But since you're using the path names, you should inspect the list of
path names which you have constructed, for accuracy (and completeness
-- the input.txt file will repeat some of the names)..
I hope this helps,
--
Raul
On
Yeah, that chatbot seems to struggle with J syntax.
Probably because it doesn't use a J session to test its "J expressions".
(Intelligence which is not artificial would also struggle under such
circumstances. Which, in turn, has significant economic implications:
expertise which is never tested
On Tue, Dec 6, 2022 at 1:55 PM 'Mike Day' via Chat wrote:
> Surely you'd need a starred first to know how to apply an ai to these puzzles!
> A team! - that smacks of overkill. We (mostly) coped all alone in our lonely
> garrets last year.
Conceptually, putting any priority on the leaderboard
Yep, I try to ignore the leaderboard. (For example, when I started
aoc6, it was about an hour and a quarter after the global start time).
Among other things, the top performers on the global leaderboard
include AIs and teams. And the underlying leaderboard mechanism uses a
global start time
lluminate the separate parts of a graph by revealing them in pieces
> but this is no better than a checklist of things like "title the graph",
> "label the axes", and so on.
>
> On Mon, Dec 5, 2022 at 11:53 AM Raul Miller wrote:
>
> > The slide decks show
The slide decks shown at https://slowrevealgraphs.com/ seem like they
represent a useful approach which could be supported by our 'plot'
utility.
This would not be entirely trivial, but the mechanisms look to be
fairly well defined and implementable.
(Conceptually, perhaps the default behavior
*finds memory corruption in j*
...
*turns out it's memory corruption in me*
...
Ah well... such is life, I suppose... But... grumble
--
Raul
--
For information about J forums see http://www.jsoftware.com/forums.htm
https://github.com/qlova/seed
qlovaseed is a cross platform ui framework which attempts to be
"universal" (in the sense that it behaves about the same in both web
browsers and apps).
And, near as I can tell, it does a reasonable job.
That said, it's written in go, rather than c.
FYI,
--
Raul
I am not aware of any J flash cards.
But, you could make your own flash cards.
J vocabulary is quite a bit smaller than german vocabulary which would
make writing your own flash cards relatively easy.
Personally, I would recommend spending half an hour a day doing stuff
with J -- labs, looking
On Fri, Jul 22, 2022 at 10:15 AM ethiejiesa via Chat wrote:
> Archive to the rescue?
> https://web.archive.org/web/20160315010509/https://www.openssl.org/docs/manmaster/crypto/bn.html
> Which gives us the keyword "bignum" to search for and find the current URL:
>
Reading https://github.com/Pascal-J/BN-openssl-bindings-for-J I see a
reference to openssl documentation which apparently has been
withdrawn.
Does anyone here understand what's happening there well enough to
describe it simply (and/or how to find that documentation)?
Thanks,
--
Raul
Yes, that was me...
Checking the history of the page, I see that I initially wrote a
couple J implementations back in 2010. Then I added a bunch of
exposition in 2014. Then in 2016 another rosetta user marked the entry
as incorrect -- he felt that using arithmetic was not in the spirit of
the
C=: 359344964622775339841352348439200241924659634x%10^45x
P=: {{ <. (0 2 4 p.y)*1|C*!_1 2 p.y }}@x:
P 1+i.18
2 3 5 7 11 13 17 19 23 29 31 37 41 43 47 53 59 61
Sadly, this stops producing prime numbers for larger values of y.
I'm told that there's a more exact value for C, where this
http://rosettacode.org/wiki/Snake#J
I've thrown up a little J implementation of this game on rosettacode.
Feel free to poke at it and let me know of any errors. (Or, of course,
do whatever else you want to with that code...)
Thanks,
--
Raul
On Tue, Jun 14, 2022 at 4:35 AM Martin Kreuzer wrote:
> Sorry if this reads already 'chatty' ...
Good point.. I'm replying to the chat forum.
> > "machines that do not move":
>
> From the beginning I had all my machines running on UTC (if it only
> was for getting rid of the silly daylight
When you look at the switching capacity of high speed optic fiber
networks, it's apparent that the switching speed isn't really the
obstacle here (Except perhaps in the sense of finding sufficient
useful content to feed into it.)
--
Raul
On Thu, May 19, 2022 at 8:39 PM Björn Helgason wrote:
>
It's odd, but most of the news on that front is about "quantum computing".
I can find people working on the optical stuff. For example
https://www.academia.edu/34364046/Photonic_integration_on_the_hybrid_silicon_evanescent_device_platform
But I guess the news is kind of quirky.
I also don't
Hmm... that's not Iverson, but puzzling out the meanings of the
various quotes there is an interesting exercise.
I imagine that the Joel Moses quote is about the amount of and
coherency of the math theory behind the language design.
And... the Dijkstra quote largely reflected Dijkstra's distaste
This seems like it would be of interest to some of the people here:
https://people.cs.rutgers.edu/~sn349/papers/rlibm-popl-2021.pdf
Quoting from the first paragraph
"... This paper proposes a novel approach for generating polynomial
approximations that can be used to implement correctly rounded
Huh... seven characters for that result seems straightforward, but a
six character variant eludes me.
--
Raul
On Sat, May 14, 2022 at 10:51 PM Razetime wrote:
>
> A nerdle style game seems very difficult to specify, since the resulting
> data is often 2d.
> I'd instead ask the user to achieve
On Mon, May 9, 2022 at 1:11 PM Ian Clark wrote:
> Sorry for so many ways to achieve a given end-result. Python used to flaunt
> the motto: "There's only one way to do it."
> J's motto ought to be: "There's always one more way to do it."
I think Python's flaunt was a negative reaction to
/dcons.htm
That said, I do not have one of those machines to test this.
I hope this helps,
--
Raul
On Thu, May 5, 2022 at 9:33 AM Raul Miller wrote:
>
> I don't see any april 2022 chat forum messages at
> http://jsoftware.com/pipermail/chat/ nor in my personal email archive.
>
> FYI
I don't see any april 2022 chat forum messages at
http://jsoftware.com/pipermail/chat/ nor in my personal email archive.
FYI,
--
Raul
On Thu, May 5, 2022 at 9:26 AM 'Eric Sargeant' via Chat
wrote:
>
> Was this bounced?
>
> Forwarded Message
> Subject:J Android
({ 97+i.26)=: 1+i.26
".(,'+'&,)/'two hundred and fifty one'
251
FYI,
--
Raul
--
For information about J forums see http://www.jsoftware.com/forums.htm
so consider if your (A.&.|.~ !) sheds light on the problem of an
> efficient J implementation. The pattern it generates doesn't ring a bell
> with me, I fear.
>
> On Sun, 20 Mar 2022 at 23:19, Raul Miller wrote:
>
> > After thinking about this, I am wondering whether this would match
>
is
> old work, get my algorithm working as an explicit verb and derive a tacit
> implementation. But someone with a fresher brain could doubtless take [2]
> and implement Lehmer codes efficiently in J far quicker than I shall.
>
> On Mon, 14 Mar 2022 at 18:37, Raul Miller wrote:
>
&
r something very
> much like it, which I implemented in Algol. Alas the code is no longer
> extant, but I still have the manual algorithm. I'm going to dust off this
> old work, get my algorithm working as an explicit verb and derive a tacit
> implementation. But someone with a fresher
Watching this, I got to thinking about your anagram index of the "by suit" deck.
We know that an anagram index is in some sense based on the factorial
of the length of the sequence.
But, also, we can use the indices of the sequence as a base for the
anagram index, if we toss the 0 and 1. For
I have noticed, in recent years, a trend towards outfits not accepting
(or ignoring) problem reports on their software.
Of course, there's issues of available talent, and on the other side
there's people who have been happy to submit bogus problem reports.
But, I wonder if this approach to
On Sat, Feb 19, 2022 at 10:33 AM John Randall
wrote:
> A more modern definition is given at
> https://ocw.mit.edu/courses/mathematics/18-781-theory-of-numbers-spring-2012/lecture-notes/MIT18_781S12_lec13.pdf
I forgot to thank you for this pointer.
It was immensely helpful (I was trying to
I am reminded of some comments by Charles Moore (the guy that designed
the "forth" language, though more recently he has also been doing chip
design) about the nature of VLSI design software.
I have not been able to find the text I was remembering, and this from
something like a decade ago, so I
Actually, reading the store page for the laptop (which I had
previously not read), I found this in the faq:
"Ubuntu Linux, and presumably others, can be installed, the rtl8723du
wifi adapter is not natively supported by linux, but the lwfinger
project on GitHub provides the software needed to run
On Mon, Feb 21, 2022 at 8:53 AM wrote:
> BTW, what "networking hardware" are you running?
I have no idea.
It's this machine:
https://www.microcenter.com/product/646649/maestro-evolve-116-laptop-computer
Here's what lshw looks like:
little
description: Notebook
product: To be filled by
https://en.wikipedia.org/wiki/Arithmetic_function
I am confused by the current version of the "Arithmetic Function"
wikipedia page, and am hoping someone here can point me in the right
direction.
The page currently says:
"In number theory, an arithmetic, arithmetical, or number-theoretic
https://twitter.com/marcan42/status/1494213855387734019
---8<--- cut here -- 8< -
Well, this is unfortunate. It turns out Apple's custom NVMe drives are
amazingly fast - if you don't care about data integrity.
If you do, they drop down to HDD
On Tue, Feb 15, 2022 at 7:56 PM 'Michael Day' via Chat
wrote:
> Following Raul's suggestion in the Programming Forum, copied just
...
Looking at the message headers on this one, it looks like the message
took about 28 hours to be relayed through google's servers.
Presumably some administrators
the database is made in steps. The relationships between records should
> match the relationships between the line numbers: 0>1, 1><2, 10<>01, so that
> header lines are superordinate to detail lines and so on.
>
> Thanks!
>
> Bo.
>
>
>
>
>
&g
That's kind of difficult to read...
But ... it looks like the BASIC pluk implementation sets up a loop,
reading numbers, and printing lines of text. That doesn't feel right
for J -- it would be nicer to have a textual result that can be used
elsewhere. So, I wrote a pluk which takes a numeric
ng, but I can only try stuff when the Mac is not
> being used.
>
> On Tue, Feb 8, 2022 at 8:39 PM Raul Miller wrote:
>
> > Was this in a fresh session?
> >
> > I have experienced that behavior when running the code after other
> > opengl code had been running.
Was this in a fresh session?
I have experienced that behavior when running the code after other
opengl code had been running. In some cases, that was because 'sprog'
existed, and represented a shader that I was not prepared to feed. But
it's quite possible that there's some other issues where I
t;
> Library: 9.03.08
>
> Qt IDE: 1.9.5s/5.15.2(5.15.2)
>
> Platform: Win 64
>
> Installer: J903 install
>
> InstallPath: c:/users/rishe0/appdata/local/programs/j903
>
> Contact: www.jsoftware.com
>
>
>
> On Wed, Feb 9, 2022 at 7:17 AM Raul Miller wrote:
>
>
http://rosettacode.org/wiki/Draw_a_rotating_cube#J
If you have a j903 installation with opengl support, could you try
running that rotating cube implementation and let me know if you
encounter any errors?
(If you do, and depending on what you run into, I may also want to ask
for your help
[: 1 (0) (0) (0) ]sb )
> ┌┬┬┐
> │1│0 │0 │
> ├┼┼┤
> │0 │1│0 │
> ├┼┼┤
> │0 │0 │1│
> └┴┴────┘
>
>;A
> |domain error
> | ;A
>
>
> Again, I am just playing with the j807 DLL without a full instal
On Thu, Dec 30, 2021 at 4:23 PM Jose Mario Quintana
wrote:
> > I believe that it's telling me that combining verbs and nouns at the
> > top level of an array is illegal. If I am wrong about that, I would
> > like to know what the actual issue is.
>
> Does that surprise you?
No, but it was one of
On Thu, Dec 30, 2021 at 3:10 PM Jose Mario Quintana
wrote:
> ( A=. 3 3 $ [: 1 (0) (0) (0)]: )
> ┌┬┬┐
> │1│0 │0 │
> ├┼┼┤
> │0 │1│0 │
> ├┼┼┤
> │0 │0 │1│
> └┴┴┘
>
>;A
> |domain error
> | ;A
>
> Enough said?
That is helpful, but
On Thu, Dec 30, 2021 at 3:42 PM Jose Mario Quintana
wrote:
> As I recall it you were asking if was acceptable to use explicit tools for
> this and that in order to produce a tacit version of INTEGRATE. I thought
> we already agreed that j903 tacit tools are weak for attacking tasks just
> above
On Thu, Dec 30, 2021 at 2:54 PM Jose Mario Quintana
wrote:
> This is what Jx does which in most cases is what official j8xx
> interpreters do. You could find out what the latter interpreters illegally
> do after running the wicked tacit toolkit holding your nose if necessary.
Possibly,
Or
t; :)
>
>
>
>
>
>
> On Wed, Dec 29, 2021 at 8:25 PM Raul Miller wrote:
> >
> > On Wed, Dec 29, 2021 at 8:09 PM Jose Mario Quintana
> > wrote:
> > > > My stance here is that *any* tool set necessarily is limited (aka
> > > > "weak&qu
Oops, trying this out, I messed up in a couple ways with my
implementation of genExample. I should have tested it.
Here's what I had intended to write:
genExample=:{{
r=.i.0
for_j.,y do.
if. (*j)*(j=<.j)*(j>:_12)*j<:12 do.
r=. r,j BV
else.
r=. r, wrote:
>
> You will have
dverb or conjunction? (Or when 3!:2 or 15!:0
produces a boxed adverb or conjunction?)
Anyways... it's not that this is impossible, it's that it's currently
inadequately specified (and documented, etc.) for a variety of general
cases.
Thanks,
--
Raul
On Thu, Dec 30, 2021 at 12:04 PM Raul Miller
Since perhaps I am being too negative here, let me at least the cases
I do not adequately understand here.
Let's say that we have an adverb BV which creates a boxed verb from
its left argument.
The simple case does not seem particularly bothersome:
(> +/BV) 1 2 3
6
But what happens when we
On Wed, Dec 29, 2021 at 8:09 PM Jose Mario Quintana
wrote:
> > My stance here is that *any* tool set necessarily is limited (aka
> > "weak") outside of a limited range of targets. For example:
> > ...
>
> Yes, I have known for many years that you feel very constricted when you
> are asked to use
On Wed, Dec 29, 2021 at 3:20 PM Jose Mario Quintana
wrote:
> The subject of the post is tacit completeness and I said from the start
> that for most users it makes a little difference, if any, if the current
> tacit adverbial/conjunctional facilities are weak or not. Suggesting the
> use of
;anything that's not in the first 127 elements of a.)
> >
> >I hope this helps,
> >
> >--
> >Raul
> >
> >On Sat, Dec 4, 2021 at 8:52 AM Brian Schott wrote:
> >
> > >
On Tue, Dec 28, 2021 at 6:27 PM Jose Mario Quintana
wrote:
> > > It keeps tacit adverbial and conjunctional programming weak.
> > Refusing to use available tools does accomplish that.
>
> Did you mean explicit tools?
Yes.
> > I took a look at that problem, basically, it's this:
> > ...
> > Once
On Tue, Dec 28, 2021 at 1:42 PM Jose Mario Quintana
wrote:
> It keeps tacit adverbial and conjunctional programming weak.
Refusing to use available tools does accomplish that.
> "However, once one is outside the comfort zone things get tricky. Doubters
> can try to write a tacit version of the
On Sun, Dec 26, 2021 at 10:50 PM Jose Mario Quintana
wrote:
> ..however, in J there is an official obsession (in my opinion)
> restricting verbs to return nouns, only nouns, and nothing but
> nouns.
You say that like it's a bad thing.
There are a variety of things I could wish for J: the
I would raise approximately two observations here:
(1) In English, "grammar" is about "sentence structure" but also has a
lot to do with "overloaded word meanings" (multiple dictionary entries
for the same word -- an especially egregious issue for short words).
(2) J's grammar (syntax) borrows
Advent of Code is something of a bad habit for me, partially because
of the schedule. (For people on the east coast states, it starts at
midnight.)
Still, it's kind of fun, and it's not like project euler where people
are asked to not share solutions. (There's a very short time frame
where people
On Sun, Dec 19, 2021 at 2:31 AM John Baker wrote:
> How about we just prohibit the morons that create such lists.
If only it were that easy...
--
Raul
--
For information about J forums see http://www.jsoftware.com/forums.htm
Today, I ran across this statement by the government of the state of virginia:
https://www.vita.virginia.gov/media/vitavirginiagov/it-governance/ea/pdf/COV_Prohibited_Programming_Languages_and_Data_Access_Methods_June-28-2021.pdf
Criminals beware...
--
Raul
>
> Carrying the word number through to the error message might barely be
> possible but it would be a big rewrite. Something to consider.
>
> Henry Rich
>
> On 12/10/2021 12:32 PM, Raul Miller wrote:
> > If we are considering enhancing the error display, I would focus o
P.S. with a small change to your verbs and a different line to execute
against your data, and I get:
15 60 10
FYI,
--
Raul
On Sat, Dec 4, 2021 at 7:00 PM Raul Miller wrote:
>
> To reverse the processing order of F.. use F.:
>
> If you want to test F.. (or F.:) you might try
a noun, and I was dreaming that the
> verb part could be parsed as the "V" in Fold, but that does not make much
> sense now. I need something more, but I can't think of what.
>
> On Sat, Dec 4, 2021 at 6:12 PM Raul Miller wrote:
>
> > I get a domain error when I tr
I get a domain error when I try your code, not a nonce error.
Looking closer at it, I can't quite figure out how your approach is
supposed to work.
Dyadic ". parses numbers (and the v argument to F.. is used dyadically
to combine items of y (and for Dyadic F... to combine with the value
of x)).
Just now, I took my aoc day 3 input and sent it to myself as an email message.
The only problem I encountered was a lack of a "select all" option in
my email reader. So I was rather awkwardly scrolling and updating the
selected region. One of the awkward issues there is that the highlight
that's not in the first 127 elements of a.)
I hope this helps,
--
Raul
On Sat, Dec 4, 2021 at 8:52 AM Brian Schott wrote:
>
> How can iOS J be fed multi line aoc text data (ideally via copy/paste)?
>
> On Tue, Nov 30, 2021 at 6:44 PM Raul Miller wrote:
>
> > For the peop
For the people who like that kind of thing, December 1st hits in a few hours.
https://adventofcode.com/
FYI,
--
Raul
--
For information about J forums see http://www.jsoftware.com/forums.htm
Rank is different.
FYI,
--
Raul
On Fri, Nov 19, 2021 at 2:33 AM 'Nollaig MacKenzie' via Chat
wrote:
>
> Hmmph.*&.^. is equivalent. Commutativity etc are obvious. Oh well.
>
> > On Nov 18, 2021, at 11:36, Raul Miller wrote:
> >
> > (^^.)/"1((i.6 4
(^^.)/"1((i.6 4) A.i.4){2 3 4 5
5.46861 5.46861 5.46861 5.46861
5.46861 5.46861 5.46861 5.46861
5.46861 5.46861 5.46861 5.46861
5.46861 5.46861 5.46861 5.46861
5.46861 5.46861 5.46861 5.46861
5.46861 5.46861 5.46861 5.46861
is kind of fun
And so is the symmetry with reciprocal pairs.
Thanks,
+/_80538738812075974 80435758145817515 12602123297335631x^3
42
--
Raul
--
For information about J forums see http://www.jsoftware.com/forums.htm
1 - 100 of 712 matches
Mail list logo