Chance means '1/n chance of death'
Lorem markdownum leves, est cur femina. Imo solutis mirantur maestus illa manus sponte Semeleia Nestora adversae nitido, ante.
Foobar
Price of the S&P 500, for different periods of time
round(num, n)
Rounds the number num
to n
decimal places.
Example: round(3.14159, 2) -> "3.14"
formatTime(hours)
Converts a number of hours to a formatted string indicating time in seconds, minutes, hours, days, months, or years.
Example: formatTime(1) -> "1 hours"
@import('hub:ozziegooen/helpers' as h) h.interpolate([{x: 0, y:10}, {x:10, y:20}], 'linear')(4) -> 15 h.interpolate([{x: 0, y:10}, {x:10, y:20}], 'quadratic')(4) -> 11.6 //makes a graph foo(t:[0,30]) = h.interpolate([{x: 0, y:10}, {x:10, y:20}, {x:20, y:10}], 'quadratic')(t)
See: Metacritic Upcoming Release Schedule. I used Claude Haiku for parsing/filtering the HTML, because speed + length was important.
Some interesting box office numbers are here, for future use: https://www.boxofficemojo.com/year/world/?ref_=bo_nb_in_tab
The three score types are IMDB, Metacritic, and Rotten Tomatoes. The first two have scores that range from 0-10, and Rotten Tomatoes goes from 0 to 100. Included in this object is a truncateScore
function, that takes in a probability distribution, and truncates out the parts not in the relevant range.