« first day (833 days earlier)      last day (3316 days later) » 

10:09 AM
0
Q: Mahapps TabItem pixelating

MangeshGhotageMahapps showing weird behaviour suddenly. You can see that 'categories' is pixelated. It gets normal once I hover the mouse over it. I have structure as, <TabControl> //Outer TabControl <TabItem> ... </TabItem> //Overview <TabItem> //History <Grid> <TabControl> //I...

 
 
2 hours later…
12:22 PM
Afernoon
 
Afternoon
 
12:41 PM
Afternoon
 
1:06 PM
Afternoon
 
1:50 PM
So whats happening?
I saw Interstellar lats weekend. Thought it was rather good actually.
 
2:14 PM
WWIII is coming :|
 
What?
Who's starting it?
 
apparently it was the russian army who shot the malaysian airline's plane
 
who's reporting about that?
 
hmm haven't heard about that source, cant trust it
 
2:46 PM
anyways, haven't seen Interstellar
next movie on the list is "Relatos salvajes"
last movie I saw was "Whiplash", it was terrible :(
even though the critics were excellent
 
haven't even heard of it :)
 
 
1 hour later…
4:03 PM
@franssu looks professional, but is it a credible source?
 
It's been cited by a credible french source
 
Putins to busy fist fighting bears while covered in the blood of raw salmon he just pulled out of a river and ate to go all WWIII
hes russian chuck norris....
divides by zero, has another fist hidden in his chin, wiped out the dinosaurs
etc
 
not for long
have a nice week end
 
you too
 
 
1 hour later…
5:33 PM
Good morning mark
And NETScape, if you are around
 
heyyyo
 
5:44 PM
hello Bradley
 
6:37 PM
wanted to take 3 seconds to say thank you @BradleyDotNET for your help this past week and all the design talk.
you da best
 
Not a problem at all
You know, talking to all of your recently, it makes me wonder "why on earth would all these people listen to a random stranger"
 
hahaha
it is a community
 
Yeah, which doesn't really that answer that question, but makes me feel like doing all this is worth it :)
 
and if anyone saw something that sounded off, they would correct it, at least i hope
i have nobody else to talk to about programming in my company
this room is literally my mentor
 
Thats too bad
Its nice being able to go up to one of the other developers here and toss ideas against the wall with them
 
6:41 PM
we have C developers here, and they only know C
because they are all electrical engineers... they aren't proactive with their software dev skills.
 
Yeah, you don't want EE people telling you how to do real software engineering :(
 
exactly. this whole mvvm experience has been a trip. treeviews basically suck
i was dealing with treeviews awhile back. I could think of exactly how the structure of them should be. but didn't know how to MVVMize it
okay another question haha
so I have SerialPortProfile model
 
should that have public string properties like PortName, Parities, BaudRate, etc... basically so my SerialPortProfileVM can instantiate/create a System.IO.SerialPort
 
I would think so
Although I would just pass your SerialPortProfile to whatever was creating it
assuming thats an option
 
6:54 PM
basically should everything in a model be serializeable?
 
No, any ORM POCO would break that rule
If you plan on serializing it then of course it needs to be, but I don't think you can generalize it like that.
 
ORM POCO... so you're saying a model might have the logic to serialize/deserialize data as well
 
sure
Mostly I'm saying a very common model is a DB persistence layer
and most people use an ORM like EF for that
their POCO's are not serializable
but its certainly a valid model
Sorry, I guess they aren't technically POCOs
so whatever their Entity objects are
Same idea though
 
gotcha. makes sense
i'm not familiar with ORMs which is why i wanted to make sure. or DB really in general
at least when it comes to design
 
ORMs are a bit of a weird one ;)
 
7:06 PM
oh boy
feel like twisting my brain Reed?! haha. are you saying they aren't true models?
or that EF and such is just a pain to work with
 
EF can be a pain to work with, especially if you need a lot of performance
Dapper requires more work, but gives you a lot more control
Those are the only two I have used thus far :)
 
@NETscape I'm saying that ORMs create problems almost as quickly as they solve them
 
7:56 PM
ahhh
aren't they like, used a lot? haha
 
yes, they are
 
interesting
basically orm has to be reconfigured anytime the DB changes?
 
pretty much
though hopefully your DB schema doesn't change often
 
thats the idea
Dapper is flexible that way
but you still have to change your queries of course
 
yeah
 
8:02 PM
The SQL type provider for F# is awesome that way
because DB changes become compile time errors :)
since you don't have to make the types yourself
 
go figure ;) haha just playing
i wish i could just, dedicate a good amount of time to learning per day
haven't looked at F# is ages >:O
 
:(
Dapper is probably the closest in the C# world, and I actually prefer it's appraoch to EF in a lot of ways
but you still have to write your own types there, and if you do it wrong, it's a runtime error, not a compile time error
but that's pretty much the case with EF, too ;)
 
 
1 hour later…
9:32 PM
At least you can DI a dapper class
So in theory you can unit test it, and the stuff that uses it
I've found "runtime" errors that way :)
EF is much harder to inject
 
F4z
10:24 PM
Me.Text = Chr(33) will make the window text '!' which is an exclamation mark. Is there way to actually get the name of it so it prints: "Exclamation"
 
No, not with just that information
Thats a mapping in the english language that simply doesn't exist in programming ones
 
F4z
So I'll have to assign in my self?
 
Yep
You could always do some custom dictionary where "33" mapped to "Exclamation" but that doesn't really buy you much
ie. Dictionary<int, String>
 
F4z
are you familiar with words symbol menu? it shows the name of the character and like you said, they most probably assigned it them selves
 
Yeah, thats most likely some sort of custom lookup
Just like the "Subset"
That doesn't exist as a programming language feature either.
 
F4z
10:31 PM
seems so
Since you've done a lot regarding WPF, do you know if MS will be releasing bug fixes and new improvements and features to the .net development?
 
Do you have something specific? .NET 4.5.2 is well under way
WPF is still being actively worked on
Heck VS2015 added some WPF specific features
So I think they answer to your question is a pretty safe yes
I don't work for MS, so I don't know anything specific of course
 
F4z
glad, so I'm guessing they will fix all those unwanted performance issues as well. For instance the RichTextBox's performance issue.
I just really wish they'd implement a spell checker for the RichTextBox for Winforms...
i doubt it being hard for them
i guess time will do it's job, then we shall see
 
You can always submit bugs at connect.microsoft.com
No guarantee any will be acted upon in any particular order, but you can at least let them know
Ah, I've found another person scared of XAML
0
A: Add icon to button with Visual Studio

BradleyDotNETThe easiest/best way to do this is to add an Image control as the Content of the Button. The property window is somewhat limited in what it can do, and only supports text for that property. This does include bindings, so you could use an Image StaticResource. I couldn't find an easy way to creat...

Not sure why people are so obsessed with doing it through the properties window
Do expert HTML people use a properties window?
 
10:58 PM
lol
 
/rant
 
ahh, yeah, button content, not an actual image.source
 
I just think its funny when people expect such a flexible language to be able to be expressed in dialog boxes
 

« first day (833 days earlier)      last day (3316 days later) »