« first day (3296 days earlier)      last day (1653 days later) » 

10:01 AM
@CaptainSquirrel well someone's a wizard here
 
@Neil Cough @Harry Cough
 
@Developer00 Way better profile pic
 
'Arry
 
sure
 
So my girlfriend has neither read nor seen Harry Potter
 
10:03 AM
whaaa
 
I got her the first book yesterday
 
To be fair neither has mine :(
 
@CaptainSquirrel Better get her a book then
 
@Squirrelkiller I have all the books already
I also need to get her to read the hunger games books
 
She also uses it to improve her german reading skills. So I have her read to me. Read 28 pages yesterday evening.
 
10:04 AM
they were fantastic as well
 
Rob
@CaptainSquirrel We have a button to resync profiles from the main site... otherwise it runs every X hours
 
@HéctorÁlvarez Do you spaniards not call Harry Potter by his english name, but somehow spanishize it?!
 
@Squirrelkiller Neither do I
 
@CaptainSquirrel Well sine mine learn german, I had a good excuse to make her start reading it
@Developer00 duuude
 
Rob
In other words, yes, a wizard :)
 
10:06 AM
@Squirrelkiller I wish i had the patience to learn another language
 
Duolingo ftw
 
I don't like fantasy stuff
 
@Rob I was just about to ask if that counted as as yes lmao
 
5 minutes a day and mabe you speak a new language in a few years
But you need a way of practicing
like, with real people
 
mr5
double.ToString("N")
is this the way to remove fractional parts?
 
10:09 AM
(int)double
that removes them too
 
!~>double.ToString("N")
@nyconing HttpWorker: Timed Out
 
Is !~> a C# eval?
 
I have a property type of uint that I want to map code first into a db (sql server), i know sql server doesn't support uint so after some research decided that if the datatype was bigint then it should store it correctly. Using FluentAPI I have tried: gist.github.com/jaymarvels/ea369d7890b3e5c26ad26b066deb8b16 but get the error "The type 'System.UInt32' cannot be used to filter properties. Only scalar types, string, and byte[] are supported."
 
!~> DateTime.Now
 
@Squirrelkiller HttpWorker: Timed Out
 
10:11 AM
k
 
my aws server hang again
t2.micro is a rubbish
 
mr5
AWS sucks
9 hours ago, by mr5
I can't even pass the account verification
 
CodeWorker is now C#8.0
but .NET 4.8 dont support some of feature of C#8.0
Im now recreate all the project into .net core 3.1
I think microsoft wants to deprecating .net framwork
 
mr5
yep
 
They do
No sense in even starting something in 4.8 now, unless a very specific use case where you absolutely need stuff in FullFx that isnt CoreFx
4.8 doesnt implement netstandard21
4.8 is the last vesion of FullFx, the retirement version
Now only Core gets developed further, until they get to .NET 5
.NET 5 will be the "next" one after core, although it will basically be a rebrand of core.
 
mr5
10:23 AM
I don't believe there will be a .NET Framework 5
 
Is there have .Net 5?
 
mr5
oopsy
now, they roll up another confusing version name
 
facepalm
Thats why .net users decreasing
 
mr5
.NET 5 = .NET Core vNext
instead of just sticking to the number
wtf does vNext supposed to mean? version next?
also, another word from them: .NET Schedule
I guess it's another library
 
They want to clean the whole framework/core thing up, so they make just ".NET"
 
mr5
10:31 AM
How about Xamarin.*?
 
Mono .NET vNext
!~>double.ToString("N")
@nyconing An object reference is required for the non-static field, method, or property 'double.ToString(string)'
 
mr5
!~>1.0.ToString("N")
 
@mr5 1.00
 
mr5
!~><~!
 
@mr5 Invalid expression term '<'
 
mr5
10:39 AM
!~>Math.Pow(Math.Pow(Math.Pow(Math.Pow(int.Max, int.Max), int.Max), int.Max, int.Max)
 
@mr5 ) expected
 
!~> ((int)1.012).ToString()
 
@Squirrelkiller 1
 
mr5
!~>Math.Pow(Math.Pow(Math.Pow(Math.Pow(int.Max, int.Max), int.Max), int.Max, int.Max))
 
@mr5 'int' does not contain a definition for 'Max'
 
10:39 AM
*MaxValue
 
