« first day (2081 days earlier)      last day (2869 days later) » 

8:06 PM
"Shoulders were made for greatness"
-This shampoo commercial
 
oh
vs2015 update 3 is out?
 
@StevenLiekens anything good?
 
idk I just found out
jebus... 10gb
 
8:21 PM
We need to negotiate an exit from the deal with Visual Studio
 
Anyone know how to call a customer mvc helper in a kendo grid client template within the condition statement? Like so : .ClientTemplate(@"#if(CodeStatus == 'Discharged' && HTMLHELPER)
 
Should I use the unsigned types frequently in my code if I can use them (for example iterations)?
 
i rarely bother if I don't need them.
if you really want to be pedantic, the unsigned types are not CLS compliant, but I also rarely bother with that either :)
and that only means you shouldn't use them for publicly visible stuff (properties, method signatures, etc)
@TomW #vsexit <~~ hashtag looks sketchy
 
XD
 
8:38 PM
Why do I need an f to distinguish a float literal from a double literal, but nothing alike is used with Integral Types?
 
hi
 
Sure you do.
You've never put L on a long?
 
not really
 
You also need m for decimal literals
 
There's also... dammit
 
8:42 PM
and I believe 'u' for unsigned?
 
Anyone know how to call a customer mvc helper in a kendo grid client template within the condition statement? Like so : .ClientTemplate(@"#if(CodeStatus == 'Discharged' && HTMLHELPER)
 
82
Q: C# short/long/int literal format?

David LivelyIn C / C# / etc. you can tell the compiler that a literal number is not what it appears to be (ie., float instead of double, unsigned long instead of int: var d = 1.0; // double var f = 1.0f; // float var u = 1UL; // unsigned long etc. Could someone point me to a list of these? I'm specifical...

 
There have been times where I needed to stick an L on a constant to make it a long.
Maybe the future will hold a use case for UL.
 
@MichaelEdenfield Nice, thanks
 
40
A: Why c# decimals can't be initialized without the M suffix?

Jon SkeetThe type of a literal without the m suffix is double - it's as simple as that. You can't initialize a float that way either: float x = 10.0; // Fail The type of the literal should be made clear from the literal itself, and the type of variable it's assigned to should be assignable to from the ...

 
8:44 PM
the only time I think I've ever used ul is for interop
 
M for deciMal. Of course.
(I know it used to be for Money. Shut up)
 
of course, var x = 1.0m is clearly wrong.
it should be var x = decimal.One
 
Mmm Enterprisey
 
damn
I learned about surreal numbers today
 
i'm not really clear where there are constants for decimal.One, decimal.Zero, decimal.MinusOne and nothing else.
 
8:46 PM
var two = Decimal.One + Decimal.One
 
var x = {0|};
 
where is decimal.PointFive ?!
 
@MichaelEdenfield var half = {0|1};
 
8:47 PM
It'd be really impractical to have constants for every representable number.
 
what do you call that
what is up with my computer and microsoft installers
 
it's trying to save you from yourself?
 
@mikeTheLiar Together, those numbers have a complex relationship
 
Why is this a double 32e+4 ?
I have to cast it to store it in an int
 
8:54 PM
I bet anything using scientific notation like that is automatically a double.
 
I have some really weird permission issues with my ProgramData directory
 
cackling
 
> real-literal:
decimal-digits . decimal-digits exponent-partopt real-type-suffixopt
 
fake-literals, meanwhile, have a much different syntax.
 
9:28 PM
how did I get pwned this hard?
 
By not using Powershell?
 
user47589
through years of effort and hard work
 
user47589
your whole life has culminated in this moment of pwnage
 
We knew you could do it.
 
how do I recover from that lol
how do you fix permission issues when literally nobody has access :P
 
user47589
9:32 PM
take ownership of the directory
 
okay
that fixed it
 
user47589
another happy ending
 
I have a vb.net project which uses sql database to update a .tps cash register file now the new requirement is that i change the datasource to an xml. so i got a sample order xml file, i used developer command prompt to convert xml to xsd and xsd to c sharp class since i am working with vb.net i converted that class to .vb now the old sql datasource has alots of stored procedures how can i imitate a stored procedure in xml??
 
There is only one person who can answer your question, and they live on top of a mighty mountain deep in jungles half a world away. Only there will you find the wisdom you seek.
 
9:50 PM
oh man
there's linq to xml
but
i feel sorry for you
 
I feel like everything about this is the wrong way to go about this.
 
replacing a relational database with xml doesn't make much sense
 
@CodeMan I actually think you're dead and this is hell.
 
@CodeMan Hah
Hahahaha
HAHA
HAHHHAHAHAHAHAHHAA
 
XML is the anti-SQL
 
10:00 PM
^ you in 2 weeks.
 
posted on June 27, 2016 by Scott Hanselman

I feel like it's the culmination of all these years of work in .NET and Open Source. This is why I came to work at Microsoft; we wanted to open source as much as we could and build a community around .NET and open source at Microsoft. 15 years and the work of thousands of people later, today we released .NET Core 1.0. Take a moment and head over to http://dot.net and check out the download

 
yippee
 
@ we are working on an new ecommerce website
so that website spits out an xml for each order and my application runs in a timely manner to make it look like a cash register transaction
the old website was using sql backend
 
10:17 PM
thanks for all the positive responses :)
 
 
1 hour later…
11:39 PM
rip c#
 

« first day (2081 days earlier)      last day (2869 days later) »