« first day (3387 days earlier)      last day (1547 days later) » 
02:00 - 15:0015:00 - 23:00

3:01 PM
well if 2019 was the year everyone gets pissed off at anything, 2020 can't be better
 
I'll just point out that you can't change others or the world easily, so getting into politics will absolutely subject you to all that resistance. If it's worth it to you, by all means, go for it. I personally wouldn't want to deal with the drama, but I respect those that do and genuinely try to make things better.
 
I'd say people have become way too politically sensitive, but really that's not true at all
people have been throwing things in parliament since there has been a parliament
 
That is certainly true, and like everything that makes the news, technology like ours means we can zoom in on literally everything in the world rather than just the local happenings. So much more potential to show all the negatives. All the media does just that.
 
3:22 PM
if anything, I'd say people have become too closely associated with political parties, when really most people digress from political party views quite a bit on average
 
everyone wants to categorize everyone into a comfortable bucket. And now making buckets are easy through politics
 
I mean I can loosely categorize myself into a political party, but there are plenty of things I am not in agreement with
people love to push you into one political party and say what an awful person you are for being in that party
I think that's like racism without the race, honestly.
it's a little unfair to be lumped into a group and dismissed as that and nothing else
and it's equally unfair to do that to others
 
@Neil lul that was 2016 everyone was getting pissed off
 
@AlRey then worse still! ;)
 
@Neil exactly
 
3:32 PM
idk 2019 was way better than 2016 in terms of people getting triggered all the time
but it's funny thing about categorizing...despite this guy being a socialist, he was categorizing me as a centrist and unironically saying I should "get the rope"
his only penalty from all this was that his mod status was revoked
about a day later after everyone annoyed the hell out of the server owner
 
if I want to get nervous I just open a Stop a Douchebag. It's much more satisfactory than politics
 
hmmm
 
bye
happy weekend !
 
idk it only mildly made me nervous when all this was happening; it wasn't until the next morning when I saw nothing was done (on top of my friend not responding to my messages) when I actually started to get pissed off xD
cyaaaa!
 
\o
 
3:37 PM
@Neil and add that, they are making up races by "you have seen what XY said. Are you watching that sh*t? You are <name a new race here>"
 
politics isn't black and white. The fact that there are two views to an issue is proof enough that it isn't black and white
and yet there are people who would say you're absolutely wrong because you feel differently from them
it isn't weakness to acknowledge there are views other than your own
 
people like to say "I know left and right is bullshit!" but they still point fingers at the "left" and "right" for all the problems in the world
 
you don't have to agree, but you also should agree that there are more sides than the one
and yeah, politics is way more than just left or right
 
@AlRey I censored your post there because someone flagged it and then it started getting a flag pile-on. We have looser guidelines in chat, but easy on the swears from now on, ok?
 
which one..?
oh
 
3:47 PM
the one I responded to, follow the grey arrow, can you see it?
 
o h
really, I swear all the time and that's the thing that triggers people?
guess I'll leave defecation out of the conversation
 
it was probably the unnecessary gratuitousness of it - it just makes people mad, I think.
 
maybe people expecting a professional tone on a professional website :')
 
that's a fair expectation also...
 
tally marks Morwenn as a flagging suspect
man I wish images were working right now lmao
 
3:50 PM
I didn't flag, I was dragged here from the flag
I didn't validate it either become I pretty much never do that
 
Man i love it when salty salty people flag without even trying to ask the person they are flagging to calm it
 
@Hans1984 bye happy weekend Hans
 
Also, TIL mods can edit messages
 
My understanding is the flags get seen first by high rep users. If enough users validate it, it gets deleted and the user who posted it gets muted for a bit... I figured I'd spare them the experience since it wasn't that bad and was not directed at anyone.
 
bye all have an awesome sauce weekend o/
 
3:56 PM
@AaronHall We've had that happen a few times though is the point I'm trying to make
Someone sends a message with swears in or to someone else
Someone gets all offended & flags and then a suspension happens
It happened to @Harry a while ago when he told me to fuck off as a joke
I'd find the transcript but i have work to do :(
 
And every ban is longer than the previous one
 
Ehh
I think only mod interventions do that
 
lmaooooo so that's what happened to Harry, huH?
 
IIRC regular user stuff goes to 30 minutes and no higher
A while ago yeah
 
whaqt are some cool vs 2019 shortcuts that not many people know about?
obligatory: ctrl-shift-v gives you clipboard history
 
3:59 PM
oh right
 
It's been so long since anyone got banned in the other room that I forgot
 
mr5
Hey @Morwenn I remember you from my C++ question
 
