« first day (3566 days earlier)      last day (1381 days later) » 
04:00 - 15:0015:00 - 23:00

3:00 PM
Lel
 
YOU FUCKER
 
Why do we suddently have people
It's been dead all day
 
Sorry cant hear you
 
Sorry what?
What did you say?
 
3:01 PM
YOU WOULDN'T!
THIS MEANS WAAAAAAAAAAAAAR
 
@Hans1984 FIRE UP ZE FLAMMENWERFER
WE NEED TO INVADE THE MONKEY ISLAND AGAIN
Well I guess it's legit, eversince you're the captain 'eight?
And I'm just in training 'eight?
 
woah
 
all hail poo tin
@c0dem0nkey None of them. Use a real DB
Wait why the fuck is redoc so retarded
 
what validation I should make so just to expect min character
and arbitary max length character
I see StringLength
but it expect maxLength value as well??
 
3:08 PM
Wat?
Also @CaptainSquirrel GIMME BACK MY RIGHTS; I'M NO WOMAN YOU HEAR??!ßß!!ß11ß!!!
 
@Squirrelintraining womens should have the rights
 
[Required, StringLength(MaximumLength, MinimumLength)]
I only want to give MinimumLength
I don't care about max length
 
even if that time travelling game created nazi's from me giving women the ability to vote......
 
@CaptainSquirrel But squirrels not?
@Shad maybe int.Max?
 
xD
 
3:10 PM
but isn't there a way to set the only the MinLen
 
@CaptainSquirrel For Context => abw.blue/index_en.php
 
Like MinimumLength: 50;
 
10/10 would waste time again
 
it is not even working
only required is shown
but I can enter anything
 
@Squirrelintraining squirrels have rights, you don't :D
 
pls no ab00s again
 
But abuse is maek fun :<
Especially when we belittle you :3
 
