[VicPiMakers Projects] Jims challenge in google sheets + a bit of javascript in google apps

Michelle Wiboltt michellewiboltt at outlook.com
Tue Oct 20 11:47:38 EDT 2020


Haha, that last bit:)

K, but “what’s the next number in sequence even when there are no numbers”, it’s empty so, this makes a bunch of potentially untrue assumptions as to there actually, at some point, being some numbers rather than none “

Also, I may have the advantage in that I’m the “top dog” for instance, but that doesn’t mean I win, see? Meaning, upon first blush, seems his wins but again, top dog can and does lose so, how does this work?

Also for accuracy, wouldn’t an, at a minimum, an amalgam of all styles need to be included?

Maybe this would be the lllove language an amalgam of all reasoning because now science uses one as inference and another style of reasoning as conclusions? They don’t match?
So, maybe by joining them all, in the order laid out by you? For instance, we’d have truest perfect all encompassing “foundations “ for our new language?

Can it be done ?

Here’s hoping 🤞
Thx
m



Michelle Wiboltt
www.elb1b69.net
604-612-2505

________________________________
From: Projects <projects-bounces at vicpimakers.ca> on behalf of George Bowden <gtbowdeng at gmail.com>
Sent: Tuesday, October 20, 2020 8:30:27 AM
To: Talk about Raspberry Pi / embeded projects <projects at vicpimakers.ca>
Subject: Re: [VicPiMakers Projects] Jims challenge in google sheets + a bit of javascript in google apps

Hi Michelle
We are looking for the simplest deterministic rule to generate the output from the input.

This is like those "what's the next number in the sequence" quizzes.  So the following is a rule that can generate a conforming output:
"take the first number x, move right x times, print it 3 times, increment x, move right x times, print it one fewer times, print "#repeats, list"
So there are multiple correct answers. But Greg's answer has the advantage that it can be applied to any list of numbers, even  an empty list, and it is built from relationships between numbers, not constants like mine.  He just needs to print ", #repeats, list" at the end of his output.

It depends on whether one applies<https://nam05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fedenpapers.com%2Fblog%2Finductive-and-deductive-reasoning-and-their-alternatives-essay%2F&data=04%7C01%7C%7C72e6cb8d596c4e1b4bdc08d8750d46d7%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637388047175426445%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=mXwem%2BW%2FtPm8uK8%2FRba5Zgsiwl1nKKslC84tsox7NW4%3D&reserved=0>

  *   deductive,
  *   inductive,
  *   abductive,
  *   reductive,
  *   fallacious,
  *   legal, or
  *   Trump reasoning (just to kick the discussion off ).  Lives depend on it.

On Tue, Oct 20, 2020 at 7:24 AM Michelle Wiboltt <michellewiboltt at outlook.com<mailto:michellewiboltt at outlook.com>> wrote:
Couldn’t it be interpreted in a myriad of ways and not just with the repeaters? I mean, in this scenario isn’t it deterministic as to total output? Where’s the choice? Why not every 2nd then every 5th repeater be counted or some such thing?

Here’s what I’m thinking...I’m going to the mall (input) once at the mall the output determines that I will visit 5 departments in the mall (as illustrated in example above) but wait...I may visit 3 or 6 or 1 so, it’s determining an untrue/not necessarily accurate effect/causal relations, right?

Does this make sense?
m

________________________________
From: Projects <projects-bounces at vicpimakers.ca<mailto:projects-bounces at vicpimakers.ca>> on behalf of Greg H <greg.horie at gmail.com<mailto:greg.horie at gmail.com>>
Sent: Tuesday, October 20, 2020 5:52:08 AM
To: Talk about Raspberry Pi / embeded projects <projects at vicpimakers.ca<mailto:projects at vicpimakers.ca>>
Subject: Re: [VicPiMakers Projects] Jims challenge in google sheets + a bit of javascript in google apps


> Test Input: 72,111,63,85,61,56,118,121,61,69,63,61

> Output #5: 5,61,61,61,63,63, (#repeats, list)

Here's how I interpret this. Given a list of integers, find all the values that repeat. Total the number of repeat values. This total is the first field in the output. Then sort the repeat values and join them as a comma-delimited list to the output.

In the example we find that 61 repeats 3 times and 63 repeats 2 times. 3 + 2 = 5.

Output Format:  <total>,<comma-delimited list of sorted repeats>
Hence:  5,61,61,61,63,63

Note - The last comma in the example output is distracting, so I removed it.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://vicpimakers.ca/pipermail/projects_vicpimakers.ca/attachments/20201020/d014f3d8/attachment.htm>


More information about the Projects mailing list