« first day (1655 days earlier)      last day (3189 days later) » 

1:11 AM
@Dennis Do you speak Guarani?
My new favorite innocuous insult that sounds vaguely offensive: little bustard.
 
1:44 AM
@trichoplax Regex to match regexes - no XD. Features are already restricted as necessary, the bottom half is just syntactic sugar. And I did consider walls as cells but it would make the regexes very long
 
I must say I didn't realise how awkward judging the answers would be until I read your sandbox post
 
Yeah that's one of the biggest problems with this. For small mazes you could try all strings up to a certain length of throw random strings at it, but that's still no guarantee for corrrectness :/
 
Is it any easier to judge if you have a reference regex for each test case that you know is valid?
 
1
Q: Generate fractals from bit patterns in ASCII

samgakOverview Write a program that prints out simple fractal patterns given a bit pattern encoding the fractal, plus the per-generation scale factor of the fractal and number of generations. Explanation Here is an ASCII representation of the Sierpinski Carpet: Generation 0: # Generation 1: # ...

0
Q: Empty a Swimming Pool . . . With Only a Red Solo Cup

Nick B.You have a swimming pool that is filled to the brim with water. You need to empty it, but you can't think of an efficient method. So you decide to use your red solo cup. You will repeatedly fill the cup all the way and dump it outside the pool. Challenge How long will it take to empty the pool...

 
Well I'm not sure how a reference regex would help per se...
 
1:53 AM
@trichoplax I just read your post on meta, and i'm inclined to agree with it. I had the idea to make a gameshow question, and realized (after coming up with the question) that it would be fun to offer a small prize for answers, so I reworked the question to basically guarantee $1-$4 for a decent algorithm. Reading your post though, I can see how my question could set a bad precedent, and potentially detract from the quality of comments (and questions) asked in the future.
Do you think it would be a good idea for me to remove those prize conditions from the posts retroactively? No one has answered the 3rd one yet, so at the very least, I could do that.
 
I can see that yours was intended to be fun - and it doesn't seem to be causing any problems at the moment so it's up to you.
I think it will be a few days or a week before the community has cast enough votes on meta to reach consensus, so there won't be any action taken immediately.
 
There seems to be a meta downvote-brigade from your post, so it would probably be in my best interest to do so. It didn't really put those questions in a very good light.
Not that I care about points much, its just a bit disheartening to wake up to negatives for something that I put some thought into designing for fun :/
 
I tried to state that your questions were not the problem, so I'm disappointed if it has brought you downvotes. I like your questions.
If the same person downvotes all 3 of your questions in a short space of time, the system will recognise this as serial voting and reverse the votes (usually the next day). The same applies for serial upvoting.
I notice that there is only 1 downvote each on the 1st two questions, but 3 downvotes on the 3rd
 
I cant see the down/up volume yet (not a high enough score threshhold). The 3rd one seems to have gotten hit the hardest, even though I think it added more depth to the question than the 2nd
 
Perhaps since there are no answers it would be OK to cancel the prizes for the 3rd question. After you have edited, downvoters will be able to reverse their downvote if they wish to.
 
2:00 AM
I edited all 3, and linked the meta post
I just removed the prize condition, not revoking prizes or anything. The strategies are pretty fleshed out as it is, I don't think theres much more than incremental improvements that can be made at this point. I made the edits to all 3 to prevent the questions being used as precedent for later people who see them, and want to give a prize.
 
@BrainSteel
 
@AlexA.
 
Oh hey what's up
 
Not much, sitting around thinking about this puzzling problem.
 
up
adverb \ˈəp\
: from a lower to a higher place or position

: in a high position or place

: toward the sky or ceiling
@AlexA.
 
2:06 AM
@BrainSteel I certainly enjoy the title.
@LivingInformation Yes, this is Alex.
 
@AlexA. You asked what "up" was
 
That's not what I asked but I can see why you might have come to that conclusion based on my wording.
 
