Starring is anonymous (even I cannot see that information) so consider that when you star spam you make the entire room look bad because I can't determine who so it could be anyone (other than the message author, of course) :P
Ambigious Chemical Formula
Losing capital of a chemical formula, it may become ambigious: co can be both CO or Co.
Given an input consisting of a-z0-9, check whether it's ambigious, unambigious, or impossible. Return 3 different values for them. Shortest code win.
Examples:
co - ambigious
2h8...
Could someone please golf my primality test n=>[...Array(n-2)].every((_,i)=>n%(i+2)) [currently 40 bytes] it's demotivating when i see these challenges on primes and then i see a js answer shorter than just my primality test
afaict tags don't have IDs, they're just identified by display name. i can use merge to retag all questions of one tag to another tag without bumping or showing anything in the edit log tho which basically does the same thing
@RedwolfPrograms how does that one work? in my case calling it with 2, 3, 4 and 5 all give false. Looks good at first glance though. The problem with that is that you still check for n%i when i is 1
The sandbox tells users to delete their post once it's put on the main site. But not many users seem to actually do that, it hides what could be useful information in the comments, and 10k+ users (who are disproportionately the ones who review sandbox posts) still have to see it (so it's no different to editing it down to a stub). Should we change this advice? (FWITW I think so)
@pxeger I think it's a good idea for users to delete their answers if they've <10k, and if you've got more, you're probably familiar enough with the sandbox to understand how it works so you can decide whether you want to or not
IIRC Redwolf is setting up an RSS feed on their server using the same thing that the New Posts userscript uses to catch CGCC posts and if that goes well and meta discussions go through we could consider replacing our feeds with Redwolf's
@rak1507 wouldn't work in practice, unfortunately, because otherwise there's no way to distingusih between a block of statements and a dictionary display
He posted that way back in 2014. Surely by now it's time to share his solution, if it actually exists. Over the years I've emailed him a few times, and even tried sending him a comment on CGCC, and he's completely ignored me every time.
All I want to know is 1) if his claimed solution to Glob still works on its current form, or if its test cases were changed since he came up with his solution; 2) Is it really 17 characters long or was that a typo? Or was the scoring for it changed, and it was actually longer? 3) If he still has the solution, could he please post it? And if not, does he remember anything about it, i.e. what general form it was in?
This means a lot to me. Can anybody think of a way to encourage him to reply instead of ignoring this question?
I think it's a bit rash to assume he's ignoring you because he's an asshole. Maybe he has too many notifications, or doesn't have access to that email account or has accessibility issues, or for some other reason doesn't check his inbox
@StackMeter that's already used for bitwise-right-shift
Thanks for the primality tests. user's answer for "you don't like 1" (which I don't) is the best for me, I would like something that can be used in an expression. Have you ever used that one before or did you just invent it on the spot?
Lists are everywhere while browsing online. YouTube: number of views. IMDB: ratings. Google Scholar: number of citations. Amazon: number of purchases. You name it. The sort button on webpages is pretty convenient.
What if the 'sort by XXX' button suddenly stopped working?!
Your task is to sort an...
@Deadcode The likelihood is that he no longer has it, unfortunately
Also, Anders is, IIRC, one of those users who is more about answering than "engaging" in the community. Which is perfectly fine, but you're less likely to get a response