« first day (2109 days earlier)      last day (2833 days later) » 

1:12 PM
hmmm
soooo quiet
anyone seen the new startrek film?
 
Not yet.
 
should fix this dgv
:(
lost at the moment - bloody windows forms
 
obligatory "omg windows forms lol" comment
 
haha you do this every time
 
yeah quiet morning
 
1:13 PM
i know i know, i need to move onto wpf
but i just need to get this rocking then spend the next month working on the wpf 2.0 version or the mvc version
 
oh datagridview
 
yup
 
everyone loves datagridviews
 
@NeilNorris Look, I like WPF, I write WPF, I spend a lot of time with WPF. But I'm not sure it's the right choice for a new project/version.
 
basically im populating a DGV on form load, but when a value is selected in the combobox I want it to then filter the DGV
 
1:15 PM
Web web web.
 
:D
I would just rebuild it in web but dont have much time to rebuild the thing
not this month anyways
 
I think windows forms was released in 2001
if I am not mistaken
 
jeebus thats old
 
I would say both WinForms and WPF are remnants of the distant past.
 
@misha130 Well, yeah. And Javascript in 1995.
 
1:16 PM
New project? Embrace the web. There is no point not to.
 
@RoelvanUden WPF too?
What if you need a desktop app?
 
I should embrace the web as a front end designer
 
@Michael Do you, really?
 
@Michael Electron.
 
War
afnoon all
 
1:17 PM
sup @war
 
@RoelvanUden interesting. Does MS have an alternative?
 
@Michael Hah. MS.
 
War
what's conversation of the moment?
 
It's an alternative for MS
 
@Michael They use Electron-like methods for VSCode.
 
1:18 PM
Must. always. use. Microsoft.
 
But of course, being MS, they were too special to actually use Electron.
 
I see.
 
Oh wait.
 
War
@RoelvanUden I would say Winforms is WPF is less so but i see your point
 
VSCode is now listed as Electron-using.
Guess they switched.
 
1:18 PM
@war dgv as usual
 
@War If you want a Windows desktop app, you can still use UWP. No need for WPF. Still, I'd argue in favor of web any time.
 
War
@NeilNorris still stuck man?
 
@War yer just dont get the stupid thing, I can see why people hate winforms
 
War
@RoelvanUden yeh I'm thinking anything that builds "desktop apps" these days should just use html and CSS and then "A language of some description"
in other words all apps should basically be web apps with either a server behind them or a VM / container of some sort
where .Net is one such container
 
I would personally use TypeScript+React, but really, many people have success with Angular/Ember/Aurelia and so forth.
Exactly.
And .NET is relevant because of the ease of EF + WebAPI.
 
War
1:21 PM
That basically implies cross platform out o the box
 
gotta think this logically. on Form_load the tableadapter fills the DGV, then the selectedIndexChanged needs to provide a filter hmmmm
 
War
@RoelvanUden I don't know about that, but .Net core is a serious step at cross platform
 
Indeed. And if you split it out well enough, you can throw Cordova in the mix and have your 'desktop app' work as 'mobile app', too. Long live web technologies.
 
War
@NeilNorris on load call the selectedIndexChanged handler, don't put loading code for the grid in the form load method
@RoelvanUden exactly ... HTML + CSS == a globally standard front end
you can't go wrong
 
Which is pretty much my point. :-)
 
War
1:23 PM
yeh I was just agreeing ... cordova is one mechanism for that and UWP is another I think
both are arguably relevant today
 
If I ever find the motivation to continue working on my app, it would be a shining principle of this approach. One code base that can run as server, as desktop app, and as mobile app. Anywhere.
Cordova actually uses UWP (if you target Windows)
 
War
I do love the idea that .Net code is finally totally cross platform and can be compiled to run literally anywhere
@RoelvanUden oh neat ... i did not know that
I'm trying to setup CI builds ... any idea how I can only build the solution(s) that contain the code thats been changed using TFS ?
I can do a global "just build everything" but that feels pretty shit
 
Ok @War sorted. just need to pass the combobox value into the filter
 
War
@NeilNorris seems reasonable ... and on load just take he default value of the combo after you bind it
so load might looks something like ...
BindEverything()
combo.SelectedIndexChanged(combo.Value);
you might not even need to pass the value as it should be there if you just trigger the event
there's probably some select function you can call on it
combo.Select(someValue) <-- triggers changed event
 
cmd.Parameters.AddWithValue("@sid", sidcombo.GetItemText(sidcombo.SelectedValue)); is present in another part of the programme
 
War
1:28 PM
so thats the value you want: sidcombo.SelectedValue
 
yup
 
