« first day (86 days earlier)      last day (2586 days later) » 

00:49
Is anyone on?
How do I link these two programs together?
S>³
rṖÇ¿
Rç€
S=³µÐf
 
12 hours later…
12:38
@Qwerp-Derp how?
 
6 hours later…
18:09
@Mr.Xcoder challenge: determine if two positive integers are coprime
oh wow more people joined
@EriktheOutgolfer :)
@EriktheOutgolfer byte count?
not revealed yet
first I'll let mr xcoder try
I'll obviously need ÆD
18:13
what is your approach?
@EriktheOutgolfer Not ready yet: Get the divisors of each, get the minimum common element
ping when ready
@EriktheOutgolfer Can you help me?
what do you have?
I have two lists: ÆḌ (for the first one's proper divisors) and ⁴ÆḌ for the second one's
@EriktheOutgolfer How can I filter the elements that are common to both? I figured I can use , but I have no idea what is the correct order.
Like this: ḟÆḌ⁴ÆḌ?
18:24
umm, is a negative filter
@Mr.Xcoder that is that supposed to do?
Wait, I think I figured it out
@EriktheOutgolfer Why wouldn't this find the length of the common divisors: LÆD⁴ÆDf?
because you're not doing it correctly
@EriktheOutgolfer Ok, I am a beginner, Jelly is like Chinese for now
18:27
wait a sec I'll explain!
assuming x = 6 and y = 4
L will return len(x) i.e. 1 (the length of an integer is always 1)
then ÆD will take its divisors, thus resulting in [1]
@EriktheOutgolfer Yes, that's a problem. I must move L to the end
will print the result of the previous chain and start a new chain as it's a nilad
ÆD then will take y's divisors
f will keep every element equal to y, so the result would be [y]
the output would therefore be 1y
@EriktheOutgolfer If I have an atom like f, with x and y, what is the correct order? <x><y>f?
@EriktheOutgolfer Good to know
18:31
@DJMcMayhem hi
@Mr.Xcoder yeah jelly is tacit not polish or reverse-polish notation
@EriktheOutgolfer If I have a monad, like L, is the correct order <x>L?
@EriktheOutgolfer Do you have a CMC for me?
18:32
@DJMcMayhem I'll think of one
@DJMcMayhem Hi there
@DJMcMayhem ok I thought of one hopefully not too hard
given a word such as PLAY, return something like this:
               P
           L
A
                        Y
o_O
That seems way above my ability
As go to column 1, Bs go to column 2, ..., Zs go to column 26
@EriktheOutgolfer Position in the alphabet?
18:35
@DJMcMayhem come on!
it's simpler than what you may think
@Mr.Xcoder what have you done till now?
I've never done string manipulation or
yeah Jelly is a lot different than V but the concept to this should be similar
I can do it in just 10 bytes
think of the algorithm first, and then the implementation
@EriktheOutgolfer I wonder why ÆDḟ⁴ÆD prints [1, [1, 3]]
what inputs?
@EriktheOutgolfer 9 and 9
18:38
well, you're essentially doing ⁸ÆDḟ⁴ÆD, which I'll explain below
How can I properly take the second input?
@EriktheOutgolfer OK, so obviously for each element, I want to make a list of 26 spaces except for the one at the right index
And then I can join by spaces
@Mr.Xcoder ÆD will take 's (x's) divisors, ḟ⁴ will filter y out of them, and then ÆD will vectorize and take the divisors of [1, 3], which are [[1], [1, 3]]
Jelly stringification then shows this as [1, [1, 3]]
@DJMcMayhem well, do as you see fit first
@EriktheOutgolfer How would I (for example) create <space>*n+'A'+<space>*n
So like <space><space><space>A<space><space><space>
18:40
@EriktheOutgolfer Pyth, 10 bytes: jm+*" "xGd (only works for lowercase Strings)
@EriktheOutgolfer idc
Variable
@Mr.Xcoder how would you do that in Jelly? (that's for djmcmayhem actually)
Woah! 74 new messages while I eat dinner :)
@DJMcMayhem why overcomplicate stuff?
OK fine, says it's 5
I'm just wondering how you could do something sorta like that
@EriktheOutgolfer I wanted to solve this, because I heard 10 bytes, so Jelly ties Pyth
@DJMcMayhem I'm not sure what you mean...basically what you're trying to do would result in a straight vertical line afaict
Pyth beats 10 bytes in Jelly, 9 bytes: jm+*" "xG
@EriktheOutgolfer No, I'm asking what's the shortest way to produce this string: " A "
18:42
yeah pyth beats jelly a lot
@EriktheOutgolfer In String stuff?
@DJMcMayhem it's a palindrome, so...
@Mr.Xcoder no generally
@EriktheOutgolfer Hm, not really
5 mins ago, by Mr. Xcoder
How can I properly take the second input?
@Mr.Xcoder CLA
@cairdcoinheringaahing I know that, I am asking for the character needed
18:44
@Mr.Xcoder nilad to return second input?
Like, Arg1 is 9, the second one is 7, what character should I use to refer to 7?
@cairdcoinheringaahing Thanks
@EriktheOutgolfer can you give me something with quicks?
@Mr.Xcoder won't be any different here though
18:46
Or demonstrating øµðɓ
@cairdcoinheringaahing it's something I have to caird some time ago
@EriktheOutgolfer It's hard...
@EriktheOutgolfer what?
[6, 1, 3, 7] should return [1, 1, 1, 1, 1, 1, 2, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4]
but beware!
x is banned ( is allowed), explicit is banned, and you can only use one of or F exactly once
@EriktheOutgolfer oh, that! That was fun (ish)
18:48
also regarding the other one @Mr.Xcoder have you improved?
@EriktheOutgolfer Working, not really
@EriktheOutgolfer I have improved!
Is there any atom for assignment? (assigning one element of a list)
@EriktheOutgolfer I'm confused. Are you giving ^^ to me to do?
ÆDḟ⁴ÆD is your last version right?
I figured I could use g
@EriktheOutgolfer Not now
18:49
@Mr.Xcoder cool!
@DJMcMayhem well there's no atom
OK, so I might be on the wrong track then
@EriktheOutgolfer 3 bytes
I am mega dumb
@Mr.Xcoder yeah...almost there
@EriktheOutgolfer =1... redundant
18:51
@EriktheOutgolfer If I have a list (let's say [0, 0, 0, 1, 0], how could I turn that list into [0, 0, 0, 'a', 0]? If that's impossible/weird, I'm on the wrong track
you check for coprimality not gcd
@EriktheOutgolfer Directly?
Whenever I do Hypertraining I have at least 5 additional tabs open for all the Jelly docs and such :P
@Mr.Xcoder well, g=1 is almost there
@EriktheOutgolfer Must I use a quick?
18:52
@cairdcoinheringaahing me too basically since I can't memorize everything a sneak peek helps a lot
@Mr.Xcoder no
g was a great improvement
@DJMcMayhem you mean replace all the 1s with 'a's?
Exactly
@EriktheOutgolfer 2 bytes?
@DJMcMayhem well, think logically ;)
@Mr.Xcoder YEAH!
@EriktheOutgolfer Do you have a problem that I can do that uses øðɓ?
> Insignificant; return abs(z) ≤ 1.
@EriktheOutgolfer Yeey!
@EriktheOutgolfer ...
18:54
@Mr.Xcoder to quote DJ Khaled, "Another one"
@Mr.Xcoder start from here for another one
@EriktheOutgolfer Well, I suppose I could just do ×97 and then cast to a string later
@EriktheOutgolfer That's a bit too hard, but...
@DJMcMayhem you need to be more logical...really
@cairdcoinheringaahing of course Ç et al. would be banned then
18:55
@EriktheOutgolfer I really have no clue
@EriktheOutgolfer yeah, obviously
@DJMcMayhem short circuits may help
@cairdcoinheringaahing wait a sec...
@EriktheOutgolfer Can I solve that with x?
@EriktheOutgolfer What do you mean?
@Mr.Xcoder what are you referring to?
@DJMcMayhem you know what are short circuits?
18:58
@EriktheOutgolfer The CMC with [6,1,7,3] -> [1,1,1...,2,3,3...,3, 4,4,4
Like in C? foo() || bar()
@Mr.Xcoder only implicitly (as said previously is banned...and no you can't use ³ either)
Only evaluates bar() if foo() is 0
@Mr.Xcoder with x, you should be able to get 2 :P
@cairdcoinheringaahing 2?!
18:59
basically "foo() if foo() else bar()" in python would be same as "foo() or bar()"
@Mr.Xcoder have fun
@Mr.Xcoder and no you can't use x only
@EriktheOutgolfer Oh, really :/
But...
yeah otherwise it would've just been Jx which doesn't have any quicks at all ;)
@EriktheOutgolfer I have never used quicks, so it may be a good training
19:01
I can get to 5 bytes
@EriktheOutgolfer I know that, but I'm not really sure how I could apply that here
Or even apply that in jelly at all
@DJMcMayhem there's something called "vectorization"
@EriktheOutgolfer anything for me yet, or should I wait til they've finished?
@cairdcoinheringaahing better wait since the load is already a bit heavy
@EriktheOutgolfer Hint?
19:02
@EriktheOutgolfer sure. Can I help Mr. Xcoder? (if he needs it)
@Mr.Xcoder quick!
@EriktheOutgolfer ≥≥_≤≤
@cairdcoinheringaahing sure, just don't spoil too much
@Mr.Xcoder and a bit of searching doesn't harm
Do I need ?
19:03
Hmmm, I need to go
Sorry about that
I might get around to working on this later, but I'm not sure
@DJMcMayhem bye
@Mr.Xcoder oh and don't try to cheat by replacing with something that does the same thing
@cairdcoinheringaahing ok...I'm thinking of something now
⁸:38962102 I don't even know how would be helpful here, I barely know Jelly since... yesterday?
I just found my solution, @Mr.Xcoder I feel sorry for you :D
Don't spoiler just yet
@cairdcoinheringaahing don't feel sorry, spoiling is even worse
19:05
@Mr.Xcoder I won't spoil, I want to see how you do it
I figured LR would help a lot
@Mr.Xcoder there's a builtin for that
@cairdcoinheringaahing Right, forgot about that one
@cairdcoinheringaahing Do I need any kind of map?
19:13
@Mr.Xcoder in some sense of the word
@EriktheOutgolfer bye!
I have absolutely no idea
Maybe I do actually have some idea
Remember is allowed
@cairdcoinheringaahing :)
@Mr.Xcoder have you got it?
Hm, somewhat, I just need to figure things out
I generated incredible output: [[[[[[[[[[6666666666,,,,,,,,,, 1111111111,,,,,,,,,, 3333333333,,,,,,,,,, 7777777777]]]]]]]]]]
19:21
@Mr.Xcoder what's that code?
@cairdcoinheringaahing ŒṘ×€J
Doesn't make much sense ^
@Mr.Xcoder yeah that looks right, for that output :P
@cairdcoinheringaahing Give me one helpful thing apart from J and
@Mr.Xcoder you need to use more than one quick
@cairdcoinheringaahing ≥>_<≤
I didn't even find 1 yet...
I obviously don't know enough Jelly to solve that. I give up, because I have no idea how Quicks work
If I find a much easier task, I will try to solve it
19:25
@Mr.Xcoder show me what you have
@cairdcoinheringaahing I don't have anything
@Mr.Xcoder then let's go step by step
If it counts as something, I now have Jẋ
@Mr.Xcoder that's halfway there
I have no clue on how to continue?
/ maybe
19:28
@Mr.Xcoder do you need another hint?
@cairdcoinheringaahing Yes
@Mr.Xcoder We want a quick that will apply a function to each element in a list, correct?
@cairdcoinheringaahing We do
@Mr.Xcoder what other name do we use for this?
@cairdcoinheringaahing map? Loop?
filter?
19:30
@Mr.Xcoder only in Jelly. What does 1+[2,3,4] do?
@cairdcoinheringaahing Adds one to every element
Vectorization
@Mr.Xcoder exactly
@Mr.Xcoder what does that do?
Vectorizes
19:31
g
@Mr.Xcoder perfect, then. So what 3 atoms/quicks do you have now?
@totallyhuman hi!
@cairdcoinheringaahing I have two atoms: ẋJ, and one quick "
@Mr.Xcoder that's the main part. So put them together to get something that looks right
I only need to flatten now: Jẋ"
@cairdcoinheringaahing What now?
19:35
@Mr.Xcoder what do you need to do?
Flatten
F wouldn't work
@Mr.Xcoder try it until it flattens
That's crappy: 5 bytes ... Jelly Stringification!
@Mr.Xcoder but hold on. Check the CMC again
Exactly once!
19:38
@Mr.Xcoder exactly. So now we need a quick to do it for us
@cairdcoinheringaahing Sure
@cairdcoinheringaahing '?
@Mr.Xcoder no. Unfortunately, there isn't a quick that flattens
Reduce?
@Mr.Xcoder no. Lets go back to the original 3 characters
@cairdcoinheringaahing We have Jẋ" now.
19:41
try adding µŒṘ to the end to see the full list generated
@cairdcoinheringaahing Vectorizes converting to list
@cairdcoinheringaahing Jẋ"µFŒṘ
@Mr.Xcoder I can't remember why I did this next bit but, try putting the J at the end of the 3 byte part
@cairdcoinheringaahing I cannot see µ in the docs
@Mr.Xcoder ignore it for now.
@cairdcoinheringaahing Lol
[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59]
19:44
@Mr.Xcoder I got this
Oh, to the 3 bytes one
Yes
So can you explain what that does?
Replaces each element with a list of length <index> repeating <element>
Sorry for the bad wording
@Mr.Xcoder I had "It vectorizes the range list over the repeat dyad"
@cairdcoinheringaahing Yes
19:47
@Mr.Xcoder which is the wrong way round, right? We want it to vectorize the repeat dyad over the range list.
@cairdcoinheringaahing Right
@Mr.Xcoder so, leaving the order of the code the same, how do we swap arguments?
Quick?
@Mr.Xcoder yep. But which one?
@cairdcoinheringaahing Seraching
@cairdcoinheringaahing @
19:50
@Mr.Xcoder yes. So where do we put it?
After the dyad, of course
@Mr.Xcoder so whats the result now?
@cairdcoinheringaahing spolier - result: [1, 1, 1, 1, 1, 1, 2, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4]
@Mr.Xcoder make it into a spoiler
@Mr.Xcoder Well done!
@cairdcoinheringaahing Thanks, you did nearly all of it!
19:52
@Mr.Xcoder can you explain how the code works?
@cairdcoinheringaahing I am writing it down now
@cairdcoinheringaahing Get the range from the length with J
Vectorize with the quick "
Repeat the elements with .
Switch the elements to be repeated with the indexes with @
F will flatten the list
@cairdcoinheringaahing Good enough?
@Mr.Xcoder I'd say that's good enough. If you can explain it, you can code it q:
@cairdcoinheringaahing Jelly is much more complex than it seems. Pyth is infinitely more simple
@Mr.Xcoder I told you that before you applied :D You still did it tho :O
@cairdcoinheringaahing I like risking :D
19:57
@Mr.Xcoder do you want another one?
@cairdcoinheringaahing Give me a slightly easier one.
I'll see if I can think one up
@Mr.Xcoder Got one! Given an integer n, output the nth Fibonacci number, without using the builtin
Wow, that's very ungolfy, but will do
5 => 5, 10 => 55
@cairdcoinheringaahing Something easier, please (I'm quite tired)
20:00
@Mr.Xcoder ok, try that one later. Do you want something with quicks or not?
@cairdcoinheringaahing Without, If possible
I'm slowly learning
@Mr.Xcoder a bit of a fun one, use all single byte atoms in a program without erroring
@cairdcoinheringaahing All of them?
@Mr.Xcoder all single byte ones
I have a lot to copy-paste....
With input or without?
20:02
@Mr.Xcoder you can decide how many inputs
@cairdcoinheringaahing Wait, there's a new challenge on Main, I want to read it first
@Mr.Xcoder its by Stewie, its not gonna be easy :P
@cairdcoinheringaahing Stewie's are usually trivial (in Python)
@Mr.Xcoder I can tell you that it uses quicks. Just a warning
@cairdcoinheringaahing Your CMC?
20:05
@Mr.Xcoder no Stewie's challenge
@cairdcoinheringaahing I won't ever solve that in Jelly lol
@Mr.Xcoder I'm gonna glance over in about 5 minutes, see Dennis' 3 byte answer and give up code golf for ever :P
@cairdcoinheringaahing Don't leave me learn Jelly on my own
@cairdcoinheringaahing For how long have you been learning Jelly?
@Mr.Xcoder Since July 6th :(
@cairdcoinheringaahing You're good!
20:07
And I'm still level 1 :O
I kinda feel sorry for Mendeleev :( He applied, then got chat banned for a year
@cairdcoinheringaahing Wh... Why did he get suspended?
And for 1 year ?!?!?!
@Mr.Xcoder brb finding his meta complaint
@cairdcoinheringaahing The one with the PPCG outside SE?
This one's hard (Stewie's)
@Mr.Xcoder no the one about his ban
@cairdcoinheringaahing Oh
20:11
@Mr.Xcoder this is one of them, but he deleted the year long one
@cairdcoinheringaahing I am too lazy to copy-paste all the atoms…
@Mr.Xcoder me too :P
@Mr.Xcoder you use Pyth right?
@cairdcoinheringaahing Yes
@Mr.Xcoder try this in Jelly. There a Pyth answers that you can get the algorithm from.
@cairdcoinheringaahing That's extremely hard for me. Sorry, I don't even think about it!
20:18
@Mr.Xcoder It was a challenge that DJ set Hyper, Hyper hasn't finished it, so I doubt me or you could :P
@cairdcoinheringaahing No, won't even try
@cairdcoinheringaahing I guess I'll leave Hypertraining and move to The Nineteenth Byte now. See you there or Bye!

« first day (86 days earlier)      last day (2586 days later) »