I think I came up with something close.
I changed _personSource.ToObserverable() to Subject<PersonData>. Then:
_subs= _source.GroupBy(x => x.Name).Subscribe(
personsByName =>
{
var windowedObservable =
personsByName.GroupByUntil(x => x.DollarAmount, x =>...
The problem is Buffer is using clock time. I can't figure out how to use a window of time based on the object's timestamp field
To the person who flagged 15 messages from a combination of OakBot and a user interacting with it as "spam/offensive": that's not really what those flags are for... ROs can handle that with kicks/moving messages to a trash room. Those flags, if validated, ban the poster for half an hour each.
That said, I'm happy to remove the messages if people want them gone. Never mind, I'm handing this over to the ROs :)
^ in addition, if a user is very talkative with one of the bots, and it annoys you, you can kindly suggest them to move the conversation to the sandbox using
@Wietlol I'll defer to you on handling this; feel free to raise a "flag for moderator" in the (hopefully unlikely) event that you need handling of something beyond what ROs can do.
Chat flags show up for all users with 10k+ rep. We can't see who flagged it but we can vote to validate or reject the flags. I rejected the ones I saw.
And it must have been flagged not too long before I came into the room and said that, though I don't think it actually says when a chat flag was raised
@VLAZ Flagger - only for moderators (with some caveats on Chat.SE that don't apply here), and only while the flag is active
Okay there are actually more flagged messages than I saw this time. I don't know if they were all flagged by the same person.
Probably it got attention this time because there were 15 of them
Anyway, I know who it was that raised the 15, so hopefully they see this conversation. If not and it keeps happening, a more direct conversation can be had.
But yeah, the 15 flags were raised 7/30/2024 ~7:05 AM (in what I assume is UTC). Other smaller groups of OakBot fishing interactions were flagged 7/29/2024 at ~12:45 PM and ~3:22 PM.
I apologize to the non-Americans for our terrible date format, but it's what the page uses :-p
@CaptainObvious I'm not gonna narrow it down tooooo much (nor do I want to dive deep into history to determine exactly how active they have been over time), but yes, they've sent more than a handful of messages here
@nyconing Very recently I saw something where the compiler complained that (string, string) and Tuple<string, string> were incompatible. I thought they were exactly the same for all intents and purposes. But seems there are some occasions they aren't.
I can't remember the exact case. I'll try and find it later.
given you can create a named "tuple" by simply doing public record Named(string Name, string Value); it is really easy to use (record) classes instead of tuples and give them proper names
perhaps public record DesignDataItem(DataItem Item, string Match); (not sure what the values in the tuple represent)
@nyconing Ah, that makes sense! I didn't look it up but I suspected that might be a difference, since you're creating it like new Tuple<string, string>("hello", "world"), so I guessed it might be immutable.
I'm going to use this prompt instead: An adorable domestic cat with fluffy ginger fur. It has large glimmering green eyes filled with curiosity. The cat is sitting comfortably in a lush summer garden, surrounded by colourful blooms of roses and daisies. The sun casts a warm glow on the scene, casting gentle shadows and highlighting the cat's fur. The garden is enclosed by a wooden picket fence, aged but well maintained.
[milleniumbug] regarding earlier convo about tuples: (string, string) and Tuple<string, string> are incompatible because (string, string) is actually ValueTuple<string, string>
[milleniumbug] the System.Tuple types (for like up to 8 type parameters) were introduced with .NET 4 and when the syntax for tuples was introduced several years later they thought it's a better idea to use struct for the tuples because they're small and short-lived, so a new family of types was introduced, System.ValueTuple
[milleniumbug] the most relevant difference is that the former is an immutable reference type and latter is a mutable value type
@Botler Yeah, weird design decision. If anything, it makes the most sense for ("hello", 41) to be immutable. It's minimal code to construct a new one, if really needed. But presumably you just need an adhoc structure to hold a few values for a short term.
Quick question regarding JWT tokens, i am using azure app regs, sometimes it requires api:// prefix in scope, sometimes not (when it is not present another jwt token header property is added: typ: jwt) - does anyone know when to use api:// and when to skip it?
IIRC it was something like use it as a unique client identifier for your app if you don't otherwise have one. It's been a few years since I've had to deal with that though so I can't remember
I'm going to use this prompt instead: Imagine an amusing scenario where an industrious squirrel, a curious cat, and an intelligent Shiba Inu dog sit together in a charmingly disordered home office. It's a typical Tuesday evening, and they're engrossed in writing computer code. Various programming books and cheat sheets are strewn about, half-full coffee cups are sitting around, and multiple monitors glow with colourful lines of code. The squirrel's nimble paws tap away at the keyboard as the ...
cat prowls the desk, occasionally pawing at the screen, and the Shiba Inu gazes watchfully at the monitor, a code snippet in its mouth.
@ntohl Interesting.. Scan could actually work. Let me look into it as well
@ntohl mmn I don't think Scan would work. My fault I was not clear. Let's say I get a person a, b,c items in the same 3 sec window.. and person 4 comes in much later it won't emit a-c until person 4 arrives as signal. Maybe this is where Buffer can be used