« first day (1437 days earlier)      last day (3527 days later) » 

5:02 PM
@OMGtechy because if all numbers >= 0 are valid, then an invalid number would be negative--which isn't uint
 
design choice I guess
 
posted on September 22, 2014 by Visual Studio Blog

We have a four releases today. First, Visual Studio 2013 Update 4 CTP 2 is available, including a few features (e.g. performance improvements for the Visual C++ browsing experience) and some bug fixes. Second, there’s also a CTP available for Team Foundation Server. The release notes have the complete list of features and fixes for both these releases. Third, we also released Team Explor

 
5:34 PM
hello all. I need some help creating a project template. It's a multi project template so I have a root template file and then template files in sub folders.
 
wow. just got this email
This is a stream-lined process designed to make it easier for candidates to consider opportunities with Amazon; They will skip the normal 2-3 technical phone interviews and make an offer/no-offer decision based on a single in-person interview at the event. Amazon will pay for all travel related costs.
 
To get the names correct, I need to pass down the solution name to each project template
can anyone suggest how to do that?
 
@Pheonixblade9 spider sense tingling...
 
@TomW how so?
 
Why abandon the process? What's wrong?
 
5:35 PM
@Pheonixblade9 madness
 
@TomW they literally can't hire enough engineers
I don't wanna work 60 hour weeks though
 
+ risk of being on Team Derp
 
indeed
 
If that team is already starved of quality hires
 
@Pheonixblade9 what is their starting pay at?
 
5:36 PM
£1 a year
 
i'm guessing 2-3 technical phone interviews will filter out derps
 
@NETscape which they aren't doing anymore
 
if you go to some event
 
starting pay?
 
which they will do one interview
 
5:37 PM
$75k - $135k for a "software engineer"
 
holy lucrativeballs
 
i'll take $110k
if i can live comfortably on it
 
@NETscape whatever the default main "form" is when you start a new project.
 
I make ~$91k and I recently had to get a roommate. lol
 
$135k would more than double my pay, doing a basic exchange rate calculation
 
5:39 PM
basic 2 bedroom home in Seattle is ~$400k
 
wuuhhh
are there smaller towns around seattle
that cost half that
~30 min drive
 
@NETscape yeah and then you have a 45min commute to work every day
 
hey Amazon, move to Britain and cut your staffing costs in half
 
i rather do that and pay 1/2 as much but make the same lol
 
45min is more than I'd like but not unreasonable
 
5:42 PM
 
@Pheonixblade9 as studios go, that's not bad
 
about what i do now, but in that i also have to drive through the ghetto
so i'm at like ~40 min + high risk factor
 
@TomW you say that - but that's 1:30 of your 24 hours to live every day gone in a commute
that's 6% of your day
 
the 1:1 there is just shy of what I'm paying for a 2:1 quite a long way from work, and it's the cheapest I could find
 
well I pay $1495/mo for my 2 bedroom in a duplex - and I found a hell of a deal
 
5:44 PM
and .2% of your day should be spent brushing your teeth. you gonna stop brushing your teeth?
 
So I think the conclusion is that Seattle is somewhat more expensive than here, but nowhere near as expensive as London (where the salaries don't vary that much from the surrounding sprawl) and therefore you're still raking it in
 
that 1:30 hours driving is spent mostly brainstorming and cursing people that don't know how to drive
$1495/mo could buy you a rather large house in the midwest.
 
@NETscape $1495/mo will get you a nice mortgage here - the problem is, it's so high it's tough to save up a down payment.
morning @ReedCopsey :)
 
Hi @Pheonixblade9 :)
 
I don't mind the 1:30 of travelling - if it was on the bus, it'd be fine. But I can't read in the car
 
5:47 PM
i would live further away for cheaper until the down payment is saved up
 
@ReedCopsey check out my post above re: Amazon. Kinda crazy
 
@Pheonixblade9 does health insurance consume a significant part of your take-home?
 
@NETscape I just got a roommate.
 
I have no idea how expensive it would be
 
@TomW I get health insurance from work.
 
5:48 PM
sacrifice more now, and reap reward later.
 
as all full-time people in the US now have to (or pay a penalty)
 
