Just like I get on people's case about discrimination against golfing languages and what not, I also get on people's cases about other kinds of discrimination.
The choice of operators in GolfScript actually make sense and are easy to memorise. The same cannot be said about FlogScript even though some classes of problems are shorter in it.
@Rusher Why do they need to persist data to a file? Can't you write a control program which keeps each program's data in memory and pipes it through the program at each step?
@Rusher Assuming that you mean my 'Standard "loopholes"' meta thread, the purpose was two-fold: firstly to allow people who already know how to define a challenge to save lots of boilerplate, and secondly to avoid the situation where every question by a newbie needs to be edited within 20 seconds to avoid "funny" answers which have long since passed their best-before date.
@vzn non-zen answer: humans can parse lower case, but they read fastest when text obeys the conventions which they are trained to recognise. It's therefore good etiquette to follow those conventions, because the tiny amount of effort by one writer saves lots of readers a similar extra effort.
Peter appreciate your edit on my q and have no objections. my opinion re lower case: think it is informal & allows users to dash off questions faster. considering how fast/easily questions can be closed, think its some small benefit to questioner. want to encourage culture that focuses on underlying content & not minutia. suggest those that dislike style make it known once but otherwise not overreact & just skip/ignore it.
@vzn Shame. My message to you was regarding your comment about Doorknob's age, and how we do not encourage ageism or other forms of discrimination in this community.
@vzn My code review comments are very picky about doc comments too, and if you write your doc comments in lowercase, I will definitely comment on that.
_ is the class name. It's a very confusing one, but it works!
With the class renamed:
class Something {Something something;Something(){something=this;}}
And cleaned up:
class Something {
Something something;
Something() {
something=this;
}
}
And you can go crazy with th...
Make a code that gets list of badges that nobody received yet (for example, by using this website API for badges), and output the sorted list of such badges, with new line after each.
Example output (may be smaller, depending on when you do this challenge):
Archaeologist
Caucus
Constituent
Copy...
i wonder if C++ will let you do variable++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++?
se does not really value questions much. eg (1) easily killed even by relatively low-rep nonmods "ganging up" and (2) only +5 and not +10 for votes. (that chged awhile back, ~2yr ago)
no gareth there are some decent, high voted questions that were dashed off quickly. that is a widespread se phenomenon. many by lowrep users who are new to sites.
At the moment there are bunch of people who re-open closed questions as soon as they see them just because they can. That's why there's so much rubbish floating around.
@PeterTaylor They may need to persist data in order to gain a better understanding of the map. I'm not going to write a control program that does it for them. I expect that by the time I'm done polishing the challenge, submissions will be required to provide two command line commands - one that I can use to ask for a move, and another that I can use to ask for an attack. The wrapper class will just execute those commands and hopefully get back a response.
@vzn I've just looked and you have to go to the 16th highest voted question to find the first with a half-decent spec. If I received a specification as poor as some of the highest voted ones here at work I'd be sorely tempted to tell my boss to stuff his job where the sun doesn't shine.
Your program must take as input a line of characters, like this:
@+.0
And output the characters sorted by how dark they are, like this:
.+0@
Requirements:
You must use a monospaced font for darkness detection.
You must find out how many pixels each character takes up. You must actually dr...
If anyone knows Java and wants to write a language agnostic version of my challenge in the sandbox, you are more than welcome to take it. I'll give you the working Java controller and you can modify it to your hearts content and get all the rep for it. I just want to submit an answer for the challenge.
Survival Game
The Board
The Wild is a two dimensional array of cells. Cells are populated by Animals. Every day, each Animal in the Wild makes one move. If two or more Animals move to the same cell, they fight until one remains. The possible moves and attacks are as follows:
Moves - { Move....
I retain all rep for the sandboxed version, though
Or it can be buried in the sand. I don't have time because Diablo 3 Reaper of Souls just came out XD
@vzn "is informal" This is a formal kind of site. (Kind of. ;-)) "allows users to dash off questions faster" How in the world is that a good thing? "considering how fast/easily questions can be closed" Only if you dash off questions fast without thinking about them. Oh wait.... "minutia" Okay but it's quite annoying to me.
@xfix Why? Why would I do that? Could I prove that I am 13 somehow? :P /cc @mniip
@xfix That was just me getting lucky ;) You could look through my answers and see the ones that I think are much better than that one, but that would be difficult considering I have- checks -632 of them. :P
@vzn Just because they get votes doesn't mean they're good. Quite the contrary - if you dash off a quick question and it gets lots of votes, it's probably terrible quality. /cc @Gareth
@Undo Does your shiny SR diamond have any power here? :3
@Doorknob One thing I like about SE chat is that you can reply-to a message after the fact, so you can edit an existing message to be a reply to itself, or even a future message. ;-)
Can we get a "Too trivial" close vote for questions that would force very similar answers?
For example this one: Ration your integers and feed the people
After the edit the question allowed only for one single sane implementation of the algorithm and the only thing that would differ is the choi...