« first day (2551 days earlier)      last day (605 days later) » 
00:00 - 18:0018:00 - 00:00

12:00 AM
I'm not sure that that would work out... is that to explain the +3?
or the fact that there's +201 in one day?
 
Well the +3 is because I hit the cap
 
@Doorknob wouldn't it be /fud/?
 
I was confused by 201 in one day.
 
@mudkip201 yes
 
brb stalking your PPCG profile page
 
12:03 AM
@mudkip201 isn't the u in /fud/ more like the u in fudge
 
no
@Pavel that's ʌ
 
Besides Retina, what golfing languages are written in .NET?
 
@HyperNeutrino out of curiosity, are you using a school-provided chromebook?
 
@totallyhuman Yes. That's why I haven't tried any fancy tricks on it. That's also why I have a Chromebook in the first place. :P
 
And Broccoli
 
12:04 AM
makes sense
also your school probably has restricted that ridiculously well anyways
 
Yeah. I think it requires doing some fancy hardware stuff to the Chromebook to install other operating systems which would probably get me in trouble :P
because having functioning non-crap technology? pfft, unheard of
Yeah. I think it requires doing some fancy hardware stuff to the Chromebook to install other operating systems which would probably get me in trouble :P
 
@Pavel hmm, not many. Thanks for the link
 
o0 funciton is written in .net
 
It's /fu:d/
 
12:23 AM
0
Q: What is the optimization tag for? What should it's description be?

Heeby Jeeby ManCurrently our optimization description reads: for challenges involving optimizing something. Which is not very specific. Due to our rules on objective winning criteria question (except maybe pop-cons) is about optimizing something. The tag wiki: This indicates that the challenge invo...

 
I just realized that my computer double-posted message D: ^^^^[^]^
 
1:15 AM
@DLosc Got it down to 27 with no flags. If by "a flag" you mean the -P flag, then the 26-byte solution you mentioned would probably be some sort of map over g? idk
I could technically get it to 26 if you're liberal about the output format (replacing O with YP)
 
1:30 AM
I would love to have reactions as in Facebook, this is brilliant and hilarious 😂 — Rodrigo May 20 '17 at 4:35
Please no
 
@HeebyJeebyMan only because you're able to hit the rep cap.
 
hi everyone
 
heya
 
What's the best way to describe HTTP routing to someone who only knows basic JS (by basic I mean function f() { return 1 + 1; }
 
"It's magic. now go learn js"
 
1:43 AM
Yay! Finally I solved this!
That took me 2 days to code, anyone would like to try, be careful.
 
what's a "real number"?
 
A number without any imaginary part
 
2:28 AM
@Downgoat Like finding a file on your computer but with the internet
 
1
Q: Sequentially Divisble

Chas BrownSometimes to fall asleep, I'll count as high as I can, whilst skipping numbers that are not square-free. I get a little thrill when I get to skip over several numbers in a row - for example, 48,49,50 are all NOT square-free (48 is divisible by 2^2, 49 by 7^2, and 50 by 5^2). This led me to wonde...

 
2:43 AM
 
Longshot Announcement: Anyone here live in Bay Area that would like to join a hackathon team?
 
3:08 AM
I really love Mondays... I just got to use my home computer for the first time today and it's 10PM already :P
 
3:19 AM
I will golf this later. --@Dennis, over a year ago
I wouldn't mind, but it's one of my favorite answers of his.
 
"Explanation to come later" -- someone 6 years ago
 
The thing is, I actually really like seeing bash Wizardry, and I don't think there's enough of it on this site.
 
Fortunately, it's still later.
 
3:46 AM
@ConorO'Brien That's definitely not nice
 
		else
		{
			// Look for a two word (you <something> me)
			// pattern
			int psn = findKeyword(statement, "you", 0);

			if (psn >= 0
&& findKeyword(statement, "me", psn) >= 0)
			{
				response = transformYouMeStatement(statement);
			}
			else
			{
    response = getRandomResponse();
			}
		}
		return response;
 
...
 
this is code released with an AP level course
 
kill it with fire
 
@ConorO'Brien oh my god our teacher used the same horrid magpie project too >_<
 
3:59 AM
@Downgoat Maybe it's the teachers' way of getting their students used to working with their future coworkers' remarkably shitty code.
 
