mode

Deserialization in debug mode ??

Can anyone explain why the following is happening: When we serialize a file in debug mode, we can open it again in debug mode, but not at runtime. When we serialize a file in runtime mode, we can open it again in runtime mode, but not at debug mode. Now I know you're gonna say: thats because they have different assemblies. But we use a...

Security problem while connecting MySQL using JDBC in GWT hosted mode

I want to connect to a mysql database at localhost:3306 using jdbc in a GWT servlet, but when try connecting i get this error : java.security.AccessControlException: access denied (java.lang.RuntimePermission modifyThreadGroup) ... I know that i need to apply a security policy for tomcat to solve this proble, something like this : gra...

SQL Query : List the Most frequent Users of a Server

I am working on a one to many query for an assets database. Here is some sample data Server Name Application Primary_User Server1 SQL DBA Server1 Citrix IT Server1 Oracle DBA Server2 Sharepoint Web Server3 SQL ...

composite colors : CALayer and blend mode on iPhone

I'm trying to use core image on the iphone. I'm able to composite my colors using quartz to draw an uiview, but i want to separate each component into CALayer (UIview consume more resources). So i have a white mask i want to use to filter a background bitmap, and i want to try diffrent blending mode. UNfortunately, the layers are only "...

Perl's taint mode in PHP

Just wondering... is there a PHP equivalent to Perl's Taint Mode? I don't think there is, but thought I'd ask. ...

IE8 Browser Mode & Standards Mode

I need to force IE8 to display as follows: Browser Mode: Internet Explorer 8 Document Mode: IE8 Standards I have added this tag however it only affects the document mode, not the browser mode. How do I override browser mode to ensure the page is always shown with IE8 browser mode too? <meta http-equiv="X-UA-Compatible" content="IE=8...

GWT hosted mode very slow

We do have problems with GWT hosted mode running in Eclipse Ganymede (Windwos XP 3GB RAM). When we start our application in hosted mode it takes very long to start and also the transactions once the application is started are taking minutes to react. It seems as if it takes very long to communicate between Javascript and server. The pr...

Single user mode in mac

I want to use the mac in single user mode. I want to use ctags and cscope in that mode. Could anyone help me with the setups required for this. Thank you. All i know is how to go to the single user mode so please tell me in a simple and easy to understand method. My mac is version 10.6(snow leopard) ...

What is the overhead involved in a mode switch

Hi Many a times i read/hear the argument that making a lot of system calls etc would be inefficient since the application make a mode switch i.e goes from user mode to kernel mode and after executing the system call starts executing in the user mode by making a mode switch again. My question is what is the overhead of a mode switch ? D...

WPF ListBox insert

I have a WPF Listbox defined in a DataTemplate that has its ItemsSource bound to an ObservableCollection. When new items are added to the collection, I want the ListBox to work in "insert mode", always adding to the front of the list, not the default append mode. How do I make the ListBox use the insert mode when not adding to it directl...

sharepoint custom field render differently in "View Properties" mode "Edit Properties" and Norman Display in page

I have one custom field. Here are different render of that page. In EditForm.aspx [Through Edit Properties] In DispForm.aspx [Through Edit Properties] I have overrided Display Mode and Edit Mode. But when I put field in a page layout. The page do not show any result. It just show Mode[Display] text. Please, give some advice. Tha...

Recognising iPhone Silent Mode

Hi, I would like to stop my application playing a sound if the user has switched the iPhone to silent mode. Where can I read that the phone is in silent mode? Is there some flag I can query? I noticed that some applications ignore the silent mode and some not, while I would have expected all apps to respect that silent is silent !! Any...

What are the events to handle the selection of the left circular button in UITableView editing mode

Hai, I have a requirement where I have to handle the events on selecting the left round button on keeping the UITableView in editing mode. Any help would be great. Thanks, Gangadhar ...

glfwOpenWindow and glReadPixels modes ?

Suppose I open a glfw window with: glfwOpenWindow(width, height, 8,8,8,8,8,8, GLFW_WINDOW); Then, I try to read it back with: glReadPixels(0, 0, width, height, ..1.., ..2..); I'm not sure what I should be putting in as ..1.. and ..2.. ; I think ..1.. should be GL_RGBA, but no idea for ..2.. Thanks! ...

How to detect when the laptop is running on batteries in .NET?

Hi, How to detect when the laptop is running on batteries (or AC) in .NET? Thanks, Mahesh ...

Assign a keymap to a derived mode in emacs

How can I assign a keymap to a derived mode in emacs (I am using the define-derived-mode function). There is a derived-mode-set-keymap function but without examples or good documentation. ...

Will adding rel or name attributes to divs and spans cause IE/FF to go into quirks mode?

Will a tag like <span id="suchAndSuch" class="blah" rel="this.that.other" name="this.name"></span> or <div id="suchAndSuch" class="blah" rel="this.that.other" name="this.name"></div> throw IE and/or FF to QM? According to W3C, those aren't standard attributes for those tags, but it does not say if it'll make them invalid. Your hel...

emacs lisp, how to get buffer major mode?

hey guys I have tried to search Google and look in the manual, but still cannot find how to get major mode of a buffer object. Can you help me with an example or a reference. Thanks only solution I could find was to query major-mode after changing the buffer and then changing back to original buffer. Is there a better way to do it? ...

Calculate all modes in c

Can you give me some hint on how to calculate if there are two or more modes in c? I was able to create a program that will calculate for the mode, but if i have a dataset with multiple modes, like 5,3,1,2,3,4,6,4 my program only finds 3 as a mode, rather than both 3 and 4. ...

safe url with .htaccess and moderewrite

hi guy its my first time here and my english sukcs, sorry... i have a problem with my .htaccess, i'm trying to redirect a page with a safe url using this code: RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^noticias/pagina/([0-9]+)/?$ news.php?id=$1 [NC,L] but my swf files called...