« first day (545 days earlier)      last day (3604 days later) » 

12:56 AM
Hi
Anyone here? I needed a help on this : stackoverflow.com/questions/23122511/…
How to apply a controlTemplate to a TabControl's tabItem Header while is using Databinding?
 
 
4 hours later…
5:20 AM
Hi
 
 
3 hours later…
7:51 AM
Hi guys, need Help on NFC ...
0
Q: NFC Software developement kit NFC wrapper sample Code

Suresh SavageWhen I Open the NFC wrapper sample codethe program works by stating "SCM_NFC.DLL successfully loaded". But when i tried debugging the code and place the card on the device. i am always getting MessageCount as Zero. Can anyone tell me whats wrong? Thanks in Advance private void ReadNDEF() ...

 
 
1 hour later…
9:00 AM
morning
 
9:53 AM
El morningo
 
10:21 AM
Bom dia
 
10:31 AM
Hey guys.
I have a question guys :). I came across the data annotation for validation [Range(typeof(DateTime), "01.01.1900", "01.01.2099")] I was wondering, from using this, is there a way to have the range from 01.01.1900 to datetime now by any chance? Or would it be best to create a dependency property to do that?
 
oi todo bom
 
10:52 AM
hey mav sorry got called away :), so what you peeps doing.. anything interesting
 
11:05 AM
shame on you!!
Pinvokes are the rage of course so everythings interesting! :)
 
11:53 AM
lol
 
12:36 PM
Anyone into that Microsoft SQL Server 2014 managing Big Data ?
 
12:57 PM
Anyone here into big data?
I optimized a query once. I hated it.
 
Haha
I'm doing a little research about big data
Looking into this new Microsoft Hadoop and stuff like it
But it is just for analytics and management of other databases
 
So, I have two classes. Foo inherits bar and adds one more property. I want to save foo and bar to the database. Using EF code first: If I don't manually specify a primary key for foo, it doesn't appear in the database. If I specify a key for foo, I'm told bar has mutliple identity columns.
 
Well, because of the inheritance ._.
 
Should I create a foobar class which is essentially just foo and inherit both of them? Should I step up to a data contract?
 
Well, Foo has a PK and Bar has a PK and the PK_Foo is the FK for Bar?
 
1:03 PM
A foo is like a bar, but it's a foo. Why can't foo have it's own table?
 
No idea ._.
Never used EF :(
 
:/
going to try an interface real fast.
 
Good luck on that haha
 
dude demanded to see the new nexus 5 camera update.
let's try this again. Going to try an interface real fast.
that worked.
so foo : bar makes one table, bar. foo : ibar and bar : ibar makes two.
 
haha
Is EF faster than normal ADO ?
Or it is only a way to structure data ?
 
Thanks :D
 
id just take it as a rough guide though :)
 
It is something to initiate an opinion
 
@Billdr you may want to look at inheritance strategies
 
elom8s
 
1:32 PM
Obliged, Mav.
 
where does the extra property come from and where should it be saved? out of interest I wont add anything of use to the convo :P
 
Elo Netscape
 
Foos are a specific instance of bars. Bars are generic and will be reused acrossed time. Foos will be used once and are tied to another object.
Parts of foos may be promoted to bars, and when that happens they lose their extra traits. If you want me to get more specific I'll have to drop the foo bar abstraction.
 
Yea i generally hate foobars anyway!
makes it very hard to understand for me - my brain works at TPC
but anyways, i think you'll need to employ migrations for that
you probably want TPH and then use Migrations to promote tables around as per your class promotions
 
1:55 PM
okay. I have VulnListItem, which is essentially a Gem with two additional properties. A GEM is a reoccurring vulnerability that we see frequently. A vuln list item is something that comes up when we audit a specific client. They will be tied to machines and, during peer review, may be promoted to a Gem to be used next time.
A Gem will never appear on a report. VulnListItems will. During the crafting of a report, an analyst may select a Gem that applies to a particular VulnListItem, which will populate all of the shared fields and indicate to the peer-review team that an item does not require a great degree of scrutiny.
I did solve my problem an hour ago by building an interface for both classes to use.
 
well you're probably in a better position to judge but sounds like a simple flag thing
IsGem: more information available in other fields
 
Not quite. The list of machines that's attached to a vulnlistitem is also critical.
IsGem is one of the fields I add to VulnListITem :)
 
well i guess i dont have enough information
 
fair enough
 
since you've already solved it, i'll let it go :)
 
2:00 PM
Also amazeballs.
<3
 
O.O
 
yea do a mav and take them off
not your amazeballs that sounds painfull
 
What, I can't use my idioms? You're always going on about your "fish n chips" and calling people a "gov'na" and whatnot.
 
what is the source/origin for amazeballs
 
I'm not sure. Urbandictionary.com is blocked here.
Katy Waldam really hates the word balls.
 
2:05 PM
clicking on a treeviewitem changes what content is shown in a content control. does it make sense to say "clicking close should remove everything in the content control and double clicking the treeview item again should show the content again...?
 
Amazeballs first appeared in the offices of Details magazine. Done.
 
@NETscape Almost..
 
Maybe..
 
instead of double clicking - i'd just clear selection and let normal select do its job
 
i had similar thoughts. just wondering why someone would want the content to go away. there is nothing else to look at
doesn't make sense to me
 
2:12 PM
whats the icon link for?
 
