« first day (679 days earlier)      last day (3470 days later) » 

12:04 AM
http://msdn.microsoft.com/en-us/library/ms743695(v=vs.110).aspx

So I'm looking at this does the OnPropertyChanged HAVE to be a string? I tried an int and it didn't like that.
 
12:45 AM
yes - it's the property name , not value
name is always string
 
1:04 AM
Thanks, so now that I have that figured out. How can I use it for data binding? So my UI is smart and updates, you know? Don't I do it through the XML?
 
 
6 hours later…
7:04 AM
Hi
 
Hello!
 
7:38 AM
We can style things quite well with WPF. My quick question is, when we use the ControlTemplate (or any other template), are we styling the original elements, or are we recreating them? For example, the TabControl, I can set a template and add a textblock with a style. Is this possible because I'm overriding the textblock which is in the original control, or am I creating a new 'layout'
 
Its for the current control you are styling or adding a template to
you would have to create a static resource at root app.xaml and specifically aplly the styling or templates to all the elements you wanted to modify.
 
It is like you are editing an object. You gotta class Car and public string Model; in the class. You create var car = new Car() and set its Model like car.Model = "BMW". Same goes for styling and templates it is jut for one specified Control. AMARAIT?
 
Or create a UserControl with your styling and use the UserControl wherever you wanted and element with that particular look
 
@Dave You're creating a new layout
 
yes
 
7:44 AM
You could completely change the contents of that control
 
AMANORAIT?
FUUUUUUUUUUUUCK
 
You kind of are
 
Denver? having a breakdown?
 
FUUUUUUUCK BACKUUUUUUUUUUUUP
 
Because you are setting the template, which will end up being a property of a class
But you are overriding that template
 
7:46 AM
@Sean, thank you.
 
They are, of course, completely different things
@Dave No problem
 
@Sean, can I assume that it over writes everything (meaning even if I just styled a border, because I'm overwriting it would also remove the control's triggers)
 
If you're setting the control template in a Style you can still set a Triggers element in the control itself
 
Thanks @Sean
 
So no, your triggers shouldn't be overwritten
 
7:48 AM
@furier No, just got Friday going. Plus tomorrow I do not have to go to countryside (that is a good news). Plus I got promoted into Diamond division in League of Legends yesterday (which makes me happy aswell - yes I am a geek).
 
SOOOOO
Morning guys
 
I have spent so long using the first example I found online (of a tab control) that I thought it HAD to be in that format - I hadn't realised it was overwritting it until I actually thought "what is this doing"!!!! D'oh, 1 whole year with 1 template!!!
Beers on me, thanks again @Sean
 
Sean, good morning. Not afternoon yet.
 
Morning here (nearly 9am in the U of K)
 
8:50 by my PC
MORNING DENVER
 
7:51 AM
11:48 if anyone cares.
 
What's diamond league again, is that in ranked?
 
Yeah, ranked.
 
Are you close to being a Korean yet?
Oh no, you should play Dota 2
Apparently it's full of Russian's pasting everyone, you should fit right in :D
 
Dude, @Sean. I hate russian gaming community, I hate flamers, I hate whiners and I hate spammers. Actually not really hate, but more like I feel sad for them. And DotA2 is filled with such people. So, NO! I rather stay with LoL. Moreover, I did not like DotA2 at the first place.
As for Korean, it is been said that Europe West Diamond = Korean Bronze. :D
And now it is lunch time.
 
Haha, fair enough =]
I played LoL for a bit, I'm not particularly good at competitive online games
 
8:39 AM
Well you can't be good at playing a game without playing it. So it is more about either you like the game or not.
 
I don't like it enough to torture myself by being beaten into the ground every time I play
 
:)
I have a bunch of ViewModels and I want to make a collection of them. All of them are located in a namespace. Can I create an instance of all ViewModels in this namespaces and put them in the collection by using sort of a loop through all classes in given namespace.
Like for Class c in Namespace collection.Add(new c);
 
