« first day (3408 days earlier)      last day (1532 days later) » 

9:00 AM
it was dumb to use megabits and kilobits as a unit, but marketers needed to make their numbers seem more impressive without actually fibbing
still that's almost a megabyte per second. That handles most things
Again, only really shows when you need to download a 10 GB game
 
mr5
"This will show only once per every order."
^ is this correct engrish?
 
@mr5 "This will show only once per order"
remove the every
 
Rob
^
 
or you can say "This will show once every order"
 
Rob
per already implies 'every'
 
9:02 AM
but better the first
 
Rob
Damn, can't type straight today
End of friday woes
 
mr5
@Neil is the meaning of this the same from my original?
 
Rob
Your original doesn't really make sense
 
@mr5 I think so. What was your original meaning? :)
 
mr5
9:03 AM
haha
 
Rob
But yes, it means that one popup = one order
 
mr5
oh that's it.
 
Rob
Actually, I'd swap order and only in Neil suggestion: "This will only show once per order"
 
mr5
@Neil Rob explains it better than me lol
 
Rob
They mean the same thing... but only show flows better than show only
 
9:05 AM
@Neil Wouldn't it be "This will only show once per order"?
 
mr5
got ya folks. I'mma steal your sentence
 
@Rob you beat me, dammit
 
@HéctorÁlvarez you can write it either way
moving around adverbs like that changes the meaning in very subtle ways
in this case, I don't think it makes a difference
 
@Neil actually it doesn't, both are considered right in different areas
British English says you need that order, but common sense says otherwise
let me fetch that sentence along the lines of "Prepositions and adverbs aren't works to end sentences with."
 
@HéctorÁlvarez "I only once went to the store..." vs "I went to the store only once.."
 
Rob
9:08 AM
@HéctorÁlvarez ;)
 
One seems to imply you only once went to any store while the other seems to refer to a specific store
 
Rob
@HéctorÁlvarez Neil is right, it changes the emphasis
 
they're both correct english, but the meaning changes slightly
 
well I wouldn't catch that in daily conversation
 
Rob
9:09 AM
This will show only once per order. This will only show once per order.
Granted, I couldn't articulate the difference
But only show sounds better to me
 
we have people visiting today and we have to wear suits minus tie
its friday
i want to wear jeans :(
 
Rob
Ah, I think I got it. The meaning of the popup is regarding when it will show. So, the emphasis should be on the 'only'
 
^
 
Rob
Only after learning foreign languages did I realize how many implicit rules English has, and how hard it is to explain them..
We weren't taught any of the cases in school, or the reasons behind the ordering of words
Just seems... natural, I suppose
 
I'm often in the situation where they'll ask me the rule for something or why something sounds better than another, and I really have no idea how to answer
 
Rob
9:15 AM
Heh, exactly
 
what they taught us in grammar school was show to break down sentence into its individual pieces, but not really the why
 
Rob
When I learnt Russian, I found out that there's no ordering of words (in general). The ordering implies emphasis. It does in English, too, but usually uncommon order is... an artistic thing
 
My wife, contrarily, seems to be the other end of that spectrum, being a native Italian, knows the english rules in and out, but sometimes doesn't know which way sounds better
 
Rob
For example, I love you, I love you, I love you. In Russian would be I love you, love you I, you I love
Makes it a little bit easier to look at English and figure out why things are the way they are
 
it's true, also in Italian. Emphasis isn't given by how you say it, but rather how you word it
to say I love you, you'd say Io ti amo. You would normally omit the subject, but adding it adds emphasis
 
Rob
9:18 AM
Yeah, I dated a non-English speaker as well. She definitely knew the rules better than me, but still didn't know which way 'flows' better
Er, non-native English speaker I should say
 
I think that's the very last thing you learn in english, honestly
that's representative of the master tier
probably takes longest to learn too
 
Rob
Yeah. Kinda strange thinking about it. Most other countries teach the cases and rules to students
English speaking countries don't seem to
 
also phrasal verbs are apparently very difficult concepts to learn for Italians
I don't know if that's true for Russian
 
Rob
I don't know what a phrasal verb is
:\
 
As in, "This idea tends to come up in conversation often"
the verb is "come up" not "come"
it changes the meaning.. it's any verb comprised of several words, lets say
 
Rob
9:20 AM
Isn't that an idiom?
 
in english we have a lot of those
why would it be an idiom?
 
Rob
Yeah... after googling examples... I'm not sure which would be an idiom and which would be a phrasal verb
 
"kick the bucket" is an idiom
 
Rob
Well, the definition of an idiom is "a group of words established by usage as having a meaning not deducible from those of the individual words"
'break down' is not deducible from the individual words
But it's a phrasal verb
 
also this I'm sure is difficult for non-native speakers
@Rob well that's true, but I think an idiom refers to more of an interpretation that's different from the literal meaning
"break down" is the literal meaning because that's the only interpretation
just that it's difficult to interpret properly as "break" means something in of itself
 
Rob
9:23 AM
Hmm
Alright, that makes sense I guess
 
at least that's how I see it
if you think about it, why should break down mean what it means?
there are a thousand different combinations that can be made, each with its own subtle difference
 
Rob
I found non-English speakers don't seem to have problems with those, or idioms. The most common problems are with determiners
Yeah, after reading a few idiom examples, I suppose I can see the distinction
 
what is going on?
Rob is talking!
 
Rob
I've got no more work to do
 
@Wietlol Also I'm just a better conversationalist, sorry
 
Rob
9:25 AM
And also nothing to do for the next 30 minutes :)
 
