« first day (3602 days earlier)      last day (1349 days later) » 
04:00 - 20:0021:00 - 23:00

4:08 AM
hello nerds been awhile
 
 
2 hours later…
5:42 AM
Buenos dias nerdo
 
 
1 hour later…
6:55 AM
GoOoOoOoOoOoOoOoOoOoOoOd Mornin' neglecterinos!
@c0dem0nkey hi vamp0
 
WHAT.
Good morning by the way
WHAT THE FUCK XAMARIN
 
What what
 
So, I have a class and added a private method, "InitAsync". Now the app won't run.
Rename the private method to ANYTHING ELSE, the app works again.
What is this?!
 
@Hozuki Stop shouting.
 
I don't know Xamarin, but Blazor components and pages can have an InitAsync that gets called by the framework. I suspect a similar interaction with your class.
 
6:58 AM
Havn't even had my ☕
 
Reflection doesn't care about your puny private modifier
 
Its a normal-ass class the fuck
public class GeofencePlugin {}
This is stupid as shit.
 
ass-class haha
Super smart DI maybe?
 
no DI at all
and its only on xamarin.ios and not on xamarin.android
 
lol
Some system going through the whole folder, reflecting into every file trying to find init methods, like owin does?
 
7:02 AM
mmmmmmmm can't say that's impossible but it's pretty shitty
 
Roel, just add the mongolion white space between the 'n' and 't' from init.
Auto complete won't care and the refection will be bork
 
this wasted half a day yknow
 
Here: https://codepen.io/chriscoyier/pen/iLKwm
I've acutally got that site bookmarked
 
Why use the Async suffix though? IMO it's fitting for a giant API like the dotnet frameworks, but within a single application the Async is overkill. things that can be async should be async by now, and there aren't really consuming devs that need it, right?
 
@Squirrelkiller Convention.
 
7:04 AM
^
 
lol nice
 
OKAY WEIRD THING
 
@Squirrelintraining Convention for a framework
 
I have public initasync and its fine
 
@Squirrelkiller Why start public methods with Capital Letter?
 
7:05 AM
So they look more accessible
 
wait your private methods dont have a capital first letter?
 
Oh go to killer academia.
@Hozuki Says who?
 
1 min ago, by Squirrel in training
@Squirrelkiller Why start public methods with Capital Letter?
start public methods
implying you do smth different with private??
 
Yes, does that mean that privat methods can't start with Capital letters?
I beg to differ.
 
Im so confused, you said this yourself
 
7:07 AM
I think he's confused by java
Java has Public/private methods
Although...I seem to remember camelCase getters/setters?
 
@Hozuki I didn't.
getYourAssOverHere();
 
Avner do you suffix your async methods with Async?
 
7:15 AM
Rarely.
 
Ohhh don't star this killerino, he's at google now and uses c++.
 
Shit you're right he's not using C# anymore
Damnit lol
 
Ye$$
You in HO today killerino?
 
As always ;)
 
Lazy squirrel :D
 
7:23 AM
Also I don't like trains where people are starting to think they don't always need masks or proper distance to each other
 
Damn you EF Core
Why you generate me an unvalid querey?!
 
@Hozuki wasnt it a common convention to use _underscorePrefixedPrivateMethods ?
or something
 
That's private fields
 
@Wietlol It's not a convention just used quitre often.
@Squirrelkiller aye
 
@Squirrelkiller people sometimes do stupid things when given enough freedom and the capabilities
also, anyone got someting for my earlier question?
yesterday, by Wietlol
anyone knows what kind of heresy I have to perform to make it work or to find out why it is not finding the library?
 
7:30 AM
"earlier"
> yesterday
 
last time I checked, yesterday is earlier
 
Binding redirect sounds correct, what does yours look like?
 
<?xml version="1.0" encoding="utf-8"?>
<configuration>
    <runtime>
        <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
            <dependentAssembly>
                <assemblyIdentity name="MyLibrary" culture="neutral" publicKeyToken="null" />
                <bindingRedirect oldVersion="0.0.0.0-1.0.9.0" newVersion="1.0.10.0" />
            </dependentAssembly>
        </assemblyBinding>
    </runtime>
</configuration>
 
@Wietlol Is fuslogvw still a thing?
 