@LivingInformation That makes sense. I've also edited the meta question to make it more clear that your questions are not mentioned for downvoting purposes but just as examples. Hopefully you won't get any more downvotes... :)
 
Alternatively, what things may be considered "up". Oddly, as "up" is purely positional, anything that one sees as "up" could arguably be down as well. Everything is up.
 
@trichoplax thanks for that
 
2:10 AM
@BrainSteel "Up" is relative to some reference point. So for any object, regardless of its location or orientation, there exists a point at which the object can be referred to as being "up."
 
@trichoplax I hope the 3rd part of that question gets some traffic, I want to see how people deal with the decision of when to stop playing, and how they use the Oracle to determine if its worth continuing
Making the player pay for every turn means the Oracle actually has a tangible benefit
 
Good thing most of us are on one hunk of rock traveling through space, so "up" isn't quite so confusing. Imagine trying to explain up in a multi-planetary civilization.
 
Interest in questions is hard to predict. There are rough busy and quiet times of the week, but sometimes a question unexpectedly gets no activity, or a sudden burst of activity
 
My dosa question got many fewer views than I had expected, despite having +23/-1.
 
The vote count can be misleading on questions with a catchy theme...
 
2:15 AM
Question votes/views is to answers as days in beta is to graduation
4
 
^^
@BrainSteel Assuming they would understand English, particularly my distinctly Northwestern American accent, I would probably just point up and then qualify it with what I said a couple minutes ago.
 
On a side note though, statistics for the past 4 days: 10 questions (not counting deleted/on hold) of which 3 are tips
So it's been pretty quiet
 
Class is starting next week, so I imagine I'll spend a lot more time here.
 
for getting fewer questions and more challenges
 
@AlexA. We can't colonize another planet yet. Linguistics isn't ready for it.
 
2:19 AM
Hopefully Computer Graphics will get to public beta in a week or so then I can get back to my sandbox posts...
 
@BrainSteel If there's one thing I learned from Star Trek, it's that everyone in the universe speaks English.
 
0
Q: Laplace transform of a polynomial

Vladimir LeninYour goal is to write a program that will print out the Laplace transform of a polynomial function f(x). The Laplace transform of f(x) is defined as the integral from 0 to infinity of f(x) e^(-sx) dx. The standard input for the polynomial function will be a+bx+cx^2+dx^3+... If the coefficien...

 
2:34 AM
All of a sudden, New Main Post explosion.
 
'Tis a monday.
 
*Tuesday
 
Monday here. You're outnumbered. :P
 
It's 12:40pm here, which means more of the Earth is on Tuesday than Monday :P
 
Nuh uh. I haven't done my Monday workout yet. It ain't Tuesday until I say it's Tuesday.
 
2:41 AM
@BrainSteel You work out at almost 10pm?
 
Umm... No... Of course not...
 
Not judging, just didn't know gyms were open that late.
 
I doubt they are. I go to a local park that has some exercise utensils.
 
Oh, okay. But don't parks close at dusk?
 
What are you, a cop? :P But these are little community parks that, so far as I know, are open all the time. I've never heard of one closing.
 
2:46 AM
I'm the Fun Police.
 
Do parks near you close?
 
Parks close at dusk if they're themed, skateboard, national and, occasionally, for cars
Not the community ones around here though
 
Growing up I always saw signs that said "Park closes at dusk" and my friend once got her car gated into a park's parking lot because it was there past closing.
 
That seems very foreign to me. I tend to be at parks around 5 AM an awful lot, though...
 
You work out in the park at 10pm and are in the park at 5am. Do you sleep there?
 
2:52 AM
I'm sure I could, but alas I have a bed.
 
Are you only in it for like 4 hours?
I'm very confused by your schedule based on the information you've given.
 
It makes perfect logical sense - go to park at 10pm, sleep at 11pm, sleepwalk to park at 5am, wake up and have breakfast some time after.
 
Well, I'm also in parks in the mid-afternoon a lot too. Today I spent a couple hours in one at about 3PM.
On the Internet, no one knows you're a squirrel
 
