@Optimizer yeah sure, seems like a reasonable comparison.
@Calvin'sHobbies Where is the difference between reading that as ASCII input and reading that as an image where each of the four different characters corresponds to a different greyscale value?
If I choose an input format like PPM, I can convert between the two formats in something like 5 bytes in CJam, which makes the exact input format entirely irrelevant to the type of challenge.
if the question has done that, then yes, its image-processing. It might be 5 bytes in CJam, doesn't mean that its not processing in image. But the question in context (and others linked by Sp3000) do not.
They had normal ASCII input, in some cases, no input at all.
I don't thing that calling a challenge that takes ASCII as input an image-processing challenge, just because it could have taken in an image of similar properties is common sense either
@MartinBüttner No difference of course fundamentally. Just "image" should mean "that thing we use to on the internet to display visual data at the pixel level that comes in a number of common file formats".
while the wikipedia article on "image processing" (which you linked yesterday) explicitly said that "image" in the context of "image processing" is meant in a broader sense.
okay, food for thought. If I have a challenge that has a requirement of image file as an output (in any standard image format). But the output is simply a screenshot of an ascii sun (from CH challenge)
a) it's definitely a challenge about ascii art. b) I actually need to generate the same data as for a pure ASCII output challenge before/while turning it into an image file.
my analogy is: does the program take a string representing an array? sure, it's array-manipulation. doe the program take a string representing an image? sure, it's image-processing.
@MartinBüttner I think we have different opinions on what "image" means in that tag contest. I'd vote for the image file sense, as that's more familiar to everyone and almost always applicable. But I get your point that "image" can mean something more abstract.
but I think that "image" is a much more general (and older) term than "image file" and I don't see why the former should imply the latter in any case.
and I'm not sure why @Optimizer has trouble separating these two concepts.
if you can get a community consensus on meta that "image" == "image file" around here, I'm good with that. but it seems like a rather strong assumption otherwise.
@MartinBüttner Sure, but "image" can be synonymous with "image file", and folks online may normally see it that way. A post with no image mentioned that is tagged image-processing can confuse people (the tag wiki in fact mentions files).
Anyway, I'm not sure why we need to have a heated debate about this. None of our individual opinions is relevant to policy, so if we want to fix it either way, we'd need to take it to meta.
@Optimizer Just write a cutsie sensationalist question once in a while ;) (Though I really do hope and think those cutsie questions encourage new young programmers, which is worth the sensationalism.)
@Optimizer But surely plain ascii-arts like the helix/sun/very simple triangles are easy to write. I get way more rep that I deserve for some of those.
Can you guys take a look at this? Does the game area fit well in your monitor? Do the colors have enough contrast? (You can change scale/colors at bottom.)
Is this allowed? It's handy, working in JavaScript, using the snippet window for development. Updating the (deleted) answer gived source control functionality for free.
On the other hand, that can be annoying for users tbat see also the deleted answers.
Is there a specific font or something I need to install/download/configure in order to see emoji characters?
Emoji are picture characters/emoticons often used in Japanese webpages and messages.
People can post these from their phones to a site like Twitter, but when I try to read them on my PC...
@xnor Thanks, that's great. I haven't expected pop() to take a parameter. I also thought that an assignment to a slice should have the same number of elements as the slice. I learned a lot! :)
In mathematics, the natural numbers (sometimes called the whole numbers) are those used for counting (as in "there are six coins on the table") and ordering (as in "this is the third largest city in the country"). In common language, words used for counting are "cardinal numbers" and words used for ordering are "ordinal numbers".
Another use of natural numbers is for what linguists call nominal numbers, such as the model number of a product, where the "natural number" is used only for naming (as distinct from a serial number where the order properties of the natural numbers distinguish later uses...
I've got a good-old one.
Given n natural numbers, find the smallest natural number that can be obtained by additions and substractions between the numbers in the fastest way possible. For example:
input:
n=5
14 16 20 10 2
output:
2 (16+14-20-10+2=2)
I miss the one I got as a freshman in highschool. First day, in the room with all the varsity guys, the varsity coach is calling roll and he says Rainbuhh... Rainbow? Rainbolt? Hey Rainbolt, where are you? Chief Rainbolt? Are you native american or something?
So my name for Soccer was Chief.
All the other freshman that got nicknames did not get good ones
Why do people keep upvoting my solution when there's a better JS solution further down? Because StackExchangers are biased towards answers with a high score and are too lazy to scroll.
Is This a Real Tree?
code-golf ascii-art graph
You should write a program or function which receives a string as input and outputs or returns if the input is an ascii tree.
_
\/ /
\_/
|
|
Ascii trees consist of characters / \ | _ spaces and newlines.
The non-whitespace characters co...
@Runer112 upvote two more questions. you can only cast 30 votes per day on answers. so I guess you're at 30 answers and 8 questions and tried to vote on another answer.
> 5 post votes after you got your first "5 votes remaining" warning of the day. If you reach 25 answer votes at time t of the day, given q(t) as the number of question votes cast by time t, the total post votes limit will be no more than 30 + q(t). If you cast less than 25 answer votes, ignore this point.