mr5
long long long lecture :(
 
what lectuer?
 
mr5
I've been lectured by my GF
for about 2hrs
about bad habits.
girls are really more mature
anyway
I saw job ad with a position as VP but the responsibilities are of technical stuff.
why is that
I thought those position are reserved for talking with people only.
 
3:20 PM
nvm I will check it by code
 
@mr5 as my wife walks around ranting about the kid
 
mr5
is that a mature behavior?
 
Like don't leave it in the oven for to long?^^
Okay g2g havea nice day kids
 
No she is not being mature
 
mr5
cya grampa
 
3:24 PM
the kids are getting to her
 
mr5
lol
 
I'm glad I have to watch the kids
 
mr5
they produce those things, they should of total control
 
she'd go crazy
 
@mr5 wat
 
3:25 PM
As the eldest just put the 1yr in a headlock
 
mr5
sleeping only for 3-5 hrs evriday
 
any ideas?
 
@juanvan clearly just teaching the younger about the sick WWE moves they've seen
 
mr5
@juanvan what's headlock?
 
paw patrol is a bad influence
 
3:26 PM
@Shad \p -> \\p ?
 
mr5
@juanvan are you wfh with kids around?
 
oh
 
ya
semi i work nights
 
i'm guessing you want a \ in your regex
but its also an escape unless you \\
 
why ya see me around 11pm est
Take calls during the day
 
mr5
3:28 PM
@Shad { L } seems like an invalid regex pattern.
@juanvan how is the experience. is it fun?
 
Trying very trying
 
mr5
if the L is a variable, you might be missing the dollar sign prefix i.e.: @$"<string here>"
do they often interrupt you while working?
 
I don't get anything really done besides calls during the day
 
mr5
nice
same here.
 
The wife has the interruptions, she has to work during the day
 
mr5
3:30 PM
I don't even have kids yet.
 
sup
 
Hellop
 
so. UUID for primary key or sequence int?
 
mr5
UUID is a Java thing isn't it?
 
postgre data type
like guid in c
#
 
mr5
3:31 PM
oh
yeah, Guid is the C# equivalent.
 
some of us implements it as ids.
thinking of sticking with the old and tried sequence int ids
 
mr5
it's okay I think
the problem with ints would arise when you have to insert things.
 
guid are ok as ID as long as you don't mind having to have them in pastie bin
 
mr5
GUID/UUID eliminates those problems.
 
Why the hell are the descriptions being used as titles
 
mr5
3:34 PM
the structure should be bulleted or numbered.
 
Swagger UI's version is much better
 
mr5
eh
 
ya swagger is much nicer
 
mr5
is that an OAuth?
 
rather postman
 
3:35 PM
@mr5 dam that's rough :|
 
no L is not invalid?
I found it here
 
mr5
Looks like it's a non-compliant implementation.
 
It's a custom one
 
can save requests, tokens, responses, tests
 
It's oauth style but it's not oauth
 
3:36 PM
and no, ranting about children isn't mature, but it's not immature, either
 
mr5
@Shad yeah my bad. I thought you have an L variable that you'd like to insert in your string pattern.
 
I needed something like oauth but the "user" isn't really a thing so it was a bit more awkward
 
userless authentication?
 
mr5
OAuth have a lot of confusing implementation anyway. I wish OAuth3 would come and fix it.
 
3:38 PM
something tells me it won't
just call it a hunch
 
It's more like device auth
The whole idea really is to stop randos being able to query the API and get data out of it
 
mr5
what input is required to obtain an access token?
 
The individual client's token doesn't get anything other than access to the API
But there's no client-specific data which can be got from particular calls
@mr5 You have to call RegisterClient, with a device name and a warehouse ID, which creates a client. It then has to be approved which is done entirely outside of the system
 
mr5
so before any request, one must go to a certain end point first?
sounds the same from OAuth flow
 
Exactly. It's similar to Oauth
But not quite the same
And the whole idea is to protect customer data. In the unlikely event that a client token gets compromised (it would have to be MITM'd) then the client would pick up because as soon as a token is used from a different IP address than previously expected it's invalidated
So it's really useless to have a client's session token
 
3:46 PM
Hi all! Can you please look thought my edit? stackoverflow.com/questions/63016383/…
 
mr5
 
What edit?
 
I have added the image and rewrite the problem
I've the solution of this problem but I can't answer because it is closed and awaiting it's been approved by trusted community members
 
4:36 PM
Ah, I apparently am not a trusted person (makes sense)
 
me too :(
 
Might play with the bot again in a bit
 
mr5
@EgorRandomize "I expect people to give me idea or an algorithm for solving this issue and if possible provide explanation" this sounds very demanding.
don't state you need an explanation. it will come naturally. saying it out connotes something unpleasant I guess.
and even you already have the answer, fix your question first. Don't leave a bad impression.
 
5:01 PM
@EgorRandomize Your edit should be rejected. It attemps to reply the answer instead of improving it
There is an edit post review queue, where one of the closing reasons for edited answers is "attemt to reply"
I would encourage trygin to anwer better quality answers, the one you attemted to reply by editing it shows no effort
Do not take me wrong, is good you try to answer questions and help others, it is only you picked a poor quality question to answer.
 
@mr5 is that from The Interview?
 
mr5
@Freerey yeah lol
 
I never saw that movie lmao
all I remember is threats that my country was gonna get blown up if it came out
 
mr5
it's not that really good. I r8 6/10
 
it just occurred to me that The Interview was 6 years ahead of the curve.....it released on VOD instead of theaters before it became cool
 
mr5
5:12 PM
but I think I forgot most of the story.
yeah. I think the reason was because theaters wouldn't allow it.
they're afraid to NK nuclear
USA known globally as war <insert adverb here> being intimidated by small country?
warcaholics?
 
well you see, we had Obama back then, and he was less about using America's brute strength on other countries than Trump
in truth, we knew NK would never be able to make a valid threat to the US -- because they send one bomb toward us, we send 100 to them
Trump is just a lot more direct when he threatens people
 
mr5
If only scientist step up to become country leaders, the "intimidation factor" would not have any place for development.
 
scientists can't get elected; they just talk over peopel's heads :P
 
Yeah coz science is perfect and free of bias and ulterior motives.
 
not sure if that was sarcastic
 
5:23 PM
it was
 
ah
 
mr5
first, an intelligent leader would make a system that would eliminate the human self-destructive traits such as selfishness and greediness
 
Eliminate! Interesting choice of word
 
mr5
avoid-at-all-cost maybe
my vocab is not that good.
 
I don't think one person can just change culture like that unless they force everyone into it Maoist-style
 
mr5
5:30 PM
I believe there's a subtle way of implementing it.
 
well I guess what I said isn't true; it took one guy dying to start riots around the world
 
mr5
just like how some traffic systems reduces accidents by a subtle change you can't tell at a simple glance.
lol
it's a build up I believe.
oh before I forgot, I will just drop my idea here.
 
I actually found out a few weeks ago that apparently death by car crashes in US were kind of a huge problem in the 1970s, so a bunch of PSAs were made to help stop them
and I guess it worked??
 
mr5
imagine a chat system where it can detect if a message needs something and it will automatically create tags for readers so they can immediately assess the message without fully reading it.
 
well, the whole issue with people misreading tweets would get even worse :P
 
mr5
5:33 PM
@Freerey what is PSA?
eh well, let's limit the target audience between a client and a company.
 
public service announcement; they were kind of a big deal in the 80s and 90s and were basically just telling people "hey, don't do what these idiots are doing!"
 
@mr5 sorry I can't understand... I`m not the author of this question and I've also removed annoying part of this
 
mr5
client-A request for feature B using a descriptive long message.
developer-A is not really good at communicating with plebs so the system automagically break down the client needs.
@EgorRandomize oh. sorry. I thought it was you.
 
you mean the question you put up earlier? well it's already closed..
your edit won't show up
@mr5 here's a PSA
 
It's kinda hurt for me because it has been voted down while I'm writing clear solution...
 
5:37 PM
I don't think anything can be done about that now
 
I am not familiar with the edit system and I don't know if you can see my edits...
 
I can't
I think someone with more rep than me needs to do it
 
mr5
@EgorRandomize suggest a feature to SO something like "a user is currently editing the question in hot seat" plz calm yo tits =P
I can see your edits
I'm not really sure if I should approve it. The OP seems to be unwilling of any further development for his question.
 
Haha, yep Xp
 
mr5
I would if I can see OP shows even a little bit of enthusiasm to improve his question.
 
5:45 PM
how can I match char in string with RegEx class?
it only accepts string not a char
I want to check for a char
 
Cast it as a string?
 
RegEx has RegExs=expressions. It should be string anyway
 
hmm okay
got it
 
Is it okay to say "I'm full" when I don't want to eat anymore?
Once I said it to my friend and got some cringe xd
 
Okay things to say when you don't want to eat anymore:
"I'm full"
"I'm stuffed"
"I 'm on a diet"
"your cooking is terrible"
Maybe not the last one
 
mr5
5:53 PM
"your food is pukable"
 
"I'm feeling sick"
 
mr5
"you have a horrible taste in food"
 
"Excuse me while I vacate my bowls in order to make room for more delicious sustenance"
 
mr5
"taste like hot garbage"
 
"Are you trying to poison me?"
"I wouldn't feed this to my dog"
 
5:54 PM
"If I eat anymore i'm going to explode"
"Who the fuck taught you how to cook"
 
mr5
"if garbage cans puke, this would be it"
 
"Do you even have taste buds?"
"Don't become a chef"
 
mr5
just let your friend watch this and tell him/her this is how you really feel.
 
Regex is not working
why?
It says it will match
*not matching
 
you using regex101 to test?
 
5:58 PM
no
 
mr5
"if a bucket of vomit could commit a hate crime, it would be this dinner"
 
Haha guys you are awesome xp
 
@Shad here you go man; this should help you remember what all the regex tools do and how they work on test strings regex101.com
 
I try
it only taking spaces?
how is that possible
I read it can take any letter
 
also you spelled characters wrong
your code only accepts spaces?
 
6:00 PM
157
A: Regular expression \p{L} and \p{N}

Cerbrus \p{L} matches a single code point in the category "letter". \p{N} matches any kind of numeric character in any script. Source: regular-expressions.info If you're going to work with regular expressions a lot, I'd suggest bookmarking that site, it's very useful.

yes
 
and you only want it to get characters?
 
no
 
Try to look at your matches
 
matches are spaces
or a word including a space
 
idk why you would use p{L} or p{N} when [A-Za-z] and [0-9] are fine
 
6:02 PM
because what if some other country guy put in his letter/words?
 
Simplified to [A-z0-9]
 
they are ascii
 
try \w ?
 
What do you want to find?
 
^^^^
 
6:03 PM
just don't want my regex to fail to some language's letter
ok let me try
-_-
okay I only wanted alphabets
I am using this
[A-Za-z]+
but I see A+ is a match?
 
It may be simplified to A-z as I said before
 
yes Egor but I don't want -, + etc
 
do you want to replace those elements with a space?
 
no
just want to check if my input has alphabets or not
simple xD
 
^(\p{L}+\s*)+$
Your problem is you had double backslash
 
6:11 PM
:O
I had that to escape the backslash
new Regex("^(\p{ L } +\s *)+$");
doesn't work
 
You have spaces around L why?
 
oh they came automatically
didn't notice
 
There should be no spaces in your regex expression, the \s matches spaces (including tabs I think)
 
            Regex rgx = new Regex(@"[\\p{L} ]+$");

            if (rgx.IsMatch("A"))
            {
                Console.WriteLine("Special charactes are not allowed in Tags");
            }
            else
                Console.WriteLine("Not matched!");
this fails
 
BECAUSE YOU HAVE DOUBLE BACKSLASH!!!!!!
 
6:15 PM
I needed to escape
LOL
 
And what are the square brackets??????
 
SORRY
 
NO YOU DONT
 
No you don't escape please choose another button
 
Regex rgx = new Regex(@"^(\p{L}+\s*)$");
Are you trolling me?
 
6:17 PM
woh
no
LOL
I am out of brain
 
Oh no it's gonna boom
 
who?
 
me
 
explodes
 
Hi all, I posted a question on the forums about boosting performance. Everything works but the code is slow when tested against large files.
https://stackoverflow.com/questions/62717179/how-do-i-place-the-return-of-my-ienumerable-into-my-stringbuilder
 
mr5
6:18 PM
:49994252 xD
 
hollystyles take a bow
 
I am not sure if the patrons commenting understand this.
 
It's hard to bow when you're a smoking crater
 
xD
 
mr5
@Skullomania stream it and access the content by index. That would be faster.
 
6:21 PM
@mr5 using streamreader vs readlines?
what do you mean access context by index?
 
@hollystyles :') You made my day. Can't thank enough
 
@Shad You're welcome
 
thanks @EgorRandomize @Freerey :))
 
mr5
FileStream
It seems you have a lot of unresolved questions: your solution not working, syntax, and now boosting performance.
 
No problem :)
 
