virtualization

WPF TreeView Virtualization

不羁岁月 提交于 2019-12-03 22:57:34
I'm trying to figure out this virtualization feature, I'm not sure if I'm understanding it wrong or what's going on, but I'm using the ANTS memory profiler to check the number of items in a virtualized TreeView, and it just keeps increasing. I have a TreeView with 1,001 items (1 root, 1000 sub-items), and I always get up to 1,001 TreeViewItems, 1,001 ToggleButtons and 1,001 TextBlocks. Isn't virtualization supposed to re-use the items? If so, why would I have 1,001 of each? Also, the CleanUpVirtualizedItem never fires. Let me know if I'm understanding this wrong and if you have resources on

WPF Datagrid: Lazy Loading / Inifinite scroll

北城以北 提交于 2019-12-03 17:43:58
问题 I fill the Datagrid with 250 rows. When the user scrolls down using the scrollbar (below 75% for example), I want to fetch the next 250 rows from the database, and so on. The idea is that the grid could have millions of results and we don't want to load them all, until the user requests them. Is there an existing mechanism for this? EDIT: Because there seem to be a lot of confusion: I'm not looking for the standard data virtualization solutions, I already use them. But they all require you to

What is the best virtualization tool available? [closed]

白昼怎懂夜的黑 提交于 2019-12-03 17:15:00
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 8 years ago . Recently my team has spent too many hours setting up machines with previous product releases or database servers with specific patches. In some cases, we have taken a developers machine down for up three days as a result. Clearly, this

TreeView Virtualization

会有一股神秘感。 提交于 2019-12-03 16:29:13
问题 we're trying to come up with a good way to virtualize the TreeView , the data is not really a problem because it's very light (around 16 bytes per item), the problem is that we could potentially have tens of thousands, and although the actual data would only take 160 kb of memory, the treeview items do use a lot more memory. We've tried virtualization with 3 different trees now, WPF, Infragistics and Telerik. All of them have big issues that makes them unusable for our application: WPF

The right way to move a data-only docker container from one machine to another

柔情痞子 提交于 2019-12-03 16:03:13
I have a database docker container that is writing its data to another data-only container. The data-only container has a volume where it stores the data of the database. Is there a "docker" way of migrating this data-only container from one machine to another? I read about docker save and docker load but these commands save and load images, not containers. I want to be able to package the docker container along with its volumes and move it to another machine. Checkout the flocker project. Very interesting solution to this problem, using ZFS to snapshot and replicate the storage volume between

Programming .NET apps for Citrix/Terminal server: Compliance and Pitfalls

别说谁变了你拦得住时间么 提交于 2019-12-03 14:12:59
问题 We are a bit lost here. We need to make our app installable on a network with 80+ Citrix servers. Although our app is 100% valid and working .NET, we've experienced some (for us weird) behavior: You cannot use any "Documents and settings" folders for storing data or settings. Apparently these folders are virtualized and are located in multiple places. Checking if a file exists (i.e., in your own 'program files' folder) doesn't work. Probably for the same reason. Why is the filesystem behaving

Simulating windows laptop in virtual machine?

那年仲夏 提交于 2019-12-03 14:12:30
I wonder if there is a way to simulate laptop in a virtual machine. Specifically, I would like to simulate the lid closing behavior. I checked virtual box and it doesn't seem to have this kind of feature. Thanks! You will have to write an application to do that. The message you are interested in broadcasting is WM_POWERBROADCAST . Take a look here if you also need to catch it. 来源: https://stackoverflow.com/questions/4486560/simulating-windows-laptop-in-virtual-machine

docker attach vs lxc-attach

梦想与她 提交于 2019-12-03 13:41:59
UPDATE: Docker 0.9.0 use libcontainer now, diverting from LXC see: Attaching process to Docker libcontainer container I'm running an istance of elasticsearch: docker run -d -p 9200:9200 -p 9300:9300 dockerfile/elasticsearch Checking the process it show like the following: $ docker ps --no-trunc CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 49fdccefe4c8c72750d8155bbddad3acd8f573bf13926dcaab53c38672a62f22 dockerfile/elasticsearch:latest /usr/share/elasticsearch/bin/elasticsearch java About an hour ago Up 8 minutes 0.0.0.0:9200->9200/tcp, 0.0.0.0:9300->9300/tcp pensive_morse Now, when I

Windows: Is it *possible* to create a (virtual) video card driver?

寵の児 提交于 2019-12-03 11:01:08
i want to create a virtual monitor. The way this would work is that the virtual monitor would appear in a window on my desktop. As far as Windows knows it is just another monitor. It occurs to me that it would, as a practical matter, have to be done as video card driver (i.e. rather than the video going out a wire to an LCD panel, it would go into another window on the desktop). Does what i'm describing sound, technically, possible ? (from a DDK point of view) Note: i can't use a virtual pc, because no virtual PC has resolutions high enough for my needs. Also because it's not what i asked for.

Android emulator: how to find out if hardware virtualization feature is used?

浪尽此生 提交于 2019-12-03 10:31:17
Starting with Android SDK Tools rev 17 the Android emulator supports using the hardware virtualization feature (Intel VT, VT-x, vmx and AMD-V, SVM) which should speed-up x86 based emulator images a lot: http://developer.android.com/guide/developing/devices/emulator.html#accel-vm I installed all necessary components: The newest SDK tools The Intel Hardware Accelerated Execution Manager (and installed it by executing IntelHaxm.exe ) Intel Atom x86 System Image (available as API 10 and API 15 image) Then I created a new AVD using that image, but I could not "feel" any difference regarding the