mr5
!~>Math.Pow(Math.Pow(Math.Pow(Math.Pow(int.MaxValue, int.MaxValue), int.MaxValue), int.MaxValue, int.MaxValue))
 
!~> ((int)1.012).ToString()
 
@mr5 No overload for method 'Pow' takes 3 arguments
@Squirrelkiller 1
 
@nyconing lol
 
@mr5 Adapter: Maximum execution time exceeded
 
10:40 AM
 
mr5
!~>Math.Pow(Math.Pow(Math.Pow(Math.Pow(int.MaxValue, int.MaxValue), int.MaxValue), int.MaxValue))
 
@mr5 There is no argument given that corresponds to the required formal parameter 'y' of 'Math.Pow(double, double)'
 
mr5
ffff
 
!~> return args.ToString()
 
@Squirrelkiller Invalid expression term 'return'
 
10:41 AM
Fair enough
!~> args.ToString()
 
@Squirrelkiller The name 'args' does not exist in the current context
 
!~>()=>{return int.MaxValue;}
@nyconing 2147483647
 
So my bot kinda works
But usernames get .ToLower()'d
 
what why
 
10:45 AM
I .tolower the entire message
And now i can see why i didn't like that implementation
I've also ported a few features from @patrick (like telling feeds to shutup)
And the ability to give the bot commands by ping instead of !!
 
It's JS too?
 
c# boiiii
There's a few quirks like it throwing auth exceptions if you start and stop it too much
I'm probably gunna add some c# eval of some kind
 
SharpExchange?
 
ya
I can always add you to the repo if you wanna help
its devops tho
You too @mr5
seeing as you allowed me to see Patrick
 
Yeah sure why not
 
10:58 AM
You have me on steam rite?
 
possibly
lemme check
 
I have @Squirrelintraining
i know that much
 
I dont think I got you
DustiestBin?
 
@Neil so good
 
11:00 AM
I think i just added yuo
 
like most old simpson episodes
 
@Squirrelkiller you should have access to the project now
 
it work yo
 
it do
now as a programmer yourself
how do my code be lookin
messy or nah
Granted, there's not alot there atm anyway
@Squirrelkiller you should be looking a the develop branch btw for actual features lmao
 
Ah that makes sense
 
11:07 AM
good morning
 
I just merged develop into master so
oh boy
An actual account called Patrick just joined
 
have you ever seen that Fiddler's composer just insist on removing Authorization: Bearer ... header?
 
This is gon get messy
 
@CaptainSquirrel Well I keep getting notifications with rude comments. Is there anyway I can leave this room and not get notifications anymore?
 
ROFL
oh my
 
11:08 AM
Uhh
 
@CaptainSquirrel Well I keep getting notifications with rude comments. Is there anyway I can leave this room and not get notifications anymore?
 
Sorry dude someone here made a bot and called it Patrick
 
@Squirrelkiller I am aware of that, trust me ;)
 
lol what happened to patrick
 
Sincere apologies Patrick
 
11:09 AM
@mr5 rename patrick to be PatrickStar
or PatrickBot or something
 
Or Botrick
 
lmao
I get it...
bahahah thats hilarious
sorry for that @Patrick
I guess that bot should get another name
 
Well, I need to go work. If someone could rename the bot I would greatly appreciate it :)
 
we will
those squirrels will
its their bot after all
 
its not my bot
its @mr5
 
11:14 AM
@CaptainSquirrel <3 ty alright, bai
 
Pretty sure it's @mr5 's
 
@Patrick laters o/
 
He left and then joined again lmao
Sorry for the extra ping
 
!~>("tuple",123,5.67m)
@nyconing (tuple, 123, 5.67)
 
11:18 AM
or you know.. usernames should be unique or something
 
@CaptainSquirrel yeah got it mixed up with sandy
my bad
its mr5 fault!
BLAME HIM
he ran away
 
@Hans1984 Idk who Sandy belongs too
 
11:34 AM
@PaTRICK
@Patrick giovanni rana
He's dead
Lmao
 
this is hilarious
I cant stop laughing
 
Omg people downvoted my post without giving me any answer nor clue
 
@nyconing here you go
 
IF you look at that gif closely
there is a hand with scissors in the bottom left
behind the glass
 
11:38 AM
yes
 