8:59 AM
I'm so confused
Why would you do that?
 
I do not know. I have a bunch of tabs in TabControl and a bunch of ViewModels. 1 ViewModel gives data for 1 Tab in TabControl. TabControl
TabControl's ItemSource is bound to a collection of ViewModels.
So I want to fill this collection with all ViewModels I have.
I want this because at runtime I need to switch between tab collections.
This way I could just change the namespace and create instances for all ViewModels from new namespace.
Well, that is how I see it. :D
 
Well you could do that using reflection
I wouldn't do that though
 
And it seemed like a good idea for me, why?
 
Well you could do it but you don't need to
 
But I want to avoid creating all the instances by hand.
 
9:09 AM
I'm sure there's a solid argument against using reflection for this kind of thing
 
string @namespace = "...";

var q = from t in Assembly.GetExecutingAssembly().GetTypes()
        where t.IsClass && t.Namespace == @namespace
        select t;
So yes, I can get class names like that.
Activator.CreateInstance(typeof("class name"));
And create instances like that.
 
9:34 AM
Yeah, that will do what you want
 
I still do not see the drawbacks.
 
I dunno, it's just that you're usually going about things the wrong way when you have to resort to reflection
 
Besides necessity to put only certain classes in given namespace.
 
Yeah you can also type-check it
 
10:30 AM
I made it to payday.
 
OH. MY. GOD. ME TOO!!
 
Grats!
Close one, wasn't it?
 
Yeah it was
 
I like that the iggy pop joke made it to the side bar. It makes even less sense out of context. It's beautiful.
 
It is pretty beautiful
 
10:38 AM
damnit, I'm not a room owner here. I can never know Dave's secret.
 
I wrote: I'm thinking about getting WPF Tool Kit but I can see the extended is only $99 (limited period etc). What I can't tell is, if it's worth it; I only need it for the charting but it doesn't show how the Exteneded extends the charts? Does any one have any experience ?

But then realised, it doens't come with the WPF Toolkit (it's only a preview apparently)
 
@Billdr Unlucky ;D
 
Actually, it does! Yes, sorry. Question is valid. WPF Toolkit comes with chart tools. So does WPF Toolkit Extended. Any one got any ideas if they are different?
 
Thanks Dave. I'll sleep easier tonight.
 
he he
 
10:40 AM
I'm not sure if they are different, I use one control from the WPF toolkit :D
That watermark textbox thing. Wouldn't even be difficult to implement in plain old Wuh-Puh-Fuh. Go go laziness
 
@Sean, is it stylable. I mean, most of the pictures I've seen show the graphs with a blue/grey design. I assume I can style it how I want?
 
You should be able to
Can't you get the extended toolkit from nuget?
Or maybe I am tripping
But either way, give it a go. Are you using VS2013?
 
No, VS 2010 here but I don't mind paying for it ($99 will save me hours compared to building the charts myself), just curious if there was a free one...
 
Aaah, you would have to get Blend... I was going to suggest opening a new project, grabbing it from NuGet and editing the template. Still possible, just more of a pain in older versions of VS
And then you could find out if it does what you want.
 
Time for work.
 
10:48 AM
I haven't had any experience with charting controls, so I'm afraid I can't offer any alternatives
 
Ask Johan, he seems to have a pretty good grip on charting.
 
Ohhhhhhh @JohanLarsson, we neeeeed yoooouuuuuu!
 
@Denver you think you're good? come play prime world and fight the hordes of russian scum with me!
Morning to rest of u :)
 
Morning mavvybum <3
 
I have blend too :)
No worries, than you again @sean
 
10:55 AM
Not a problem. I have summoned Johan, he might appear at some point. Hopefully he can help =]
 
11:20 AM
Here we are. Friday.
Today's the day I solve this connection string problem. Hurray.
 
well I finally managed to login to my STS shit service with WSE 3.0 at least!
so another 3 weeks, may be I'll manage to make a service call too !
 
