« first day (3580 days earlier)      last day (1354 days later) » 

8:02 PM
wow
lebanon explosion was scary
 
well... that is where my RAM went
 
that is scary...
 
Hoooly shit
 
that cloud generated so much higher just after a second
they stores a nuke inside the container?
 
8:13 PM
That explosion is pretty insane, but a nuke would be worse I'd think.
 
ye, this is just a shockwave
a nuke would have that size as the explosion (I think)
 
From what I know of nukes, it would be higher, more mushroomy, and with an evaporation range that is much bigger.. still.. this is pretty scary as it is.
 
that shockwaves are too powerful and then become visible lol
so the sounds wave are can be visible if t was powerful enough
 
according to the reports, 70 people have died so far
I think many people were extremely lucky then, looking at the videos, that shockwave could just destroy everything
 
8:28 PM
i think there will be more, I dont think they can collects and manipulates data inside 2 hours without preparation
 
true, there are probably some that arent reported yet and considering the hospitals are at their limits, some of the heavily wounded will probably die as well
 
yeah, pity innocents
it would shattered their bones to pieces on anybody nears it
 
This is in extremely poor taste... 9gag.com/gag/a0NoLML
(But I laughed, sorry)
 
8:47 PM
the clouds are very beautiful, just very sad that it happened in a populated area
 
Jeez the social medias are being flooded with different angles of the event.
It's fucking scary.
 
why is that scary?
 
Not the flooding of the social media, but the explosion ;-)
 
there was a huge smoking warehouse on the docks
oh...
makes sense
:D
the one he used is a very high quality one though
 
Eh... @Wietlol this is also in very poor taste but ehh... I laughed... 9gag.com/gag/aO72bDE
 
8:49 PM
meh
other one was better
imho
 
Politics · Trending
#Beirut
1.43M Tweets
Wow social media is crazy as shit
 
well... 60% of the world had nothing to do when it happened
so, what else were they doing if not social media?
 
too true, I can't judge really, I'm here sitting in a c# chat room.
 
hehe
I made something cool...
I gave wietbot a user integration module, it can now send and edit messages on behalf of a user
for testing purposes... and currently expanding to a full feature, I added emote processing
so... :D
dont you dare börk now!
 
I have no idea what any of those words mean. You have to feed wietlol your credentials so it can impersonate you and edit messages for you?
wietbot*
 
8:54 PM
oh...
you dont have to give it your credentials
 
But... it edits... your messages? I'm a little confused.
 
in simple terms, I, Wietlol, have made my own web service, which connects to Stack Overflow, Wietbot is authorized to call that web service
so, it can send and edit messages, but it doesnt have access to my credentials
the web service itself is a package I can share with other people
they can just make a free account at AWS and host that package
 
Aha like that. That'll work. Interesting.
Wietbot goes webhook.
 
I send them a role that they have to grant access to the service
the problem is...
> This IP address (54.217.34.129) has been blocked from access to our services.
I think I will have to ask Stack Overflow
 
Oh dear. The AWS hosted one is blocked?
 
8:57 PM
nope
Wietbot is also hosted in AWS
@Wietbot evalnode "test"
 
@Wietlol test
 
uses almost the exact same thing
 
Mmm. Only a different public IP?
 
the only difference is that the one Wietbot uses is slightly more intelligent
it has retry mechanisms and such to have a 100% delivery rate
... 103% delivery rate :D
I still have to fix one problem which causes a double retry
 
103%? Your statistics are impressive! :-D
 
8:59 PM
it is an easy problem really, I just have to always respond with a "success" message
my colleague has a mac... my statistics are scrub numbers
his cpu is often at ~270% usage
 
Mac logic.
 
anyway...
that is what Wietbot sent to the Wietlol service
if not for the ip error, it would have worked :D
there is always a chance it does work though 😁
like now
 
9:31 PM
hey guys
any Entity Framework Core experts?
 
hardly an expert myself, but I suppose you could ask the question anyway
as soon as the squirrels are awake, they could see it then
 
well... I'll try my best.
I'm trying to implement a pretty basic data flow. As an example we can take a GetAsync() method:

```
public async IAsyncEnumerable<EAnswer> GetAsync()
{
var result = _ctx.Answers
.Include(x => x.Author)
.Include(x => x.Question)
.AsAsyncEnumerable();
await foreach (var i in result)
yield return i;
}
```
how do I style code snippets here?:(
anyway... I then invoke this method in the mediator, which converts the result to view model:
`public async IAsyncEnumerable<AnswerViewModel> GetAsync()`
`{`
`var result = _dal.GetAsync();`
`var list = _mapper.ProjectTo<AnswerViewModel>(result).AsAsyncEnumerable();`
`return list;`
`}`
 
[ctrl][k]
 
however, this doesn't work. ProjectTo requires IQueryable. MapTo doesn't take it either. Are there any consequences using IQueryable as a return value of the first method? As far as I understand it, this will make it run synchronously, but I'm not sure if there's any processing even happening at that point and if there's a real benefit of using IAsyncEnumerable at this level anyway
btw. _mapper is an AutoMapper instance
Potentially, this would work, but I'm not too sure about invoking `Map()` on each enumerator!
public async IAsyncEnumerable<AnswerViewModel> GetAsync()
{
var result = _dal.GetAsync();
await foreach (var i in result)
{
yield return _mapper.Map<AnswerViewModel>(i);
}
}
 
9:46 PM
you could just use Select and then map with AutoMapper
or indeed make the GetAsync() return IQueryable<EAnswer>
 
something like this:
var result = _dal.GetAsync().Select(x => _mapper.Map<AnswerViewModel>(x));
I think IQueryable is the most reasonable idea
thinking of this - that Data Access Layer method will only be called by this DA Mediator, which means in the end it will always be IAsyncEnumerable anyway. I wonder if there will be any noticeable difference in performance - probably not.
thanks for your help!
 

« first day (3580 days earlier)      last day (1354 days later) »