« first day (3589 days earlier)      last day (1350 days later) » 
05:00 - 14:0014:00 - 21:00

2:08 PM
no, its not !
calm down
I got this
 
Jack, pathetic
 
Seeing zu guys
Bye byes
 
boyobye
 
bye
 
2:22 PM
She has a loooooong neck
That's even if it is a she
 
perspective is a bitch and so am I, the world owes me so fuck you!
 
Looks like a horror version of Misty
 
@Squirrelkiller You uncultured swine.
 
2:39 PM
there is nothing cultural about anime
other than it was invented so people would forget about japanese atrocity in ww2
 
Wait is she the giant from Seven Deadly Sins?
Haven't seen that one in years, only watched seasons 1+2 when they came out
Saw there are two more seasons. Time to continue the journey.
 
They were rather worthless as our allies
:(
pearl harbor was the only thing worth a damn
 
anyway
 
AAA
Can someone explain to me like I'm 5 what 2^31 actually means?
TLDR; what does ^ mean in mathematics
 
2:51 PM
means power
 
AAA
Thank you
 
!~>Math.Pow(2,31)
!=>2147483648.0
 
2^31 means the amount of time we have before y2k happens again
 
AAA
Is the y2k problem specifically related to just programming? Seems interesting.
 
2:59 PM
soon we have y2k38
 
AAA
lol
 
actually what nyconing said wasn't a joke :P
but yes y2k was a problem where the old systems couldn't keep track of time anymore because they only saw the year as two digits. the reason why they were done that way is because old punch-in cards were cheaper to work with if they skipped two of the digits in the year number
some programmers kinda cheated when fixing this problem and simply flipped a few bits around...so once 2020 came around, some systems failed, like the local registers in my town
 
AAA
I see, thanks for the history.
 
3:25 PM
Is there a generic type constraint for when T has to be a number?
 
man windows 10 is a mess
i wish i had my old win 7 pc back
its like ms developers got dumber with time
maybe its because of all the outsourcing to india
anyway
probably what happens when ppl start developing that used to work on a farm
 
AAA
lol
I still have Windows 7 on one of my laptops I haven't touched for a while.
 
rant ended
 
AAA
I stopped using Windows in 2019 for this reason, Linux is so much better.
The update system is what annoyed me the most.
 
of windows 10?
yes its anoying af
 
3:40 PM
@Sidney are you talking about in a dictionary?
 
@Freerey I mean kinda. I'm creating a generic type -- I want the <T> object to be a number -- int float byte decimal. I tried the "just use all the types that apply to a number and do your best" option that a lot of answers from 2010 offer, but that means I still can't do a lot of number like things (like addition of subtraction).
 
@Sidney tl;dr no, there isn't
 
#sad
Very unprofessional nasty language.
 
I'm trying to remember where I last made a dict, but oh well
 
@Hans1984 and yet somehow Microsoft has missed out on hiring you, funny how that works
 
3:56 PM
@nyconing only for people living in the 20th century...
 
mr5
@MikeTheLiar stackoverflow should really consider posting this meme in the home page xD
@Hozuki did you start developing at 1?
@CaptainObvious C++: am I joke to you?
 
posted on August 13, 2020 by ericlippert

Today we will finish off our implementation of Hensel’s QuickLife algorithm, rewritten in C#. Code for this episode is here. Last time we saw that adding change tracking is an enormous win, but we still have not got an O(changes) … Continue reading →

 
4:13 PM
 
@Sidney generic number stuff is very difficult
I mean... in Java, we have Number, which is a supertype of Integer, Long, Float and Double (and iirc, BigInteger and BigDecimal), but it is still very limited
the problematic thing is the behavior and contract
consider an interface
interface Number {
    Number add(Number other);
}
now, you can make a class (or struct) out of that like an integer
public class Integer : Number {
    public Integer add(Integer other) { ... }
}
but that is not a good override
the implementing class would have to do a cross implementation, based on 2 implementing classes
doing:
int + int
int + long
int + float
int + double
int + decimal
int + BigInteger
int + BigDecimal
and then all the others
you cannot use something like "thistype" or whatever in parameters of functions
for various problematic consequences
so far, there are 3 common approaches
1, dont care: do not make a common interface, do not try to outsmart the system, just handle it differently
2, use a single type (like Number in Javascript would be the equivalent of double in C#)
3, make an abstraction for your particular use case, provide adapters for each type you want to support
 
....
I'm leaning to 1.
 
1 is probably the intuitive approach
what do you need it for?
 
4:29 PM
It looks like you can write your own interfaces that include operators now stackoverflow.com/a/6603955/1015495
 
I have a set of points, one is a literal set of points on a grid, another is a set of points by percentage (as in (.5,.5) on would would be 50 of the fill size of the field).
 
So technically you could write an IMathable interface and use that as a type restriction but it's still not going to get you what you want
 
I'd like to run the basic operations (width = right - left) in the generic class, but since I can't restrict the generic definition to integers.
 
At which point you've basically created your own class definition anyway, because you can't change the definition of numeric primitives to be IMathables
 
Mike's solution is closer. I could do public class mathableInt : Int32, IMathable
but no, if someone screws it up it's there problem.
 
4:32 PM
I wouldn't call it a good solution, for the record.
 
@MikeTheLiar first they hire the dummies so its your turn first
dummy
 
Joke's on you, they rejected me for not having enough farming experience
 
you couldnt even do the farming job
is that what you are saying?
 
I can at least learn how to use a new operating system
Which is more than can be said for you, apparently
 
thats not the point
but i guess thats above your mental capacity to grasp
 
4:39 PM
WHY CAN'T I HAVE MY WINDOWS 95 MACHINE BACK
WHERE'S THE DOG
 
yeah win95 was atleast very stable
 
I think I've got a copy of Microsoft Bob lying around, if that's more your speed
 
well somewhat..
 
it was also a pile of shit
 
@MikeTheLiar I dont think you can afford to lend it to anyone
its much needed by you
 
4:41 PM
Oh I've got my own copy, and a backup stored at a secure, offsite location, don't you worry about me
 
fair enough
anyway enough of that
 
5:17 PM
remember that pic I showed earlier with the mobile site and how it had those awkward gray borders?
the official site as it currently is has the same problem, but only on one side
 
 
2 hours later…
8:09 PM
Hi
i'm really new to the chat thing in SO
are we able to ask for help in chat on a open SO post?
 
@Speedy Welcome to the chat. Well, if the technical problem in question is takes a while to explain then it would be better to open an SO post with all the details, and then wait for people to respond to it.
 
i did open an SO post yesterday
 
However, if it's simple questions like opinions or review on a new IT technology
then just ask here
 
oh ok
 
if you post the link here to the specific SO post in question then paste the link here
then people might answer
 
8:20 PM
@cr
@crazyTech thank you
0
Q: Identity UserManager CreateAsync does not write to database

SpeedyIt doesn't give any errors or warnings but it doesn't insert in the database. Seems like it's only in memory. Also UserManager's FindByNameAsync can't check users already created in the database, probably for the same reason. Here is my Controller: public class AccountController : Controller ...

 
Since it's Microsoft technology-related, I would also open a post on: social.msdn.microsoft.com
 
oh ok cool
will do
 
05:00 - 14:0014:00 - 21:00

« first day (3589 days earlier)      last day (1350 days later) »