@Downgoat That's because it's mandated curriculum by College Board
It will actually be on the AP test
 
@Mego Magpie? I didn't learn it in my APCS class, and I don't remember seeing something called that on the tst.
 
@Doorknob that's actually a macron over both 'o's, it renders weird in chat
@Pavel probably only applicable to animals
weird guys in welding masks don't qualify
see: dragon, goat, penguin
 
@Pavel You probably learned a different framework
They change it every few years
 
This was last year >_>
There wasn't anything on the test regarding a framework
 
4:14 AM
@Riker I am aware, and it's not an IPA symbol
 
TIL
 
4:30 AM
@Mego it wasn't on the test
or anything related
 
4:48 AM
Oeis challenge about to expire and it just got reset ;(
 
@Pavel Golfed off 42 bytes.
 
^-^
...It never occurred to me that grep ... $0, could be a thing, that's actually pretty neat
 
5:12 AM
@Dennis I get exit code 127 for input 137, Try it online!
 
That's some sort of security measure on the TIO server. It works locally.
Oh, I though you meant 139. Nevermind.
Hm, might still be a security measure. Or the newer Bash is smarter.
 
@Dennis zsh it turns out is not smart and just killed my computer :/
 
@Zacharý thanks for the great 404 challenge, it's a lot of fun and it's been a while since I've worked this hard on a polyglot :)
 
 
@Pavel I think it's the sandbox, which limits memory usage to 256 MiB.
Do you have swap?
 
5:26 AM
@Dennis Yes, 8gb
 
There's your problem.
 
Everything is functioning normally about a minute after zsh crashed, except audio. Which is still not turning back on.
 
-110 bytes now.
 
And I didn't get a chance to see the exit code when zsh crashed :(
 
Welp, time to go to bed.
 
5:31 AM
@Dennis I don't know if you can make use of this, but tcsh doesn't require a space before # to consider the # a comment. So echo foo#bar echoes just foo.
Oh, good night!
 
@EsolangingFruit Oh, nice! Handling 7 together with 3, 5, and 1 didn't occur to me. In fact, the use of Y was the only thing you did that I had in mind. Starting from your new version, I can get it down to 21 bytes with no flags. :D
And yeah, it would make sense to have a YO operator analogous to YP, wouldn't it.
 
6:36 AM
@DLosc Given Pip's syntax, adding builtins would almost always break things, right?
 
0
A: Sandbox for Proposed Challenges

Manish KunduChallenge The challenge is to write a program that takes the coefficients of any n-degree polynomial equation as input and returns the integral values of x for which the equation holds true. The coefficients will be provided as input in the order of decreasing power. You can assume all the coeff...

 
6:57 AM
@DLosc So I've managed to get it down to 24 now by having a single print statement that prints an array, which means that I don't need multiple print statements or braces around the foreach. I still don't know what other tricks you're thinking of.
 
@EsolangingFruit In a sense, but not really. YO currently is just an unused variable; and since you'll almost never use a 2-letter variable when you have 1-letter variables available, it doesn't break anything important to turn it into an operator.
 
@DLosc I guess if you're not stupid like me you don't try to use uppercase letters as variable names
 
@EsolangingFruit Like I always say: there's a difference between stupid and ignorant. Not knowing something just means you haven't learned it yet. ;)
 
What I did was an instance of stupidity, not ignorance, since I read your syntax page and then promptly forgot it
 
Haha, okay. Of course, the way Pip treats uppercase letters is a bit strange.
 
7:08 AM
"The way [language] treats [thing] is a bit strange" is valid for a lot of languages on PPCG
The way BF treats memory, ><> treats program space, Jelly treats juxtaposition of functions, etc. I could go on
 
True. And the rationale behind it was to give me a large set of tokens I could use for adding builtins.
 
7:52 AM
0
A: Sandbox for Proposed Challenges

PyRulezBrainf*** Polygot polygotbrainfuckcode-golf Write a brainf*** interpreter in as many languages as possible. You will take the brainf*** code on standard input, and then execute it. Your score is bytes / (n * sqrt n) (where n is the number of languages in which your program works), which you w...

 
8:42 AM
-1
Q: How is an Array different from Linked List?

