« first day (2525 days earlier)      last day (2406 days later) » 

mr5
3:56 AM
o/
 
 
2 hours later…
6:01 AM
Good morning empty c# chatroom!
 
mr5
have you ever see a lassie
a lassie, a lassie
have you ever see a lassie
go this way and that way
go this way and that...
 
ohayou
 
Good morning.
 
6:18 AM
o/
 
@rightfold Ohh, housing in Den Bosch. Funda is your friend :-P
@rightfold Why not nearby in a village? Might be cheaper
 
6:32 AM
Good mornin.
 
morning :)
 
GoOoOoOoOoOoOoOoOoOoOoOd Mornin' neglecterinos!
 
Who are we missing?
Also, what happened to satibel?
 
no idea, he just stoped visiting the chat
 
6:43 AM
hmmm maybe he is somewhere else?
like vacation
 
he has been missing for a long time... though its a possibility
 
he hasn't visited since august 28th
2-3 weeks vacation is not unusual ^^
 
2 Weeks is a perfectly normal vacation
 
thought it was longer, weird
 
damn Im sleepy today.
 
6:48 AM
me too
...
 
I'm not, I got a coffee in front of me, ha!
 
@satibel i summon you!
@Metallkiller have you fixed your PC yet?
 
@Nerdintraining Still contemplating if I can risk starting it with a dent in a capacitor, or if I need to replace it. I really hoped to not have to solder anything on my mainboard :/
 
@Metallkiller A dent in a flux capacitor is dangerous.
 
Indeed. Who knows when you'll end up?!
 
6:56 AM
WPF is being too helpful for (my) own good. Apparently when you have a TabControl whose tabs are dynamically bound to a list and repeated as a data-template, WPF optimizes by only instantiating the data-template once, and re-binding and re-rendering whenever you switch tabs, so as to not instantiate the whole thing more than once.
 
Which means that if I have a custom attached behavior inside the data template, that too is instantiated only once, and there's a mismatch between the current tab and the tab it thinks it's in.
 
@Metallkiller yeah, just replace it. I actually replaced 6 2 days ago and the mainboard is working all fine
 
Hi guys
<Id>2</Id>
<Config_Id>INDIA</Config_Id>
<Parent_Id />
<Conflict_Id />
<Description>Text</Description>
<Type>Radio</Type>
<Option INITIATION_METHOD="70">Yes</Option>
<Option value="">No</Option>
this is my XMLNode
How I can read vlues of 2 Option tag here
 
@tHiNk_OuT_oF_bOx You can use Ctrl-K to format it properly.
 
7:00 AM
Thanks in advance
<Id>2</Id>
<Config_Id>INDIA</Config_Id>
<Parent_Id />
<Conflict_Id />
<Description>Text</Description>
<Type>Radio</Type>
<Option INITIATION_METHOD="70">Yes</Option>
<Option value="">No</Option>
 
Of course, you'll have to do the indentation yourself.
 
Ya
This my XMLNode
 
Anyway, assuming you're using System.Xml's XmlNodes (though there are better alternatives), you can do node.SelectNodes("Option") to get the Option children.
 
@AvnerShahar-Kashtan Thank you :)
 
@AvnerShahar-Kashtan I hoped it'd just use its own energy from a ms ago when it recharges.
@KamilSolecki Guess I gotta go get a capacitor after work.
 
7:15 AM
I didn't get the exact ones, but as with everything in electronics - it has to be in range :D
 
The thing is, I have no idea in what range it should be in this case, so I'm gonna look until I find the same one^^
 
What's up everyone
o/
 
@mark333...333...333 work work work work
 
Hahaha yeah @RoelvanUden I just need some thoughts regarding my issues.
just an idea from you and base on your experiences
 
7:30 AM
good morning
 
@Metallkiller make sure to use a decent soldering tip, with high thermal capacity, or else you could easily destroy your MB
(low thermal capacity means you need to increase the heating)
 
Hey @SebastianL how are you?
 
mr5
can anyone help me to beautify my code please?
I made some overloaded c'tors to avoid passing some optional params
 
