Prefix normal words arise in the context of binary jumbled pattern matching. A binary word \$w\$ consisting of \$0\$s and \$1\$s is said to be prefix normal * if, among all of its substrings, none contains more \$1\$s than the prefix of \$w\$ of the same length does. In other words, if \$w\$ cont...
if you didn't know trig sub and you were asked to find the integral of some trig sub questions you'd do it geometrically probably, so while the trig sub method isn't obvious, the connection can be
Ooh, just remembered a very poor design choice I made when making Ash
When an array was cast to a number it'd take the sum, which I think is perfectly sensible. But addition didn't vectorize by default. So adding 2 + [1, 2] would give you 5
anyfix had a cursed method of keeping a stack of both values and functions so if you did 1 2 + it would push 1 and 2 and then add them, if you did 1 + 2 it would push 1, push the +, and then when it processed 2 it would find + and use the 1 to push 3, and if you did + 1 2 it would push the + and then 1 and then process 2 and add them
not quite tacit-stack combination like you're suggesting but it reminded me of that
Write a program that will accept 5 positive numbers from the user between [0,9] inclusive for a lottery ticket. Implement error checking to ensure the numbers are between the specified range. If any input is outside of the range immediately exit from the program notifying the user there was an in...
Here is a probable solution to your feature-request
Instead of completely disabling the stealth-ping feature on chat, the users should have the ability to choose whether or not they want the stealth-ping to affect them or not. This means that all stealth-pings will appear to users (you can see w...
CMC: Richard is raising money for charity. Their current total is $1051, of which he has raised $43. How much more money does he need to raise to reach 5% of the total? Write your answer as a full program or function that takes the values 1051, 43 and .05 as inputs. Please round output up to the next whole dollar.
CMC: Given x,y coordinates of 3 points (a,b,c) on a 2d plane (assuming they lie on any quadrant), find a point d such that the distance(a,d)=distance(b,d)=distance(c,d).
@pxeger impossible in what sense? Clearly you can split the combined set in all possible ways and try to draw two straight lines for each split
that works but is very slow
CMC make sets of 2d points at integer coordinates so that there is a straight line through the points in each set. Each set should have three points and no two straight lines should be parallel.
your code should in theory produce these sets forever
Interesting, searching for dumb and dum return different results, so it looks like chat tries to match whole words instead of only looking at substrings
That might explain why searching for stuff like e doesn't work
Someone really needs to fix chat's search feature :|
well the whole point in LotM is that people need to approve of it and vote for it so you can propose any language you want (well within reason) but I can't say if it'll be voted for :P i've never heard of it myself
ah Isabelle. I've heard good things about Isabelle. i heard that its proof automation capabilities are really good and even better than lean. too bad, I can't find a way to learn about it
actually if you buy laptops in bulk you can ask the manufacturer to install a custom operating system or provision certain software or whatever... isn't this common practice in large companies?
Play RPS with 3 bits of memory
king-of-the-hillrestricted-memory
This is a rough draft for now, the specifics, presentation and title will probably be adjusted
In this game you will be building bots to play rock paper scissors against each other. Of course rock paper scissors is not a very inter...
Integer points on Hyperspheres
Given two non-negative integers \$r\$ and \$d\$, write a program that will output the number of integer points that lie on all hyperspheres of dimension \$d\$ or lower with radius \$r\$ or lower.
For example, given \$r = 5, d = 2\$, the program would do something li...
I don't use it... Google Drive is good enough for me for archives and I store 100% of my code in my computer as simple fies, and my IDE has somewhat of a "git commit". I do have git just in case. — Shambhav GautamMay 1 at 5:11
:o This person (or should I say git?) uses Google Drive as a replacement for git
there is an absolutely disturbing number of people who simply refuse to use version control by which i mean at least two
there's a friend-of-a-friend who intermittently develops some kind of game where he just posts zip files with version numbers in a discord channel which is also used for some kind of primitive bug reporting
and i think he even collaborates on it with some other people who... i don't even know what they do
i don't think it's some kind of synchronous method like atom teletype i think they literally just take the version he publishes, mess with it, then email the result back ????????????????????????????????
It gets even worse when you're trying to edit something with someone else at the same time, so you upload your repository to Floobits and then you need to pull from GitHub and Floobits every time you do something and then push to both places each time and when you have a merge you find the latest version in both places and copy it to a separate folder and manually edit in the changes and then commit and then realize it doesn't work and then you throw the laptop out the window and follow it down
@lyxal If I'm stoopid, how do you expect me to build a time machine?
Checkmate :P
I'm back! Unfortunately, past lyxal was a weirdo who, for some reason, just could not comprehend someone popping into existence and immediately trying to take his laptop away from him smh
Kept screaming stuff like "wtf are you doing here," "No, not my beloved plates!," and "2+2=4, not 5, you idiot"
Do people not get visits from time travelers too often in Australia?
Well I'll just blame your overreaction on that then ¯\_(ツ)_/¯
Long story short, I was unable to help you because past you refused to give me the password to your laptop so I could enter in the answers and then called the police on me
You do still owe me a $10 cancellation fee and a $3 inconvenience fee
I'm not good at CSS, but I think this problem is a little challenging even for some people with more experience.
I imagined a geometric figure, a square, but with the edge a little different from the usual one, I thought about the presence of edges near the rays.
Maybe if you think like that it c...