@Maverik One of the reasons I did not like DotA2 is the fact that I am somewhat experienced player in LoL, that allows me to play with other good players in ranked games, where there are usually less scumbags than in normal or low-ranked games. And to start playing DotA2, Prime World or another MOBA game would mean to start from the beginning.
And hi! :)
 
Hi!
no i NEED one decent player to come with me
i can't carry shit team of 4 scumbags by myself
no matter how broken a hero i have
 
Dota2? I've played a few hours of that.
 
and then you left, because it was shit
i find DoTA2 to be slower in pace than Prime World of LoL
and the new shit is just shit! (smite and such)
 
11:26 AM
I'm not interested enough to have this stupid-seeming debate.
or agreement. Whichever.
 
@Maverik Prime World of League of Legends. Good mistypo. PWOLOL, gonna be a new game.
@Maverik I would check Heroes of the Storm.
Just because its Blizzard.
 
isn't that blizzard one?
i did, dont like cards shiz
 
Yeah.
 
also seen HoN - again shiz
 
Cards?
I am not talking about Hearthstone.
 
11:28 AM
Prime world is actually a good game, but just ruined by russian scums and a game system that literally works against you
oh right, sorry
 
Heroes of the Storm is in beta now, if I am correct. It is MOBA from Blizzard.
 
it's a good game with bad mechanics? WTF does that even mean?
 
And it has some interesting ideas.
 
there's so much focus on all graphics and heros .. but all i care about is a fair match
i'm happy to lose if there was a at least some hope of winning
sick of one sided matches
i know game is working agaisnt me because I've hopped factions and the shit scum that i get in every single game, they suddenly disappear
they're never in my opposing faction when i switch sides
yet they've been with me for so long ruining my games that i know their nicks
 
I enjoy games, where I performed good. Even if it is a total lose because of shit teammates. I do not care in this case.
 
11:34 AM
well i wouldn't either if it wasn't ranked
but when I'm 11/3 and my teams at 0/11 0/10 2/8 1/5 (not made up stats) and i have to deal with tht shit game after game
there's a limit to my patience
because the enemy team knows I'm the only real killer, i get gang banged game after game
how the hell can that be good?
 
Well, I guess getting a lot of games like that can't be good.
But I do not know how can you always lose.
It has to be at least 50/50.
 
@Denver join me and find out or prove me wrong
my own transition from LoL to prime world was piss easy
its very much the same setting but instead of static builds, the builds are more fluid in Prime world
since you have more room to work with a build on a hero
some of the heros even feel similar
they just introduced a new hero that i can't help but feel that it was inspired from karthus
(inspired because its not a ditto copy but I can certainly see resemblance of mechanics)
 
Well, if I play PW, it will not happen soon. Got vacation soon.
 
Morns
 
Hello!
 
11:42 AM
well enjoy your vacation then :)
but if you want a challenge, it's waiting :P
hey andre
 
hola Andre
 
I still have a challenge in LoL. Getting to Master league.
 
challenge isn't in fighting ranks that already have players that work with you
challenge is getting through chaos against the odds of 2-5
 
You know. If I play PW with you, chances to win will be higher and it will not be challenge anymore. I can't deprive you of that...
 
ok then!
i'll stick with 1-5 then
you can enjoy your easy 5-5s
 
11:53 AM
:)
 
Johan is trekking
So he won't be around to ask about Charts
 
Trekking? Like... going to a convention with pointy ears?
 
Haha no, hiking
 
How nerdy.
 
I like camping.
 
12:05 PM
So do I. With a rocket launcher
 
 
1 hour later…
1:18 PM
hryyy
 
Morning NETscape.
 
Yo yo yo
 
morning all
 
1:44 PM
Hi DPP
 
Any of you remember that project I was in the beggining of the year ? That I was staying up until 3am and all...
About 3 months staying up at least 20hours/day
No one? Well, nonetheless, the director said it was better to remove the project from me
:D
 
nothing lost, only learning gained
 