@mr5 There:
p̞u̸͔̥͙͉̘̥b͙̼l̛̼i͉̟̯̤̲̟c͇̥͚͕̤̗̖ ̦̣S̬͓̜̘̫̜̦e̞͙͟l̫̠̦͍̤̩͞e̙̰̲̮͚̞ç̠̺͔̱ͅṯ͇͕͚̖̝L͖͔̼͙̻̰̲͝o͇͙͡c̷͎̘̬͕̼̩̭a͖̱̜̠͘t̥̼̖̫̫̠̩͜i̥̗̝̯̯o͖͚̺̖̮̱n҉̗̗͈̝ͅM͟a͚̯p̢̩̫̩̠V͉̞͚̖͚̗̮i̸̱̼̻̤̤e̩̗̟͞w̴̪M̥̲̰ͅo͡d͏̜͇̮̻̳̘͚el̪̱̣̥̤(̹̗̰̣̬b̠̦͓͟o̢̖̱ò̜̭͕̜͔l̡ ̧͙̲̤̜͖͇̻en̶a̜͉̻͇̘b̨̠̦̯̖͉ͅl̜͓̣̙e͏̱̝̭̻͎͕Lo̘̟͍c̹̺̱̮̞̘a̦̳̲͈̺͕t̲̝i̖ͅo̸n̹̙̭̻C͇͉̬̟͉̱oͅu̠͔̲n̴t̹͕̘̮̝͠V̗̮̣͞a̖̦͞l̼͙̣i͈̠̰͕̖͈͡ͅd̶a͖͙̦̠t͉̟i҉̙͓̭̟̩̳o̭n̶̫̼͙̘̣͓̗,
̝͎̞̟̠̺̞ ̦̬̠̯̼͠ ̸̳̙̼͕͔ ̧̪̙ ͙͖͇̘̱͡ͅ ̠̼͖̪͎̕ͅ ̯̱̻̤̯̬̦ ̷ ̡̬͎̞̹̼̥ͅ ̥̗̙ ̤I͔͎W̢̗̦̤̲ͅe͇b̛̟͖R͙e͙̙͔͇qu̱̗̞̙͜e̥̹̯͇s͍̣̫͡t̷̪M͙̥̱̖̰a͚̣̫̩ń̟̻̪a͉̩̣̘̝g̜̳͇é̦̝̰r̸ ͍̜̞̺̹we̤b̡̘̰͎R̵e̵̝̱͇̪͉̥͕q̧͎̟͓ͅu̦͝es̨t̛̜̘̺̰̞̮̺M̨̹̬̘̬̯ͅa̧n̘͍̱̬̠̞̥a̶͎͖̲̹͉̥g̩̱̩͔͘ęr̩̙̹̦̗͡,͓͙̪̦̮̼̱
 
7:36 AM
@AvnerShahar-Kashtan I have some few questions?
 
Instead of having the various ctors call Init, have them chain into each-other, if you can.
Not mandatory, but I find it clearer.
@mark333...333...333 Is one of the questions whether you have a few questions?
 
mr5
@AvnerShahar-Kashtan it looks like it was written by chtulhu
 
@mr5 this is called zalgo text
 
mr5
also, it reminds me of that famous html regex question
 
Suppose you have an id of 1 and I have 2. When you go to the edit page or delete page, you are using the id of 1. But attacker wants to use the 2 by opening the inspect element, so the attacker change your id from 1 to 2. When submitting the post, the changes will be changed on the id 2 instead of 1. How could you prevent that in enterprise applications?
 
7:38 AM
@mr5 Yeah, same thing.
 
!!tell mr5 zalgo cthulhu was here
 
@mr5 c̲͂̀̇ͤt͆͆ͣ͗͂͏̴̸̡̰͈̤h̃́͠͞҉͙͙̟͎͔͉ų̂̆̈͊̓͌͏͞͏̥̳̫̻l̤͔͙̭ͤ̔ͩ̆̚h̵̵̞̲̳̟̭͋̈́̊ͩu͚͎̪̒̋ͫͩ̿̚ ͛͏̜̘w̷̻ͤ̋͋̀͢͝a̷̩̪̜͚̟̤̓͘sͦ͆́ͫͦ͛҉̸̴ ḣ̨ͥ͗̎̀̕͟ę̵̵̢͚̣̹͆̄ͫ͗̆̌͘r̡̡̛̟͈͚͙͓̟̉͢͜ͅȩ̢̛͕ͬͦ̎͂͊ͨ̀͝
 
mr5
!!tell SebastianL zalgo mr5 was here
 
@SebastianL m̹͇͍͇̳̳̤͔̟͔̙͕̭̓ͩ̆ͪ̎̑ͪ̃̌̔̇ͦ̀͞ͅͅr̷̸̶̛͔̻̬͖͖̮͚̖̯̪̲̞̬͑̋ͮ̓͗͂́͐̅̚5̵̈ͭ̅ͭ̔̃ͪͣ̿ͭ͑̋̏ͦ̄ͥ̎͆҉̕‌​̷̟̼̹̠̲̮̳͉͍̥͉͔̦̳͇̦̭ ̶̸̡̡̢͙̻͉̮͔̋̌̽͐ͪͩ̇͛w̡̛̛̰̙̪̘͉̥͈͙͕̘ͦ̔̒̋̐ͨ̾͂͌͒̎ͧͨͨ͠ą̛̯͙̰̱͔̰̮̱ͣ̈́̍̊͛͂͛̀ͅs̊͂̈ͣ̾͋͛ͨͥ͊ͬ̽‌​̴̧̛͇̩͔̘͍̙͖͚̖̞̤͖̥̮̰͖͛ͪ̓̍̄͜ͅͅ ̷̧̦̭͓̥͍̦͇͎̙͈̮̹̟͈͆͒ͭ̄̊̆̎̎ͩ̂ͪ͂̉̂͛͑̚ͅḩ̷̳͙͕̣̠̹̪ͯͧ̏̏̄ͣ͞͠e̶̡̛̬͍͙̻͙̼͔̭̱̣ͨ̾ͤͬͫͮ̽͂ͧͧͣͫ̇̕‌​͕͇̺ͅr̶̷͐̔ͩ̋ͣ̽ͥ̓ͧ̂̒̊ͬͦ̆̌ͪ͆̀҉̟͍̲̤̯̻̰̰͚̩͈̺̮̺ͅé̷͖̤͓̠̼͚̹̮̋͋̐̈̊ͭͬ͋̐̚͘
 
@AvnerShahar-Kashtan by default crud of asp.net, they just pass the id and use the same id to the post. But if the user want to change the id using inspect element, the changes will be sent to that changed id.
I'm just wondering how could you prevent that in enterprise application
 
mr5
7:40 AM
@AvnerShahar-Kashtan ugh, how do you chain the Init method?
 
Oh shit guys, I'm away from chat for like 10 minutes, and it looks like somebody tried to use regex to parse html in here!?
 
@mr5 Not Init, the ctors.
 
mr5
@Metallkiller you don't parse html by regex? you monster!
@AvnerShahar-Kashtan chaining ctors?
 
@mark333...333...333 If the user is allowed to edit entity #2, and changes the request to edit entity #2, then he will edit entity #2. What's the problem.
 
@mark333...333...333 To do an edit, you need to pull the entity from the database, and then apply the changes to the entity. This usually happens through some kind of database context, like a unit-of-work. If there are permissions involved with the user context, decorate the database context with his permissions. In our applications. pulling ID=2 when you don't have permissions for ID=2 simply returns null. Then the controller will just say 404. As if it's not there.
I'm guessing you mean this
 
7:45 AM
So after my Form loaded, I check the DB for a setting, and based on that Enable or Disable a Button.
How would I call that Method?
CheckButtonName?
EnableDisableButtonName?
EnableDisableButtonNameBasedOnSettingName?
Too long, CheckButtonName seems not descriptive enough...
 
ToggleButton
 
@RoelvanUden thank you for that awesome idea. But is it okay, like I declared a private int _id; when the user open that actionresult, that private _id will be supplied and when the use uses post, I'll put an condition if _id != idfromview then it returns null. Is it okay that I apply this principle inside the controller?
 
@mark333...333...333 I don't see how that works. Can you elaborate?
 
@RoelvanUden But I don't neccessarrily toggle it, I just switch it to what the setting says. If the setting is active, I don't toggle off the button.
Also: How does everyone else remember when to use b and when to use p in words derived from "describe"?
 
mr5
@AvnerShahar-Kashtan oh shit. that's what I am talking about lately with my colleagues and completely forgot
 
7:48 AM
@RoelvanUden Oh sure, suppose I'm user A with an id of 1 and I know you are the user B with an id of 2. When I open the edit page for id 1, it will redirect me to actionresult page for editing id 1. Using inspect element, I can easily change my id from 1 to 2. When I click the submit button, the post request is now reading the id of 2 instead of 1. All changes will be made to id 2 instead of 1. @RoelvanUden
 
@Metallkiller UpdateButton then.
 
Oh nice, gonna use that one :)
 
