Posts

Showing posts from September, 2015

asp.net mvc 3 - How to determine why unobtrusive validation is not working -

What determines why the controversial verification is not being run? I posted all my custom Validators, and just using MVC validators, and still when I clicked back to the server for verification. This is driving me crazy. The only thing I can think of is that I have a hidden input on [HiddenInput (DisplayValue = false) . Javascript function to determine which fields are submitting the form Can put a breakpoints? EDIT: I realize that only IE8 is generating server side validation. IE9, FF, and Chrome are all okay Edit 2: Okay, this would be a problem or something like cash, at some point it started working again, and it still restores everything Even after working. Learn Less If you get confused problems, clear yourself. Ensure that you have given the following script reference and the path is correct: & lt; Script src = "@ Url.Content (" ~ / scripts / jquery.validate.js ")" type = "text / javascript" & gt; & L...

bash - curl -sIX HEAD binary file -

#! / Bin / bash HEAD = 'curl -six HEAD http://gert.iriscouch.com/ Www / test` प्रतिध्वनि "$ HEAD" अगर [[$ HEAD = ~ एटाग: \ \ "(। *) \"]]; तो गूंज "$ {BASH_REMATCH [1]}" फाई HEAD = `कर्ल -sIX HEAD http: // gert.iriscouch.com / www / परीक्षण / user.png` गूंज" $ HEAD "यदि [[$ HEAD = ~ ETag : \ \ "(। *) \"]]; तो गूंज "$ {BASH_REMATCH [1]}" फाई दूसरा प्रमुख यह ETag से मेल नहीं खाता पर? HTTP / 1.1 200 OK सर्वर : CouchDB / 1.1.0 (Erlang OTP / R14B03) ETag: "2-bd7278b9cc8b0ddaf7c863102f42f246" दिनांक: गुरु, 01 सितं, 2011 19:47:02 GMT सामग्री प्रकार: पाठ / सादे; charset = utf-8 सामग्री-लंबाई: 207 कैश-नियंत्रण:-दोबारा सत्यापित करना होगा 2-bd7278b9cc8b0ddaf7c863102f42f246 HTTP / 1.1 200 OK सर्वर: CouchDB / 1.1.0 (Erlang OTP / R14B03) ETag: "2-bd7278b9cc8b0ddaf7c863102f42f246" दिनांक: गुरु, 01 सितं, 2011 19:47:03 GMT सामग्री- प्रकार: image / png सामग्री-MD5: एसएस + 3YnbRbRQ4uiJKcnFkdA == सामग्री-लंबाई: 4...

python - How do I make an ubuntu/debian package for a twistd/twisted plugin? -

As a follow-up action, how can I create a Debian package for a twisted plugin? Setting.py is written well using CDBS / Python-Central / dh_python2, but I still do not have much luck. The trick with those devices is that they are basically 'Python setup.py install --root =' and then whatever ends up in the package '', maybe once the correct answer to the previous question Given this question, has this been controversial? Apparently this problem is a twist to any person by Debian Has the plugin packed successfully? Is accompanied by 'Python-Support', which corresponds to the twisted plug-ins. Tells about this problem and provides a solution: Packaging of twisted plug-ins with dragon - Support is broken by the dragon policy also clear The format tells you that you should use the same packaging helper for the packages that share the same Python namespace. You should use dh_python2 for this, or use 'in-link-link' with (excluded) 'dh_...

python - SQLAlchemy Event interface -

I am using SQLAlchemy 0.7. I should have some 'post processing' after the session.flush () i.e., i need to access the examples which are included in flush () and iterate again Make them The flush () call will update the database, but in some instances, some data is also stored in the LDAP database, I need to trigger an call using an instance method to write an update in an LDAP database like a SQLLame. I thought I am using after_flush (session, flush_context) event, wide, but how do I list the update () 'd frequencies Can I get it? On one side, how can I decide which columns have changed (or 'dirty') on an example? I have been successful in knowing that a complete example is dirty, But not personal qualities According to: Note the status of the session still Is in pre-flush, i.e. "new", "dense" ?????, and has been removed? The list still shows the history setting on the pre-flush state as well as the example setting. Th...

javascript - Posting to a Facebook wall using a single function -

Overview: I found a website whose sentences are Facebook Post on, but in each sentence there are input boxes, people who can change the default value. As with a digital "crazy leebe", each row has a button that will post the line to Facebook. Help with: After having the same function to post data on the button press, I have different function names on Facebook Could give and could add the variable, but it dashed the purpose of the function. HTML & lt; Div id = "post1" & gt; & Lt; Span & gt; I like & lt; / Span & gt; & Lt; Input name = "post1_1" value = "tom" type = "text" id = "post1_1" /> & Lt; Span & gt; I think he is & lt; / Span & gt; & Lt; Input name = "post1_2" value = "good" type = "article" id = "post1_2" /> & Lt; A href = "javascript: post (post 1)" & gt; Post Now & lt; / A & gt;...

Running jasmine with rails 3.1 and coffeescript -

I am trying to set up a Rail Project 3.1 with coffeescript and jasmine for testing. After the tutorial I have, but I am getting the following error: Internal server error unread method # static_root = 'for # & lt; Sprockets :: Environment: 0x00000102128718 & gt; How do I solve it? Thank you manu Instead, you can follow this. It works for me. Be sure to start the guard before writing your glasses.

jquery - can you replicate all buttons on the top in jqgrid -

Image
I'm looking at jqgrid, you can move pagers to the top of the grid and on the default button but I have to see that Can you move the entire line (along with the pager and default and custom) in the upper part of the grid? If I use the Clonet Top, it only takes the regular buttons, but I do not dynamically add update: As you can see below, I added my own personal refreshgrid button using this code and it was not displayed at the top: .NavButtonAdd ('# Pager' , {Caption: "", title: "reload grid", buttonticon: "UI-icon-refresh", onClickButton: function () {$ (grid selector) .tigger ("relo AdGrid ");}, position:" last "}); parameter cloneToTop: true to navGrid what you want: $ ("#list"). JqGrid ('Navigrid', '#Pager', {Clonautop: true}); See and for additional information.

ruby regex and grouping -

I got the text 'some-lesson here' and / some - (\ W +) - here / all the work is fine, but if I use that expression, then I will call it / some - (? , it increases an error undefined (? ...) sequence? What am I doing? (Ruby 1.9.2) All this is from my innate Yes, I have used RVM and my Ruby version 1.9.2 is in progress. But I have tested that expression where it runs in footer ruble 1.8.7 in ruble. Ruby 1.8.7 and Ruby 1.9.2 have a different regular expression engine. On No It seems to me that you are looking at the wrong Ruby. Do you have RVM installed? 1.9.2 & gt; & Gt; RUBY_VERSION = & gt; "1. 9.2" & gt; & Gt; S = 'Some-Text-Here' = & gt; "Some text here" & gt; & Gt; / Something - (? & Lt; group_name & gt; \ w +) - here = / ~ s = & gt; 0 & gt; & Gt; Group_name # = & gt; "Text" 1.8.7 & gt; & Gt; RUBY_VERSION = & gt; "1.8.7" & g...

c# - PayPal Express Checkout: Notes not being returned -

Paypal_base.dll और Payflow_dotNET.dll का प्रयोग निम्न सेटअप करें: SetExpressCheckoutRequestType.SetExpressCheckoutRequestDetails.AllowNote = "1" जब पेपैल एक्सप्रेस चेकआउट (सैंडबॉक्स) के साथ बाहर की जाँच करते हैं, तो उपयोगकर्ता नोट जोड़ सकते हैं हालांकि, जब उपयोगकर्ता कोई आइटम सबमिट करता है, तो नोट फ़ील्ड null है विशेष रूप से कॉलिंग DoExpressCheckoutPayment जनसंख्या DOxpressCheckoutPaymentResponseType हालांकि, प्रतिक्रिया पर, यहां स्थित नोट फ़ील्ड: DoExpressCheckoutPaymentResponseDetails है null । क्या कुछ सेटिंग है जो मुझे याद आ रही है? पेपैल का उपयोग करते समय यह ऑर्डर नोट से मेल खाती फ़ील्ड नहीं है? आपको अपनी पेपैल खाता सेटिंग्स में सेटिंग्स को संशोधित करने की आवश्यकता है। सैंडबॉक्स में दोनों, और उत्पादन में आपको खाते को भुगतान प्राप्त करने की क्षमता की अनुमति देनी होगी। एपीआई ओवरराइड नहीं करता है।

events - jQuery help with unbind then bind again after animation sequence -

I have the following JS functions and after the click event, I would like to stop anything and stop it. Allows the event to happen again when the function is finished. $ ("# tweet_activate a"). Click (function () (if ($ ('body'). HasClass ('(' '= "154"}, 400) .Delay (1200). Fadeaut ();} and ($ ($ (at home)) ($ (This) .Parent (). "#int_comp"). Animate ({width: "+ = 157"}, 100); $ (this) .Parent () .pause (true, true) .mate {Top: "+ = 154"}, 400 $ ("+ = 56"}, 400); $ ("#tweet"). Delay (): $ (". = 56"}, 400); Derelli (1200) .ED ();} $ ("# tweet_text"). 900 (): ({true: "+ = 214"}, 400); $ ("# tweet_deactivate"). Delay (1200) .Fedine ); $ ("# Tweak_text p, #tweet_text span, #tweet #links") .Dele (1200) .Fedine ($) "$" ("# eye"). Delay (600) .fadeaut (); return back;} Animate ({width: "- $ (" 157 "}, 400);} $ (...

java - Inserting new line characters in a string which has html code in it -

My problem is that I have developed a tool that merge two HTML snippets (each snippet has its own & Lt; / html & gt; & lt;! DOCTYPE html & gt; tag) I combine them into a string and then save it as an output.html file which can be opened in the browser. The problem is that the output is not HTML formatted and wrapping all the text / code in a single line. The current output looks something like this: - & Lt; Title & gt; 1 ABCD & lt; / Title & gt; & Lt; / Head & gt; & Lt; Body & gt; & Lt; Header roll = "exis" & gt; & Lt; / Body & gt; & Lt; / Html & gt; & Lt ;! DOCTYPE html & gt; & Lt; Html xmlns = "http://www.w3.org/1999/xhtml" XML: lang = "en-US" lang = "en-america" ​​& gt; & Lt; Top & gt; & Lt; Meta charset = "UTF-8" /> & Lt; Title & gt; 1 efgh & lt; / Title & gt; & Lt; / Head & gt; & Lt; Body ...

Objective C - deallocated variable -

I have this static / singleton class in which the member variable is everything works fine, However, when I left the app and came back, that member is crashing the variable app. I tried to resume the member variable, but this does not seem like. I am including the samples of my code below, have anyone seen before this? Header (.h) File: @ Interface Metrics: NSOJs {Metrics * Metrics; Distance * distance; } Implementation (.m) file: @ Milan matrix static metrics * metric = zero; + (Metrics *) Shared Instruction {@ Synchronize (Self) {If (Matrix == zero) {Metrics = [[Metrics Alok] init]; }} Return metric; } - (id) init {self = [super init]; If (self) {} returns back to himself; } - (zero) SetupDistance {distance = [[Remote Alok] init]; Distance.test; and it is used, where it is AppDelegate.m - (zero) applicationDidbackActive: (UIApplication *) application {{[[Matrix Share Instance ] SetupDistance]; } Thanks, T Skip the app "you almost certainly mea...

c++ - Why does EnumWindows return more windows than I expected? -

In VC ++, I use EnumWindows (...), GetWindow (...), and GetWindowLong () To do this, check the windows list and check whether the window is the top window (not in the form of a second window owner), and what the window is showing (WS_VISIBLE) However, although my desktop is showing only 5 windows, this EnumWindows I'm giving 50 windows, how odd it is! Any windows geek here please help me clarify ... "post-text" itemprop = "text"> To list only windows in the taskbar The way (or similarly in the alt-tab box) is described by Raymond in this article on MSDN Blog: and it is a super function to check whether the window is in the Alt tab Has been shown: BOOL EASAT TABWANDO (HWND HWD) {TITLEBARINFO ti; Hwd hwdt, hwdwow = null; If (Ivindo Wausible (HWND)) will change wrong; HwndTry = GetAncestor (hwnd, GA_ROOTOWNER); While (hwndTry! = HwndWalk) {hwndWalk = hwndTry; HwndTry = GetLastActivePopup (hwndWalk); If (iSwindOvisable (HWDTE) break); } If (hwndWalk!...

ruby - Rails 3 add virtual attribute dynamically -

My setup: Rail 3.0.9, Ruby 1.9.2 I have reasons to do this But what I need is a way to dynamically add a virtual characteristic to an active sequence of results. This means that I am not using attr_accessor in the model and instead want to dynamically add virtual features to one result. For example, user = user. A # user has the following features: Name, Email, Password What do I like to say Add (without using attr_accessor ) a virtual characteristic status to user , is it possible? You should do this: users.each do | User | User.instance_eval DRF status example_variable_get ("@ position") end DEF status = (val) instance_variable_set ("@ position", val) end and end

c++ - List of base classes for use with variadic templates -

Is there a way to access all the base classes in C ++? Since variadic templates are available I think it will be for example ___BASE, which is a type of variable that is obtained from the current class, will also enable an inquiry whether a class or its base class is of some type . Is it possible before or is I missing something here, why is it not possible? A common mechanism in the language that will tell you all the base classes, though you can all members of your class hierarchy You are free to add a suitable type-tof, which will provide this information (such as TypePef a tubal whose argument type is ancestors of ancestors and ancestors) - you can probably write a little bit of the mix. To check whether something is the basis of some other, it is already part of the standard in the size of Std :: is_base_of type attribute.

javascript - Remove node from and replace it with new values -

How can I add tags to objects, replace their original tags with modified values, I want to run this replacement I am using But the ultimate place is not found or has been removed. How can you recognize a particular paragraph under ? Thanks! function autoObjectFun () {var objects = document.getElementsByTagName ('object'); Var len1 = objects Length; (Var j = 0; j & lt; len1; j ++) for {var paramObj = objects [j] .getElementsByTagName ('param'); Var len = paramObj.length; {Var srcStr = paramObj [i] .getAttribute ('name') for (Var i = 0; i & lt; len; i ++); If (srcStr == 'flashvars') {var newParamObj = document.createElement ('param'); NewParamObj = paramObj [i] .cloneNode (true); Var params = paramObj [i] .getAttribute ('value'); Var newperm = ''; Var Paramplay = 'Autoplay = 0 & amp;'; NewParamObj.setAttribute ('value', absolute); ParamObj [i] .removeNode (true); Var newObject = objects [ja] ....

Bash backup script -

I am trying to create a script for backup to my service provider, though it is empty tar archive and empty sql files And I do not know why. Can anyone see the problems here? #! / Bin / bash SERVER_DIR = "/ var / www / vhosts / site.org" DATE = $ (date + "% d-% m-" $ (which mysqldump) "GZIP =" $ (gzip) "MKDIR =" BACKUP_DIR = "/ backup / $ DATE" NAME = "full- $ DATE" MYSQLUSER = "admin" MYSQLPASS = "pass" MYSQLDUMP = "$ (which mysqldump)" -p $ BACKUP_DIR tar -zcvf $ BACKUP_DIR / $ NAME.tar.gz $ SERVER_DIR $ MYSQLDUMP -u $ MYSQLUSER -p $ MYSQLPASS - All-Database | $ GGIP-9 & gt; $ BACKUP_DIR / $ NAME.sql Find / Backup / -MTM +31 -XAC RM-RF {} \ I think you just have to gzip line On -c is missing, try: $ MYSQLDUMP -u $ MYSQLUSER -p $ MYSQLPASS - All-D Tabes | $ Jijiaipi-C 9 & gt; $ BACKUP_DIR / $ NAME.sql.gz

asp.net - Can Ajax be supported on Sharepoint 2007. Unknown Server tag 'asp:ScriptManager' -

I am trying to use Ajax on SharePoint 2007. I am using webpage templates in Visual Studio 2008. Here I am building Copying the pure solution and aspx pages in my SharePoint webpage and copying Dell from my local to the Bin folder of the SharePoint Web application at the same time I have also copied the AZ Toolkit to the same bin folder where I copied the project DLL did. I am using a simple calendar booster control and tying it in a text box. When I run it on my local machine, I am able to take it out. But the problem occurs when I'm deploying the same code on the SharePoint web application I have gone through a lot of blogs and forums that I have seen that the webpage of SharePoint Web Application The config file has been edited and some have been suggested to install Sherpole Service Pack 1. Error below when I am implementing my code on SharePoint Server. "unknown server tag 'asp: ScriptManager'" Do I sharepoint Can work on AJAX work on server 2007. ...

flex - How to manage positions of DisplayObjects in actionscript? -

I use the following code to set the position of a DisplayObject in the center. obj X = (screen_width - obj.width) / 2; or obj.x = (parentObj.width - obj.width) / 2; And I use the following code to show 2 objects vertically. obj2.x = obj1.width + interval And I want to show the 2 objects vertically and the following code to determine the position of the center I use. var obj3: Sprite = new Sprite; Obj3.addChild (obj1); Obj3.addChild (obj2); Obj2.x = obj1.width + interval; Obj3.x (screen_width - obj3.width) / 2; Is the above code a good way to manage the display object's position? Are there better and simpler ways to do this? OK You can also add them to HG Group or VGUP, (or Hx and Vibox if you are using Flex 3). But when I want to implement the vertical layout without using these types of objects, I usually make the "update ()" method (note that the following code may contain syntax errors: this is just the algorithmic example Form): ...

ruby on rails - Whats wrong with this else if statement? -

Actually my controller is now grabbing all the members: @ members = member All and Im checks by checking them by looping them whether they have uploaded the profile picture and if not, the default should be loaded: ;% @ members.each Do Members | & Gt%; & Lt;% Unless that member.image.nil? & Gt%; & Lt; Li style = "float: left; width: 100px;" & Gt; & Lt;% = image_tag (member.image.url (small))% & gt; & Lt;% = link_to member.email, member_path (member)% & gt; & Lt; / Li & gt; & Lt;% else% & gt; & Lt; Li style = "float: left; width: 100px;" & Gt; & Lt;% = image_tag ("default_member_small.jpg")%> & Lt;% = link_to member.email, member_path (member)% & gt; & Lt; / Li & gt; & Lt;% end% & gt; & Lt;% end% & gt; It seems that each member has a profile image, and the image tag is saying "images / small / missing.png" for missing images. What gives? ...

gcc - More Specific Linker Error in Xcode 4 -

Image
I'm having some problems, and command / developer / kokotron / 1/0 / linux / i386 / gcc - 4.3.1 / bin / i386-Ubuntu-Linux-GCC failed with failed code 1 in the link phase. Now, I can be a crazy person, but I think that Xcode 3 is missing the ability to get some more specific things? If I miss the right, then I would receive such a helpful warning: Warning: libpulse-simple.so.0, /developer/Cocotron/1.0/Linux/ i386 / framework Try using / / LibSDL-1.2.so, not found (-rpath or -rpath-link) But now I just feel "failed in exit code 1" Anyone who has no idea is helpful to everyone in trying to debug? tab, you can see all your issues. Click on this specific problem, you will see the details.

css - Make as wide as page -

Image
Assume that I have & lt; Div & gt; ( #container ) which is set to 960px for its width is & lt; Div & gt; Inside , I have another & lt; Div & gt; I want to make the ( #drawer ) page window as broad So basically, I have and gt; & Lt; Div & gt; Within one & lt; Div & gt; which will be used by his parents & lt; Div & gt; is more comprehensive: & lt; Div id = "container" & gt; // Set 960 px & lt; Div id = "drawer" & gt; // I like it to be as wide as window & lt; / Div & gt; & Lt; / Div & gt; CSS: #content {top: 200px; Status: Completed; Width: 940px; Padding-bottom: 100px; } # Drawer {???? } --- Update --- Hey everyone, Thanks for all the answers I think I have a bit of your answer Make it easy to see some kind of visual description below. I hope it helps! Well both of you can set it if you have deployed it completely. This way you can still use padding d...

json - How to create the REST API for this curl operation in PHP -

I want to execute through php this simple curl operation I can execute this in simple php Somebody Framework not simple php or do I need a framework? curl -XPOST localhost: 12060 / stores / create schema / FieldType H "Content-Type: application / json '-d' {action:" ", fieldType: {name:" n $ name "ValueType: {primitive:" STRING "}, scope:" versioned "namespace: {" my.demo ":" n "}}} 'D - I The one who tried it is: & lt ;? Php $ url = "localhost: 12060 / repository / schema / field type"; // open connection $ option = array (CURLOPT_RETURNTRANSFER = & gt; true, // return web page CURLOPT_HEADER => false, // not return header CURLOPT_FOLLOWLOCATION = & gt; true, // follow redirects CURLOPT_ENCODING = & gt; ; ""; // all encoding handle CURLOPT_USERAGENT = & gt; "Spider", I // Who I CURLOPT_AUTOREFERER = & gt; 120, // connect timeout on CURLOPT_...

actionscript 3 - Flex application doesn't work properly after uploading to a server -

I'm a C ++ programmer, but I am a newbie in Flex. I am developing a Flex 3 application for a social network using Flash Developer. I am using Adobe Flashplayer (10.3 debug) downloaded from Adobe to debug. This app is a simple audio player that shows artist / album images. This application worked fine on both local computers and remote servers until I make some layout changes in Main.mxml. I added some HBoxes and converted image placements. After that this application still works on my local computer, but it does not work properly after uploading to the server. The application buttons are not highlighted on over / out / click events, images loaded over the internet are not displayed, the text is not displayed dynamically, but when I click the button The sound file is loaded over the internet then the game starts. It seems that some events that are responsible for the display components are not sent, because some of the functionality Which still does not belong to display wor...

Mac-like text rendering on Windows? -

How do I present text on Windows with the same display as a Mac rendered text, such as: (This picture Not true, but it shows clean anti-aliasing near Mac) I have seen GDI ++ / Freetype, and it looks very unstable and there is a lack of documentation. If someone has any suggestions, then it will be great, the reason I am asking for is the reason because I am trying to create a writing program where textualization and text display are two important factors. Thanks solution to override the default font-rendering engine in Windows Is in. Simply download your latest package and double click to install it. It will automatically be installed as a service. If you do not see any change in the font render, then click Run - & gt; Open services.msc - & gt; Right click gdipp - & gt; Start . Edit: Alternatively, see if you may need to start your computer again. On . This is a user-space application that will not need to be run as a service. It also works with Ch...

iphone - Device orientation - change in legal way (iOS 4.0+) -

My app has a navigation bar, where yes returns to the first screen orientation, the other is used by a user For orientation, select 1 screen. After returning from 1 screen to 1 screen, if the user had the device in the picture in hand but the interface was in the scenario, then 1 screen has been set on the landscape. must be (BOOL), the cutting-edge Tutorial interface (UIInterfaceOrientation) interface orientation after changing the device orientation Is called. I want to see what the device orientation is atom and sets the interface orientation for this one. Tried: // First method: UIViewController * rotateTheScreen = [[UIViewController alloc] init]; [Self current model viewer: rotate animated screen; No]; [Self-Removed Modal Vij Controller Permission: No]; [Revolving screen release]; // Second way: UIInterfaceOrientation Interface Orientation = self.interfaceOrientation; // Third Method: UINPerface Orientation Orientation = [[UIDwise Current Division] Orientation]; F...

javascript - Send dialog doesn't work in page tab -

Send dialog does not work in the iframe page tab. As an example 'Send Dialogs' page & lt; Html xmlns: fb = "https://www.facebook.com/2008/fbml" & gt; & Lt; Body & gt; & Lt; Script src = "http://connect.facebook.net/en_US/all.js" & gt; & Lt; / Script & gt; & Lt; Div id = "fb-root" & gt; & Lt; / Div & gt; & Lt; Script & gt; // Assume that we are already logged into FB.init ({appId: '123050457758183', xfbml: true, cookie: true}); FB.UI ({Method: 'Send', Name: 'People to the Bi-Second Just, Link:' http://www.nytimes.com/2011/06/15/arts/people-argue-just-to - wins-scholar- assert.html ',}); & Lt; / Script & gt; & Lt; / Body & gt; & Lt; / Html & gt; but returns this error: API error code: 3 API error Description: Unknown method error message: unknown method But when the 'Feed' dialogue changes, everything works properly. ...

javascript - Scaling canvas together with elements over it -

Image
I want to get some ideas about applying it. Here's the sketch: Description: I have a view (canvas on the sketch) and we say that the 2 panel canvas gives the situation with DIV, the panel is outside of this DIV and some element elements of this DIV All the elements with the status are draggable. Every element has a div with the inner canvas. Problem: I need to implement the zoom of this canvas in any way. I am zooming the canvas (it has a grid drawn on it) and the element is also zooming. It can be scaling (I know about quality after the scaling bitmap, it is acceptable in my case). The only problem is that I do not really know how to scale both canvas and independent elements, which are on it, that our illusion is that visual scaling is there. Hope you have received the idea of ​​what I am trying to do. If your target browser performs CSS3 conversions, you can use your floating divs Change the style to transform: scale (1.5.1.5) . Note: You probably want t...

python - How do I display a confirmation message after a custom admin action with an intermediate page (in Django)? -

The underlying actions that come with Django Administrator usually display useful messages after performing the top, e.g. Saying that a new object was added or what you did. Show how to do this with simple actions to be displayed in the form of custom Edman methods, however, that intermediate pages are required with custom actions (cover on the same page and below) ), I am encouraged to pass the user to another view. It is very good, but that means I do not have access to the custom modelAdmin instance so that I The message_user () method can call ... or at least I do not need to make sure that how do I get it. / P> Can you please tell me how to get possession of the present modelAdmin instance, or if there is a better way, then one of the other useful scenes is displayed when I am in the second view. Will happen? To emulate the django.contrib messages.info (request, message) Adding a message is documented here and the way the ModelAdmin uses it can be seen here: ...

(Razor) String length in Html.Helper? -

यह एक बहुत ही सरल सवाल है। मेरे पास HTML है। सहायक: @ html.DisplayFor (modelItem = & gt; item.Text) मैं आइटम से स्ट्रिंग कैसे कट सकता हूँ.एक विशिष्ट लंबाई के लिए पाठ? यदि आप सोच रहे हैं कि मैं यह क्यों चाहता हूं, इसका स्ट्रिंग बहुत लंबा है, और मैं केवल चाहता हूं इंडेक्स व्यू आदि की तरह थोड़ा सा दिखाने के लिए। आप बस एक संपत्ति जोड़ सकते हैं मॉडल को देखें जो स्ट्रिंग के टंकण को ​​प्रदर्शित करता है और इसके बजाय: // देखें मॉडल सार्वजनिक स्ट्रिंग टेक्स्टशॉर्ट {get {return Text.Substring (0, 10); }} // देखें @ Html.DisplayFor (modelItem = & gt; item.TextShort)

objective c - NSStrings "containing_underscore_characters" are wrapped in quotation marks when set in NSMutableDictionary? -

इस सवाल का पहले से ही एक उत्तर है: 2 जवाब मैं NSStrings जोड़ रहा हूँ एक NSMutableDictionary कुछ स्ट्रिंग्स में अंडरस्कोर होता है, कुछ नहीं करते हैं: NSMutableDictionary * testDict = [[NSMutableDictionary alloc] init]; [TestDict setObject: @ "_ startWithUnderscore" forKey: @ "पहलेकी"]; [TestDict सेट ऑब्जेक्ट: @ "नो एंडर्सकोर" के लिए की: @ "सेकंड की"]; [TestDict सेट ऑब्जेक्ट: @ "underscores_in_middle" के लिए की: @ "तीसरी कि"]; एनएसएलॉग (@ "% @", टेस्ट डिक्ट); ` आउटपुट: पहलेकी =" _startWithUnderscore "; उद्धरण चिह्न! द्वितीय कुंजी = नहींअन्डरकोर; // कोई उद्धरण चिह्न नहीं। तीसरा कि = "अंडरस्कोर_इन_मिल्ड"; // भी उद्धरण चिह्न हो जाता है। उह, यहाँ क्या हो रहा है? कहाँ से उद्धरण चिह्न आ रहे हैं? यदि ([[testDict objectForKey: @ "firstKey "] SubstringWithRange: NSMakeRange (0, 1)] है EqualToString: @" _ "]) {NSLog (@" मुझे लगता है कि उद्धरण के...

regex - Ruby: Delete space after every comma? -

What will be the ruby ​​code to delete the white space after each comma in the string? I'm not sure why this works. .gsub (/ [,] /, ',') "hello, world" .gub (/, /, ',') [] is used to match any of the contained characters. You are changing each comma or space with a comma.

c# - Properly configuration of IIS6 and WCF -

Image
I have 6 and installed frameworks NET 4.0 with Windows Server 2003. After this article, I had configured the IIS (service MODEL RAge.exe / I / X to run and got positive results) now I am trying to run the WCCC service in which Service 1 SVC, Web. Configure and bin / any ANLLL (VS-2010) I get this error when I run it from the browser: Server error / / ppgswcfrequests' in this collection in the first application The plan includes an address with http, in this collection, there may be up to one address per scheme. If your service is being hosted in IIS, you can fix the problem by specifying 'system.serviceModel / serviceHostingEnvironment / multipleSiteBindingsEnabled' or by specifying 'system.serviceModel / serviceHostingEnvironment / baseAddressPrefixFilters'. Parameter Name: Item Details: An uncontrolled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where the code has...

javascript - getElements is not a supported property or method in IE -

I have a JavaScript problem when the page is viewable only in IE I get this: Object does not support this property or method The line of my javascript code generates this error: var panel = $ (' Collapser '). GetElements ('div.menuTable'); The above code appears within menu element > It looks like getElements Do not like the method! Here is the relevant part of the HTML page: & lt; Div id = "collapser" class = "text2" & gt; & Lt; H2 class = "menu" & gt; System Features 1 & lt; / H2 & gt; & Lt; Div id = "div145fgjd584rgd" class = "menuTable" & gt; ... & lt; / Div & gt; & Lt; H2 class = "menu" & gt; System Features 2 & lt; / H2 & gt; & Lt; Div id = "div2sf54685454rtyt" class = "menuTable" & gt; ... & lt; / Div & gt; & Lt; / Div & gt; In IE 6, 7 and 8 (in part), Element. Prostitip is ...

ruby on rails - Adding a background image or an image tag to Formtastic radio buttons with a collection -

I have this form field, where a user inputs their credit card data: & lt;% = form.input: credit_card_type ,: as = & gt; : Radio ,: collection = & gt; User.credit_card_types% & gt; User.credit_card_types look like this: def self.credit_card_types {'visa' => Visa, 'MasterCard' = & gt; MASTER_CARD, 'American Express' = & gt; AMERICAN_EXPRESS} and give me the following HTML: & lt; Li id = "user_credit_card_type_input" class = "radio optional" & gt; & Lt; Fieldset & gt; & Lt; Legend class = "label" & gt; & Lt; Label & gt; Tipo D Stalves & lt; / Labels & gt; & Lt; / Narrative & gt; & Lt; Ol & gt; & Lt; Li & gt; & Lt; Label = "user_credit_card_type_1" & gt; For & lt; Input type = "radio" value = "1" name = "user [credit_card_type]" id = "user_credit_card_type_1" & gt; Ma...

ios - Notification when AVQueuePlayer rewinds to the beginning of an item -

After I have 5 AVPlayerItems my AVQueuePlayer In the AVPlayerActionAtItemEndAdvance is set. I hit on playing on my UI, and play for the first time, start playing second and third again. Then I pressed my rewind button. What I have to do, it is that the third video has been changed in its beginning, and I get a notification that helps me stop I am seeing that I am ready to play for the 4th item One gets the status, after which an existing item is converted into 4th item - then the item plays 4th. Why the 4th item is 3 items after the current item is rewound to its start The only way that I can turn this off is to set the player to auto- Not the advance ( AVPlayerActionAtItemEndPause ) is followed by the end of each item, and hopefully I get an "end play off" notification for the rewinding of the third item, as well as when it is naturally its Finally, in my end supervisor code, I play Can see the player's rate, and if rewinding, do not advance to the next it...

OpenGL ES 2.0. GLSL - cannot use two sampled colors at the same time in fragment shader -

I do not even know how to describe this problem, so I will explain with the code. I have a piece shider that does parallax mapping and light computations. I have been able to detect the problem for texture and / or light count samples, so I will only post the code to keep it for a while: // sample map vec3 albedo = texture2D (U_albedo_texture_1, p_texc) .rgb; Vec3 ao = texture2D (u_ambientocclusion_texture, v_texcoord) .rgb-0.5; // ambient blocking vec3 normal T = texture 2d (u_normalmap_texture, p_texc) .rgb * 2.0 - 1.0; // tangent space normal vec4 normal w = vc4 (general (tbn * normal t) .xyz, 1.0); // World Space General vec3 color = VC3 (0.0); Vec3 environment = textured cube (u_cubemap_texture, -normalW.xyz) .rgb; // Find ambient light with cubemap color = environment = ao; Float d = length (light_ vector); Float atin = 1.0 / dot (light_ettenitation, vc3 (1.0, d, d * d)); // Mathematical attenuation of Point Light // Expand the word float ndotl = max (dot (normal .x, light...

json - Issue "Ext.util.JSONP.request" only request remote server on the first time running -

मुझे जावास्क्रिप्ट में कुछ कोड है: Ext.util.JSONP.request ({ Url: 'http://mysite.com/data.php', कॉलबैककि: 'कॉलबैक', कॉलबैक: फ़ंक्शन (डेटा) {चेतावनी (डेटाटाइटल);}}); और php: & lt;? Php $ कॉलबैक = $ _REQUEST ['कॉलबैक']; $ आउटपुट = सरणी ('शीर्षक' = & gt; 'ऐप्पल'); यदि ($ कॉलबैक) {हेडर ('सामग्री-प्रकार: टेक्स्ट / जावास्क्रिप्ट'); प्रतिध्वनि $ कॉलबैक '('। Json_encode ($ आउटपुट)। ');'; } अन्य {हेडर ('सामग्री-प्रकार: आवेदन / एक्स-जेएसएन'); गूंज json_encode ($ आउटपुट); } // फ़ाइल test.txt को php फ़ाइल की जाँच करने के लिए $ fp = fopen ("test.txt", a) कहा गया है; फ़िलिट ($ एफपी, "मुझे कॉल करें"); fclose ($ एफपी); ? & Gt; फ़ंक्शन जेएस पहली बार चलाता है, test.txt "कॉल मुझे" है लेकिन जब फ़ंक्शन जे एस दूसरी बार चलाता है, test.txt अभी भी "मुझे कॉल" है मुझे लगता है कि test.txt को "कॉल मुझे कॉल करें" होना चाहिए, क्योंकि मैंने php को दो बार कहा है इससे पता...

Syntax of C++ Template Template Parameters -

I'm having trouble understanding the syntax of the C ++ template template parameter. I think according to the excellent description, Why are they useful, I work hard to understand their syntax. Two examples taken from the above mentioned website (two others): template & typ; Name, T, Template & lt; Typename & gt; Class Cnt & gt; Class pile; and template & lt; Template & lt; Typename, typename & gt; Class Cnt & gt; Class wrapper 3; It is impossible to generalize such announcements without clearly understanding the logic behind this syntax. It is difficult to remember and does not help much. EDIT: I know that my attempt on a question came similar to an observation. How to interpret the Template Template Parameters syntax to speak what I'm asking every day. I can do it with C ++ syntax and all other programming languages ​​I have learned. Although I'm having difficulty clarifying the syntax of the C ++ template template paramet...

wolfram mathematica - question on Trigger and updating of Manipulate expression -

itemprop = "text"> experts, I do not understand why manipulation expression is being evaluated 2 times every time I ' Click on StepRightButton 'which is part of a catalyst control. When I click on the '+' button, I see the counter is expected to go up once, but the expression is being evaluated twice, not expected once a small one here Example: manipulation [Show [Graphics @ Text line] [[Current time, "", Date []}], Plot [sin [x], {x, -Pi is, Pie }], Control [{{current time, 0, style ["run", 10]}, 0, 100,0.1, ControlType-> Triggers, DisplayAllSteps- & gt; This is true, ImageSize-> Tiny, AnimationRate-> Automatic, AnimationRepetitions- & gt; 0, AppearanceElements-> {"PlayButton", "PauseButton", "StepRightButton", "ResetButton"}}], ContinuousAction-> False, SynchronousUpdating-> Wrong] Again, clicking on '+' increases the 'current time' variable...

c# - Upserting in Mongo DB and the Id problem -

I am having trouble raising mongo db using the official C # driver. Public abstract class AggregateRoot My organization already has an ID, but I had to make Mongo special ID to work because all the documents in the collection should be one. Now I get a new unit in my system, a new Mongo ID is generated and I can not change the exception Manga a document old . Is there a work-around? Let me describe a little bit of design. All the institutions, which will be stored in the form of documents, were obtained from the collected route, in which the ID was generation. In each sub-document, my ID was generated automatically and I had no problem with it. Incidentally, the ID was started to fix the problem when the data was received from the mapocovalation and the generation was introduced so that ID-S is different. Now we can move ID generation to avoid ways because a new ID is in the new unit for updating. But this would mean that every god of the team should not forget to create ...

android - getLocalActivityManager().getActivity(tabTag) return NULL -

I have 2 tabs with the tag ID "tag01" and "tag02". I have explicitly tabHost.setCurrentTab (0) Calling on the first tab is focused when I call getLocalActivityManager (). GetActivity ("tag01") I get the purpose of the activity but when I call getLocalActivityManager () GetActivity ("tag02") I get the tap // log.i("tab position: ", getLocalActivityManager (). GetActivity (" tag02 ") +" "); Prints blank // log.i ("tab status:", getLocalActivityManager (). GetActivity ("tag01") + ""); Print com.test.TestActivity@437c06c8 Now when I run my app again and this time, click on the second tab and then getLocalActivityManager (). GetActivity ("tag02") returns the object (in toString () logcat) so after checking it again I found that "only activity in the first tab (which i used to do tabHost.setCurrentTab (0) ) explicitly focused) non-blank "do not click on the ta...

oop - About C# and Inheritance -

I have a theoretical / authentic question how the legacy works in C #. We say that I have a model for some auto, so I have some common methods that all auto should be applied and a pilot should know. In code-words it should be an interface: interface automobile {void speedup (); Zero break (); Zero carrier (); Now, all types of cars should have some general technical implementation, which a pilot can work on them, let's get the property fuel level at this point, this point. But I still do not want to know how a car rises or breaks, so I must have written: abstract class car: automobile {int fuel level; // for example .... public abstract zero speed (); Public essence zero segment (); Public essence void (); } Now I want to model Ferrari, therefore: class Ferrari: car {public zero speed () {...} public zero Break () {...} public void steer () {...}} Now, this code should work in Java (changing some syntax), but not in C # It will say: Error 1 'Ferrari...

emulation - Pasting text into Android emulator clipboard using adb shell -

I need to paste text in Android emulator clipboard using ADB open. I tried it on Android 1.6 and 2.3.1 I tried to use the adb shell command: clipboard: [android.text.iclipboard] "service call clipboard" where service codes 1, 2, and 3, getClipboardText For, set clipboard text, and hasClipboardText respectively. Service call clipboard 2 s16 thisisinsertedtext does not appear when working service call clipboard 1 Shows the content of the clipboard: service call clipboard 1 result: parcel (0x00000000: 00000000 00000001 00000001 00000004 '........... ..... '0x00000010: 00650074 00740078 00000000' text .... ') How to set the value for the emulator clipboard! Use the command given below. service calls clipboard 2 i32 1 i32 18 s16 Isisinstedtekst So I think first how many elements in one, "i32 1" clipboard, just The length of a second string is the command written above the show ... Result: Parcel (00000000 '.......

java - Setting a list equal to list using equal sign or copy constructor? -

यह एक सरल सवाल है लेकिन अगर मैं सूची & lt; ऑब्जेक्ट & gt; सूची = getObjectsFromDatabase (); यह संभाल करने का सही तरीका नहीं होगा? लेकिन यह क्या होगा? सूची & gt; वस्तु & gt; FirstList = getObjectsFromDatabase (); सूची के & lt; वस्तु & gt; सूची = नया अर्रेलिस्ट & lt; ऑब्जेक्ट & gt; (प्रथम लिस्ट); या अगर मेरे पास एक क्लास होता है सार्वजनिक वर्ग ReportDisplayModel & lt; T & gt; {सार्वजनिक रिपोर्ट डिस्प्ले मॉडेल (सूची & lt; T & gt; डेटा) {this.data = data; } सार्वजनिक सूची & lt; T & gt; जानकारी; } और मैं इस मॉडल में डेटा सेट करना चाहता हूं मैं कन्स्ट्रक्टर का उपयोग करूँगा? ReportDisplayModel & lt; ऑब्जेक्ट & gt; मॉडल = नया ReportDisplayModel & lt; ऑब्जेक्ट & gt; (getData ()); इसके बजाय ReportDisplayModel & lt; ऑब्जेक्ट & gt; मॉडल = नया ReportDisplayModel & lt; ऑब्जेक्ट & gt; (); Model.data = getData (); बस एक स्पष्टीकरण की आवश्यकता है। धन्यवाद। संबंधित सूची ...

c++ - How to get pixel bit count using PixelFormat in libav -

Is there a way to get a bit count of pixels from the codecContext.pix_fmt type PixelFormat? I use it manually: switch (OUT_IMAGE_FORMAT) {case PIX_FMT_RGB24: pVideoInfo-> bmiHeader.biBitCount = 24; do something(); break; // etc} But it requires manual updates every time, when libav will add or remove some pixel formats. Or if I need to add some pixel formats that were not previously supported. PS I need to fill CMediaType for the DirectShow filter, so bits_per_raw_sample is not suitable because it is internal use as I know. Try to use #include "libavutil / pixdesc .h "pVideoInfo-> bmiHeader.biBitCount = av_get_bits_per_pixel (and av_pix_fmt_descriptors [OUT_IMAGE_FORMAT]);

c++ - OLEDragDrop Event working with compiled exe but not when debugging -

We are using the Oildregroper incident in one of our major products and stumbling over a strange issue. On my machine, if I create an application and run the exe-file, the application sees drag-drop-events and I can drag and save a file from the desktop to the program and what to do with it needed. However, when I go into debug mode, this same function does not work. Whatever I get, there is an icon-switch on the icon which indicates that I can not release the "above" file of the program. My co-worker has the same code, the exact code is the same revision, and the settings related to all other projects are exactly the same, but when debugging it receives the expected behavior from the app. We have the only reasonable estimate that he has not implemented the ~ 300 MB security update for Visual Studio 2010. I am currently installing a virtual machine to look into it and I will know that it is actually working without that update. Is anyone else having any problem with t...

How to call Java API from Ruby 1.8 or 1.9 -

मुझे यह JRuby काम कर रहा है कोड (से चोरी हो गया) जो SAXON xslt प्रोसेसर एपीआई को लपेटता है अब, मुझे आश्चर्य है कि क्या मैं और कैसे मैं एक ही एपीआई रूबी ढांचे में लपेट कर सकते हैं कर सकते हैं? कृपया मुझे बताएं कि यह प्रश्न अज्ञान है या अगर इसे किसी तरह से सुधार किया जा सकता है। यह वांछित के लिए जावा दस्तावेज़ संदर्भ है। और यह JRuby कोड मैं का उपयोग कर रहा है: की आवश्यकता होती है 'जावा' मॉड्यूल JXslt include_class "javax.xml.transform.TransformerFactory" include_class "javax.xml.transform.Transformer" include_class "javax.xml .transform.stream.StreamSource javax.xml.transform.stream.StreamResult "include_class" java.lang.System "वर्ग XsltProcessor डीईएफ़ को बदलने" include_class "(XSLT, infile, outfile) ट्रांसफार्मर = @ tf.newTransformer (StreamSource.new (xslt )) ट्रांसफार्मर.ट्रांसफोर्म (स्ट्रीमसॉर.न्यू (इन्फील), स्ट्रीम रिज़ल्ट.न्यू (आउटफाइल)) एंड एंड # एक्सएसएलटी प्रोसेसर क्लास सक्सन एंड एलटी; XsltProce...

tfs2010 - TFS 2010: Multiselection in WorkItems is it possible and useable in the webfrontend? -

A multi-select control (list control) is available in TFS 2010, and if so, is the usable in the web frontend? We have an optimized form for trial cases and want to define many "verifier" for these test cases thanks Christian You will need to create two custom controls for one web and one for windows then you have to work for two different layouts The layout of the item will need to be modified, so that you can specify If you want to use two different custom controls. Get some Starter Guides

windows xp - Finding long file names? -

I have some zipped plug-ins, when I try to open that unpacking fails. When I looked deep into it, I found out that some files are more than 256 characters, which I think is not allowed in Windows operating system. So my question is, to find out if any file name is more than 256 characters inside a particular folder? I am using the WINDOWS XP operating system. Thanks in advance thanks! ! If your zip file is a little hard to know without The problem is that what you said ... the AFA remembers, the 7 zip had reduced long file names, not "remove" them, but I have no zip with the long name for the test. I will try a few things: Open the zip file with 7zip and try Try opening a zip file with other ZIP apps, like (izarc) [http://www.izarc.org/ News.html], and rename the file If you do not have access to another computer, try using one of the available online unipplers for example:

Nintex Workflow and SharePoint 2007 -

I have designed a InfoPath 2007 form and there is a drop down list box in the form 5 name of ICT Focal Point Individuals I want to designate the nintex workflow which is based on who is chosen from my list, list it Each person will receive a notification to approve the form. In this case only the selected person should get the request for approval message and then the request should be accepted or rejected. Now I have a small idea on designing an approval workflow, but I have to do a lot of work in my form. How can I do this? Any help? Thank you What you can do is just fill out the combobox for the users' display names with. In this way it is easy to get the right user for Nintendix, also make sure that you allow the user to edit the data in the Cobbbox field or the field will not appear in your Nintendo Designer. In the acceptance action you only have to select the right property property in your case it will be the name of your combo box field. Now publis...

asp.net mvc - How to add a dynamic source to an image using MVC 3 (Razor) -

I am new to MVC and I have an image which can be correct or incorrect image by reply gives. This is my current code: @if (Model.IsCorrect) {& lt; Img src = "@ Url.Content (@" ~ / content /images/Default_Correct.png ")" alt = "true" /> } Else {& lt; Img src = "@ Url.Content (@" ~ / content / images / default_key.png ")" alt = "wrong" /> } It works perfectly but I think there should be a very cleaner / better way to do something like that. And just in your opinion: @ html.MyImage (Model.IsCorrect)

objective c - Descendant as an parent's delegate -

Let's say that I want to make the text view of your own with the most letters. And I want to be bound in the lower level - in the text view. code I think CustomTextView: UITextView where customTextView.delegate will be the same object - customTextView ( self.delegate = self ). The class definition will be custom textview: Uitick & lt; UITextVIewDelegate & gt; and I â ???? Will implement TextView: shouldChangeTextInRange: replacement text: to constrain the logic But does it not work in some way, can I get an explanation, why or what may be wrong and how can I achieve my intentions? If you are sub-cloning UITextView, you need to set yourself as a rep Why is that? The representative is used to notify the code outside of UITextView that has changed to some UITQviewview. This means that UITextView has been notified about changes in its own form and using the representative, you can inform what happened to the external code (UIViewController, etc.). If you...

Scala case class constructor with WrappedArray argument -

मेरे पास निम्न परिदृश्य है: सीलबंद अमूर्त वर्ग प्रकार (मान प्रयोग में: बूलियन) केस वर्ग आईटीटी (ओवरलड वाल इन यूज़: बूलियन) प्रकार (उपयोग में) केस वर्ग ट्यूप्लेटई (ओवरराइड वाल इन यूज: बूलियन, एम्स: टाइप *) विस्तारित प्रकार (उपयोग में) {डीएफ़ इस (एम्स: टाइप *) = यह (गलत, एम्स : _ *)} स्काला 2.8.0 में यह सिर्फ ठीक काम करता है और मैं एक नया ट्यूप्लेटि उदाहरण बना सकता हूँ: टुप्लेटी (IntTy (गलत )) हालांकि, मैंने अभी स्काला 2. 9 .1 फाइनल में अपडेट किया है और यह अब काम नहीं करता है। मुझे अब निम्नलिखित त्रुटि मिलती है: त्रुटि: प्रकार बेमेल; पाया: IntTy जरूरी: बूलियन ट्यूप्लेटी (IntTy (झूठी)) ^ क्या यह कोई बग है या क्या मैं कुछ हद तक गायब हूं? मुझे यकीन नहीं है कि यह 2.8.0 में काम करता है। आपने एक अतिरिक्त कन्स्ट्रक्टर परिभाषित किया है, लेकिन एक अतिरिक्त फैक्टरी विधि नहीं है। नया टुप्लेटि (IntTy (false)) // अपेक्षित के रूप में काम करता है संपादित करें यहाँ एक है अब आप ऐसा कर सकते हैं, संभवतः वैकल्पिक वर्कअराउंड केस वर्ग ट्यूप्लेटी (उपयोग में वाल का उप...

c - Missing autoconversion from bool into integer in Java -

सी y - = m & lt; 3; जावा में? इसका हिस्सा है। इस तरह: यदि (मी & Lt; 3) {y--; }

crash dumps - Symbolize iOS Crashlog without Archive -

I have an application crallock on my development device (with the store version of an app) The bad thing is that my hand Does not have a stored version Is there a way that I can make a symbol with the old version with an old SVN amendment that matches the store version (approx)? The warning is: / un / uni / uni / uni / uni / uni / You must have dsym file (part of the archive) for the symbol of the report. Old SVN modification does not help in this matter.

gdb - setting a breakpoint when variable reaches specific value -

Is there any deviation to define when a variable converts a specific value to GDB? For example, a variable takes these values: 1 4 8 10 3 29 13 11 and I want to set a breakpoint when it reaches variable 9. Yes, set. break ... if value == 9

can't get the OpenGraph properties working in an iframe canvas of a Facebook app -

I can not find the featured properties that work on the Facebook app's iframe canvas. I used Facebook URL liter to test. What did I do to dilute the problem: 1) Create an HTML page (test.html) with oz properties - & gt; Works. 2) When I add this page to another page (frame html) as an iframe. - & gt; Use the solution here: It worked for me

cocoa - Marking custom subclass of NSOperation as terminated? -

I created a custom subclass of NSOperation and I overwritten the main method . @interfaceWGTask: NSOperation @property (read only), BOOL, Harassment is over; @end @implementation WGTask @ synthesizes, harassment is over; - (zero) start {... [Will Will Changewellfall: "@Hafinit"]; IsFinished = yes; [Self-managed euphoria: @ "unsuccessful"]; ...} @end but this code raises an EXC_BAD_ACCESS error [its own chargable value: @ "hyphenish"] and [self-dissolvingValueForki: @ "Hefinished"] fixes the problem, but even if has expired the value has been updated correctly, NSO does not remove the operation QE! My mistake before calling [Will Will Changehouse: @ "affined"] I was calling a representative method of my custom subclass in which I was issuing the work on my own, this is the reason why I got an EXC_BAD_ACCESS error, because myself was no longer present.

Jquery mouseenter() vs mouseover() -

So recently after reading the answer, I am unclear if I actually mouseenter () and mouseover () . Post states Mouseover (): will set fire to enter element and whenever any mouse movement will be within element Mouseent (): Entering an element will set a fire. I came together that uses both and they look quite similar. Can anyone explain the difference between two? I have also tried to read the JQuery definition, both say the same thing Because the mouse pointer enters the element, the mouseover event is sent to an element The mouseenter event is sent to an element when entering the mouse pointer element. Can someone explain with an example? You see the behavior when your target element includes the child element: Every time your mouse enters a child element or leaves, mouseover is triggered, but MouseSaint is not.

jms - ActiveMQ CPP Library -

I have a Java application and a C ++ application I want to use Apache ActiveMQ for communication between these applications I am I know how to activate MQ, run it etc. I should know what I should do to get a C ++ client library. I downloaded the code and tried to create some libraries but I am not sure its just the client library or the whole active MQ server please provide some clarity or reference link Thank you. My suggestion would be to try to read something, it contains a lot of information. There are also many examples in the appropriate name 'example' directory in the source bundle.

c# - GetType() == type perfomance question -

I am making an XNA game and I am calling the following updates 2 to 20 times the code. I tried googling and it seems that it is half slow, so I thought I was asking what kind of fast way to compare the type? code: Public modifier for this [type type] {for (int i = 0; i & lt; this.Qount; i ++) {if ( It [I.] Type GETType () ==) {Please return this [ii]; }} New NotImplementedException Throw ("Fix It"); } Set {for (int i = 0; i & lt; this.Qount; i ++) {if (this [i]. Type GetType () ==) {this [i] = value; }} If (System. Diagnostics.Debugor.ISAcredited) system. Diagnostics. Debugger. Break (); }} This code is in the modifier collection section which comes from a list. The modifier is a part of the particle engine. In addition, my game is not in a situation where I can actually do this test, so I can not test it, but should it work right? I read something about runtime typhanies, which is fast, should I use it? Thanks a lot! Edit: What I'm aiming to do ...

Does IDEA support Tapestry 4? -

Is Intelege IDEA Support Tapestry 4? I have got a tapestry 4.1.x code base for working, and as far as I can tell the tapestry initiative (at least 10.5), only supports tapestry 5, as I think it is completely is different from. There is no tapestry 4 support in IntelliJ IDEA.

android - Problems with Serialization -

There are some problems with sorting my items. Missing, because my app is not like saving .dat. We show some code: load .dat file Public Zero Dark (Object Output Stream Out) IOException Throws {out.writeObject (lista); Out.writeObject (cadeiras); Out.writeObject (notas); Out.close (); } Save the .dat file throws the Public Zero Effective (ObjectInputStream in) IOException, ClassNotFoundException {lista = (ArrayList & Lt; string & gt;) in.readObject (); Cadeiras = (ArrayList & lt; string & gt;) in.readObject (); Notas = (ArrayList & lt; string & gt;) in.readObject (); In.close (); } When I try to save the file, my app catches the exception FileNotFoundException here: case R.id. Gravar: Object OutputStream Out; Try {out = new object overputstream (new file output stream (FICH)); Gravar (outside); Toast. Make Text (getApplicationContext (), "Good!", Toast. LNNGH_LAG). Show (); } Hold (FileNotFoundException E) {// TODO Auto-G...