That is a huge loss for me because I worked hard and I was working in that to be a ticket to grow in the company
And now that I got 3 clients with this alone and more 2 speculating, they give it to a lazy f*ck
That project was going to be the second bigger project in the company ;/
Well, I really should start seeking a new job
 
you're saying you didn't learn anything from it?
will the lazy fuk learn anywhere near as much as you?
 
if I have two objects that have reference to the same SerialPort will their calls to send/receive be threadsafe?
 
1:57 PM
while you can hop job, can the lazy eff do that too?
you really haven't lost much
if anything, its your companys loss
@NETscape without you making it? no
 
I did learn a lot about foreign trade but that is not the case, I was really working hard in everything to grow here, since it is a big company
 
did you grow as a developer?
 
big companies aren't good for your personal growth
 
Not as much as I grew in the last company
 
or any company that's more about money
 
1:59 PM
take your skills somewhere else. it sounds like they are prejudice against you
seriously, take a boat to the states and get paid better
 
(source: personal experience from working in Nokia Telecom Networks (the thing that setups up all mobile networks, not the cell phone vendor))
 
Well, I work at the first biggest auditing/consulting company in the world ;p
 
i left that company because i would never have learned anything there
 
don't come to the states and ask for a job just for the visa though
 
and what did you achieve besides a name on your cv?
anybody with half a brain will ignore that name on your cv
 
2:01 PM
I got friends ;p
 
if i had to judge you by your cv alone, i would have passed you over
 
But friends don't pay bills
 
cos two issues with guys from big company - their mentality is more about money than knowledge generally
and if they're leaving a big company, theres likely something wrong with them
of course it could just be me
but i kinda doubt i'm the only one who thinks like that
 
And this company doesn't even pay that well
I got a raise from R$3048 to R$3300
I'm a junior here, and R$3300 is US$1467
I'm not even angry with what they're doing, I'm really disappointed :(
 
Is that per month?
 
2:10 PM
Yeah
 
That is pretty damn poor for a programmer
 
I know, I think I can get a bit more out there
But what makes me look bad is the lack of university
 
How long have you been employed as a programmer in total?
 
1 year as trainee
10 months as third-party
9 months as junior
10 months as junior ( today )
That is 3 years and 5 months I guess
 
In the UK, you see a lot of job postings asking for 3 years commercial experience and they don't mention degrees, or if they do it's as an extra credit kind of thing
But Brazil is not the UK
 
2:15 PM
Here in Brazil they care for a degree because your company gets a better "rep" for having a lot of workers with a degree
 
Well hopefully when you go for your next job interview they will look past your lack of degree and look at all the experience you have
 
I'll just wait my surgery and my vacation
What scares me is that the election day is really close
 
Why's that scary?
 
The fight is between 3 candidates
The one who is already in ( who is doing greatly for low/medium class )
And is doing some amazing things with not having unemployment while having crysis all around the world
While one of the 3 is promoting having a lot of unemployment to contain the inflation ( that is 6% now )
Last time their politics party were in the chair, it was about 40% and it reached 140%
And the third doesn't have anything to offer but since the actual candidate died a few weeks ago, she is gaining a lot of help from the media
And all her helpers are billionaires ( like owner of Itaú )
So if any of the other two win, there will be unemployment because of financial favoritism, and that is scary since you know.. I'm not rich
Not even close to it
 
Politics...
 
2:28 PM
Why everyone wants the actual president out since she is doing an amazing job? Because the media manipulates this country and are almost broken because they can't corrupt them
The actual media were the ones who promoted the dictatorship back in 1964
And there are a lot of people that want that
 
People....
 
Because the politics party is known to promote a "communist-view"
 
Get rich
 