babar badshahA data structure is said to be linear if its elements form a sequence or a linear list. Examples: Array. Linked List, Stacks and Queues

 
 
3 hours later…
12:30 PM
Should I be posting that challenge on mainsite? since i got no other feedback on it
 
which challenge
 
1
A: Sandbox for Proposed Challenges

Manish KunduChallenge The challenge is to write a program that takes the coefficients of any n-degree polynomial equation as input and returns the integral values of x for which the equation holds true. The coefficients will be provided as input in the order of decreasing power. You can assume all the coeff...

 
@MDXF Yo're welcome. Now we might get a better polyglot that SO
 
@ManishKundu i think you should wait at least a day before posting
 
I'm fine with that.
 
1:11 PM
@betseg That's not a magic number, though. It's extremely well-documented, and a constant is used in place of that number everywhere.
@NewMainPosts What? Why was this red-flagged?
 
@Mego yeh i was joking
 
@Mego well, it's actually an advetisement, not a question at all
 
@EriktheOutgolfer If it's an advert, it's the worst advert I've ever seen. I don't know what is being advertised.
Also I closed a hw-looking question by that user last night...
I guess standard spammer behavior
 
the user is now deleted
 
Yep
1 spam moved to Trash
 
1:17 PM
@Mego well, it does look like a question is being asked but, if you remove the question, an unsolicited ad remains, so it contains an unsolicited ad, and therefore it's spam (and yes, that ad is terrible)
naturally, if you remove the question out of a question post, what remains should be either context or explanations of the context or nothing at all, not unsolicited ads
ah, thanks for trashing, it was making chat look like a rubbish dump full of rotten expired spam
@Mego hm, looks like the user was destroyed, not just deleted, I can't find anything in the newest questions list
 
@EriktheOutgolfer Scroll up in chat - it's the last thing the bot posted in here
 
no thanks :p
 
Or just scroll up lol... It's only like 20 messages
 
@dzaima uh, what happened
 
1:28 PM
Reminder: nominations for Best of PPCG 2017 end in 2 days! There are several categories with only one nomination (and a couple with none)! Get your nominations in before time runs out!
 
@EriktheOutgolfer I had 2 chat rooms open and I wanted to click the rejoin favourites button :p
 
hm, regarding the reminder, I'm not so sure (-a) × (-a) = a × a is eligible as a "novel scoring mechanism", since was created in 2016 or something, and the scoring criteria on both challenges look very similar
 
@DLosc Huh. That's a new pronunciation to my ears. I've only ever heard it as /fuːd/
@Zacharý ^
 
@EriktheOutgolfer Yeah that's unfortunate :(
 
Yeah, I'm thinking I may retract my nomination, unfortunately.
 
1:40 PM
please explain what your issue is clearly!! please explain what your issue is clearly!! please explain what your issue is clearly!! please explain what your issue is clearly!! please explain what your issue is clearly!! please explain what your issue is clearly!! please explain what your issue is clearly!! please explain what your issue is clearly!! please explain what your issue is clearly!! — L_Church 9 mins ago
 
im not sure but i think the op wants an explanation of the loop
 
looks releva...deleted
 
> package midtermsexemptionchallenge;
 
uh, I read that the wrong way at first
 
lol @AdmBorkBork
 
1:45 PM
@AdmBorkBork class IDidntGo
 
0
A: Sandbox for Proposed Challenges

Kevin CruijssenLCM of range {1, ..., n} code-golfsequencenumberintegerarithmetic Challenge: Given an integer n >= 1, output the Least Common Multiple (LCM) of the range {1, ..., n}. This is sequence A003418 on OEIS, excluding a(0): 1, 2, 6, 12, 60, 60, 420, 840, 2520, 2520, 27720, 27720, 360360, 360360, 36...

 
My PR for Mathics got accepted! @Pavel (I think you were the one who made the joke CMC about it)
 
What about Differences? Just Rest@#-Most@#&.
 
@Mego CMC: given a function (all forms allowed) and a matrix, find the function trace of that matrix.
@Mego … maybe not a bad challenge for main?
 
2:01 PM
0
A: Sandbox for Proposed Challenges

leo3065Stem and Leaf A stem-and-leaf plot is a way to represent data and visualizing distribution. Usually the data is grouped in step of 10, with the last digit as "leafs" in ascending order, and the remaining digits as "stem". The steam and leafs are separated with a vertical line, with stem on the l...

 
@Adám I should probably add a PR for that :P
 