Has anybode ever experienced EF Core generating fawlty queries b4?
 
7:40 AM
fawlty queries?
 
@Squirrelintraining Nope
 
@AvnerShahar-Kashtan Can always coun't on you ♥
 
8:01 AM
@Wietlol Looks good. Correct app.config? library actually in bin folder?
 
AVAST YA SCURVY LAND LUBBERS
 
Captain o7 I'm afraid I only use windows dedender now
 
me too
although i've been looking at getting bitdefender or something
not sure what to go with
i know trend micro are decent too
 
8:16 AM
🙇‍♂️
 
@AvnerShahar-Kashtan what?
 
@Wietlol fuslogvw. Fusion Log Viewer. A tool to see assembly binding errors.
 
I want a Golf R but i keep seeing horror stories from people regarding parts going wrong and costing a shit load of money
which i suppose can happen on any car
 
we use trend micro at work. That shit makes your machine go all helicopter.
 
lmao
Yeah i do remember it being a bit of a resource hog
 
8:18 AM
I haven't used anything but Windows Defender in over 5 years.
3
 
8:32 AM
I havn't been using anything but brain.exe in 7 over years.
 
I hope not, I'm pretty sure brain.exe is full of bugs.
 
ArtificialIntelligence.ps1 is much better
 
I wonder if there's a whole new level of exploit that tricks an AI into letting your virus through
 
@CaptainSquirrel Oh a playstation 1 file ending.
 
8:54 AM
@AvnerShahar-Kashtan hmm... not sure how to use it
the thing is, I get this error on the deployed application
and it is deployed on a linux server
I dont think it can run exe files
hmm... nvm, I can reproduce it locally...
and indeed... the dll is actually not there...
 
copy local > true?
 
?
 
9:18 AM
sad to see this is still not a javascript room
 
@M.Doe HERESY
 
Jack, votekick M.Doe
Wake the fuck up, Jack
 
UGHHHH
spam protection
Jack, wake up
 
....Come Again?
 
gud boi
 
9:33 AM
@M.Doe HERESY!
 
hmm...
 
M. Doe - the littl' borhter of J.Doe
 
turns out... it is with the version 1.0.10
 
Speaking of
where is J.Doe
 
it works with 1.0.9, but for some reason, it doesnt in 1.0.10
I cant see any notable difference between the two though
nuspecs are identical (except version number), both are netstandard2.0
downgrading to 1.0.9 makes it work, but I want 1.0.10
it appears to be something inside the dll that is messing it up
 
9:42 AM
@CaptainSquirrel Show us the timer
 
cheating nuget by manually chancing the cache makes 1.0.10 work using the 1.0.9 dll
 
Maybe the 1.0.10 DLL has a dependency on a different DLL, and that's the one it's missing.
 
Jack, J.Doe
 
9:45 AM
Hey :)
i want to have moveable controls in WPF in a scroll viewer, which is reactive to the moving.
Changing the rendertransform works, but is ignored by the srcollviewer
 
version of 1.0.10 seems to be lost
 
Changing the margin works as long as i only have one moveable control, but the second control breaks everything
 
dotpeek opens 1.0.6 (original installed) 1.0.9 (working latest) and 1.0.10 (not-working latest)
 
is there a better way?
 
but the 1.0.10 version, it detects as 1.0.0.0
which is probably why the runtime fails to find it as it requires >= 1.0.6
 
9:49 AM
I've been M.Doe for years
 
it never had an AssemblyInfo.cs though
 
10:11 AM
ohai cap
the version was missing in the .csproj file
adding
<PropertyGroup>
    <Version>1.0.10</Version>
</PropertyGroup>
made a dll with the version info
I dont recall having to do this earlier though
 
10:36 AM
@Wietlol That's part of the new csproj format - deprecated the assembly attributes in assemblyinfo.cs and move them to the csproj.
 
but we never set the version in the assemblyinfo.cs nor in the .csproj file
nuget handled the assembly version, taking it from the nuspec
in git, I can also not see any assemblyinfo file and the .csproj never had the version
so I wonder how the 1.0.9 version did have the correct version, but it now stopped doing that
afaik, we didnt update nuget or something
nor dotnet
 
