In celebration of HyperNeutrino getting back their account and rep, following Mr. Xcoder.
Apologies for rotating the picture for drawability.
Print or output this ASCII art exactly. You may have trailing spaces and/or a trailing newline.
_______________
/ \
/ ...
@xnor Nice :) I like this challenge. Thanks! :D If I made it though, I'd have it take a truthy/falsy value and output either resonance structure based on that, but this challenge is nice. :)
@HyperNeutrino I think anyone (dupe hammer or not) should only vote if they are confident. If 5 people vote on a maybe the challenge gets closed without anyone strongly believing it is a duplicate.
If it's worth closing challenges just in case, then there's no need for someone with a dupe hammer to hold back, so either way I don't think it helps anyone to give them the option to water down their power
@trichoplax That's a very good point. I suppose actually that having a hammer is good because it allows more experienced users to make decisions. Though I think it might be a nice idea to have the option to cast a variable amount of close votes; for example, a gold tag badge holder could choose to cast 4 CVs so that only one more person needs to agree. Not sure how well that would work out though.
@HyperNeutrino I guess it might be worth making the system more complex if closing was irreversible, but since it's not I think keeping it simple is best
@HyperNeutrino I really don't know. I wouldn't expect a problem if they just made a mistake. If it's to stop other people's attention being drawn to it, that isn't much different than waiting for it to be closed first then opening it, since the people who saw it to close it the first time don't have a second close vote.
Occasionally, a user will cast a close-as-duplicate vote that's clearly incorrect. If that vote closes the question as duplicate, a gold tag badge user in a tag for the question ("dupehammer user") can then, as I understand it, unilaterally reopen it (thus overriding all the previous votes).
My ...
If I make a joke about someone's name that doesn't require them to be pinged, I autocomplete then take the @ off the front to avoid irritating them. It's quick and easy :)
If I make a joke about someone's name that doesn't require them to be pinged, I autocomplete then take the @ off the front to avoid irritating them. It's quick and easy :)
@ArtOfCode In the UK, we have two things called cookies. Small, crispy ones in packets (long shelf life), and large ones that have enough variation in cooking to be crunchy around the circumference but still soft (possibly gooey) near the centre.
@ArtOfCode It's the big ones that shouldn't be all one or the other. They're big enough to exhibit the full delicious range from slightly underdone to slightly overdone all in one confection
@ArtOfCode Despite the evidence to the contrary, I persist in my belief that oatmeal and raisin must be everyone's favourite really, and I'm still surprised each and every time someone says they dislike them
@ZacharyT you never know (•◡•) (I've answered two long-inactive questions which revived them but I'm probably not good enough to answer that one... yet }:-))
@totallyhuman your face mask doesn't fit properly. it only covers half of that metal face behind it
My current username, if you haven't guessed, contains my last name. I made a poor choice with it and wish to sort of undo it, but not entirely. I have a fun little quest that may engage a few code-golfers that are bored and out of challenges. My username is "carusocomputing", if you could not tel...
Write a function or program that processes a block of text and returns the new text. Smallest valid program wins.
Each line in the block of text will have the following format:
12:34,56
The first number is the line ID, the other two comma separated numbers are references to other lines.
In t...
The most popular (i.e., the most visited) websites have in common that they are dynamic websites. Their development typically involves server side coding, client side coding and database technology. The programming languages applied to deliver similar dynamic web content however vary vastly between sites.
*data on programming languages are based on:
HTTP Header information
Request for file types
== See also ==
Comparison of programming languages
List of programming languages
TIOBE index
Web development
== References ==
== External links ==
Kiotviet.vn Using PHP, .Net...
Python 3, 226 bytes
def f(s):
S=dict([map(eval,i.split(":"))for i in s.split("\n")]);r="";L=[min(S)];i=0
while i<len(L):t=S[L[i]];L=L+[t[0]]*(t[0]not in L)+[t[1]]*(t[0]!=t[1]not in L);r+="%d:%d,%d\n"%tuple(map(L.index,(L[i],)+t));i+=1
return r
Try it online!
Python 3, 226 215 211 209 182 bytes
def f(s):
S=dict(map(eval,i.split(":"))for i in s.split("\n"));r="";L=[min(S)];i=0
while i<len(L):a=S[L[i]];L+=set(a)-set(L);r+="%%d:%d,%d\n"%tuple(map(L.index,a))%i;i+=1
return r
Try it online!
stackoverflow.com/a/44725616/1541563 I know this isn't code golfing related, but I feel like I found a use for Proxy that can't be done except by atrocious function handle .toString() inspection hacks
Related: Validate a stem-and-leaf plot
Input
A non-empty list of positive integers. If needed, they can be taken as strings. You cannot assume it is sorted.
Output
A stem-and-leaf plot of the numbers. In a this stem-and-leaf plot, numbers are ordered into stems by tens, then all numbers that ...
CMC: given a mapping represented by [[x,f(x)]for x in S], and a starting point, determine the length of the loop which the starting point will eventually fall into after iterations of f
Sorry about the silly title - it just sort of happened that way and then I couldn't resist the alliteration.
Tag badges are awarded when you earn at least 1000 total score for at least 200 non-community wiki answers with a specific tag. A "privilege" gained due to this is the ability to use a...