> StackExchange chat is insulated from any such issues [re: Monica etc.] by being effectively unmaintained, which is hardly an ideal defense for your community's main forum.
I mean... yeah
@Adám Do you mind if I "borrow" the "frequently in room" bit for my nomination? I completely forgot that was a thing
The Binet formula is a closed form expression for the \$n\$'th Fibonacci number:
$$F_n = \frac {\phi^n - (1-\phi)^n} {\sqrt 5}$$
where \$\phi = \frac {1 + \sqrt 5} 2\$ is the golden ratio. This formula works even when \$n\$ is negative or rational, and so can be a basis to calculating "complex Fi...
> C:\Users\steve> py -m jelly eu '+' 1 2
C:\Users\steve\AppData\Local\Programs\Python\Python38-32\python.exe: No module named jelly.__main__; 'jelly' is a package and cannot be directly executed
Butter is a dairy product made from the fat and protein components of milk or cream. It is a semi-solid emulsion at room temperature, consisting of approximately 80% butterfat. It is used at room temperature as a spread, melted as a condiment, and used as an ingredient in baking, sauce making, pan frying, and other cooking procedures.
Take the string abcdfghjk. To overwrite it, starting from f, with the string efgh, you would continue along the original, replacing each character with the one from the replacement string. The result would be abcdefghk.
Now, consider a string which would be too long to fit, like efghijkl. Startin...
@RedwolfPrograms I edited the example in your challenge; it took me a few readthroughs to understand the example because you reused the f
@Deadcode Oh, I don't keep track :P It generally goes "This looks like a cool challenge, can whip up a short Jelly answer. Oh, look, I also got a 5 byte Jelly answer, let's see the other answer... oh, right"
Hey caird can you stop controlling my phone's battery? It was on 69% and I was just about to say here "haha my battery is 69%" but as soon as I wrote 69 it went to 68%. The way it changed is as if caird knew I was referencing the funny number.
my friend just showed me my new favorite PPCG userscript: ((d,e)=>{e = d.createElement("style");e.innerHTML = "*{ background: radial-gradient(red, green, red); }";d.head.appendChild(e);})(document)
Finally (and I think this is my last idea): what about including the language (and maybe score?) in the answers? So Jonah's recent answer would be "J, 31 bytes". Perhaps scan for <h1> in answers?
if I want to add an answer to a post and i already have a deleted answer on it, is it fine to edit the new one into the old one and undelete it or should i add a new one
unsure of if we have a policy/general practice for this
i'll be more careful and aim for the right side of the "delete/move messages" link cuz it extends past the freeze and delete options so if i miss by a bit i'll click the blank space xD
It's late here so I'm probably done working on the userscript for today, here's what I've got right now. It's untested, so if anyone here downloads it don't expect it to work
so following ovs' clever golf on my python answer to the new string challenge, i did some testing and apparently you're allowed to just do this: tio.run/##Tc3BCsIwEATQc/IVc0whFGtvgmC/…
yeah apparently it basically just loops through and does <left side> = <current value> which makes sense but lends itself to some really silly things and clever golfs (arguably the same thing)
@GoranSiriev Apologies for the suspension from the flag validation. The site you linked is totally off-topic in this room. Assuming you are asking for legitimate help or seeking a legitimate request and it isn't spam, this is not the room for it. You'll probably be able to ask around on a relevant room like The DMZ on Information Security.
i'm writing up the voting thread ahead of time so i don't mess up anything on the day of and have dead links / links pointing to the wrong user
and unfortunately PFPs are not under a URL by user ID and when a user changes their PFP it just changes the URL, it seems
if your pfp were a problem you would've been asked to change it a long time ago :P was just curious if you wanted a different pfp given you mention immaturity in your nomination post itself as a counter-reason (not that i find it immature myself)
i agree, and more importantly i think acting (appropriately) immaturely in some situations doesn't indicate if someone can maturely handle a serious situation, which is what actually matters
Trying to figure out how to get the minimum and maximum arrays with the names displayed next to them. Also trying to have them in descending order. Thanks for the help!
#include
#include
using namespace std;
int main()
{
int sum = 0;
int myScore[2];
string myName[2];
int i, k;
int avg;
int max ...
Create the shortest program or function that finds the factorial of a non-negative integer.
The factorial, represented with ! is defined as such
$$n!:=\begin{cases}1 & n=0\\n\cdot(n-1)!&n>0\end{cases}$$
In plain English the factorial of 0 is 1 and the factorial of n, where n is larger than 0 i...
Python - 54 bytes
n=int(input())
j=1
i=1
while i <= n:
j*=i
i+=1
print(j)
This calculated n=125 very quickly. so I'm confident it works. Multiplies the return value of j (why am I saying return lol) by i as i ranges from 1 to n, and can even do 0!
Each term in the squaring sequence, \$x_n\$, is created by taking \$x_{n-1}\$, squaring it, and removing all but the first four digits.
The sequence always begins with \$x_1 = 1111\$. Squaring this yields \$1234321\$, so \$x_2 = 1234\$
The first few terms are:
1111
1234
1522
2316
5363
...
The C...
@Lyxal well, if you remove the 4 spaces (and there are two more bytes to be saved without changing approach) it would be a near-exact duplicate of an existing answer
"Hey, welcome to code golf! Unfortunately, there already exists an answer that uses the same method as this answer. <link to other answer>. It's perfectly fine to have made this mistake, so don't feel bad for doing this"
Something like that
(if you're going to use that, reword it a bit and perhaps change the grammar too)