« first day (2425 days earlier)      last day (2538 days later) » 

4:05 PM
@TomW reviewing the information you provided and information I found, I used this guide (c-sharpcorner.com/UploadFile/97fc7a/…) and found it to be a good foundation to build off of. I tested it and things are running well so far in debug. I think my next step is to figure out how to deploy it/or whatever I need to do to have it run (not in debug mode) so I request against the api while I'm in debug mode with my mobile app.
 
i think the real problem is that robots aren't slaves
robot lives matter
 
@TomW Any suggestions on deploying/running outside of debuging would be appreciated. I haven't researched or dug into that much yet though.
 
user7480455
hi all mvc question
 
And so it begins
 
he can come in and chat all he likes
but he isn't asking questions without unignoring 90% of the room
 
4:14 PM
@KamilSolecki props are passed internally. So just accept props in the constructor and pass them to super
 
@rlemon thing is, to render my component using react.net, I need to call @html.react. And it asks for props.
 
Alright
@007 Last time we spoke we agreed no more questions until you reconsider your ignore list
 
user7480455
hi yes
 
The people you ignore are likely the one who will answer you
 
user7480455
i did not ask
 
user7480455
4:18 PM
i was about to ask a question
 
6 mins ago, by 007
hi all mvc question
 
user7480455
yeah but I was asking Kamil
 
"hi ALL"
lmao
 
@007 You are in a chatroom. When you speak to the chatroom, you ask everyone.
 
^
 
4:19 PM
Also, you did say "hi all"
 
user7480455
as I said to you before... the people I have ignored are kind of rude
 
user7480455
I see
 
user7480455
ok
 
user7480455
fair enuff
 
user7480455
sorry
 
4:20 PM
just unignore us man
i was never mean to you except to kick you
 
To the room, I've been observing some... less than nice behavior towards specific users in the room. I'm asking you to behave nicely and professionally towards everyone.
 
I've answered probably 5-6 of his questions while on ignore
I just chuckle to myself
 
Specifically: Bullying a user, even if you think they're vamps and trolls, is unacceptable.
11
I suggest you start anew, @007, and remove the people here from your ignore list.
 
user7480455
the people I have ignores are harsh madara
 
user7480455
I dont think I should be forces to talk with them
 
4:21 PM
@007 Give them a second chance, and they'll give you one.
 
yes plz
 
user7480455
i see okay thanks
 
Maybe the room should let you know when someone has you on ignore. An icon or highlight around their posts or something.
 
the ignore feature shouldn't hide the messages, maybe just blur them or something
not seeing a handful of messages on the screen is really derailing to a room convo
 
user7480455
but they know they are
 
user7480455
4:22 PM
I took them off ignore for a while and they say harsh things so they went back on
 
Note, consider my request above as a moderator warning. Bullying will not be tolerated, especially from room owners.
 
i've never said a harsh thing to you :) I'm ignored because i kick you for asking the same question for a long time, because you have ppl ignored
 
user7480455
understood sir
 
I don't want to use superpowers, but I think things have gotten a bit out of hand with this
Clean start, agreed?
 
agreee
 
user7480455
4:23 PM
sure
 
kk, uningore meh
yes im unignored XD
 
and start spelling JavaScript properly
 
user7480455
I have to keep the bot ignored
 
user7480455
as aked by my superiors
 
...I didn't think you had superiors
or am i thinking of someone else
 
4:25 PM
he works for a foreign gov't
secret spy stuff i bet, but i'm just guessing
 
user7480455
please dont saything you dont know
 
Maybe the problem is with @007's definition of "harsh"
 
sorry sir
 
That was the whole point of the word think
 
now, ask your mvc question
 
user7480455
4:26 PM
im fine sir
 
What is a "vamp" in that context?
 
people who constantly ask for help without putting in enough effort to solve the problem before asking
 
I was curious about the term vamp in the context of SO as well, but I felt I would look like an idiot asking lol
 
google "the help vampire problem", it is well defined.
 
user7480455
yeah it seems like here you need to know the answer before you ask is how I understand it
 