I thought it was a cat
The hand, I mean
 
I can see why you'd think that
 
crap how do I post pics again
 
@Squirrelkiller No, we don't change names. That's latin america
 
yes a cat with a big as.s scissor
 
11:44 AM
how do you do it? I can't find the rules page for this chat
 
just post the link
 
@AlRey you mean uploading pictures or posting images
 
needs to end on .jpg
 
@CaptainSquirrel uploading pictures, but ok
 
or .gif for gifs
 
11:45 AM
needs to end on a document type
 
uploading from your pc ?
 
FTFY @Hans1984
 
you need an image host site
 
ok
 
You can just press the upload button on chat too
that uses imgur
 
11:46 AM
oh right
 
whatever lmao
 
well i wonder why i always used image host sites then and went through the extra effort
 
you use imgur?
 
yes i've always used imgur
 
@RoelvanUden o/
 
11:48 AM
maybe im too old for this automatic features
 
oldskool
oo would you look at that
its 12:48
almost time to eat
 
Why it's so hard to overlay and position images in xamarin
@CaptainSquirrel 13.49 here
 
PSA: Stop pinging Patrick. There's a real user called Patrick that gets those pings. The bot has to be renamed.
11
 
call it PatrickStar
 
12:50 PM
omg I have a big doubt
 
welcome to the club
 
You're starting to become a real software developer :)
 
^
 
I found the solution
13
Q: Passing Arrays by Value and by Reference

TimThese are example from a c# book that I am reading just having a little trouble grasping what this example is actually doing would like an explanation to help me further understand what is happening here. //creates and initialzes firstArray int[] firstArray = { 1, 2, 3 }; ...

this was the problem
lol
@Proxy How are you?
 
Easy: Always use List<T>. Basically same performance as arrays, but more features.
 
1:03 PM
I was trying to solve some problem on Leetcode
so the method parameter is an int[] array. :/
 
Ah I see
 
I can't set it as ref because I don't have access to the calling code
need to think of different approach.
hugs
I see so many legends appearing in the chat rooms.
I wish this never changes. :')
 
no big advantages to using arrays. I'll only use them as parameters or outputs to library calls to indicate that only "immutable" parameters are allowed
 
I mean, you can still change the items in the array
arr[3] = 7; will still change the actual item in the array
no matter how many level deep you pass the array
 
arr[1][2][5][7][5][9]
 
1:12 PM
yes yes
 
But each item is an int and therefore pass-by-value
 
array reference types
 
well I suppose that's true
maybe I just prefer it because it's more formal
 
If you want your parameter immutable, use an ImmutableList or something
 
can't we make them readonly?
problem solved. :P
46
Q: What's the best way of creating a readonly array in C#?

Vilx-I've got the extremely unlikely and original situation of wanting to return a readonly array from my property. So far I'm only aware of one way of doing it - through the System.Collections.ObjectModel.ReadOnlyCollection<T>. But that seems somehow awkward to me, not to mention that this class lose...

 
1:20 PM
Gotta go, cya monday or something o/
 
TAKE CARE!@
 
Hello again all.
 
1:46 PM
Hmm, question, when getting datetime from query then datetime is automatically modified in backend:
Raw: 2019-10-30T23:59:59Z
C#: 31.10.2019 01:59:59

How can I ignore this?
I need raw input
 
mr5
lmao
Hahaha
 
is web.config doing something to the date when it comes through?
 
mr5
I shut down Patrick right after I left office
 
It's .net core 2.2
It doesn't seem, that there is anything in web.config about that
 
mr5
It seems that's the reason why old timers get to this room (as claimed by Shad) to see if some actions are needed
 
user10864482
1:50 PM
good morning fellow sorcerer of the Qbit council
 
user10864482
@mr5 good
 
mr5
@user10864482 Shutting him down alone wouldn't solve the issue though
@Taurib Change your CultureInfo to CultureInfo.InvariantIgnoreCase
 
user10864482
@mr5 mute did so I don't see why shutting that thing down wouldn't solve it
 
mr5
Or the serializers culture
@user10864482 No. It was the bot's name. I need to change it in order for the other Patrick not to get notified
 
user10864482
@mr5 this bot is bad
 
user10864482
1:55 PM
and the name is not half the problem
 
mr5
How come?
 
