I'm facing error on Windows XP Start, KEYBOARD not work and can't choose Start windows normally.
After wait 30 seconds, windows not start. I'm test with Windows Live CD and keyboard work well. How can i fix?
I recently bought the domain name lucidcontraptions.com and want to host the website from home. I have a D-Link router in which I have set up my personal virtual server correctly. My application server is Apache 2.2.
The server works perfectly with the following settings:
External IP: 207.172.xx.xx. Public port: 8888
Internal IP: 192.168.xx.xx. Private port: 80
If I go to 207.172.xx.xx:8888/ the server works perfectly and my Apache page shows up without any issues, both from inside the intranet as well as outside.
This setting would not work out for me as I am not allowed port numbers in my DNS management.
Now when I tweak the settings to the following:
External IP: 207.172.xx.xx. Public port: 80
Internal IP: 192.168.xx.xx. Private port: 80
If I go to 207.172.xx.xx/ the server works perfectly and my Apache page shows up without any issues, BUT ONLY FROM INSIDE THE INTRANET.
This page does not show up for people outside the intranet.
I have a Windows 7 x64 guest that acts very strange - the VM is very slow and taskmgr will consume 50% (with 2 cores) or up to 99% (single) of the CPU when everything else is idle.
Host is Windows 7 x64 with VMware Workstation 7.0.1
VMware tools are installed
the same VM, when running on another PC with VMware Server 2.0 will work OK (CPU at ~0% when idle)
I've tried (with no effects)
enabled/disabled 3d
selected 1 or 2 cores
adjusted memory (1gb/500mb)
adjusted the bios
mem.hotadd = "FALSE"
disabled page trimming
Windows 7 x86 guests on the same machine do not have this problem.
I have been following this guide on how to secure erase an SSD (trying to improve the performance of mine, which currently only writes at about 30mb/s seq).
However, I'm using an USB--Sata docking device to avoid having the harddrive frozen. Apparently using this solution the SATA device is recognized as a SCSI drive, which is giving me trouble.
I use the "hdparm -I /dev/sda" command with those parameters, and I get the error;
HDIO_DRIVE_CMD (identify) failed:
Invalid Exchange
After a lot of googling on the issue I can't seem to find anyone who has actually solved this problem. However, I have not tried to just go ahead and use the secure erase. So I'm not sure if this would actually still work.
I would love any and all input I can get on this, especially on whether it will still work to do a secure erase with the drive being recognized as a SCSI drive.
The drive itself is a Samsung 256gb SSD (pm800), I'm sure you can understand my reluctance to go through this procedure without feeling reasonably safe that I won't mess it up beyond repair.
Hello, I have a table with a time column in my SQL Server 2008 database.
The property of the object I'm trying to map to is a TimeSpan.
How can i tell FluentNHibernate to use the TimeAsTimeSpan NHibernate type, so that I don't have cast problems?
I need to create a console application that has a main() function and pop a modeless dialog, so the console can still work in parallel to the modeless dialog (do other work, like communicating with the modeless dialog).
Whatever i tried, i could only pop a modal dialog. (where the console is in hold till the modal dialog close itself).
When switching to modeless dialog using Create() and ShowWindow() the dialog is displayed without its controls and it freeze / block (you can see the hourglass cursor).
1) i tried to pop the modeless dialog from the main() function
2) i tried to pop the modeless dialog from the InitInstance() of a CWinApp derived class
In all cases the modeless dialog freeze / block.
I believe this is a one line solution.
TNX,Vertilka
so this is really weird to me but my code works properly for getting the geolocation if I run my code locally in the simulator, If I have the code on my server it does not work in the simulator, yet the same url and code on my server works on my actual iphone? It seems to not pick up on the geolocation javascript when its on my server in the simulator?
Hey guys.
I have a large config file (user) that i needed to go to the right location and have some default values.
Since i have a installer class, i added some parameter setting to the config file in it, but created the config files in the installers folder.
What is the best way to ensure these default parameters will be written only once, and in the right location?
I've followed the CakePHP Cookbook ACL tutorial
And as of right now I'm just trying to add users using the scaffolding method. I'm trying to go to /users/add but it always redirects me to the login screen even though I have added $this->Auth->allow('*'); in beforeFilter() temporarily to allow access to all pages. I've done this in both the UsersController and GroupsController as the tutorial asked.
Below is my code for UsersController which I think will be the most relevant of all the files. Let me know if any other piece of code is required.
<?php
class UsersController extends AppController {
var $name = 'Users';
var $scaffold;
function beforeFilter() {
parent::beforeFilter();
$this->Auth->allow('*');
}
function login() {
//Auth Magic
}
function logout() {
//Leave empty for now.
}
}
?>
I think I've pretty much followed the tutorial, any ideas as to what I may be missing?
Thanks. I've been stuck on this for a while. =(
Hello,
Almost every flash player has an option to display how much of buffer (or % of total video) is downloaded to the client. At the moment I don't see it in any implementation of html5 video player.
The real problem I am trying to solve is to have a way of knowing % of downloaded asset (image/swf/video whatever). In flash its easy by using MovieClipLoader and bytesLoaded property.
Is there any way of doing it in HTML/HTML5/Javascript (without relying on Flash) ?
Thanks!
I have trouble to expose a .NET assembly in COM. It seems that I must be missing some basic step because I think I followed all tutorials and documentation I found as well as common sense, but still when I do (in a test VBScript):
Set o = CreateObject("MyLib.MyClass")
It keeps saying that the object cannot be created.
Here are the steps I have done:
I have simple one method dummy class with no attributes.
The class is in a class library which has "Make assembly COM-visible" ticked in Visual Studio.
The class library is signed.
The DLL is registered via RegAsm.exe with the /codebase parameter (I don’t want / cannot add the DLL to GAC).
Just to be sure, I tried to copy the library to the same directory as the test VBScript, but it does not help.
Edit: I should have mentioned that the I can instantiate the class in COM if I put the DLL into GAC.
Hi there,
Is there anyway, using google analytics, to track a user's journey/selections through a long form so I can see where they drop off?
I've created a 'contact us' form which starts with drop down menu which requires the user to make a choice i.e. apply for job, apply for funding etc. and then each option requires the user to fill out a form, which is completed over serval steps.
Is there a way to track a user's individual form choices from their initial selection on the Contact Us page through to the form being submitted? That way I could see where in the form journey the users are dropping off.
Hey guys,
I'm rather new to WPF, so maybe this is a simple question. I have a class that derives from Canvas, let's call it MyCanvas. And I have a class, MyClass, that has a property of type MyCanvas. In XAML, I built a TabControl, so each TabItem binds to a MyClass object. Now, in the Content of every tab I want to display MyObject.MyCanvas.
How should I do that?
<TabControl.ContentTemplate>
<DataTemplate>
<Grid>
<myCanvas:MyCanvas Focusable="true" Margin="10" >
<Binding Path="Canvas"></Binding>
</screenCanvas:ScreenCanvas>
</Grid>
</DataTemplate>
</TabControl.ContentTemplate>
Hello,
I'm working on a LaTeX document and using lstlisting to display my Java source code. My setup looks like this:
\lstset{
basicstyle=\ttfamily,
keywordstyle=\bfseries,
language=Java,
frame=single,
aboveskip=11pt,
belowskip=11pt,
breaklines=true,
breakatwhitespace=false,
showspaces=false,
showstringspaces=false
}
The keywords are not highlighted bold when using ttfamily, but if I use small or don't specify the basic style, they're highlighted fine.
What am I missing?
Hi
I'm using InnoSetup for creating my application installers and I set the "SetupLogging=yes" flag to always create a setup-log file in the %TEMP% directory. This works fine for the installation procedure. Unfortunately, InnoSetup will not create such a log file when I uninstall the application.
Is there a flag / possibility to force InnoSetup to also create an uninstall log file?
Dear all,
Hello Guys!!
This is my first post in the forum . I am really looking forward to having good fun in this site. My question is :
int mem_size = 10;
char *start_ptr;
if((start_ptr= malloc(mem_size*1024*1024*sizeof(char)))==NULL) {return -1;}
I have allocated a chunk of memory of type char and size is say 10 MB (i.e mem_size = 10 );
Now I want to store the size information in the header of the memory chunk,
To make myself more clear
Lets Say : start_ptr = 0xaf868004 (This is the value I got from my execution, it changes every time)
Now I want to put the size information in the start of this pointer..
i.e *start_ptr = mem_size*1024*1024;
But I am not able to put this information in the start_ptr. I think the reason is because my ptr is of type char which only takes one byte but I am trying to store int which takes 4 bytes, is the problem .
I am not sure how to fix this problem..
I would greatly appreciate your suggestions.
Cheers!!
Aditya
After reading
http://www.pragprog.com/magazines/2010-03/javascript-its-not-just-for-browsers-any-more
im wondering which is the best IDE to develop service-side javascript applications?
I want a nice development environment with commonjs and node etc. Preferebly windows but anything is interesting really. Is there any IDE with some nifty refactoring tools, maybe some intellisense-like function, etc etc.. Or is it notepad++ ftw?
Hello everyone,
I've got a bit of a complicated set up. I specialise in XSLT which I write for 3rd party system. All CSS looks fine in the browser. Now that system provides a button that converts my generated HTML into MS Word 2003.
However, table borders don't convert as they appear in a Browser. There are lots of tables and they have different borders setup. For example there is one that uses only outside border and no borders inside it. When converting to MS Word, a table appears with ALL the borders in between cells. Which I don't want.
I've tried search the Internet, but didn't come across anything useful. Maybe there are tips or tricks on how to set up tables borders so it's understood properly by MS Word.
The third party said the following: "The system just passes the HTML created through the converter it finds in the installed version of Word".
I would really appreciate any tips and help!
Dasha
Using parent child relationship where a parent can have children while each child has only one parent, does using Children.all().ancestor(parent.key) a good solution where a child is constructed by setting parent=parent.key in the constructor? Is the 1000 limit applies with this kind of query?
What technique should we use to make the httpsession object not loaded heavily with data.
Example :
Request 1 ---- httpSession loaded with an arraylist of 50,000 different objects. session.setAttribute("data",arraylist);
Request 2 ---- httpSession loaded with an arraylist of 40,000 different objects. session.setAttribute("data",arraylist);
Assume the server is loaded heavily with multiple sessions and huge data in them. Let us say from my above example request1..1000 at a time. Which means 1000 session objects with huge data.
What is the alternate way to solve instead storing them in session like this?