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

16:00
And it doesn't have to be animated. They just have to print the single diagrams for each input
oh, didn't notice that
yeah, I'd just let them be really big
Also, should I call it a "factorization diagram", or a "factor circle", or a "factor polygon"?
#3 sounds coolest
I like #1
16:04
And I'm still a fan of numbers 1 and 2
How about factoragon
I am halfway between no and yes
It sounds cool and dorky at the same time
Anonymous
I like Factor Circle
Matryoshkagon?
Because they're nested
And that is five different opinions XD
Anonymous
That sounds like you're cursing in German
16:06
@Sherlock9 go for it
Go for which? Did you link to the wrong message?
yeah
@Sherlock9 meant this one
Or you can combine all of them into a super mega cool name
@Sherlock9 "It's factors all the way down"
^ best title
@KritixiLithos Matryoshkafactorapolycirclegon
16:08
O_O That's brilliant! Doesn't help with naming the dang diagram, but still :D
factoryoshization polycirclogon
> yoshization
sounds like transforming into yoshi or something
@MartinEnder Especially since I drew one example with turtle
Anonymous
Call it Factorios
Anonymous
Factor Soup
16:10
0
Q: How can I use a list of English words in a challenge?

anatolygI would like to make a challenge that involves English words. Because we want all challenges to be self-contained, I'd have to stuff the huge file into a code block, and let people copy-paste it to use it. However, because there are so many words in the human language, the system won't let me put...

Factions
Or to golf Kritixi's suggestion, Factogons!
@Mego How many hours of Factorio have you played this week?
oh god that game
the addicting one
murder the animals
Anonymous
@Sherlock9 Uhh
Anonymous
About 100 I think
Anonymous
16:15
But that's because I have a tendency to leave it running while I'm asleep or away
I was about to type "There's 168 hours in a week. Is it more or less than 84?" but there we go
Oh ok. That's more sane
"sane"
Clearly we have varying definitions of that word. This is intervention material for sure.
I didn't say it was sane, just more sane than actively playing for 100 hours in a week
Ah. Fair.
Leaving it on in the background is a different, slightly less smelly kettle of fish
16:19
0
Q: complex boolean logic?

user63806I'm not sure if this is where i would put this, but i couldn't find a boolean logic stack. I've made a python module with all seven logic gates, (AND, OR, XOR, etc.) Note that it does not look like this: a AND b It looks like this: And(a, b) In a program I'm trying to make, at one point I...

Okay, I just edited the post. Removed any mention of the name until we find a name for the diagrams (thought I put in a small mention of "factor polygons" in the context, "output an image of its nested factor polygons."
I also put in Martin's title and a limit on the size of n: 1 <= n <= 10000
2
A: Could you make me a hexagon please?

Erik the OutgolferJelly, 24 bytes R+’µạṀx@€⁶żx@K¥€”*$F€ŒḄY Try it online! Jelly is ashamed of the fact that it does not have a centralization atom, so it's beaten by 05AB1E and V. By 11 and 7 bytes respectively! If you find any way to golf this, please comment. Any help is appreciated. Explanation: R+’µạṀx@...

When Jelly sucks.
Then Dennis solves it in <10 bytes
Nope. Of course that can't be true. What about the formatting?
It would be easier to find golfing spots if you broke your answer down a little more :)
16:28
I was searching for them for a while. The explanation is not completely broken up because it would have been 24 lines long.
205
Q: Why is a robot getting a badge that states it is not a robot?

AdriaanWith the first batch of people to receive the Not a Robot badge, I was surprised to see Community receiving one as well. Does this mean I will be able to meet the fabled Community in person?

