« first day (3587 days earlier)      last day (1366 days later) » 

mr5
8:08 PM
why can't you await it instead?
 
it's a constructor
btw log sais on server side:
Microsoft.AspNetCore.Http.Connections.Internal.HttpConnectionManager: Debug: New connection F4WMbXx6vrgmK61Y3s6uMg created.
Microsoft.AspNetCore.Http.Connections.Internal.HttpConnectionDispatcher: Debug: Sending negotiation response.
and nothing more
 
how can i format code snippets in this chat?
 
ctrl-k
 
thanks
    if (month == 1)
    {
        if (day < 20) return CAPRICORN;
        else return AQUARIUS;
    }
is it possible to write this with ternary operators?
im not sure how to nest and if inside another if with ternary, or if its even possible
 
just inside the outer if?
 
8:19 PM
yeah
so i have the outter if and inside it i have another if
 
return day < 20 ? CAPRICORN : AQUARIUS
 
and how about the outter if?
 
there is no return statement for that if's else clause
yeah. But there is nothing said what to return if month != 1
 
so i would write something like this
    if (month == 1)
    {
        return day < 20 ? CAPRICORN : AQUARIUS
    }
or a one liner
if (month == 1) return day < 20 ? CAPRICORN : AQUARIUS;
@ntohl what do you think? is it a good coding practice to write it like that in one line? or should there be curly braces?
 
9:15 PM
I would do 2 liner
sorry CS:GO in the meantime
if (month == 1)
	return day < 20 ? CAPRICORN : AQUARIUS;
 
 
1 hour later…
10:21 PM
Hi,
did anyone face troubles with VS cmd with 64-bit programs?
I think VS cmd is 32-bit program,
and this caused me a lot of confusion when I compiled C program with it (showing that my machine is 32-bit based m/c)
 
10:43 PM
@AvnerShahar-Kashtan I am processing a specific finance documents and invoices. Every document has gross pay, net pay, paid time off etc., but these forms are not standard templates. some companies use "Regular Salary Current Pay" and some companies use "Reg Sal Cur Earnings" etc., we built a dictionary of one canonical form "Regular Salary Current" and the different representations in the documents are added as aliases
and using Fuzzy string matching, we have 75% success rate in identifying any given text as in what canonical key it is. Is NLP necessary here to further widen the text identification if there is a missing word, additional word which our fuzzy cannot properly score ? do we need some sort of Lexical\stem scoring for words ?
@hazmatsuit I'd rather have each zodiac sign object has month, date and days attribute to it. and based on the given date you just query the sign. writing a large conditional statement for this would be unnecessary
 

« first day (3587 days earlier)      last day (1366 days later) »