« first day (1910 days earlier)      last day (2932 days later) » 

11:00 PM
@Downgoat Why C++?
 
not working for me either, windows firefox
 
I certainly don't know that
 
@LegionMammal978 oh, sorry I mean c #
 
@AlexA. It isn't relevant. I dealt with it.
 
Let me think about how to get it on the sandbox
 
11:00 PM
@LegionMammal978 Why is your avatar plain white?
 
@quartata @AlexA. Try again, please.
 
@Downgoat Rasins
 
???
 
@Downgoat why is yours an upside down negative goat?
 
@Dennis Looks good! What did you have to change?
 
11:01 PM
@Downgoat (Like reasons, but rasins)
 
@AlexA. <meta charset="utf-8" />
 
@AlexA. i'm guessing charset tag
 
Oh, okay
 
@Geobits because I am an upside down goat irl. And Downgoat sounds like down vote
 
ninja'd
 
11:02 PM
@Downgoat no it doesn't and no you aren't
 
My browser's default encoding was set to ISO Latin 1 or some shit like that D:<
 
@Dennis works
 
\o/
 
yeah it does
 
@Geobits are you calling me a liar? >:U
 
11:03 PM
I'm implying it at the very least ;)
 
@AlexA. Iso Latin 1 is good for case fold so it must be good
 
What?
 
*code golf
 
case fold?
 
s/Down/Typo/
 
11:04 PM
Utf-8 only has like 128 1-byte chars
@Dennis typogoat?
 
Typogoat
5
 
I second that motion ^
 
Tipogort
@Maltysen whAt would my avatar be?
 
I goat eating a keyboard
 
@Downgoat a goat hoof over a keyboard
 
11:06 PM
The same, but with 1- instead of -1.
 
Oh ok
I will change my username if someone submits a new avatar for me
 
And they were none the wiser
 
Wow, lots of elevening going on here...
 
11:17 PM
@AlexA. …I did get an invite to Trash
 
mod abuse eleven
 
¯\_(ツ)_/¯
 
I didn't know mods could delete audit messages.
 
We can delete anything
 
11:18 PM
i like waffle
 
Figured it out:
 
ha concrete proof
 
static IEnumerable<string> InfCombine(Func<IEnumerable<string>> restart, List<IEnumerator<string>> cur)
{
    foreach (IEnumerator<string> seq in cur)
    {
        seq.MoveNext();
        yield return seq.Current;
    }
    cur.Add(restart());
    foreach (string str in InfCombine(restart, cur))
        yield return cur;
}
 
mod abuse ten messages
 
@AlexA. sometimes you gotta wait a bit to eleven properly.
 
11:20 PM
@El'endiaStarman Don't you encourage him
 
ten messages eleven
 
message abuse ten
 
@El'endiaStarman You're right, I was just thinking that. ありがとう、先輩。
 
translate: ありがとう、先輩。
(from Japanese) Thank you, senpai.
 
translate: ありがとう、先輩。
(from Japanese) Thank you, senpai.
 
11:21 PM
Why doesn't it translate "senpai"? o_O
 
@AlexA. Probably because it's kinda become a loanword in English.
 
@AlexA. cuz it has entered the public consiousness
 
I just ran it through google translate to see what it did and it gave "thank you seniors"
wtaf
 
What would be a good English translation, though?
 
Yeah, Google says senpai is senior
@El'endiaStarman I'm not actually sure. I guess it's most like "upperclassman."
 
11:23 PM
@El'endiaStarman Sir or ma'am perhaps?
 
For senpai?
Definitely not
 
The context I've seen it in tends to have a feeling that one wants to get attention from their senpai, to be noticed.
 
Isn't senpai for someone older/higher class than you?
 
So in a way, they're like one person's local celebrity, or a crush, rather.
 
"Sir" seems like it would fit the bill.
 
11:24 PM
"Sir" is, I think, too broad.
 
Hm, OK.
 
@quartata that would be san
 
^
 
@QPaysTaxes one who does not notice you
 
@quartata Higher class in a school sense, not like a higher social class.
 
11:27 PM
@AlexA. モッズ乱用イレブ
 
lel
 
@AlexA. Oh.
 
translate: モッズ乱用イレブ
(from Japanese) MOD abuse eleven
XD
 