Plot twist: Community user is secretly Jeff Atwood. — Qix Oct 4 at 17:28
:O
Thanks for all the feedback on my post, guys. I'd mention you all for individual thanks, but I think you'd prefer not to be pinged :D
16:45
I should develop a chat.SE pebble app.
Can someone explain truthy/falsy to this person? I'm not a great explainer :(
@KritixiLithos A smartwatch brand
Does it run on android?
Custom OS, I think
16:49
@FlipTack He can also remove more unnecessary whitespace for golfing (just saying)
@KritixiLithos last time I helped heather golf, I wrote their whole answer for them. Anyway, their answer is wrong, even with their rule of "0 = true and 1 = false"
I got their gen1 watch as a present. It's pretty limited (black and white screen, 4 buttons, etc.) but has a pretty good development environment. As in, I can write code using their online editor, and press a button to install it on my watch.
Unfortunately the company went bankrupt earlier this month.
lol, but Android watches have a much broader audience
17:10
Fun fact: in my default browser, I can now get to the PPCG hat leaderboard by typing co, down arrow, enter. I guess I'm slightly obsessed with hats :P
Doesn't everyone here get to code-golf with c <enter> though? :P
@ETHproductions I put up some cubix answers (1, 2), any golfing tips?
@FlipTack <enter> for me :p
@FlipTack For me that's cjam.aditsu.net. I need codeg to go there apparently.
@FlipTack Of course
@FlipTack I swear I answered the first one in Cubix at some point, because I added D specifically for that purpose...
But I guess not :P
you did, my bad :P
@FlipTack your reverse input won't work with null bytes, but it's not clear whether that's a requirement
oh you said that
nvm
Oh yeah, here it is:
1
A: Shortest code to produce non-deterministic output

ETHproductionsCubix, 3 bytes (non-competing) @OD Outputs a random positive number of zeroes. Non-competing because I added D just a few minutes ago. Before it was added, there was absolutely no way to randomize anything in Cubix. Test it online! How it works Before the code is run, it's padded with no-op...

It doesn't show up in the userscript leaderboard because of the "non-competing"
yeah, that's why I didn't see it
17:20
I'd love to write a challenge where you have to write submissions that accept mathematical functions as input. Is anyone here aware of such a challenge / how this input can be handled? Of course for many "functional" languages this isn't a problem but what about the others?
Perhaps there should be a button that allows you to see non-competing answers in the leaderboard too
@ETHproductions I assume negative integers are truthy?
Correct. This may not be the most convenient option though
@flawr that kinda depends on what sort of primitives you want to allow for the mathematical functions
you mean like f(x) = 2x^3? Or more advances things with sigma, product etc @flawr ?
17:21
only basic arithmetic? sums and products? special functions? derivatives? integrals?
speaking of this, I was wondering earlier - how do you write sigma notation linearly?
@ETHproductions I think I could do less for the input reversal one, but I think the choice generally makes sense
@MartinEnder I think the way to fix that would be to push a -1 before taking input, then quit on -1 instead of 0
but that creates a whole set of new problems ^ :P
@FlipTack doesn't really matter for the challenge, the only thing you need to now that you can put in a number and another number comes out.
17:23
@ETHproductions the ? also needs changing
@flawr well it does matter if you want to allow languages to participate that don't have first-class functions
0
A: Sandbox for Proposed Challenges

neoflashIntroduction Tic-Tac-Toe is a solved game. It is possible on current hardware to generate a complete game tree using the minimax algorithm. However, doing so is CPU and memory intensive. There are various ways of generating an incomplete game tree that will still solve the game using, for exampl...

