@ravenclaw Thanks for your report, account suspended.
@freemo @noellabo It's my proud if you merge my code, but I have no computer currently to creat pull request. So you may cherry-pick from my repo directly (≧▽≦)
Here are commit trees for adding translation button:
https://github.com/mashirozx/mastodon/commit/f883ef595bbd7b0e2249e6a47144de137fd26a68
https://github.com/mashirozx/mastodon/commit/f4c5634d85cbab96c46845471eb12bb40654df13
https://github.com/mashirozx/mastodon/commit/15d86534e07012fc6d8424ec6da92c65a5eb9eeb
https://github.com/mashirozx/mastodon/commit/0ac43d937823d0a9ac21545622ad3c71d15a5cb5
https://github.com/mashirozx/mastodon/commit/2a5e159256de4539c1a8d74b1039eb5cc7959fc9
https://github.com/mashirozx/mastodon/commit/9052f004a809bf813d496140c11cf9c79566d8a7
https://github.com/mashirozx/mastodon/commit/ecbdd478bfde5de809610f815cfda1d00aaee712
And the backed of the translation service is here:
@noellabo Understandable. Honestly I wouldnt normally follow an account that posts entirely in another language. But in your case I am happy to make an exception.
@noellabo I guess im the only one on qoto following you? shame, i need to sing your praises more clearly.
@khird yea to me the n-k term is just a sort of expansion and not really a relevant part of the steps.. in fact I find the formula itself to be more verbose than it really needs to be and my own approach is just one logical step to expanding to the formula, and a step that isnt really even needed IMO... In short my formula just skips the first math step you need when using the real formula, but once you understand my formula the original is fairly trivial to recall IMO
@khird @khird ahh in that case ill explain. I find my method much simpler than yours but i think we tend to find our own personal methods easiest so that may not mean much... but maybe you will do and int he future it will be easier to recall if so...
So lets take a simplified version of the above "how many combinations of 6 numbers can I pick from 99"...
First I ask myself "How many permutations of 6 can I pick from 99 numbers". This is easy to remember since the first number there are 99 ways, second 98 etc.. so it is 99 * 98 * 97 * 96 * 95 * 94.. I can simplify this as 99!/93!
Next I reason that a combination doesnt care about order, so if i have any particular set of 6 numbers (being a set they are naturally unique) how many permuations can i make out of those 6 numbers... for that we have simple 6!.
Finally I know that out of all the permutations from my earlier selection of 99!/93! numbers any one unique set of 6 numbers has 6! possible variations it can exist as within those permutations. so I like wise know that I can divide 99!/93! by 6! and arrive at the number of combinations...
So (99!/93!)/6! = 99!/(6! * 93!)
Q.E.D. Solution derived.
@khird its interesting to read by the way because its kinda the exact same logic I use but almost the exact opposite. I think of it in terms of permutations and all the combinations of permutations possible... similar idea as yours but from the other end.
@khird excellent contribution thank you. I agree this is very helpful to anyone reading.
Might benefit from a discussion of why `nCk = n!/(k!(n-k)!)`. I don't use combinatorics often enough to have it memorised, so I re-derive the `nCk` and `nPk` formulae every time I need them. Here's my reasoning:
- If you want to arrange `n` objects, you can choose any of `n` for the first, any of the `n-1` remaining for the second, ... down to one for the `n`th. So n objects can be arranged in `n! = n(n-1)...1` ways.
- If you want to choose `k` of `n` objects, you can do this by ordering the `n` objects and taking the first `k`. So initially `nCk = n!`
- However, you don't care about ordering of the chosen objects. If you choose two of `{1, 2, 3, 4}`, the orderings `{1, 2, 3, 4}` and `{2, 1, 3, 4}` should not be treated as distinct. Since there are `k!` ways to order the `k` objects you chose, you need to divide that out. Now we have `nCk = n!/k!`
- Equally, you don't care about ordering of the non-chosen objects. In the above example, `{1, 2, 3, 4}` and `{1, 2, 4, 3}` should not be treated as distinct. There are `n-k` of these objects, so `(n-k)!` ways to order them, which again should be divided out. Finally, we arrive at `nCk = n!/(k!(n-k)!)`
In case anyone is curious as to how to do some elementary statistics, in this case combinatorics, here is a quick little write up I did to explain the "n choose k" paradigm.
Here is the is the question (from my cousin):
> Math people
Can you help me ??
Let's say
Hypothetically
You have 7 numbers
Between 1-99
The first 6 cant repeat but the 7th can
How many outcomes are possible?
This isnt a riddle or anything I just dont know how to do the math on something I'm trying to figure out
Here is my answer:
hhehehe :) your a nicer person than I am. I might catch a case of diabeetus if this keeps up :)
You are most welcome.
Honestly, i'd imagine quite a few people at spacex would use the term "light" to specifically and exclusively mean visible light, at least in casual conversation.
Typically one needs to infer if they use light to mean visible light or all light.
So its really not a hard mistake to make and can just as easily say its my own fault for not being more explicit, even if the technical definition of light is not just the visible spectrum.
He is one of our only bots (other than the users bot). so he wont reply. He only posts once a day at this time when new papers are released on arxiv :)
No problem, it is a common mistake. Its just it if we take light to mean only visible light (as is sometimes the case) the entire logic breaks down, as you already pointed out :) So glad we could set that back on track.
In physics light refers to electromagnetic radiation of any wavelength. While it is typical for people to think of light as just the part we see the truth is infrared, down to near-dc and ultraviolet on up to gamma rays and beyond is all light.
Heat , or in this case since its radiated heat we really mean "heat transfer" takes three forms, well technically 4 but the fourth one is kinda obvious and i wouldnt say really counts.. those are
Convection : the flow of a gas or fluid, such as hot air rising, that causes the heat to move along with the medium that is moving that contains it.
Conduction: The movement of heat through direct physical contact. For example if you hold onto a metal rod and heat one end eventually the end your holding will also get too hot to hold.
Advection: this one is a cheat, lets ignore it, but its where you pick up something hot and put it somewhere else.
Radiation: This this is where an object gives off its heat as Infrared light. If you sit in front of a camp fire on a cold day and feel its warmth, the vast majority of that warmth is from the IR light of the fire.
Now we are ignoring advection for the obvious reasons. As for convection, well the inside of a lightbulb is a vacuum, so there is no air to allow for convection of heat off of the filament (where the heat is being generated). Conduction makes a little bit of sense as there is a physical path from the filimat to the base of the light bulb. But because it is a very thin long metal wire that has very little contact with the filament the effects of this are negligable.
That leaves us with just radiation... Therefore when we talk about a light bulb then any heat it produces, is heat in the form of light. So saying most of the energy goes to heat and not light isnt correct, heat **is** light. but you would be correct if you said that the portion of light given off as heat is not **visible** light :)
@ravenclaw Absolutely understandable.. sometimes another persons perspective, particularly when describing their internal mental state, can seem quite alien.
Jeffrey Phillips Freeman
Innovator & Entrepreneur in Machine Learning, Evolutionary Computing & Big Data. Avid SCUBA diver, Open-source developer, HAM radio operator, astrophotographer, and anything nerdy.
Born and raised in Philadelphia, PA, USA, currently living in Utrecht, Netherlands, USA, and Thailand. Was also living in Israel, but left.
Pronouns: Sir / Mister
(Above pronouns are not intended to mock, i will respect any persons pronouns and only wish pronouns to show respect be used with me as well. These are called neopronouns, see an example of the word "frog" used as a neopronoun here: http://tinyurl.com/44hhej89 )
A proud member of the Penobscot Native American tribe, as well as a Mayflower passenger descendant. I sometimes post about my genealogical history.
My stance on various issues:
Education: Free to PhD, tax paid
Abortion: Protected, tax paid, limited time-frame
Welfare: Yes, no one should starve
UBI: No, use welfare
Racism: is real
Guns: Shall not be infringed
LGBT+/minorities: Support
Pronouns: Will respect
Trump: Moron, evil
Biden: Senile, racist
Police: ACAB
Drugs: Fully legal, no prescriptions needed
GPG/PGP Fingerprint: 8B23 64CD 2403 6DCB 7531 01D0 052D DA8E 0506 CBCE