Do you have to/can you/should you...I dunno, top it up?
 
@Pheonixblade9 yeah - Amazon is pretty desparate
 
voluntary extra?
 
live further away + get a roommate :)
 
5:48 PM
@ReedCopsey I'd be happy to get a job there if they didn't insist on extremely overworking their employees
 
free healthcare FTW!
 
@TomW In the US, it's up to the employer - most companies provide it (non-voluntary), but you typically pay a percentage - and nowadays, if you want dependents, you pay all of that (pre-tax, though, typically)
 
my problem is, I won't see a doctor unless I'm already dead
 
@TomW you're thinking of an HSA - health savings account - or a flex account - something that goes away at the end of each year - both are tax free and to be used solely for health purposes. The difference is an HSA is a valid retirement instrument and can be withdrawn from eventually. Both are pre-tax but a flex account is wiped out at the end of each fiscal year.
 
Presumably a flex account costs a lot less per month?
 
5:50 PM
we just had another big round of layoffs, I'm kind of thinking about it. :/
 
Or why would you take such a bum deal?
 
@TomW flex accounts are good if you have lots of predictable medical costs - you can pay for dental work, checkups, glasses, etc. pre-tax
so we got company t-shirts when I was gone with the team number as our hire # - CEO is #1, our first engineer is #2, etc. I'm #50, not too bad :)
 
Stock options or gtfo
...is what you'd say if you want to get fired
 
I have stock options...
 
Oh well, carry on then.
 
5:55 PM
May I know what is wrong with this? Why it does not delete the indexed key pair please?
 for (int i = 0; i < sortedDict.Count; i++)
                {
                    if (sortedDict[i].Key == 5)
                    {
                        sortedDict.RemoveAt(i);
                        break;
                    }
                }
 
probably because you never hit the RemoveAt code ?
 
@Marek what is a sorted dictionary? Is there such a thing in .NET?
 
That makes sense.
 
@KendallFrey yes there is
 
5:57 PM
@Marek Why not just sortedDict.Remove(5); ?
 
@Marek the item with key 5 is not necessarily at position 5
 
user1881400
I'm trying to debug some code, and this is important. Do Stream objects overwrite or insert data in conjunction with Seek()?
 
@TomW No, it is because I never hit that code.
@ReedCopsey Does not work in my case.
 
Why not sortedDict.Remove(5)?
 
5:58 PM
@Marek That's all the loop attempts to do, though
 
@user1112560 Does not work in my case, not sure why.
 
it's just trying to find the element with key==5, and remove ;) if that doesn't work, your loop won't either
ie: there is no matching element
 
You should look into why that's not working.
AFAIK, remove() returns a boolean.
 
yeah, I think it should be better to do something like this...
if(sortedDict.Remove(5))
  //removed
else
  //not removed
right?
 
Yep
 
user1881400
6:03 PM
Does MyBinWriter.Seek(0, SeekOrigin.Begin) followed by MyBinWriter.Write(2u) insert four bytes (as a uint) just after position 0 or does it overwrite the four bytes following position 0?
 
@FizzledOut what is MyBinWriter? BinaryStreamWriter?
 
user1881400
Yes
 
I would expect it to depend on the underlying stream. If it's wrapping a network stream f/e, no, because bytes you've written have already been sent down the wire. But then, network streams aren't seekable IIRC.
MemoryStream I'd expect to overwrite. I can't remember whether FileStreams are seekable, but if they are, would it depend on the filemode it's opened with? I'm not sure
</guessing>
 
@FizzledOut Overwrite
 
pretty sure filestream is seekable, makes sesne
 
6:06 PM
@FizzledOut surely you can test it?
 
lame with tests if you can have chat answer
 
don't trust what any of us idiots tell you
 
just copy a screenie to the documentation
 
or rather, any of me idiots
..tell..you.
 
A filestream is seekable only when used over a file.
 
user1881400
6:08 PM
@TomW I attempted it, but the results were semi-ambiguous because of how I did it, I think. I'm trying to implement the canonical .wav file by creating it and whatnot. I thought it overwrote the data already, but I was having a strange error where RIFF wouldn't appear at the top of the file despite copying all contents and never overwriting the place where I originally wrote it. I thought maybe if write() was inserting and I didn't know it, this could be an answer.
 
