Is it possible/advisable to cause a linux system to reboot from inside a c++ program?
Are there other (perhaps more stable) methods of doing this?
Brad Gunsalus
bardley90@hotmail.com
Hey all,
I am not even remotely a DBA (this is a good thing, trust me), but I do end up "helping out" every once in a while.
My understanding of redo logs tells me that when you perform any insert/update/delete, it keeps a log of whatever data is inserted/updated/deleted so you can restore...
All my code is hand-written in a text editor and I just need to have access to the xml-parsing classes.
Apparently, even though the xml classes are listed in the J2SE documentation, the corresponding classes are not available just by installing J2SE.
I saw on java.sun.com that they were...
Hey all. All the (simple) code I've seen for doing flyout (pulldown) menus uses an absolutely-positioned div section that displays when you mouseover, etc. But I have a slightly different situation.
I have a page with centered content on which I'd like to use these cool menus. However, I...
Hey guys and gals.
I have a table with a really cool background image. Each row is a menu button. I already have the cells highlight onMouseOver, but I need to know how to get the cell back to transparent onMouseOut. I'm familiar with the standard onMouseOut="this.style.backgroundColor...
I am trying to create a web service using Visual Studio .NET. So I create the default web service project, uncomment the "hello world" example, and compile. Then I go to http://localhost/WebService1/Service1.asmx in a browser. I get the cute little page that lists all the web...
I have a form in one frame and am trying to use a function from another frame to call the form's submit() method, but I can't seem to make it work. Something like this:
(formpage)
<form name="form1" method="post" action="formpage">
.
.
</form>
(otherpage)
<head>...
I was wondering...
If you have a reference to a thread, you can tell that thread to sleep. Is it possible to make the thread that's running your main method sleep?
i.e., if I wrote HelloWorld.java with only a main method that contained a continuous loop that printed "Hello World"...
Hi all.
I'm building kind of a hub-and-spokes type application with a central server and several remote clients that speak only to the server.
On a client, there are several (5-6) threads that all need to talk to the server at varying times. To make life easier, I made a SocketHandle class to...
This must be a simple question, but I can't seem to track down the answer.
I'm performing an update in a stored procedure, and would like to check the number of rows affected by the update immediately after.
Is there a rowcount variable or something that I can use to determine the number of...
if a thread with a registered event listener is in its run() method but sleeping, will it still be listening for events? i.e., will it be woken up to handle that event, or will it sleep until it is ready again and THEN get the event, or will it totally miss the event?
Brad Gunsalus...
the text colors change like you would expect, but it's all on a white background in both IE and Opera. It seems that my background: blue is being ignored. Any ideas?
the css:
<style type="text/css"><!--
body {
background: blue;
}
h2 {
font-family: Arial...
I'm going to try this, but if anyone knows and can tell me for sure, is it possible to have a session variable that is an array?
(e.g.)
session_register('myarr');
$myarr = array(1,2,3);
Is this OK? Brad Gunsalus
Cymtec Systems, Inc.
bgunsalus@cymtec.com
First, since I'm asking a window-opening question, I apologize if it was already answered somewhere else, but I couldn't find a solution.
I have a form, and I need to have the form-handler(the action attribute) open into a new window. I'd use target=_blank, but I need to also be able to...
I still can't grasp how the pack function works.
I need to turn dotted ip addresses to decimal representations like so:
10.50.1.5 (the ip address)
0a.32.01.05 (change each octet to hex)
0a320105 (concatenate the octets)
171049221 (change that hex number back to decimal)
I just know...
In a text input, is it possible not only to focus but to actually select (highlight, a la cut/paste) the contents of the box?
I tried focus, but it only puts the cursor at the beginning. Brad Gunsalus
Cymtec Systems, Inc.
bgunsalus@cymtec.com
I have a frameset with two frames. The top frame controls what is displayed in the bottom frame. The top frame contains a select box with onChange=form.submit(), submitting a value to the bottom frame that determines its content.
Great, but there's an annoying side effect. After you select a...
OK, so I have a variable number of POST variables coming into a form handler from another script. These names are a subset of, say, var1, var2, ..var1238.
I know which subset I will have, so I know what numbers will be on the end, and I loop through the possible values, setting $varname =...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.