@Deadcode I think after a certain number of comments (3-4 each?) there's an option to create a chat room, but there's no way for regular users to move old comments into chat. (Because it would effectively allow you to delete other users comments).
But you can always flag requesting one of us to move a conversation to chat.
BTW, I would love for someone to write a PCRE or .NET regex for matching factorials. I'm just beginning to learn to exploit those (most of my focus has been on learning to work around not having them) so I probably wouldn't come up with a very well-golfed answer myself.
er, to exploit forward/nested backreferences I mean
@primo @H.PWiz @JoKing
(PCRE, Perl, or .NET, that is)
oh and of course @MartinEnder though he's not here.
Have there been challenges where the question explicitly says people answering can choose either to optimize for size or speed? Or is it better to create two questions, if you're interested in both?
oh, and of course if optimizing for speed, memory efficiency should also be a factor
Two challenges wouldn't be considered duplicates if they have sufficiently different scoring mechanisms (and size and speed would be sufficiently different). Personally I'd rather see them as separate challenges than all the answers mixed together, so I can compare like for like. I'd still like to read through both sets of answers, just separately.
exactly because two different winning criteria isn't one and only one winning criterion, although they can be if one has a lower priority than the other
Another possibility is a single scoring method that takes into account more than one aspect of the answer (such as points for speed plus points for size, in a well defined formula) but it would be difficult to fine tune this to make it interesting (and even then it may reduce to one measure or the other for some languages)
Sometimes a challenge scores on one and restricts on the other. The simplest example is shortest code excluding brute force, by having a limit on run time for a particular input
It actually seems to me that there should be two criteria of size-optimization, which could go into separate challenges. One for using whatever standard libraries are available, and one for using only the basic libraries necessary for I/O and implementing the rest from scratch.
But it could be quite hard to define the latter well enough.
also, I'm a bit against "you can't import from the standard library", because the standard library is just another part of the language, although you may require that there not be any "external" libraries, but that's only imho
Are there any other programming languages where, like unary regex, the maximum value of any integer variable is limited to not exceed the largest number in the input? I'm expecting the answer is no, but I do find it an interesting limitation to operate inside of.
@DJMcMayhem Holy crap, +400 bounty! xD Thank you so much! And If someone else manages to take that for an answer even better than mine, I won't mind!
I also have a regex that calculates an irrational number. And I'm pondering exactly what kind of question I should post so that I can post my answer on it.
And thinking about if it's possible to calculate a transcendental number in regex.
By "calculate an irrational number", I mean it returns floor(input / irrational number greater than 1) as a match.
I'm very happy with the constructs I came up with to make this regex. I hadn't done fully generalized multiplication and division beforehand, which can accept 0.
This is a list of unofficial, deadline-less (hence not searchable) bounties offered by users on various challenges on the main site.
Disclaimer: There is no guarantee that the user will award the bounty for you in case you fulfil its requirement. Especially if the user isn't an active member any...