@mark333...333...333 That's why you check on the server.
 
@Metallkiller tld.metalkiller.project.module.class.button_name.Update()
 
7:49 AM
Hi all. Can you explain me, why using this regexp regex101.com/r/O8ej01/2
I got wrong index in 3rd match.
 
...doesnt correctly parse my website?
 
In c# code ofc.
 
To avoid that, I declared private id, so when the user click that edit page, that private id will be supplied with the id for that page only, so when the user click the post submit, post method will check if id from view is the same with private id. If not, it will return null and no changes will be changed. @RoelvanUden is it reliable to do that?
 
For "Thank" i got 17 index instead of 21
 
mr5
@AvnerShahar-Kashtan look how ugly it became: gist.github.com/mr5z/d93808c615f74da0c929ebe2219b40e3
 
7:51 AM
@ionmike have you checked if the string really contains \r and \n in your c# code?
 
mr5
my eyes hurt seeing a lot of screen spaces have been wasted.
 
@ionmike Maybe it takes \r\n as one symbol?
 
@SebastianL yes. i could attach screenshot from debugger
 
@mr5 make a class for the arguments
 
@mark333...333...333 Private int makes no sense. In what context?
 
7:53 AM
an anonymous class :P
 
@mark333...333...333 Controllers don't persist over requests.
 