@TomW I think MemoryStreams you have to reset to go to the beginning
 
@FizzledOut make sure you also flush.
@Pheonixblade9 yeah, Seek() is a synonym
 
Write some tests?
 
Hello
 
user1881400
@Pheonixblade9 why not myMemStream.Seek(0, SeekOrigin.Begin)? @TomW Don't worry, I always flush when I finish ;)
 
6:09 PM
Hi
 
i have a question
can anyone help ?
:(
 
@Joseph just ask :)
 
Don't bother with the "I have a question", just ask.
 
chat_rules += "Do not wink for poop jokes";
 
but it's not C++ related, it's a linux one, but no one is one the linux's chat
 
6:11 PM
this isn't a C++ room. you've moved the plus signs incorrectly.
 
well
C#
or whatever
 
They aren't related. Which one?
 
Dude... 2 mins and still no question.
 
i want to grep all $_POST variables from some php scripts
i want a regular expression
for spaces before and and after
and
and i want the count
for some reason
this doesnt work
cat * | grap "$_POST /s *" -rl
grep
 
\s is the whitespace escape code
You also have spaces in there, not sure why
Oh, and $ is a special character, escape it
 
6:16 PM
oh
thats why
spot on
i havent thought of this
so one way to do it wou\ld be ??
would *
 
@Joseph dude, do us a favour would you? Write in whole sentences.
 
haha, yeah, it's like me but worse
 
@TomW i will. Sorry
 
lulz
 
Hi Guys.
 
6:19 PM
Hiya
 
Oh, shit!
 
I'm studying for 70-480 this afternoon
 
cat * | grep "* \s \$_POST \s *" how about that ? @KendallFrey
 
I hate the fact that Microsoft cert tests include proprietary Microsoft stuff.
 
@Joseph why do you have a * at the start of the regex?
grep uses a normal regex flavour, right?
 
6:22 PM
@KyleTrauberman even the ones whose subject is a proprietary Microsoft product?
in fact, aren't most of them?
 
this test is about HTML5, JS, and CSS
standard stuff
 
ah
 
also, Transcender practice tests are shit
 
posted on September 22, 2014

Today I’m excited to announce that we just released a new set of VM sizes for Microsoft Azure. These VM sizes are now available to be used immediately by every Azure customer. The new D-Series of VMs can be used with both Azure Virtual Machines and Azure Cloud Services.  In addition to offering faster vCPUs (approximately 60% faster than our A series) and more memory (up to 112 GB), the ne

 
at least this one is
 
6:27 PM
@KyleTrauberman I'm preparing for 70-595 atm
 
eww biztalk
 
Did you just know that, or did you look it up?
 
i looked it up
 
I'm learning to appreciate BizTalk, in fact. The UIs wrapped around it are complete poo, but there's a solid product in there
 
the plan after I pass this test is to take 70-486 and 70-487
Yeah, it has its uses
 
6:31 PM
If you're not sure whether you need it, you don't need it.
If you don't have a large portfolio of legacy garbage to stitch together, you don't need it.
Hey ScottGu, before releasing more stuff for Azure, how about fixing the stuff you've already released? The new portal is a broken piece of shit.
OK, it does have a banner saying 'Preview'
 
I don't get the new portal
are they replacing the fantastic current portal?
and if so, why?
 
I think that might have been the intention, but as everyone hates the new one...
I mean, it periodically forgets my MSDN login
COME ON!
 
I had MSDN 3 years ago linked to my personal microsoft account, and I'm still getting azure benefits for it.
 
nice
 
$150 in free azure credits per month is nice
 
6:46 PM
Yep. I use them basically for hosting a site with a hello world banner under my name, and I've just fired up a BizTalk 2013 VM to do some training stuff on
Should maintain the personal site really
 
I keep meaning to set up a personal site, but I can never find the time with 4 kids, a 2 hour commute, and work.
 
@TomW So you've heard of Nancy Framework, you hear anything about it?
@TomW I'm trying to get into Owin / Katana, the vNext web-site recommended Nancy in a Blog.
 
Not really. Read the FAQ, that's about it
looks a little like Node
 
