« first day (88 days earlier)      last day (2584 days later) » 

16:00
Oh
You don't actually know what's wrong?
well xẋ is always confusing...I'll investigate
@NoahCristino if you add ŒṘ to the end, you can see what it is actually producing
Hmm, Ok
@DJMcMayhem found it
What is it?
16:01
that's weird
@DJMcMayhem the first two links execute first and then the third link gets their result as an argument
I thought “#” x 5 would be #####
So it's actually monad(dyad(nilad, a))?
@cairdcoinheringaahing or better µŒṘ
@DJMcMayhem yeah
@EriktheOutgolfer I'm just quoting the tutorial
16:02
OK, thanks
Is that standard?
well the first two links form a nilad-dyad pair and then the third link acts as a monad on its own
although my experience is that it shouldn't happen on monadic chains
OK, well now I'm down to 7
But I can't see any possible way to make it shorter
so
how would I do
@DJMcMayhem what do you have?
#x5
to get #####
16:04
Wait, can I see the original text of the challenge?
@DJMcMayhem its in the "Easy challenges to try" link in the room description
> Draw a right triangle with equal perpendicular sides of length N. You must use a not necessarily consistent non-whitespace char.
Cool. I'm down to 6 now
what's your code?
@NoahCristino no dj
@DJMcMayhem oh you're doing a trivial mistake there
@NoahCristino “#”x5 outputs #####
I want to solve something else. The Fizz-Buzz one is impossible for me as of now.
16:06
@EriktheOutgolfer And that is?
What should I try next?
I really suspect that <swap> isn't necessary
@Mr.Xcoder I'd ask Erik for a challenge
but “#”ẋŒḄŒṘ
outputs
@DJMcMayhem well, you could take advantage of dyad-nilad or nilad-dyad pairs
16:07
@EriktheOutgolfer Can you give me a new CMC?
['#', '#', '#', '#', '#', '#', '#', '#', '#']
one hashtag per number
@NoahCristino could you wrap you code in backticks like `this` so that its easier to read please?
@NoahCristino because you're missing something
what do you mean erik?
@EriktheOutgolfer OK, let's see if I understand either of those. A nilad-dyad would compute dyad(nilad, a), and dyad-nilad would compute dyad(a, nilad)? Or does it depend on whatever comes next?
16:08
@DJMcMayhem correct
So what comes after the pair has no effect on parsing?
@EriktheOutgolfer ?
@NoahCristino what your code is getting evaluated as is: times the string by the argument then bounce the string
@DJMcMayhem well there are edge cases
16:09
@EriktheOutgolfer That's unfortunate
@NoahCristino you need to move the ŒḄ
@DJMcMayhem basically it's left-to-right precedence
ŒḄẋ“#”ŒṘ
outputs nothing
I wrapped in backticks
and nothing happened
@NoahCristino You must move
16:12
why?
@NoahCristino wrap the code here is backticks, not when you actually write it
@NoahCristino Because you never put the dyad before x.
I did wrap it here caird
Welcome to our class, Business Cat!
I managed to complete this challenge in 5 bytes
16:13
@NoahCristino when you post it here, wrap it in backticks (like you did), but when you actually code, don't wrap in backticks, unless you need the backtick commnd
But I swapped it @Mr.Xcoder
Oh duh!
It's all so obvious now!
@cairdcoinheringaahing I know
I've got it :)
@NoahCristino You are missing something
16:13
It was... interesting
I have ŒḄẋ“#”
right now
@EriktheOutgolfer Are you ignoring me?
There's a way that can be shortened by 1 fairly trivially
where's the docs on ẋ
@Mr.Xcoder he seems to have gone AFK
16:14
@NoahCristino Atoms
@Mr.Xcoder sorry had to accept an access request
@NoahCristino Look at Syntax, for 1-character strings.
I think I should't use
@NoahCristino You should.
since that repeats the list
16:15
@EriktheOutgolfer So to make sure I understand, <dyad>@<nilad> works by swapping the operands, so instead of dyad(a, nilad) you get dyad(nilad, a), but in a nilad-dyad pair, the nilad will always be the left argument, so <nilad><dyad> is basically the same thing?
but I can't repeat the list # times
I need each element repeated
“#”ẋŒḄ
@DJMcMayhem usually you can use <nilad><dyad> instead
except if it would be ambiguous
only outputs 1 # per element
@NoahCristino Wrong order
16:16
I just flipped
no right order
The solution is quite beautiful, now that I understand it :)
@NoahCristino do you know about jelly pairs?
cuz it's Repeat list x y times.
no @EriktheOutgolfer
Spoilers would work if the input is < 10 :P
16:17
@NoahCristino is not the problem here, it's the order.
@DJMcMayhem :) Interesting.
@DJMcMayhem I tried it with 100 :) Too many 0's!
@NoahCristino you can read on the tutorial about pair
@NoahCristino Hint: z<monad>, x<dyad>y.
@DJMcMayhem bye
16:19
Thanks for all the help!
@DJMcMayhem Bye!
@NoahCristino let me explain pairs
oh
ŒḄ
needs to be flipped
Spoiler my 5-byte solution
for example, (monad)(nilad)(dyad) would be broken as (monad) (nilad)(dyad)
16:20
I get it
(input here)ŒḄ
in short, (nilad)(dyad) is a pair
but it's taking in the multiplication
@EriktheOutgolfer After you finish the pair explanation to Noah, I'd be delighted to get a Challenge recommendation.
(v)(nilad)(dyad) would be equivalent to (nilad)(dyad)(v) with (v) being the current value
@Mr.Xcoder alright
16:22
@Mr.Xcoder challenge: the architect who got it wrong!
@NoahCristino except that it has a different precedence
description of mr. xcoder's challenge:
for N=3 you have to return this:
#
#
 #
