« first day (2158 days earlier)      last day (2980 days later) » 

19:00
sure
because the import chews up some bytes
@EᴀsᴛᴇʀʟʏIʀᴋ are duplicates in the list allowed?
if not, that should be in the challenge spec
I'm going to say no, sorry
@EᴀsᴛᴇʀʟʏIʀᴋ Both of our solutions give [0] on input 1
Perhaps just remove that test-case?
yeah, probably
@ETHproductions actually, they should give [0]. that's coprime to 1. changing positive to non-negative, because otherwise the test case is wrong
oh wait, I got [] for 1, so my (unposted) code is wrong
19:04
doesn't that mean all numbers are coprime to 0?
@EᴀsᴛᴇʀʟʏIʀᴋ one doesn't exclude the other, does it?
Can anyone who has Python on a Linux/Mac tell me what their output of which python2 is?
I personally think it would be better to just ensure that the input is always at least 2
19:08
@Downgoat /usr/local/bin/python2
^ same for me
Mac?
@Downgoat /usr/bin/python2
(Linux)
@EᴀsᴛᴇʀʟʏIʀᴋ I think you should just say "given an integer n > 2, ..." and remove the test case with 1
19:10
yeah, probably
0
A: Sandbox for Proposed Challenges

PythonMasterpopularity-contest You are to create a program that creates exact clones of itself infinitely until stopped. Whatever is in the original program must be in the clones. In other words, the clones and original program are the same in every way except for that the clones are text files. Rules: ...