@TomW Yeah, it does indeed. Not sure if it is worth learning or implementing.
 
7:26 PM
@TomW when you take your test, make sure you bring 2 forms of ID
my coworker got turned away from the test for only having one form
 
@KyleTrauberman can't hurt, I'll make sure I follow the rules of the agency that runs it. I dunno about over there but here they're run by various training companies
 
yeah,I have 3 forms with me today, so I should be good
but better safe than sorry
 
Has anyone developed for mobile?
 
7:48 PM
OWIN has been nothing but a PITA for me
"lol, just rewrite the ASP pipeline, it's super easy u guyz"
yeah, problem is, I can only create OWIN projects with the new VS.
yes
you have to manually remove it and re-add all the ASP stuff
it's all that's available to my license level
shrug
 
DataTable saved my day, thanks dt. Even though you have only 3 cols you still rock it.
 
=/
I think that my db server may be blocking my web server from accessing it
 
bleeding edge, baby
 
heyo erbody
 
@TravisJ Whats the issue?
 
8:01 PM
In a system that has been online for 2 years with the same connection string, I got this:
System.ArgumentException: Format of the initialization string does not conform to specification starting at index 0.
The published version on the web server causes the exception
My exact copy of that version locally on my dev machine does not encounter the exception
Whole online system is down at the moment =/
I also got this one prior to attempting to replace my web.config file with itself thinking maybe it was corrupt
Exception Details: System.ComponentModel.Win32Exception: The network path was not found
 
@TravisJ WinDbg probably helpful here
 
@TomW - Yup, except the db is hosted and I have no access to the server
 
Bah. In that case your fallback is 'call the hosting provider and tell them to undo whatever they changed'
 
Yeah, I thought of that... thing is that they never tend to do that lol
fml this sucks
 
When that inevitably doesn't help, you tell your boss they changed something and get him to yell at them
 
8:08 PM
I am my boss
 
Ah.
 
Found my problem =/
 
Well that was easy
you just have to yell at your developers
 
The host of the web.config automatically edited my content
 
:P
 
8:10 PM
@TravisJ Then yell at yourself you goat.
 
The config file's connection string reads <add name="ApplicationServices" connectionString="$(ReplacableToken_ApplicationServices-Web.config Connection String_0)" providerName="System.Data.SqlClient" />
Instead of, you know, an actual fuking string
Although, this may only pertain to part of the revision =/
Monday's suck
 
@ton.yeung Then why does the vNext Owin / Katana tutorial demonstrate with Nancy?
 
Yup, back to this one now
System.ComponentModel.Win32Exception: The network path was not found
 
@ton.yeung Oh, what should I do for Owin and Katana.
 
Okay so this is the issue:
 
8:18 PM
@ton.yeung Like to learn it ideally for vNext?
@TravisJ What is the path supposed to be that it is failing?
 
Unsure
provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server ?
 
YSOD: Yellow Screen Of Death
 
@TravisJ there's a named pipes feature on SQL server, unconfigured by default IIRC
question is why it wants it now
 
If I have a project template with an assembly that needs to be installed in the GAC, what installer would you all suggest I use?
 
8:25 PM
oh btw this was a couple of the trails I did in NZ:
 
@TomW - Also, why would the connection break randomly on the published version, but not on a local dev version? Neither has changed for months
 
Hi guys, I've got a zip file on server to which this asp.net web api application has rights to access the file. How can I send link to the browser so that I can use this link to create anchor element in UI? So, when this link is clicked, browser can download zip file. Or should I rely on filestream to do this?
 
This system was running without any issues and this just happened out of the blue
 
> Did you ever resolve this issue? – Travis J 9 mins ago
I see you can google too
 
lol
 
8:29 PM
I've just seen something that jogged my memory
asp.net session state has a SQL server mode. Has the dicking around with your web.config touched that setting at all?
 
=/
So now the entire system is running from a hosted local machine and I bypassed the server
It is up, but wtf... why isn't the published server working
QQ
 
9:26 PM
Has the server.config been changed by your host?
Oh... 1 hour ago, my bad, hi all.
 
hello
 
Hi
 
Lo
 