@Adám what's a function trace exactly? i can't seem to find anything about it online
 
Me too.
 
@HyperNeutrino The function reduction (insert that function between elements of) the major diagonal.
 
@HyperNeutrino In Mathematica, it's the trace, but using f instead of +
 
2:02 PM
Oh so instead of sum, you reduce over another function
 
So reduce(f, m.eigenvalues)
 
cool :D
 
> timeout: fork system call failed: Resource temporarily unavailable
(what happened with TIO?) ( --> talk.tryitonline.net)
 
Python, 74 bytes:

lambda m,f:reduce(f,[r[i] for i,r in enumerate(m)])
from functools import*
I think it was just a really temporary thing. TIO briefly broke and then worked on the next run.
 
maybe downtimes due to the recent migration
 
Rod
2:05 PM
@HyperNeutrino TIO is behaving very weirdly today
 
Yeah. One of my programs is taking over 10 seconds but it doesn't even do anything computationally difficult...
 
Just halt it.
 
just what
 
@HyperNeutrino Use Py2 and you don't need the import
 
(and hope the output is already there)
 
2:06 PM
It finishes after 10 seconds but it's taking a long time.
 
Jelly 6 bytes: Jị"µç/
 
Don't answer the CMC. I'll post to main
 
Yes, just halt it.
 
oh okay
 
Does it worth posting to main?
 
2:07 PM
@Mego Oh right :P thanks
 
can you halt it though
 
@HyperNeutrino Also I think you meant r[i][i]
 
@Mego no because r is each row (enumerate)
 
@user202729 I think so.
 
@HyperNeutrino Oh right. Well remove whitespace :P
 
2:07 PM
@EriktheOutgolfer Ctrl+Enter / click at the run button again.
 
oh :P
huh TIO time is really unstable today :P I guess this is why Dennis doesn't want TIO used for fastest-code timing
 
I meant if that's possible since usually I can't seem to be able to do that during a lag, and then output won't show
 
@Adám Sandbox it first
 
@Mego ok
 
0
A: Sandbox for Proposed Challenges

AdámGeneralized matrix trace Inspiration. Given a a function of two arguments (by any means) and a matrix, return the function trace of that matrix. What is function trace? Normal matrix trace is the sum of the major diagonal of a matrix: [[1,2,3],[4,5,6],[7,8,9]] → [1,5,9] → 1+5+9 → 15 But ins...

 
@Mego I hope you're happy with what you've made me do ^ Please review!
 
+1 no other comments
although you might want to define major diagonal? I don't know. It seems rather obvious from the examples IMO.
 
@HyperNeutrino Added, but really an answer may specify that the matrix is given in reverse, no?
 
Yes, I suppose so. (not sure why anyone would do that but I see your point there)
 
2:53 PM
@Mego Cool! I remember that, yeah.
 
@Pavel Now I'm working on the functional version :P
 
'@' : Operator(function = NamedFunction(name = "<Swap Arguments>", function = lambda s: (lambda f: Function(arity = 2, function = NamedFunction(name = "<Swap Arguments %s>" % f, function = Function(arity = 2, function = lambda y, x: f(x, y)))(s.pop()))))), this is why I should not do production
 
@HyperNeutrino ?
 
that's a single line of code :p and most people probably think that that's too many lambdas for one line
of course y'all are golfers so you might not even find that to be bad code :p but i know some of my IRL friends would not like that code :p
 
@HyperNeutrino Now I'm curious what it does. Could it be APL's operator?
 
3:00 PM
@Adám That's the one that swaps arguments / selfies (I think)?
 
@HyperNeutrino Yes, A f⍨ B is B f A and f⍨ A is A f A.
 
Oh okay. Yeah that's what it does, except if you provide a monad currently it just makes it ignore the left argument (I think that's } in Jelly)
I managed to shorten it a bit :P
'@'  : Operator(function = lambda s: (lambda f: Function(arity = 2, function = NamedFunction(name = "<Swap Arguments %s>" % f, function = lambda x, y: f(y, x))))(s.pop())),
now it actually works
 