4:28 PM
I have this method that I'm trying to prevent users to reprint a voucher for the month of June again. Right now it reprinting a voucher for June and July.                            public static Tuple<int, int> getNumberOfVouchersIssuedAndRemainingForPeriod(int participantID)
        {
            var vouchersRemaining = 0;
            var voucherCount = 0;

            using (var db = new NextStepDataDataContext())
            {
                var participant = db.Participants.FirstOrDefault(p => p.ParticipantID == participantID);
 
user7480455
it guess it is to confim your thought about your question?
 
@rlemon Ah! I see.
 
@007 dont restart on a bad foot :)
 
user7480455
no bad foot but that what I thought you guys meant
 
@007 No, asking a question in a certain way can easily show you haven't put any effort into figuring out the problem yourself. Constantly spoonfeeding answers to someone makes bad developers.
 
user7480455
4:29 PM
but its okay I see your definition I had never hear the term before coming here
 
user7480455
now I know..
 
bloop bloooop
im a bad mamma jamma
somebody needs to talk to steve
aw :( ok
 
rekt
 
yea :(
completely
do any of you play overwatch? or NHL?
oculus rift?
 
@Steve'saD Overwatch ftw
 
4:37 PM
woo
fav character?
 
Widow/Ana
 
gross
 
:D
git gud or git rekt
You?
 
I occasionally play LoL/CS:GO, but rarely anymore.
 
lol i like mercy, junkrat and soldier 76
also, that one girl
 
4:38 PM
I can't for the life of me hit anything with Junkrat or Phara
 
robot girl, can't recall her name
 
What makes things worse is that Junkrat is essentially "spam m1 and blow everything up" kinda character
 
Diva?
 
@Steve'saD Orisa?
 
yeah diva is awesome
 
4:38 PM
D.Va?
 
orisa is cool too
i like junkrat because it moves entire groups
 
I've stopped playing comp
 
even if you don't get a high number of kills
 
The toxicity levels are too high for me.
 
oh
lol yeah
 
4:39 PM
You can't carry a team on Ana, no matter how good you are
And while you can carry on Widow, the salt in your team when you pick Widow is astounding.
 
I haven't played Overwatch - but League is legendary for its comp. toxicity.
 
i carry teams with mercy
as long as they group up i'm good
it's the shitty teams that all think they're rambo
and go try to fight by themselves which engrage me
 
So I get the feeling, if I ever play a League comp (ranked) match. I ensure I'm in a very 'detatched' mood so I don't rage and start hitting my desk.
It scares my dogs when I get mad and shouty at my computer screen lol
 
lol
it scares jesus himself when i get angry
 
user6845426
Anyone here use Visual Studio IDE on Mac?
 
4:51 PM
ring ring
 
can somebody give me a dism equivalent of aspnet_regiis -ga server/user ?
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Aspnet_regiis.exe -ga server\user
 
can you access a folder location on a server from a client machine from command prompt?
 
yes
 
user6845426
When I'm trying to create a new .NET core MVC website, I'm not getting the pre-set bootstrap homepage... instead I just get blank files. Anyone know if i'm missing something??
 
yep
 
4:57 PM
I am on the client machine
 
//network-path-stuff-or-something
 
I want to give modify permissions to TEmporary aspnet folder for a particular user account
Windows 8 is pain in the ass
 
See kids, this is why comments are important.
string ciControlId = "C|^" + patientId + "|^" + caseSeq;
I have no idea why I put those characters around the patientId a couple months ago
 
sonds
like
regex
 
@Steve'saD how regex sounds
 
5:00 PM
That string is being fed into a user defined property of a user control
as an identifier
 
@codebrain chinese-ish-y
 
I hate my production support team -_-. They give my admin account permission for a folder, but not my main account. I need permission for my main account so I can push my application but they will not allow non-admin accounts. So stupid.
 
user7480455
hate is a harsh word Kramb
 
Indeed. It's what I was aiming for ;-)
 
user7480455
5:04 PM
harsh!
 
sharh
!hsrah
 
They should have a way to mimic a user with credentials in the Windows environment.
While logged in as another.
 
user6845426
why did i buy a mac
 
Social pressures
 
because you touch yourself at night and jesus notices
 
5:07 PM
@dipper You don't need the templates really.
Unless you need a layout template to reference
 
Its a pain if you have lazy Infrastucture Team who wants a screenshot in the mail for everything.
 
@ndugger
 
Okay, I figured out how to do it. Yay for workarounds
 
s/work/wrap/
 
If you run task manager as an administrator, then click File>Run>Browse you can access all of the required folders.
 
user6845426
5:24 PM
@Kramb I liked the bootstrap start page because it gave me a good starting point. I'm not too familiar with asp.net so it helped me a lot
 
@dipper .NET Core?
 
user6845426
uhhhhh
 
user6845426
I think so
 
user6845426
On Windows, I used to just make MVC and it loaded the home page
 
Yea, I don't know anything about iOS so I'm not sure if the configuration is different for new projects
 
user6845426
5:27 PM
They've only just bought out the full IDE on mac so im guessing its just not there yet
 
user6845426
I wanted to try and give it a go and see if its any better than using php
 
user6845426
the constant $$$ depress me
 
user6845426
<3 <3
 
That's the default Layout for .NET core
 
5:59 PM
the other day
i was driving my jeep down a back road
it was dirty, dusty, and the day was coming to a close
 
is this a euphemism
 
in the corner of my eye i saw something suspicious through the dust clouds billowing up from my tires
it was a baby deer
how dare that baby deer be on my road
so i promptly applied the brakes, put my jeep in reverse
and ran that america hating son of a bitch bambi over, and sent him back to the depths of hell where his soul belongs
 
lmfao
 
some days are like that
 
I want to do something I know I'm not really supposed to do. I want to update the "Assembly Title" of a "client" exe at run time from another "Loader" exe. The pattern would be Loader -> change client's Assembly Title -> launch client. Both exe's are mine.
This is basically just to see if I can provide more info in the Task Manager.
 
6:04 PM
Assembly Title?
the name of the running program?
 
Ya, the Task Manager reads the "Assembly Title" that you set in AssemblyInfo.cs (or .vb or whatever)
The program would be changed before it was run though.
 
Sounds like you need to recompile it, maybe with System.Reflection.Emit or something
 
Ug. Thinking about what I just said...
That would mean still creating a new file each time
I might as well just copy the original exe and change the file name. At least that way it will show up different in the Task Manager.
@KendallFrey, I'm pretty sure you're right about that. But that would still mean I'd need a new exe each time and, since this exe will be run a bunch of times concurrently, I'd still have a bunch of files sitting around, unable to be removed until their process was killed or ended.
Anyone know if any of the available columns in Task Manager|Processes can be updated to indicate a description at runtime?
OOH! There's a Command Line column. That's all I need!
Sorry to subject you all to my internal conversation
 
user7480455
Good convo!
 
user7480455
I enjoy... please continue
 
6:14 PM
OK
Now I can have my "Loader" exe launch the "Client" exe with the command line parameters to identify it (the Client needs some info on startup anyway). This will mean a person could view the Command Line column and distinguish one Client instance from another (if need be) AND so could the Loader. Thus allowing the Loader to discover any running Clients when the Loader is started.
That's pretty much the end of that convo.
 
user7480455
THank you much that was enjoyable
 
user7480455
i was able to read that and enjoy my tea and biscuit..
 
user7480455
6:39 PM
here is a question for some one that may know... in the java script is there way to step down a date value.. like subtract a day from the value? currently the application ha s ADATE: $('#DATEFIELDA').val() the following was tried but does not seem to work ADATE: new date($('#DATAFIELDA').val(-1))
 
6:59 PM
You can do new Date(new Date().setDate(new Date().getDate()-1));
When someone is free, can you review this to make sure it looks okay. I feel I am biased and have been staring at it for too long.
 
user7480455
hi kramb... but I already have a date value..
 
user7480455
I just want to subtract a day from the value that was selected by the user
 
7:14 PM
var selDate = $('#DATEFIELDA').val();
new Date(selDate.setDate(selDate.getDate()-1));
@007
 
this is javascript?
 
yea
wait, which?
 
user7480455
Ah ok
 
user7480455
I will give that a try!
 
user7480455
as I was trying it all in one statement... just so odd how wrong syntax compiles
 
user7480455
7:18 PM
thanks!
 
np
 
7:28 PM
I created asp.net mvc web app web api. Now that I've tested it, a next good step is to deploy it to iis and have it run on my local machine outside of Visual Studio, right?
 
Sure
 
user7480455
7:46 PM
Hi Kramb I am getting an error for the browser debugger tools
 
user7480455
MYDATE.getDate is not a function
 
user7480455
I check to see if gateDate was case dependent... but I am not finding any write ups on that
 
@HappyCoding yea
bloooooooooooooooop
bloooooooooooooooooooop
!!> let list = [1,2,3,"4",5]; list + list - list * list;
 
@Steve'saD "NaN"
 
idiot crap, it's obvious it's list&2
 
7:59 PM
Yo... got a question about UWP icons
 
an astronaut, a milf hunter and in his 90's a programmer
our james
 
Ish... not into milf :P
 
user7480455
what is milf?
 
Mother, I'd like to f***
 
user7480455
oh wow
 
user7480455
8:04 PM
birth mother???
 
That'd be incest...
 
It's used in respect to women outside of your family @007
 
Mother, I'd like to write web api with
 
What Kramb said ^
Given Guidelines for tile and icon assets, do I need to export for each and every size?
 
user7480455
young people have so many things... how do you keep up with it all and your programming work??
 
8:06 PM
Sit in front of the screen all day? :D
 
LPT: Be young
 
user7480455
well i dont wantto milf any mothers outside or inside of any families...
 
...
What about dilf? :P
I wouldn't...
 
user7480455
no
 
Does anyone know of icon requirements for UWP?
 
user7480455
8:09 PM
Kramb not to blood suck or vampire you.. but I am having no luck with that getDate function have I missed a critical piece
 
That's what I'm trying to follow.
 
@007 What input type is your DATEFIELDA?
 
@Kramb I'm just a little curious if there was a faster way to go around creating icons or do I need to export one version for every size and scale? The scales and sizes are listed in Guidelines for tile and icon assets
 
user7480455
I read something that said make it .todate
 
user7480455
this is the site I am on
 
user7480455
when I do this moment($scope.user.birthdate).toDate();
 
@Sometowngeek I would assume that you would have to export each one because the padding changes with the size.
 
user7480455
but i am realizing in need something call moments
 
@007 moment returns a date on it's own.
oh, yea you need moment.js
 
user7480455
8:13 PM
the browswer debugging tool reports : Uncaught ReferenceError: moment is not defined
 
Hrmm... I think the padding scales proportionally because it is supposed to be 76% of the height/width.

Anyway... I was just curious.
 
@007 Do you have moment.js referenced? Or even at all?
 
user7480455
no
 
Make the reference! :P
 
Well you would need that to make moment work
 
8:14 PM
jquery will not work without jquery.js reference, and the same applies to moment :)
 
user7480455
oh my I have bit off more then I can consume... ok... I will make these notes
 
All you need is <script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.18.1/moment.js"></script‌​>
 
user7480455
ok thanks kramp I will add that into the comments
 
You have successfully managed to spell my name 3 different ways today. lmfao
 
user7480455
This application has to go back for other correction anyway..
 
user7480455
8:17 PM
did I?
 
user7480455
sorry
 
haha no biggie, I'm used to it.
just messin
 
I only see two deviations. O.O
 
user7480455
sure did so sorry I have chatting with the programmers at the same time so too many things going on for this old mind to process at one time
 
Earlier he said krumb haha
 
user7480455
8:18 PM
its Kramb! got it locked in!
 
user7480455
wow so sorry mate!
 
It's probably better than Krabs :P

v.V.v
 
Hey I've heard just about every variation you can think of.
On my wedding day, the pastor said Krahmbee (phon.)
 
Is that you real name or nickname?
 
Last name
 
user7480455
8:23 PM
lol nice
 
The proper way to pronounce it is Krahmb. Right?
 
user7480455
my last name is tough too
 
It's like Lamb
 
user7480455
thats what I thought
 
Lamb it is! :d
:D*
 
8:24 PM
haha
 
facepalms realize how to do the icons now. ok
 
Kramb the Lamb!
 
user7480455
yeah your callsign if you were a fighter pilot would be KrambLamb
 
KrambLambCrab?
v.V.v
 
user7480455
or what ever the most common misspelling
 
user7480455
8:28 PM
Im thinking Kramps would win out in the Oclub
 
hahahaha
 
user7480455
well again so sorry... I was truly distracted...
 
Oclub?
 
It's really not a problem man, honest.
 
user7480455
officer's Club
 
8:30 PM
same, i tried googling it, but I ddint find anything related
AH
thx for clarification
 
Cool :D
 
Strange question but, in Windows if I want to store some data locally on a machine, is there a preferred place to do that, outside of a text file?
 
Sorry.... Focusing on my personal project :D
 
@BrandenBoucher temp
 
Uh... Wouldn't it be cleared out periodically?
 
8:41 PM
yea, not desired?
 
eeh. Maybe. I was almost thinking %appdata% unless there was some other repository, outside of the registry, that I wasn't considering.
 
@BrandenBoucher What kind of data?
 
simple key/value strings
 
Is it not a web app?
 
nope
standard Desktop app.
 
8:43 PM
Will the data be needed after the application is closed?
 
ya
I'm asking to see if I forgot something outside the obvious (like storing a .xml file somewhere in %appdata%)
 
That sounds like the best solution IMO
 
user7480455
Kramb... just looked at the link you sent... and it says it needs an end tag even though it has an end tag
 
user7480455
I added : <script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.18.1/moment.js"></script‌​‌​>
 
user7480455
maybe it is being blocked by the firewall?
 
8:45 PM
@Kramb thanks, I think you're right
 
@007 Possibly. May need to just download the file
@BrandenBoucher NP
 
user7480455
ahh ok
 
user7480455
so is that moment command the only way we can grab a date from a calender control that was already a date? there is no built in way to make that field value a date with out 3rd party?
 
The code I sent you does it
 
DateTime.Compare(startDate, endDate) <= 0. Need to know what exactly this is doing. I'm new to DateTime in C#
 
user7480455
8:50 PM
it was erroring on the getDate piece
 
user7480455
that why I was wondering if I missed something
 
DateTime.Compare returns an int.
Less than 0 if t1 is earlier than t2.
0 if t1 is the same as t2.
Greater than 0 if t1 is later than t2.
 
I'm trying to understand why it's using 0. @Kramb
 
It is checking if the first date is the same as or later than the second date.
 
8:52 PM
Thank you, @kramb
 
@Sandy2016 NP
 
user7480455
so maybe to use the getDate function I need some reference added as well?
 
No, that should work out of the box
Paste the exact code you have
 

« first day (2425 days earlier)      last day (2538 days later) »