« first day (69 days earlier)    last day (15 days later) » 

15:27
CMC: Check if a positive integer is prime
(without using the built-in)
15:40
@Mr.Xcoder btw, you said E or f, but none of them work here. i is a list...
Try )I instead of i
I really need to store all the common snippets in a gist or something
A wiki post could also be useful, it will be visible
Yeah ik
Wait a moment I've made a big mistake and Dennis just pulled it
I asked for a pull again, but until then, / won't work
Ugh, why am I still there, I should be making docs for CodeNote at the moment...
Done, / should be fixed now
15:48
What was wrong?
I accidentally removed it
removed what?
The function /
ahh
is... ) pushing 0 because shift+0 = )?
) pushes a 0 onto the stack because 0123456789 are functions that perform Top of the stack * 10 + themselves
15:52
i know, but... :P why )?
¯\_(ツ)_/¯
It looks like a toggle to me
Like toggle numeric mode
for me it looks like... something to trick IDE into a not-started paren... .-.
Huh alright :)(
I have 49 bytes
@Mr.Xcoder 17 bytes
And you don't use the built-in?
15:55
No (I don't use it)
Wait... d ಠ_ಠ
I should really remove d right?
In general or for this challenge?
In general
haha XD
Now that we have F I feel it's no longer needed
CMC: Primality test for positive integers without p or d
My attempt at 49 bytes (don't be eager to click before trying first :P)
16:02
@Mr.Xcoder - The register is reset in filters and maps
I am aware of that. Didn't I remove the register?
Doesn't look like it
Oh, I didn't...
Anyway I won't bother Dennis with another pull for now.
Can we output 1 for prime and a positive integer aside from 1 for not prime?
Should be fixed now
@cairdcoinheringaahing That doesn't follow the standard truthy/falsy definition, so no.
16:06
In that case, 49 bytes (spoiler) (very different to yours)
Mine is invalid ಠ_ಠ I am multiplying instead of dividing
It seems to work for me, how is yours invalid?
Hold on a sec
Let me figure out if the first one is valid.
@cairdcoinheringaahing The first version is just non-sense... I was dividing the input by 1 ;-;
Though it is valid.
If we could output as I asked before, I would've got 31 bytes :(
Same here
@cairdcoinheringaahing Yours is invalid :P
There's probably a bug with M on empty lists
@Mr.Xcoder Yeah because you're trying to use enumerate and then don't handle the empty case...

« first day (69 days earlier)    last day (15 days later) »