-
-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add cater waiter concept exercise #818
base: main
Are you sure you want to change the base?
Conversation
I'll look at this properly tomorrow. One detail I noticed is the missing To generate the After a number of past mistakes, I find it helpful to run |
As far as the configlet warnings:
As for the other failures, it's a bit harder to tell what's going on there (some sort of recursion issue?). There could be a problem with how
I'll give the first option a go, because that would be the cleanest, and if it doesn't work, I'll try the second. |
Suggested change
I think I've go most of this straightened out. Let me push those changes before making any new ones |
Oops, I was trying to add a suggested change, but accidentally committed it - sorry! In any case, as you say, leaving the author blank is not an option. GH already lists you as the author, so does having this show up on Exercism make things so much worse? I was working on this locally while you were writing your comment, so I just saw that. Some tentative comments:
|
On file imports: I meant to point out that Python doesn't do this, it just imports specific items from the files. Also, the language seems more tolerant of overwrites than Julia (perhaps because it has no real constants). |
I'm off to breakfast. I've not yet had my first cup of coffee, and I'm feeling it... |
This is how I initially created it, but it seems to have broken when I added
I'm pretty sure this is due to me using
I got a bit confused since there appears to be a nearly empty |
That was my mistake yesterday, when I didn't read the error carefully enough. It's not your
Well, your choice, but I think all the includes might remain a problem. Let's find out empirically.
A miscommunication, though we had some earlier discussion about leaving the introduction till last, then chopping down the about to just what is needed for the exercise. That's Bethany's recommendation, and she tends to be right! |
Clearly, not enough coffee yet - I hit the wrong button... |
Configlet passes now. The other error does seem to be associated with trying to include
Your right, I forgot about this. Lunchtime for me, so I'll be back to look at this later |
It looks like I've been on autopilot for the past day and haven't been thinking... I realized that I tried to use an outside file with helper functions for test generation with my first attempt at that Perceptron exercise, and it failed in a similar manner. The solution was to include everything in the Since the files Any thoughts? |
Let me play with it later. I'm pretty confident we can fix this, but I need to prove it. I'm close to getting |
I've got it tentatively "working", presuming that the If you want to play around a bit more to see if you can clean things up (as I find this to be a messy solution), feel free (at a minimum
I've also got some other things on my plate for the next few days of this week, so I'll be more sporadic in my responses here, but I'll keep thinking to see if there's a better solution. |
I've translated the python version of
cater-waiter
. It was quite involved, so please have a close look. I also translated theintroduction.md
, which I'm not sure if that could be used for in WIP draft of sets conceptI did stray from using proper REPL output, in favor of what gets output if it is wrapped in
println
. This was because longer collections get unwieldy otherwise.Another point is that the doc strings for the functions may be a bit Pythonic, since I just did a quick translation.
I'm not sure if we want to merge this or not, since it would publish the exercise to the site.
Edit: Ugh... I'll have a look at why all the checks are failing tomorrow