Activity for Olin Lathropâ€
Type | On... | Excerpt | Status | Date |
---|---|---|---|---|
Comment | Post #292168 |
I am the one who wrote the answer that shows as undefined. I looked in the help about how to properly format an answer, and there was nothing. I then copied the general look of other answers. Apparently some detail is different. At that point I deliberately left it like that hoping someone would ... (more) |
— | 5 months ago |
Comment | Post #292000 |
What you link to isn't a set of rules. It's a set of proposals with various opinions. Nothing is definitive there, and there is nothing in Help.
How is getting data as function arguments and it existing in an array all that different? One way you show a function definition with its dummy argume... (more) |
— | 5 months ago |
Comment | Post #292000 |
Does the input just exist in an array or something, do we read it from a text file, something else? (more) |
— | 5 months ago |
Comment | Post #292000 |
Can we assume the existence of a graphics library? (more) |
— | 5 months ago |
Comment | Post #290667 |
"<i>Virtual fractions are integers</i>" - A fraction is inherently two numbers. You even talk of a numerator and denominator.
Your example (43691 * 3) mod 65536 = 1 doesn't explain much. Where did the 3 come from?
The equation 3 * 43691 = 1 mod 65536 is just plain wrong. 1 mod 65536 is 1, bu... (more) |
— | 11 months ago |
Edit | Post #290596 |
Post edited: |
— | 11 months ago |
Edit | Post #290596 | Initial revision | — | 11 months ago |
Answer | — |
A: Make $2 + 2 = 5$ ESCR - not a golfing answer This isn't really an answer to the question, and it's not an attempt at golfing. However, it shows a cute trick for solving this problem that falls out of the way the ESCR language works. ESCR has no "operators" in the sense of a traditional programming language, on... (more) |
— | 11 months ago |
Edit | Post #287283 | Initial revision | — | about 2 years ago |
Answer | — |
A: Thoughts on hiding challenge sections with expandable details tags I don't like the partially or fully hidden examples. Those require more work to see the details, instead of just scrolling on. Anyone curious enough about a challenge from the title will want to read what it's about. Making that difficult is just annoying without any upside. Short challenges ... (more) |
— | about 2 years ago |
Edit | Post #286846 | Initial revision | — | over 2 years ago |
Answer | — |
A: Evens or Odds - you know this one ESCR, 17 bytes show [and [in] 1] ESCR has no way to read from standard input (currently), so I assumed the existence of the function IN which magically returns the user input. Since the user input was specified to be an integer, the built-in AND function will do a bit-wise logical AND with... (more) |
— | over 2 years ago |
Edit | Post #286287 |
Post edited: |
— | over 2 years ago |
Edit | Post #286287 | Initial revision | — | over 2 years ago |
Answer | — |
A: Looping counter Embed ESCR, about 32 characters depending on how you count loop append s "" show s endloop The indentation is not required, but shown for clarity. Declaring the variable S is also not included, since similar stuff doesn't seem to be included in other examples. S is a string varia... (more) |
— | over 2 years ago |
Edit | Post #285958 | Initial revision | — | almost 3 years ago |
Answer | — |
A: A number adder, not a death adder ESCR, 35 bytes show "show [+ [arg 1] " [arg 1] "]" The SHOW command writes to standard output. The parameters in quotes are just fixed strings. The ARG function returns a numbered argument. In the case of programs, these are command line parameters. Running this program with 13 as example p... (more) |
— | almost 3 years ago |
Edit | Post #285933 |
Post edited: |
— | almost 3 years ago |
Edit | Post #285934 |
Post edited: |
— | almost 3 years ago |
Edit | Post #285934 | Initial revision | — | almost 3 years ago |
Answer | — |
A: Make my value binary Embed ESCR, 16 characters [int n "base 2"] The INT function produces the text representation of an integer with lots of formatting options. The only non-default option needed was to set the number base to 2. Full example: loop with n from 0 to 10 show n ": " [int n "base 2"] endloo... (more) |
— | almost 3 years ago |
Edit | Post #285933 | Initial revision | — | almost 3 years ago |
Answer | — |
A: It's Hip to be Square Embed ESCR, 28 characters [= [exp [rnd [sqrt n]] 2] n] The number to test is in N. There are 4 nested functions. From inner to outer: SQRT takes the square root of N. This produces a floating point result. RND rounds that to the nearest integer. EXP is used to raise that integer to the pow... (more) |
— | almost 3 years ago |
Edit | Post #285893 |
Post edited: |
— | almost 3 years ago |
Edit | Post #285893 |
Post edited: |
— | almost 3 years ago |
Edit | Post #285893 | Initial revision | — | almost 3 years ago |
Answer | — |
A: Can you give me half? Embed ESCR, 6 unique characters, 19 bytes [/ [] [+ [] []]] Each [] pair of brackets encloses an in-line function. The first token in a function is the function name, and subsequent tokens, if any, the parameters. Functions can be nested. The function multiplies a series of numbers. The p... (more) |
— | almost 3 years ago |