« first day (2253 days earlier)      last day (2887 days later) » 

16:00
I gotta go (Lunch)
@ГригорийПерельман why not?
@AdmBorkBork Tru, 50cm is like somewhere between a medium and a large.
And we here go up to XL :P
@JanDvorak It implies that you willingly eat Spinach, which I find odd.
16:01
It is not bad
I like veggies
Yeah, I like tomatoes and basil and such but spinach is bleh
I ate vegeterian food once, and I liked it
(quinoa and such)
Don't post a link to your new post here. It will automatically be posted by the Sandbox feed
16:06
ok
the sandbox feed is all knowing :)
@Lembik it looks like a duplicate to me, but I don't have time to go looking for one right now
Well this is new
/srv/wrappers/javascript-node: line 4: 11192 Killed /opt/node-v7.2.0-linux-x64/bin/node .code.tio "$@" < .input.tio
@Lembik expect a trivial answer in Retina
@MartinEnder interesting
@JanDvorak ah.. and an amazing answer in bash I hope :)
@fəˈnɛtɪk That's the OOM reaper which kills the process when the server runs out of RAM.
16:08
It seems like a pretty simple challenge
@mbomb007 yes. Is that bad?
there's nothing wrong with that
I'd check for duplicates first.
I am told code-golf should be simple
@Lembik don't hold your breath
16:09
@JanDvorak for a great bash answer?
@Dennis How does the reaper kill the process if it's OOM (out of mana)?
@JanDvorak but I live for great bash answers!
I might be wrong, though. I often am.
16:10
:)
0
A: Sandbox for Proposed Challenges

LembikCheck for repeated repeated words Consider a stream/file containing printable ASCII text. Task Your code should read in a stream/file containing printable ASCII text and output any repeated words. A repeated word is one where it occurs twice or more in succession, separated only by white spa...

