« first day (2040 days earlier)      last day (2910 days later) » 

2:00 PM
5 people who code professionally and have done for years are telling you not to do something and you're arguing lol
 
user47589
jesus christ
 
as long as you use them sparingly
 
It's a lot easier to get in your car if you don't put on your seat belt. Doesn't change the fact that you're going to fucking die if you get in an accident.
 
@Sippy what? yes. Huh?
 
@Squiggle that issue you had with .net core and azure
 
2:00 PM
The ideal solution would be to move anything tooling related out, and keep project.json clean and present...
 
I dont think thats a great example Mike
 
user47589
its not.
 
saying why I use is not arguing, was just telling the why it made sense for me
 
If I have a place to put my tools, I always know where they will be
 
user47589
Several professional programmers are telling you not to do something. We know your reasons why you want to do as you are, and are telling you not to.
 
2:01 PM
if you like globals, use DI instead
 
Yeah. They were talking of moving back to csproj - but the only thing that the new projects are lacking is a packaging tool.
 
user47589
We also tell you to do your own research, but you don't do that, either.
 
The link Amy posted earlier had a good list of reasons why "it's easy" isn't a good reason, in the long run.
 
dnu publish is slick.
 
 private const string CommentStart = "/*";
        private const string CommentEnd = "*/";
        private bool Comentario = false;
        private bool Comando = false;
 
2:02 PM
so the lesson learned is is never use global vars? like that ^
 
if I have something like that is better because its contrained to just that class and cant be used outside?
 
there is also no replacement for dnvm yet, I have to reinstall the CLI every day now =.=
 
yeah thats not really a global variable
 
@CuddleBunny huh?
 
Oh, what global are they talking about?
 
2:03 PM
Has anyone done any exploratory development using Azure btw
 
@Sippy as in...?
 
Like the free shit
 
I've read something about maintining what is private and whats not on MSDN.
 
user47589
I was unable to insert a panini into Azure.
 
@Squiggle when using the nightlies if they change something in the tooling I need to grab a new build of the CLI + SDK, which happened 4 out of 5 days last week
 
2:04 PM
@Sippy I'm using it right now at work. It's a steep(ish) learning curve 'cos there's so many different things on offer
 
Well doesnt global mean project or solution wide variables
 
@Squiggle I've used it at work
 
@CuddleBunny It's RC2. The whole thing is super-stable now.
 
@Ggalla1779 i dont think so, not necessarily
 
I'm asking more specifically if you get a lot of shit for free to play with
 
2:05 PM
@CuddleBunny DI?
 
yeah, I haven't had to reinstall it since RC2 was released
 
Cos I ain't paying for Azure hosting
 
@Mr.Toxy dependency injection
 
never used that gonna check it out
 
@Sippy you can get $25/month for a year free from Microsoft to play around with
 
user47589
2:05 PM
DI is an advanced topic.
 
@CuddleBunny Does that come with an account or do you have to apply for it
 
@Mr.Toxy yeah, don't look at it yet. Finish this project first
 
@Amy agreed - but "inversion of control" is a really useful concept.
 
user47589
yes
 
like, really useful.
 
2:06 PM
You guys are gonna break him
He still thinks global vars are a good idea
 
@Sippy visualstudio.com/en-us/products/… comes with Microsoft account.
 
lmao
 
@CuddleBunny yeah temptation...before you know it you have huge bill
 
I'm not convinced he wasn't broken when he got here
 
user47589
@Squiggle i just want to avoid giving him more to chew on than he can handle.
 
2:06 PM
you make a class inherite other? o.O
 
There is also CQS
 
^ what the fuck
 
IoC + junior dev == question explosion
 
user47589
@Squiggle i dont think he can handle much.
 
If he doesn't know inheritance, teach him composition hahaha
Errbody wins
 
2:07 PM
Oh yes that'd be awesome
 
@mikeTheLiar I've just been doing C# made a year now. 2 years on c.
theres much I dont know yet. Im here to learn
 
@Ggalla1779 I haven't actually turned on my $25 a month because I only pay $11 for Azure right now.
 
Visitor pattern is a wierd one
 
@CuddleBunny That's cool, I'll take a look
 
sorry you pay
 
2:07 PM
Cheers man
 
@Mr.Toxy keep doing it your way, but when you discover problems, solutions WILL exist - in the form of design patterns :)
 
apparently noone knows how to use that in any nice and cleaning meaningful way
 
Is there a way to tell Visual Studio to append unit test results to a text file or something?
 
@Darth_Wardy Eh?
 
Azure is pretty cheap if you don't do machine learning or media streaming stuff
 
2:08 PM
Yeah somtimes you have to keep going to you hit the wall, then say ow thats what they ment or not
 
@kush There's is a way you can put VS in debug mode then it logs everything it does during a build to config files
 
@Squiggle I just wanna programm better :) just wanna learn
 
@kush when building locally? How are you running these tests?
 
@Squiggle ctrl + r + a
 
user47589
you can have MSBuild output its log to a file
 
2:09 PM
@Mr.Toxy learn how to build basic CRUD functionality based on code snippets from the likes of the asp.net website then start learning how to do those things right
 