You said you have a bed, not that it isn't in the park.
It sounds like you live in the park and hide in the trees to mooch off of nearby unsecured wifi networks.
 
I happen to live within a mile of several lovely walking places.
My bed is in a house... In the park.
 
2:58 AM
Oh, so you have those fancy "leg" things I keep hearing about.
 
I hear they're not very useful to birds D:
 
I no longer live within walking distance of any parks. :/ I did in my previous two residences, which was nice.
 
3:14 AM
They're great for when your friends freak out. Just walk around the park, and everything will be okay. That's how life works.
 
Sounds like you're a good friend. :)
 
Well, I try to be :D
 
3:39 AM
@AlexA. Not sure why, but I didn't get a notification. Your message still doesn't show up in my inbox...
 
@Dennis Weird.
 
Maybe it's my new chat app. No idea.
To answer your question: no, not really. I understand it to some degree, but I could never be bothered to learn it. It's a very odd language.
 
Is it not similar to Spanish?
Perhaps not, given that it's a native language and Spanish is the language of the settlers.
 
As similar as Navajo is to English. :P
 
Haha excellent analogy!
 
3:45 AM
There are 7 (I think) ways of saying hello, depending on which time of the day it is.
Good morning, e.g., is Mba’éichapa ndepyhareve?. I can't even pronounce that...
 
"Good morning" is a question?
 
Yup. How's the morning?
 
Oh, okay.
 
Or something like that. I'm clearly an expert. :P
 
Then it makes sense that there would be multiple since you're essentially asking "how's your <time of day> going?"
Do they not have a simple catchall greeting for situations where you really don't care how someone is doing?
 
3:48 AM
That would be Mba’éichapa?, which still asks how things are going, but doesn't care about the time of the day. It's not proper Guaraní, but it's common.
 
I see.
So it's like the Guaraní version of "sup"
Improper, common, implied "how are you"
 
Pretty much.
 
Very interesting!
 
Nobody really speaks real Guaraní anymore. There's the weird textbook version they teach in schools, which nobody speaks on the street or spoke in the wild (it had to get modified to be usable nowadays), and there's the unholy Guaraní-Spanish mashup which is all people know once you get too far away from the big cities.
Also, a lot of Guaraní idioms snuck into the local variation of Spanish, which can be quite puzzling for visitors from other Spanish-speaking countries.
For example, people say "voy a venir" ("ahata aju"), which translated literally means "I'm going to come". What they really want to say is that they will go away now, but they'll come back later.
 
@Dennis That's very confusing.
@RetoKoradi I can only imagine what that removed comment was...
 
4:07 AM
Not as confusing as later now, which simply means later.
 
Note to self: Don't try to learn Guaraní.
 
