Talking about SimpleModal the jQuery plugin. Most of the time I think it is a handy feature but I am finding that in a certain case I need to remove it. What are my options?
How would I create a random number using C++? I've heard that one should use the time as a seed, but I'm not sure how to do that with the correct syntax. How would I do this?
One more thing - how would I limit the random number to a particular range? I'm simulating a dice roll and getting numbers in the millions...
Hi,
I have this jsp client that consumes a webservice. The problem with the client is whenever it calls the webservice and retrieves the result, it appends the result to the previous call's result and displays it. But, if i redeploy the war file, the result appears fine. (only for the first time though)
Thanks,
Deepak.
On my Windows machine -- I typically test different versions of Internet Explorer using an array of Virtual Machine instances (which obviously requires a fair amount of investment in time and money). In a pinch I have also used IETester -- which at times can be a little unreliable.
However, I just discovered IE Collection and was wondering if people have used it -- and can I rely on it for web page testing purposes?
Would love to know what you think.
I want to write program which will connect to a network for some amount of time in seconds. Then it disconnects from it and it should be that much faster than the other application (?) should not feel it is disconnected. Which layer should I program at? I know how to disconnect and connect to the network so any suggestion will be helpful......
thanks in advance....
I am using uiwindow as overlay of uivwebview more than one times.After first time keyboard is not coming in uitextfield.Keyboard notification works perfectly but keybaord not appering on window.I think keyboard is hidden under window .How can i bring keyboard upward?
Thank you in advance.
How do you debug lua code embedded in a c++ application?
From what I gather, either I need to buy a special IDE and link in their special lua runtime (ugh). Or I need to build a debug console in to the game engine, using the lua debug API calls.
I am leaning toward writing my own debug console, but it seems like a lot of work. Time that I could better spend polishing the other portions of the game.
I need to measure the length of time requests are taking to be processed on an ASMX ASP.NET web service. What is the best approach for this? Is there an support in ASP.NET that "natively" supports this without me having to write code? Thanks.
http://ahjer-ahjer.blogspot.com/
This is my first time here...
Please refer to the source of the site above. I have a problem with removing the extra space on the bottom of the page. I believe it's caused by the negative relative positions I've made but I'm not sure how to solve this problem.
Should I change my codes in any way?
As I was typing my curriculum vitae, I was wondering if it was good idea to include my GPA. I'm currently in software engineering and have a 4.0 GPA, but don't like mentioning it too much as I fear people might see this as bragging...
But at the same time, I feel like it is something that could help me land a job (or an interview, at least). What should I do?
I've been given a large application with only one try..catch at the outer most level. This application also throws exceptions all the time, and is poorly documented.
Is there any pattern I can implement that will tell me what user method is being called, the exception being thrown, and also the count of exceptions?
I'm thinking of using a dictionary with reflection to get the needed information, but I'm not sure if this will work. What do you think?
I have a WCF service defined as following:
[AspNetCompatibilityRequirements(RequirementsMode = AspNetCompatibilityRequirementsMode.Allowed)]
[ServiceBehavior(IncludeExceptionDetailInFaults = true, InstanceContextMode = InstanceContextMode.PerCall)]
public partial class FrontEndService : IFrontEndService
However, most of the time (but not always -_-) InstanceContext.Current is null, as well as HttpContext.Current and OperationContext.Current is also null.
What am I missing? What I want to do is store some data in HttpContext.Current.Items or a similar collection that exists for the length of the request.
Will a game written in C# have any speed issues after long periods of play, like for 24 hours at a time? I'm specifically talking about a 2D RPG similar to old Final Fantasy or Dragon Quest games. I know that languages like Python will slow down too much, curious how C# would stand.
In order to detect user absence GetLastInputInfo() can be used.
I want to make GetLastInputInfo() return that I've just used keyboard/mouse all the time - as I've been actively using the computer so that whoever relies on GetLastInputInfo() thinks I'm actively using the computer.
Can I use any Windows API functions to achieve that?
I'm looking into experimenting with Tao but I am somewhat put-off by it's dead-looking state. It hasn't been updated since 2008 and it looks like their website stopped functioning at roughly the same time.
Does anyone have any information on the current situation or know of it's stability?
So I have real time video stream. With 1 (one) person on It . It Is Black and White, I need to be able to capture this persons eyes and mouth (direction (at least X,Y), state (at least opened or closed) )
So Is there any fast library(s) for finding human eyes and mouth in Flash in such case? (pure Actionscript or Haxe\Java\C++\C port in SWC form...)
I've set up my app exactly in line with the Railscasts Time Zone Episode 1 but when I run
<%= f.time_zone_select :time_zone, ActiveSupport::TimeZone.us_zones %>
I get this error
NoMethodError in Users#new
Showing app/views/users/new.html.erb
where line #27 raised:
You have a nil object when you didn't
expect it! You might have expected an
instance of Array. The error occurred
while evaluating nil.<=
With line 27 being the aforementioned line. I am really stuck on this...
hey i want a code that calculates cpu or disk utilization of another single concurrent progarm running at same time. that means one progrm is running and other calcutes its resources.
Hi in my table , there is columns called time ,
Field type varchar , value like HH:MM , 02-25 ,21-42,07-15
Can u tell me , how to do the order by desc ,
Regards
Bharanikumar
Hi
can any body suggest me an idea about how can
i create a chat interface between the friend
list which i have created for my application.
actually a want to create a chat server. i have
a friends list in my django model. if more then one
person is online at the same time then they chat with
one another. for this purpose do i have to create a socket
or is there any other way to do it.
Thanks
I have frequent updates to a user table that simply sets the last seen time of a user, and I was wondering whether there is a simple way to defer them and group them into a single query after a short timeout (5 minutes or so). This would reduce queries on my user database quite a lot.
I am attempting to remove rows on my asp.net page using the following code:
try
{
Table t = (Table)Page.FindControl("Panel1").FindControl("tbl");
foreach (TableRow tr in t.Rows)
{
t.Rows.Remove(tr);
}
}
catch (Exception e)
{
lblErrorMessage.Text = "Error - RemoveDynControls - " + e.Message;
}
however, I am getting an error on the (when the code loops the second time around)
"Collection was modified; enumeration operation may not execute."
Any ideas regarding what is causing the error message?
I have texts that most of the time fit in a div, but sometimes it doesn't fit. There is no way to determine how many characters/words/paragraphs fit in the div, so I can't cut it off that way.
The div had a fixed height and width, so can we do something with that? Or do you have any suggestion how to get everything in the div, the correct way?
I have a Flex datagrid with a combo box as an itemRender on one column and the renderIsEditor set to true.. When I disable the datagrid, the combo boxes are still enabled and can receive input and change their values.
How can I disable the combo boxes at teh same time the datagrid is disabled?
Thanks.
I have two variables:
char charTime[] = "TIME";
char buf[] = "SOMETHINGELSE";
I want to check if these two are equal... using charTime == buf doesn't work.
What should I use, and can someone explain why using == doesn't work?
Would this action be different in C and C++?