@Dennis I'm honestly not sure what to do about [1]. I decided to assume input > 1, to allow more answers.
@aditsu so when are you posting? :P
I hope to get it down to 15 at least
19:16
good luck
thanks
@EᴀsᴛᴇʀʟʏIʀᴋ btw, you can probably get rid of the "or equal" now
yeah
I'm slightly frustrated I didn't realize this in snadbox, but whatever
(including the title)
oh, we no longer need to handle 1. then I've got less than 17
yeah, definitely 15. maybe less, need to revisit my old approaches.
anyone have dyalog apl here?
19:20
ooh, you might beat me then
@aditsu the rest just seems to be a bunch of 16s then
@ETHproductions which tools do you use to develop JS?
Browser or Node?
(Note: I'm still a n00b at development :P)
@EᴀsᴛᴇʀʟʏIʀᴋ how about just "coprimes up to N"?
19:25
I'll most likely be doing Node
@DJMcMayhem that works for a title
thanks
0
A: Sandbox for Proposed Challenges

mathmandanWhat can I spell? My mother-in-law has a set of wooden blocks that together spell out fRoSty The Snowman. Specifically, f, R, o, S, t, and y are all painted on separate blocks (note that R and S are capitalized). And then there's one longer block that says The Snowman. However, each block al...

"GCD? Where we're going, we don't need GCD." — Easterly Irk 1 min ago
Score too appropriate. Can't upvote.
But it's the 26th?
19:34
true
upvotes
Now it just needs 25 answers... hmm...
@FlipTack Not sure what info you need, but I use Brackets as my text editor, the ConEmu terminal emulator, Mocha/Chai for testing, and Istanbul for local code coverage tests
Quick, someone downvote!
Why, so I can accept another answer and reach 22,222 a second time?
19:37
@ETHproductions o_O congrats!!!!!!
@ETHproductions Super cool fact about Chai: my company (Agora Games) made it. :D
Wait, what? That's awesome! I think their HQ is half an hour from my house too :)
I can't seem to find anything on the website mentioning its creators though. Not that I don't believe you ;-)
he just started work there iirc
@ETHproductions Well he probably isn't listed as @El'endiaStarman :)
Nice :-)
@ETHproductions Notepad/AkelPad/Atom as text editor, Windows Command Prompt, nothing yet as tester (intending to write TAP), and nothing yet for coverage.
I recently obtained Populist (you have the highest scoring answer on a question, your answer scores more than double the score of the accepted answer, which scores at least 10). Unfortunately it was a couple days before Winter Bash started, so I've got practically no chance of earning 24 :-(
@ETHproductions Earn what?
Anonymous
@ETHproductions Same :(
@ETHproductions I initially wasn't sure either, but googling Chai lead back to the GitHub repo, which is one of Agora's public repos.
I have the 24 hat. :D
(By happenstance on C.SE. :P)
nice!
golden lumien on a gold background
that's a lotta gold
That is, I'll obtain soon :D
Why are you all collecting hats? I'd rather get some socks!
I need to post a well-received answer on one more SE site to get Polymath
19:49
@flawr Because socks can be created whenever you want, but hats are only available for a few weeks ;-)
@flawr your octave answers seems off
@El'endiaStarman I've been putting some effort into upvoting lots of questions to try to get Electorate before winter bash ends. It's my only realistic chance at a gold badge.
tfw you find doorknob using the word "bork" in a mother meta post, complete with a giant red =D
@DJMcMayhem is mr hat confirmed
19:51
CMP (chat-mini-puzzle): How did I get +67 on a question?
downvotes probably
Downvotes + Upvotes
Um, 67 people liked it? Or are you talking about rep?
19:52
@DJMcMayhem oh, +65 and then an undownvote
Perhaps 13 upvotes plus an accept
Anonymous
@DJMcMayhem 35 up, 3 down
Nope. It was posted today, no accepts
That would be 15 up, not 35
19:52
35 upvotes? No
Anonymous
Are we talking about a question or an answer?
@aditsu 14
@DJMcMayhem You rep capped?
A question
right now the question has 14 upvotes net, +16 and -2
Anonymous
19:53
Oh right questions are +5/-2
Can anyone who has python installed tell mind telling me what the output for which python2-config is?
/usr/local/bin/python2-config
@Downgoat I would, but windows
@MartinEnder wooo, nice, post it, I give up
@Adnan yeah haha
Anonymous
19:54
So, +21/-19 should give 67, I think
@Downgoat python2-config not found
Anonymous
@Downgoat /usr/bin/python2-config
@aditsu are you on windows/linux?
Linux
And do you have python 2 installed?
19:55
I think I have a python2.7-config
O__o
hm ok
@EᴀsᴛᴇʀʟʏIʀᴋ Isn't like cat wearing dog mask like definition of blasphemy
python2-config exists, but not in the path
@aditsu done
@Downgoat and don't forget the fire
19:58
♫ Hey, I just met you
This question's crazy
But here's my upvote
So rep cap maybe ♫
@MartinEnder huh, nice, I also tried a similar idea but didn't make it so short
my 16 was with a f% and set difference
@ETHproductions how many times have you capped?
@MartinEnder ooooh I see, how the heck did that happen???...
3 of which have been during Winter Bash, but once I got capped at 195 due to an unupvote, so I don't have the hat yet
20:01
Oh nice. That's way better then me at 14 (15 now I guess)
I want to eventually get epic, but that's a long way off
I need two more answer upvotes today to get the hat
I need two more answer upvotes yesterday to get rep cap
I typically hit the rep cap any time I post 5 or more JS answers in one day
@MartinEnder I meant f% with 2 arrays
"one day" usually meaning something like noon to noon UTC, because it takes time for answers to score upvotes
20:04
@ETHproductions I usually only cap when I have one challenge and 2-4 answers
But I got 40 votes in one day on the keyboard ASCII-ART challenge
I usually cap when I had enough coke
I'm using my sock account to see how many hats I can get without posting questions, posting answers, posting comments, editing posts, or reviewing posts
So far I have 7
Who's your sock?
it's Alex
20:07
Haha, but no :P
Woah
I remember once on mother Meta bill the lizard posted saying "wait, this is my sock account. Crap, I accidently got more rep on my sock than my real. I'm bad at this"
4
Question: How to clear last two line from STDOUT? I tried something like \r\033[1K\b\r\033[1K but it don't work :(
Or something like that. It was hilarious but I can't find it anymore
@ETHproductions -1 not making the H into a B
ET Bot would also be a sweet reference.
20:10
The H does not stand for Human, if that's what you're thinking :P
@ETHBot Have you ever appeared in chat?
He used to in Beep Boop Maggot all the time
Wait, what does the ETH stand for?
It's actually my initials
Eerie Tree Human
20:12
ETH The Hutt
Any way to find your own messages in a chat room?
Use TNBDE
use the search box
Extremely Tough Hexicashneregoat?
Not everyone are goats
20:14
Or are they...¬_¬
then who will be left to stare at them?
Anonymous
@ETHproductions For TNB there's TNBDE
@KritixiLithos muahahaa I somehow got bert too?
now I haev 2 more hats than you lel
I'll have 2 more hats tomorrow
20:17
Thats your PPCG ID not chat I believe nvm
Perhaps he's never actually posted in TNB, though I swear he did once
Searching by username doesn't work either: ppcg.starmaninnovations.com/tnbde/#pnrKtclXpi
-1
Q: Shortest Virus: Do as much damage

StealthVice7In shortest form, write something that can do the most damage to the host computer (crash, delete, physically damage? etc.) in any language. The more creative the better, but remember, this is still a golf challenge, smallest wins. Rules: None, do your best Winner: Least number of bytes OR Most...

> Posted at 20:20:22Z
> Deleted at 20:22:20Z
Got nuked pretty fast
God dammit ninja'd
in Beep Boop Maggot, Sep 15 at 1:07, by ETHbot
@Laff-O-Tron ETHbot is delicious
hahahaha
20:25
@ETHproductions YOU DARE LAUGH AT THE MIGHTY BOT??
@ETHbot Calm down, mate. Humans aren't worth it.
^
but Goats are :)
in Beep Boop Maggot, Sep 15 at 23:02, by ETHbot
@Zalgo HE'S NO CONCERN OF INSANITY! I'll take me.
And penguins too
Don't forget PenguinCopters
20:28
@ETHbot Oh yeah, I forgot about PrincessBrideBot
Alright guys, socks off your hands!
CMC: Find a comment on Reddit with a score less than the previous answer
Wat
I.e., find the comment with the lowest possible score
I don't think there is a comment with INT_MIN votes
20:32
0
Q: Who can name the bigger number?

k_gInspired by this article. The goal is to output the largest natural number possible using a program with fewer than 100 bytes. Your program must terminate. The number must be output to standard output, as a decimal number. (No interpreting the number in a different base or using e+100.) You a...

@LegionMammal978 To start off: -662 points.
14
Q: Smallest groups in an array

AdnanIntroduction Let's observe the following array: [1, 1, 1, 2, 2, 1, 1, 1, 1, 2, 2, 2, 1, 1, 1] A group consists of the same digits next to each other. In the above array, there are 5 different groups: [1, 1, 1, 2, 2, 1, 1, 1, 1, 2, 2, 2, 1, 1, 1] 1, 1, 1 2, 2 1, 1...

This has an amazingly short answer in modern Jelly
It has all the right built-ins!
ŒgLÐṂ, 5 bytes. Try it online!
Œg gets the groups and LÐṂ gets the elements whose length is minimal for the whole list
Just like Mathematica, there, but shorter.
Or Haskell.
20:54
@Lynn Lol, read the challenge description, came up with a Mathematica solution, scrolled down, found my solution idea, and upvoted it. "You can't vote for your own post"
11
Hahahaha
Hahaha. That must've been really jarring and pleasantly surprising at the same time. :P
@LegionMammal978 I'll see your -12k, and I'll raise you -109k
(imgur, not reddit. Close enough though)
@DJMcMayhem That's not Reddit
20:56
It's basically the same thing
@DJMcMayhem Haha, I thought of that one too, but discounted it on account of it being on Imgur instead of Reddit. (Though they're basically sister sites.)
I love imgurian inside jokes
One of my friends is an imgurian, so I have him a Batman mask for Christmas, and told him to save it for the third Tuesday of the month. ;)
@DJMcMayhem Hahaha. The sprinklers might be pretty cold at this time of the year though...
Especially here
We've had an unusually warm week, highs of 30
0
Q: Boil an Egg: CPU usage

StealthVice7Goal: Write a program that can achieve maximum strain on the CPU Use any languages, I am interested to find out the differences between old and new languages on CPU straining Winner: Shortest (bytes) that can achieve maximum usage of CPU (and hopefully boil an egg if you wanted to due to the he...

21:02
Someone needs to explain to ^ what we expect from challenges on this site
I've linked the sandbox
@DJMcMayhem Yeah, it's been pretty warm here too.
@DJMcMayhem sorry, I forgot. I meant highs of -1 C
@DJMcMayhem Same here. Or are those Fahrenheit?
ninja'd
@Dennis Made me literally laugh out loud.
21:09
:D
did anyone have a white Christmas?
If frost counts, yes
Anonymous
If my family counts, yes
I had a couple inches of snow on the ground
If you mean white-hot, yes.
21:16
@Dennis The $Z_{n^2}$ is not quite clear in your post, otherwise thanks for the explanation=)
If cumulus counts, yes
@FlipTack it snowed for about an hour, none of it really stuck or collected on the ground
@flawr You're going to like this answer :)
May 15 at 21:57, by flawr
@CᴏɴᴏʀO'Bʀɪᴇɴ I know, convolution can do anything
@flawr Ah, I'll clarify that when I'm at a computer.
@Dennis how hot is it during the winter over yonder?
The whole "summer in December" thing always throws me off
21:20
@LuisMendo tH4hBZ+*zGt5OhBZ+*z2X^*+Gt3Y6Z+1=*&fdwdYy/ <- is it MATL, or just a cat bashing the keyboard?
6
@DJMcMayhem Kinda normal in the Southern hemishpere :-P
XD
@DJMcMayhem Your winter or my winter?
Your winter
@LuisMendo I know that, it just surprises me every time it comes up
@flawr Why, isn't it plain to see?
:D
21:23
@DJMcMayhem Varies wildly. This winter was pretty cold, with temperatures as low as 2 C / 35 F iirc. The fun part is that it oftentimes raises from these temperatures at night to 30 C / 85 F in the afternoon.
In winter? o_O
I just googled Weather in Paraguay and it said "40 C and raining"
I can't even comprehend weather like that.
I could use a little of the former here
@LuisMendo It would be nice to have some kind of stepping function online, such that you could see what's going on step by step.
@DJMcMayhem Yeah, our winter should be flagged as very low quality.
8
@Dennis Getting about 60 F consistently here
21:32
@flawr Yes, I've often wished that. Not sure how it could be done, for example highlighting the statement that is being run at the time
It's minus 20 Celsius here. The snow is several meters thick. The wind brings physical pain when you go outside. I rate 9/10, skiing is great right now.
@Pavel Found the Canadian.
@Pavel That doesn't sound fun somehow.
Or Nordic. Or Russian. Wherever you are.
It totally sounds fun
Cause then you get your friend to tow you through your neighborhood on a snowboard for a few hours, then when you're all tired and cold you go inside and drink hot chocolate
Then you drive up into the middle of nowhere in the mountains, chop down a tree and have a bonfire in the snow.
Winter is awesome
21:41
I reiterate: that doesn't sound fun.
This is coming from the person who wears a ski jacket if it dips below ~65F
I suppose I have a rather limited temperature tolerance range
I didn't double-up my jackets until it went below freezing. :P
I usually double up when it goes below 40F so I suppose I'm not that far off there
The other day I had a t-shirt and hoodie in 5F
Enjoy your pneumonia :P
I probably could tolerate freezing temp in a hoodie but not 5F
When I was still used to the cold, I wouldn't have needed the hoodie.
21:49
¯\_(ツ)_/¯ it wasn't pleasant, but it was definitely bearable
@Dennis Here’s a Unicode minus sign: − That should make the equations in this answer look a lot better! If, y'know, you care about that kind of thing
still really wants LaTeX
Fact: if I’m not in a hurry, I space my equations with &nbsp; because I am freakin’ obsessed.
Ooh, that's a neat idea. I've formatted them so they wouldn't break on desktop, but they just look awful on my phone.
I'll swap minis signs later. Not at a computer anymore...
@Lynn Oh is there a latex-command for that?
@flawr I think \, \. \; are all LaTeX spacing commands.
LaTeX equations (and MathJax-rendered equations) try their hardest to never break across lines at all.
21:59
My papers usually contain a lot of equatiosn=)
@Lynn Once had an issue when I was trying to MathJax a huge number in a Wikia article
It’s easy not to notice that it does this, but trying to typeset math with just HTML, stuff like __a +__
__b__ looks very jarring and ugly
Oh, heck.
I eventually gave up, as it would break at the edge of the page and not show the rest of the number
Oh this is a neat solution: tex.stackexchange.com/a/10856/38199
@Lynn Can't do Markdown in multi-line comments (in chat at least).
22:00
Nothing I tried could convince MathJax to generate a line break
@LegionMammal978 \begin{array} ... :D
... cause tables are the right tool to enforce a layout :D
When a scythe doesn't work, use a sword. :P
2
or !important
or sudo
@El'endiaStarman is this some kind of known saying?
@flawr Not that I know of.
I just sounded so much like one, but google denied any findings
22:07
Well, it is now! :P
:)
22:29
CMC: Find the set of real numbers with continued fractions expressible by a linear recurrence relation with constant coefficients after a finite sequence.
@LegionMammal978 Answer: many
@flawr Countably infinitely many or uncountably infinitely many?
I mean, this set contains some transcendental numbers such as e
@LegionMammal978 I think uncountable via Cantor's diagonalization argument.
I think countable
@El'endiaStarman There's countably infinitely many pairs of finite sequences of integers
And each number in my set can be expressed by one
22:37
We are taking the continued fraction expansions of all rationals, and append all the possible series with linear recurrence relatiosn
(also, e would be ([2, 1, 2, 1, 1, 4, 1], [0, 0, 2, 0, 0, -1]))
And yes, see ^^
so we can express each such number as [a1,a2,...,an; b0,b1,...bn] where the b's are the coefficients of the recurrence relation
so this is the same as enumerating e.g. polynomials
the key is that each such representation is finite
that is why the diagonal argument cannot be applied
@flawr Ah, right. Didn't realize that the recurrence relation could be specified finitely.
@El'endiaStarman hm infinite ones sound interesting :)
@flawr With the restriction that the length of the b-sequence is less than or equal to the length of the a-sequence, of course
22:40
@LegionMammal978 Does it have to be?
@El'endiaStarman otherwise you couldn't anchor your relation
Ah, indeed.
So then e would be [2, 1, 2, 1, 1, 4, 1; 0, 0, 2, 0, 0, -1]
let me check=)
22:41
Let's see what other fun constants can be expressed in this system
If you could also specify the numerators, you could also express pi.
sqrt(2) = [1, 2; 1]
@LegionMammal978 i think this doesn't work
@flawr Why not?
for the next digit I get 1
for the one after that I get 1 again
basically I get [2, 1, 2, 1, 1, 4, 1, 1, 1, 7]
22:43
did everyone here have a happy christmas
@orlp I sure did.
@flawr Lemme double-check the OEIS definitions
oh I see @flawr the snek is here
@LegionMammal978 oooh it is the other way around, sorry it works=)
I switched up the order of the coefficients=)
But yeah, sqrt(2) should be correct
22:44
@orlp hey orlp=)
@orlp that's why Chipotle was closed >___>
@orlp we had to postpone it, as most of our family members fell sick over those days..
@flawr Weird, I've been having a cold these last few days :/
(including a dog)
φ = [1; 1]
22:46
Hm, what if you consider the continued fraction [1:0]
is it 0?
or is it infinite?:)
sqrt(3) = [1, 1, 2; 0, 1]
4
Q: List all multiplicative partitions of n

