« first day (3961 days earlier)      last day (873 days later) » 

9:05 PM
I'm working on defining a spec for a golfy Markdown flavor, with a builtin scripting language. I'm hoping to make a Turing-Complete flavor of Markdown, which I'm hoping ends up becoming exactly as ridiculous as it sounds.
3
Unless I come up with something better, I'm thinking of calling it Descend
 
Reminds me of Ash's turing complete string compression :p
 
@AaroneousMiller as in, descend into madness?
@RedwolfPrograms please elaborate. That sounds amazing...
 
honestly it's not a bad idea to have a language that's just a composition of a bunch of domain-specific languages
 
@pxeger It's complicated. Basically, you could do find+replace with it, and save things in registers, and with some sort of recursive trick you could use those plus some other functions to implement /// or something similar
 
9:11 PM
@UnrelatedString What is now kvdf started out as a pure string compression language
 
lmao nice
 
@RedwolfPrograms that's pretty cool actually lol
 
Vyxal's strings used to be TC because you could break out of them and execute arbitrary Python. That counts, right? :p
 
9:38 PM
Why is "last night" acceptable, but "last afternoon" or "last morning" sounds really weird?
 
Set phrase I guess
Last afternoon sounds better to me than last morning
But "yesterday afternoon" is what I'm used to hearing which is probably why it's weird sounding
 
9:53 PM
same
 
Same sort of thing as "the red big car" I guess...perfectly fine grammatically, just unusual
 
10:09 PM
@RedwolfPrograms there's reason for that, and it's called the royal order of adjectives
Size is meant to go before colour, which is why the sentence sounds a little weird
 
"Clifford the red big dog"
 
big isn't a shape
 
@hyper-neutrino obviously
 
oh i should've waited for your edit timer to expire
 
Haha nerd
 
10:14 PM
*11s your message back*
 
If, Else and While loops in Verbose Charcoal?
 
I sure hope rak1507 doesn't get too dizzy rn
Rak do be in the microwave tho
 
interestingly, expanding the image made it harder to see
 
@lyxal why?
 
@Fmbalbuena because rak1507 is one of my plates
 
10:19 PM
@lyxal ??? why rak1507?
 
Aug 25 at 0:46, by exedraj
There is the rak plate
 
@lyxal yeah but why?
 
Pure coincidence
 
@lyxal ???
?????
???????
???????????
 

3 people live in my cupboard.

Aug 25 at 0:00, 16 minutes total – 80 messages, 6 users, 5 stars

Bookmarked Aug 25 at 0:18 by lyxal

 
10:24 PM
I still don't understand
but @lyxal can i live on your cupboard?
 
Depends if I have a plate similar to your pfp
 
then maye can you paint the Add++ on the Red plate?
 
There are no plates with that shade of red
 
Ok so... plate made of glass?
 
Don't got any of those
 
10:30 PM
@lyxal Why you don't make heart to comments by R. M. Tosh? (In Youtube)
 
I thought I had
 
If I have a file with one positive integer per line, how can I add them all up in bash?
 
python3 -c "print(sum(map(int, __import__('sys').stdin.read().split())))" < file
lol
 
@hyper-neutrino that worked!
but I was hoping for dc or bc magic :)
 
i mean it's not really a bash solution anymore but like :P
 
10:34 PM
@hyper-neutrino hopefully someone will come along with some bash magic
maybe this?
raw=$(cat file)
echo $(( ${raw//$'\n'/+} ))
 
oh deleted instantly
 
CMC Given a file with one positive integer per line, add them all up
 
i don't see how that's funny
 
@Fmbalbuena cool
 
10:46 PM
lambda f:sum(map(int,f))
assuming f is a file
print(sum(map(int,iter(input,""))))
 
@Anush Use Perl (see example program at the end of the post)
Of course, Pip is shorter, but (alas) I don't suppose you have it on your local machine
 
11:06 PM
@Anush After some trial and error, I came up with this: Try it online!
The sed step is only there to add a newline to the end of the input, since bc throws a fit if there isn't one. :P
Then too, this approach also breaks if the file does have a trailing newline, so YMMV
The Perl solution is much more robust.
 
11:22 PM
@lyxal wdym
 
@hyper-neutrino welp i need to ident code blocks
 
if you want to multiline code-block just press ctrl-k in a multiline message or click the "fixed font" button on the right
 
   this?
 
@DLosc paste -sd+|bc is the best I could find
 
11:35 PM
@Neil can i learn Charcoal?
 
@Fmbalbuena I guess I can try to answer any questions you have in it in that room you made, but I don't watch chat religiously so expect a delayed response
 
True doesn't exist in Charcoal
 
so?
 
11:42 PM
@Neil is there a way to convert normal to verbose in Charcoal?
 
not yet
ASCII-only was working on it at one point, but I haven't seen him for a year
 
and... variables?
in verbose?
 
have you read the wiki yet?
 
@Neil yet but not verbose. link?
 
on the syntax page, it lists the variables
 
11:49 PM
but how to define?
 
I don't understand your question
there are 24 variables, 8 of them predefined, 5 shadow the first five inputs
 
@Neil like a = "example"?
 
Assign("example", a);
 
@Neil ok
 

« first day (3961 days earlier)      last day (873 days later) »