|
wwb posted:I'm not sure but I suspect seeing what is going on will help -- it sounds like someone is doing something retarded like switching line endings which is blowing things up. Have you looked at a diff before you merged? Most of the time it's me on both ends so that's probably not it. Anyway I appreciate the concept of doing it often but in certain circumstances that isn't really possible. Oh well.
|
# ? Feb 10, 2015 20:59 |
|
|
# ? Jun 10, 2024 11:43 |
|
I'm not sure how that is not possible -- you should always be able to grab the upstream changes. Anyhow, I think hirvox hit the nail on the head -- the default git merge tool isn't helping you here.
|
# ? Feb 10, 2015 21:20 |
|
Looking to move our software dept from VS 2012 Pro to VS 2013 Pro. http://www.microsoftstore.com/store/msca/en_CA/pdp/productID.288419600 Looks like the "Upgrade" price is $399, nicely cheaper than the "non-Upgrade" price of $667. As I understand, the upgrade will replace the version I have installed. This raises red flags from the days of upgrading from Win95 to Win98 to Win2000 to WinXP and something going wrong every single time. The last couple of VS releases/purchases happened to coincide with fresh Windows 7 installs so I haven't had to upgrade VS for years. What has your experience been with the in-place upgrade from 2012 to 2013? I'm buying for all the devs in the building, and I want it to Just Work without dealing with any surprise upgrade bullshit. Do I sound cranky? I just want to be able to do my work without fighting with my tools (much).
|
# ? Feb 10, 2015 22:08 |
|
epalm posted:Looking to move our software dept from VS 2012 Pro to VS 2013 Pro. http://www.microsoftstore.com/store/msca/en_CA/pdp/productID.288419600 There's no such thing as an in-place upgrade. Every version installs side by side. My laptop has VS2010, 2012, 2013, and 2015 all installed on it right now.
|
# ? Feb 10, 2015 22:24 |
|
I am trying to integrate with WooCommerce which uses a rest API and get this error from an instance of WebClient in a WebException The underlying connection was closed: An unexpected error occurred on a receive. I am only getting this error on a specific call, which is a PUT to update an order status. The rest of the calls to this client work fine. The response from the server is null. Here is what is driving me nuts - This is only happening with this one client, we have 10 or 15 or so other clients and the call works for them perfectly. - This only happens on our live server at rackspace. I cannot get the call to fail on my local dev PC with unit tests. - I have eliminated everything I can think of from the code on the live server that is not touched in the unit tests, I even commented out every database and logging call. I have spent my day just tweaking all kinds of poo poo and deploying changes to the live server trying to get this one stupid call to work. I haven't gotten it to work once. I am about to just give up and tell the client tough poo poo, which will piss of them and the customer service dept, but I am out of ideas. As a last resort, I ask you, my fellow goons.....
|
# ? Feb 10, 2015 22:24 |
|
Begby posted:I am trying to integrate with WooCommerce which uses a rest API and get this error from an instance of WebClient in a WebException Have you captured the traffic with fiddler?
|
# ? Feb 10, 2015 22:30 |
|
Ithaqua posted:There's no such thing as an in-place upgrade. Every version installs side by side. My laptop has VS2010, 2012, 2013, and 2015 all installed on it right now. Oh. I was chatting with an MS sales rep (one of those "ask me stuff" chat boxes) and she said the new version "replaces" the old one, when I asked if it's typical/recommended to uninstall the old version.
|
# ? Feb 10, 2015 22:32 |
|
Ithaqua posted:Have you captured the traffic with fiddler? Yes, the URL that I am posting too is formatted identically to what I am sending from my PC, as well as the JSON body, and the method etc. It is using oauth, and the signature in the URL is ok. From the live server, if I set it generate an invalid oauth signature, I get the proper authentication error on that call.
|
# ? Feb 10, 2015 22:35 |
|
Begby posted:The underlying connection was closed: An unexpected error occurred on a receive. I put on my robe and psychic debugging hat. The crystal ball whispers to me that your server that this reproduces on is using a version of Windows that by default turns on Explicit Congestion Notification for TCP connections and your dev PC does not. Once you turn off ECN on the server, everything will likely start working normally. There are some web servers and other networking products out there that fail to properly function ECN, dropping certain very specific requests - most things work fine but then there's that one request that always fails. I have seen this before with the nuget.org package repository, for example - there are these certain packages that are not possible to download on a clean Windows Server 2012 install because it has ECN on by default. In this case, the issue was with the remote endpoint (the Azure CDN used by nuget.org), though I suppose it could be any hop causing it. EssOEss fucked around with this message at 22:40 on Feb 10, 2015 |
# ? Feb 10, 2015 22:36 |
|
I just logged in and checked it, ECN is disabled on the production server (2008 R2 Enterprise) =(
|
# ? Feb 10, 2015 22:48 |
|
Aww. Can you go lower? If you say Fiddler traces look the same, what about the Wireshark traces? If you can post them here (as screenshots with whatever stuff you want blacked out, if needed) maybe we can point a finger at something.
|
# ? Feb 10, 2015 22:53 |
|
EssOEss posted:Aww. Can you go lower? If you say Fiddler traces look the same, what about the Wireshark traces? If you can post them here (as screenshots with whatever stuff you want blacked out, if needed) maybe we can point a finger at something. I am not sure if I can go lower than that without our server guy shooting me since it is a production server.... Before I try that, I want to try one more thing though. I usually develop on a mac and have a few rest clients where I can just paste poo poo in, put in the method, and click submit. Is there one for windows that is decent? I'll then generate the oauth signature by hand, and try submitting requests that way. If that fails, it will for sure rule out an issue with the codebase. If it does fail, I'll talk to our server admin about getting a lower level trace and if I can do it without loving up all the poo poo that is running on that server..
|
# ? Feb 10, 2015 23:17 |
|
Fiddler supports that sort of thing -- it has some request building functions and can replay har files and such. HTTPIE is a command line utility but it works on windows too since it is python based.
|
# ? Feb 10, 2015 23:52 |
|
I recently started web dev with .net mvc c# and its been great. With VS and ReSharper my productivity has been really really high. In the last month I started using Angularjs and my productivity has tanked. The intellisense for JS seems useless, it reminds of writing Java in Notepad. How do you discover anything? Can you guys describe your workflow / tools you use for front end dev? Is there anything comparable to vs/resharper for javascript?
|
# ? Feb 11, 2015 00:10 |
|
bpower posted:I recently started web dev with .net mvc c# and its been great. With VS and ReSharper my productivity has been really really high. In the last month I started using Angularjs and my productivity has tanked. The intellisense for JS seems useless, it reminds of writing Java in Notepad. How do you discover anything? Can you guys describe your workflow / tools you use for front end dev? Is there anything comparable to vs/resharper for javascript? Sup "just got into Angular" buddy! What version of Visual Studio? The Web Essentials add on is amazing for VS2012-2013. Improved JS Intellisense (including most angular built in stuff).
|
# ? Feb 11, 2015 00:13 |
|
Im using vs2013 and I have web essentials installed. Thats what I get 99% percent of the time.
|
# ? Feb 11, 2015 00:18 |
|
bpower posted:I recently started web dev with .net mvc c# and its been great. With VS and ReSharper my productivity has been really really high. In the last month I started using Angularjs and my productivity has tanked. The intellisense for JS seems useless, it reminds of writing Java in Notepad. How do you discover anything? Can you guys describe your workflow / tools you use for front end dev? Is there anything comparable to vs/resharper for javascript? My sole issue with it so far is that their "direct method" functionality does not support async methods.
|
# ? Feb 11, 2015 01:23 |
|
bpower posted:I recently started web dev with .net mvc c# and its been great. With VS and ReSharper my productivity has been really really high. In the last month I started using Angularjs and my productivity has tanked. The intellisense for JS seems useless, it reminds of writing Java in Notepad. How do you discover anything? Can you guys describe your workflow / tools you use for front end dev? Is there anything comparable to vs/resharper for javascript? I use Visual Studio for C# dev, and Sublime Text with a bunch of plugins for front-end work. When writing a single page app, I return html/js/css statically, not requiring ASP.NET MVC.
|
# ? Feb 11, 2015 01:28 |
|
Microsoft has made available the internal code formatter they developed to clean up the .NET source before releasing it.
|
# ? Feb 11, 2015 01:56 |
|
It works fine in fiddler on the production server.... arrgggggghhhhh
|
# ? Feb 11, 2015 02:10 |
|
^^^ Congratulations, you've isolated the problem. Ask ops if they are fronting the production server with anything, something is stomping on the request between your box and the server.
|
# ? Feb 11, 2015 02:32 |
|
I'm trialing CodeRush and it's insanely faster than ReSharper, which slowed VS2013 down to a crawl. CodeRush has almost no performance impact, is less intrusive (coloured sidebar lines instead of squiggles EVERYWHERE), while also having pretty much all of the features I wanted from RS. Does that match anybody else's experience? When I was googling them almost everybody seemed to favour ReSharper.
|
# ? Feb 11, 2015 09:23 |
|
ReSharper 9 fixed all the performance issues I had with ReSharper 8, which indeed was rather annoying and slowed down with each patch. I have not tried any other assistance tools in recent times but back when I did, ReSharper did offer the best feature set by far. Many of the other tools available focus too much on refactoring, whereas I find that ReSharper allows me to write new code very fast. At least, this is the distinction I noticed back when I was trying out alternatives. For now, I have no plans to look away from ReSharper unless VS itself already starts to offer all the niceties.
|
# ? Feb 11, 2015 10:38 |
|
bpower posted:Im using vs2013 and I have web essentials installed. It's helpful to put the TypeScript typings in your project (even if you aren't using TS).
|
# ? Feb 11, 2015 13:55 |
|
wwb posted:^^^ Congratulations, you've isolated the problem. Ask ops if they are fronting the production server with anything, something is stomping on the request between your box and the server. They said they aren't doing anything funky at the network level, its just a vanilla server behind a single router and firewall with nothing special setup on the cisco devices. But since it was successful in fiddler, it leads me to believe that there is something wrong with the .NET codebase and it is not at the network level. I am going to try a few tweaks to the web client settings, we are rebooting the server right now and applying all the latest .NET updates. At this mornings scrum we decided that its not worth spending more time on beyond that unless it happens to more clients. If I can't get it to work after these last few things, I'll just script a dirty hack in python or php to do the rest calls from one of our other servers. I love dirty and nasty cron jobs to fix poo poo. Thanks all for your ideas.
|
# ? Feb 11, 2015 15:42 |
|
bpower posted:I recently started web dev with .net mvc c# and its been great. With VS and ReSharper my productivity has been really really high. In the last month I started using Angularjs and my productivity has tanked. The intellisense for JS seems useless, it reminds of writing Java in Notepad. How do you discover anything? Can you guys describe your workflow / tools you use for front end dev? Is there anything comparable to vs/resharper for javascript? For a lot of the web dev stuff here we use phpstorm from jet brains. The web only version is called webstorm and its basically the same IDE sans the PHP plugin. Give it a try.
|
# ? Feb 11, 2015 15:44 |
|
NihilCredo posted:(coloured sidebar lines instead of squiggles EVERYWHERE) I consider the annoying squiggles a feature - just fix whatever is causing your squiggles or turn off that inspection rule if you don't care about it. There's nothing I enjoy more than turning that ReSharper box in the top right into a green check. Oh yeah... that's the good stuff.
|
# ? Feb 11, 2015 16:51 |
|
Dreadrush posted:I use Visual Studio for C# dev, and Sublime Text with a bunch of plugins for front-end work. I started doing this today, and so far it's pretty great. What ST plugins do you recommend?
|
# ? Feb 11, 2015 16:56 |
|
aBagorn posted:I started doing this today, and so far it's pretty great. JSON viewer!
|
# ? Feb 11, 2015 17:34 |
|
Bognar posted:I consider the annoying squiggles a feature - just fix whatever is causing your squiggles or turn off that inspection rule if you don't care about it. There's nothing I enjoy more than turning that ReSharper box in the top right into a green check. I've posted this in the IDE thread for other JetBrains products and it's valid here too. I find their default validations to be way too aggressive. Things like typo checks should not be on by default (in my opinion). Also, some of the loop to linq conversion suggestions don't make a whole lot of sense and often produce code that is less clear (again in my opinion). It has a lot of useful tools but I wish it wasn't so in my face about certain things and I don't need to hunt around and turn things off individually.
|
# ? Feb 11, 2015 17:40 |
|
Ochowie posted:I've posted this in the IDE thread for other JetBrains products and it's valid here too. I find their default validations to be way too aggressive. Things like typo checks should not be on by default (in my opinion). Also, some of the loop to linq conversion suggestions don't make a whole lot of sense and often produce code that is less clear (again in my opinion). It has a lot of useful tools but I wish it wasn't so in my face about certain things and I don't need to hunt around and turn things off individually. I love the x to linq stuff, it basically taught me linq with zero effort on my part.
|
# ? Feb 11, 2015 17:48 |
|
bpower posted:I love the x to linq stuff, it basically taught me linq with zero effort on my part. Nothing against you personally, but that's why I would prefer that feature by disabled by default.
|
# ? Feb 11, 2015 18:16 |
|
Ochowie posted:Also, some of the loop to linq conversion suggestions don't make a whole lot of sense and often produce code that is less clear (again in my opinion). I agree here. Lots of for-each loops can be turned into linq queries, but IMO it's the simpler ones that really benefit from it - those that do the exact same thing as one or two LINQ keywords. More complex enumerations are often easier to grok in loop form, and in particular some of the conversions that ReSharper suggested were eye-gougingly ugly. Also, the process of debugging a misbehaving loop is obvious, that of debugging a linq query not as much. NihilCredo fucked around with this message at 21:12 on Feb 11, 2015 |
# ? Feb 11, 2015 21:09 |
|
aBagorn posted:I started doing this today, and so far it's pretty great. Have a look through the popular packages at https://packagecontrol.io/browse/popular any try some out. Get: - SideBarEnhancements - SublimeCodeIntel - SublimeLinter (get SublimeLinter-jshint, get node installed, run npm install -g jshint) - now you can setup jshint settings in a .jshintrc file at the project root, which can also be used at build time I also have other packages like less, jsx, sublimelinter-jsxhint, 6to5, terminal installed - it depends upon the tools you are using. You might find Emmet useful when writing lots of html. I use webpack at build time to modularize my js using commonjs (along with es6-loader and jsx-loader). Webpack makes it easy to split code up for different pages if you like, or you can just have one js file for everything. I setup a dev server so that when I save a file, my jsx is transformed to js, es6 is transformed to es5, and then chrome is automatically refreshed (the webpack-dev-server is a good starting point if you want a quick look at this working, however you will need to do extra work for anything non-trivial). There is a bit of a learning curve to setting all this up if you haven't used these front-end tools before, but once its sorted you can be really productive! I think you could ask more questions about this stuff in one of those frontend threads...I haven't really posted here much so not too sure what all the rules are... Edit: Pretty sure you'd find the "AngularJS" plugin useful Dreadrush fucked around with this message at 22:24 on Feb 11, 2015 |
# ? Feb 11, 2015 22:14 |
|
Since this is the catch-all Microsoft thread: I finally got a chance to hunker down and play with the "vNext" build stuff that's coming to Visual Studio Online / TFS vNext, and it's awesome. I set up a build agent on a Linux box and got it to clone Spring from Github and build it with Gradle in about 10 minutes. Then I repeated the exercise, except for Windows. It's crazy easy. Blog post on vNext build (not mine!): http://geekswithblogs.net/jakob/archive/2015/01/15/tfs-build-vnext-ndash-a-preview.aspx
|
# ? Feb 11, 2015 22:30 |
|
Ithaqua posted:Since this is the catch-all Microsoft thread: I finally got a chance to hunker down and play with the "vNext" build stuff that's coming to Visual Studio Online / TFS vNext, and it's awesome. I set up a build agent on a Linux box and got it to clone Spring from Github and build it with Gradle in about 10 minutes. This makes me very excited.
|
# ? Feb 11, 2015 22:44 |
|
Does anyone know of a simple web monitoring/reporting tool I can plug into an MVC site? I just want basic stuff like request times and maybe SQL timings, what MiniProfiler does essentially but rolled up over all users and with a simple admin screen for monitoring hosted within the same app. I could build my own, either timing begin request to end request or just reading IIS logs, but it seems like this should be a simple thing someone's built?
|
# ? Feb 12, 2015 07:00 |
|
I've got a setting screwed up somewhere in VS 2013 and it's driving me nuts. Razor syntax is being highlighted in an extremely obnoxious way that makes it very difficult to read or write. The attached shows the problem. This is what it looks like immediately after having imported that scheme - eg, importing the scheme didn't overwrite whatever demon is doing that highlighting. Any suggestions?
|
# ? Feb 12, 2015 19:13 |
|
OK then. Options > Environment > Fonts and Colors > Display items : HTML Razor Code Background. I had been looking previously for something starting with razor rather than HTML. Still confused as to why importing settings didn't override it, since there seems from screenshot on the page that it does have a prescribed value for that setting.
|
# ? Feb 12, 2015 19:20 |
|
|
# ? Jun 10, 2024 11:43 |
|
Anyone have experience with http://jsil.org/? How is it? It looks pretty neat: http://jsil.org/try/
|
# ? Feb 12, 2015 19:49 |