user10864482
@mr5 consider this as my feedback; the bot is useless and just add noise to the conversation
 
mr5
Oh really? Do you understand what is really the issue?
@user10864482 Consider yourself as a noise and you also need to stfu
 
user10864482
@mr5 I understand this bot annoy me af
 
user10864482
@mr5 I'm trying to be constructive here; I didn't attack you; I merely said I don't like the bot
 
mr5
1:57 PM
I also understand you for having no sense of humor
And would you to stop pinging me
 
@mr5 what's wrong with a ping
couldn't resist, am sorry
 
user10864482
@mr5 be it as it may; your bot is annoying
 
Is the bot annoying, or are the commands being sent to it, annoying
 
searchParams.From?.ToUniversalTime()

Does work
 
mr5
@user10864482 just because you cannot express yourself for whatever reason, doesn't mean you shove it to someone else.
Heck, you can't even name your account properly and you still put disclaimer on your profile.
 
user10864482
2:09 PM
@mr5 that's how you received criticism to a program, a bot for that instance? I think you mix thing; my username was renamed by someone else; probably because I abused the double-encoding problem with the chat and my username would overflow over other text. As of the disclaimer; it's only fair; I signed paper to be neutral and so I'm just reflecting that to let people know publicly that I don't represent my organization in what I say.
 
user10864482
I have no issue what so ever with you; I don't like the bot, that's all. I liked caprica better; I also like the feed. Your bot? not so much
 
user10864482
And I find it appropriate to let you know; otherwise that bot won't trouble me; I blocked it
 
2:25 PM
Hello, someone worked with embedded Power BI reports?
 
mr5
@user10864482 that's also how you received enforcement by the system. You abuse it, it will make you obey. Same thing you're shoving to your profile. You don't have much freedom. Same goes here in this room. You don't like someone? You block him/her which is the only constructive thing you've done since the day you went here
@user10864482 I also didn't like J.Doe so I blocked him. Problem solved.
 
user10864482
@mr5 again; just a feedback; you can try to read me, but frankly I doubt you will ever have enough information to understand. Maybe it's in your culture, who knows? Obviously I have no clue.
 
just remembered that ASP is also the name of a European viper
 
mr5
@user10864482 does the bot violates any room rules or human ethics yet, I have yet to know. He only responds to the following: pinging him, Feed's message, and finding any word that has exactly"stop" word on it (which was also done by Cap and it didn't even caused any issues before)
 
user10864482
@mr5 I hope you understand criticism and feedback is healthy and have nothing to do with who you are as a person.
 
mr5
2:33 PM
@user10864482 "read you" as if you're worth something. What I'm reading about you is you're acting like you're so oh so special. "My feelings hurt, stop him"
 
user10864482
@mr5 I think we have a culture gap here and I don't feel adding to it would benefit neither you or me. Have a good day
 
mr5
@user10864482 this is also a series of feedback to your attitude. I hope you understand criticism and feedback is healthy and have nothing to do with who you are as a person.
Yeah, it would always be the culture. Blame humanity for mr nobody's feeling got hurt @user10864482
 
Ryan Donovan on October 25, 2019

Can you fight zombies with mathematical precision? Could a hungry fish benefit from dynamic programming? These are the questions that inspire the developers who craft the questions for Facebook’s annual Hacker Cup. 

Today is the grand finals for the competition, now in its ninth year. The programming contest is open to the public and attracted over 6,000 participants this year. The final 25 contestants, who passed through four qualifying rounds with the highest scores, will try to solve their way to victory starting at 9:30am PST – 12:30pmEST -5:30pm Dublin time. You can catch the live stream here.  …

 
mr5
@user10864482 are you J.Doe though?
@user10864482 your use of "I understand" thing reminds me of him
 
nooo. J. Doe would already go through several identites insulting by now
ethnical, religious and so on
btw IMHO user10864482 doesn't sealioning now. Just close
but you take this too much on personal front mr5.
 
mr5
2:44 PM
@user10864482 as if you used "I understand" on a minute basis, eventually turned into mannerism, that your mind numb down its meaning.
Yeah he annoyed tf out of me. He's telling the bot is useless without providing details I need to grasp why it sucked. "I understand" people have different spectrum of humor but it seems he doesn't fall into any
And him leaving the argument is a conclusion for me that he's a slave of a system, and a coward who's very afraid of identity. Not even anonymity could escape tha t guy
 