6:23 PM
hooray
 
@mr5 the solution works. Its just slow. I was asking you to clarify reader and index
 
mr5
@Skullomania well then update your question in SO.
I refer to you with the link. It's basically accessing a file stream by index. It's a stream so the connection is held open until you explicitly tell it to close.
 
@mr5 I offer my sincerest apologies. I seem to have sent the wrong link.
https://stackoverflow.com/questions/63018360/how-can-i-increase-my-performance-within-my-application
 
mr5
when using File.ReadAllLines, you're basically putting all the file contents into the memory. It's not scalable.
 
I understand
Which is why I changed it to ReadLines
 
mr5
6:30 PM
okay. it seems you can route your approach by opening files simultaneously. Right now, it's all synchronous.
but I haz to go now. cya o/
 
byeeee!!
 
take care!
 
he leaves before my new icon can process
 
@hollystyles In this question they use square brackets and don't make group like you did
https://stackoverflow.com/questions/2950989/net-regex-for-letters-and-spaces#:~:text=The%20character%20class%20%5Cw%20does,want%20to%20match%20any%20whitespace.
 
Yeah that works too
Regex rgx = new Regex(@"^[\p{L}+\s*]+$");
Do you need to allow digits? you know 123?
 
6:40 PM
yes I know 123
no
xD
 