11:21 AM
???????
 
Hi all
Trying to figure out what this code is doing: stackoverflow.com/a/48570616/177416
How is it fetching the calling class name in that method?
 
@Alex declaringType = method.DeclaringType;
 
I see it now. But why in a loop?
And when could declaringType == null be the case? If that's the class, wouldn't every method be in a class?
 
hey guys! I have come across a question in the insertion sort algorithm.
when we are putting the next element to the sorted subarray A[1..j-1], can we run a binary search to find its place????
making it to run in O(n(logn))??
 
@Alex it's looking up the stack by incrementing skipFrames, looking for the first frame where the calling type isn't in mscorlib
 
11:36 AM
Ohh, wow. I'll put on my dunce cap and sit in the corner :)
That's so clever!
Thanks, @TomW
I'll add a comment to the answer with what you said above
 
 
1 hour later…
1:11 PM
DAmn you microsoft for making weird products
2
 
1:35 PM
But what weird product
 
is the JavaScript chat the one we said was full of arrogant weirdos?
 
Aren't they all?
 
I mean this place is like 4chan compared to what I've experienced with them so far, which is like reddit
I tried telling them I was replacing an AJAX control toolkit in my ASP.NET page with a bootstrap solution and they completely lose their shit
 
@CaptainObvious Teams
i.e.
Visual Studio.
WINDOWS
@Freerey wat
 
u herd me
 
1:50 PM
Jack, votekick Freerey
 
I don't understand mate
 
Worthless bot..
 
Jack, pathetic
 
mr5
any fall guys player here?
 
1:51 PM
Only dotes
 
mr5
go dl it now. izz fun
 
fall guys?
wtf is this candyland shit?
 
did somebody say candy?
 
so I've kinda been doing a keto diet lately and my blood sugar has consistently been at 50/60, but I feel great
 
mr5
somebody's ruining the game already. how dense can someone be, by putting cheat on a very casual and fun game.
 
1:59 PM
I heard of this rogue company game coming out soon...looks like it could be fun
I wish Lawbreakers actually made it cause omg the one time I played it was amazing
 
@mr5 if it is competitive, people will cheat
if you can win against other players, it is competitive
not everyone is a casual player
 
im bigg idiot
2
 
mr5
ARGGG
@Wietlol it is. fun when with party but quite frustrating when solo
 
AAA
Does anyone know of a nuget package or something similar to convert unicode to ascii?
converting "𝒶𝒷𝒸𝒹𝑒𝒻𝑔𝒽𝒾" to "abcdefghi"
 
2:16 PM
@Harry yes, yes you are, breakfast.
 
@Harry no you're not; you're a tiny roach
 
@Squirrelintraining stop calling me breakfast, rat
 
AAA poses an interesting question that I wanna know
 
wot
o
 
@Harry stop calling me rat, lunch!
 
2:17 PM
but rabbits are herbivores
 
@Freerey rabbits are yeah but squrriels will eat anything
 
Building an app throws this into the Output of VS 2019: Found conflicts between different versions of "System.Web.Razor" that could not be resolved. These reference conflicts are listed in the build log when log verbosity is set to detailed.
 
Sounds like a bit you problem :p
 
When I set the build output to Detailed, I can't find the word Razor anywhere in the log. What should I be searching on?
 
Can I recommend our Lord and Saviour Blazor?
 
2:27 PM
Yes you can :]
 
Blazor is the new Razor, go ahead and build awesome WASM apps!
Well or Blazor Server apps, which are basically Razor but rebranded lol.
 
Asked this on the Blazor gitter too: is Blazor ready for large, complex apps? Or is it better to wait until version 2.x or 3.x?
 
I'd say if you prepare to upgrade to .NET 5 when it gets its first patch, you could build big apps with it. Depending on size of the app and number of concurrent users you can decide between WASM and Server. When .NET 5 comes it will bring lazy loading though, so the size problem with WASM apps will become easier to tackle.
 
2:33 PM
anyone here ever tried to load a bootstrap modal control from a .dll?
mine won't pop up because "the contents are not literal"
 
Uhh...context? Blazor?
Wait, asp.net, right?
 
why wait? start making your large, complex apps today with kotlin-react!
hides in bunker
 