user47589
I dont know about unit tests.
 
you could just log stuff in your tests manually
Log(someResult)
 
I didnt saw any option on unit test for that tho
 
then implement logging
 
@Mr.Toxy Honestly, if you use globals to get your project done, keeping in mind that they're not usually a good idea, it is okay as long as you learned something else along the way. I think that when you're learning getting something done is more important than getting it 100% right.
 
2:10 PM
I OBJECT!
 
I was working with razor earlier ... instances of the razor engine have been deprecated
use the static Razor reference
 
maybe get the project done with globals and once it works seek to replace the globals with something else.
 
I actually had that as an exception
I was like .. WTF!
 
@kush run it from the command line - msdn.microsoft.com/en-us/library/ms182486.aspx - and pipe the output to a file using >
 
2:11 PM
@CuddleBunny I had to use on the first part of the project because I needed to get values from different functions in different forms to others. So I made a class to store my globals. at least that was way he said me to do it
 
@RoelvanUden I watched the first episode of the Ace Attorney anime series yesterday. It was pretty good (or at least authentic)
 
I have never watched it. :p
 
user47589
its good
 
it just started airing this season, I have it on my todo list
 
Ah that explains it. I only watch completed.
 
user47589
2:12 PM
Also good, Harvey Birdman: Attorney At Law.
 
user47589
That's how you kill a conversation. Mention Harvey Birdman.
 
I'm more shocked that all Microsoft stuff is down.
MSDN, Outlook, Microsoft.com, Skype.
ALL GONE.
 
Wait what
 
I will do as yo u say. I will finish this make the unit tests and than I will refator what I can
seems a good idea
 
@Mr.Toxy you will get confused, probably
and then code will get more ugly
 
2:20 PM
@Michael with what?
 
@RoelvanUden are you high
 
the problem is that I have too much code but I will see what I can do.
 
@Mr.Toxy some of the concepts that they suggested to look into are quite tricky to implement in the real world code.
 
When in doubt throw more code at the problem
 
@Mr.Toxy Use global variables
That'll solve all your problems
 
user47589
2:22 PM
@RoelvanUden i can get to MS sites
 
Parse HTML with regex
 
too far.
 
Attempt to remove SQL comments with string manipulation
 
user47589
triggered
 
May have been a Dutch node problem.
 
2:22 PM
ROFLMAO
 
I was talking making some changes like nesting, taking the globals out where I can, and some other aspects. Unfortunatly now I dont have spare time to digg into all the suggestions
 
Everyone around here had the same issue :)
 
@mikeTheLiar i have quite a few projects that are much worse off because of that. Trying to throw good coding practices and theory at it, only to make it an inconsistent pile of spaghetti code
 
@Sippy will do :)
 
@mikeTheLiar C# comments from SQL*
 
2:22 PM
Pledge your soul to the Dark Lord Gosling
Write JavaScript
 
user47589
never!
 
@Amy you cant escape it
 
With backslashes
 
user47589
horrified No! Not backslashes!
 
I was just listing Horrible No Good Very Bad Ideas
 
user47589
2:25 PM
stop! i can't take anymore!
 
Lol
It's reasonable to remove DLLs from the bin folder of a repo in the VCS right?
 
Right.
 
It's reasonable to remove the whole bin folder.
 
user47589
yeah
 
Absolutely.
 
2:26 PM
I'm totally gonna do it and totally gonna break this project.
 
That makes perfect sense.
 
Solution isn't set up properly with packages lol
 
user47589
We wish you luck in the wars to come.
 
They're all checked in, even JS builds are checked in
 
And why not
 
2:27 PM
Exactly.
 
try catching when executing sql commands what would be the correct exception to aim for?
DataException?
 
user47589
SqlException?
 
lol
SqlException prolly
Depends what you're doing
 
Im executing commands
just that
with OracleCommand btw
 
Hey @Roel you said Parallel.ForEach is awesome so I wanted to try it
 
2:29 PM
OracleException
 
doing an sql query to 100 databases and want to see which one returns the result first and then stop all the other queries
How do I stop Parallel.Foreach after it finds the result
 
@misha130 Cancellation token IIRC
 
my VS is going crazy. hints dissapear sometimes
 
Cancellation tokens are from the outside of the loop
 
@RoelvanUden its funny you say that as we couldn't boot VMs this morning and they're physically in the NL datacentre
 
2:30 PM
or so googled told me so
 
@misha130 Uhm. I don't want to answer this
 
yea i found it
cts.Cancel
 
@RoelvanUden can u pls remember again that not using MessageBox suggestion u made again?
 
2:32 PM
cool
 
@Mr.Toxy Scroll? :P
3 hours ago, by Roel van Uden
Use var. Use proper indentation. Don't use m_, this isn't C++. Don't initialize fields outside of constructors. Don't use global variables. Don't use WinForms. Dispose your streams. Write files asynchronously. Don't write XML as strings. Don't use == true. Don't use message box. Split methods that are way too large (Looking at you thread worker). Don't catch Exception, specificy what you catch. Don't hardcode configuration settings. Don't use Application.Exit.
3
 