do many people know about ctrl+k+k?
 
Not a 2019 specific shortcut, but ctrl+. gives you a list of whatever you are searching
 
4:00 PM
@mr5 Which one? I don't think I've ansered any question in 2 years ^^'
 
hmmm ctrl-shift-v just pastes my last thing
 
that only goes to 2017, but it's v useful
 
mr5
11
A: Range-based loop for std::queue

MorwennWell, the answer is actually pretty simple: there is no function begin() in std::queue and there isn't any overload of std::begin taking a std::queue either. You can have a look at the documentation. The core problem is that std::queue is not meant to be iterated over. It exists to satisfy other...

 
@JosephC is your icon supposed to be a Chinese propaganda poster? xD
 
oh wow, that's old
 
mr5
4:02 PM
lol. I thought queue is meant to be iterated
 
hehehhee….."std".
 
fair mistake
 
mr5
@AlRey lol
 
@CaptainSquirrel well that's just going to happen. Reminds me of that Seinfeld episode where George got into the habit of calling this group of guys "bastards" until his boss hears him overdo it and sends him to talk to Steinbrenner, who makes him sit in a hot tub. If it's innocuous, and a flag pile-on validates, don't worry too much about it. If it's truly offensive, please flag. If you want to be able to invalidate the flags in real time - get some on-site rep.
We shouldn't call it "kicked" or "muted" - we should call it "hot-tubbed".
 
@mr5 also wow, you've got a good memory now that I think about it o_o
 
4:05 PM
Seconded
I can never type quick enough to answer questions before someone else manages to write a full blown answer with a breakdown of everything that's going on and a shit load of sources
I gave up in 2016 lmao
 
mr5
@Morwenn yeah I did noticed. I can even remember a very detail scenario when I was 5 years old.
And I thought I was sleep deprived, which damages neurons in the brain
I also think you have answered 2 or more of my questions.
 
Well, I was kind of repwhoring back then
 
me: -listens to Fight for your Right a single time-
I guess I'm a Beastie Boys fan now
 
if you're below 2k rep, you can get rep by editing posts and getting those accepted...
 
^
I've got like 4 stack links bookmarked cause I know the answer, but I still haven't just gone an answered them x-x
 
4:18 PM
Go do it. It takes a long time to get recognition on old questions, but it's worth it in the long run.
That's how I did it.
 
yea it's an old one....like 2 years
but it's asking a question to something I've figuredo ut
omg I had this one marked to answer on November 23 @.@
 
mr5
@CaptainSquirrel no 2019?
 
oh wonderful...the corona virus is in the US now
pretty close to me, too
it'll probably be like the ebola outbreak tbh...people will freak out for about a week, only about 25 people will catch it, only one will die, and then the entire thing will be quarantined before it becomes a huge problem
 
@mr5 no :(
 
4:38 PM
@Hans1984 ooh I see Disco Elysium is on sale on the GOG lunar sale...might get it there ;)
 
5:34 PM
 
5:50 PM
I asked my coworkers at lunch "what do you think it means when someone says they're gonna beat an old lady with a stick" and they're like "...whut?"
 
6:35 PM
Hi
 
>shadman
 
haha
Do you know about databases?
 
what about them, specifically?
cause yea I'm doin work with MS-SQL right now
 
Is foreign key directly related to dependent end?
 
what do you mean by that?
 
6:48 PM
If I have Students and Standard table
one standard can have many students
so foreign key must be in students table right?
 
well yes -- but you don't really have to specify it as a "foreign key" in MS-SQL
I do stuff like that all the time -- where the primary key in one table is used to determine groups in another
 
how will you have your column then
 
the column's just another column for the dependent table
I know Oracle SQL works a bit different, though -- but it's been a few years for me
 
yes but when you define your table
 
MySQL
 
6:49 PM
you add the reference constraint right?
 
you really don't need a constraint
CREATE TABLE Cost.dbo.bl_Signatures (
	loanID int NOT NULL,
	imgLink nvarchar(8) NOT NULL,
	dateAdded datetime NOT NULL--,
	--CImage image NOT NULL
);
this table depends on another through loanID, but loanID is not seen as any sort of special key
as far as the database is concerned, anyway
nobody I work with uses foreign key constraints in MS
that's more a MySQL thing
 
that is because it must be having 1:1 relationship?
 
oh no, the relationship here is typically 1:many
 
where is it's pk than?
 
the pk is in the table that signatures is dependent on for loanID
loanID is considered a primary key and identifier in that table
 
6:53 PM
thinking
well
since signature is dependent, won't loanID be repeated?
 
