Activity for C. K. Young
Type | On... | Excerpt | Status | Date |
---|---|---|---|---|
Edit | Post #292347 |
Post edited: Add default-rules tag |
— | 2 months ago |
Edit | Post #279420 |
Post edited: |
— | almost 4 years ago |
Edit | Post #279420 |
Post edited: Use implicit `int` type; thanks Sisyphus! |
— | almost 4 years ago |
Comment | Post #279420 |
@Sisyphus Thanks! I'll edit my entry. (more) |
— | almost 4 years ago |
Edit | Post #279420 | Initial revision | — | almost 4 years ago |
Answer | — |
A: Bytes to Segfault C, 5 bytes ```c main; ``` This exploits the fact that uninitialised globals live in the `.bss` section, and that section is not executable. So any attempt to execute code there, regardless of content, will cause a segfault. (more) |
— | almost 4 years ago |
Edit | Post #279403 |
Post edited: Format the code blocks nicer. |
— | almost 4 years ago |
Edit | Post #279403 | Initial revision | — | almost 4 years ago |
Answer | — |
A: 1, 2, Fizz, 4, Buzz! goruby, 1 byte ```ruby f ``` Okay, so that's a bit unfair. 😂 The definition of `f` from `golfprelude.rb` (which is what goruby embeds) is quite golfy in itself: ```ruby def f(m = 100) 1.upto(m){|n|puts'FizzBuzz '[i=n4%-15,i+13]||n} end ``` Substituting `m` with 100 directly gives... (more) |
— | almost 4 years ago |
Edit | Post #279401 | Initial revision | — | almost 4 years ago |
Answer | — |
A: Who should the temporary moderators be? I also endorse the nomination for Jo King. However, they have yet to accept the nomination, leaving us with zero viable nominations as of current writing. So, with great hesitation, I put my name forward. People who were on "the other site", especially in its early days, may remember me; I was one... (more) |
— | almost 4 years ago |