« first day (3144 days earlier)      last day (2022 days later) » 

mr5
mr5
03:03
Just so you know, I've played Alchemist on a ranked game. After 23 mins, my items were BOT, Battle Fury, Radiance, Dagger, Bottle, annnnd Divine Rapier. As soon as I get the DR, I've TP next to a clash, with AM and Medusa on it while I'm casting Unstable Concoction. 2 of my team mates died already and the rest were running for their lives. I'm battling against 3 heroes at that moment. I suddenly forget that I'm casting stun, supposed to direct against Medusa then it hit right back to me. AM ...
Blinked in next to me, next thing I know, our tier 4 tower has been destroyed waiting for the Throne to get destroyed while AM enjoying my DR at 25 minute mark!
 
5 hours later…
08:20
until C# 7.3 I know that you can do `new Delivery(null, null);`
Has this changed now?
What are you trying to do?
Create an object and immediately discard it?
Morning All
@mshwf Ah, I understand your question. C# 8 introduces "non-nullable reference types".
I'm back after a week of stress free break mindbending work dealing with shipping with Amazon Prime
@AvnerShahar-Kashtan I was replying to Wielol regarding his message above, I didn't try the nullable reference type yet
09:06
re-posting:

I forked a repo from GitHub but one branch isn't available, I have this repo forked already before the branch is created
when I fork it again it goes to my fork, without that branch
any idea?
Delete the fork and try again? Alternatively checkout the branch from the fork origin and push it into your repo
Or if you just need to merge stuff from it, merge from the remote branch
mr5
mr5
@mshwf try git fetch
I don't have client repository, on GitHub only
mr5
mr5
Can you invoke a git command in GitHub?
I didn't try before, I don't know if it's possible
mr5
mr5
09:16
Also, how can you view other branches from GitHub?
mr5
mr5
o.O
Are you forking Xamarin Docs?
Is the branch you are trying to find have been pushed from the remote repository?
I've the fork already (aside from the funny side)
it's the first branch : custom-control-contrib
mr5
mr5
Did you create the branch yourself?
No, they've created
mr5
mr5
09:34
It looks like that's the only branches they have
Yes, my fork doesn't have the first one
I deleted my fork and forked again. and the branch is now available
Sorry why are you 1) Forking documentation and 2) Not having client copies of your fork - what's the point in forking if you're not doing anything with it
1) I'm writing an article to be added to the doc
2) no need to a client copy, I'm already writing it down in a Google doc and then will move it to my fork directly from GitHub and then issue a PR
10:01
@Feeds @AvnerShahar-Kashtan am I an idiot, or does this blog post make no sense?
(prolly both, right?)
mr5
mr5
10:12
@Wietlol same. That's not what (the syntax) I am expecting from a nullable-reference type
Does stack allocation exist from a VM point of view?
@mshwf you could directly issue a PR in GitHub without forking actually
consistency
i thought you'd only get one period per month
10:28
ISO 7601 IS BEST DATE
mr5
mr5
10:50
best kind of iso
wow
oh fuck its 8601
I forgot
mr5
mr5
Have you tried using DateTimeOffset?
I still didn't get its use even after reading some articles/posts about it.
I'm kind of accustomed to use a long date+time format back in the days when I'm still doing PHP+MySQL. I always assume that the time is in milliseconds since Jan 1, 1970 (most common epoch). Later, I have discovered that DateTime in C# is not using the default format I am expecting it to be. It defaults to DateTime.Kind.Local
I don't think it's surprising that C# uses the Windows epoch
mr5
mr5
I didn't have any problems dealing with DateTime using my old approach when serializing it from different time zones.
Does Windows have different epoch?
11:05
1601 I believe
mr5
mr5
Now, this answer gave me a total confusion since I always assume that DateTime is in UTC+0000 when serializing it while displaying it in local time.
Actually turns out C# doesn't use Windows epoch
mr5
mr5
really?
Yeah just starts from 0001
See the tables on this wikipedia article
mr5
mr5
I am still really confused why they did not include the offset as a property of DateTime and default its kind to .Utc
but introduce a new type instead to represent it
thus giving me headaches on our recently published project.
@CaptainObvious just when I thought Jan 1, 1970 is the most common epoch. I was wrong agian
 