(i.e. where you'd need to give answers a description of the function, not an actual function object that computes the mathematical function)
@MartinEnder Yes, the way I usually get around this is something like )!^(. Perhaps I should add a command to do something iff the TOS is negative
I just got a hat that isn't listed on the secret hat page
I tried using i)!^( in my answer, but it ended up longer.
17:25
@MartinEnder For example "write a program/function that accepts a (mathematical) function, and outputs it's integral from 0 to 1 using some kind of numerical quadrature" (It is a bad example but it should get across what I'm trying to do)
@DJMcMayhem Which one? I recognize all the ones on your profile
Lounging around
post a question using the Android or iOS app that earns you the Nice Question badge
It's not a secret hat
Oh, doi
Nope. Doi
@flawr yes. my point is, if I want to answer this in Hexagony, then I need to parse and interpret some form of function description and to be able to do that, I need to know what a function can be made up of
The funny thing is I was intentionally going for that hat, lol
if you want to limit it to languages that can accept a blackbox function, that's fine though
The website is fully functional. Don't need the app.
17:28
@MartinEnder Ah right "blackbox function" is probably the best description of what I'd want, thanks=)
I swear I've changed my hat every day thus far, and yet I don't have Trendsetter
every UTC day? :P
I got trendsetter by accident, what's the criterion?
change your hat 3 days in a row
Actually, the mobile website doesn't show hats. I never noticed until just now.
17:29
@FlipTack Change your hat on three consecutive UTC days, I believe
@FlipTack as far as we know ^^^
@Pavel yeah, meta.se basically said it's not supported
@flawr in that case, yes, you'd limit it to languages that have some form of callable function object, and you'd probably want to provide some guarantees on the function, like that it's total and that it's range is within the representable range of the language's number type or something. alternatively, to allow more languages, you could allow people to designate a place in the code to put the function implementation, but that could open up new problems.
@MartinEnder Yes I think it is difficult to make it clear for those other languages. I just thought perhaps someone already made a challenge of that kind
@ETHproductions since you have run and pause buttons on the Cubix interpreter, how about a step button?
are you trying the "reverse stdin" challenge? (Martin)
17:33
@FlipTack You can @ping people if you want their attention :)
@MartinEnder thanks!
@FlipTack sort of.
not very seriously
I find Cubix even harder to golf than Hexagony :D
I find them both... agonizing.
earlier i picked up my rubix cube and tried to imagine the program flow on there... :P
What if you need a non-side-3 cube???
17:37
Imagine program flow where there are commands for rotating slices, just like a real Rubik's cube.
oh god...
that would be amazing, but terrible
@MartinEnder Done :-)
@El'endiaStarman That was actually one of the original ideas for implementing in Cubix, but I haven't got around to it yet... :P
I'm trying to track down a PPCG challenge where the goal was to create a smartwatch app that calculates the amount of time dilation you have experienced. I'm relatively sure that such a challenge existed but I can't find any trace of it.
@ETHproductions nice, although I don't know why it's greyed out until you hit "Run"
メリークリスマス
17:41
happy holidays to you too, even though you missed it by 1 day for the US
The step button is only activated if the program is paused, not sure if that's the expected behavior
odd, I couldn't see myself in the user list before, now there I am :)
@MartinEnder Hmm... it would be harder to have it start the program and only run a single iteration, but I can try.
@FlipTack it's "Rubik's"
funny enough, I somewhat got more into cubing recently
went to my first competition
@EᴀsᴛᴇʀʟʏIʀᴋ thanks, I didn't miss it, I'm just late to the chat ^_^
17:45
haha sorry, got mixed up with cubix :P
@aditsu oh lol
I wasn't sure (though I could have googled) if it was still the 25th in hong kong
it's 27th here
@MartinEnder thanks
greetings from the future
what is this Cubix?
woah do you know what I had for breakfast on the 27th?
@aditsu ETH's language, basically source code is mapped to the sides of a cube
17:47
@EᴀsᴛᴇʀʟʏIʀᴋ You say this as if you're past the 27th
depends which month/year
@ETHproductions woah my mind is exploding /s
It's in the past of his future self.
@EᴀsᴛᴇʀʟʏIʀᴋ must be having a most excellent adventure
@EᴀsᴛᴇʀʟʏIʀᴋ Don't be such a Hatter :P
lel
@KritixiLithos 3 hats hopefully :P
@EᴀsᴛᴇʀʟʏIʀᴋ so the output is required to be sorted?
any reason why?
17:51
You'll overtake me then, game's on
"fairly certain" :)
not really no, I don't remember why I added it in
@MartinEnder I'll not require that, just in case somebody finds a way to golf with unsorted-ness
@KritixiLithos not really, I'm just going for as many as I can get
mego is going to win we all know
if it's not a duplicate, that's surprising
I'm just glad I have over 20 hats
@MartinEnder Fixed, I believe
17:54
awesome, thanks :)
@aditsu yeah, I thought so too
can't find it though
It might take a minute to show up in GitHub pages though.
totient function might be closer?
yeah, but that's different
very similar but different
okay, posting now
17:59
@FlipTack, @ETHproductions took long enough: ethproductions.github.io/cubix/…
0
Q: Generate numbers less than and coprime to n