@user1112560 - The config file I replaced was an untransformed one on accident trying to see if the original was to blame
The main problem still is "System.ComponentModel.Win32Exception: The network path was not found"
The application is still hosted from my machine at the moment yay
 
So... same config works on a local machine connected to the same servers?
 
9:34 PM
Yes
When I deploy to my IIS it works. When I deploy to hosted server, no dice
 
Someone really just posted a question: If you down vote this, you're a homo sexual. What do you think would happen, question would more than likely be deleted. People, seriously?
 
It's been a while since I worked with ASP, but I seem to recall that the server's server.config can override the web.config.
 
Is the question deleted already?
 
@TravisJ What type of server is it, maybe you need to implement escape characters.
@TravisJ Yeah, it is.
 
@user1112560 - You are thinking of machine.config which does override certain aspects but should not interfere
 
9:35 PM
Ahh... fair, no clue then.
 
One thing I just found very useful is the verbatim @ for strings. Great for not having to format everything in a file path :p
 
@Greg - It is Windows Server 2012, IIS 8
 
@TravisJ Did you verify that IIS has proper permissions to your directory? Also that the server has access to your other SQL Server?
 
@Greg - This is on a hosted environment. IIS runs the site, but the second it hits MSSQL to look to see if a user is authenticated, the whole thing dies.
I am not sure if this is a result of the MSSQL Server banning my hosted environment
Or if there is something else that I can fix.
 
Is it not possible to access a listview inside a datatemplate?
 
9:40 PM
Hi guys I have quick questions
1) how can I achieve something like push notification in winforms
 
@TravisJ I had a problem similar where my Firewall was actually preventing outbound / inbound remote SQL access.
 
2) is it a good idea to use a timer to check my DB like every minute
 
@TravisJ By default some environment's don't allow it, for security reasons.
 
@Greg - This was working for a long time and randomly stopped though
 
@TravisJ Did one of the machines get an Update through Windows? Or Anti-Virus software get installed?
Several variables could impact that.
 
9:44 PM
@Greg - No clue
It is a shared environment
 
@TravisJ Well, that has some concerns. Some other user could have done something that is constantly hosing the machine.
 
It runs the environment until the MSSQL call
 
@TravisJ Want to email your connection string, I'll see if I can connect remotely?
@TravisJ Maybe my HTTP Monitor or Wire Shark will give me a hint if I have the same issue.
Plus my office is riddled with insane security.
 
No offense, but this is the authorization database with a lot of customer logins inside of it :)
 
Don't worry, I'll make sure it's secure
 
9:50 PM
@TravisJ Oh, well... I don't blame you for not sending it.
@TravisJ Have you tried Fiddler?
 
I can log from multiple sites, it is just that when I deploy it on the hosted server, no dice
 
So other non hosted servers are fine, it is only when you hit the hosted server?
 
ms sql management studio, no problem, local host, works, vs environment, works. surface, check. I even remote deployed it to my machine at home at it works
But when I put it back up on production.. fail
 
Can you ping your database server from production?
 
the server isn't really available in that fashion, I am only allowed a deeply nested subdomain for access
 
9:55 PM
@TravisJ That hosted machine doesn't sound like it has access.
 
That was my thought too
I wonder if someone was trying to brute force the database
And it banned the hosted ip
 
@TravisJ sorry I didn't catch you :(
a friend of mine from college ended up picking me up
I'm planning a visit in December, though. He lives in Claremont, so I'll try and catch up then :)
 
@Pheonixblade9 - Either way :)
 
@TravisJ Could be.
@TravisJ I might be headed to Nor Cal in November.
 
That is 300 miles from me :P
 
10:16 PM
@TravisJ Aren't you in Santa Cruz?
 
sb
 
Oh, Santa Barbara. Yeah, this is So-Cal.
That is like an eight hour drive.
 
Depending on how you drive ;)
Santa Cruz is a little... well the community is eccentric
I like Santa Barbara a lot more
So support seems to think that there is an error in the DNS routing between the host and the db
 
@TravisJ That is crazy.
 
10:48 PM
The error may be a result of the IP being banned
now I get to code a traceroute! yay
 
just use a proxy
 
What do you mean?
 

« first day (1437 days earlier)      last day (3527 days later) »