C#

General discussions about the c# language, Squirrels | gist.gi...
Jan 9, 2018 22:48
Hmmm looking harder, I've found something called ICollectionViews, reading about it now
Jan 9, 2018 22:38
@Lauraducky No problem, I will probably just implement one if I can't find a standard one.
Jan 9, 2018 22:33
@KendallFrey It's been years, and you're still an obnoxious little twat, lol
Jan 9, 2018 22:33
Ah cool, is it on a gist or something?
Jan 9, 2018 22:32
It'd be a neat class to add to my library if it is set up that way :P
Jan 9, 2018 22:31
@Lauraducky Does your tracking class use Generics?
Jan 9, 2018 22:30
Its a bit heavy, but it might be the correct way. What I really want is WPF to give me a way to pass the list items through a sort of filter class to prepare it for display. I don't know if it has the capability, but it should.
Jan 9, 2018 22:29
Thats a good way to do it
Jan 9, 2018 22:26
It would basically just be a ViewModel for the items in the collection
Jan 9, 2018 22:26
The facade pattern (also spelled façade) is a software design pattern commonly used with object-oriented programming. The name is an analogy to an architectural façade. A facade is an object that provides a simplified interface to a larger body of code, such as a class library. A facade can make a software library easier to use, understand, and test, since the facade has convenient methods for common tasks, make the library more readable, for the same reason, reduce dependencies of outside code on the inner workings of a library, since most code uses the facade, thus allowing more flexibility in...
Jan 9, 2018 22:24
What i was wondering if there was a way in wpf to assign a facade to the observable collection items that WPF would apply to the items before display
Jan 9, 2018 22:23
Heyo, I was wondering if anyone knew of a good pattern or practice for databinding an observable collection to a WPF List, wherein their is a viewmodel for the items in the collection. I don't really want to maintain 2 lists (one for the model items, and one for the viewmodel items unless i have too).
Dec 28, 2016 02:27
i think im just going to ignore you.
Dec 28, 2016 02:27
objects are instances of classes.
Dec 28, 2016 02:26
essentially like solutions explorer in visual studio, except also maps objects as well as files
Dec 28, 2016 02:26
n/m
Dec 28, 2016 02:25
yes a UI component that does this
Dec 28, 2016 02:25
it seems like a pretty standard thing, so i imagined their might be a library that is common
Dec 28, 2016 02:24
Displays objects or files in a multilevel treeview, handles renaming and synchronizing them with the file system, has revert, save load, etc built in
Dec 28, 2016 02:22
i was just wondering if their was a library people use for that sort of thing, project persistence management similar to solutions explorer. I have my own I rolled a few years back, but need additional functionality so i was wondering if there was a library for it
Dec 28, 2016 02:21
kendall, you should spend more time doing work and less time trying to be snarky in this room
Dec 28, 2016 02:20
etc
Dec 28, 2016 02:20
generally it would have an api for persisting
Dec 28, 2016 02:20
im describing solutions explorer
Dec 28, 2016 02:20
no
Dec 28, 2016 02:19
has context menus associated with these things
Dec 28, 2016 02:19
its a treeview with icons that reads from a folder, does saves, renames, folder renames etc
Dec 28, 2016 00:05
Hello, i was wondering if anyone here knew of a library/framework/UI for managing projects/files? Something similar to the solution explorer in visual studio but for custom applications.
 

XAML

A friendly room for discussing XAML based technologies. Our Co...
Jan 9, 2018 22:20
Hello
Jan 1, 2017 22:32
so this is new to me
Jan 1, 2017 22:32
yea, i haven't been going to SO chat much past 6 months or so
Jan 1, 2017 22:30
haven't seen this active before
Jan 1, 2017 22:29
oooh a room dedicated to WPF?
 

Lounge<C++>

Today we're daydreaming about C++26 reflection
Oct 5, 2016 04:45
@Aaron3468 haha, glad it helps you! Im thinking of using it for a different project, was wondering what comments people have on it
Oct 5, 2016 04:44
@Aaron3468 looking at your profile, have you used tensor flow before?
Oct 5, 2016 04:37
that lady is to young to be hillary clinton.
Oct 5, 2016 04:30
@Aaron3468 Hi Aaron, that sounds good. It is the clients fault, but he has good reason, the code bases are there and linking them together gets us what we need for a low price. I think i'm going to do option B, if i do A, I'll just require the memory to accessed through a wrapper that forces locks and unlocks and release. If it gets buggy, worst case scenario i add a logger to the wrapper.
Oct 5, 2016 03:51
its either that or marshalling
Oct 5, 2016 03:50
I think that is the gulf of understanding
Oct 5, 2016 03:50
@Aaron3468 I dont think you guys understand, that even if I run everything serial and block, I still have to have file mapped memory to comm between .NET interop
Oct 5, 2016 03:49
@Aaron3468 You check the semaphore
Oct 5, 2016 03:48
@Mikhail but how do you suppose i get that memory back into .net?
Oct 5, 2016 03:47
@Mikhail Its true i can call a function and pass the pointer to the file mapped memory
Oct 5, 2016 03:46
@Aaron3468 I don't even mind, I just don't see why people are so annoyed with shared memory, you declare a block, declare a semphore and your good
Oct 5, 2016 03:45
@Mikhail Tell you what, find me an article saying why its bad to use shared memory for realtime image processing.
Oct 5, 2016 03:44
@Aaron3468 How would that help me with realtime image processing?
Oct 5, 2016 03:44
@Mikhail You're right, im going to call up my client and tell him that he needs to throw his C# code away
Oct 5, 2016 03:43
@Mikhail I think your angry we are using C#.
Oct 5, 2016 03:41
Perhaps that is a solution if all the applications can share and act on the same block of memory without having to marshal/copy
Oct 5, 2016 03:40
@Aaron3468 Hmmm, maybe if the database gave me a pointer to a block of memory that i can reuse, is that possible?