Jesus christ. I'm planning to do this in my production code at work, my colleagues will love me for it. — Chavez Nov 4 '16 at 9:13
 
I might end up removing the whole NamedFunction thing because that was just for very early testing of stuff
@AdmBorkBork oh god why ;-;
 
Pretty sure it was said in jest
 
3:03 PM
@HyperNeutrino That's how works too. E.g. {⍵}⍨ B is the same as {⍵} B.
 
hopefully yes :p
@Adám Oh okay.
 
@HyperNeutrino Which language is it?
 
@Adám Neutrino (Golfing Language) (chatroom)
 
@HyperNeutrino Btw, if the operator wasn't supplied with APL, it could be defined with Swap←{⍺←⍵ ⋄ ⍵ ⍺⍺ ⍺} (and all whitespace there is optional)
 
but it's not implemented in APL unfortunately :( :P
 
3:07 PM
Oh wait I just realized that the reason I was getting confused was because APL can have a function be both monadic and dyadic, unambiguously
 
@EriktheOutgolfer What?
 
@Adám the language isn't implemented in APL
 
oh that's what you meant
 
@EriktheOutgolfer Some parts Dyalog APL are written in Dyalog APL‌​!
 
@Adám not Dyalog, Hyper's
 
3:09 PM
oh that's what you meant
 
... Does writing APL code really take less time than writing C code?
(assuming proper function names and comments)
 
@user202729 Obviously depends on what the code should do. For some things, most certainly.
 
maybe sometimes yes, sometimes no, sometimes the opposite
but isn't that true for every production language
 
just like sometimes writing Python code is faster than Jelly code even though there's almost always less Jelly code
 
Sure. Every (real) language has its strong areas.
 
3:12 PM
mostly because you need to open 18000000 tabs and then copy-paste every single character you use :p
basic ones like reduce/fold, basic arithmetic, map, etc. don't need to be suggested because I will be implementing those
 
0
A: Sandbox for Proposed Challenges

RodFrenemy polyglot - Python & Whitespace - Fibonacci Intro Python is well known for it's indentation, that's used to define a block of code. This indentation is made of spaces and tabs, which (with newline) are the characters used in the Whitespace language. The task Write a python / whitespa...

 
@HyperNeutrino A bit hard without a compact list of (planned) built-ins.
 
@HyperNeutrino .... only golfing languages don't have specialized keyboard. Jelly has its keyboard anyway.
 
@user202729 That's true.
 
(US international on Linux)
 
3:14 PM
@Adám Should I make a list of planned built-ins on the github page and add to the TODO list?
 
@user202729 Or this.
@HyperNeutrino I'd rather have a single list of already implemented AND planned.
 
Good idea.
 
... Firefox is terribly RAM-consuming. And Luakit can't open PDF for some reason...
(xdg-utils already installed)
 
3:30 PM
Let's get some more nominations for the Best of 2017. There's one category without any and a couple categories with only one (nothing wrong with that but we like competition, right?).
7
 
3:52 PM
2 hours ago, by Mego
Reminder: nominations for Best of PPCG 2017 end in 2 days! There are several categories with only one nomination (and a couple with none)! Get your nominations in before time runs out!
sumo'd :P
 
@Mego My opinion is that if we just don't get nomination in time, we should extend the deadline.
 
ಠ_ಠ I have been staring at a triangle for 2 minutes before realising it's equilateral
 
4:19 PM
@Mego whoops
 
4:34 PM
0
Q: Codility CountingElements solution

SameerI am just trying to understand a problem and the solution provided. But not able to grasp it completely You are given an integer m (1 <= m <= 1 000 000) and two non-empty, zero-indexed arrays A and B of n integers, a0, a1, . . . , an−1 and b0, b1, . . . , bn−1 respectively (0 <= ai , bi <= m). ...

 
4:56 PM
Thinking about posting this, any last things?
4
A: Sandbox for Proposed Challenges

Conor O'BrienMutually Exclusive Quines code-challenge quine Your challenge is simple. Write two programs that share no character which output each other. Example Two programs P and Q are mutually exclusive quines if: P outputs Q Q outputs P There is no character c which belongs to both P and Q Each prog...

 
looks good to me
 
@Mr.Xcoder are you up for some JHT? I have an interesting CMC
 
Yeah
 
