We say a sequence of integers is heapable if there exists a binary max heap, whose nodes are the sequence's elements, such that if \$p\$ is the parent of \$n\$, then the sequence has \$p\$ before \$n\$.
Alternatively, a sequence is heapable if we can initialize a binary max heap whose root is its...
Inspired by wezl.
Your challenge is to take words (sequences of [a-zA-Z]) and truncate them to length 3. For example, never gonna give you up would become nev gon giv you up.
Words will not necessarly be delimited by spaces - for example, youtube.com/watch?v=dQw4w9WgXcQ will become you.com/wat?v=...
For my desmos challenge in the sandbox, fireflame put an easier process to construct bernard in the comments, should I replace my explanation with that easier explanation, or should I keep my initial explanation? Which would y’all think is better overall for the challenge? On one hand, it might be interesting to see how ppl puzzle out golfier strategies of constructing bernard, but on the other hand, that might just be annoying and be a detriment to the challenge.
@emanresuA The plot thickens: Today, my comment flag limit was 54. Today, I've raised 60 comment flags. If I've kept count correctly, 12 of those required manual review before being approved; the other 48 were validated automatically.
@AidenChow your last bernard is only 15 tall, also yes you should include the easier recursive definition probably, as long as its actually accurate to the shape
Goroawase Numeric Substitution
code-golf number
Goroawase numeric substitution is a common form of Japanese wordplay where homophonous words are associated with a given series of numbers to associate a new meaning with that series. Your task is to take an input of a Japanese pronunciation and out...
@pxeger I don't know precisely. The challenge itself was posted in 2012 at which time the default would have been characters, but I think bytes were default well before 2018.
unfortunately, you do have to specify the queue it's in, so six URLs to check (although checking low-quality posts first probably cuts the time down a bit)
it only really has two essential jobs: a) to act as a "default" parent when no parent process is available (and do the jobs of a parent process, like waiting on its child processes); b) to start the events that start the system in motion
systemd contains an init, but is much more than an init in practice
question that might sound off topic but im thinking about challenge ideas lolol: are there any relationships two like.. integer arrays might have with eachother? like in the same way that two shapes might be duals of eachother
i keep going to call it a "property" of the thing but that doesnt make sense
like you might say like, [1,2,3,4] and [4,3,2,1] are reverses of eachother, or [1,2,3] and [-1,-2,-3] are negatives of eachother
For what its worth, as I don't think that article explicitly says it, IIRC a relation ~ satisfies reflexivity (x ~ x is always true), symmetry (x ~ y = y ~ x) and transitivity (if x ~ y and y ~ z, then x ~ z)
CMC: Given a binary function \$f : X \times X \to \{\text{True}, \text{False}\}\$ for some finite set \$X\$, output a true/false value to indicate if \$f\$ is an equivalence relation; that is, does it satisfy the axioms of reflexivity (\$f(x, x) = \text{True}\$), symmetry (\$f(x, y) = f(y, x)\$) and transitivity (if \$f(x, y) = \text{True}\$ and \$f(y, z) = \text{True}\$, then \$f(x, z) = \text{True}\$)
When you die, you either start using Chrome or Firefox. Depends on if you committed any sins against web development. People who have done especially horrific things get sent to Internet Explorer.
@thejonymyster Thinking of a funny response to this but all I could come with was "when it go to fuck dell, i, i wanna die," so I wasn't going to post anything, but then I thought "what the hell, my reputation as a sensible member of TNB is shot anyway" so I'm posting this message
@RadvylfPrograms I mean, I've always wanted to be that cool
I have no problem with being shunned by the rest of society because that'll happen anyway :P
The only thing I have a problem with is being resurrected. Life can lead to many undesirable things, including cancer, pain, embarassment, and death
I'm talking about ordinary websites with like, paragraphs of text, but someone decided this would be a great time to show off that they know how addEventListener, preventDefault, and scrollBy work for no other reason than...actually idk