if you don't mind, @RoelvanUden can I show you my code? let me get a screenshot
 
mr5
@ntohl wrap the entire arguments in one class?
not flexible though
 
@mr5 yes.
 
7:55 AM
is it possible in Winforms, to make same vertical height for two columns of controls
 
@mark333...333...333 Please do.
 
@mr5 why not flexible? Is it more flexible to fluff up the ordering of arguments once, and debug for hours? Also if You chain the arguments to somewhere, You save a lot of typing. And be more flexible
 
@Metallkiller yeah, you are right. So dumb...
 
@RoelvanUden So, even the user change payrollId using inspect element, the changes will not be changed.
I declared a private _payrollId there.
 
mr5
7:57 AM
@ntohl I don't know it that's possible in the IoT we are using
 
@mark333...333...333 You're forgetting that MVC is stateless. This won't work. The class containing these actions is initialized each time a request comes in. The edit GET and edit POST will operate on two different instances of this class. Thus, the _id won't be available.
 
@mr5 internet of things?
 
What should I do then? @RoelvanUden I'm afraid a user can change that id from view to post using inspect element.
 
mr5
@ntohl lol. I mean IoC. we're using Microsoft.Unity
 
@mark333...333...333 Use the approach I specified earlier. Filter everything on the lowest level so you don't have to worry about any of this.
And yes, this is not going to be a 5 minute job.
You really have to design everything from the ground-up to support permissions and filtering or you end up hacking away at everything until you're left with one huge mess.
 
8:03 AM
Oh thank you so much @RoelvanUden :) I will focus on what you've mentioned above. Do you have some resources so I can read it or see it? On how I can perform it inside the dbcontext instead of inside the controller
 
Not really. Just read up on DI and UoW decorators
 
Thank you so much @RoelvanUden I'll consider all of your advices :)
 
@mr5 You can do anything with InjectionFactory, if You need a customizable point.
but You need basically just public SelectLocationMapViewModel(ISelectLocationMapViewModelDTO dto) and reach the dto.XY at the usage.
the creator of ISelectLocationMapViewModelDTO will fill up the parameters which he/she likes to. No need to dozens of constructors
 
@mark333...333...333 The basics really involve setting up a proper user authentication. You want to track who is logged in. Then set up dependency injection for the database context that serves a database context that is filtered for the user login (through a decorator). Now every controller only has access to what the user can see. Mutations happen by getting the entity you're mutating (and if null, it's a 404) and then applying the changes. Quite straightforward if you can think about it like this.
 