Case closed then
 
<3
 
^                  Start of string
    [               Start match
        \p{L}+ At least 1 or more unicode letters
        \s*       None or more whitespace
    ]              End match
    +             At least once or more times
$                 End of string
 
it is matching + as literal?
 
YEah, because it is inside []. It means inside there is a character list
 
6:53 PM
Any better?
 
of course xD
why do you like to group them though?
[\p{L}]+[\s]*
why this isn't good enough?
 
I dunno it's your regex is it good enough for you?
I just like to group things, eat me
Groups make me feel all calm inside
 
I understand
I wanna feel calm inside too! :p
Will look into them
 
hey the icon changed hooray
lol from the bottom it looks like Augusta is insipidly reading everyone's messages as they pop up
 
hah yes indeed!
 
 
3 hours later…
9:42 PM
Is anyone still around?
 
I'm not round, I'm cuddly!
 
:D LOL.
I'm looking for some help with an async design pattern
I'm building a simple CSV parser
If I start the parsing as a task...Whats the best way to consume the data as the task completes?
@CaptainSquirrel
 
how do you get your data from the task?
 
9:58 PM
Hey...Yes I mean as the Task completes....The task is running through a loop that reads multiple Csv files off disk...Each csv file containing 1000s of lines of tabular data
 
I'm not sure i understand your question
this seems pretty straight forward to me
your task completes & you have your data
its then up to you to decide what it is you do
 
Yes thats the thing I want to be consuming data as the task is completing...Maybe I shouldn't be using a task perhaps....Maybe raise an event that there is new data but that seems overkill
@CaptainSquirrel Sorry its not clear...Basically I want a Producer / Consumer design pattern
 
04:00 - 15:0015:00 - 23:00

« first day (3566 days earlier)      last day (1381 days later) »