War
or the wrapper to get the text for that item
should be dead simple :)
 
no, the string is a concatenated value, its the value of @sid
 
War
fair enough
 
this.b_1617TableAdapter.Fill(this.ReportsDataSet.B_1617); -> bind this table adapter value?
 
War
1:29 PM
Hmmm ... I have solutions that build fine locally but not when my server builds them :(
 
apologies to all in here - I'm very new to this whole thing haha
 
War
don't apologise
 
why is anything called b_1617TableAdapter?
 
War
that's why we are here
 
what is B_1617
god damn it
 
War
1:31 PM
lol random
 
Hallo everyone
 
its not random heh
heya
 
War
@NeilNorris that's probably not a great name though lol
 
War
@Rootel sup
 
1:32 PM
i removed sensitive info ^^
 
War
fair enough :)
TFS hates me
 
basically i have v_B_1617 -> view that powers the combobox values and B_1617 which holds the transactions
man i wish this was SQL lol
declare @sid etc etc where sid = @sid
 
you what mate
 
exactly
:)
 
War
wtf do you know about ... LMAO!!!
 
1:48 PM
everyone who uses bundling in their aspnet site should use this extension gist.github.com/StevenLiekens/eae0c33733b4cadd652de5e3e618d322
this is so helpful
 
@Squiggle Good morning
 
o/ good afternoon
 
good (ugt) morning to You
 
How do I know that, in my local machine tests are running in parallel or not?
 
MSTest?
 
1:54 PM
Yes
 
8
A: How to run unit tests (MSTest) in parallel?

Mark SowulVisual Studio 2015 Update 1 adds this. https://www.visualstudio.com/news/vs2015-update1-vs#misc For Update 2, there is a UI checkbox in the toolbar (between the 'grouping' and 'search' boxes). For Update 1, Set the following in the .runsettings <?xml version="1.0" encoding="utf-8"?> <RunSett...

there's a config setting somewhere. It should be fairly obvious when you view it in the GUI as well
 
Sure, thanks!
 
but if your tests aren't designed to be run in parallel you might have trouble refactoring to make it all work :)
especially given that you previously said you're doing disc read/write as part of your tests
 
Exectly, some times ago we changed that setting in TFS server and there was a lot of can not access to the pass errors
Today I tested the tests run in 2 machines
first with SSD hard drive it takes 14:13 minutes
second with HDD hard drive takes 17:48 minutes
there is not a lot of difference
but in TFS server it is taking up to 40 minutes
 
@StevenLiekens why wouldnt you just make your own bundles...or merged code bases?
 
2:01 PM
Debugging NUnit tests with Resharper started acting weird. Can't step into my code anymore, not even with breakpoints. Can't stop on exceptions.
 
@Jamaxack your TFS build agent is slow.
 
@Ggalla1779 I don't know what you mean by either
all I know is that whenever I use StyleBundle, I forget how easy it is to mess up relative paths
 
@Jamaxack I reckon it's the I/O that your tests are doing which slows everything down
 
@Jamaxack are network shares involved?
 
2:04 PM
I don't think so
 
perhaps profile your tests locally and see if there's anything that jumps out
 
In local the tests are passing good, I'm wondering TFS will run other staffs not only build the solution and run test?
 
the TFS build output should give you a detailed report on what it's doing
with timestamps throughout
what version of TFS are you using?
 
@Squiggle TFS 2015 Q1
 
cool :) IIRC that should retain a really detailed log of your build/test run
 
2:10 PM
Q1?
 
@StevenLiekens Yes,
or should I just write 2015?
 
I'm just wondering about the Q
 
War
!!C#
 
May 5 at 15:17, by BoltClock
THIS ROOM IS OUT OF CONTROL
 
With EF I think we would like to create a Dev environment with a hosted SQL Server instead of local. But our SQL servers are set up such that only our special admin accounts have full permissions. With VisualStudio we use normal accounts that dont have full permission to do things like Create a new DB on the SQL server.

Can we specify an account for EF to use when Initializing a DB? or any ways around this?
It seems like we are almost kind of locked into using localDBs for Dev.
 
2:16 PM
Question: Is the for loop redundant here?
Person[] people = new Person[3];
for( int i = 0; i < 3; i++ ) {
people[i] = new Person();
}
 
Try it without the loop and see if it blows up.
 
using local db for development is always a better idea than using a remote db
 
What if my computer spits acid when you install a database on it?
 
Well I'd like to understand why
 
try turning it off and on again
 
2:18 PM
well speed
plus if you mess up,we dont do that right, its just your local db
 
also, using EF to initialize a DB is always a bad idea :D
 
@GrantHill Are you sure your computer is not a Xenomorph? It's an easy distinction to miss.
 