Oh @RoelvanUden I'm imagining now the possible result. I really need to rely more on my repository pattern to do this restrictions so the user is limited in penetrating the database access and request.
Thank you so much @RoelvanUden :)
 
mr5
8:19 AM
@ntohl awesome! thanks for the link. I'll try to implement that later
but I doubt our TL would approve
 
@mark333...333...333 Yeah. Permissions and filtering happen on the lowest level. It's simplest to think about, and you can never forget to check something. Win/win. You're welcome.
 
If I have 40 checkboxes in a winform window, and I want when one checkbox checkedChanged the opposite textbox disabled/enabled.. What is the best way to do this? I'm thinking in setting the Tag prop of the CheckBox to the name of TextBox, and set it Enabled property with reflection?
 
@MohamedAhmed bindings? if there 1-1 relation of checkboxes
 
@ionmike not WPF.. WinForms
 
@MohamedAhmed binding is also exist in winforms :)
 
8:29 AM
what?!
can you give me an example or a web page explain this?
 
someone please delete winforms already, like, forever.
 
have a great day @RoelvanUden :)
 
@KamilSolecki working on legacy apps can't be avoided :(
 
@KamilSolecki agree :D
 
if C# will have IAsyncEnumerable in version 8, it would be awesome.
 
8:48 AM
IAsyncEnumerable sounds dangerous
 
I think it's cool
it's like reactive IObservable, just with control over backpressure
 
mr5
so it's like there's a yield inside IEnumerable?
 
Isn't there a yield inside IEnumerable anyway?
 
gyazo.com/2e49d6b11b6bfb6456e6519e416b4290 How can I model the "red" part in Entity Framework? As in: I've got a variable of a certain interface.
 
It's just that...it runs async now. So a program may run several instances of the yielding method at once
@ErwinOkken So all of those are IdentityUsers?
 
8:58 AM
@mr5 there is. IObservable is push based notification. So for example You can create a new IObservable by defining the generator of events. Observable.Interval(TimeSpan.FromSeconds(2)). So with IAsyncEnumerable You have both that push based notification combined with yield of IEnumerable. Whenever both sides are ready, the foreach will process the next element
 
What is yield?
 
Yield is something that makes your method a lazy one, only computing and returning another value when needed.
 
e.g.: Build a Fibonacci generator method giving me an IEnumerable with infinite numbers in it!
You cna use yield return for that and actually give me infinite numbers, without overloading every RAM on earth.
 
with IAsyncEnumerable You can also configure if the Observable.Interval(TimeSpan.FromMilliseconds(1)) part just creates too many elements, than how to handle the backpressure
 
9:01 AM
@ntohl ty
 
maybe C# 8 will solve Diamond problem
 
WHats the Diamond problem?
 
@Metallkiller No. User and TournamentUser are implementing IUser. Only User is an IdentityUser.
 
@Metallkiller If You want to have default implementation for something. In abstract, or interface. Than now You can't multiple inherit from them. Because if multiple thing define the same method/field/whatever, we can't decide which we want to use.
abstract solves this by not letting multiple inheritance. Interface solves this by not letting default implementation
 
9:18 AM
@ntohl How would you like a solution to work then?
 
just define which super classes method You use.
if You don't, make it fail hard.
hmm. Reading about it now. It seems, that if it's possible, than the common super interface's implementation will be used.
dunno.
 
mr5
how is multiple inheritance can help solve specific problem?
 
how can I ultimately generate single CS file from multiple .xsd files?
Anyone has experience with that?
 
mr5
aside from reducing boilerplate codes? I think there's some way we could handle it
 
9:35 AM
There are some good reasoning about when to use composition or inheritance. Composition is more pluggable. You do inheritance when You are sure all the boilerplate code that was written down in one place ain't gonna change in one of the predecessors. With multiple inheritable interfaces it's going to be easier to gain from both in the form of interfaces.
 
 
1 hour later…
mr5
10:47 AM
I haved reduced one xaml file by 80 lines! It took me 3hrs for that
 
How can I model the red part of my model in Entity Framework? Because the classes that implement IUser are not being mapped. gyazo.com/2e49d6b11b6bfb6456e6519e416b4290
 
