« first day (1782 days earlier)      last day (3173 days later) » 

2:03 PM
Documentation says: Request parameters-->
grant_type=refresh_token&refresh_token=
 
yeah, that's just the POST data (request body)
 
@squiggle did you say you have used the UPS uk api for shipping?
 
Okay, that is what I thought. Wanted to make sure I wasn't an idiot.
 
as UPS are garbage for answering questions?
wondered i could ask something quickly :)
 
no, those are query params
 
2:11 PM
just in case anne does have any experience with the UPS shipping API. I have downloaded their sample documentation and have run this code
but it is constantly saying the credentials are unauthorised.
after speaking with UPS they assure me the credentials are in fact valid and working
 
anyone having issues with Visual Studio and windows 10? It seems very laggy, like going from code behind to aspx causes a freeze in visual studio for like... 5-15 seconds. No system resources are being excessively consumed
 
and that it may be to do with the SOAP header
issue is I'm just using their library and there is little or no documentation for this stuff
 
thought it was a visual studio 2013 issue so I upgraded to 2015 and same thing
It doesn't ALWAYS freeze. It almost seems random but it will only happen with certain things. Sometimes selecting the code for a control in the aspx source causes it to lag too
 
@user3545438 Unfortunately not. That was >2 years ago I last touched shipping data.
 
@JABFreeware I have had it freeze occassionally when I have the devexpress coderush rubbish enabled sometimes
@Squiggle did you use the c# librarys?
or did you build the requests yourself out of interest?
 
2:17 PM
@JABFreeware VS2015 randomly takes up tons of disk bandwidth for me
which causes almost everything to freeze for a few seconds
 
@user3545438 TBH I have no recollection. My exposure was aggregating the data and calculating the best rates, rather than integrating with the APIs themselves.
 
@CuddleBunny I have a SSD, it is taking some bandwidth for sure but nothing close to 100%
this is stupid...cant MS do anything right
 
fresh install?
 
@JABFreeware I have an SSD too, and it spikes up to 85% I have no idea what it is doing.
 
@Shoe fresh install of windows 10 and vs2015
vs2013 has same issue
 
2:18 PM
Weird
 
ok, i think it is a similar process just a seperate api. from what I can see the its just a class where I set the credentionals and fire the method to get the values.
but the ups support email (which takes a couple of hours to respond) are going around in cirecles asking me to send across the XML request information. Although ither than physically building it mayself their class has no method for generating this.
(and also they have had a copy of the solution, they just cant run it apparently)
 