Easterly IrkGiven a number n, output all the numbers less than n where gcd(n, k) == 1 (with k being any one of the output numbers).  Numbers of this sort are coprime to each other. Example: 10 gives the output [1, 3, 7, 9] (in any form you like, as long as the numbers are unambiguously separated and in some...

You almost nailed the timing
nice one! @MartinEnder
@ETHproductions yep, but it should still work
But you've got the hat for sure
18:02
it's because I clicked the "done" button on the hour, then went "oh shit there's another submit button" so I hit that a bit late
@EᴀsᴛᴇʀʟʏIʀᴋ -1 for posting before I was just about to add built-in to cheddar :( :P
I mean functionality is there I just didnt make interface :P
@EᴀsᴛᴇʀʟʏIʀᴋ you want numbers less than n, but 1 gives [1]?
shit, oops
stupid vim
I tried practicing my vim by putting a 1 before every list, but didn't notice that
@EᴀsᴛᴇʀʟʏIʀᴋ alternatively, make it less or equal to N and leave the test cases as they are
did that
thanks for the advice both of you
18:05
I hate how expensive textbooks are.... (just looking at my university bookstore's prices)
@ETHproductions thanks, fixed
If I were to buy everything new (which I won't because that would be insane), my combined total for this next semester would be $1,252.80 + tax.
One of the textbooks has a rent digital option for a mere $96
3
Q: Generate numbers less than and coprime to n

Easterly IrkGiven a number n, output all the numbers less than or equal to n where gcd(n, k) == 1 (with k being any one of the output numbers).  Numbers of this sort are coprime to each other. Example: 10 gives the output [1, 3, 7, 9] (in any form you like, as long as the numbers are unambiguously separated...

@flawr just wondering, is "flawr" based off your name, the word flower, or nothing in particular?
@Sherlock9 lol dennis beat your jelly by 3 bytes
his is 4 bytes
@PhiNotPi It's quite ridiculous, yeah.
18:12
Maybe one day we'll have free textbooks full of advertising.
@FlipTack cool, your comment also helped me remove the "set()" thing and put just [] instead!
yep
set accepts an iterable so you can just pass a generator
instead of a list :)
oh, you mean remove set all together! nice
@MartinEnder when will your solution appear on the thread? I need to remove my "I don't think this is the shortest answer" and put a link to yours instead
@KritixiLithos got the hatter!
still working on lounging + egoist, don't ahve +3 on the answer or +10 yet
@FlipTack oh I wasn't planning to post it, I thought you'd edit yours
@NewMainPosts Is 1 coprime to every positive integer?
18:16
it's coprime to every integer
I don't really want to steal your golf
it's not stealing if I donate it to you :P
ok :)
Oh. Do negatives have coprimes also then?
@MartinEnder Thank you for your donation of $1,000 then. :P
18:23
@ETHproductions can you replace a==1 with a<2 in your answer?
huh, 16 bytes.. too long T_T
what's this, CJam?
yeah
CJam could use GCD/LCM built-ins ;)
18:32
@Downgoat the drive you asked me about last night has the cable you neeed. Works right out of the box.
Interesting my MATL answer uses the exact same algorithm as the osabie and jelly answers, they just happened to be shorter because of encoding
@EᴀsᴛᴇʀʟʏIʀᴋ And it is magnificent :)
It is also quite ridiculous
@aditsu I can't even match your 16
0
A: Sandbox for Proposed Challenges

NeilSheet music exact transposition As we're limited to ASCII here, I'll just refer to the notes by name A-G, although obviously real sheet music has a range of about an octave and a half even before you take ledger lines into account. Notes are written on sheet music in two ways. Most of the time,...

18:42
I used a little trickery :)
I love the way APL code looks like the face you make when you read it. DJMcMayhem 14 secs ago
4
@FlipTack can you show your full code?
@EᴀsᴛᴇʀʟʏIʀᴋ Uh, shouldn't it be a<2 instead of a>2?
18:51
yeah, that was an edit error >_<
thanks
and I didn't notice it because I was running my saved copy, not the copy-pasted one
it's cool :P
@FlipTack fixed now
can you nuke your comments? I'm nuking mine
@FlipTack .... the bump from that fix-edit and our comment discussion gave the answer 2 upvotes lol
good job lol
betseg and I created a pbrain answer to Output the first position in your program for each input character` : codegolf.stackexchange.com/a/104667/41805
3
@EᴀsᴛᴇʀʟʏIʀᴋ been poking at your solution, can't seem to golf! nice use of the recursive lambda at the top :)
@KritixiLithos btw pbrain is a Brainfuck derivative with function support
I tried changing f to f=lambda a,b:b and f(b,a%b)or a<2, but that then adds a 0 to the start of the returned list
Would importing gcd be allowed?

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