10:59 AM
@mr5 what have You separated?
 
i bet he just removed 80 \n
 
11:22 AM
@ErwinOkken Is that an inheritance relationship?
IndentityUser : User?
EF does inheritance, but I don't know too much about the config.
 
how deep does performance optimization has to go in c#?
is <5ms to deep?
(as optimization for an operation)
my problem is i can't say for sure if my optimization works, because the result of the analyzer vary >5ms
but in theory it should work :/
 
@SebastianL That question is so vague as to be literally meaningless
 
hmmm to be more detailed, i have a method (HandleThings()) which gets called very often ~300 in one operation
and i optimized some things in this method
a single run of this method is about ~32ms
but it varies between 25ms and 37ms
 
so a total of about 10 seconds
 
and im not sure if i really optimized it or the db connection was a little faster
i ran 8 performanceanlyzes by now and i'm totally unsure if what i did is faster
i theory it should but ...
some were faster, some even slower ...
and i wonder if i get in the domain where even the scheduling of the cpu affects the performance so hard i can't even know
 
11:40 AM
@SebastianL Are you saying it varies less than 5ms over 10 seconds?
 
@KendallFrey less than 5ms per run of HandleThings()
 
But what effect does it have on the entire operation?
 
i'm not sure yet, i think i have to run more performanceanalyzes to be sure since the average value of 10 sec didn't changed in only 8 analyzes
i think i need to write a test which runs the method without network dependency and stuff
 
Is it a problem? No? Move on. :-D
 
its boooooooooooooooooooring
:D
 
11:49 AM
@SebastianL That mean it's not faster. Move on.
 
@SebastianL Make unit tests, with mock objects instead of teh actual db, so you put that out of the equation.
 
12:11 PM
@Metallkiller donig that right now ^^
 
12:31 PM
@KendallFrey Sorry for my late message. User : IdentityUser. But the problem is in the Match -> IUser part. It does not recognize it so it does not create the relationship (column in db)
 
12:44 PM
how to bind to just a field not a property of control like this:
txt_Size01.DataBindings.Add(new Binding("Enabled", opt_size01, "Checked"));
say if I have a field `isShown`, what is the data source then?
 
Hello everybody
 
btw, this doesn't work:
txt_Size01.DataBindings.Add(new Binding("Enabled", this, "theBoolValue"));
 
I've an issue regarding visual studio 2013 that's driving me crazy: When running the application from visual studio it keeps telling me: " Could not find file ...\appName.vshost.exe.config" but this file should be automatically created by VS, right?
 
@nkoniishvt do You have App.config?
or maybe Web.config
 
@ntohl no config file at all. Shouldn't this file also be created by VS automatically?
 
12:59 PM
@nkoniishvt no. It depends on the project type. Like creating a WPF project will create a config file for You, but after that, I can imagine if You delete the config file by hand, it will not recreate it. It have no template to copy from anymore
try create a new project, copy the config file specific part from the new project's csproj into the old one, and copy the config file also
 
@ntohl This is weird because the first project created in the solution was a WPF project.
 
@nkoniishvt I have App.config in the project.
btw I'm on VS2015. Dunno if the behavior of config creation changed since
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
    <startup>
        <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.2" />
    </startup>
</configuration>
^ example App.config content
  <ItemGroup>
    <None Include="App.config" />
...
  </ItemGroup>
^ that is in my csproj file part where defining the relation to App.config
 
@ntohl Ok thank you. I've created a fresh WPF project and it does not contain an App.Config either. Do you think this is a template issue? I've created an "empty" config file by hand using add -> new item and it does not raise an exception anymore... What the hell
@ntohl thank you
 
hmm. That is bad.
 
@ntohl I need to think about reinstalling the whole IDE I think... Running for 3.5y and I begin to have behaviors like this since about 2 months, so...
 
1:08 PM
I'm working on a legacy WinForms app, some developer had set variables like this:
public static string txt_Size01 = "", txt_Size02 = "", txt_Size0 = "", .......txt_Size40 = "";
off course I'll change that to Dictionary<string, string>
but a question had come to my mind, is there a big difference in terms of performance between both approaches?
 
43
A: Rebuilding app.config in visual studio?

