I made one called “crash_bandicoot.exe” that opened the windows calculator in an infinite loop.
I made one called “crash_bandicoot.exe” that opened the windows calculator in an infinite loop.
Just writing words doesn’t make it legally binding. Anyone who reads this comment owes me $1,000,000 USD.
See your problem is you’re editing the code until it passes the tests. It’s way easier if you edit the tests until it passes the code.
There’s a string stating that the code should not be passed or the employee will be fired. I’d assume this was a test to see if an employee meant to be doing code review was actually doing them. Spoiler, they were not, as OP said they found this in production code.
Things said by Github copilot.
It’s not satire! Torovoltos used telnet to hack into my iPhone and instal an mp3 virus known as Songs of Innocence
For an additional TIL: Canada also shares a land border with Denmark Hans Island
That’s why UK insults are the best. Referring to a backbencher as a backbencher isn’t an insult. Referring to the former Prime Minister of the United Kingdom as a backbencher, because she lost her office and now sits on the back benches, is an insult. It’s an incredibly snide remark that seems perfectly normal unless you know why it’s not.
The Tory backbencher
UK insults are the best
The question is about “superpermutations”. The permutations of 1 and 2 are “12” and “21”. A “superpermutation” would be “1221”. It contains the numbers 1 and 2 as well as all permutations of 1 and 2. However “121” is also a superpermutation of 1 and 2. It also contains “12” and “21” and it’s shorter than “1221”.
The problem is finding the shortest superpermutation. Stand-up Maths has a video where he interviews a mathematician that published Anonymous’ solution. So yes, there is a math paper where the main author is “Anonymous 4chan Poster”.
Or post your question with a picture of Kurisu Makise saying “you should be able to solve this”
That’s how they got a 4chan user to post the solution to an unsolved math problem
You know how lawyers shout “objection!” in court and it causes things to happen? Sovereign Citizens believe all laws work that way. If you find the right words, phrase, or document, you can bend the legal system to your will.
It’s kind of like thinking the law works like Magic The Gathering. Sorry officer, but I counter your “diving with a suspended licence” attack with my “I’m travelling not driving” spell!
I almost feel bad for them because in some ways the legal system is a game that can be bent to your will. It’s just that the best spells cost millions of dollars to cast.
Good idea! I’ll leave a comment on their lemmy communit-oh
I’ve just switched to FOSS app.
This is what half my communities look like
I switched away from Boost after it no longer worked with certain instances. I’m not sure if it’s a dead project or what, but it gets no updates.
The only reason I still use reddit is because of its huge NSFW communities.
Half the thread is about getting married, so let me balance it out. I used my wife’s laptop because I was too lazy to get mine, and it opened up to her chatlog with her “friend” from work. We’ve been divorced for 5 years!
A lot of responses here so I’ll suggest a different approach. You can watch your python code execute line by line using a debugger. That might help with understanding how it all works.
def my_sum(list): result = 0 for number in list: result += number return result my_list = [1, 2, 3, 4, 5] list_sum = my_sum(my_list) print(list_sum) # Prints 15
If you run the above code line by line in a debugger, you’ll see that when it gets to
list_sum = my_sum(my_list)
the program will jump into the functionmy_sum(list)
where “list” is a variable holding the value of “my_list”. The program continues line by line inside of the function until it hits thereturn result
statement. The program then returns to the line it was at before jumping into the function. “my_sum(my_list)” now has an actual value. It’s the value that the return statement provided. The line would now readlist_sum = 15
to python.A debugger shows you which lines get executed in which order and how the variables update and change with each line.
Just a note: python has a built-in
sum()
function you could use instead of writing your ownmy_sum()
function, but a debugger won’t show you how built-in functions work! They’re built into the language itself. You’d need to look up Python’s documentation to see how they actually function under the hood.