They know nothing :(
One of the candidates, a month ago, was sued because of the construction of two airports using public money when he was a governor
He still has 18% of the vote intentions
I think I off-topic too much for today..
 
$1467/mo... thats a damn shame
especially when an iphone is 900 or whatever
and or a PS4, whatever it was
or is PS4 1200?
 
2:39 PM
PS4 is R$3900 and that is about US$ 1700
 
@Sean was that you who has the App.xaml.cs catch all exception messages method?
that's disturbing
what, they are like $400 here...
I could buy 7 of them a month
 
@NETscape Indeed
 
and still have money to eat for the month... however I would have no money to pay rent haha
 
AppDomain currentDomain = AppDomain.CurrentDomain;
currentDomain.UnhandledException += currentDomain_UnhandledException;
And also something to do with the Dispatcher....
 
Mar 13 at 18:15, by Brock Hensley
public App()
{
    // UnhandledException Handlers
    AppDomain currentDomain = AppDomain.CurrentDomain;
    currentDomain.UnhandledException += LogUtil.UnhandledExceptionEventHandler;
    Current.DispatcherUnhandledException += LogUtil.UnhandledExceptionEventHandler;
    Dispatcher.UnhandledException += LogUtil.UnhandledExceptionEventHandler;
    TaskScheduler.UnobservedTaskException += LogUtil.UnhandledExceptionEventHandler;
 
3:04 PM
There we go =]
 
3:58 PM
Who's that guy?
I have an app.config. Can I make an app.release.config and trust the transforms will work like a web.config?
 
4:10 PM
AFAIK, yes
And I would be wrong
 
drat
 
Apparently you can do it with some editing
 
thanks
 
Your own personal google machine
How do you feel about that? Are you excited, grateful maybe?
 
I am. Which is why I said "thanks."
 
4:16 PM
I keep forgetting that's not a thing that people "just say".. Sorry =P
I also wasn't even saying it like that but nvm lol
 
Sean, you are brilliant and your work to improve my life is appreciated. From the fullest depth of my soul, thank you sir.
 
if an assembly isn't CLR, then what is it? Native?
 
4:48 PM
probably yes
 
and you can't decompile them into IL, only disassembly?
 
I have finally surpassed my machines mere 12gb .. commit charge at 21gb and machine is pig slow /sigh
blessings of running 3 tomcat servers to deal wtih vmware vcenter
yes you can't - IL is clr
and i can see why i can't get this thing to work.. 66mb .cs file of service reference
 
5:32 PM
any way to figure out any function names in the native .exe
those liars! I see the app.config in Notepad++... I think
< assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"><trustInfo xmlns="urn:schemas-microsoft-com:asm.v3"><security><requestedPrivileges><request‌​edExecutionLevel level="asInvoker" uiAccess="false"></requestedExecutionLevel></requestedPrivileges></security></tr‌​ustInfo><application xmlns="urn:schemas-microsoft-com:asm.v3"><windowsSettings>
<ms_windowsSettings:dpiAware xmlns:ms_windowsSettings="http://schemas.microsoft.com/SMI/2005/WindowsSettings" xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true</ms_windowsSe‌​ttings:dpiAware></windowsSettings></application>
ahh, maybe not... that's a .asm schema it looks like
 
6:00 PM
Should I use File.CreateText instead of File.Create ?
Is there any meaningful difference ?
 
@Billdr That's much better :D
 
I am to please.
 
@AndréSilva Define meaningful ;P CreateText creates a file and gives you a StreamWriter and the docs say it's defaulted to UTF-8 encoding. Create just gives you a file stream and you have to specify the encoding
Well you don't have to specify the encoding but Encoding.Default is usually not UTF-8, IIRC
 
So, nothing meaningful, like performance..
 
Encoding is meaningful, but I wouldn't have thought there would be a performance difference
 
 
3 hours later…
8:50 PM
anyone around? I have an issue where I have a converter that converts a path into an imagesource. it is getting a null value all of a sudden in one call, but there is no stack trace information about which usage of it in my xaml is failing.
I am trying to figure out how to determine which tag is blowing up all of the sudden
 
9:18 PM
hah, got tricksy with it. I just added a converterparameter to each tag that said which type of icon I was trying to draw.
 
yooo
figured it out?
 
took 2 minutes to figure out what happened once I did that
 

« first day (679 days earlier)      last day (3470 days later) »