#
 #
  #
N=4
#
#
 #
#
 #
  #
#
 #
  #
   #
@Mr.Xcoder get it?
@EriktheOutgolfer Thanks :)
@EriktheOutgolfer I think I do, yeah
basically an architect built the stairs but people started banging their heads
@NoahCristino what's your progress?
I'm confused
so
“#”ẋŒḄ
the x needs them in this order
but ŒḄ
needs input on the left
16:25
remember the (monad)(nilad)(dyad) example?
also it's preferred to wrap your code in ``s when posting here
btw ”# is better than “#” in this case
@NoahCristino Compare backticks and non-backticks:
code here
code here
oh
i didn't see a difference at first
@NoahCristino figured it out yet?
16:27
but “#”ẋŒḄ
I mean
“#”ẋŒḄ is nil dy mon
Why does Jelly automatically turn [1] into 1! It destroys Me!
not mon nil dy
@Mr.Xcoder ŒṘ
@NoahCristino so make it be so
like, reorder them
but if dylad
is at the end
it can't take 2 args
I got it
ŒḄ“#”ẋ
@NoahCristino yes!
16:29
But how does that work??
@EriktheOutgolfer why isn't there a prepend command?
@cairdcoinheringaahing dunno
how does x take in
ŒḄ
because “#”ẋ is a nilad-dyad pair, 's right argument is the current value
it's a jelly feature
oh
what do you mean current value
nvm
16:31
that means you don't have to append an $ either
ok so your code rn is ŒḄ“#”ẋ
now what's the final step?
print
[#, ##, ###, ##, #]
as:
#
##
###
##
#
do I need V
V is jelly eval not sure why you need that
@cairdcoinheringaahing ?
16:33
If z is a list, it maps Python's str function to all of z's elements, concatenates them and then eval's the result
@BusinessCat no
oops read that wrong
@NoahCristino Search for join
@BusinessCat that appends, adds to the end
search for newline
16:34
Appends x to y
ŒḄ“#”ẋY
Uṭ<x>U would prepend
@EriktheOutgolfer Nope, search for linefeed
Or you could just do ;@?
16:34
I have some interesting output:
@EriktheOutgolfer dennis would never be that nice when writing the docs
#
###
######
##########
100 looks cool
@Mr.Xcoder How long is yours for the architect one?
16:35
Ooh is there a training exercise going on right now?
@BusinessCat I am not done yet
@HyperNeutrino actually two
Have you already solved it?
@HyperNeutrino 3 or 4 different ones
16:35
I have 12 bytes but it feels long
@NoahCristino CORRECT!
Oh the right isoceles (?) triangle challenge
@NoahCristino there's for 2-char strings
16:37
@NoahCristino going back to the # version, how would you golf it?
one sec
um
can I shorten the string
yes
> Draw a right triangle with equal perpendicular sides of length N. You must use a not necessarily consistent non-whitespace char.
removing ” messes it up
@NoahCristino you don't just remove “
Read the docs about the close quote mark.
16:38
I got it
namely the previously linked syntax page
ŒḄ“”ẋY
Er, not quite.
@NoahCristino invalid
it technicly works
16:39
@EriktheOutgolfer Can I use any non-whitespace char?
just the characters are all blank
yes
@NoahCristino that's the issue
empty string * 100 == empty string
you need a char
ŒḄ“ ”ẋY
that's whitespace
what char is less than a byte?
16:40
ŒḄ”#ẋY
how does that work
The docs state that the close quote when unmatched forms a character literal.
If there is no open quote, then the close quote is a 1-character string literal.
16:41
good to know
can I have another challenge @EriktheOutgolfer
@NoahCristino wait a sec adding you and business cat to the catalog
sorry have to go now
@BusinessCat have you finished the architect one?
Yes but it still feels too long
11 bytes
Which challenge is that?
I've got 11 bytes too
16:46
(12 if I have to use #)
@EriktheOutgolfer before you go, how long is the architect one?
My current solution is 11 bytes using 1 as the character
@HyperNeutrino can i have another challenge
@BusinessCat I've got 11 for #
Don't spoiler anything, I am not done yet with the architect one
16:47
or @cairdcoinheringaahing
Interesting
@NoahCristino Work through these and make a file with all your solutions in.
That's your "homework" :P
If you need help, feel free to ping us
I generated the "Stair" for one input, I must loop now to add it for each
Let me think of one.
16:49
@BusinessCat what's your solution?
I now have 8 bytes without generating all
Pls wait,I finish now.
Don't spoiler yet
@BusinessCat remove it
I didn't catch that, fortunately :)
I wouldn't have looked anyway
@Mr.Xcoder ping us when you've finished it, lets golf together! :P
16:51
Why can I not make a spoiler link like that?
Ok
@BusinessCat I don't wanna be tempted to click
Fair enough
@BusinessCat if we've both got 11 bytes, with different methods, then 10 bytes must be possible
Given a positive integer, generate the list [1, 2, 4, 8, 16, ...] up to 2 ** n.
I currently have Ḷ⁶ẋ;€”#Y, must only repeat now
16:52
@HyperNeutrino for Noah? I already gave him the easy challenges to try
No for all of you. This seems a bit too easy though so I might make a better one.
i'll try that one
nvm
@HyperNeutrino Done, 3 bytes
after I finish caird's
Done
Also three bytes
16:55
Nice. OK.
But hey, I got to use my new knowledge of nilad-dyad pairs, so that's not too bad
@cairdcoinheringaahing @BusinessCat Can you help me incorporate this for a range: Ḷ⁶ẋ;€”#Y?
Anyone?
Hmmm trickier than it looks
ÆḞ
isn't showing up
in my notepad++
it's Æ?
Ok nvm I got it
16:59
@BusinessCat Hyper's challenge or range-incorporation?
The range

« first day (88 days earlier)      last day (2584 days later) »