ye sorry -- deal there is that in ASP.NET I'm trying to create a div through an HTMLGenericControl; the div is of the class "modal-dialog modal-dialog-centered" and I need to add controls to it
 
Thanks, Squirrelkiller. Is VS tooling good for Blazor? And for debugging it?
 
I added a literalcontrol with the div information, but it starts having problems when I add an actual ASP.NET button to it
so its like this:
div.Controls.Add(new LiteralControl("<div class=\"modal-dialog modal-dialog-centered\" role=\"document\"><div class=\"modal-content\">" +
            "<div class=\"modal-header\"><h3 class=\"modal-title\">" + title + "</h3>"));
        div.Controls.Add(btnClose);
        div.Controls.Add(new LiteralControl("</div><div class=\"modal-body flex-column\" style=\"text-align: center; align-content: center;\">"));
 
2:36 PM
Don't know how far Rider is, but I'd say VS tooling is the only tooling for Blazor so far. Debugging works in Chrome or Edge, even the WASM part.
 
ffs why won't it format
 
Nice!
Freerey, you can't put tick mark for multiline code
 
Paste all lines together and use Ctrl-K to format
 
THERE jebus
 
2:37 PM
Tick marks won't work for multiline code here
 
thx
 
Chat doesn't get that feature
 
it has a problem when I try adding btnClose
 
You know, the tick marks here work better than in MSFT Teams
Why is Teams so.... so like Sharepoint?
 
btnclose is defined as such:
 
2:38 PM
we should all convert to Datcord
 
Button btn2 = new Button
{
    ID = "btnClose",
    UseSubmitBehavior = false,
    Text = "&times;",
    CssClass = "close"
};
btn2.Attributes["aria-label"] = "close";
btn2.Attributes["data-dismiss"] = "modal";
btnClose = btn2;
 
it has the best backtick behavior
 
7
A: Markdown in Chat fails for Multi-Line Messages, a Reprise

SquirrelkillerI think multiline markdown should definitely be implemented. The only explanation so far is that multiline messages are assumed to be pasted from somewhere, and therefore don't need markdown. Somewhere else I read it's so trolls don't have that tool - trolls don't need that tool though, they m...

 
where earlier it was instantiated as private Button btnClose;
 
For private chat, I liked Slack. But org went w/ Teams. Of course
 
2:39 PM
I tried just using a whole bunch of htmlgenericcontrols, but that resulted in stack overflow exceptions
actually no, it seems to have problems with adding the first literalcontrol :|
 
@Freerey dang it, escape that damn title
"<h3 class=\"modal-title\">" + title + "</h3>"
you cant just mix html and text like that
 
title's just a string, but aight
I mix html and text like that all the time
in any case, ti's still resulting in the same message
 
2:55 PM
@Freerey that is the point
a string is not html
 
my company's gotten it to work before
    this.loginPanel.Controls.Add((Control)new LiteralControl("<table> <tr align=\"center\" class=\"header\"><td colspan=\"2\"><b style=\"color:Black;\">Please log in:</b><br /><br /></td></tr><tr align = \"left\"><td>Username:</td><td>"));
    this.loginPanel.Controls.Add((Control)this.txtUserName);
    this.loginPanel.Controls.Add((Control)new LiteralControl("</td></tr><tr align=\"left\"><td>Password:</td><td>"));
    this.loginPanel.Controls.Add((Control)this.txtPassword);
    this.loginPanel.Controls.Add((Control)new LiteralControl("</td></tr><tr align=\"center\"><td colspan=\"2\">"));
this works, but it's using a ModalPopupExtender to display
 
Ryan Donovan on August 26, 2020
Lasty week, JetBrains released Kotlin 1.4 to the programming community. The update added some new language features but also put a strong focus on improving quality-of-life and performance, especially when paired with JetBrain’s own IntelliJ IDEA IDE.  Kotlin is a programming language best known as “Java without the warts.” It can compile both  to Java…
 
@Squirrelkiller 250 rep for that rubbish answer?!?!ß11111??ß1ß
 
||kick or votekick?
 
3:05 PM
Invalid command! Did you mean: lick, pick, kill? Try help for a list of available commands..‍
 
lol I just looked at the meta question and all I gotta say is
>furry
 