thats the close icon used in the ribbonbar
lol
 
lets not go there again
 
THATS WHAT IS BEING USED! haha
so somehow clicking that button in the ribbon bar hides the content
blows my mind
maybe if it was in the "View" tab in the toolbar, but its not
 
where did rudi go?
 
I think that is the most important question I've seen in here.
 
2:20 PM
poof, as Bill disappears for another month
 
He has not been on facebook much lately too...
 
I didn't disappear. I was over in Bitcoin, not annoying you.
 
:( You forget about us
 
morning all
 
Morning Julien :)
 
2:25 PM
I didn't forget about you. I just didn't have anything WPF/MVVM, or even C# related to talk about.
Still don't.
I always feel like I drag the quality of this room down.
Hungry and caffeine levels are low. Going to find lunch.
 
get me something please
 
Rudi - i just spoke to him today.. he is fine.. but VERY busy since he's in financial sector.. and this is new fiscal year month
and Morning Jules :P
 
Isn't Fiscal Year in August ?
June is the closing financial deadlines, July is the result avaliation and August begins the fiscal year
 
2:48 PM
mm we have it march closing . april starting
 
Really? Here in PwC Brazil we use it as August
And in Deloitte too :(
Oh there is a difference by country actually
 
right home time , 4 day weekend whoo hoooo
 
hej
@E.LDunn Back to writing wpf?
 
Enjoy your long weekend :)
 
nope back to slacking off work :P
and thanks mav
 
2:55 PM
Do you still write Java?
 
not really no, only just a little for some cordova plugins on android :)
 
I have an extra cadburry creme egg. Better get to my desk soon to eat it.
 
@E.LDunn same here :)))))))))))))
 
enjoy Dunn, Franssu
 
1 message moved to recycle bin
 
3:05 PM
can anyone think of a good way to disallow someone from selecting treeview items, but still allowing expand/collapse and selection of child items
 
vms and IsEnabled binding
and treeview templates
 
Or tweak the style for selected?
 
i ran into a problem where i select an item, and it tries to select its first item, and that item then has to select its first child. but when the second item tries to select its first child at some point the SelectedItem ends up being null
I think IsEnabled doesn't allow you to expand/collapse
 
does treeview have selecteditem?
 
teleriks does
 
3:10 PM
ok never used telerik, never heard anything good about telerik either :)
 
trying this one again too:
1
Q: How does Visual Studio 2012 embed manifest with default settings for my .csproj

NETscapeI'm trying this again, since yesterday my question drew no attention, and I'm guessing it was due to the lack of a well worded explanation. When I build my WPF application, with the "Embed manifest with default settings" option checked, my AssemblyInfo.cs version info is embedded inside the outp...

 
3:25 PM
o/
 
@NETscape Il merge could be useful for that. I have never used it though
More a shot in the dark kind of guess. A word to google for at best.
 
ILMerge is not able to merge WPF assemblies
 
Hey John
 
 
3 hours later…
6:40 PM
merging assemblies in WPF only works if you rewrite the xaml/baml
 
yeah, that's not really what i wanted to do anyways
 
the short answer is, I don't think there's really a way to do it
 
i want to add icons to my .exe index while at the same time use assemblyinfo version fields instead of having to define it in my .res
blah.
 
I'd still suggest not trying to add the icons to the exe - you'll only cause problems,
put them in a separate DLL, or just distribute the ico, etc - it'll make your life easier
you already have an installer, there's really no downside
 
and i can't figure out a post/pre build cmd to recompile my .rc file
 
6:43 PM
as I said, if you just make a separate native DLL project, it'll do all of that for you ;)
 
i still don't know what you mean, separate dll >.<
 
and life gets much easier
make a new C++ project
that's a C++ library
the C++ project build scripts willa utomatically handle compiling the rc to res for you
because that's standard in native C++ projects
 
then have the installer use that for a reference where to find the icons are?
reed, lets write a ILWPFMerge ;)
 
7:00 PM
reed, how would you sort a string[] efficiently? say file3 file5 file2...
 
array.sort should work fine
@NETscape Yes - just point the installer to that DLL
@NETscape I don't really see the point in merging, anyways - it just slows down your startup time :p
I leave my assemblies separate - if they warrant their own project, I don't see why I should bother trying to merge tehm together
 
gotcha. thanks for advice!
if you want to answer my question with the C++ project stuff, i'd mark that as an answer
@ReedCopsey, IYO should every View define its DataContext via XAML?
 
7:30 PM
I prefer passing it in via ctor and setting it there
the parameterless ctor limitation in xaml is a limitation ime
 
7:51 PM
i also define datacontext in c'tor
just thought i'd throw in my 2c :D
 
8:02 PM
we throw in cents and Reed slams a bullion!
@NETscape Have you played with IoC containers?
 
 
1 hour later…
9:25 PM
@NETscape I almost never do that - I typically don't hard code them anywhere but a DataTemplate
 
9:39 PM
you do ctor right?
 
10:10 PM
@JohanLarsson define your DC in ctor... so all your views are made in codebehind?
and no, never messed with those yet
i know what they are though
and why they are used
 
10:34 PM
@JohanLarsson Typically, no - I tend to do data templates instead ;)
 
Reed, you should do a semi-complex MVVM application example and post it somewhere :) I would probably pay for that haha.
 

« first day (545 days earlier)      last day (3604 days later) »