virtualization

Detecting registry virtualization

淺唱寂寞╮ 提交于 2019-12-03 05:46:11
问题 I have a set of C# (v2) apps and I am struggling with registry virtualization in Win7 (and to a lesser extent Vista). I have a shared registry configuration area that my applications need to access in HKLM\Software\Company... Prior to Vista, everything was just written to and read from that location as needed. The code appropriately detected failures to write to that registry key and would fall back appropriately (writing to HKCU instead and notifying the user that the settings they had

TreeView Virtualization

淺唱寂寞╮ 提交于 2019-12-03 05:46:06
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 TreeView : The scroll bar shows some weird behavior, jumps around a lot, changes size inconsistently,

How can I create virtual machines as part of a build process using MSBuild and MS Virtual Server and/or Hyper-V Server Virtualization?

感情迁移 提交于 2019-12-03 05:08:38
问题 What I would like to do is create a clean virtual machine image as the output of a build of an application. So a new virtual machine would be created (from a template is fine, with the OS installed, and some base software installed) --- a new web site would be created in IIS, and the web app build output copied to a location on the virtual machine hard disk, and IIS configured correctly, the VM would start up and run. I know there are MSBuild tasks to script all the administrative actions in

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

可紊 提交于 2019-12-03 04:18:12
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 this way? How do you need to store your data to make an app work on Citrix? Are there any other

Run multiple android app instances like parallel space

梦想的初衷 提交于 2019-12-03 03:54:53
问题 I want to know how parallel space https://play.google.com/store/apps/details?id=com.lbe.parallel.intl&hl=en is working. It is an app for logging in with another facebook, whatsapp etc account. You can find the detailed description in the play store link. I have looked at the folders that parallel space is creating using ES Explorer. They have created the following folder parallel_intl/0/ In this folder they have DCIM, Pictures etc folder. I logged in another whatsapp account using parallel

Does it make sense to dockerize (containerize) databases?

南笙酒味 提交于 2019-12-03 03:30:58
问题 I can understand the benfits behind dockerizing stateless services, such as web servers, appservers, load balancers, etc... If you are running these services on a cluster of machines, it is very easy to move these containers around with low overhead. What I don't understand though is the purpose behind containerizing databases? databases are connected to a data volume that is persistent in a specific hard disk. Because of state, it is not easy, and not efficient to actually move the database

ubuntu 12.10 perf stat <not supported> cycles

前提是你 提交于 2019-12-03 03:29:44
The system I use is ubuntu-12.10-desktop-amd64 I install perf through apt-get install linux-tools linux-tools-common linux-tools-3.5.0-40 when I use perf list , it list all the events as expected. But when I use perf stat , the result seems abnormal perf stat ls the result is: Performance counter stats for 'ls': 3.988508 task-clock # 0.678 CPUs utilized 172 context-switches # 0.043 M/sec 0 CPU-migrations # 0.000 K/sec 276 page-faults # 0.069 M/sec <not supported> cycles <not supported> stalled-cycles-frontend <not supported> stalled-cycles-backend <not supported> instructions <not supported>

.NET Development on a Mac Tips

醉酒当歌 提交于 2019-12-03 03:06:45
问题 I have just got a MacBook Pro and have been using it (+Fusion) to develop on for about a month now. The purpose of this question is similar to Hidden Features of C#; to become a how-to of tips and trick for windows development on a mac. I should clarify that I am aware of boot camp but do not use it (nor do I have any interest to), hence my use of steady state to make sure nothing happens to my OS partition without my knowledge. However; as Sara pointed out, Apple makes great hardware and I

Virtualized SQL Server: Why not?

痞子三分冷 提交于 2019-12-03 01:11:24
问题 The IT department where I work is trying to move to 100% virtualized servers, with all the data stored on a SAN. They haven't done it yet, but the plan eventually calls for moving the existing physical SQL Server machines to virtual servers as well. A few months ago I attended the Heroes Happen Here launch event, and in one of the SQL Server sessions the speaker mentioned in passing that this is not a good idea for production systems. So I'm looking for a few things: What are the specific

What are “non-virtualizable” instructions in x86 architecture?

笑着哭i 提交于 2019-12-03 00:27:14
Before the advent of hardware assisted virtualization there were instructions that could not be virtualized due to various reasons. Can somebody please explain what those instructions are and why they cannot be virtualized? To virtualize an ISA, certain requirements must be met. Popek and Goldberg used something like the following: A machine has at least two modes (a) user mode and (b) system mode . Typically, applications run in user mode and the operating system runs in system mode . In system mode , the code/program can see and manipulate the machine without restrictions. In user mode , the