« first day (2817 days earlier)      last day (2130 days later) » 

7:30 PM
hello guys o/
i come again asking for assistance with azure + docker
if someone with that knowledge could ping me when they see this, i would appreciate it
docker channel is dead :-(
 
!!welcome-c# Zorkind
 
@Zorkind Welcome to the C# chat! Please review the room guidelines and tips. If you have a question, just post it, and if anyone's free and interested they'll help.
 
lol Kendall
 
what's funny
 
i know this is not the specific channel, but it`s the channel i like the most :-p
 
7:39 PM
I don't think you read the whole message
 
hehe well thx for the welcome then :-p
 
> If you have a question, just post it, and if anyone's free and interested they'll help.
 
oh right
i did not provide a question, did I hehehehe
i thought would be best to catch the interest of someone before polluting the chat with stuff
anyway, i am having a hard time trying to figure out a way to "copy" a docker image that is in a container (for testing purposes) and push into another (production)
 
Don't ask if you're allowed to ask a question. Don't ask if anyone's available or knows how to use what you're using. Don't say you're going to post a question. Just ask your question.
6
 
i want to do that in a VSTS release
okaaaaayyyyyy sorry !!! take it easy hahaha :-p
sending hearts your way <3 hahahaha
 
7:45 PM
How do I await this?

foeach(string s in doSomething()){ … }

where doSomething returns an IEnumerable<string>
 
Task.Run() ?
Task.Run(() => doSomething()) perhaps?
not a good practice tho
 
ok will try it
is it better to create a method for that block of code?
 
ohhhh wait, theres the foreach
Task.Run(() => {foreach....})
well, you can
 
like this?

await Task.Run(() =>
{
	foreach (string s in doSomething(s, progress))
	{
		...
	}
});
 
yeah, that should work.
:)
it is always advisable against mixing sync with async tho.
 
7:51 PM
yay my UI is free from blocking
 
UI?
D?
you using that in UI?
oh God hahahaha
 
its in a command (wpf)
 
ok so.....
place ".ConfigureAwait(false)"
at the end of the Rask.Run().ConfigureAwait(false)
as a precaution
without that, the async call can stuck your app
trying to go back into the caller thread and it gets messy
 
app can't get stuck unless you .Wait(), or .Result, and these were, are and will be hacks
 
as Mill said :-p
 
7:55 PM
.ConfigureAwait(false) still is good practice though
 
:)
 
ok will add it
 
hey Mill.... are you a docker wizard? :-D
 
unfortunately no, but by a sheer coincidence I'm playing with docker right now
my overall knowledge of docker is "watched a pluralsight course on it"
 
omg !
i am in such a pain :(
azure + docker + vsts
it's like i am playing with fire here hahahaha
hahaha pluralsight..... hummm i will do that
please, keep your eyes open for something about copying images from one container into another from a Release package in VSTS
i feel like i am alone in this one :(
ppl saying Kubernetes is the way to go for that, but it's something i can't just cook up in this environment, since it's not mine, it's my employers :-/
 
8:10 PM
my skill IQ for docker on pluralsight is 56 hahahahaha
jesus i suck at this :(
hey @milleniumbug do you have any discount for Pluralsight?
 
I'm on a trial myself
 
hahaha :-p
ok i will do it that way then
 
8:29 PM
only 10 days tho :(
 

« first day (2817 days earlier)      last day (2130 days later) »