> Most species exhibit at least one trait in common: they are all very intelligent. A lot of the time this intelligence comes in the form of an extreme lack of common sense
Yup, whenever I see someone lacking common sense, I think to myself "Wow, that person must be really smart!"
So I just reread this flag discussion and this older flag discussion, and my response has ballooned into something of an essay. What's the best place to post it? An answer to an existing meta question? A new meta question? A GitHub gist?
(I should add that it's not a very constructive response. The main conclusion is that a coherent policy on flags is impossible.)
@DLosc If you want to introduce changes to the current flag policy, you could probably go on meta (although caird's suggestion of first trying a gist is probably best)
Redwolf clearly has strong opinions on flag usage. However, he's never written those down into either a Q or A, because (AFAIK) he believes that his opinion isn't likely to change how we as a site consider flags
(Feel free to correct me if I'm misrepresenting your opinions, Redwolf)
@cairdcoinheringaahing That's a pretty fair summary. I mostly agree that our current method is the among the fairest possible, although it's still quite bad.
@pVCaecidiosporeadduced It's allowed, but please don't
i considered that for yuno so i could use the same built-in set but either stack or tacit so i could try out both but decided against it because tacit languages will be weaker in some situations and that's something my language's users (so, nobody) should deal with
Khinchin's constant bad estimate
Inspired by How to write down numbers having an infinity of decimals? Link 🇫🇷
Background
From Wikipedia: for almost all real numbers x, coefficients ai of the continued fraction expansion of x have a finite geometric mean that is independent of the value of x an...
For the purposes of this challenge a substring \$B\$ of some string \$A\$ is string such that it can be obtained by removing some number of characters (possibly zero) from the front and back of \$A\$. For example \$face\$ is a substring of \$defaced\$
\$
de\color{red}{face}d
\$
This is also call...
silly question but if I want to do max(abs(a), abs(b)) what is the smallest number of comparisons needed to compute the answer (without using max or abs)?
var pa = a < 0 ? -a : a;
var pb = b < 0 ? -b : b;
return pa < pb ? pb : pa;
If you count using a ternary operator as two comparisons for some reason, you can make a return-early abs function and use that, then a return-early max.
I know this post is old, and it's helping me learn, but it's also one that generates opinionated answers. Flagged it as such to prevent any future opinionated answers.
Still a great post
Oh wow, I didn't see the stack of "Tips for golfing in X" posts
@Tacoタコス You can, by navigating to your flag dashboard /users/user_id/flagging I believe, but it's in the review queues now, so I doubt that'll do anything
Tips for golfing in X are on topic here, as answers have to provide some way of showing that their tip would actually shorten code in some way. Answers that dont show some form of golfing advice (e.g. "you can make your code look fancier by using Unicode characters instead of letters in Python") aren't acceptable answers tho, so "opinion-based" wouldn't apply
@Tacoタコス I suggest loosening the output rules, and using standard decision-problem output
For example, 1/0 for true/false, or "non-zero integer"/"zero" etc.
I originally had it that way but was advised that it might be better to change it; I think the output should be whatever truthy and falsey values the language you're working in would use, so long as answerers explain how their truthy and falsey values work
That way answerers can work with their native boolean types
I love how in the Featured on Meta section, we currently have the following headline: "Profile image changes (TL/DR: You won't be able to switch back to your old..."
When the TL/DR summary is so long that it gets cut off...
F is "deep flatten" ([[[1,2],[3,4]],[5,6],[7,8]] -> [1,2,3,4,5,6,7,8]), Ẏ flattens by one depth level ([[[1,2],[3,4]],[5,6],[7,8]] -> [[1,2],[3,4],5,6,7,8])
Why test your code when you can just write the whole thing all at once and then spend hours picking it apart to find the one ^ that you forgot to include, only to realize that it's still not working because you don't actually understand how Malbolge works, and no mom, I can't go take out the trash, I'VE ALMOST GOT IT WORKING!
@hyper-neutrino They're really going for the whole "wall of text" strategy... They could put "BTW, we know where you live" or something at the bottom and it'd take a while for anyone to notice.
> Stack Overflow emails use Javascript for email tracking of opens, clicks, and unsubscribes or may contain a small, invisible, one pixel image which can be used to let us know when the email is opened or forwarded.
Why do they need that, and how long has it existed before they bothered to tell people about it?
@hyper-neutrino At first, I thought: Oh cool, that'll be a lot easier to read! Then I started reading it. The changes are so pervasive that the diff doesn't help that much. :/
correction, it was our fourth day day 1 was some general context stuff then just individually querying predicates that are only defined with facts (can't remember if we had variables in the queries at that point or not) day 2 definitely had variables and i think it introduced , and ; but unsurprisingly i took virtually no notes day 3 definitely had predicates defined with rules and then we did actually cover arithmetic by the end of day 4 where the very end of day 4 was the class being asked what kind of data structure seems likely to underlie operator expressions and the expected answer wa…
CMQ: What did you have to do to be allowed to drive?
@hyper-neutrino I like how it's something nobody should deal with, but actually saying that it's "something nobody should deal with" completely changes the meaning :P
@user pass a written test about road rules basically which gave me a G1 which lets me drive if someone who has had a full license for 4+ years is next to me
the first driving test consisted of basically just driving around the area and parking which gave me my G2 which lets me drive alone, or with someone with a license on highways
and eventually i'll do another test which will contain a highway portion which will give me my full license, which i have to do within 5 years of getting my G1 or it expires
Even pre-COVID, we just had a multiple choice test for a learner's permit which seems to work like your G1 and then a single skills test to let you drive pretty much anywhere on your own
ah. my license does say on it that i require corrective lenses to drive but i think they just take that info off of my optometrist; i don't recall them doing a test when i got my license
@Tacoタコス (shameless self promotion): vyxal is also good for a first golfing language; it's got things like variables and explicit loops and other programming constructs that you'd be used to, as well as (mostly) everything a golfing language needs
@user warranty? Why tf would I need warranty when I don't drive at all
I mean, I've had about 6 or 8 lessons, and I could drive if I wanted, but I don't want to
something really weird that happened once was i received an obviously fake TD email, but the email didn't actually contain scam links or any place i could be tricked into submitting my login info or anything like that
and it just had some info links that pointed to the actual TD website itself... so like, idk what they were trying to do