« first day (2364 days earlier)      last day (2473 days later) » 

12:00 AM
anyway, gtg now. o/
 
12:16 AM
@StepHen to my knowledge Dennis is not even his real name though :P
 
@Downgoat isnt your real name Down? ;)
 
no
It's Sir Goat the Down IV
 
Makes sense
 
VSauce's latest video has 3 SE links in the link list
 
12:23 AM
@SirGoattheDown does this ping you?
 
@cairdcoinheringaahing Ha, but I planned this right, @Stephen pings me
 
@Stephen yes it sjould
but @StephenS doesn't :(
 
@cairdcoinheringaahing that's because my last name's first initial doesn't matter
 
Should I change mine to "caird c"?
 
@cairdcoinheringaahing I dunno, you seem to like changing your name :P
 
12:27 AM
Chat is rotting my brain. Off to go watch cartoons!
 
wth is with the comments here
 
What's with the poster of this answer: codegolf.stackexchange.com/a/4245/68942 ?
 
@HyperNeutrino Some sort of weird account deletion probably
 
12:41 AM
The name is "CMS", which isn't in the form user\d+, but the flair is unlinked...
Probably, though AFAIK, it's reset to user<id>
 
I was thinking about the koth that I had just proposed, and I was thinking about how to make it not have perfect information
 
well actually I guess the worm order kind of does that
but not very well
 
@HyperNeutrino It got migrated
That's why
 
OH RIGHT
thanks
 
12:43 AM
All of them are users on SO who didn't have PPCG accounts
 
that makes sense :))) lol
 
@HyperNeutrino Migrated users, you can kinda tell from the question
 
