« first day (3420 days earlier)      last day (1511 days later) » 

3:56 AM
hello
 
V.7
o/
 
4:19 AM
 
4:47 AM
did casting query to ienumerable cause instant enumeration?
 
I think not, but your code might do multiple enumerations when doing multiple loop over IEnumerable or ToList()
 
5:03 AM
i think r# isnt smart enough on nested if statement between queries
btw this is same
 
Why not ToList() before passing into FinalQueryProcessor?
 
public Func<IEnumerable<ReviewingWildcard.ResultingBroker<TObject>>, IEnumerable<ReviewingWildcard.ResultingBroker<TObject>>> FinalQueryProcessor = null;
FinalQueryProcessor is given api invoker a chance to add query before enumeration
 
List and Array are IEnumerable too
    Func<IEnumerable<string>, IEnumerable<string>> FinalQueryProcessor = null;
    FinalQueryProcessor(new List<string>());
    FinalQueryProcessor(new string[] { });
 
5:20 AM
:48689190
 var ap = new AdminPayment { AppUserEmail = username, ToPay = toPay };

                _context.AdminPayments.Add(ap);
I am getting error how to pass string to object, i cannot pass username to AppUserEmail
string username
Cannot implicitly convert type 'string' to 'int'
 
What's inside AdminPayment class?
toPay?
 
