If I have floats it's for a reason. I'm not six years old.
Of course I know stuff like Infinity - Infinity or the Infinity-th root of Infinity isn't defined. If there was an obvious answer or I could just return NaN, don't you think I'd just do that instead of asking here?
And plus whenever people say that it's 90% of the time in that "I know some vague details about a somewhat surprising fact but I don't actually understand it, yet I'm going to pretend I'm smarter than you anyway" voice
@RedwolfPrograms There is no way to establish a bijection between the natural numbers and the reals, and, as the codomain of any function f : N -> X ⊂ R will be a strict subset of R, we must have that |R| is strictly greater than |N|, which we define as aleph-null
Alternatively, you can't list all the real numbers
@lyxal As an aside, I hate the application of Cantor's diagonal argument to only the interval (0, 1). It works just as well for all (positive) reals, and it makes a lot more sense how it applies to the reals as a whole, aside from just hand-waving "oh, this applies to (0, 1), so it also applies to R"
@Bubbler I get it, but when introducing the concept of the argument, it's always done on (0, 1), then extended to R with the reasoning "oh, it just works"
> How can [one times one] equal one? If one times one equals one that means that two is of no value because one times itself has no effect. One times one equals two because the square root of four is two, so what's the square root of two? Should be one, but we're told its two, and that cannot be.
Once you know how the argument works, sure, (0, 1) is fine. But as an introduction to it, it fails to properly convince newbies that |R| > |N|
Here's a question I was discussing with my professor earlier: let $X$ be some countable set, and $C \subset X$, such that both $C$ and $X \setminus C$ are both countably infinite. There exists a set $F$ of all functions that "classify" all elements in $X$ either into $C$ or into $X \setminus C$. For example, let $f \in F$ be a function which sets an element $X_i$ into $C$ if $i$ is even. Obviously, there are an infinite number of sets in $F$. But, is it a countable, or uncountable infinity?
We came to the conclusion that it depends whether the set of all permutations of $N$ is countable, as each function in $F$ is essentially a bijection from the naturals to themselves, but couldn't prove whether the permutations of $N$ is uncountable or not
Permutations of N is at least as large as subsets of N because you can make a permutation of N out of a subset; imagine interleaving elements of X with N - X
@cairdcoinheringaahing hmm, so without the restriction that C and X \ C are infinite, then that's just a boolean function on the naturals, i.e. a subset, i.e. uncountable
and if one of the sets is finite, then you get terminating binary fractions, which are obviously countable
so the remaining functions are still uncountable
well, that's to my satisfaction at least, since I should be asleep
Task
Continuously print a random character (a-z, A-Z, 0-9) not separated by a newline (\n).
Expected output
b7gFDRtgFc67h90h8H76f5dD55f7GJ6GRT86hG7TH6T7302f2f4 ...
Note: output should be randomised.
Requirements/Rules
Output must be continuous (i.e. never ending),
Output may not comprise of ...
I get that not everyone may agree with me on this, so I thought I'd make it clear in chat that I believe this is a dupe of the two linked challenges. Feel free to vote otherwise if you disagree
I don't believe that it's an exact dupe of either of the two I linked, but, to me, it's a trivial combination of the two, which counts as a dupe IMO. If someone posted "take 3 numbers in as input, multiply two and add the third to the product", I'd hammer that as a dupe of the "multiply two numbers " and "add two numbers" challenges
Also, literally the most recent feedback they got in the Sandbox was "I will close this as a dupe if you post this as it is", and then they posted it as it is :/
i'd argue it's not a trivial combination of produce nondeterministic output and produce infinite output because many of the methods used for the former don't generalize to multiple random values
Ooh, I just realized something. The table I made for the edge cases for root are the same ones as for pow but if you took 1 / n for the top na...ohhh wait I'm dumb
I do all my math by rearranging a bunch of cookies like I did in Kindergarten
As we all know, the derivate of double chocolate is chocolate chip, but if you stack a sugar cookie on top, the derivative is a sugar cookie stacked on a chocolate chip cookie, adjacent to a bagel
Things got really complicated when we started having to bring right triangular cookies for precal
> Jimmy eats six cookies an hour. He can eat fifteen cookies before getting sick. After he is sick, his medical bill is $60 per cookie, plus $200 per day spent in the hospital. The first hour of cookie eating requires one day in the hospital to fix, but due to economies of scale, every time he doubles his cookie consumption, the time he must stay in the hospital only increases by 50%. If Jimmy eats cookies for 24 hours straight after his girlfriend leaves him, how much will he owe the hospital?
To be completely honest, I'm not sure what each member of my family knows about how far away I am from cishet. I reckon there must be a couple who still think Imm 100% cishet, others who just think Imm cis and gay, and others who know Imm genderqueer
@RedwolfPrograms 192 bit AES is the most queer AES
AES (Advanced Encryption Standard) is an encryption algorithm. It has three variants: 128, 192, and 256 bit. Those refer to the size of the key.
So 128 bit AES is the least secure, with "just" 2^128 possible keys, 256 is more secure (useful against quantum computers), and 192 is the weird middle child
mainly since the pronounceable word one has morphemes longer than 1 char, which seems to adjust how answers approach it somewhat (not a lot but enough imo)
thanks to anime.SE i managed to run into chinese erotica and some history of the japanese porn industry from a pretty innocent-looking question. i love the internet so much
@hyper-neutrino i was too ready and i'm worried i'm becoming too close to araki. my mortal shell cannot handle his power. i am not ready for his eccentricities
elon's end game is to create the "Musk" starsign. Your horoscope is always "You will tweet cringe and have a bunch of redditors worship you while you do evil shit"
out of curiosity (purely hypothetical) how many spotlights pointed at the sky would i need to completely drown out the sight of the stars at night to prevent that
assume standard avg of around ~160 lumens per light