@Neil Rob never talked even when you were here :P
 
@Wietlol stop saying logic and things!
 
might just as well kill myself then
Jack, shrug
 
¯\_(ツ)_/¯
 
Rob
That's mostly because I join like... 15 rooms when I log on. Doesn't mean I'm actually watching the room :P
Blame that on the crappy moderation tools
 
9:27 AM
wow, you are logged into a lot of rooms
 
@Rob then make your own crappy moderation tool
 
Rob
I can't, unfortunately :(
 
why not?
 
Rob
We don't see kicks unless we're in the room, for example
 
good morning
 
9:29 AM
you can make a bot that notices kicks
 
unless they're repeated kicks
 
Rob
you need 3 kicks in... 24 hours I want to say?
Would rather be able to see it on the first kick to shut it down if needed
That said, I've almost never had to... so...
Maybe it wasn't worth joining so many rooms
 
what do you think about that guy that's been logging in this room insisting to talk in some foreign language despite being warned not to?
 
Rob
Got rid of them once or twice
 
I think his reputation is so low, he has to gain reputation to be able to re-enter only to again, speak a foreign language and generally troll
 
Rob
9:30 AM
Unfortunately... there's a bunch of legitimate users on the same network. So it's not easy to figure out who's who
But yeah, if they pop up again, feel free to ping me
Or get a RO to kick them three times :)
 
what do you think about that guy that's been logging in this room quite frequently insisting to talk, but being unable to because he is still banned for a year?
 
I don't mind the policy that there can be multiple users for the same person, but I'd think they'd keep track of the IP address being used for such instances
 
Rob
@Wietlol Who?
 
you know, just silently take note that all these accounts belong to the same person
 
ironically, he isnt in here now
J.Doe
 
Rob
9:32 AM
@Neil We do.. but sometimes you can see 50 people on the same address
 
also... its only 263 days remaining
 
ah
 
Rob
@Wietlol Er... let's just say they have a history
 
@Wietlol what did he do to get kicked a second time?
 
I have no clue
 
9:33 AM
I'd have figured he'd have learned after the first
 
he was banned for quite a while, and then he got back... and when I logged on, he was banned again
so...
 
Rob
Can't tell you the details other that what you know, obviously, but uh... yeah, I don't disagree with that ban
 
probably decided to make the first words after a very long ban something bannable
 
and then auto-ban did a number
and rolled all sixes
 
Rob
There are no auto bans in chat
Other than the kick duration
 
mr5
9:34 AM
maybe he said the curse word "Java is a good language"
 
flag handling has some sort of auto ban thingy
 