@SunnyPatel The default value of array elements is default(T), here default(Person) which is Person() if Person is a value type and null if a reference type
 
> position in the queue is 4
this means I'll be here for 2 hours before my code gets checked in
if I'm lucky
 
Thanks @milleniumbug. I guess I wanted to have the array filled with default initialized objects, which is not the case, it seems.
 
2:33 PM
the loop you did is correct except you repeat the array size which is repeating yourself which is generally bad
 
Oh, yeah. I oversimplified my use case. It's a variable
 
you can access the length of an array with people.Length
 
and that
 
@KendallFrey Haha
 
Alternatively you can try var people = Enumerable.Range(0, 3).Select(x => new Person()).ToArray(); but that's overkill I think
 
2:38 PM
@KendallFrey it is taking now 38 minutes(after my check in)
 
It says the average build time is 11 minutes
which means at least 2 out if 3 builds are failing immediately
 
1 check in 38 minutes 10 check ins 2 minutes(failed)
 
2:57 PM
@TomW gifrific.com/wp-content/uploads/2014/02/Jim-Carrey-Shocked-Face-Liar-Liar.gif
How does cap collapse images?
 
I think she just edits the message to add a space at the end
Or maybe a period
They only expand if they're the only thing in the message
 
spam again plz
 
Spam 2 : Spam harder
 
Spam Hard with a Vengeance was better.
 
3:13 PM
Does the chat bot still do polling?
!help
 
War
where do I get help on configuring the TFS build system?
 
user47589
your friendly neighborhood TFS build assistant, of course
 
@War good question
+1
 
@War So far I have tried googling, praying, and reading chicken entrails, so you can scratch those off your list.
 
user47589
try peyote
 
user47589
3:18 PM
isn't that the stuff some people use to go on a spirit journey?
 
Good evening
 
good morning
 
Any of you guys have mechanical keyboards?
 
I hear that if you light a candle inside a jackal skull, the TFS gurus will smile upon your hopes.
 
user47589
thats a pile of nonsense, @GrantHill
 
3:22 PM
@GrantHill Generally the gods only accept sacrifices
 
user47589
TFS gurus never smile.
 
first born.
 
They only frown less
 
user47589
lol yes
 
user47589
their work with TFS has left their brains unable to comprehend anything other than sadness.
 
3:23 PM
we actually dedicated a developer full time to figure out the new 2015 TFS build system. after a month, I think we can build a console app
 
@MichaelEdenfield Just be glad he didn't sacrifice himself.
 
well. now that you mention it, I haven't seen him around in a while
 
after working for years in WinAPI C++ and C#... I'm ready to move on
 
Consumed by TFS.
Happens all the time.
We lost two interns that way.
 
some nice safe, easy to use, cross platform... like Matlab
 
3:25 PM
he was just an intern
so it's ok.
apparently they have places that just churn those things out like cattle
 
no com objects, everything wrapped in a nice safe environment, sure dynamic typing is not strict enough, but who cares... you can print pictures easy!
 
sure, for like $3,000
 
@MichaelEdenfield TIL there is actually a place called "Sunderland Intern Factory"
 
You could use Octave, if you don't mind being "mostly compatible".
 
those who would sacrifice money for type safety deserve neither.
 
user47589
3:28 PM
lol
 
what matlab? naw its like 150$
 
you still don't get type safety... you lose type safety
 
What caused the price drop?
 
it's $150 for home use.
meaning you basically can't do anything but play with it.
 
3:29 PM
sure, but if its company based, they are paying for it.
sorry, odd time for me, I've been in this same position for 9 years.
 
spend the $150 on some good whiskey and learn Haskell.
if you're drunk enough it'll even make sense
 
I don't really like Home Editions
 
You could learn Mattlab and study people named Matthew. It's a booming field.
 
fun fact: if you get really drunk before you try to program in Haskell, you end up writing Perl.
 
I wish we didn't bash other languages
 
3:31 PM
might as well just code in LISP
 
@MoonOwl22 You can't always get what you want
 
but bash is fine to bash
 
some languages exist to be bashed, like Java
 
Java can go into the dustbin for all I care
The exception is Java
 
see?
 
3:32 PM
saying "Java is great because it runs on all platforms!" is likes saying anal sex is great because its gender & species independent!
 
user47589
woohoo!
 
We're back on Java = Anal?
 
user47589
2 mins ago, by MoonOwl22
I wish we didn't bash other languages
 
user47589
1 min ago, by MoonOwl22
Java can go into the dustbin for all I care
 
My computer just blue screened on me.
 
3:34 PM
@Griffin and bestiality, apparently
 