モッズ == mozzu -_-
 
Yeah, not really sure why it called that "mod"
or "MOD," rather
 
11:28 PM
That took forever to get right.
 
モッド is how I would have done it
 
@Dennis also, why didn't you use 11 in numbers
 
I just pieced together stuff from Google and Bing. I don't know Japanese.
@Maltysen Because eleven.
(It's a meme.)
rindex
 
@QPaysTaxes .rfind()?
Huh, rfind and rindex are actually string methods.
 
11:31 PM
For what it's worth, there are a number of string methods that I wish they had applied to lists as well.
 
@AlexA. wrong string
 
Weird, it's in the docs for 2 and not 3
 
solution: be able to cast strings to List<char>
 
@Maltysen o
 
11:32 PM
yeah that's the module with all the constants
 
@QPaysTaxes Do arr[::-1] instead of arr.reverse(). I think the former is more pythonic.
 
@QPaysTaxes reversed()
just like sorted()
 
@QPaysTaxes .sort() reverses in place, sorted() doesn't.
 
mfw languages don't have immutability
 
I was recently reading a Raspberry Pi Cookbook and they had a Python recipe for sorting a list but not in place
They recommended you do copy.deepcopy() then .sort()
I literally cringed
 
11:34 PM
@RenderSettings python does, just not for lists. it has it for tuples and strings
 
It's so weird going from forced immutability and function purity to C++. "void foo(int a[])? why the hell would you call this?"
One of my big complaints with Lua actually was over how it's hard to reason about if something is a reference or value :/ Just have to use it enough to learn when a table is modified in place or not
 
@QPaysTaxes Because you can't modify a in a language with immutability, only return a new copy
sigh no one ever answered this and I'm too lazy to put a bounty on it
You know what I'd really like to see is an answer in Grocery List
 
Yeah. Pure language just don't have void functions. Because that means there is no reason to call them, since they don't return anything.
 
@RenderSettings Well, maybe if you wanted to print something.
 
@quartata Mmm. Even then, there is type shenanigns to prevent the compiler from memoizing the function call or statically evaluating it.
 
11:39 PM
yeah
this was in the sandbox for 4 months and on main for another 2 and only now do people tell me it's unclear. double sigh
@QPaysTaxes What are you having trouble with?
The challenge is supposed to be primarily about parsing the input. It's ASCII art
 
cat
hello!
 
@cat hello
 
cat
:D
 
I should probably eat something; I'm getting cranky
@cat does cat go meow
 
@Geobits Finally finished it
using System;
using System.Collections.Generic;
using System.Linq;

class Program
{
    static void Main()
    {
        HashSet<string> prev = new HashSet<string>();
        foreach (string str in ListRegExp())
            if (!prev.Contains(str))
            {
                prev.Add(str);
                Console.Write(str);
                Console.ReadLine();
            }
    }

    static string Concat(string str1, string str2) { return str1 + str2; }

    static IEnumerable<string> InfCombine(Func<IEnumerable<string>> restart, List<IEnumerator<string>> cur)
 
11:53 PM
@LegionMammal978 wus dis?
 
Output:
 
cat
@quartata meow
@quartata have some Jelly
 
b0
b0|b0
b1
b0|b0|b0
b1|b0
b2
b0|b1
b1|b0|b0
b2|b0
b3
b0|b0|b0|b0
b1|b1
b2|b0|b0
b3|b0
b4
b0|b1|b0
b1|b0|b0|b0
b2|b1
b3|b0|b0
b4|b0
b5
b0|b2
b1|b1|b0
b2|b0|b0|b0
b3|b1
b4|b0|b0
b5|b0
b6
b0|b0|b1
b1|b2
b2|b1|b0
b3|b0|b0|b0
b4|b1
b5|b0|b0
b6|b0
b7
b0|b1|b0|b0
 
cat
@LegionMammal978 y u do dis
 
All sequences of delimited bn
 
11:55 PM
@quartata Seems pretty clear to me. Maybe it just doesn't grab people's attention.
 
Oh, so C# has generators?
That's actually nice
 
@LegionMammal978 Delimited bn? Also, looks a lot like partitions.
 

« first day (1910 days earlier)      last day (2932 days later) »