well yes -- and that's the point
like I said -- it's 1:many
 
but loanID is pk for signature table?
who is the pk in signature?
 
no, loanID is pk for a different table
there is no pk in signature
 
how can a table not have a pk?
hearing this for the first time :o
how will you be uniquely identifiying each row here?
 
are you sure you're using MS SQL?
MS-SQL doesn't care if there's no primary key
 
6:59 PM
yes
huh!?
wth
 
the way I'm doing this is I'm combining loanID with dateAdded
so if someone wants a signature for a particular loan, the system will pull up the most recent signature for that loan
 
woh
 
though with the way the program is actually made, it's almost impossible to have a second signature thrown in there for the same loan unless you royally screw up
 
hmm
I need to look into this. Thank you AlRey :)
hehe
 
yo yo yo
 
7:19 PM
@AlRey Its chairman meow of course!
whats wrong with FK contraints in MS SQL? Shouldnt they be standard? (It ensures data integrity, allows cascade delete, and interfaces with EF well)
also the DB execution plans are better optimized if SQL knows about relations
 
7:33 PM
Hey
I have a bit of a puzzling problem here
I'm using a FileSystemWatcher_Created event to detect new files being created in a folder (images)
However, this seems to be running a bit too early and causes other operations on the new file in the body of this handler, to fail with File not Found and invalid data errors
Is there any way I could failproof this a bit and make sure I'm only running stuff when the file is actually fully there
?
So as to not have any race conditions
 
other events in the fsw class? CreatedFully etc.? did you read the documentation for created event?
maybe the file is being created/opened with a 'lock' (?) flag to avoid multiple opens? just a thought.
 
7:50 PM
ooh
I'll have a look at CreatedFully
 
@RandoHinn I dont think createdFully exists. However if you read the API, they tell you that certain operations (like copy/move) are complex and trigger multiple events
 
Yup, found out it does not exist
hmph
I'll look into some lock detectin and stuff then
 
you may want to search for a third party library
 
8:07 PM
Any reccommendations?
 
8:20 PM
i've asked questions similar to this before regarding entity framework and 2 foreign keys. Code is here:

https://stackoverflow.com/questions/59903116/entity-framework-core-code-first-two-foreign-keys-one-table
 
Hey Guys, anyone wants to talk a weird webAPI question?
3
A: How do I finnangle the type that linq outputs into the function's return type

Farhad JabiyevConfigureAwait returns ConfiguredTaskAwaitable, not Task. You need to await explicitly for that with await keyword, and change that method to be async. But, you can just return Task without ConfigureAwait(false) as well and in that case nothing needs to be done apart adding ConfigureAwait() to t...

 
9:23 PM
What type is u2 come up to
 
@RandoHinn The way Plex handles it is using the Created and Updated event with a timeout. Basically, once the file has not been created/updated for a certain amount of time, it's considered 'completed' and is processed. Another simple way is trying to get an exclusive lock, and when you fail, try it again in a few seconds (until you got the lock and voila, you're good to go).
 
Sounds like an access problem from the 90s
 
(I'd go for the second option because it's easy and never fails)
 
9:35 PM
@מלךהמשיח this isnt a real answer to the question, but is there any reason that you're returning a Task? You could just as easily return the IQueryable to delay querying the database
 
Oh god, a bunch of nerds.
I bet you code and stuff
Disgusting
 
we're actually code artisans and craft instructions
 
Makes sense
I have a curious issue.
public const int SIZE = 94
This line, causes a TypeLoadException
public const int SIZE = 93
This line does not :P
Any value 93 and below is fine. 94 and above causes the assembly to break.
 
9:53 PM
so..the result is too big for some type. ?
 
Yeah
Although it's just a bunch of consts.
Can't figure out why it happens. One other type is breaking.
What's weird is, these are consts. So, compile time calculated.
But I get a run time error.
 
what is the result, and what type is it being stored as
 
Just an int
internal fixed byte players[MAX_PLAYERS * PlayerInfo.SIZE];
Appears to be this specific line
I think there might be a limit to the size of these fixed arrays.
 
what is MAX_PLAYERS value?
 
28
The total value of MAX_PLAYERS * PlayerInfo.SIZE is 134689688
So around 134 megabyte
I guess it's the total size of my struct that's too big ...
 
10:05 PM
so when i plug the actual values into VS 2019, it says "the operation overflows at compile time in checked mode"
so yeah i think youre probably right
 
I guess I need to find another approach to this then ...
Didn't realize how large this memory mapped file was :|
 
02:00 - 15:0015:00 - 23:00

« first day (3387 days earlier)      last day (1547 days later) »