I tried learning Guaraní, but I gave up after a while. There are 12 vowels: the usual five, y (which sounds like somebody is choking you, and their six nasal counterparts.
I couldn't pronunce the nasal y if my life depended on it.
 
Like if you were trying to sneeze while being strangled?
 
@AlexA. Nothing bad. I think I had misunderstood which language was which in what Dennis what explaining. So it probably didn't make any sense.
 
@RetoKoradi Oh, okay. I thought it had to do with the literal English translation in Dennis' comment before your deleted one.
 
4:11 AM
More like if you had a bad cold and somebody was choking you. Which is just mean.
 
Do you end up speaking much German anymore? I imagine you interact with people and teach in Spanish and you write in English here.
And yes, clearly one should refrain from choking someone if they have a bad cold. :P
 
Almost exclusively when skyping with my family.
 
I can't even imagine keeping that many languages straight in my head.
 
I don't write a lot of German anymore and it's getting harder every time.
 
You could do answers on German Language SE (if such a site exists)
(I think it does)
 
4:17 AM
@AlexA. Yeah, if you want to choke somebody, it's polite to wait until they are healthy.
 
It's difficult at first. You think in one language, translate it in your head, then mouth the words. But I'm capable of thinking in all three languages by now. You know you're there when you have your first dream in that language.
 
the worst part about writing German is if you have no umlauts on your keyboard
 
That's easy on a Mac though. Just hold a vowel key and press 2. Example result: ü
 
I use US international with AltGr dead keys on all my keyboards. Works for German and Spanish.
 
I have no idea what that means.
 
4:21 AM
Right Alt becomes AltGr, which is a different modifier. Alt+Y, e.g., produces ü.
 
On Mac I can Cmd+Space and change keyboards, for example to 日本語 or Français or татар теле.
 
on Windows, you can do stuff like holding down the alt key, then type 0252. it's ok if you use it frequently enough, but I have to look it up again when I use it once or twice a year
 
Windows has international layouts as well. Sure, I could use a different layout for each language, but that just gets confusing.
 
When I was studying French, I usually opted to just take advantage of the features of the OS X keyboard rather than switching to the AZERTY French layout.
 
Yeah, German layouts use QWERTZ, which is a headache when your not used to it. And all the symbols are in the wrong places...
 
4:27 AM
My WPM drops to 1 or 2 in any layout other than QWERTY. :P
 
I started using the US layout when I bought my first imported laptop. I was using Spanish (also QWERTY) before and German before that. I can get used to any layout, as long as it's consistent on all machines I use.
 
How do you do accents on the Spanish keyboard?
 
My coworkers usually opt for a Spanish layout for their US keyboards. I couldn't work like that...
There's a dead accent key, which you press before pressing the actual letter.
 
I'm not familiar with the concept of a dead key.
 
Pressing it by itself does nothing
 
4:35 AM
Oh, okay. So it's only effective when followed by another key press.
 
Acute accent + letter accents that letter. Acute accent + space produces the actual accent.
Yes, which is why I dispise the normal US international. Backtick, tilde and quotes require two keypresses.
 
How many accents are there in Spanish? Isn't there more than one, perhaps both è and é? Doesn't that require multiple dead keys?
 
The Spanish keyboard has both, but the language only uses acute accents.
 
(Accute is é, right?)
 
Yes. The other is grave.
 
4:40 AM
Gotcha. Didn't realize that Spanish only had one. Are accute and grave separate keys on the Spanish keyboard?
 
Yes. This is the traditional (read, not Latin American) Spanish layout:
 
Hm.
 
The keys next to Ñ and P (where ' and [ should be) are the modifiers for acute and grave accents.
 
Gotcha
 
There's also the dieresis, which you need to type ü.
 
4:45 AM
That's not part of the Spanish language though, is it?
 
It is. A u in gue or gui is mute. A ü in güe or güi is an actual u.
pingüino, for example.
Weirdly enoguh, ç (which isn't used in Spanish) has its own key.
 
I thought you said accute was the only accent?
 
It's a diacritical mark, but it's not an accent.
 
Oh, I guess I consider any mark not typically part of a letter an "accent."
Just poor vocabularity on my part.
 
There's also ñ, but that's an entirely different letter in the Spanish alphabet.
 
4:53 AM
I had forgotten about ñ
 
That's it for today. Good night!
 
Goodnight!
Nice chatting with you as always.
 
5:10 AM
@PeterTaylor Out of curiosity, if you didn't formally study it, how do you learn this math stuff? Books? Or all from the internet?
 
Peter absorbs mathematical knowledge through osmosis.
 
Sometimes I think it would be cool to know more math. Particularly when reading posts from guys like him, and not understanding most of it. I had the typical high school and college math, and was always good at it. But if it gets into advanced group theory, or something in that style, I'm completely lost.
 
I did my undergraduate degree in math and I still don't understand most of the crazy math stuff posted here that I did study.
 
@LivingInformation That might be unrelated to the meta-post. A series of three related questions will sometimes attract downvotes from people who don't think they're quite duplicates, but do think they're not adding anything to the site.
 
5:27 AM
@AlexA. It's all relative. I think I'm doing reasonably well compared to others with a similar education. Sometimes I'm amazed when somebody doesn't know basic high school math. I've had to explain cross products to people.
 
@Dennis It's used in Catalan. So's the grave accent.
@RetoKoradi More from the Internet than from books, although I do have books on field theory and partitions kicking around somewhere.
 
I like when I'm reading a math proof or explanation of some concept, and a sentence starts off "it follows trivially..." and I completely don't understand it, let alone "trivially". It's like a math nerd's way of letting you know you're stupid
 
@samgak I don't think it's calling one stupid so much as just saying, "I'm too lazy to write out the result."
 
@samgak Reminds me of a math professor we had. He would solve stuff like differential equations on the board, completely from memory, and constantly say "and then follows straightforward". While nobody had the faintest clue what he was even talking about. Fortunately we didn't have to take an exam on that class.
 
"The proof is left as an exercise for the reader" is the worst. It means the author was lazy, and I'm certainly lazy too work out the proof myself, so nothing gets proved.
 
5:35 AM
@PeterTaylor Do you have any recommendations on web sites or books? Frankly, I'm not sure I have the determination to really get into it. But sometimes I'm tempted. But math is such a wide field with so many different areas, that I wouldn't even know where to get started. And for books, if they would be the right level for me.
 
5:53 AM
hi @PeterTaylor
hi @RetoKoradi
@AlexA. I sometimes think PPCG should be used as an advert for why coders should learn math
 
hi @Lembik. I think you pinged me earlier today. I was at work, and I don't normally post/chat there.
 
@RetoKoradi no problem at all. Just wanted to chat about your answer to my question
 
Sure. It's pretty simple. No graph theory. ;)
 
:)
it's curious about 164
given that you are both using greedy methods
 
I think Peter's approach is different. I don't really understand it, but it sounds like he uses concepts from graph theory to solve partial problems. Greedy in this context just means that you pick one option from the ones you have available, and stick with it. But the underlying algorithms seem very different here.
 
6:20 AM
I wonder how close to the absolute maximum they are. Of course there's no way to tell for sure. But I have a feeling that the maximum might not be a whole lot higher.
 
@RetoKoradi I suspect you are right
@RetoKoradi Peter's second heuristic tells you which one he picks
but his first is not clear to me
he definitely just picks one and sticks with it
 
One approach I thought about is that instead of just picking the smallest counter array, to pick the one with the most overlap with the ones that were already chosen. Or, looking at it differently, the one that uses the least of the still available solution space. But I'm not even sure how to quantify that. And it would probably be much more expensive.
 
6:36 AM
That sounds like Peter's smallest degree heuristic, the "uses least of the still available solution space" part
 
@RetoKoradi if you consider it as an "independent set" problem then Peter selects the counting array that matches the smallest number of other strings at each turn.
or what @Sp3000 just said :)
 
@Sp3000 I wasn't sure what exactly "lowest degree" meant there. As most of the time, I was kind of lost when Peter explains things. :)
 
Try looking at Martin's graph
 
6:56 AM
Yes, degree in graph theory is normally the number of edges for a vertex, as far as I remember. But if that's it, it might be fairly similar to what I'm doing already. What I'm considering is taking into account which values (vertices) are already part of the solution. In his terminology, this might be like only counting the edges to vertices that are not part of the solution yet.
Anyway, I figured that it would probably be tough to beat when I saw the posted solution. But I wanted to give it a try anyway, and was actually pretty happy with how close it got with a low tech approach.
Well, when I initially started, I had a slightly different idea. Which after a while I realized was completely broken.
 
7:20 AM
0
A: Sandbox for Proposed Challenges

CrissovValiDate RX "regular-expression" Challenge Find the shortest regex that validates, i.e. matches, every possible month-day date in the proleptic Gregorian calendar (i.e. also applied to dates before its adoption) and does not match any invalid date. Input is in expanded ISO format ±YYYY-MM-DD (...

 
7:43 AM
Aren't the LivingInformation's gameshow challenges just duplicates of each other? Or are their specs sufficiently different?
And @MartinBüttner, I might be a bit late but congratulations for hitting the big 10K ;)
 
uhhhh?
 
Haha I'm joking :)
 
@BetaDecay the differences are fairly small, but I think they affect the strategies quite significantly
 
@MartinBüttner Oh okay. It's just that they seemed a bit repetitive :P
 
8:19 AM
0
Q: Two Makes All The Difference - Cops

Beta DecayChallenge Write a valid program which, when just two characters in the program are changed, removed or added, completely changes the output. The changed output must have a Levenshtein Distance of 15 or more from your original output. The output must be non empty and finite. Your program theref...

0
Q: Two Makes All The Difference - Robbers

Beta DecayFor the main cops' challenge, click here Challenge Given the original program, its output and the output of the changed program, you have to find out which characters need to be changed, removed or added to get the expected output. When you crack someone's code, leave a comment with a link to ...

 
8:33 AM
@BetaDecay Does the program have to use printable ASCII or are any characters okay?
 
@Sp3000 Any characters are fine
 
Also, you might want to add that output should be deterministic
 
Oh yeah, that would help :D
 
You know, somehow I feel like the easiest submission is still print hash("something")
 
I guess there's no point in disallowing hash functions
 
8:43 AM
Even if you did I think there'd still be ways to bypass the rule while still employing the concept
 
But would they be the shortest option?
 
If you're allowing any chars, then hash("") is already over a million possibilities from adding one or two chars
 
Damn. I'll disallow it then before any answers are posted
Let them find a workaround ;)
 
