« first day (3184 days earlier)      last day (403 days later) » 

1:17 AM
Q: Reconstruct the ASCII art from a string

Ed MartyI have a bunch of ASCII art that I have recovered from a failed hard drive. Unfortunately, all of the newlines were stripped out, and I don't know the resolution of the original artwork. To make matters worse, all the white space at the beginning and end was stripped out too! I do at least know ...

10 hours later…
11:10 AM
Q: header repeat in every page while printing (working on portrait view but not on landscape - A5 paper)

princess <style type="text/css" media="print,screen"> html, body, div, table, tr, td, th, tbody, thead, tfoot { float: none; } body { font-family: Consolas, Courier, sans-serif; font-size: 13px; } label { font-weight: 600; } .Header h4, .Header h2 { ...

11:52 AM
A: Sandbox for Proposed Challenges

simonalexander2005Title: Station Codes Background In the UK, railway stations are assigned three-letter "CRS" codes (e.g. "Chester" = CTR, "Caterham" = CAT). Something similar is also used for airports worldwide (IATA codes). Challenge The challenge is to take in the three letter code as the input, and present...

12:10 PM
Heh, the FAQ on Gender pronoun edit history is just a sea of "Protected, unprotected"
you should check out conservapedia.com/Main_Page
1 hour later…
1:22 PM
We have a mechanism on mobile devices that locks out the phone (requiring a factory reset, essentially) after 10 incorrect passwords are entered. From a ticket we just received comes this gem:
> She has 4 attempts left.........!
(More dots for emphasis)
1:50 PM
@AdmBorkBork why a factory reset? O_o
/shrug, I don't make the rules, I just implement them.
Ha ha, chasing down an accidentally deleted curly bracket in a system that quietly fails
aren't you using autobracket.py?
for some time I've considered implementing fast fourier transform in Malbolge
but, I'd need to bring floats here
@KrzysztofSzewczyk you could do the number theoretic transform instead.. no floats needed
1:53 PM
fair point
but, I can translate a subset of C to my own assembly/weird stuff mix by hand, so I'm looking for library allowing me to perform floating point computations
In mathematics, the discrete Fourier transform over an arbitrary ring generalizes the discrete Fourier transform of a function whose values are complex numbers. == Definition == Let R {\displaystyle R} be any ring, let n ≥ 1 {\displaystyle n\geq 1} be an integer, and let α ∈ R {\displaystyle \alpha \in R} be a principal nth root of unity, defined by:...
I don't mind it being slow, memory-hogging or even precise
@flawr Nah, it was email templates that use a wrapped html editor sporting variable placement on a cloud platform.
it just needs to work, somehow
2:04 PM
@Anush but that isn't useful if you actually want the FT, you can only transform vectors in Z/pZ
2:16 PM
CMC Given two years as input, XXXX and YYYY, output 6 random dates between XXXX-01-01 and YYYY-12-31, inclusive.
Bonus points for doing it in awk and answering this question.
1 hour later…
4:14 PM
@AdmBorkBork can I assume XXXX ≤ YYYY?
Yeah, that's fine
@cairdcoinheringaahing Œg groups only adjacent elements, so it's a rather different atom. Grouping all elements, rather than their indices, might be useful as well, but Ġị already does that. Going from the elements back to the indices is a ot more difficult...
1 hour later…
5:49 PM
@KrzysztofSzewczyk maybe start with convolution in Malbolge and work your way to a DFT/NTT? (FFT may be harder)
1 hour later…
6:57 PM
Q: Mirror, Mirror, on the wall. Who's the fairest of them all?

AviWell, you know it's Snow White, and the evil Queen is at it again. Will Snow White be saved? Will she fall asleep once again? Will the Prince find her? Challenge: Given an arbitrary number (>= 2) of possibly duplicated hexadecimal color values (ranging from #000000 to #FFFFFF) and paired string...

@ceilingcat no idea
probably could do it
I'm working on solving projecteuler in Brainfuck
and I've got three first challenges done already xd
7:35 PM
How would you format this (s-expression) code snippet: gist.github.com/turbo/8641ea86d62ecdac61e13f23621072c4 ? That's sort of the best I could come up with.
8:02 PM
only in vim would this seem like an improvement -- 3 d d a Ctrl+R " Backspace
@AdmBorkBork huh?
Weird, my link disappeared'd ... vi.stackexchange.com/q/21554
@AdmBorkBork -1 byte: JxX3$p
Or v3$hdkp, but that's still 7
8:10 PM
You could just be mashing your hand against the keyboard and I would have no idea if it's legit or not.
@AdmBorkBork Ooh, just discovered a 5-byter: 7&z^k
It could be 4, but unfortunately &z doesn't work like t90i or hk#
But the most readable way is probably %q<ctrl-tab>*j0-a.?
Hmm, yes, most readable. nods sagely
readability is in the eye of the reader
Q: I love you sonia

Bhai BehenDraw I love you sonia meri jaan

I like posting "readable versions" of my brain-flak answers. It I frequently get some variation of the following comments: 1, 2, 3, 4
8:21 PM
OK, who put a hex on me? I've been sneezing now for about 10 minutes.
@NewMainPosts I'm not even sure what this is attempting to be...
@DJMcMayhem If it's based on number of sneezes, I should be playing in the NBA.
I think it's dependent on the number of blessings
9:11 PM
@DJMcMayhem the heck?
In English-speaking countries, the common verbal response to another person's sneeze is "bless you", or, less commonly in the United States and Canada, "Gesundheit", the German word for health (and the response to sneezing in German-speaking countries). There are several proposed bless-you origins for use in the context of sneezing. In non-English-speaking cultures, words connoting good health or a long life are often used instead of "bless you," though some also use references to God. In some Asian cultures such as Korean and Japanese cultures, the practice of responding to another person's sneeze...
Haha that must be something really local
I have no idea how common it is, but I think it's really funny
according to the wikipedia article it's calqued from romanian and only used by german speakers in transylvania
so pretty local
but the romanian version is probably less local
The mental image of an adult sneezing and then me walking up to them and patting them on the head and saying "It's OK, You shall grow tall!" really cracks me up
9:31 PM
> Großwachsen! (Transylvanian-Saxon; from Romanian "Să creşti mare!"; used solely for children, usually after the usual "Gesundheit" for the first and/or second response)
> used solely for children
I know, that's why it's so funny to say it to those who are already fully grown
child, but anytime they sneeze, they grow
^ next horror blockbluster
9:56 PM
@mınxomaτ the big villain will be that one kid we all knew who had alergies to everything.
Oh hey, that's me!
That's sad; I'm very lucky to have no known alergies.
A friend from school had such a bad time during spring he sometimes asked the teachers to spend our break inside the classroom because of alergies
10:22 PM

« first day (3184 days earlier)      last day (403 days later) »