Any expert know how to generate a random number (between 10000-99999) and show in google forms?
The number will change every time we refresh the browser.
Related
In Google Sheets, I set the data validation of a cell to a number that must be greater than or equal to 100. When I enter 9999999999999999999999, I get an error that the entered value must be greater than or equal to 100. Why does this happen? I also tried to change the formats to no avail.
Screenshot 1 | Screenshot 2 | Screenshot 3
Google Sheets (and spreadsheets in general) store numbers with 15 digits of precision. The reason why has to do with how numbers are stored in computer hardware. See https://en.wikipedia.org/wiki/IEEE_754 for an explanation.
When you enter a number like 9999999999999999999999, Google Sheets treats it like a string. If sheets tried to treat it like a number, it would actually be rounded to 1E22 (the last 8 digits are rounded off).
I want to have a time series visualization showing the amount of existing open issues per, e.g., week, whose range can be adjusted with the time picker.
Say I have an index with issues, which has openDate, closeDate, and a list of other fields like, team, department that I would use to filter the issues shown in the visualization.
In Kibana it would be trivial to show issues opened or closed each week, as counting events is trivial.
However, showing open issues is counting states. It is not rocket science, if you have a timeStart and timeEnd, the number of open issues is given by the filter:
openDate < timeEnd and (not exists(closeDate) or closeDate>timeStart)
Is there any way of solving this with Kibana? I imagine that it is possible to write such a query with ES, but how to link it to the time picker? how to use the values it return in a visualization, etc....
I currently have a graph which displays a count as total and percentage markings (this is also on the rows shelf). The entries have a dimension which has a status of Other Apps and Overdue. However, on the graph I only want to show the Overdue data, while maintaining the correct percentage of the total which includes both Other Apps and Overdue. When I try adding a filter to only show overdue, this changes my data so that they are all 100%, ignoring the On-Time count in the denominator due to the filter. Is there a way that I can keep the calculation out of the total without showing the part of the bar for Other Apps count?
Here is a sample screenshot before filtering:
You need to hide 'Other Apps' (right click > hide). This way Other Apps won't be displayed, but still will be used to calculate the percentages.
As I'm trying to write a random hero function in the WC3 Map Editor I've discovered that the built in GUI code for generating a Random number is not so random. Its a disgusting repeating Pseudo Random line. Every time the trigger is run it generates the same sequence of numbers no matter how many times the trigger is ran.
Is there a way to generate a more random looking set of numbers?
Actions
-Set randomInt[(Player number of (Owner of (Sold Unit)))] = (Random integer number between 1 and 10)
-Game - Display to (All Players) the text: (String(randomInt[(Player number of (Owner of (Sold Unit)))]))
I have no problem with the Pseudo Random concept, but it doesn't generate a new line of Pseudo Random whenever the game starts. Now my real problem is that I'm deployed in Afghanistan and all of the WC3 Map Making communities are blocked. Does anyone know how to generate a more random sequence of numbers?
According to this thread:
That only happens when you play the
map through the "test map" feature in
the world editor. It will always
generate the same variables, even if
random. If you really want to test
triggers with random
variables/numbers, play the map
normally by opening wc3 and selecting
the map in-game.
there is a setting in the map editor for that, generate random by using same seed.
I am developing a rails application where I need a "success rate" system similar to RetailMeNot. I noticed that they use jQuery Sparkline library (http://omnipotent.net/jquery.sparkline/) to generate a success rate trend for each coupon.
For example, in their source code:
<em>84%</em> Success<br/><span class="trend">14,18,18,22,19,16,15,28,21,17</span>
<em>20%</em> Success<br/><span class="trend">-1,1,-1,-1,-2,-2,1,-1,1,-1</span>
Can someone explain to me the best way to develop a similar trending system for success rate?
A trend is just a number calculated at regular intervals. In this case it looks like the site is just binning the data they get from the "Did this coupon work for you?" question, and then plotting those values in the chart. In other words, they take the number of (successes - failures) in some time interval (e.g. 12 hours) and plot that number for each interval.
As time passes, they probably rebin to keep the number of bars on the x axis acceptable. For example, if they only want to show 8 bars on the plot, then after 4 hours they'll have to widen the bins.