Well as I say, bypass methods
What if hashing is part of the language itself, and isn't something you explicitly call?
 
What do you mean?
 
8:49 AM
 
Well I guess it's still hashing and so isn't allowed
Also, how would you define a hash function? :/
 
Just taking a look at Dennis' CnR - I feel like builtin PRNGs should be banned too
 
Isn't that ruled out by output having to be deterministic?
 
Not if you seed it
 
Ohh I see.
I have a feeling I should have left this in the sandbox for a bit longer
 
8:58 AM
Not really... I was expecting Dennis to reply to your change, but it didn't happen
Also some things you only just realise when you actually try to make a submission, unfortunately
 
Haha that's good to here :)
@Dennis Do you have any thoughts on my CnR?
 
9:33 AM
1
Q: Build Me a Pyramid

gilad hochyou need to build a pyramid from cubes. cubes can be viewed from 2 angles: _____ _____ /\ \ / /\ / \____\ /____/ \ \ / / \ \ / \/____/ \____\/ this is an example for 2-size cubes from the 2 possible angles. the height of the qubes is $size slashes (or...

0
Q: join lists by common elements

d.puttoYou have N lists A = [5, 6, 10, 15] B = [3, 0, 7, 4] C = [49, 59, 29] D = [19, 29, 39] E = [9, 15, 3, 10] You have to combine them such that: Two lists which have a common elements they should be next to each other. In this case answer is: A,E,B,C,D [5, 6, 10, 15, 9, 3, 0, 7, 4, 49, 59, 29, ...

 
 
2 hours later…
11:22 AM
@BetaDecay I think my answer depends on whether you're on 32 bits or 64 bits :/
Damnit floats
 
 
2 hours later…
1:51 PM
@BetaDecay You should disallow built-in encryption as well.
 
I thought it was odd that I'm beating the other Python answers on this question by well over 100 bytes, then I realized Sp3k/xnor/feersum weren't the ones answering :P
 
@Kurousagi Hello
 
@Sp3000 Not at 4:20 in the morning it won't. :P
 
The change was 3 days ago :P
 
Oh, you meant the sandbox post?
 
1:56 PM
@Vioz- Something tells me you should be able to express ceil in terms of floor, or int
Yeah the sandbox post
 
The edit didn't address my comment that built-in hash function would have an easy win.
 
I would've thought so, but I'm not sure how to deal with an exact answer, ie. 9.00, if i int that, it will still be 9, but a 9.11 needs to be 10, so I would need to add 1 to the inted value, which would mess up 9
 
Maybe something stupid like -(-n//1)?
(Surely there's better)
(if that even works)
 
Actually, that seems to work
 
@Kurousagi btw what I posted was from the changed output. Since you copied from the actual interpreter, I'm not surprised that the results are different (if my guess is right it should start with something like [\x01\x02\x03\x04\x05\x06\x07\x08\t\n)
(possibly with an \x00 at the start)
 
2:04 PM
Wow, looks like that and another shorten will get me down to 103!
Sub-100 has to be possible..
 
-~(c<'t')/2.?
(I'm not testing these btw, just guessing)
 
That is the change I'm just about to add to get me down to 103 :P
Aha, I think I'm sub-100 now
Yep, 99 :D
[3.14*k*k*l,k*l*m][q>'c'] -> k*l*[3.14*k,m][q>'c']
 
Do you need to bracket -(...)//1?
 
It appears to be that I don't need to :)
 
Same operator precedence so dropping it performs left to right
For the division at least
Makes me wonder whether you could move the outer one and get -s
 
2:16 PM
Well, it works for the two test cases :P
 
2:39 PM
@RetoKoradi math.stackexchange.com, Wikipedia, and arxiv.org.
 
2:51 PM
@Vioz- Have you tried -u(a,*c)//u(b,*d)*-s ?
Or are they both floats?
 
By 'both floats' are you referring to each u(), or the two of them divided and s?
 
Hmm actually // also floors for floats it seems
Makes sense I guess
 
Seems to work!
 
assert math.ceil(a/b) == -a//b*-1
^^ seems to work XD
 
:D
 
3:23 PM
For Lambda Data's answer, does the _ variable evaluate to 0 ?
 
@TheNumberOne Is it just me, or does Long.MAX_VALUE*0 work?
 
No :)
Or at least it shouldn't
 
It does...
 
Are you going to fix or should I start answer writing? :P
 
3:27 PM
Fixing :)
Fixed.
@Sp3000 (For Lambda's answer) Does _ = 0 ?
 
Well, let's C...
No.
(meanwhile, I get 3085120 locally)
(and 3810176 on Cygwin)
 
It changes every time I run it.
 
I'm guessing the idea is to force a falsy output then
Although, that should really be a new answer
 
_ looks like it's an illegal source of randomness
I found it!!!!!
0
A: Two Makes All The Difference - Robbers

TheNumberOneC, LambdaBeta Description Turn main(a,_) into main(_). Code main(_){puts(_*_-1||_*_*_-1||_*_*_*_-1?"Expected Output":"?");}

 
3:42 PM
argc, right :P
 
Yep :)
 
Isn't argc 1?
 
There's a -1 in each expression
 
Oooohhh, it's a 1-1, not 1*-1... Clever.
 
4:21 PM
@Sp3000 The changed output must have a Levenshtein Distance of 15 or more from your original output.
 
Shoot, forgot that part
 
@Dennis That scares me...
 
CJam's autoprint makes it pretty easy to make things annoying :P
 
4:43 PM
btw I'm still slightly annoyed that mt works differently for 32 and 64 bit :P
 
All that "platfom independence" is a bad idea IMHO. The C answer is certainly not platform independent. Brainfuck has a gazillion incompatible interpreters.
I like the way I handled this for my CnR: If a cop submission relies on implementation-defined or undefined behavior, you only have to find a crack that works (verifiably) on your machine.
 
If I understand correctly, if you aren't using the same setup the OP is using, you could possibly never come to the same output?
 
Well, the OP should mention his setup.
It's better than having a never-ending dispute about the validity of the cop submissions.
 
5:01 PM
Yeah I had been looking at the discussion between Kurousagi and Sp3000 and I didn't see how his solution could be wrong since it seems virtually the same, but I don't really know what is going on with that program...
 
From what I can gather, Kurousagi probably wasn't aware that the output contained unprintables
 
5:27 PM
@PeterTaylor thanks
 
5:49 PM
I'm the greatest linux guru that has ever lived
after diving deep into kernel modules and SD card drivers for ~3 hours I finally figured it out
... I pushed the SD card fully into the slot
 
0
Q: Non-repeating random numbers

qw3nFind the shortest way to generate a random number between 0-9 without repeating the last generated number. Here is an example written in javascript. var n=t=0; while(n==t){ t=Math.floor(Math.random()*9); } n=t; I don't know if it is possible, but it would be interesting if there is a soluti...

 
6:08 PM
@orlp hooray!
 
6:22 PM
@NewMainPosts high rep users chime in please...
 
12
A: Let's decide what kind of non-challenge questions we want once and for all

DoorknobQuestions about improving code golf / code challenge skills Examples How can I make shuffling this array shorter? How can I shorten these nested loops? How can I alias member functions in a short way? Arguments For: These more basic questions might be attractive to new users (if they can...

Looks fine to me.
(Aside maybe from the "only one variable" part.)
 
if I tag it back to the original problem, the the OP content and the tag completely contradict (kind of)
so I am not sure how its "Looks fine to me"
if I keep the tags as is (tips, js), then all current answers are invalid
I think he clarified a bit.
 
Oh. Well now it's just plain code-golf (although the one variable part is even more patchy now).
 
agreed
notified in first and last comment
 
6:51 PM
Damn, amending that leaderboard was hectic... If only I knew enough about Javascript to auto update it :P
At least it's done now :D
@Sp3000 Is Kurousagi's answer cracked?
 
 
1 hour later…
8:11 PM
@Dennis So how does Mauris' code work?
 
8:28 PM
@BetaDecay It simply calculates the power of the code points of both characters.
I'm writing an explanation now. I've added an ASCII-only version in since I wasn't 100% sure we could use Unicode characters.
 
8:52 PM
0
Q: Close reason needs to be reworded

RainboltRead this meta post: Let's decide what kind of non-challenge questions we want once and for all Then read this close reason: Questions without an objective primary winning criterion are off-topic, as they make it impossible to indisputably decide which entry should win. Do you see th...

 
@BetaDecay I've added an explanation.
2
A: Two Makes All The Difference: Cops

DennisCJam, by Mauris "㴉":i:# If you dare, try it online. There's also this ASCII-only version: "} f~":i:# The spaces should actually be a tabulator. Verification $ wget -q https://bpaste.net/raw/f449928d9870 $ cjam <(echo '[15625 57834]:c`":i:#") > mauris.cjam $ cat mauris.cjam; echo "㴉":i...

 
 
1 hour later…
10:07 PM
0
A: Sandbox for Proposed Challenges

RodolverticeIs a picture worth a thousand words? There is an old saying that goes "A picture is worth a thousand words". For us programmers, pictures and words are actually quantifiable in bytes. (A word is worth 8 bytes on a standard 64-bit system, a thousand words is worth 8000 bytes, and an image is wort...

 
10:32 PM
@BetaDecay Not sure, I'd like to say yes but I can't be certain until Kurousagi confirms the unprintables (since SE eats a few)
@Dennis Is it possible to get 9 as a string in Ruby in 1 move? ? doesn't seem to work...
 
@Sp3000 ?9 works, but the string has to be the leftmost argument.
 
... ah :/
 
10:47 PM
@Sp3000 I really don't know where the 17 could come from. x=?9;puts x*2*9 works for 18, but it already uses both changes.
 
0
Q: What have I got in my pocket?

Pyrrha Synopsis: Find characters that are enclosed by MYPOCKET. Example Input MYPHEIF YFOCKVH MBNDEIF TEUFTMY ESNDUWP KBOVUVO CENWFKC OPYMTEB Example Output F BND EUF SNDUW BOVUV ENWF Huh? How did we get that as an output? The "pocket" can sometimes be difficult to see. This will m...

 
@Sp3000 Okay, I've counted your crack in the mean time
 

« first day (1655 days earlier)      last day (3189 days later) »