It's not about the funny stuff. It's about the "Consider yourself as a noise and you also need to stfu", "you can't even name your account properly", ""read you" as if you're worth something", "you're acting like you're so oh so special", "Blame humanity for mr nobody's feeling got hurt". All kind of personal harassments
 
mr5
Yeah thanks for reminding me I'm an idiot @ntohl
 
you left me no choice after still harassing someone for "leaving the argument". He/she already said "Have a good day". Left the conversation.
 
That looked like some code
 
btw I would like to see the bots with the capability to say !!welcome-c#
 
2:58 PM
haha yes. i wrote it by hand without VS. have to format it a bit better before i post it agian :p
public class MyRequester
    {
        private WebClient _wc;

        public MyRequester()
        {
            _wc = new WebClient();
        }

        public string Request1()
        {
            return _wc.DownloadString("url...");
        }

        public string Request2()
        {
            using (var wcc = new WebClient())
                return wcc.DownloadString("url");
        }

        static Main()
        {
            var r = new MyRequester();
            while (true)
            {
what is better when i'm doing a lot of requests? for each request create a new WebClient or reuse it?
 
reuse
 
i assume to reuse it. but in this case i'm not sure what could happen on exceptions
 
and make your class disposable, which Dispose would Dispose the _wc
 
i mean the methods have a try/catch logic of course. but can it happen that the _wc is closed/null or in another bad state for the next request?
 
try catch each request, and in the catch block instantiate a new _wc
you should fine grain the catches. Which Exception type is abort and which is exception
 
3:04 PM
okay that sounds good. then i only have to make it thread safe. thank you!
 
aborts severity exceptions should just break the iteration
 
@mr5 wait....that guy did say he hated globalism the other day....maybe he is Joe
;)
 
maybe. But taking J. Doe seriously is not a good idea
 
mr5
@ntohl yes. you don't have much choice but to call me names
 
you are right.
 
3:37 PM
@ntohl sorry i have one more question
i have extended my webclient with a timeout. depending on the method from my requester class i'm using different timeouts. as the timeout is defined in the constructor it won't work when i reuse the instance
oh god forget it. i got it
too much code today. tired brain. :o
all good \o/
 
I'm a very well trained rubber duck
 
haha
 
4:40 PM
posted on October 25, 2019 by jonskeet

This post revisits the problem described in Versioning Limitations in .NET, based on reactions to that post and a Twitter discussion which occurred later. Before getting onto the main topic of the post, I wanted to comment a little on that Twitter discussion. I personally found it frustrating at times, and let that frustration leak … Continue reading Options for .NET’s versioning is

 
5:00 PM
my coworkers don't know who Kopaka is ;~;
I'm such a little baby kid ;o;
 
 
1 hour later…
Jay
6:12 PM
what's the radiobutton equivalent of checkbox.checked?
 
onselectedindexchanged
 
Jay
oh yeah selectedindex, ty
 
hi
which is easy to run
Linux(Ubuntu) + docker + net core web api
Linux(Ubuntu) + net core web api
don't know if I ask a valid question :/
 
V.7
6:47 PM
Hey all
Could anyone tell why would absolute path in Window.xaml won't work?
Current code is:

<Window.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="pack://application:,,,/Windows/Resources/resource_1.xaml"/>
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</Window.Resources>
.
File exists in project
Says: Error An error occurred while finding the resource dictionary "pack://application:,,,/Windows/Resources/resource_1.xaml". Program dialog_1.xaml 13
 
Jay
just a shot in the dark as I've never used those, but have you tried backslashes instead of forward slashes in that path? Maybe it'll work because that is a local path?
 
V.7
Why you didn't use those? Have you used a trigger in WPF?
I mean, is there any other method to trigger in WPF?
 
7:17 PM
 
user10864482
8:10 PM
@V.7 just a guess but would relative path work?
 
user10864482
I've confirmed with documentation; if it's not a different assembly from a different project it should work;
https://docs.microsoft.com/en-us/dotnet/framework/wpf/app-development/pack-uris-in-wpf

what might interest you is at the end of the page, specifically table 2
 
user10864482
9:59 PM
The last message was posted 2 hours ago.
 

« first day (3296 days earlier)      last day (1653 days later) »