I never understand the people who think chatrooms are all about freedom of speech or something.. as if somehow freedom of speech extended also to public web sites
 
Rob
Banned from flagging for at most 7 days
Chat you can be kicked for up to 24 hours
 
@mr5 or just "<place any language other than Wietlang here> is a good language"
 
Rob
If they're suspended from chat, that's manual
 
9:35 AM
ahoy mateys o/
 
Rob
o/
 
\o
 
o/
 
I have returned to work today
i still have the sickness
just not as badly
 
so you don't have the corona virus, that's always good news
 
9:36 AM
Indeed
Doctor lady said it was likely just a viral infection so
 
mr5
off with Wiet's head! he said the curse word.
 
@CaptainSquirrel now you have a unique opportunity to scare the hell out of someone you don't like by telling him how exhausted you are after your trip to China
 
mr5
@CaptainSquirrel down with the sickness?
 
we do have a person in from the manchester office today ;)
 
9:41 AM
ugh, so much refactoring from async to non async :(
 
Rob
That seems... backwards...
 
well... the thing that required async got removed from the picture
so now all this code is saying "hey, I am async but I dont need to be"
 
Rob
Why was it async then?
 
(also, there is another thing so I cant just say return Task.FromResult())
 
Rob
If it needs to be async to connect to the top..
 
9:44 AM
database mapping
 
Rob
nevermind, I was about to say FromResult
EF?
 
yep
 
Rob
Oh man, async is a huge mess in EF, at least the last time I checked
EF doesn't support parallel queries but supports async? wat
 
not only in EF, async is a huge mess in everywhere
 
Rob
async EF is a huge mess
 
9:46 AM
EF is async AF
not really, just thought that was funny
 
Rob
There's no way to make EF safe with async, that I could find
Someone far up the stack could call await out of order, and boom
 
it is safe
at least the way I use it
but it is still a mess
why cant we go back to how things were?
 
Rob
Perhaps it is now. But if you called var peopleTask = context.PeopleAsync(); var spacesTask = context.SpacesAsync(); var spaces = await spacesTask; var people = await peopleTask;back in the day, you'd have a bad time
And even worse, those two awaits could be in different places in the call stack
And it might work 99% of the time, but that 1%... good luck
 
99% of the time, it works every time
 
Rob
async with threads with EF is just... no
 
9:50 AM
async for me is even worse
the only advantage I have with async is that I can start 2 tasks and then await both of them
there is no other advantage
 
Rob
async is alright unless the library you use supports async but not threads
 
so for me, it is just a whole lot of boilerplate just to make my code compile
 
Rob
Well, at least they fixed the .Result bug feature (I think?)
 
I think that is still a bug
or I have no clue what you mean
you can avoid the bug, but that is just sooo much work
 
Rob
.Result used to hang depending on your context
I forgot the technical name of context
 
9:53 AM
.Result pauses the Thread it is running on
 
Rob
But.. in console applications, .Result would hang
 
or... "blocks"
 
Rob
It wouldn't hang for web apps
 
so, any app with 1 thread would freeze
 
Rob
Unless you added .ContinueAwait(false)
Ah, synchronization context is what I was looking for
.GetAwaiter().GetResult() is safe, as far as I know
 
9:55 AM
why use await if we can use GetAwaiter().GetResult() ?
 
Rob
It's blocking, but doesn't deadlock
await isn't blocking
 
and what does blocking mean?
I thought blocking meant that the thread gets paused
 
Rob
Yes
await doesn't block the thread, it yields
That thread can then be used for other things
 
then GetAwaiter().GetResult() is not safe
 
Rob
.GetAwaiter().GetResult() blocks the thread
.Result blocks the thread and also can cause deadlocks
 
9:56 AM
    public string City { get; set; }
    public double Latitude {get;set;}
    public double Longitude {get;set;}
    public double GetDistance {get;set} => GetDistanceM(Latitude, Longitude);
how can i get value of GetDistanceM in GetDistance field
this is my viewmodel which inherits GetDistanceM method from basecontroller
 
@Rob if GetAwaiter also blocks the thread, doesnt that also imply a possible deadlock?
@markharringson {get;set;} => combination is invalid iirc
=> implies get-only
 
Rob
@Wietlol Er, depends. I honestly don't know the details in depth... but ConfigureAwait(false) means it doesn't need to resume on the same context
 
@Rob i am getting error
Block bodies and expression bodies cannot both be provided.
 
mr5
friday!!!!!
it's weekend time!
 
our workaround was to create a new thread, add that thread to the pool that the async stuff is using, then get the result (which does block the original thread, but it now has a replacement thread to avoid total deadlocks)
and when it was done, remove the thread from the pool
> {get;set;} => combination is invalid iirc
I guess that is true then
what is this property meant to do?
 
10:01 AM
 public double Latitude {get;set;}
    public double Longitude {get;set;}
    public double GetDistance {get;}
    {
          GetDistanceM(Latitude, Longitude);
    }
it is meant to calculate distance
 
isnt it just easier to make a method?
 
Rob
@markharringson Not sure why you're pinging me, but... you're making a property with a run-time getter?
Remove the { get; set; } and make it a field..
Or make it { get; } and set it in the constructor
 
it sounds like it should be a method, since the name starts with a verb
 
Rob
^
 
@Wietlol I've discovered observable delegate in Kotlin
 
that could be very useful
 
such disgusting
@Neil observable delegate?
 
V.7
p/
 
\o
 
yeah you can declare a var property by observable and know whenever it is changed
 
10:06 AM
oh, that stuff
have you seen other delegates?
they are quite interesting
but they are also quite limited by design
 
@Freerey hahaha, thats great ! :D
morn
 
in Wietlang... goes on to ramble about features that arent yet implemented
 
Rob
@Wietlol Couldn't that be
DatabaseContext
	.MailIndices
	.Where(it => it.MailFrom == address || it.MailOrigin == address
		|| it.Any(mi => mi.MailAddressesCC.Any(cc => cc.MailAddress = address))
		|| it.Any(mi => mi.MailAddressesBCC.Any(cc => cc.MailAddress = address))
	)
Depending on your navigation properties
 
I have no clue
 
@Wietlol vetoable, lazy, nonnull
yeah, been reading up on them
 
10:07 AM
I lost sanity earlier this morning
public async Task<IEnumerable<DtoMailIndex>> FindMailsByAnyRecipient(String address) =>
    await DatabaseContext
        .MailIndices
        .Where(it => it.MailFrom == address
            || it.MailOrigin == address
            || it.MailTo.Any(it => it.MailAddress == address)
            || it.MailCc.Any(it => it.MailAddress == address)
            || it.MailBcc.Any(it => it.MailAddress == address))
        .Select(it => it.ToDto())
        .ToListAsync();
I guess this makes more sense
@Neil you can also make your own ofcourse ;)
 