Nice list.
I'd like to print that on flyers and throw it at uni students.
 
I'd add "don't use WebForms" and "don't use SSIS"
"Don't use VB"
 
Roflmao
3 perfectly valid additions
 
I like the dont use Windows Forms
 
2:36 PM
 
@RoelvanUden you said something like build your "own message box" right? something like that
 
Ah, the old for-if loop
 
god bless the uni students
god bless
 
I just know that at least here I dunno if its true for other places students like me who come out of a professional course tend to be a lot better then the uni. @RoelvanUden yey see I used the newly acquired then and a lot :p
 
@misha130 hahahaha
 
2:38 PM
guys like me who come out of this courses the uni for them is a piece of cake, bc they spend 3 years doing practically the same if less
 
That...didn't make any sense.
 
@Mr.Toxy Chill out there stud you're not a programmer yet.
 
fuckfuckfuckwebformsfuck
4
 
didnt said I was
working out to be one
 
user47589
lol
 
2:40 PM
ContentPlaceHolderUpMyArseFuckContentPlaceHolderFuck
 
Ok. I need to merge two files. They have conflicts. If I dare to open the conflict resolution editor, VS blatantly crashes. NOW WHAT
 
@Mr.Toxy keep lifting those brain-weights
 
@RoelvanUden Use kdiff3
 
user47589
use a different conflict resolution thingy. I like Araxis Merge, but its an older non-free product.
 
!!lenny
 
2:40 PM
( ͡° ͜ʖ ͡°)
 
Or perforce
 
@mikeTheLiar Im doing so :)
 
P4 is free. Beyond Compare has a free trial
 
1 day I will be a roel van uden :P
and an amy and a mike and a sippy and a Jakob all in 1
 
Sounds crowded.
 
2:43 PM
the more the best
dont insert a lenny face there
...
 
Multiple personality disorder is a scary thing @Mr.Toxy
@Sippy I'll try this then o_o
 
@RoelvanUden hmmmm Ill put you in cages and take the knowledge out of you hihihihihihih
 
like some sort of a vampire...
hmm
like some sort of a knowledge vampire...
HMM
 
user47589
An amalgamation of separate entities. He's the goddamn borg
 
hmmm hmmm
I will have like your voices in my brain
 
user47589
2:45 PM
i like that word. amalgamation
 
Wouldn't he have to code the nanites first?
 
user47589
rolls off the tongue
 
right
totally
 
"Mr.Toxy of unimatrix C#"
 
saying, you fucking stupid intern this would be sippy btw stop using globals. and then have you tried google it yet you annoying kid, this would be amy screaming at me
 
user47589
2:46 PM
I... cannot kick him. He's stopping my finger from clicking. He's too powerful.
 
kick? damn ok I will hide myself... swy? TwT
 
@Mr.Toxy The journey of a thousand DLLs starts with the first lines young one.
 
user47589
I suddenly have a hankering for pickles. kicks herself
 
I love me some pickles
 
@Sidney damn that sounded so lord of the ringish I like it
very poetic in did
Im sad cause 3 years ago when we started we didnt made the old "hello world" :\
damn it
ok gonna do it now
 
user47589
2:49 PM
has anyone here read Pandora's Star by Peter F. Hamilton? It's so good.
 
Why do I feel like ilMerge is probably a bitch and a half?
 
main ()
{
printf("Hello World");
return 0;
}
 
user47589
ilmerge is half a bitch, and half a panini.
 
user47589
you put the return outside main()?
 
It can't be all bad then.
 
2:50 PM
???
what is this
 
user47589
hello world fail
 
panino.
 
main = putStrLn "Hello, World!"
 
yesterday, by Failsafe
morning panino's
 
morning panini
like morning wood but tastier
 
user47589
2:52 PM
@Mr.Toxy i've never called you annoying, and if you would just do some research before coming here, there wouldn't be a problem.
 
morning panini's
 
Panini: Now for breakfast insertion!
 
havent done nothing in c for 2 years, I dont think I remember half well just functions, structs, pointers, sorts, that normal stuf
 
Panini: salami awakens
 
forgetting c is forgetting the face of your father
 
2:54 PM
@Amy I was making a joke amy, I was trying to get insied ur head, I now you havent called me annoyinh, but you thougt of that some times admit it :P ;) jk
 
it was all a prank guys ^ XD
 
user47589
I don't think you understand how humor works.
 
@misha130 I didnt forgot I still know how to make almost everything just dont remember some specifics of it. If I had to do a programm in c I would remember all again hehehehehe
@Amy US and european humor is different. British humor is in a league of its own...
 
user47589
No, I don't think that's the difficulty.
 
@KendallFrey I wouldn't be so sure about that
!!lenny
 
2:56 PM
( ͡° ͜ʖ ͡°)
 
Didnt understood why the "I don't think you understand how humor works." why u say that?
 
user47589
You have a habit of saying things intended to elicit a negative reaction from people, and when they react as such, you offer up "just kidding!" as a defense.
 
user47589
That's not humor.
 

« first day (2040 days earlier)      last day (2910 days later) »