yup (though you were ninja'd lol). but yeah that makes sense. I should've noticed since I saw the migration notice lol
 
1:03 AM
Aw maaaaan
 
Mego is on the opposite side of the meta vote
 
Mm
But they also suggested making a new challenge
And that got downvoted too
 
except I'm not sure which I agree with at this point
 
1:05 AM
Looks like we're probably stuck with the old question :/
 
lol the 4th most downvoted meta question is Beta Decay's post about changing downvote behaviour
lol my tag badge progress on (the meta tag) is -5/100 score
tfw you see that a question's been singlehandedly deleted by a non-mod so you check the profile and it's a user with 1 rep, and then you realize that it's OP lol
 
o0 the vote ratio on the meta is weird
 
I love how my answer is just like "It is not a dupe" and then below Mego's is just like "Yes it is" lol
 
@totallyhuman Honestly I think the fact that it was hammered twice and reopened manually twice says that it's not, at least by the majority opinion
 
Agreed
It's why I'm against hammers
 
1:19 AM
@totallyhuman Nah, we need hammers, we just need to allow hammerers to choose not to hammer
 
Disagreed :P
 
thanks for the edit :P
@StepHen agreed
 
@totallyhuman Hammering is only for people who have experience. Usually, their unilateral decisions align with the community. It speeds up the process and allows askers to edit/fix a lot more quickly, as well as get crap closed sooner.
 
The fact that 2 close votes and 5 reopen votes leaves a question closed is flawed
And also the hammerers would've definitely chosen to hammer it
 
@totallyhuman The fact that low-rep people can override more experience people is flawed by other reasoning :P
 
1:22 AM
No
 
No, not really. You're assuming that close and reopen votes are essentially exact opposites, but what you're not noting is that one of the close votes is from a user with much more experience on this site, and all 5 of the reopen votes are from users with less experience. Also, 5 reopen votes??? And it's closed??? Or was the hammer after the 5 reopen votes?
 
@HyperNeutrino Yeah idk how it even works
 
@HyperNeutrino Hammer close, 5 reopen votes, hammer close, 5 reopen votes, now a couple close votes
 
maybe it should be locked until meta decides something... idk
anyway brb in a bit o/
 
Hyper handler is bork
 
1:26 AM
i'll fix the controller when I get back o/
 
k ty
 
@StepHen they cannot override
They can only be of equal or lesser significance
 
@totallyhuman Hammer -> 5 reopen, that's an override (veto) in my book
 
Then I can't argue
 
At least by this definition: use one's authority to reject or cancel (a decision, view, etc.).
 
1:29 AM
5 > 1 /shrug
@StepHen and the low-rep users have authority over hammerers?!
 
@totallyhuman As a community, 5 lower-rep users have the authority to reject or cancel a hammer, I believe.
(unless I'm screwing something up)
 
1:42 AM
But that's a majority...
 
Is there a plugin for JetBrains (PyCharm) that supports Github markdown tables (the ones with -s and |s)
 
@StepHen Isn't that a default part of Markdown?
 
Nope
 
@Christopher: There's actually nothing wrong with the controller. It's because both of my bots contain one critical "kill switch", which is that it will always split if it has an empty hand. thus, one bot is just killing the larger hand and the other bot is splitting the smaller hand, until the larger bot can't hammer the smaller bot, in which case the smaller bot will attack the larger bot's smaller hand, also not hammering it. Then the larger bot can hammer the smaller bot. Etc, never ends.
or something like that
 
@HyperNeutrino Oh lol
That is odd
 
1:49 AM
They occasionally finish... hm...
I recommend you run each game multiple times :P
 
@Phoenix I dunno, but my tables here (raw) show on Github and not on any of the markdown plugins
 
¯\_(ツ)_/¯
 
tables are only in GFM
 
@totallyhuman That plugin didn't work either though
 
you'd need html otherwise
 
1:51 AM
@HyperNeutrino But one is random.
 
@StepHen weird
 
@Christopher it does sometimes finish apparently.
 
@HyperNeutrino huh
 
@StepHen ^^
 
1:51 AM
10k is not enough. :P
 
@Phoenix That one didn't work when I tried it, is my syntax wrong?
 
Controller results for each game run 10 times (where A vs B is not B vs A because starting order): {'RandomBot': 0, 'Aggressor': 11, 'CautionBot': 33}
 
¯\_(ツ)_/¯¯\_(ツ)_/¯
 
@Phoenix It's not that important, thanks for trying, lemme focus on fixing my interpreter instead of being able to check my markdown without committing
 
Get Atom :P
 
1:53 AM
That is interesting hyper
 
|blah|blah|
|:---|:----:|
|foo|bar|
first row is titles
 
second row is alignment |:---| is left-align, |:---:| is center align
 
no |:---:| is center align
hm one of us ninja'd the other with that edit/message thing...
 
@totallyhuman OK that works
OK I figured it out
 
1:55 AM
Default is left-align anyway so you can do this for all left:
blah|blah
-|-
foo|bar
 
@HyperNeutrino Github lets you do that
The plugins don't
 
hm. weird
 
For the plugins you have to use the correct number of -s
@totallyhuman thanks
 
|blah|blah|
|----|----|
|foo |bar |
 
1:55 AM
^^ exactly
 
Like this? @StepHen ^
 
but you can skip the last |s
 
ah ok. also lol you answered my question before I asked it lol
 
atom also has a markdown linter plugin lol
AHHHHHHHHHHHHHH I FRIGGIN LOVE IT! BIGGEST FAN OF THAT SERIES. I READ THE BOOKS, NOT THE MOVIE. THE MOVIE RUINED IT FOR ME. — Magic Octopus Urn 3 hours ago
do they often go into this mode?
 
@HyperNeutrino umm it still is not working
 
1:58 AM
erhm
can you zip your entire directory and send it to me?
or at least show me your directory tree for that directory
 
@DJMcMayhem you're CnR challenge is so great, because the cops do some cool stuff, and then the robbers are all like This is probably not the intended solution, but it works.
 
@Christopher Gotta have that freehand red circle
 
> circle
Can I see the first 6 lines of Handle.py?
 
@HyperNeutrino According to mother meta, yes, that is a circle. meta.stackexchange.com/a/138032/359104
 
2:01 AM
@StepHen their seem to be some grammar error in you're message
 
@HyperNeutrino ofc you waited until the edit timer expired
 
0
A: Sandbox for Proposed Challenges

HyperNeutrinoSlowly converging zigzag Given a single positive odd integer as input, return a converging zigzag as a list of strings, list of lists of characters, or newline-separated string, in this form: # # # # # # # # # # # You can replace # with any consistent non-whitespace cha...

 
@StepHen lol that is great
@StepHen Of course! xD
 
@NewSandboxedPosts Geez that was fast
 
2:02 AM
That vertical line is my mouse
 
ok
Python version 3.6.0?
What's the output? Is it an error or something weird?
 
Just nobody ever wins
EVER
Also if someone wins does it end to program?
 
You know that is one hundred thousand turns right?
 
did I say ten thousand?
 
2:07 AM
Yeah
 
@flawr But that's still not politically correct. Why do queens get confined to valleys but kings get to explore majestic mountains? Or vice versa? xD
 
156?
 
random 3 digit number lol
 
lol
 
@Christopher Now that it's starred, you may as well mess with it :P
 
2:09 AM
just for the starboard
 
@StepHen haha
 
@StepHen exactly :P
 
wait noooo
You monster
 
or, I could delete it so that it doesn't clutter the starboard because fun fact: we've had issues with the starboard and I would like to not contribute to that (second time today that I said "I'm stupid", it got starred, and I deleted it).
 
Dennis has more rep than Martin now. Oh my god, where did these extra 996 fingers come from?! — caird coinheringaahing 3 hours ago
 
2:10 AM
also does the controller work now
 
@HyperNeutrino idk nobody wins still
 
Yeah one bot is not hitting
I think it is yours
[[622, 622], [1, 1]]
[[1, 1], [622, 622]]
Two lines
 
hm
it does give me results when I try it
cautionbot: 13, randombot: 0
 
Imma go to bed for now
 
2:12 AM
@Christopher Better controller: lambda:randint(1,2)
 
Trying to figure it out
bye o/
 
bye o/
 
does anyone else here read the eavesdropper webcomic?
 
2:38 AM
CMC: Given 2 numbers, a and b, calculate the recursive Fibonacci number of $a^b$. For example, if b = 0, just output a. If b = 1, return fib(a). If b = 2, return fib(fib(a))
 
2:53 AM
Racket, 91 bytes: (define(f n)(if(< n 2)n(+(f(- n 1))(f(- n 2)))))(define(g a b)(if(= b 0)a(f(g a(- b 1)))))
g is the desired function
JS, 49 bytes: g=(a,b)=>b?(f=y=>y<2?y:f(y-1)+f(y-2))(g(a,b-1)):a
 
so many brackets
 
It's a Lisp descendant :P
 
makes sense :P
 
Now that I actually figured out how to run it on TIO I'm mildly interesting in using it again
 
@StepHen I'd actually consider that it's weakpoint. It's super hard for the cops
 
3:15 AM
I posted an answer in Triangular after not using it for a month, without using the reference :D
 
RProgN2, 42 bytes. {]0>{]1-f\2-f+}²[1?}z={y=]0>{1-yXz}²[y?}X= Defines function X.
 
3:33 AM
Heh
@ATaco Jelly, 3 bytes: ÆḞ¡
 
4:13 AM
I love WorldBuilding.SE
 
4:41 AM
11
Q: Codebreakers and Codewriters

Wheat WizardLet's say you have some text, and you want it to send it to your friend, but you don't want anyone else to read it. That probably means you want to encrypt it so that only you and your friend can read it. But, there is a problem: you and your friend forgot to agree on an encryption method, so i...

Do we really have no interesting answers?
Just simple ones, without using cryptographically secure functions
@BusinessCat you forgot a^b
 
(I meant to write that as $fib^b(a)$)
 
0
Q: Find an Illegal String

nneonneoThe challenge is to find a string of characters that cannot appear in any legal program in your programming language of choice. That includes comments, strings, or other "non-executable" parts. Challenge Your program may be specific to a particular version or implementation of your language's ...

 
I had an idea...
what about a koth, that includes source modification
and the goal is for a program to output the highest ratio of unique fibonacci numbers/ other numbers, or some other formula
actually that doesn't make much sense :/
I had an idea for another koth, based on a genetic algorithm thing I saw
except the bots in this koth will have memory
so, the idea is that bots have a field of view
and they can only tell if an enemy is in the field of view
or a bullet is in the field of view, I'm not sure
oh I'm being noisy again
 
5:02 AM
@DestructibleLemon I stole the old LoveFiddle code, so now I can show off an old version of the 3D Engine online.
 
and not the non-curving one?
 
(I don't have that code on me)
 
also it freaks out when I walk into walls
 
Also I can't load textures, online, either.
Describe "Freaks out"
 
a bunch of error notes
 
5:05 AM
>error: main.lua:43: attempt to index global 'bit' (a nil value) by chance..?
 
Replace that line with a = (a+4)%4
 
anyway, cool
 
I'll load the newer version when I'm at my home computer.
 
in Mathematics, 15 mins ago, by Leaky Nun
Can I solve $a^x \equiv 1 \pmod n$ given $a$ and $n$ quickly?
in Mathematics, 14 mins ago, by Leaky Nun
Quickly means $O(\log n)$
 
5:10 AM
 
@LeakyNun I think there was a PPCG question on this recently
 
@WheatWizard golf doesn't mean quickly
 
@LeakyNun It was
 
@WheatWizard link plz
 
5:13 AM
I'm trying to find it right now
 
@Cowsquack Cannot replicate.
 
Hm I can't find it but I do remember it
 
Best speed I can get is $O(n)$
 
Yeah, I can't think of anything better than brute-force myself. But computer science is not my strong suit.
Ah !
I have it
 
@ATaco I encountered bugs as well
 
5:20 AM
$x = 0$, thats $O(1)$ which is even better than $O(\mathrm{log}n)$
@LeakyNun Do we get any assumptions about the Ring? i.e. Is it an integeral domain? a field?
I assume that $a$ and $n$ are at least coprime.
Ok well I need to probably go to sleep now. Tell me if you get a solution because this is the kind of thing that will bother me for a while.
 
0
Q: Round like a Zero

Hand-E-FoodGoal Given an input number, round it off to the nearest number with one significant figure. Requirements Input A floating point number. Assume the input number results in an output within the data type's limits (ie. ignore overflow errors.) Output The nearest number that consists of one ...

 
@WheatWizard $n^0 = n$, not $n^0 = 1$
 
@ATaco No $n^1 = n$, $n^0 = 1$
 
My problem is rooted in that I made the incorrect assumption that ^ was the power operator in javascript
 
Oh god, does Javascript's power operator do that?
 
5:34 AM
Nope, But that's the XOR operator.
** is power.
 
Ah just like python
I like it that way, something about the carrot always makes me uneasy
I just don't trust it
 
Also, $(2^x)\%6=1$ is unsolvable.
(If we can't use $x=0$)
 
Yes thats why I am going with the assumption a and n are coprime
if they are not coprime it is unsolvable (other than the trivial $x=0$)
I think we can use the fact that we can form a cyclic group with $a$ as the generator
but I need to go to sleep now anyway
 
@ATaco they are coprime
 
 
2 hours later…
8:02 AM
0
Q: ANNNOUNNNCCCEEERRR VOICCCEEE

QuuxplusoneWrite a function that takes a string of letters and spaces (no need to handle non-letters) and performs the ANNOUNCER VOICE translation algorithm as follows: First, uppercase everything. For each word, Elongate each consonant cluster except the first by tripling each letter. Elongate the fina...

 
8:22 AM
@HyperNeutrino It is a well-known fact that the following terms, despite their origins, are gender-neutral: Dude, Guys, Bro, Gurl, Dog, Dawg, Fam, Bruv ;)
Wtf, Python's round function intentionally returns 20 when rounding 25???
values are rounded to the closest multiple of 10 to the power minus n; if two multiples are equally close, rounding is done toward the even choice
@EriktheOutgolfer that'll be why Jelly's builtin doesn't work too
 
 
1 hour later…
9:46 AM
0
Q: contractible closed geodesic

user72443Very often I encounter a statement but can't find the exact reference: on a closed surface with non-positive constant curvature (e.g. a flat torus or higher genus surface with constant negative curvature), there does not exist any contractible non-constant closed geodesic. First, is this statemen...

 
10:11 AM
0
Q: Has there been an increase in Spam/Off-topic questions?

TheLethalCoderLatest example: Hopefully it'll be gone soon. Over the past few days I've noticed an increase in spam/off-topic questions and answers. The community itself seems to handle these very quickly (probably for lower rep thresholds to perform certain actions). Which is a very good thing, so that these...

 
-4
Q: How to join to line segments using an arc of an ellipse

mmbbmmI have two non-parallel line segments and I want to join with an arc of an ellipse such that the orientation of the line segments coincide with the orientation of the tangents of the ellipse at the points joined by the ellipse. How can I find the equation of the ellipse. If there are more than o...

 
10:26 AM
Yeah the two other consecutive oneboxes
 
CMC: n -> [0,1,2,..., n, n - 1, n - 2, ..., -n] (n is positive)
3 -> [0, 1, 2, 3, 2, 1, 0, -1, -2 , -3]
 
@Mr.Xcoder 6 bytes in Pyth
 
Nice
 
6 bytes in Jelly
 
lots of bytes in braingolf
 
10:35 AM
and JS
 
Jelly ties.... Pyth?!
@LeakyNun Are you 100 % sure it's 6 not 7 bytes in Pyth?
 
@Mr.Xcoder yes
 
@Mr.Xcoder Braingolf, 35 bytes Try it online!
 
@Mr.Xcoder bingo
 
10:38 AM
@Mr.Xcoder Python 2, 34 bytes: lambda n:range(n)+range(n,-n-1,-1)
 
@ASCII-only I think It can be golfed a bit
 
tfw python can beat braingolf T.T
 
@LeakyNun Did you have an alternative solution?
 
@Mr.Xcoder no
 
> TypeError: unsupported operand type(s) for +: 'range' and 'range'
 
10:40 AM
That... makes sense. How would you add ranges together?
 
Ah, Python 2
 
@JanDvorak with a mountain adder
 
notes to use that pun in Contact
 
@me Evolved Cthulhu: V»«+¨V…V—V
 
10:47 AM
In Neim why doesn't 𝐈 include 0 even though wiki says it does?
 
@LiefdeWen wiki says (0 .. n] which doesn't include 0
it should really be termed half-inclusive range
maybe he just means it includes n
 
@LeakyNun Wiki phrases 𝐑 the same but it includes 0
 
@Mr.Xcoder Braingolf, 26 bytes Try it online!
Shorter than python now :D
 
@LiefdeWen wiki says [0 .. n) for 𝐑 which does include 0
[] means include and () means exclude
 
V»                     - Assign V to input
   «                   - Print:
     +                 - The sum of:
       ¨V               - Unary range with V
           …            - Inclusive Range with:
             V           - The input
               —V        - And the Negative input
 
10:50 AM
@LeakyNun Ahh thank you
 
Nice profile pic @WheatWizard
 
Just realized totallyhuman is 50% watch
 
CMC: Print this exact text: ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ, without taking input
No one?
@LeakyNun Jim pointed out that .MP_ does not work for lists that do not contain primes, because obviously all are False and it returns all of them.
So the solution is still fP_TQ
 
@Mr.Xcoder Python 3, 23 bytes print(("ಠ_"*10)[:-1])
 
@Mayube I approve of that solution
 

« first day (2364 days earlier)      last day (2473 days later) »