CMC: Write a program/function that takes a list of strings and returns a list of numbers that consists only of the number of times each string appears in the input list.
e.g. ["Hello", "World!", "Hello", "Waffles!"] -> [2, 1, 1]
Tbh I like everything about this, aside from the mod badge (which I'm undecided about). SE has given us plenty of notice and details about how they're going to be implementing a popular and commonly-requested feature, and Yaakov appears to be taking questions and feedback on that. It's a nice change
while I explicitly said I was happy to have a diamond attached to everything i do and have done on the site, i don't like how prominent the "Mod" display is and i don't want everything i do to be seen as irrefutably final and that people can't contest me on things
@cairdcoinheringaahing it was going to be on the main site too, but they asked us first and listened to our feedback to keep it off main, which was pretty nice to see
i am still not sure how i feel about it even on meta but at least it seems a bit more reasonable since meta is about discussions about the site - I was elected to manage the site, not based on golfing skill and stuff I do on main is largely not mod stuff anyway :p
One example of why we should have staff badges: see the recent status retag on our meta. I had to actually go and check that this 101 rep user was actually an employee :/
Bijection between N and at-most-n-ary trees code-golf open-ended-function math
Background
Related: a golflang theory I posted in TNB a while ago
At-most-n-ary trees are rooted trees where each internal node has between 1 and n children (inclusive). Two trees are considered identical only if the s...
I've also noticed that's a lot less with you new mods. Compared to Dennis, Martin and Alex, you, WW and JoKing are definitely more janitorial as mods and closer to regular users on meta
Dennis and Martin all but carved out the site rules, and Alex was a leading figurehead in the community. You three are all influential users, but sort of in a different way
things are pretty established now that i'm quite hesitant to do anything unilaterally at this point (and haven't felt the need to really - for example, a previous mod team once appointed a set of ROs for TNB because it was that urgent; we managed to afford wasting four months on an election with no problems lmao)
i'm not sure if things are just stable enough now i don't need to really proactively take steps like setting rules or creating regulations, or if i just lack the decisiveness of the previous mods
remote: Password authentication is temporarily disabled as part of a brownout. Please use a personal access token instead.
remote: Please see github.blog/… for more information.
Introduction What is ROT13? It's basically a cipher sequence that changes a letter's value from the number chosen. If we use ROT1 on "games", we get "hbnft". The basic interpretation o...
Probably just because I'm such a humble, great, golfing genius (well, not just a golfing genius, I'm also good at math, physics, racing cars, all kinds of sports, etc.)
Hey, I posted a proposal for a challenge to train a single perceptron yesterday in the sandbox. Will someone comment on it or something to let me know if its good enough to ask a question about?
Train A Single Perceptron
You must write a program that will train a perceptron to simulate the following things:
An AND gate
An OR gate
An XOR gate
A NOT gate
Inputs
The program should take as input training inputs and training labels. Each list of inputs corresponds to exactly one output. Thi...
Also, I don't understand any of this stuff, but it seems like an unobservable requirement. Instead, you could perhaps provide a small framework and limit answerers to that to ensure that they're making a perceptron
@hyper-neutrino I find it surprisingly easy to go a few days without posting from time to time
Especially if you run out of pending challenges in the Sandbox
Personally, I find it doesn't help to motivate you to post challenges when 3/5 of your most recent ones have got <10 score, despite being IMO good/interesting challenges :/
i notice that trivial questions seem to get a fairly low score and high answer ratio, and then after a while once enough answers have been posted and it's at like +6/-4, it suddenly just gets like 10 upvotes, and I'm 99% sure it's always because HNQ
i find that the best type of question (with "getting upvotes" as the metrics) are one with an interesting component or something novel, that aren't done trivially by most golfing languages with a few builtins, and are simple enough in their explanation that most people can grasp the core challenge (and aren't some super complex math / theoretical CS concept)
that way it's actually interesting to solve so people are less likely to just drop an easy answer and not even upvote, and it still gets upvotes so it'll hit HNQ and people will upvote, hopefully because it's interesting, but realistically just because it hit HNQ
Hey, for my sandbox question about perceptrons, can I just include a link to a web page that explains perceptrons and how to train them instead of writing a definition myself
challenges should be self-contained, so you should have an explanation that's enough to define what you require in the challenge, and if people don't get it and need more detailed explanations, then they can refer to the article / resource
A link would be great, but could you at least leave a small tidbit about what a perceptron is, in case someone doesn't feel like clicking a link but might be interested when they see the description?
A guy named Dennis used to maintain TIO, and people could submit languages to be added, but he's not around anymore. I don't really know much about it; that was before my time on the site.
@AaronMiller Becuase it's an incredibly cursed language
A program with n instructions has a minimum of O(9^n) complexity IIRC. Every builtin has 9 possible meanings, it runs all paths and then selects the correct one based on the sample I/O provided
hey, are there any self-modifying brainfuck like languages? I think it would be great if there was a befunge-like brainfuck-like language, just no stack like befunge has.
@RedwolfPrograms I'm "working" on Example which is intended to be a better version that limits the branches of execution based on prediction
@hyper-neutrino I quite like challenges which describe an "effect" rather than just give you the steps to do something, cause then you have to figure out what's going on, rather than just matching the builtins to the steps
@Catija and I were using your meta site as a testing ground for this which just went live network-wide, and we were just monitoring here to see if anyone noticed
Tbh I like everything about this, aside from the mod badge (which I'm undecided about). SE has given us plenty of notice and details about how they're going to be implementing a popular and commonly-requested feature, and Yaakov appears to be taking questions and feedback on that. It's a nice change
yeah I think the staff badge is good. idk about making the mod display even more prominent but i am happy they took our feedback about not having this on main