« first day (3595 days earlier)      last day (1353 days later) » 
05:00 - 12:0012:00 - 23:00

12:00 PM
@mr5 basic AddRule call didn't crash
 
mr5
@Hozuki very nice place. have you tried walking there at night?
 
sorry for providing a class with more than a string data
 
mr5
@ntohl really? hmm. I think I did something similar last time and it crashed in my case. I can't test now since mac is already off.
 
@mr5 No, I haven't. Seems a little scary.
 
mr5
grab somebody and go camping there at night. seems like fun thing ^^
 
12:04 PM
It's not allowed to setup camp anywhere in the Netherlands, except for designated camping areas.
There's lots of restaurants. The area is huge. Might as well be half of the Netherlands.
 
mr5
what would happen if you go camping anyway? just sneak. ftr
 
You can get arrested.
Pay a massive fine.
 
mr5
'how would they find out?
 
@Wietlol xD
 
mr5
does it have cctvs all over the forest?
 
12:07 PM
Forest rangers.
 
@Wietlol Flame Newtonsoft not us
 
@mr5 how do poachers get arrested?
 
it is everywhere in C# though
 
they get........
poached
 
@Wietlol it's called override tostronq
 
12:08 PM
There are rangers in the forest areas that keep watch on the animal life and prevent people from doing harm. There are also shepherds in the area for the wild life and sheep etc.
 
mr5
@ntohl dunno.
 
@Squirrelintraining except nothing does it, with the exception of exceptions
 
@mr5 rangers...
 
mr5
@Squirrelintraining tooStronk()*
 
errorMessages.ForAll(it => _testOutputHelper.WriteLine(it.Message));
not that hard
 
12:09 PM
I want more than just the message
 
also if you want moar. You will get moar.
 
I just wanted to easily see what data it got
 
Most of our province is nature... visitbrabant.com/en/plan-your-trip/brabant-on-the-map it's pretty huge ;P
 
but I got it now
 
mr5
@Hozuki what if you don't own a car. how can you go there?
 