5:14 PM
@Mego Between Wheat Wizard and Dennis, I didn't expect Mathematical Insight to be the last category left without a nomination.
 
@Pavel Surely one of the OEIS answers is worthy of a nomination
 
3
Q: Mutually Exclusive Quines

Conor O'BrienYour challenge is simple. Write two programs that share no characters which output each other. Example Two programs P and Q are mutually exclusive quines if: P outputs Q Q outputs P There is no character c which belongs to both P and Q Each program P and Q are at least one character long Mo...

 
@Mego Probably. TBH didn't really follow OEIS at all
 
5:35 PM
...SE is screwing around with mobile page again
It breaks horribly on Firefox
 
Is the mobile page redesigned or something? It looks horrible
 
@Pavel I don't think I've posted anything worthy in 2017. Maybe this answer.
10
A: Approximate Brun's Constant

DennisPython 3, 78 77 75 70 68 62 bytes f=lambda n,k=3,m=1,j=0:k<n and-m%k*j*2/k+f(n,k+2,m*k**4,m%k/k) Thanks to @xnor for golfing off 2 4 bytes and paving the way for 4 more! Try it online! Background Recall that Wilson's theorem states that for all integers k > 1, where a ≡ b (mod d) means...

@Mr.Xcoder Quite a few imperfections, but it looks like it will finally provide access to moderator tools. I haven't used the mobile version on PPCG since I got my diamond...
 
no please stick to the full site you can't delete answers from the mobile site @_@
 
@Dennis Not just a few imperfections... On PPCG, you have a sidebar with “Stack Overflow” that, when clicked, leads you to PPCG’s homepage!
 
@Mr.Xcoder Ugggggghhhhh
It's disgusting
 
5:50 PM
"quite a few" means something very different from just "few"
 
@EriktheOutgolfer You can now.
 
The width is all wrong
There are no tabs
 
@Mr.Xcoder ...ninja'd
 
No more color
I can't browse questions by newest anymore
 
@Mr.Xcoder quite a few means a fairly large number.
 
5:52 PM
Actually, you can. But you have to manually enter the URL to go to questions because they removed that tab
 
Yeah...
 
There's probably going to be a blog post about that, blaming the intern or something.
 
True to form, SE's latest design "improvement" made things significantly worse :P
 
The site is hideous as is.
 
5:52 PM
you can't even get to your own profile easily!
 
why tf
 
not to mention they redesigned the top bar there too now
 
fix the freaking app before you break the damn website
6
 
@DJMcMayhem Sure you can. Just tap Stack Overflow. >_>
 
@totallyhuman this.
 
5:53 PM
@Dennis Oh good lord...
wtaf
 
Back to normal!
 
And 2018's Most unintuitive UI of all time goes too...
 
leaves to watch Mother Meta explode
 
Ugh.... That 10 minutes were awful
 
even the favicon's broken for me
 
5:54 PM
@Mr.Xcoder finally!
 
oh thank god
 
45 secs ago, by Mr. Xcoder
Back to normal!
 
Look at this monstrosity
 
no I don't think you will
 
yeah too late now
 
@AdmBorkBork It’s back to normal
 
I should write up several MM rants about how ugly it is, so if they change it back again I can rapid fire complain about it.
 
that's_the_joke.jpg
 
also it's just in case you want to know ;)
 
5:55 PM
I see 6 mother meta complaints :P
 
I knew there was a golfier version, just couldn't come up with it in time
 
@DJMcMayhem Hey, that looks better than what I had. I didn't even get the SE and achievements icons, only the moderator inbox.
 
shudders
 
I didn’t get any of the icons >_>
 
contemplates sending "It wasn't too bad" thinks about the kick length :P
 
5:58 PM
@Mr.Xcoder Safari?
 
Yup
 
Figures.
 
that's an abominational combination...
 
chrome-centric dev ಠ▃ಠ
 
@EriktheOutgolfer So is abominational.
 
5:59 PM
I literally had to scroll to see any of the nav bar icons (like, all of them)
 
at least test your site before deploying it live!
@Dennis what?
 
@EriktheOutgolfer I didn’t expect that from Stack Exchange!
 
00:00 - 18:0018:00 - 00:00

« first day (2551 days earlier)      last day (605 days later) »