« first day (2581 days earlier)      last day (2353 days later) » 

7:01 AM
ohayou
 
mr5
hey
where's everyone?
 
7:24 AM
seems they have moved on :(
 
7:38 AM
Hellow mellow
 
8:05 AM
o/
 
8:40 AM
Morning
Visual Studio 2017 + Angular project template = pain pain pain !
 
Agree
We are trying it these days
Any one can tell if there is a real I mean real benefit of using Angular with MVC Core instead of using Angular alone?
 
there is none, its still angular
 
Angular is just a front-end technology. If you need a back-end, ASP.NET Core MVC is a nice option. But so is nodejs, go, python, etc. Whatever you prefer, really. Since you're in the C# room, the bias is likely for C# tho :D
 
you only want to back your angular with a tiny little bit of server-side code for a few functionalities, such as authenticating
 
8:55 AM
And, you know, data.
 
Yes I agree I don't mind using ASP.NET Core Web API as back end for angular project
 
but if you want to use Angular you'll want to keep your stuff in models, controllers and directives, and run an SPA that barely ever asks for ASP stuff
 
but the template lets you integrate MVC view with angular which I don't think has any added value
I can use .html file for that
 
otherwise you are yielding your reactive design, which is the only point for using Angular
 
good morning
 
8:57 AM
My belief is Angular's only reason to exist is because someone likes desktop more than web, and wanted to make a web fully operational as a desktop application without refreshing
then again, Angular isn't the most powerful, nor the tidiest framework
 
@Jaffal Exactly, you don't need MVC templating for angular apps
 
It's best application SPA
 
mr5
@RoelvanUden I prefer plain PHP
no framework!
just sauce
raw sauce
 
and it's much harder to implement security since you lose that layer of obscurity your server code provides
 
@HéctorÁlvarez That's because you're thinking like a developer. We think in request/response when dealing with web, but users do not. They want to see their information immediately, and without obvious re-painting. Thus, SPAs with websockets were born.
 
8:59 AM
so my advice to you @Mathematics don't use template build your project using Angular CLI + visual studio code or any editor of your choice
 
@HéctorÁlvarez Incorrect, security is a lot easier when dealing with just data, you just need to think about the context an authentication is allowed to query in (hint: uow decorators) and you've got all the security managed in one go. Super powerful.
 
Use C# in your Web API only as a backend for your angular project
 
@Jaffal but all of other projects are using vs 2017
 
@RoelvanUden I simply don't like it when the user has full access to your code
 
why would someone who asked a question on stackoverflow will comment on your answer as it worked instead of marking it as an answer I don't understand :(
 
9:04 AM
because it's easy to exploit, much easier to find breaches, so much easier to exploit
whereas you have to guess when it's server-side
 
@Mathematics if you must use your angular project as VS project keep the mvc part only in the index page and don't use views for your angular components
 
@Jaffal thanks I will keep it in mind, but I want it to work first :D lol
at last able to make it work :D
 
@Mathematics what is your problem with it so far?
 
I wouldn't restrict the MVC part just to the index
 
node wasn't updated, I had to install packages local to visual studio project and installed packages as webpack by opening cmd as admin
one of these fixed the issue
 
9:12 AM
yes you will need to work outside VS sometimes
 
 
1 hour later…
10:13 AM
@HéctorÁlvarez Full access to UI code should not be much of a problem if you've got the data layer functioning properly (which you should). This actually reduces attack vectors because you can't just do "I'll filter back in the UI" which is error-prone and volatile.
 
10:43 AM
@RoelvanUden Seems like you've been studying on this for a long time, amirite?
!!giphy amirite
 
@HéctorÁlvarez That didn't make much sense. Use the !!/help command to learn more.
 
Dafuq Caprica?
 
11:11 AM
Hi
What do you call grand father from mother , in your English?
the father of mother
 
there's no particular word to say "the mother of my father" that I'm aware of, there might be one, but the common folk will look it up in the dictionary
I'm a peasant though, so don't take my words for granted
may'st thou thine word discovereth
 
11:33 AM
I may get some help from translator!
I want to find any BackgroundColor attribute in visual studio file>>

what should be the regex /
 BackgroundColor="[%a-z%]"
 
can't use use the Color class?
it stores a series of colors like an Enum type
 
12:00 PM
the react documentation is bad
 
12:20 PM
@HéctorÁlvarez I have quite a bit of experience with this, yeah.
 
12:46 PM
Well I wasn't expecting

' OR 1=1 #

to work but...
Seriously, code formatting doesn't work for lines
 
mr5
1:01 PM
o/
sql injection?
> ' OR 1=1 #
 
1:16 PM
yes, very basic and efficient
you can take down almost any small company security auth with that
even easier for PHP and MySQL websites, because people don't know what a sanitizer is apparently
everyone pastes in $_POST like there's no tomorrow
 
2:14 PM
@HéctorÁlvarez where did it work?
 
2:28 PM
Quiz question: how long does await Task.WhenAll(Enumerable.Range(1,30).Select(_ => Task.Run(() => Thread.Sleep(TimeSpan.FromSeconds(10))))); take to run?
 
@ntohl so many places you'd be surprised
 
@HéctorÁlvarez oh. I'm surprised, if it not works. I was curious about the last occurrence.
 
@MohamedAhmed the father of your mother is your maternal grandfather
 
@ColonelPanic Presumably a bit more than 10 seconds
 
@ColonelPanic ~10 sec
 
2:31 PM
@ColonelPanic about as long as Kendall lasts in bed
 
Oh you flatter me
 
Look at Mr. Stamina over here
 
@ntohl A certain company selling trips by boat
 
Michael row de boat ashore, Hallelujah! (for free thanks to SQL injection)
 
@ColonelPanic the developer who did that should be running instantly before he gets stabbed with a motherboard's pointy corner
 
2:38 PM
@Hemlata I don't know much about Unity, but I imagine there must be a way to listen for touch inputs and differences between two inputs on a 2D plane. It seems simple to me that you would listen for those inputs and transform your cube along the screen based on differences between two inputs based on location/direction.
Again, I'm not farmilar with the Unity API, but I would search for some sort of guide on "Transforming objects"
 
@ColonelPanic ohh. It should be WaitAll, not WhenAll...
no. It's still not good...
 
jrh
Question for you guys. So I'm using a library that has literally zero activity on SO, but is relatively popular in my field. Said library has a collection type that has behavior that has an (IMO rather terrible and counter-intuitive) deviation from the norm as far as usual List / collection types work in C#. Should I post a self answered Q/A pair (which would be the first question or answer ever on this library), or just file that knowledge away in case I start a blog or something?
 
        Stopwatch watch = new Stopwatch();
        watch.Start();
        Task.Run(() => Task.WaitAll(Enumerable.Range(1, 30).Select(_ => Task.Run(() => Thread.Sleep(TimeSpan.FromSeconds(10)))).ToArray())).Wait();
        watch.Stop();
watch.ElapsedTime = {00:00:21.5603784}
@jrh use the Documentation part of SO
 
jrh
2:54 PM
@ntohl didn't they kill that?
 
"We have shut down
Stack Overflow Documentation" they did
hmm...
tho that would be the place for it...
 
@jrh If it's something that's popular in a relatively large field, why not both? The Tech Evangelists for AutoDesk do it with their products. e.g. Jeremy Tammik the tech evg. for Revit. He does a blog and titled The Building Coder and also answers questions on here.
https://stackoverflow.com/users/3552305/jeremy-tammik - SO profile
http://thebuildingcoder.typepad.com/ - His Blog
 
jrh
@hilli_micha I don't know how "large" the field is because the field is historically silent, e.g., everyone I know has used SO at least once, but I'm the only one I know who's registered here
though good to know that AutoDesk can succeed, I think this is at worst slightly more obscure (industrial machine vision)
 
If in doubt, I'd recommend a blog and SO approach. Scout SO for questions that come up. Answer the questions that do come up; use those questions as topics for blog entries and also just make blog entries as you go.
 
jrh
and a blog is probably a good idea just for the worst case scenario where my stuff gets roomba'd
 
2:59 PM
I mean hell, some crazy dude even made a website that took the crappy CHM doc files for the Revit API and made it into a nice, pretty, website - revitapidocs.com
 
jrh
honestly anything's an improvement over the library's great documentation which consists entirely of DoSomething (help docs: "it does something")
 
        Stopwatch watch = new Stopwatch();
        watch.Start();
        Task.Run(() => Task.WhenAll(Enumerable.Range(1, 30).Select(_ => Task.Run(() => Thread.Sleep(TimeSpan.FromSeconds(10)))).ToArray())).Wait();
        watch.Stop();
watch.ElapsedTime = {00:00:20.0477430}
when all and wait all behaves similarly. But I don't know where that extra 10 sec comes from
 
@ntohl 20 seconds was my result. It's comparable to Parallel.ForEach . If you switch Thread.Sleep to Task.Delay , then it takes 10 seconds.
 
jrh
I thought about making a github repository or something with a bunch of markdown files for content (I'm not a web developer), but I guess some kind of free/cheap to host blog would probably be better. Maybe Blogger or something.
 
3:34 PM
maybe because it runs once for 1 and once for 30 in Range?
:39957325
 
 
1 hour later…
4:49 PM
bye
 
5:06 PM
Chance Heath on November 09, 2017

As we continue to work on Channels, we wanted to share with you our vision, the thinking behind the product and its intricacies, and insight into the process behind developing it. Not all product problems have been solved, and we hope that we can take you along for the journey. This post is the first in a series on how we’re making Channels.

A year and a half ago, we launched Stack Overflow Enterprise to help large organizations share internal knowledge in private, stand-alone communities. It addressed several frustrations that large companies face: manual upkeep of knowledge bases, single poin …

 
 
1 hour later…
6:17 PM
hey pips
www.codewars.com/r/Xaykmw
come fite me
 
6:57 PM
Hi all, I am having trouble with adding claims.
0
Q: How do I add claims from a LinqToSql list?

SkullomaniaI have created an application that uses Active Directory and Owin to authenticate my users. The scope of the application requires that I use roles defined in an existing CMS database to authorize users within the custom application. Here is what I have tried: CMSContext _cms = new CMSContext(); ...

 
7:15 PM
Is there anyone here today who knows a bit about TFS build servers?
 
A bit.
@DanielAllenLangdon I installed ours
 
I've been asked to do some research on the subject. I've never installed one before, and I've found the documentation confusion, to say the least.

My first question is whether or not TFS versions are concurrent with Visual Studio versions.
 
No. I've used VS 2010 with the current TFS.
 
The current TFS is 2017?
 
Which allows Git repos.
 
7:18 PM
They use TFS repos where I work, but it would be nice to be able to do Git repos in the future.
 
Sorry, I have 2015. Didn't know 17 was out already.
 
I don't know.
That's why I'm asking.
Actually, Google says that the latest stable release is 2017 V2
update 2
that is.
We use Visual Studio 2015 and I was wondering if I can jump straight to the latest version of TFS, or if I have to stick with TFS 2015.
 
@DanielAllenLangdon I did have an older version of TFS installed before 2015. The upgrade process was a bit weird. Old TFS repos still work, they just don't have all the features.
 
MSVS2017 updates every month or so
 
@DanielAllenLangdon I think I went from 2010 to 2015.
So that's a bit of a jump.
And it wasn't horrible.
 
7:21 PM
Okay.
We are interested in setting up a build server.
The documentation about that seems really confusing, and to make matters worse, it seems they want to push you towards Azure and as best I can see, my company would like to keep it in house.
 
Yeah, you basically install the version of VS you want to build with and then install a build agent.
 
Basically, they want to set up gated checkins and automatic deployments
 
Getting the build agent to work can be a bit tricky.
 
I'm a bit confused about exactly what a build agent is.

I just have the general idea that I need to somehow attach a trigger to a repo that says that when code is checked in, it should have to pass a test and then should be deployed auto-magically.
 
@DanielAllenLangdon The build agent is the middle man between VS and TFS. Basically TFS tells the agent to build the project, the agent has VS studio start building the project and stores the build files in a location known to the agent, and the agent reports the build output to TFS.
I'm sure that's an oversimplification, but the agent isn't very big.
 
7:27 PM
So, you're saying that the build server has to have VS installed, and I somehow setup a build agent that knows how to tell VS to build a solution from a particular repo.
The agent is an exe, a dll, a script, a configuration file, or what is it?
 
@DanielAllenLangdon It's comes as a zip file. Mine looks like:
 
"It comes as a zip file". Where does it come from?
 
I'm trying to get at how do I create an agent?
 
@DanielAllenLangdon I remember the web interface for TFS under the settings had a link to a basic agent.
It's on MSFT's downloads IIRC.
I take that back.
The link just downloads from the server itself.
 
7:35 PM
I read that in the newer versions of TFS, you interact with TFS with a web browser instead of thru VS.
 
@DanielAllenLangdon You can do both.
Web interface is better for configuring the server however.
As in, actual server settings.
 
If I need to do gated check-in and automated deployment, is that all configured in the build agent?
 
It's part of the build configuration on the web interface.
Haven't tried a gated check-in, but I do have automatic builds setup.
 
We are talking about setting up a new TFS server to tinker with so that I can work on this without risking damaging our production environment.

Do I need admit rights to create this build agent?
admit -> admin
 
@DanielAllenLangdon That screenshot is the admin page for all TFS.
Here is the build page for a project:
 
7:42 PM
The thing I'm still a bit confused about is if the build agent is created on the TFS server and then used by the TFS server to communicate with VS on the same server, then why do I download the agent?
 
It may not be on the same server.
Think Xamarin.
You have to be able to build iOS apps.
Which requires a Mac to build on.
 
So the agent goes on the server that runs VS, but that may not be the same as the TFS server?
 
Let me check something before I give you a bad answer.
 
Okay, I do appreciate your help. I can't remember the last time I felt like the documentation to something was so unhelpful.
 
@DanielAllenLangdon It's not very good. It took a lot of futzing with it on my end to figure this out.
Okay, I'm not 100% sure if the agent must be on the build server server, but I think it has to be. However, there are different types of agents.
 
7:46 PM
"different types"?
 
So, the build server could have VS installed on it and be a different server entirely. The agent would be on the TFS server and call VS on a different server.
@DanielAllenLangdon Like one for building with XCode or whatever.
I believe the one that comes installed only works with VS.
 
In that case, I will create and download the agent from the TFS server. What then, do I do with the agent I just downloaded?
 
Again, haven't tried anything else yet.
@DanielAllenLangdon That configure agent script takes care of that.
@echo off
REM For usage, pass /?
setlocal
if defined VERBOSE_ARG (
  set VERBOSE_ARG='Continue'
) else (
  set VERBOSE_ARG='SilentlyContinue'
)

REM Unblock the files for MEF even if the policy settings don't require it.
REM VsoAgent.exe also performs the unblock, so even if configure is performed
REM using VsoAgent.exe, the unblock will not be missed. It's better to perform
REM the unblock here too in case the policy requires it to run VsoAgent.exe.
powershell.exe -ExecutionPolicy Bypass -Command "$VerbosePreference = %VERBOSE_ARG% ; Get-ChildItem -LiteralPath '%~dp0' | ForEach-Object { Wr
Or I guess just call configure on the VsoAgent itself.
Oh, it just creates that settings.json file.
 
I found a page that looks like this
Looks a bit different from the one you shared
 
Yours is newer and appears to have the other agents installed already.
Seems to be the same process though.
I forgot the VsoAgent installs itself as a service.
 
7:56 PM
you mean like a windows service?
 
I see some stuff on there about agents and pools. Can you relate?
 
Yup.
You make a pool for the agent to run in.
Well, for TFS to choose from.
In case you have a huge company with many different builds happening at once.
My pool just has the one.
 
(My company has a relatively small IT department. I'm a contractor. That's why they're asking me to figure this out.)
Okay, so if I have a repo called $/MyProject and I want to deploy it automatically when code is checked in, how can I do that.
 
@DanielAllenLangdon You need a project for that first. You have one?
 
8:01 PM
Okay, I have to plead ignorance again. When I say a "project", I'm referring to a repo that contains code that I want to deploy.
 
That's what I mean too. It get confusing with TFS since a project contains repo(s) with can contain solution(s) which can contain project(s).
Project in this case is like a business project.
I am talking about the top level project in this case.
 
I see something in Source Control Explorer that says mycompany.visualstudio.com\DefaultCollection.
Is that the project?
 
That is the Project Collection.
That is a collection of TFS projects.
 
Okay, so I'm looking at mycompany.visualstudio.com\DefaultCollection\MyApplication being the "project"?
 
So:
Project Collection -> Project(s) -> Repo(s) -> Solution(s) -> Project(s)
@DanielAllenLangdon Yes
 
8:07 PM
Okay, and this is the "project" level at which the agent operates?
 
I believe the project collections are meant to manage different departments and whatnot.
 
That means that if the project contains more than one application, each would need its own agent?
 
@DanielAllenLangdon No, the project just pulls from the pool. I have about 10 projects that use the same agent.
 
But if you are using the agent to automatically deploy, you can check in one project and have just that one project deployed, right?
 
That's where you have to setup the build process.
At the project level,
And you can have multiple build configurations.
 
8:10 PM
Wait a second. Is the build configuration part of the agent?
 
You need to actually open up a project in TFS to setup a build configuration.
@DanielAllenLangdon No, the projects have build configurations. In the configuration you need to specify which agent pool to use.
 
"open a project?" I see a list of projects in the top drop-down. So, then, I click on one of these?
 
Ah, and there is a link there I never noticed before that says "Automate your builds"!
Must be what I'm looking for.
And it shows that I can create a Build Definition!
 
Yup! And at this point you're pretty much on your own.
 
8:14 PM
Oh yeah, I think I ran into this screen before. I was confused about what to put for "Agent queue".
 
They have standard build defs, but you will probably need to tweak it.
Yup, that's the pool. Why they use queue there and pool in the settings is a mystery to me. I blame Msft naming.
 
So "agent queue" is the pool.
 
Yes. I guess it technically is queue at this level since it queues up jobs that get dispatched when an agent in the pool opens up.
 
In that case, if it's taking them a while to create a new TFS server to tinker on, could I just ask someone who is an admin on the server to create a new project and make me an admin on it?
 
For what exactly?
It seems you have access to everything already.
You could probably add a test project yourself.
 
8:19 PM
If I want to figure out how to set up TFS so that every time code is checked into a repo, it gets deployed automatically, could we experiment on that by creating a new "Project" with myself as admin so that we could learn the ropes before doing this with a "real" project?
 
Yes, though it sounds like you have pretty high access already. Can you reach the server config page? It's on the TFS home page in the top right. Looks like gears.
 
yes, but I don't think I can do anything
It says that I lack "Manager" permissions for a pool.
Are the queues separate from the projects?
 
Yes, pools are the agent pools.
Is there a control panel tab?
That's where you setup projects.
Which is a lower level of permissions.
 
well, it looks like I created a build definition.
and have it in a pool called "TestPool"
 
Try to manually build it and see what happens.
 
8:25 PM
But when I go back to the control panel and navigate to TestPool, it says "No agents are registered or you do not have permission to view the agents"
 
Did you create the pool?
Or was that already there?
 
It was already there.
 
Just try to build it then.
Thinking it's the second error.
 
Okay, so I've added a build and there's an agent queue. What about an actual build agent?
 
They are hidden in the queue. It looks like someone already set up an agent.
Just try and build.
 
8:28 PM
Where do I navigate in TFS to do that?
 
Builds
Right click the build def you created and click "Queue build..."
 
"No registered agents found in the selected queue with the following capabilities: msbuild, visualstudio, vstest. Use a different queue. More information."
 
Okay, they didn't setup the agent properly or at all.
 
I see that we have an agent pool and I was able to set up a build, but I didn't see anything where we set up or found an agent.
 
You'll need admin access to the server to add those then.
You can make build definitions without having the agents set up properly. They just won't run.
 
8:34 PM
I see. I think that's what I was getting at when I asked if it might help to create a test "project" with myself as admin on it.
 
You don't just need TFS application admin rights. You need admin rights to the server itself. You are going to install a windows service on it.
 
Right, because we said that the agent is a Windows Service.
Thanks for all that. I feel like I at least have some direction!
 
9:11 PM
What's the most common way to encrypt the contents of a udp message?
 
@Nathvi Client side decryption key? That is a loaded question.
Why are you sending encrypted UDP packets?
 
I'm not sending encrypted UDP packets.
 
Why are you receiving encrypted UDP datagrams? :P
 
I'm not.
I'm just curious if there is a standard way of doing that.
 
Datagram Transport Layer Security (DTLS) is a communications protocol that provides security for datagram-based applications by allowing them to communicate in a way that is designed to prevent eavesdropping, tampering, or message forgery. The DTLS protocol is based on the stream-oriented Transport Layer Security (TLS) protocol and is intended to provide similar security guarantees. The DTLS protocol datagram preserves the semantics of the underlying transport — the application does not suffer from the delays associated with stream protocols, but has to deal with packet reordering, loss of datagram...
 
9:19 PM
Anybody know S3? I'm getting a 403 Forbidden attempting to do a PutObject command. AFAIK the permissions are set up correctly but I don't know S3 that well so Dunning-Kruger is in full drive right now.
Or where a good place to ask S3 questions would be?
And the devops chat room hasn't seen any activity since October.
 
@milleniumbug Weird. Still needs a handshake which in a way defeats one of the uses of UDP, but I guess that's fine. UDP just seems like a bad idea for something that requires security, though I am no security expert.
@mikeTheLiar What is S3? Like, the full name.
I am going to be no help, just curious
 
Amazon Simple Storage Service.
It's one of their AWS products.
 
I know people who use it, I could ask later. Lol
Not that it really helps now...
 
I'm sure I've just configured something incorrectly. I barely know what I'm doing here, we've only been using it for about a week.
 
A 403 is good sign the config is screwed in some way.
 
9:30 PM
Hey, I'm at least getting a response now which is more than I was getting a couple hours ago.
 
Improvement!
So, looking at this:
http://docs.aws.amazon.com/AmazonS3/latest/dev/UploadObjSingleOpNET.html
 
Yeah, that's what I was using as a templat
Goddamn it markdown
    var putRequest = new PutObjectRequest
    {
        BucketName = _bucketName,
        Key = String.Format("{0}/{1}", _jobID, fi.Name),
        FilePath = fi.FullName,
        ContentType = "text/plain"
    };

    var response = _client.PutObject(putRequest);
Where fi is a FileInfo
The exception that's thrown is basically just 403: Access denied with no other useful info.
 
9:47 PM
Why are you formatting the key? What does key mean in this case?
From this line:
static string keyName    = "*** key name when object is created ***";
It almost looks like you create the object first then put the object there?
Scratch that, nvm. That is supposed to be a single request.
Did you do this?
http://docs.aws.amazon.com/AmazonS3/latest/dev/AuthUsingAcctOrUserCredentials.html
 
For now I've got the access key and secret key hard-coded in the AmazonS3Client constructor
this._client = new AmazonS3Client(awsAccessKeyId: "my access key", awsSecretAccessKey: "my secret access key", region: Amazon.RegionEndpoint.USEast2);
 
So, I see that your profile seems to be registered to a particular region.
https://docs.aws.amazon.com/sdk-for-net/v3/developer-guide/net-dg-config-creds.html#create-a-profile-and-save-it-to-the-shared-credentials-file
Did you just register the profile on a webpage? Thinking maybe the region doesn't match.
 
10:02 PM
You get a different error when the region doesn't match (that was one of the errors I already fixed)
 
@mikeTheLiar Honestly it looks like you still need the credentials file even if you manually specify it.
 
Yeah I'm reading into it now.
Part of what I keep finding is there's about 700 different ways to do something in AWS and at least some of them always involve some sort of magical handwaving.
 
That you can add the keys to the constructor but might still be required to use the credentials file is baffling to me.
 
Yarp.
Things like that are part of why I'm relatively sure I'm just misunderstanding something here.
 
How is the credentials file more secure than a web.config or app.config file? Sure, IIS might be configured by a mongoloid to serve .config files, but by default IIS protects those files.
Coming from this:
Don't put literal access keys in your application, including the project's App.config or Web.config file. If you do, you create a risk of accidentally exposing your credentials if, for example, you upload the project to a public repository.
 
10:13 PM
!!shrug
 
¯\_(ツ)_/¯
 
Also there's an entire option that you can't use on production servers because that's a thing that needed to exist apparently.
 
Look, if someone is going to be stupid enough to upload private keys to a public repository, no number of hoops to jump through will keep that idiot safe.
 
Every so often you read about someone who accidentally committed their secret access key to Github and their AWS account is pretty much immediately used to start mining BTC.
 
@mikeTheLiar Naturally that's going to be Amazon's problem to fix.
!!facepalm
 
@TylerStahlhuth, I have been tinkering around in my TFS server that we talked about. It turns out that there is a "Hosted VS2017" agent already installed. I'm guessing that refers to an agent somewhere in the cloud.

I was able to get it to run a build, and it looks like it dropped the result in the cloud somewhere:

Upload 'd:\a\3\a' to file container: '#/xxxxxx/drop'
Any idea how I get to it?
 
Oh, here's the one I was actually looking for: humankode.com/security/…
 
@DanielAllenLangdon So, that is a folder in the build agent. That gets "published" by VS after a build. From that point forward you refer to that build using the published artifact.
Don't try to access that folder directly. It's not fun.
 
Well, it looks like I got a build done, but I don't know how to get the result.

Sort of like if you ask me if I know how to get to City Hall from here and I answer, "Yes, I know.", as I smugly walk away ;-)
 
10:33 PM
@DanielAllenLangdon Just be sure to use the release section to actually publish the build results. Technically you 'can' publish the file in the build config, but don't.
Use the release.
 
user7480455
Hi all
 
Can I easily set up something where I can download the result of the build for now?
Hi @007!
 
@mikeTheLiar That is the exact reason I take the slow route to creating a private repo on GitHub. I don't mind taking the extra time make sure the repo is actually private.
@DanielAllenLangdon Make a simple release definition that copies the build artifacts to a folder somewhere.
 
I'm looking at this and I have no idea what to do with it.
 
The environment allow you to keep the same release definition but change certain variables (eg: folder path). If you are just going to hard code it, just make a whatever environment.
It looks like they changed how it work to make more sense.
 
10:47 PM
But if this is running on a hosted server, it's just going to save it on a relative path on the hosted server and I still have no way to get to it, so I'm back at Square One.
 
Do you have access to a machine on the same domain?
 
I don't even know what domain it's running on!
I'm guessing it's somewhere on mycompany.visualstudio.com
 
Yes, but that's not what I meant.
Can you log onto one of their machines?
If so, you could just use the computer name and publish the file onto that machine.
Either using a UNC path or the release task that takes care of it.
Eg. \\(computer you can access)\c$\Users\(you)\Desktop
 
The only machine I know how to log into that has anything to do with my company is the one on my desk.
And furthermore, I see nowhere that I can key in a relative path to drop these artifacts on, anyways.
I see the agent listed here and it doesn't tell me anything about where it's running.
This whole system seems terribly user-hostile to me.
 
11:10 PM
@DanielAllenLangdon Well, it's designed for programmers.
@DanielAllenLangdon It doesn't matter where it's running. That's what the artifacts take care of.
 
11:40 PM
I had the chance to talk to one of the other guys here. He says that the TFS system was set up with out-of-the-box defaults.
I think we may have a problem that the TFS system is in the cloud and our actual dev web servers are not, AFAIK.
 

« first day (2581 days earlier)      last day (2353 days later) »