Does anyone use EF db migrations in a team environment?
 
user47589
Java is a slippery slope.
 
You had me up until the species part
 
This might surprise you, but horses also have butts.
 
user47589
lies
 
3:35 PM
@GrantHill I'm not going to have sex with a horse though
 
not with that attitude
 
ugggg Java... I've got this massive project that needs every usage of the "synchronized" keyword eliminated.
 
@GrantHill Donkeys too
 
user47589
guys can we change the topic away from bestiality?
 
Because of course that shit it gonna get starred
 
3:36 PM
@roscoe_casita sounds... suspicious
 
@roscoe_casita s/synchronized//g
 
What mechanical keyboards do you guys use?
 
I have the Code keyboard
 
its a half sync/ half async pattern... done wrong... and copy pasted.... 1000 times
 
I have the one with the buttons on it
 
3:37 PM
Atwood might have list his damn mind with Discourse but this keyboard is pretty nice
 
user47589
whats a keyboard
 
@GrantHill touche... +1
 
I use a $30 membrane gaming keyboard, because I couldn't find a decent mechanical keyboard cheap enough to expense with macro keys
because I think one key copypasta saves my joints more stress than mechanical switches would
 
@War i did it!!!
 
@mikeTheLiar @CuddleBunny I'm torn between the CODE keyboard, the Das Ultimate 4, and the Corsair K95
 
user47589
3:39 PM
we're all so proud of you @NeilNorris
 
@griffin I was using asidewinder x6 now I use a cosair strafe mechnical as of saturday night
@Amy wooooooooo
 
@Neil How do you like it?
 
@Griffin is that the one without anything printed on it?
 
@mikeTheLiar Oops. I meant professional. Profession has stuff printed on it.
 
Ah
What color switches does it use? Or do you have a choice?
 
3:41 PM
@GRIFFIN
ooops
@Griffin its ok, the keys are raised and it took a bit getting used to but its nice
 
@mikeTheLiar nice keyboard dude
 
@mikeTheLiar Yeah you get a choice between Blue and Brown. That's where I'm not feeling so confident. I liked the linear motion of the Reds. Not sure how I'll respond to the other keys. I think I'd choose brown if I had to
@NeilNorris Do you bottom out your keys a lot?
 
code keyboards look cool
I have a corsair k70 rgb at home
i love that board
really sturdy
 
@Griffin not really no, it is a good keyboard and very sturdy. I tend to go with gaming keyboards as at the moment my new pc is mainly gaming but I hope to do more coding
 
3:46 PM
@NeilNorris I always bottomed out my red. I had to get O-rings because it got obnoxiously loud
 
@Griffin of the 3 I would go with the Corsair for sure
 
lol I think it might be loud in future, was a bit distracted from BF4 lol
 
Anyone ever used both Red and Brown switches and can tell me what making the change is like?
@NeilNorris Battlelog name?
 
@Griffin try RS_Neil
 
red is light and loud
 
3:47 PM
think thats the name
 
i think
 
Sometimes when I make the same typo multiple times in rapid succession I get frustrated and fucking slam backspace
 
i have browns and the follow through feels good
 
@Griffin a few of the PC parts stores around here have a demo with all of the different switches, maybe look for something like that in your area?
 
I've been told you can hear it on the other side of the office
 
3:47 PM
@Griffin you at home? try add me on origin, I'm at work at the moment
 
I try to avoid doing that these days
 
if not the o-ring idea sounds good
 
@NeilNorris I'm at work too and but I can add you through battlelog
 
you got the app? been meaning to reinstall it. but yer add me, you play the division too?
 
@NeilNorris I used to. All it does it let you be commander.
@mikeTheLiar Definitely can.
 
3:50 PM
when you find my profile dont lol at the stats xD
 
@NeilNorris If you think those are lol-able stats you're going to be sorely disappointed with mine
 
hehe
you like squadding up?
 
I play with a clan and definitely squad up when we can. Those squad objective points are A++
@CuddleBunny Why go with the Corsair for sure?
 
i used to be a bit of a lone wolf, now since I took up support (RPK ftw) I love squad objectives
right folks I gotta go
 
@NeilNorris Talk to you later!
 
3:54 PM
@Squiggle you can now relax - I shall never use winforms again!!
have a good one, @Griffin will accept when I get back home
 
Will do
I don't think pissing off my whole dorm is a good idea so I guess browns are a must.
 
@Griffin Unless the type feel is somehow messed up, you can't beat all those macro keys <3
 
I mapped Ctrl+Alt+F to "program any feature currently assigned to me in JIRA". Had some trouble with it so far.
 

« first day (2109 days earlier)      last day (2833 days later) »