HeyThereLameManFor anyone visiting in the future... Delete the app.config file in your solution explorer. Right click the project and select add, add new item. Find "Application Configuration File" in the list and add it. It will be empty. To generate the contents based on your settings (which should still be...

I would do that just to be sure
reinstall windows while You are at it >D
never a bad idea >D
 
@ntohl I've changed the "Startup object" from the project's properties but it does not update the App.config :/
@ntohl Company computer, we can't unfortunately
 
 
2 hours later…
3:02 PM
Welp, our TFS server is down because it ran out of disk space
 
haha
 
user7480455
3:38 PM
wow how may programs do you have running on that ?
 
@KendallFrey had the same issue. We couldn't even revert changes... Because apparently that uses space...
ofc my changes would have been reverted. Had to rewrite a ton of stuff.
 
4:07 PM
David Robinson on September 14, 2017

We recently showed that, based on Stack Overflow question visits, Python has a claim to being the fastest-growing major programming language, and that it has become the most visited tag on Stack Overflow within high-income countries.

Why is Python growing so fast? Python is used in a variety of purposes, ranging from web development to data science to DevOps, and it’s worth understanding what particular applications of Python have recently become more common. I’m a data scientist who uses R, so I’m certainly interested in how much of Python’s growth has been within my ow …

 
 
2 hours later…
6:30 PM
hi
 
6:45 PM
Hellou
 
what windows/view do you use in Visual studio to help you debug code? I normally just use watch/locals and callstack but I'm wondering if I should look at some of their other windows/views for debugging
 
user7480455
Hello all
 
hey
 
7:01 PM
@Euridice01 those are the main windows to view when debugging
there is the Diagnostic Tools windows
 
@Euridice01 Autos and Immediate are useful
 
Memory Usage, Summary, Events, Ram and CPU usage
 
What do you use Autos for and Immediate?
 
Autos can display some variables that Locals doesn't
Immediate is just for checking the value of certain expressions
 
When you say expressions, can I check the value of a linq query at runtime?
 
7:07 PM
Sure, but the Immediate window isn't quite as convenient for displaying lists
 
why not?
 
Because it doesn't display lists as well
 
7:47 PM
Hey guys, sorry for newbie question I might just ask - why the hell would I need cloud (hosted) or installed Visual Studio Online agents? I set up my project to be source controlled under TFS, and I saw the "auto build" options. Isn't it enough I build the code on my local machine? Or as the code grows the build takes hours to complete and it's better off hosted elsewhere than dev machine?
I've never been close to any 'serious' developer environment, hence the question
 
Not a noob question. So in terms of autobuilds... I believe they're referring to auto deployment
So if you're working with a team
 
@Koliat We use TFS to run a "gated" build on every checkin to make sure no one checks in broken code.
 
and you commit changes, you can auto build and auto deploy the build
 
checking in broken code is a serious no-no on a team of more than three people
 
user7480455
why is that
 
user7480455
7:49 PM
why the number 3 as well
 
because I don't want to deal with a build that is broken/can't compile
 
user7480455
or 4
 
and wait for you to fix it
if I pull your changes
with autobuild, it will tell you if the build successfully compiles or is broken after you commit and push your changes
so the whole team knows if the build is good to go or not
 
Ok, that makes a lot of sense when actual team is involved
Thanks a lot for explanation, now I see the concept :-)
 
yeah right now, you don't need to do anything online
 
7:54 PM
I guess I wanted to "get the feeling" of working with "proper" processes, seeing what actual developer environment is about, with all these work items, "epics" and other vocabulary VSTS uses
Dev is still auxiliary to my main role as It admin anyway ;-)
 
yeah no prob
no need to worry about epics, sprints, user stories until you join a scrum based team
 
 
2 hours later…
10:04 PM
posted on September 14, 2017 by Scott Hanselman

The Visual Studio Tools team had some great interns this summer. Juliet Daniel, Lucas Isaza, and Uma Lakshminarayan have been working all summer and one of their projects was to make something significant with ASP.NET Core and .NET Core. They decided to write a blog template. This is interesting as none of them had written C# or .NET before. Python, C, JavaScript, but not C#. This was a good e

 

« first day (2525 days earlier)      last day (2406 days later) »