orlpGiven a positive number n, output all distinct multiplicative partitions of n in any convenient format. A multiplicative partition of n is a set of integers, all greater than one, such that their product is n. For example, 20 has the following distinct multiplicative partitions: 2 * 2 * 5 2 * 1...

Err, how do these representations work? I mean, wouldn't [1; 1] correspond to 1/(1+1/(2+1/(3+... since you're adding 1 to the previous term?
@El'endiaStarman It would be a(n) = 1*a(n-1), i.e., all terms are the same
Ah, right, okay.
So in a representation such as [...; x0, x1, x2...], then a(n) = x0*a(n-1) + x1*a(n-2) + x2*a(n-3) + ...?
22:50
@El'endiaStarman Yes.
Also, sqrt(1337) = [36, 1, 1, 3, 2, 1, 8, 2, 4, 10, 4, 2, 8, 1, 2, 3, 1, 1, 72; 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1]
Lemme try something other than square roots, those are periodic
Looks like you have a program now. :P
Also, how are you handling floating point inaccuracies?
...I've been doing these by hand so far
Except for a bit of Mathematica:
In[1]:= ContinuedFraction[Sqrt[1337]]

Out[1]= {36, {1, 1, 3, 2, 1, 8, 2, 4, 10, 4, 2, 8, 1, 2, 3, 1, 1, 72}}
2^(1/3)'s fraction looks random to me
Ima try and enumerate this set
[1; 2] = [1; 2, 4, 8, 16, ...] seems to converge to 1.445934641...

« first day (2158 days earlier)      last day (2980 days later) »