V.7
@Hans1984 Description says it has something wrong with teeth, but what?!
 
> it.Any(mi => mi.MailAddressesCC.Any(cc => cc.MailAddress = address))
@Rob what was the thought process there?
I guess mails just make our brain turn into jelly
 
V.7
Does anyone know if it's possible to find names of all buttons in Microsoft.Office.Interop.Excel?
 
@V.7 huh?
its about washing your hands
 
V.7
@Hans1984 In the video. Check description.
 
10:12 AM
@Wietlol I saw that too. Nice to know it's possible, but I would probably only do so sparingly
 
Oh
Idk
 
ye, it is a feature I havent used yet
 
all I care about is washing hands now
 
and the only case where I wanted to use it, the features fell short
 
@Rob yes. I read that too. You don't need .ContinueAwait(false) in that case
 
V.7
10:15 AM
 
can confirm
getting sick is not the gud
source: am the sickness
@CaptainObvious bring me forth a sammich
but wash your hands first
 
I was on sickness leave 3 days ago for 2 weeks
I mean it ended 3 days ago
 
Today is the first day i've been in the office this week
And i still feel like shit
@ntohl did you also get cabin fever?
aka, so bored because you can't really do anything
 
 public double Latitude {get;set;}
    public double Longitude {get;set;}
    public double GetDistance {get;set} => GetDistanceM(Latitude, Longitude);
 
