1,199 karma · joined September 10, 2015
Sure you could have implemented unsigned integer semantics on top of bool-arrays in javascript years ago but if the result is too slow you have gained because the compiled c++ code does not run fast enough to be usable.
[1]: https://static.laszlokorte.de/infinite-impulse-rhapsodie/
<form method="get" action="foo.php">
<select name="item" mutiple>
<option>1</option>
<option>2</option>
<option>3</option>
</select>
<button>go</button>
</form>
If you select option 1 and option 3 it will submit to foo.php?item[]=1&item[]=3So in general <form method="get"> will append a query string to the action url composed of the form field values. But it is not possible to specify an url template to control the exact structure of the url. If you want that you have to implement a server side redirect.
One thing I did not know until recently myself: form submit buttons can specify their own formaction and formmethod attributes that override that ones specified by the form. So you can have multiple buttons inside on form the submit to different locations.
I would not have expected that URLs are detected inside rtl context in the first place.
- ... [you gave them] matches?!!
- why not? Don't you think, if they were really fire raisers, that they would have brought their own matches?
(laughter)
[1]: https://www.youtube.com/watch?v=jrGmNXjjDNk/edit: I just noticed the OP is built by andrestaltz with Cycle.js. Cycle is a really nice reactive programming js framework that is very great to work with.
But I agree that I could have highlighted that better.
I already posted a link to the fourier transform visualization a month ago. [1] Since then I worked on some more tools some of you might find helpful or interesting:
- visual proof of Bayes Theorem
- visualization how parameters of a gaussian distribution can be estimated
- interactive binary hypothesis test
- effect of a function on a random variable
The tools are not meant to give a fullblown introduction on the topics but more to deepen your intuition while learning from other sources or at least having already heard about the underlying concepts. But the visual and interactive concept of the tools might even allow to discover the core ideas and relations by yourself.
The section "Other Educational Tools" is older stuff that I included because it might be interesting as well.
All the code is on Github but it's really hacked together and not polished to be read by others. [2]
One big square represents the whole result space having a probability of 1, ie an area of 1 (side length 1x1). The four colors partiotion the whole space in all 4 combinations: 1. A happens and B happens, 2. A happens but not B, 3. A does not happen but B, 4. neither A nor B happen.
Each of the four colors has an area representing the corresponding probability. Naturally all 4 areas sum to 1.
The left and right big squres are simply the same areas just arranged differently to create a straight vertical or horizontal split.
This leads to the side lenghts of the areas corresponding to the probabilities of A happening, B happensing and the dependent probsbilities (eg A happening given that B happens, or B happening given that A happens, etc).
Given that two areas of the same color are the same size you can derive bayes theorem by converting the side length of one rectangle to that of the other same colored reactangle.
For example: The pink rectangle has the area equal to the probability Pr(B∩A). the left pink rectangle is factorized into the side lengths of width=Pr(A) and height=Pr(B|A). So the area is widthheight = Pr(A)Pr(B|A) = Pr(B∩A). The right pink rectangle is factorized into Pr(A|B) and Pr(B) instead, but has the same area Pr(B∩A).
Also you can see that the aligned side of two rectangle sum to 1. For example on the left side the height of the pink plus the height of the orange always sum to one.
Now by changing the probabilities by dragging the sliders you can see that there are configurations in which the height of a rectangle on the left side differs very stark from the width of the rectangle on the right side. For example when Pr(B|A) is totally different than Pr(A|B). But there are also configurations when they match.
Yes but currently I make not use of it but simply apply the DFT on the samples of the function. Making use of the analytical versions would result in smoother results but I would like to allow for custom signal functions in the future so I would like to keep the simple approach of just doing the DFT.
> It would also be cool to have functions in the shape dropdown that are not symmetrical. Nice idea but what interesting functins would be there that are not achieved by using the time shift?
> Sure, introducing a time shift did the trick, but it was a tiny disappointment. I agree