Welcome to the first Monthly Mini Golf! During this event, we'll post 18 CMCs (Chat Mini Challenges) for you all to solve. The first 5 will be posted at the start, and additional ones will be added every 5 to 10 minutes. If you have any questions, don't be afraid to ask. Good luck!
CMC: Given three points in the plane, determine if they are on the same line
CMC: Take an array of numbers. Take the sum, but where every second item is negated.
CMC: Subsequences, going out from the center ('ABCD' -> ['BC', 'ABCD'], 'ABCDE' -> ['C', 'BCD', 'ABCDE'])
Draft: given three points in the plane (not all on the same line) determine if they describe a circle in a clockwise or anticlockwise direction using any two distinct return values
Fun fact: you can find out what deleted messages said if you have their reply id (which you can get if someone has replied to the message) by going to https://chat.stackexchange.com/messages/{id}/history
@ngn the clockwiseness is preserved if you compare them to any point inside the circle, and the average should always be inside the circle, I think. so i take the difference to the average, then arctan each, then check if it's sorted
TBH I don't think we need a bounty. If we have this as a regular thing, we can point to it as a place for trivial challenges that would be better off not on main, and we can use these as an activity booster (not that we need it but ¯\_(ツ)_/¯)
@Delfad0r intuitively, it appears so. with ..-a you translate to one of the vertices of the triangle, with division you subtract the headings of the two sides, and the result's imaginary component tells you which was to the left and which to the right
@RedwolfPrograms yes, i am shamelessly creating built-ins to solve most of these as we speak :P because i only am using like 10% of my codepage right now
I'll take over as lyxal (69 funny number, rickroll haha frick): Given a string in the form I'm <x> output You're not <x>, you're <y>, where y is your username. x will contain any ASCII charactrs
CMC: Take an arithmetic operator in the form of a blackbox function (one of addition, subtraction, multiplication, or division), and return one of +, -, *, or / depending on what it is
Regardless of whether we think it's a dupe or not, if it has multiple pending RO votes, the appropriate thing to do is let things play their course. If the challenge gets reopened, a meta discussion might be in order. Unilaterally (or almost unilaterally) deleting it isn't cool
now that i think about it it doesn't make sense to delete something with 4/5 on RO even if by normal vote
if it gets reopened there will probably immediately be a lot of answers so a meta discussion would cover future cases more than this challenge. which may be fine, but there are probably a least a couple saved answers for this challenge
my headphones either got slightly unplugged or the driver glitched or smth but it started making weird staticky noises and echoing strangely, and for whatever reason when i paused my music it kept making sound