Woah hey that's a bit overkill
 
virgin furry vs chad robofucker
 
Time for some gaming time, bye bye 🖖
 
3:12 PM
wish I had time 😔 Bye!
 
@Squirrelkiller VR?
 
3:29 PM
DAY OFF WÖRK
@Hans1984 get ze flammenwerfer
time to burn ze wörk down
 
Burn baby burn.
 
3:56 PM
Having strange write errors to a database, sometimes it writes all the rows, other times it does not. The ID starts at 2
It's not consistent either
 
4:09 PM
List<ShoppingCart> carts = null;
                    IQueryable<ShoppingCart> s = (IQueryable<ShoppingCart>)context.ShoppingCart
                        .Select(x => new { x.Id, x.Id_Articolo, x.quantity, x.SessionId, x.Titolo_Articolo });
                    carts = await s.ToListAsync();
hi i'm trying to execute this operation and the error is cannot cast ojbect of type anonymous to system linq
can anyone help me with this?
 
4:34 PM
@Riccardo new { whatever} isn't a ShoppingCart, you're creating an IQueryable<anonymous type> and telling the compiler it's an IQueryable<ShoppingCart>, which it isn't.
 
@TomW so how can I convert the anonymous type to my entity?
 
C# can guess types in some places but new isn't one of them, you have to specify what you want a new one of, otherwise you get an anonymous type
You probably want new ShoppingCart()
 
what about this ???
List<ShoppingCart> carts = null;
                    var query = context.ShoppingCart
                        .Select(x => new ShoppingCart {Id =  x.Id, Id_Articolo = x.Id_Articolo, quantity = x.quantity, SessionId = x.SessionId, Titolo_Articolo = x.Titolo_Articolo });
                    carts = await query.ToListAsync();
@TomW
 
Does it compile?
 
I haven't dared to compile it yet
 
4:38 PM
? it's instant and free, why not
 
I mean does it meet your statement?
 
yes that looks alright to me
oh but hold on
 
tell me
 
is context.ShoppingCart a DbSet<ShoppingCart>?
 
yeah it is
 
4:40 PM
So why do you need to create new objects at all?
 
well I need to select all the columns in a table and tried context.ShoppingCart.ToListAsync()
somehow it only selected the first row
so I bumped into anonymous types to select multiple columns
 
oh really, hm
tbh I don't know a lot of EF
 
well to answer your question the use of keyword new to select multiple columns is the only thing i've found on Google
do you know what I mean?
or better am I answering your question properly?
 
I guess so but I wasn't aware of that behaviour of DbSet
 
neither was I
I'm gonna test it out and be back to you in a few seconds
this is the exception that was raised
Cannot construct entity type or complex 'DomainDLL.Models.ShoppingCart' in a LINQ to Entities query.
@TomW
 
4:48 PM
OK I'm misleading you, sorry I was only able to identify what the initial problem was, this goes into using EF the correct way which I'm afraid I don't know
 
mr5
5:28 PM
@Freerey that's an ugly syntax. what library are you using?
 
Jack, tumbleweed
 
well, I'm trying to get this all to work in bootstrap, but we're using AJAX modalpopupextenders for the current version
I'm already writing my question about this on the website anyway
except I'm cleaning it up so the literalcontrols arent' fugly
 
can anyone tell me why this is always returning the same records in a table?
List<ShoppingCart> carts = null;
var query = await context.ShoppingCart.ToListAsync();
return carts;
i mean i need to select all the columns from the table shopping cart and i always have the first row repeated for n times
@Freerey any idea?
 
5:51 PM
posted on August 26, 2020 by ericlippert

Last time we learned about the fundamental (and only!) data structure in Gosper’s algorithm: a complete quadtree, where every leaf is either alive or dead and every sub-tree is deduplicated by memoizing the static factory. Suppose we want to make … Continue reading →

 
 
1 hour later…
7:02 PM
stackoverflow.com/questions/63604115/… here it is right here if anyone wants to take a crack at it
@Riccardo we need more code to understand why that's happening
 
@Freerey the method returns an entity that's all it has been missing
there isn't more code to show you
 
04:00 - 20:0021:00 - 23:00

« first day (3602 days earlier)      last day (1349 days later) »