yeah I did the upgrade to windows 10 (bad idea I know) and vs2013 started having issues. So I thought it was a vs2013 issue with windows 10. So I installed 2015 and same issue. Since skype does the same thing, I thought it was a windows 10 upgrade problem and did a fresh install. Skype works better (still lags if you're on a call and maximize the window) but vs still suffers
 
@JABFreeware Well. What issues?
Bandwidth? What kind? Network? Disk?
Virus?
 
@RoelvanUden the above issues of almost random freezes when selecting code sometimes, switch from codebehind to aspx, sometimes just the mere act of opening a different tab does it
clean install so no virus... I was running process monitor and it doesnt consume more than 25% of anything ever.
 
Did you look at Task Manager and the consumption of memory, network and HDD bandwidth?
 
2:22 PM
yep, as I said never consumes more than 25% of anything. HDD sometimes spikes that high but thats all. CPU stays around 14-20%
memory has 8GB free
network its not even touching
I install process monitor to see what calls it was doing to the file system and none of them are taking excessively long or anything. Then again I dont really know how to use that tool very well.
 
@CharlieBrown ?
 
I've had problems with VS freezing caused by browser plugins
 
I just got it to freeze by selecting chrome and then clicking on a control in vs (three monitors) and then each control I clicked after for a while would cause a hang of 2-5 seconds. Disk usage was less than 1%. CPU usage was 14%
@StevenLiekens whaaat? How is that related?
 
some sort of freak deadlock caused by both apps trying to capture mouse/keyboard input
only when debugging
 
Im not debugging
 
2:30 PM
have you tried running VS in safe mode?
 
maybe its a windows 10 issue with poor threading or something. Cause skype hangs the same way under certain conditions. Never did before.
@StevenLiekens I could try that
I only have one addin installed but yeah
 
now that you mention it, skype does hang a lot on my windows 10
 
whew glad its not me. It almost has a graphic driver issue vibe to it, but im using the latest nvidia windows 10 drivers...
 
switching from aspx to codebehind is fast though
 
@StevenLiekens well its not EVERY time. Its like impossible for me to make it do it on demand.
its enough to greatly reduce my productivity though
@StevenLiekens Do you also get lags in youtube by any chance? If I am watching a video and I scroll down so the comments get loaded, it hangs even though the video is well buffered. My internet is not the best so idk if thats just the problem. Windows 8 didn't seem to do it though.
@ton.yeung yeah what do you need?
 
2:42 PM
What is a good alternative to Fiddler?
 
no lag on youtube
 
plunker is not working
 
@Greg Why do you want an alternative?
 
@StevenLiekens hmmm good to know
 
Don't like Fiddler.
 
2:48 PM
jsfiddle ftw
 
@Greg And why?
 
Because it is ugly.
 
Can't give you a better alternative if I don't know what "better" is
@Greg -_- seriously
 
@KendallFrey haha
Really just looking for alternatives.
 
But why?
Fiddler is great at what it does
 
2:52 PM
chrome dev tools isnt that bad
 
@Failsafe Doesn't work if you're not using Chrome though
 
That's only web traffic for that browser though
 
well yea
 
@StevenLiekens safe mode no helps
 
but it's an alternative
 
2:54 PM
@JABFreeware Is your hard disk die'ing? Back up noaw.
 
@Failsafe Not in Greg's case
 
@RoelvanUden unlikely since this seems to have happened after upgrading to 10. Lets see what crystal disk info says about my SSD.
 
Well what about Charles
 
@JABFreeware Well, never say never. Back up anyway.
 
says all is well
 
2:56 PM
or HTTP Analyzer
 
@RoelvanUden backup all the time anyway. You never know what evil might befall your HDD
 
Demons and gnomes
 
@Shoe Daemons and Gnome :P
 
lol
 
2:59 PM
I think it must have been me looking at the source code to .NET
.NET is haunted code apparently
 
2spoopy4me
 
perhaps I should post it here....
 
@JABFreeware is the New Project dialog slow for you too?
 
@StevenLiekens nope, loads fast for me. Slow for you?
I'm wondering if its not a memory leak. It seems to get worse after I use VS for a while and I have seen a few times when the System process is using too much memory.
 
@JABFreeware This is gonna sound stupid but have you restarted your computer lately?
I usually keep my work computer on all week and by the end of the week everything will slow down a lot.
 
3:15 PM
@Failsafe oh yeah I've tried that. I've found the same to be true
 
Is there something better than NLog
 
@Shoe I've had few issues with log4net
 
@Squiggle Log4Net is such a pain in the ass
I hate it so much
 
@Failsafe y?
 
I'm going to try restarting and disabling malwarebytes. I've noticed it seems to be more resource heavy with windows 10. See if that fixes the lags.
 
3:22 PM
hey guys if i have a method that takes a datetime
and i just pass a MM DD YYYY day in there
 
@ton.yeung or you could do that via the config, along with transforms for local and production environments...
 
is there a way to autoset it to utc
right now it is saying midnight of the system clock
or eastern time zone
 
@Squiggle dont like appenders all that much, weird overhead in some places, i have to write my own wrappers sometimes
 
yes u can
@BobSinclar : You can give it Utc or a Custom Time
 
TimeZoneInfo.ConvertTimeToUtc(date1)
should i just do that in the method
 
3:24 PM
@BobSinclar DateTime.UtcNow?
 
@ton.yeung it's fine! A bit verbose, but the config is the ideal place to put that info...
 
@KendallFrey no i dont think i want that
 
nvm
 
@Failsafe same overhead as if you were to use anything else for the same purpose. log4net is fine out of the box.
 
@BobSinclar Can you explain what you do want then?
 
3:25 PM
yeah I am trying to search on how to set Datetimes timezone configuration
let me explain I did a poor job the first time
 
@ton.yeung does XML make you come out in a nasty rash?
 
@BobSinclar DateTime doesn't have a timezone, if that's what you mean
DateTimeOffset does
 
public void foo (Datetime futureDate){ // do something now }
i call the method just passing a date no hours
it works well on azure or a vm set to utc
but if the vm isnt set to utc time it appends 8pm to it instead of midnight
how to i make sure that when i pass it Month day year with no hours and minutes it is that day at midnight in utc
 
@ton.yeung =^_^=
 
@BobSinclar Does it have to have midnight in the datetime?
 
3:29 PM
yes
it has to be midnight in utc
otherwise it sets it to 8pm the day before
when running on east coast time
 
can you do
 
@BobSinclar A DateTime is not UTC. A DateTime is just a time.
 
FUCKING UTC DATE OFFSET TIMEZONE ISSUES
 
DateTime.ToUniversalTime()
 
srsly
 
3:30 PM
Idk
Why cant you just pass in a date and append 12:00AM to it
 
@BobSinclar Do you mean that you want to convert a UTC time to a local time?
 
@Failsafe because timezones span 25 hours around the glob
and it's hard
 
I thought it was more than that
 
well heres the problem the way i pass it in theres no time
 
26 or 27
 
3:32 PM
@ton.yeung Logging to file versus DB?
 
i just pass in a date
i then want to make sure that date is midnight of utc
or 12:am
if my vm or code is running on a utc machine its fine
otherwise it says oh that date occured at 8pm
 
@BobSinclar You can create a DateTime with a given date and midnight as the time. What's the problem?
 
Does DateTime.ToUniversalTime() not work
 
because it assumes that date was in eastern time
 
@KendallFrey you're right. 26. -12 to +14
 
3:33 PM
trying that now fail
 
@Squiggle So, 27
oh, wait, 26 hours
 
cocknuggets. 27.
 
27 timezones
fencepost problem
that's not counting fractional hours
 
I love that North Korea changed theirs recently just to be awkward
 
hi guys whats the best way to move the a test database over the live one one without disrupting the data?

basically we've made some migration to a test database and need to roll it out now. I assume simply running update-database wouldnt cut it? or would ef look int he migrations history and update occordingly?
 
3:39 PM
thanks for the help guys
it turns out this weird external API i am dealing with is messing with the time zone
 
@ton.yeung Log both?
 
@ton.yeung Why not log to Event Viewer too. Make it 3
@ton.yeung log it under it's own folder, and only log FATAL errors
 
abr
Anyone with knowledge about notifications on an android app?
 
uh
in xamarin?
 
abr
Well, currently I've got an android app made in unity that makes requests to an web api located on a server, so far so good
bnut I kinda want the app to receive a notification whenever something new comes up
 
3:47 PM
@abr Ohhh, unity. Check out the NotificationServices documentation on the unity website.
If that doesn't work try finding a free plugin on the asset store.
Im sure one exists
 
abr
Taking a look as we speak at the documentation
 
hi guys so if i want to rollthe database out to the new database. if i know the last migration that was run on said database, do I just need to roll my project back to that migration, run a new migration, change the connection string and runn a new add-migration and update database?
 
abr
whats the base of its function? Like, does the app make a request to see if theres any answer and if yes, it pops on the phone?
whenever its connected to a network?
 
is this a good approach?
 
@abr I haven't used it in a long time, so I couldn't say, as it might have changed..
Oh shit you're using android
that might not work
sorry I should've read more carefully
 
abr
3:53 PM
Ye, just noticed the unity lib says
its for ios
 
search the asset store
there's gotta be one somewhere
 
Hi guys
 
hello
 
do you know any tool that can help me in graphically seeing what some lines of GDI+ are drawing?
 
^ whatsheasking?
 
3:55 PM
@Revious Your screen
 
Dang lol
 
I hate consulting.
 
@KendallFrey you mean pressing F5 until you arrive to the execution of that code?
 
@Revious Just look at what appears on your screen.
That shows you what was drawn
 
I know...
but I don't want to execute, change a line, reexecute
 
4:00 PM
You can't see the results of code without executing it
 
@TomW ^
 
@Squiggle if only. The money is pretty good but I wouldn't do this all the time, not for any money
well this is permanent. I'm a consultant but I'm permanent
and I only joined a week ago
 
good luck
 
tx
~7.5hrs travelling today
 
not driving, I hope?
 
4:11 PM
nah
train
 
Trains are awesome.
Swiss trains doubly so.
 
I don't believe you
 
^ went on that last weekend
 
hi guys will mirror in ms sql allow me to copy one db to another?
i just need to overwrite one database with another
 
but yeah, sitting in a car for 7.5hrs for work is just nope nope nope
 
4:19 PM
beer
all better
doing systems analysis work too. Boring as shit.
saved only by the domain being new to me, and also very complicated, and therefore interesting
 
4:35 PM
* more interesting than would be otherwise
 
4:47 PM
@Squiggle at least he is getting some good money, i believe
 
@Squiggle i mean, it's not too bad if it's like a once a life ride
 
someone worked with AngularJS recently ?
 
7.5hours on a train past scenic views sounds like an ok trip
 
@juanvan 7 minute drive to work sounds pretty good too.
 
Does sound better - @Mathematics want to ask the question?
 
4:55 PM
@juanvan I upgraded my app from 1.2.x to 1.4.x (latest) now when I click on a specific area, it removes "/" from my url which leaves it with "www......#" instead of "www......#/" which is showing one dialog box
it works perfectly with older version
 
welcome to the upgrade
 
@Squiggle: That looks like an awesome ride!
 
@juanvan new to Angularjs as well
here is the code
 
@juanvan this route is better than the one I took on the way here
better more scenic, not better quicker or more convenient. The opposite of that
 
@Mathematics - why are you upgrading?
better have time to kill and like the change of the leafs - but that is not happening now?
 
5:00 PM
@TomW i'm sorry, where are you going ?
 
It might be better to upgrade to 1.3 first then 1.4, makes finding the 'fixes' easier
 
@JúlioMurta home. Left Manchester 4:35, due home 20:12. Going via London, which I hadn't noticed til I boarded the train
 
@TomW wow hard day.
 
Isnt that straight across the country @TomW?
 
@TomW 7.5h commute is straight suicide. Just move.
 
5:06 PM
@scheien no, it's doubling back on myself to get out of London and actually go home. But it's the least worst in getting me home the earliest
 
0
Q: Updating Angular 1.2.10 to latest with a minor bug

MathematicsWhat I did, I took this angularjs project and did nothing just updated it using nugget package manager to latest angular libraries, https://github.com/OfficeDev/Learning-Path-Manager-Code-Sample Issue When I click on top right settings button, "Working On It" dialog appears and doesn't goes a...

 
@Failsafe one-off, client visit
I'm not doing this often
 
@juanvan I am trying to learn what's wrong with it
 
Oh nevermind haha.
 
just playing around with it really
no apparent reason
 
5:07 PM
I had to do cross country trips for one remote job I had a year or 2 ago
every 6 months
 
i spend 4 hours every day going to work and to my house -_- at least i can read something when the bus isn't full.
 
4 hour flight each way.
 
@JúlioMurta which country ?
 
@Mathematics são paulo, brazil. fuck transit.
 
SHAME, AFter 30 minutes I realized I am C# room... thought I was in JS room
 
5:09 PM
Isn't that the city that got blown to shit in Max Payne 3
 
hahahaha
 
@Mathematics need to first understand angular - the problem is in the ui-router segment
if you ask that question in the JS room lol I will get the popcorn
 
hehe
 
Thankfully I think a lot of us know JS too
 
Well there's an ASP tag, and ASP usually requires some JS
 
5:12 PM
@juanvan I was wondering what on earth changed, JS room looks different today and people seem to be helpful too, then I realized it's C# lol
 
a lot of people here are web developers, so i dont see problems
 
I've never been in the JS room, and I think I'll stay out, based on what others have said :)
 
@scheien what others have said about them?
 
@JúlioMurta: just see what @juanvan said.
Guess it doesn't take much to get flamed there
 
They probably use PHP
that's why they're so angry
 
5:16 PM
lol
 
Why are some things "harder" to do in win10, then win7? Like connecting to VPN. Now I have to click the network icon on the taskbar, then click the vpn connection, then it opens a new window, then I have to select the vpn connection again to expand so that I can click the Connect button.
In win7 it was click the network icon on taskbar, click vpn connection, then click connect.
 
just type in vpn when you press the windows button
it should pop up network settings
or the VPN setting
 
Thats not the point
 
lol
 
I have the vpn configured.
I want to connect, but it takes more clicks and even open a separate window. Thats just stupid.
 
5:19 PM
@scheien everytime I ask a question, usually gets skipped over
 
it's because you dont have the enterprise SKU :)
 
So Pro doesnt have that "feature"?
 
no idea
i was joking
i've never used the enterprise version
 
i love when people write business code and data access code in the same class</ironic>
god, that views are full of logic too
 
ive seen some views where the only method in the controller is public ActionResult Index
 
5:29 PM
you don't want an If block in the view to tell you what nav bar to show??
 
return View();
and then ALL of the code is in the view
 
@juanvan the biggest problem is the kind o validation used. this is business logic too.
@Failsafe really? i can't believe there are so many bad projects in u.s.
 
Have you ever worked for the government?
lol
 
you know, you speak english. is much more easy to learn.
@Failsafe yeah, i'm working for a governamental company (militar police).
at least i feel i never will be stolen here haha
 
think youtube is taking over for pluralsight.. youtube.com/watch?v=RBhqLRoRDgo
 
5:48 PM
@juanvan I personally like Digital-Tutors better
because it has all the gamedev courses in it
 
@Failsafe they are a pluralsight company now
or part of
 
Yea i know
but they are still technically different
they merged or whatever
 
ya PS is on a purchase spree
 
Is there a way to have two separate tables share date, but if one table doesn't have all the same columns, make it appear like it does.
 
I have a date tonight, any suggestions?
 
5:52 PM
Panic.
 
Don't bring your phone
 
I am kinda confused, she is the best I can ever doa
hopefully I get her
 
@Greg A view
 
@Obviously have fun and laugh - usually works
 
>2015
>dating
 
5:56 PM
ebin meme arrows bro
 
not control over the user input for a datetime?
 
do an AJAX request
lol
do DateTime.ParseExact
and DateTime.ToUniversalTime
 
what is a sample date to parse
 

« first day (1782 days earlier)      last day (3173 days later) »