12:10 PM
errorMessages.ForAll(it => { foreach (var child in it.ChildErrors) _testOutputHelper.WriteLine(child.Message));
 
@mr5 Like foreigners going on a holiday? Public transit works well.
 
ye... how about no?
 
errorMessages.ForAll(it => _testOutputHelper.WriteLine($"{it.Schema} {it.Path} {it.Message}));
 
also, that would just be errorMessages.SelectMany(it => it.ChildErrors).ForAll(it => _testOutputHelper.WriteLine(it.Message))
I will just serialize the error messages and send them back
 
@Wietlol you just have it. In it
 
12:13 PM
but printing it wont help much
 
it's time for Visual Studio to die :D
 
and for Rider to rise :D
 
hides in bunker
 
@Wietlol me do it all the time
 
12:15 PM
I dont use your codebase tho
 
override T0o0Stonk() => "fu";
 
let me rephrase that...
I fortunately dont use your codebase tho
 
@Hozuki do you use newtonsoft json by any chance?
I am wondering if I can deserialize json to my model using the JObject as source
instead of a json string
 
.ToObject<T> on your JToken
 
12:18 PM
ah, that will do, thanks
 
No problem :-)
 
makes more sense than to do the parsing over again
 
Yeah absolutely. Newtonsoft is very well designed so it can do pretty much all of that.
 
I expected JsonConvert.DeserializeObject<T>(jtoken) to work...
but couldnt find anything :D
 
@mr5 yeah. a as RuleCollection<BindableBase> returns null
 
12:23 PM
Okay, posting such a long question here in chat was a bad idea. Is anyone here experienced with LINQ? If so, please look at this code with embedded questions, and see if you can answer some of my questions. The code performs a faro shuffle. Thanks.
 
... I suggest making a SO post.
Your question is long and complicated and... that's what SO Q&A is for.
 
Roel when will you change your name back again?
 
I am Hozuki Ferrari, 13 years old, from Italy. What are you talking about?!
 
@Hozuki Wondering if I should pin that or not...
 
@Hozuki Thanks @Hozuki believe me I wish I could, haha.
 
12:24 PM
Isn't SO Chat FSK 18?
Any1 read the AGB?
 
I don't know~
Maybe.
 
@MyWrathAcademia was that a tripple ping?!
 
When you link someone twice in one message you get a secret sound.
 
I know, but it looks like he linked u 3 times
The arrow + 2 times @
 
@Squirrelintraining the arrow is Techinically one @
@Squirrelintraining take this secret sound. I hope you enjoyed that secret sound @Squirrelintraining
 
12:26 PM
@CaptainSquirrel orly
 
I thoguht the arrow ommits the @
Dang you rite
 
negative
if you post an image it does
 
FYI I got SO chat muted
for obvious reasons
 
well fuck you then <3
 
12:26 PM
 
inb4 flag and ban
 
@Squirrelintraining Oops, sorry about that. Just realized I created music using the sweet sound of pinging.
 
Good point kiearn, this is actually a legit reason to kick you ♥
 
i swear to god
 
12:27 PM
@MyWrathAcademia @MyWrathAcademia no problem @MyWrathAcademia It's really no big deal @MyWrathAcademia
@CaptainSquirrel Why are you swearing to me?
 
uuuuuuugh
i got a double ping then
 
once from my headset plugged into my pc
once from my laptop
 
@Squirrelintraining My laptop is muted, ha. Try again.
One step ahead.
 
12:40 PM
Can some one please tell me if this is a good question to post on stack overflow:
I don't want to get downvoted (again).
 
mr5
nope
kinda hard to follow for me
not sure about others
 
@mr5 You're probably right.
So what part of it is hard to follow?
I have time to fix it.
 
mr5
I'm no expert but I'll try:
1. first, formulate a question what you really want to know. e.g., why is this linq executing first instead of this one. create a very SIMPLE code example.
2. don't put too much sentences.
 
anybody know about how to deal with a broken reference in Visual Studio? I keep being told a custom .dll file can't be opened for writign
tried changing Windows permissions, but that did Jack Schitt
 
mr5
@Freerey stop using local dll as references. use nuget
 
12:49 PM
@mr5 Great, thanks. I see I'm doing too much in one question. I will split the question into smaller questions, and keep the question brief.
 
@MyWrathAcademia probably needs more isolation
make a snippet that Wietbot understands
(I do assume you wont accidentally use Wietbot's hidden C# library)
 
@mr5 this is a company-built .dll; we can't use nuget
 
@Wietlol I don't know how to use Wietbot. How do I pass my question to wietbot?
 
@Wietbot hi
 
I have no clue what you meant right there. You can use the listCommands command to see all my commands.
 
12:56 PM
your code snippet, to me, looks like it requires way too much background information
 
you suck
 
mr5
@MyWrathAcademia you can actually but you will need more time. where do these dlls are located though?
 
create an mvce
 
@Wietlol Yes it does. Context is important here.
@Wietbot what's my name?
 
I have no clue what you meant right there. You can use the listCommands command to see all my commands.
 
12:57 PM
@Wietbot what is his quest?
 
@MyWrathAcademia why is it though?
 
mr5
microsoft valuable chloroform entertainment
 
@Wietbot listCommands
 
evalJs, evalKotlin, evalNode, evalCSharp, evalSql, hangman, abbreviation, listCommands, join, leave, refresh, shutdown, barrelRoll, slowpoke
 
12:57 PM
@Wietbot what is the windspeed velocity of a swallow?
 
I have no clue what you meant right there. You can use the listCommands command to see all my commands.
 
@Freerey an african swallow or a european swallow?
 
Uhh...I don't know that!
 
@Wietlol Thanks, but christ that suggests it will take time to ask the question I need to ask.
 
I have no clue what you meant right there. You can use the listCommands command to see all my commands.
 
12:59 PM
@MyWrathAcademia I suspect you want your issue resolved
 
throws the bot over the bridge
 
and I suspect people wont spend much time trying to help a random stranger on the interwebz
so, it is your job to be as informative and as concise as possible
 
Well if you don't put in the effort to make a quality, easy-to-read question, why would I spend effort to try and answer it?
 
isolate your problem to the minimal, verifiable, complete example
 
Back to the drawing board.
 
1:00 PM
it gives you the best chance of getting people to help you
 
And often when you create a good reproducible question... you answer your own question.
 
make it run in a sandbox, like Wietbot or dotnetfiddle.net
@Wietbot evalcsharp "but if you do use wietbot, then please head to the sandbox room to avoid spamming the C# chat"
 
but if you do use wietbot, then please head to the sandbox room to avoid spamming the C# chat
 
did you know every knight in runescape is a pun?
 
mr5
I was a good asker back then (scroll to bottom) stackoverflow.com/users/2304737/…
 
1:02 PM
Sir Vyvin -> Surviving
Sir Amik Varze -> Ceramic Vase
Sir Prysin -> Surprising
Sir Tiffy Cashein -> Certification
 
are there only 4 knights in runescape?
 
no there's way more
 
mr5
what is ruescape
 
> Narnia: The lion, the witch and the lack of education on this b*tch.
 
!~shiba
 
dont you eat all those plants again !
 
JsonSchema: We support regex on strings!
also JsonSchema: Your valid regex is not supported.
 
runescape actually also has the official knights of the round table there, so really it's just the original characters who are puns
@mr5 some awesome medieval-themed clicking game that's been going on for 19 years
 
mr5
do u guys find the need to turn of your pcs at home?
 
remember the "dank memes elf?"
 
1:11 PM
I dont member that
 
mr5
nobody even knows dat
 
you kiddin me?
 
mr5
assuming there's no co2 to consider.
 
it's beautiful
 
mr5
lookslyk samting frm minecrafy
 
1:15 PM
well runescape is kinda like Minecraft...let you do pretty much anything and it was also coded in Java
you can actually get it on your phone now for free
 
mr5
this was from my GUI library made in C++ and OpenGL
I'm trying to imitate the Windows XP UI behavior
like, if you click on that exit button, the bottom-left and top-right borders would switch colors to have a "click" effect or haptic feedback
 
lul it's the guy Lightning pushed to the finish line
 
mr5
is it the enemy?
@nyconing do you play diablo3?
anybody here have intel GPU? have you tried updating to their latest driver?
last time I update, my PC becomes wonky, freezes momentarily.
I needed to rollback to older version
 
1:31 PM
@mr5 my laptop is an Intel Iris Plus GPU
 
no i dont...
I play nintendo switch the most
 
>Intel
>GPU
that's rough buddy
 
only gtav on my pc currently
 
I've had problems with the GUI windows locking but I assumed that was a MacOS issue.
 
mr5
@nyconing pls try diablo3
 
1:33 PM
Intel is actually screwing up big-time right now; their "next-gen" processors won't be able to run the new Nvidia cards
4 short years ago they were the go-to chip manufacturer; now it's AMD
 
mr5
I've heard alot of people are actually switching to console nowadays. I probably need too since it's kinda stressful seating all the time while playing
@MyWrathAcademia oh, you can update drivers separately in mac?
 
yeah, consoles have a lot of attention atm cause of the new ones coming out -- which are supposedly gonna surpass PC power for a few years
 
mr5
I was also thinking of switching careers
from mobile dev to game developer
but Math is my enemy
 
mobile dev, eh? I once wanted to do that
I still wouldn't mind learning how, but I've heard nothing good about Xamarin
 
You don't need much math in game dev @mr5
@Freerey I'll praise it then. Xamarin is fucking glorious and I love it.
 
1:38 PM
what's good about it?
 
mr5
@Hozuki well, when I want to learn something, I try to dig to its core as much as I could. Not understanding how the internals works, for me is a not good thinking.
@Freerey it's starting to stabilize. at least, when you want to do Xamarin, code in Mac environment. It's much easier.
 
@Freerey You can share in most .NET code. Everything you know, from Newtsonsoft.Json to whatever libraries you use. You also just write in C# rather than Swift or Java/Kotlin. Everything you know transfers. You can share code between Android and iOS. I love it.
 
@mr5 I listened to your comments, and split that big question into smaller questions. Here is the first question. Is this better?
Why is the second from clause not executing in the following LINQ query?
var startingDeck =
                                (from s in Suits().LogQuery("Suit Generation")
                                from r in Ranks().LogQuery("Rank Generation")
                                select new {Suit = s,
                                            Rank = r}).LogQuery("Starting Deck");
Log output:
Executing Query Suit Generation
Executing Query Starting Deck
 
mr5
@Hozuki I even try to dig how trigos (cos, sin, tan, ...) works in code, but shit I cannot understand it.
 
... Yeah don't do that.
 
mr5
1:41 PM
like, how do they even come up with those formula
 
I do know the main appeal of Xamarin was to code in one language and it just works on other platforms; I've just heard it's super clunky
 
@mr5 I don't really know. I recently switched from Linux so I'm not sure how Apple updates drivers. I think it's automatic.
 
mr5
@Freerey 3 years ago it was. also, don't use Xamarin if you intend to make games or heavy duty stuffs.
@MyWrathAcademia much much better.
 
There are very little 'heavy duty' or 'games' that won't work in Xamarin or hell, even JS.
The notion of Xamarin/JS being too slow is a relic of the past.
 
@mr5 great thanks. Do you think I need to include the definitions of Suits, Ranks, and LogQuery in the answer?
 
1:44 PM
I actually remember around the time ms announced how much easier it would become to develop Android and iOS from C#, with the intent being that people could remake android/ios apps in Windows Phone
 
Yeah, we actually did have a windows phone version of our apps at the time.
It was awful.
 
mr5
@MyWrathAcademia hmm not really. you can also try the technique of making the context of your code less specific to your work, something that is very popular. in this technique, you just substitute those pseudo names later with your actual code in mind. I'm not saying it's better though.
@MyWrathAcademia btw, is LogQuery your own extension?
what was that LINQ variant called again?
I prefer the concrete version.
 
@mr5 Yes LogQuery is a custom extension method.
@mr5 Can you rephrase your question?
 
mr5
linq1: from s in Suits()
linq2: Suits().Seleet(e => e)
 
linq1 is query syntax
linq2 is method syntax
@mr5 You prefer method syntax.
 
1:58 PM
What does Int stand for in IntPtr, it's a generic pointer (not exclusively pointer to an integer value)?
 
@mshwf I think it's just a pointer that is a 32 bit integer value. Someone correct me if I'm wrong.
 
2:11 PM
@MyWrathAcademia this is an IntPtr obj :0x000002caef408200 on my 64 bit m/c
I think you are right (docs):
> The IntPtr type is designed to be an integer whose size is platform-specific. That is, an instance of this type is expected to be 32-bits on 32-bit hardware and operating systems, and 64-bits on 64-bit hardware and operating systems.
 
@mr5 The awful way of writing it. ^^'
fun fact, if you need to know if you're running in 32 or 64 bits, check IntPtr.Size. If its 4, you're on 32 bits, and if 8, on 64 bits
 
mr5
@mshwf I believe the pointer holds a memory location that can be represented / hold the same way as integer.
@Hozuki if I were to line up my definition to yours, it's assumed that Integer memory layout changes per architecture.
is there an Integer type in C#?
oh there seems not
didn't read mshwf comment lul.
 
Isn't an Integer supposed to be exactly as big as the bitness of the CPU? C# just fucked with that concept, making the keyword a 32bit number?
 
2:33 PM
I never managed to BYOM to the OpenAPI thing
Couldn't get it to play nice with the auto build thing
So now I have this insteadf
 
@CaptainObvious What language is that?
 
Ew VB
Whats BYOM?
 
Bring your own modwel
@MyWrathAcademia VB.net. C#'s retarded inbred cousin
It's apparently a thing but actually getting my client lib to include the models wasn't working, and I wasted a day basically trying to do it
Eventually I just thought "fuck it, I'll just write all the automapper maps"
It's only Temporary™ anyway.
 
> Note, this may not apply to all languages...
 
what is "bitness" of a cpu
 
2:48 PM
Anyone ever come across code that makes you decide that whoever wrote it needs to be drug out into the street and publicly flogged?
User identifiers, set into the session at login, being passed to the front end and then passed back to the back end, and used there.
 
@ABuckau The number of its pins. The width of one address of memory addressable by the CPU.
With 64 pins, a CPU can address all addresses from 0 (all pins low volt) to 2^64-1 (all pins high volt)
Someone correct me if I got the maths wrong there I'm frustrated because my Workstation is fucking with me again
 
u mean 48 then? strange size for an integer
 
@Squirrelkiller it used to be in C
int = based on machine
int_32 = 32 bits
int in C# is Int32
 
show me a cpu that supports 2^64 bytes of memory
-1 *
its for backwards compatibility (?) too many people relied on the fact that it was* 32 bits..a change now might break things. just a guess.
 
3:01 PM
Ok I have to amend that: can *theoretically address all addresses from 0 to 2^64-1
 
try again
 
FFFFFFFFFFFUUuck data
@Squirrelkiller guess who is sitting opposite of me
 
3:20 PM
@Hozuki lol Windows Phone apps were literally just...
"main page, swipe left or right to go to other menus, and here's our excuse for a hamburger menu that swipes up from the bottom"
it was the same thing as what Windows Media Center and Zune did, but on a different axis
still wish WP had more support cause it was a legit cool platform with some very forward-thinking designs -- like how the livetiles made it so you didn't even have to open the app
I'm think Fuschia OS is trying a more modern version of what WP did for its home screen
 
4:22 PM
Our company app was actually fully functional for a while.
It was on-par with iOS and Android. Customers wanted it pre-purchase (but nobody ever used it).
I was the only user being an avid Windows Phone user :D
 
 
2 hours later…
mr5
6:09 PM
@Squirrelintraining your crush?
 
6:45 PM
@ABuckau I do know a language that supports big integers
the syntax for integers is i32
for bytes, it is i8
i16 for short and i64 for long
but... it also supports other number of bits
like i1, i7, etc
whatever suits your need
the number must be in the range of 1 and 4294967295
so, i4294967295 is a perfectly fine integer
it is a 512MiB integer...
 
@mr5 I had something else in mind based on the title and thumbnail
 
mr5
the first video is fucked up
the second one is wholesome
@Wietlol plz no creepy
 
6:53 PM
 
7:07 PM
anybody ever opened a bootstrap model from codebehind?
every solution I've seen online is wrong
 
 
3 hours later…
10:01 PM
 
@Feeds Shut It!
 
10:51 PM
MY CABBAGES!
 
05:00 - 12:0012:00 - 23:00

« first day (3595 days earlier)      last day (1353 days later) »