actually.. can anyone see how to do it using good old commnd line tools?
@mbomb007 Not sure if joking or serious.
Out of mana
@Lembik sed
16:10
@Lembik Well I ended up looking for a dupe anyway, but the only thing I found is the one you already linked to.
@MartinEnder ok sounds good
so the only thing is the function question I think
I should allow them as people love them
and cry if I don't :)
@Lembik the usual question though: what's a word?
The bird is the word
something white space separated
16:13
how about A word is maximal length contiguous sequence of alphanumeric ASCII characters.
is that OK?
so, \w?
that includes _
happy1234 is a word
ok.. err..
It doesn't look like to me
that works but it seems unnecessarily technical. "Words are runs of letters and digits" would be clear and unambiguous
16:14
@JanDvorak does \w+ allows don't ?
is you're a word?
@MartinEnder but it's wrong... don't
you could use stacked and call it \l+
@Lembik no
16:14
\w matches letters, digits and underscores
@ConorO'Brien Same in Japt. I wonder if Retina has any classes like that
do not "don't"?
no don't
is there a regex for words?
but abiseechs32 is a word
So... [A-Za-z']+?
user165474
\w+?
@Lembik that depends on what you call a word...
Matches all kind of random crap
16:16
@JanDvorak waht does that match?
@ETHproductions that looks good to me
@Lembik runs of non-whitespace characters
@Lembik All nonwhitespace
I might go with [A-Za-z]+'?[A-Za-z]*
A word is defined by the regex [A-Za-z']+.
how about that?
16:16
@Lembik sequences of non-whitespace characters
But then again, you might want to include hyphens
@Lembik so no digits, no hyphens?
[A-Za-z'0-9-]+ ?
[A-Za-z][a-z]*'?[a-z]*
is that even a correct regex?
16:17
@Lembik doesn't match non-matching, non-words
I don't want -+* to be a word
just taste :)
@Lembik that looks good to me.
16:18
thanks
Is wOrD something you want to match?
Then -35 is a word. Not sure if you care about that though
should repetitions only be found around spaces?
@ГригорийПерельман I think so
or is this. this also a case of repeated words? words.
16:19
it's not
just whitespace
Regex needs to have a logical not operator.
what about case-sensitivity?
@ГригорийПерельман Maybe ATM would be something to match though
@ГригорийПерельман like (?!...)?
or [^...]
16:20
@MartinEnder That's a lookahead
@ГригорийПерельман Ruby has that
@MartinEnder I don't care about case-sensitivity
I wanted this to be a simple challenge
Oh I see
then make it case sensitive
yes I do care about case-sensitivity
16:21
@Lembik boo hiss
@JanDvorak :(
I still don't really understand how [0-9-] is valid :)
@Lembik can we just be clear: Does does this sentence contain a repeated word?
@MartinEnder no
awesome
so case sensitive it is
I mean yes we can be clear :)
16:22
I hate english
@Lembik well, most flavours simply say that a - at the beginning or end of a character class can't possibly be a range, so it's treated literally. that said [0-9-!] where the second - still can't really be part of a range will cause many of them to error out.
@MartinEnder Interesting thanks
> As part of our efforts to improve accessibility site-wide, the launch of Dance Dance Authentication also includes the implementation of Blink Blink Authentication and Sing Sing Authentication.
its on the starboard
What??
16:25
Ninja'd :P
@betseg What is?
the link to the blog post is
Oh, I can only see 3 things on the board.
egrep "(\b[a-zA-Z]+) \1\b"
or a variant :)
16:26
I guess when he posted that, I was more focused on the goat goatCancel and stuff
@Qwerp-Derp Here
@Lembik mind if I restructure your spec a bit?
@MartinEnder Please do!
that would be very kind
What. I'll never get used to time zones, and their way of making April fools come a day early each year.
16:29
@Lembik can there be multiple spaces between words (and if so are they still considered repeated words if they're the same)?
@MartinEnder yes
okay
does output have to be a single newline-separated string or can it be a list of strings? (one list per repeated word)
can the input be empty, and if not, can it contain no repeated words at all? (I assumes yes to both of those?)
CMC: Given two strings, determine if they describe two equal sets of characters.
Keeping in mind sets aren't ordered and don't count duplicates
16:35
Equal in length also?
@ГригорийПерельман So the set of test would be t, e, s?
Yeah
test and ttttttssssseeests describe the same set.
@ГригорийПерельман "don't contain duplicates" sounds like a guarantee for the inputs. or do you mean we have to deduplicate them?
@ГригорийПерельман Python, 25 bytes: lambda a,b:set(a)==set(b)
Anyway, CJam, 4 bytes: {^!}
16:37
@MartinEnder No you have to deduplicate them.
(^ is symmetric set difference)
Java, 115 bytes: a->b->for(char i:b.toCharArray())if(!java.util.Arrays.asList(a.toCharArray()).contains(i))retur‌​n false;return true; I should probably try a different approach.
Dyalog APL, 13 bytes, {∧/(⍵∊⍺),⍺∊⍵}
dont even try in C
2
friends don't let friends try C
11
16:41
1
Q: March Madness - When Will Two Seeds Meet?

BLTEach March in the United States, the NCAA holds a 68-team tournament for both men's and women's college basketball. Here's what the bracket looks like: There are four regions, each with 16 teams seeded from 1-16. Each region is seeded the same way, and across the four regions, the same matchu...

@ГригорийПерельман Try it online!
@MartinEnder PowerShell, 81 bytes -- function f($n){-join(([char[]]$n|group).name|sort)};(f($args[0]))-eq(f($args[1])) ... might be able to be golfed a bit
Prints a truthy array for true, and errors for false. That's valid, right?
Random question. Is there an FAQ about using your own language?
C isn't so bad. It's somewhere in the middle between assembly and a real programming language.
@DJMcMayhem if it predates the challenge, go ahead
@DJMcMayhem Usually it would be, because then you can say output is by exit code, but MATL exits with 0 anyway, so no.
16:44
@ГригорийПерельман oh that method might work in C, maybe even shorter than Java
@MartinEnder Can you please clean up the comments on this, now that it's re-opened?
Or @Dennis @Doorknob ^
@ГригорийПерельман Retina, 19 bytes
@ГригорийПерельман Well, I pinged Martin because he was recently active in chat.
Stop using flags as jokes. No question. End of. Just stop. It's not funny for mods, nor for all the 10k users who end up seeing flags without any reason.
22
16:45
@JanDvorak I know that. I'm wondering if there's a meta post about it
@ArtOfCode What was flagged ??
@DJMcMayhem Can you find the setting for the new authentication modes? I can't find it...
@ArtOfCode Ugh, I'm sorry I never realized how bad it was because flags don't show from mobile. Is that still going on?
19 hours ago, by Riker
Flags aren't jokes, please don't use them as such. If you're trying to make a point, well, still don't use flags.
Well then.
16:47
@MartinEnder thank you for the edits
@DJMcMayhem Idk, it happened on Tuesday
Can mods see who flagged something?
@Lembik in case you overlooked it: "does output have to be a single newline-separated string or can it be a list of strings? (one list per repeated word)" and "can the input be empty, and if not, can it contain no repeated words at all? (I assumes yes to both of those?)"
@ГригорийПерельман does it work for "test","te"?
16:48
@ETHproductions under certain circumstances.
@betseg No, test contains s
@MartinEnder yes sounds good to me
I did miss that
@ETHproductions only custom flags
Ah
I was just asking because it seems like we're getting to the point where we may need to start kicking for invalid flags.
Clearly some troll finds it hilarious that no one can stop them since the mods can't tell who it is
16:49
@ГригорийПерельман code looks like it checks every letter in b if theyre in a or not, does it return 0 if a letter in a doesnt exist in b?
Maybe we could make a meta.SE post about it?
Mods can tell who it is, under certain circumstances. And CM's always can.
Feature-request: non-anonymous flags for frequent flaggers
We should just ask a CM then
3
16:50
@ГригорийПерельман C, 131 bytes. Try it online!
@ConorO'Brien or that. If someone is kicked three times from the same room, it'll ping mods. Maybe the third invalidated flag should ping a mod (and reveal who is doing the flagging)
Or something like that, idrk
@MartinEnder i didnt make a friend do it, i did it myself :P ^^^^
tbh I'll take any solution we can get
@DJMcMayhem they know already.
@DJMcMayhem that sounds like a feature request to me
16:52
you get a cookie if you can figure out what this does without running it
@ThomasWard Ok good, thanks for the update!
@ConorO'Brien prolly hello world
:D it is
send cookiez
@ConorO'Brien prints he...ugh ninja'd
16:53
@ArtOfCode 🍪
i got a cookie from github \o/
Someday I'll learn JS and then I'll be able to properly make the pun about browser cookies.
@AdmBorkBork poof
@ConorO'Brien That's what you get for leaving Hello in the code.
16:54
@mbomb007 ... true.
@ConorO'Brien O?O:O +1, much obfuscation
that was just to make the line lengths nice >_>
I understand :P Nice trick with "".strip btw, for a second I thought there was a standard JS function I didn't know about
haha thanks, that's one of my favorite parts
while writing this, I found another one that's a bit more fantastic
@ETHproductions that reminds me of some fun shenanigans you can do in Ruby: p !?:?!?!:?!
16:59
@MartinEnder What does the do
ok that's pretty cool

« first day (2253 days earlier)      last day (2887 days later) »