Re: [Jprogramming] Advent of Code 2022 in J, as a tutorial

2023-08-09 Thread Raul Miller
After a quick review of these: Some of them look like they would be good for a beginner - especially those which spell out the reasoning that went into building the code. I'm pretty sure it's the thought processes of the J programmer which Henry is after here. Others would be more problematic for

Re: [Jprogramming] Advent of Code 2022 in J, as a tutorial

2023-08-08 Thread 'Skip Cave' via Programming
Henry, Over the last few years, I have been using math problems on Quora to polish my J skills. I have solved probably a couple thousand solutions to math problems on Quora using J. Here is a small sample of some of my most recent Quora problem solutions. Do you think thes

Re: [Jprogramming] Advent of Code 2022 in J, as a tutorial

2023-08-05 Thread Henry Rich
I am trying to write to users at the earnest-tire-kicker level and above: someone who has decided that J is worth a look and is deciding whether it's worth putting serious time into.  [This is the same level of user that we aimed the first section of the NuVoc pages at]. If you're trying to un

Re: [Jprogramming] Advent of Code 2022 in J, as a tutorial

2023-08-05 Thread More Rice
> [Henry] IF YOU ARE NEW TO J, you are the person I need to hear from. Where do I need to add explanatory material, or rewrite a section? Oh hey. I qualify for this one. :) Thank you for starting & sharing this. One thing I want to bring up - What are your reader's J prerequisites? It is well

Re: [Jprogramming] Advent of Code 2022 in J, as a tutorial

2023-08-05 Thread Henry Rich
I agree with Luke. Henry Rich On 8/5/2023 5:12 AM, Luke D wrote: I suppose it is worth reminding everyone that only the first 100 PE problems can be shared. Because of this, I don't think spoilers are necessary. PE only asks that any discussion about said problems is done to instruct and not ju

Re: [Jprogramming] Advent of Code 2022 in J, as a tutorial

2023-08-05 Thread Henry Rich
I agree.  J can be used at different levels of sophistication and commitment.  Any solution is welcome as long as it's clearly explained. This feature is aimed at obstacles to new use of J: * 'No one can read that!'  Which is like saying no one can read music, an excuse for not trying.  The re

Re: [Jprogramming] Advent of Code 2022 in J, as a tutorial

2023-08-05 Thread Luke D
I suppose it is worth reminding everyone that only the first 100 PE problems can be shared. Because of this, I don't think spoilers are necessary. PE only asks that any discussion about said problems is done to instruct and not just give answers, which is the intention of ShareMyScreen. Best Regar

Re: [Jprogramming] Advent of Code 2022 in J, as a tutorial

2023-08-05 Thread 'Mike Day' via Programming
Re Project Euler, if we put something up there, how do we ensure it's not too open to would-be solvers? Just place lots of SPOILER ALERTS in their/our way? Thanks Mike Sent from my iPad > On 5 Aug 2023, at 02:27, Henry Rich wrote: > > I have enjoyed reading your solutions. It's great to

Re: [Jprogramming] Advent of Code 2022 in J, as a tutorial

2023-08-05 Thread 'Rob Hodgkinson' via Programming
Yes, of course, please contribute. Like Jan-Pieter you could provide a little background in the Preamble to explain. Your experience may be invaluable to people less experienced with J (or even more !!). > On 5 Aug 2023, at 4:59 pm, Luke D wrote: > > I have a number of solutions for the easi

Re: [Jprogramming] Advent of Code 2022 in J, as a tutorial

2023-08-04 Thread Luke D
I have a number of solutions for the easier PE problems I can add (I also have AoC solutions for various years). However, I have only been using J for 3 years, so am I invited to contribute? Best Regards, Luke De La Cruz On Fri, Aug 4, 2023 at 8:27 PM Henry Rich wrote: > I have enjoyed reading

Re: [Jprogramming] Advent of Code 2022 in J, as a tutorial

2023-08-04 Thread Henry Rich
I have enjoyed reading your solutions.  It's great to see the language used for somewhat realistic problems. Will those of you with Project Euler solutions step up and showcase your J?  Just add to the ShareMyScreen page. Henry Rich On 8/4/2023 9:31 AM, Jan-Pieter Jacobs wrote: I've been wo

Re: [Jprogramming] Advent of Code 2022 in J, as a tutorial

2023-08-04 Thread Raul Miller
On Fri, Aug 4, 2023 at 9:32 AM Jan-Pieter Jacobs wrote: > As a side note: does anyone have code for downloading inputs directly?. I haven't tackled that problem, though I have not ruled out tackling it at some point in the future. (It's not trivial.) That said, you could use launch_jbrowser_ aft

Re: [Jprogramming] Advent of Code 2022 in J, as a tutorial

2023-08-04 Thread Jan-Pieter Jacobs
I've been working on putting my solutions for the first 5 AoC days at https://code.jsoftware.com/wiki/ShareMyScreen#by_Jan-Pieter_Jacobs Any feedback would be appreciated, and if I don't get any, I'll just assume I'm doing great job and continue as is ;). As a side note: does anyone have code fo

Re: [Jprogramming] Advent of Code 2022 in J, as a tutorial

2023-06-03 Thread Henry Rich
Since these are personal explanations of the programming thought-process, I think it's proper that they be grouped by author within each subject.  I will put my name on my AoC contributions.  Jan-Pieter, you can create a section for yours. Project Euler is widely known and annotated solutions

Re: [Jprogramming] Advent of Code 2022 in J, as a tutorial

2023-06-02 Thread 'Viktor Grigorov' via Programming
I'd agree that examples are great, e.g., Rosetta Code is a great compendium of programming language equiproblem solution comparisons. A comma-delimited listing of would be too much, as there aren't that many J active users, at least judging from the names I've seen past 2 years on the general an

Re: [Jprogramming] Advent of Code 2022 in J, as a tutorial

2023-06-02 Thread Jan-Pieter Jacobs
Great initiative, Henry. I'm considering gradually adding my versions. How do you think it's best to structure this? One section per person with a list of pages for each problem, or put solutions of different persons close to each other? My solutions are still a work in progress, though; currently

[Jprogramming] Advent of Code 2022 in J, as a tutorial

2023-05-31 Thread Henry Rich
How do you convince someone that J is really different?  Examples seem contrived. I am trying something new.  I have used J to solve a suite of programming problems posed by an impartial source, to wit Advent of Code 2022.  Tire-kickers can compare the J solutions against those in other langu