ohh thanks dk just solved :-D
:-)
what a mess i am :-(
 
No worries, everyone make mistakes
 
this community is so helpful
i am currently working in office
 
But nobody can help me now :(
 
 
2 hours later…
mr5
7:08 AM
stressful Wensdey
 
8:06 AM
yo
 
Hello. Anyone have any ideas why class (other than Program.cs) getting lot of errors when I delete Main function? (yep, newbie question). Seems like I can't use try-catch inside class, as well, as create StreamWriter in it.
 
Code has to be inside a method @Chelicerae
 
@Hozuki so does var keyword?
 
Pretty much all code that executes has to be inside a method, yes.
 
so I have to create some method within class and call that Class.Method then?
 
8:25 AM
!~>{
static object Main(){ return Foo.Bar(); }
static class Foo{ public static string Bar(){ return "Ironman"; } }
}
!=>"Ironman"
 
good morning
@Chelicerae basically what nyconing said. Also you likely to want create a new instance of the class inside the main: static void Main() { var foo = new Foo(); foo.Bar(); }
 
8:40 AM
!~> "Ironman 2".Substring(0, 7)
 
<!>'string' does not contain a definition for 'SubString' and no accessible extension method 'SubString' accepting a first argument of type 'string' could be found (are you missing a using directive or an assembly reference?)
!=>"Ironman"
 
hmm... substring is a single word?
 
mr5
It is now, oldman
 
who is the oldest human superhero?
(from marvel/dc)
I suppose wolverine is pretty old...
would beat captain america definitely
 
I'd argue none of them are human
Also good morning
 
8:51 AM
Ironman and Batman are just rich and nuts
but I guess you need to draw a line somewhere
 
@dk
@DKDhilip where can i find more of those sketches ?
 
9:07 AM
 
I have implemented realm db 3yrs ago, and it was now utilizing in heavy use case
 
How fast is it?
 
it wasnt a concern, our aims is stability, no corrupt no hang no mess
 
@DKDhilip mi like
GoOoOoOoOoOoOoOoOoOoOoOd Mornin' neglecterinos!
 
and realm never happened those
Realm is just hated by politic and underrated
 
9:14 AM
realm?
 
Realm is a document store
Sounds like MongoDB
 
yeah it was mongodb now
mongodb acquired realm
 
@nyconing you did that? realm.io/products/realm-database
 
She implemented that in a mobile app...
 
9:19 AM
mornin all o/
 
Oh wait...
So Realm is WEB SCALE!!!
 
I've never looked into MongoDB, what's the advantages?
 
MongoDB has literally no advantages
 
@DAustin each row might have different columns. Very dynamic. Scaling is first class citizen.
 
yeh just taking a look at the docs, seems like the key advantage is scalability
which is why ive never needed it xD
 
9:28 AM
ahoy mateys o/
 
i do love me some json though
mornin cap'n
 
everyone loves a bit of jason
 
except my former manager, who preferred xml
the pleb
 
I dont love Jason
 
:o
 
9:29 AM
I also dont love Ex-em-el
 
we love binary. Like Protobuf
 
yas
except for configuration files
which we often edit manually
 
but why would there be any need to have different entities in the same collection with a diff no. of fields/completely different fields?
 
@Wietlol you've crossed the line friend
 
have you ever heard of an AST?
 
9:31 AM
I have seen gRPC first time 2 days ago. Have you seen it? Anyone have opinion about it?
 
I haven't looked into yet but i want to
 
grpc is quite interesting, but it is still a step back from my tech stack
 
looks like it'll become a major player
its a replacement for WCF?
not sure
 
jason is last seen 717d ago
 
rather replacement for web api, which replaced WCF
 
9:32 AM
@nyconing lol
oooo, then i do need to look into it as i do use Web API
euph, just got put off MongoDB
Do joins while write, not on read.
excuse me?
 
@DAustin I would use it for seamless API development. You can change your API, and change the DB structure with some clever versioning, but same tables
 
will take a look into it later, probably more beneficial to my day than reading up on the MongoDB docs
 
@DAustin that means store the values of the joins when new data arrives, because the join in mongodb is BAD
 
does that mean I have to guess ahead of time what joins i might need to perform?
 
so for example you want select a.foo, b.baz from A a inner join B b on a.BId = b.Id, you would just store foo, baz in a table whenever new A and new B arrives
 
9:36 AM
im confused lol
 
yeah. But you can add the new "columns" when the need appears
 
think mongodb is not for me just yet lol
 
does it have precomputed results for your queries?
 
MongoDB, for those who want to play an intense game of hide and seek with their data
 
long story short. MongoDB is not meant for relational (join)
 
9:38 AM
my brain can't handle rethinking RDBMS this morning
 
its a document store, right?
 
Map-Reduce FTW
 
yeh according to the docs
 
yeah. So why not store reports. Which are really precalculated queries
 
screw it im reading up on gRPC in .net core, even though I can't really use .net core because the legacy db is too damn old :(
ef core*
 
9:39 AM
Tomorrow is moving day
I don't want to move
😬 😬
 
Store on something like SSRS?
 
@DKDhilip Aggregate.Lookup is handy
 
where you going squirrel?
 
I have to move back home :(
We've not even started packing anything yet so tomorrow is gon be very very fun
fun intensifies
 
Super Supplemental Restraint System
 
mr5
9:42 AM
Super Duper Sonic Ultra Mega Supplemental Ssytem
 
lol my so did that to me, she was moving up and left most of the packing til the last day
thanks babes!
ASP.NET Core gRPC is not currently supported on Azure App Service or IIS
Handy
 
then dont :D
 
is kestrel still a thing?
 
Why do you guys still using IIS?
 
@CaptainSquirrel whyyy :o
 
9:46 AM
simplicity in our case
we're a regional SME, emphasis on the S
 
Self hosted ASP.NET still powered by Kestrel
 
@Squirrelintraining reasons that mean we can't live in the house anymore
 
I guess that's the way to run this thing then, though I might have read somewhere that the whole revere proxy with Kestrel/nginx doesn't need to be done anymore
 
NetGain which was SO's first class web socket library is obsolete, because SO uses Kestrel's inbuilt web-socket support. So Kestrel is still a thing
 
We have pancakes in the office
I've just had a pancake
I want more pancakes
 
9:50 AM
@CaptainSquirrel So no of my buis ok :D
 
but i don't want to open a new packet if its just me eating them
 
yes you do
eat them all
darwinism
 
@CaptainSquirrel quiet procedural lifestile
 
@Squirrelintraining I just don't want to air my laundry in such a public place lmao
sorry double ping
 
OiC
I like that saying.
Speaking of airing laundry in a public space (giff me 5 min)
 
9:51 AM
it is a nice saying
@Squirrelintraining lol, going to air your laundry out side?
 
or just needs to fart with no one near to listen
 
Kestrel has 2 implementations in it's core (libuv, .NET socket)
 
@Squirrelintraining motherfucker
pls send
i want
 
-o
 
9:59 AM
I must say, i was slightly disappointed by sagres my second time round to portugal
 
Sad note: I forgot it in the frezer over night :<
 
Yikes
did it explode?
 

« first day (3420 days earlier)      last day (1511 days later) »