1 hour later…
12:47
someone do my essays for me
please
my gf is making me do 5 in a week
I'm not sure I'm using the same meaning of "essay" as you are.
noo
essay as in a large piece of writing
but i cba
so shes making me
Unless your GF is your teacher I think you can probably ignore her
13:00
Well, that's bad relationship advice.
@CaptainObvious that would not go down well
Not that I think making your boyfriend write essays is good relationshipping, but ignoring the request is probably just as ineffective.
Probably, but I think if my GF was making me write 5 essays I'd be a bit pissy
they're not just random essays
i need to do them
but im just lazy
13:02
so shes making me
What are they
she made a timetable for me #
so i do them
theyre for my apprenticeship
Are you not capable of managing it yourself?
no
Well that's problematic
13:03
maybe
i havent done any in 2 weeks cause she didnt tell me to
I don't think its her job to make sure you do your apprenticeship
i mean youre right but if i had my way i'd do it all last minute
So you've gotten your GF to be your nanny, and now you're resenting her for it?
13:20
> All of that adds up to “you need to be prepared for your non-nullable parameters to have null values”.
sounds sad
@AvnerShahar-Kashtan no im not serious lmao shes really helpful
i dont resent her shes excellent
hello ppl
anyone here have experienced with openstreet map?
mr5
mr5
13:36
o/
Vue.js or the classic AJAX and jQuery?
13:58
c# man (wpf)
I'm currently having some problems with a C# project I'm working on (in Unity), is this the right chat to ask for help, or should I post it as a normal question on stackoverflow?
That depends. You'll get a lot more eyeballs in an SO question, but a lot less attention from each.
search on google first. Then post.
Avner boss do you have any experience in integrating map
14:15
Not OSM, no.
We're currently using the built-in UWP MapControl to show BingMaps.
does anybody know this new feature in VS
where it shows the variables values next to the statements when you debug
not sure if it's resharper or .net 4.7
@Adan Sounds similar to OzCode's HUD feature.
Googled my problem and nobody seems to have posted anything about it
I also just finished uploadng my project to github
@AvnerShahar-Kashtan it's similar to that
I use a very basic script to move the weel (that works) however the rigidbody/collisions are not really working as they should.
So the weels are glitching due to that
15:10
i assume its resharper, since the other jetbrains products have the same
 
1 hour later…
16:38
i cant insert a breakpoint on a .cshtml file ><
i want to cry
 
1 hour later…
17:38
why
mr5
mr5
when
18:08
nevermind that, is there a function where if i have a month (5) and wanted to go back 7 months in the past, i would get 11
18:19
what happens if you do -2 % 12?
would it solve somehting like: it's 5/2019, go back in time 7 months --> 10/2018
is there a reason to not use DateTime?
nope, im green with datetime
i'l google it, thanks
18:45
Is there a more lag free option then transform.position += Vector3.left * playerspeed * Time.deltaTime;?
As it's still moving for ~1/0.5 seconds when I released the key.
mr5
mr5
Have you tried multiplying against any easing function?
How do you mean?
Something like addForce?
(It's a 2D game btw)
mr5
mr5
It's an interpolation function. You pass the current and the final value then you choose on a variety of easing functions how to achieve it. The common easing function is linear
see easing functions here: easings.net/en
19:01
@mr5 That is CSS
mr5
mr5
I'm expecting you to search for the keyword "easing" yourself. You could have answered your question easily.
Ah, alright, got ya (I searched it with keyword Unity but don't get any promissing results yet, I keep searching ^^)
mr5
mr5
I don't know if there is already a built-in function
It should though since it's a game engine
19:56
I just made a new controller that haves less code, that works but is still experimental for the build.
Linear drag works better with that piece of code.
 
1 hour later…
21:18
hi, why does cloning a github repo where i had project makes it that when i pull they become folders
its just a created a projet for webapi, and another for the Ui in a solution
and pushed it to github
but when i pulled they were folders
because they are just folders, I'm guessing an sln file is missing , or need to be configured
weird enough i have an sln inside it
inside the projects
Did you open the project by double click the sln file?
21:25
no i was just expecting it would be built from the get go when i pull it from github
mightve been a dumb assumption
I'm trying to create an enum of all possible error severities.
Here's what I've got so far:
public enum SeverityLevel
{
    None = 0, Lorem = 1, Ipsum = 2, Information= 3, Warning = 4, Error = 5, Critical = 6, Fatal = 7, Apocalyptic = 8
};
What levels could I add?
it's up to your business logic and your needs, however I see them comprehensive(except 1 and 2)
I just noticed that the staple trace and debug are missing.
I want to create teh error severity enum for all times, all business logics, all nations, all religions !!!
21:42
What is the app audience?
mice, men, gods
I'm not creative at the moment
debug?
trace?
don't combine severity with type?
also, im not sure what you need apocalyptic for
21:47
jira has "blocker"
that is priority, not severity
@NickAlexeev if you want that, dont make an enum
Or a separate enum for priority.
Come to think of it, "blocker" is a more of a relationship than pure data. The next logical question after seeing "blocler" might be: "what is it blocking?"
its blocking the continuation of using the app?

« first day (3144 days earlier)      last day (2022 days later) »