@V.7 :)
 
10:19 AM
whats wrong with my code,
;-(
 
user10900473
hy all
 
V.7
o/
 
0/
 
V.7
O/
 
user10900473
public double GetDistance {get;} => GetDistanceM(Latitude, Longitude);
 
V.7
10:20 AM
◯/
 
°/
 
°\°
°/°
 
@Neil this is the feature I want
top shows source code, middle intermediate code (compiler), bottom output code (used for generation of llvm ir)
 
@ExtSol Block bodies and expression bodies cannot both be provided.
Error
 
10:25 AM
you cant use => and {get;} together
one already implies the other
public double GetDistance => GetDistanceM(Latitude, Longitude);
public double GetDistance { get; } = GetDistanceM(Latitude, Longitude);
public double GetDistance { get; }
one of those should work
all have different meanings tho
(and I still think you should make a method instead)
 
@Wietlol the feature you want, but not the feature you deserve ;)
 
public double GetDistance => GetDistanceM(Latitude, Longitude);
public double GetDistance { get; } = GetDistanceM(Latitude, Longitude);
public double GetDistance { get; }
@Neil I WANT THE HAZ!
 
@CaptainSquirrel no. I tried to survive. Than come the time when I was still sick, but got a dozen things to do. For example go get the documents to not switch of the electricity in the house.
 
I have it... except I havent done extension methods/properties yet
but get = some-method-reference already works
 
@Wietlol Thanks man First one did work
 
10:28 AM
@CaptainSquirrel also I assembled 2 drawers. One of them had 242 pieces... 242... 91 are screws. I could not do half the things I would get done if I would take holiday.
cabin fever is out of option
 
fair enough
all i did was sit on the couch, eat soup, watch films and feel sorry for myself lmao
this was after staying in bed for a few more hours
and also so much vicks your nose would burn
 
@ntohl I had to assemble an ikea wardrobe once
I figured that most of the pieces were large that it wouldn't take too long
 
@Neil Ikea is marvelous vs Jysk...
 
turns out it takes 3 days with the help of friends
 
Jysk is Norwegian. Norwegians pick on swedes. So they mock the tab mount furnitures they make. Hence the relatively small furniture made of 242 pieces. No in-one-piece drawer. No self screwing screw. Nothing.
It took me 1.5 day
 
10:39 AM
anyone ever stored a sql query in an xml file?
 
I mean
why would you want to do that?
 
@CaptainSquirrel the children and waifu were home. I had no time to watch movie
 
@CaptainSquirrel its just a small script to send email reminders, want to have the sql query in the xml
but saying that i just thought, the query i need will always be the same just with different where criteria, so i could just store those
 
I dont understand the C# compiler...
one time, I can shadow parameters, and in other cases, I cannot
MAKE UP YOUR DAMN MIND!
 
10:46 AM
@WhatsThePoint I've used all kinds of wicked contraptions to hold data in very inefficient ways, that was one of them.
 
and Rider be like "ye bro, I understand exactly what you mean, I have no clue why this compiler is acting so weird"
 
If you want to run queries from C#, you can keep an XML file and then use SqlCommands to fill in the '?'s, but mostly, you might want to just assign the possible queries to variables
 
just going to have the query params in the xml in think
 
give us an example of what you want to store pls
 
what happened to all the squirrels
they are very quiet these days
except the sick squirrel ;)
 
10:51 AM
I am wondering what they were thinking
 
they were terminated.
 
<statusID>4</statusID>
<statusID>5</statusID>
<statusID>10</statusID>
<statusID>11</statusID>
<statusID>12</statusID>
 
I would suggest JSON over XML for convenience, if you are interested.
 
I would suggest protobuf over json or xml for integrity
also convenience
 
protobuf requires understanding, and AFAIK cannot be exported to a file
 
10:58 AM
sure can
why wouldnt you be able to export to a file?
 
never used it, I didn't really check
hence AFAIK
 
protobuf is just a binary serialization
 

« first day (3408 days earlier)      last day (1532 days later) »