Posts

Showing posts from January, 2014

java - JUnit, Selenium and tearDown -

इस तरह के एक जूनिट: @Test सार्वजनिक शून्य परीक्षण ए {// कुछ यहाँ कोड। ..} @ टेस्ट प्लीजिक व्हॉइड टेस्ट बी {// कुछ कोड यहाँ है ...} @ के बाद सार्वजनिक शून्य बंद ब्रायर्स () अपवाद फेंकता {सेलेनियम.स्टॉप ()); } यहाँ प्रश्न है: closeBrowsers () विधि हर परीक्षण विधि के बाद कहा जाता है; उस मामले में इसे दो बार कहा जाता है और मुझे "गलत परीक्षण समाप्त हो गया।" ज्युनित से मुझे एक जॉनीट पद्धति / एनोटेशन की आवश्यकता है जिसे सभी परीक्षणों के बाद बुलाया जाएगा (सभी परीक्षणों के समाप्त होने के बाद ही एक बार कहा जाता है), क्या यह संभव है? इसके अलावा मैंने यह भी जांचने की कोशिश की कि क्या सेलेनियम ऊपर है या पास ब्रोजर्स में ) लेकिन कोई रास्ता नहीं मैं कोई समाधान नहीं मिल सका। पुनश्च: मैंने इसे एक पढ़ा है: लेकिन मैं समाधान समझ नहीं सका और वर्तमान में ब्लॉग पक्ष नीचे है आप अपने सेलेनियम चर स्थिर बना सकते हैं, @EfterClass में @BeforeClass स्थिर विधि और सफाई में इसे प्रारंभ कर सकते हैं: सार्वजनिक वर्ग ...... {निजी स्थिर सेलेनियम सेलेनियम; @BeforeClass सार्वजनिक स्थैतिक शून...

java - Unhighlight a Row in a rich:ScrollableDataTable -

In my application, I need to select a line in a user's table. When they are working with data from that line, they click on a cancellation / reset button to reset some other page elements. What I need to do is reset the button to uncheck the highlight button or deselect the highlighted / selected row. From my JSP page: & lt; Rich: Scrollable Data ID = "Adjustable ScheduleScrollDataTableBid" Height = "200px" width = "807px" rows = "10" sortmode = "single" var = "item" value = "# {controller.searchResults}" selectionMode = "single "Binding =" # {controller.table} "selection =" # {controller.}} "& Gt; & Lt; A: support event = "onRowClick" action = "# {controller.enableTools}" render = "tool" /> ... Multiple Columns ... & lt; / R: Scroll DataTable & gt; & Lt; H: Panel Group id = "Tools" & gt; & Lt; H: com...

How to connect to MySQl db on linux server using toad? -

How to connect to MySQL DB on a Linux server? What should I give to the host? I get an error Can not connect to MySQL server at 'tinywall' (10061) Do you use Tod for MySQL? If so, check if you have not left anything, or this. Also, see this quote from here: Error (2003) can not connect to 'server' (10061) on the MySQL server indicates that the network The connection has been denied. You should see that a MySQL server is running, the network connection is enabled in it, and the network port that you specify is configured on the server.

asp.net - Silverlight control stays on top of div? Can't use Windowless mode and z-index is not working -

On the following, when I click the dropdown to login in the upper right, it is displayed behind the silver map I can not use window mode because it will disable scrolling on the map and menu. I have tried to apply Z-index everywhere, but I can not seem to do this work. This will not be possible without using a windowless mode Silverlight plugin is at the top. To give you more space to login, you will need to reduce the map or deal with the boundaries of windowless mode.

ASP.NET MVC 2 and Google Maps Javascript API Version 3 -

Either way I used to work with Google Maps Javascript API V3 in an asp.net MVC 2 application Can not get the map. I have tried the following: Site. Mister: deleted & lt ;! DOCTYPE HTML Public "- // W3C // DTD XHTML 1.0 Strongly //n" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> Added & lt ;! DOCTYPE html & gt; It & lt; Head> & lt; Script type = "text / javascript" src = "http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js" & gt; & Lt; / Script & gt; & Lt; Script type = "text / javascript" src = "http://maps.google.com/maps/api/js?sensor=false" & gt; & Lt; / Script & gt; & Lt; Style type = "text / css" & gt; Html {height: 100%} body {height: 100%; Margin: 0 px; Padding: 0px} #map_canvas {height: 100%} & lt; / Style & gt; & Lt; Script type = "text / javascript" & gt; $ (Function () {var my...

hibernate - Setting subclass primary key as auto_increment using JPA 2 annotations -

I am trying to create a database schema for my project using hbm2ddl. I'm using JPA 2 annotations to specify how the schema should look like. Now I have some issues with the legacy ID. I have an intangible superclass, let's call it an object class, which looks like this: @Entity @Inheritance (Strategy = InheritanceType.TABLE_PER_CLASS) public AbstractSuperClass {... @Id @ generatedValue (strategy = GenerationType.AUTO) Public long getId () {} ...} I 'We have an auto generated value ID that translates SQL's auto_interference barrier. However, when I look at the script I generated, I do not see the ID columns of those subclass tables, in which they have auto_interpretation. Does anyone know how I can get it? Of course I can specify it manually but as much as possible I want to automate it. Thank you. In the section about legacy mapping, the reference document is not supported as mentioned in: This strategy has many drawbacks (especially with poly...

php - Zend Framework Plugin in INI is not run -

The plugin declared in my application.ini file is not being triggered. I can install plugins in an old way through a bootstrap file, but I would prefer to keep it in the INI. It never loads that file, no exception is thrown, nothing. I tried to add .class to declare, but nothing. application.ini [production] phpSettings.display_startup_errors = 0 phpSettings.display_errors = 0 phpSettings.date.timezone = "America / Chicago "includePaths.library = APPLICATION_PATH" /../library:/Users/shane/Sites/doctrine1/lib "bootstrap.path = APPLICATION_PATH" /Bootstrap.php "bootstrap.class =" bootstrap "appnamespace =" application "resources.layout .layoutPath = APPLICATION_PATH "/ layout / scripts /"; resources.modules = "" resources.frontcontroller.defaultmodule = default resources.frontcontroller.moduleDirectory = APPLICATION_PATH "/ modules" resources.frontController.params.displayExceptions = 1 resourc...

c# - Rx extensions/parallel task library in .net compact/xna3.1 for xbox360? -

Is there any way I can use the .NET function parallel library which is in Rx extension for .x 3.5 SP1 Included. XNA 3.1 for Xbox 360? Or, alternatively, to use RX extensions themselves? Assemblies set up by the NAT 3.5SP1 Rx Extension Installer are not compatible with the NAT compact framework. Or, if not possible xna 3.1, then what is it possible with xna 4.0? I know that Rx Extensions are available for Windows Phone (via Microsoft. Phone Reactive), but not for the target of Xbox 360 However, the parallel library of work is not available for use on either WP7 or xbox360 goals. You can refer to Microsoft. phone. Silverlight project active from an XNA project for phones should work ... However, the Xbox 360 is not sure about its availability.

Array of Types in Ruby -

I am trying to create objects of various types of items and check validity. I need a lot of things so I can do something like this: tryclasses (in) type = [Foo :: A, Foo :: B, Foo :: C] types.each Do it Type | Return to A = Type.New (in)! = Null End End How do I create class types and create an array? By doing this, I am getting no motter (undefined method 'A' for Foo) Apart from this There are clear syntax errors (such as in a search term, and zero spelling zero in Ruby), the code shown by you will work properly It is, and in fact it does when I copy and paste it into a Ruby installation. It assumes that the classes Foo :: A , Foo :: B and Foo :: C actually exist. If they do not, then this code obviously can not work. This is completely non-Ruby and simply violates the coding convention in the book: Indentation 2 spaces Method names snake_case , not camelcase clearly zero is no-no, simply #nil ? try_classes does not really name an i...

iphone - "InstallProhibited" received from device -

I recently updated my iPhone for iOS 4.0.1 and I have been able to update the device for any more development can not use. When installing an app on a device, I receive the following error: Received from the "Installed" device. The provisioning profiles have been installed correctly and I have an iOS update before testing the device. Has anyone encountered this error? I went a little bit but could not find anything related. Thank you in advance for your suggestions! Check the Settings-> General-> Restrictions setting on your device.

objective c - custom class = custom +alloc , custom +init -

I am new to the purpose for the iPhone. I am writing a custom class, so, should I write my + alloc, + init methods? I believe that: + alloc will just call [thing alloc]; And + init will do something like this: [chess set value: X]; Is there a "default" + allocation and + init methods? If so, what should I wait for the default + alloc and + init? Suppose I have NSMutableDictionary * i.e. @interface class1: NSObject {NSString * test; NSMutableDictionary * Maps; } thanks You do not usually have to type Your own + alloc method For your example, you may have a one -init that looks like this: - (id) init {self = [super init]; If (self) {map = [[NSMutableDictionary dictionary] is maintained); } Healthy return; } Note that you call superclass -init first, and before starting your own variable, check that it works.

java - why did it not split? -

I am confused why this string does not divide? Nothing contained in my array of string app when I debug, is this partition wrong? What I'm trying to do, is to divide a very simple expression like 1 + 2 + 3 and then make a calculator to parse the values. Edit Hello, why am I dividing each character, because I am doing a calculator, and have read something about conifting infix into postfix, So I need to split the string, each of the strings and like a check shown below, but when I debug it shows that [] is empty input input Every penis in expression For: * If the token is an operand, add it to postfix output. * If the token is an operator a: o while on the top of the stack, an operator B, A or highest equivalent to A, pop B on the stack and add it to the output. Push to O Stack. * If the token is an opening bracket, press it on the stack. * If the token is a closing bracket, then opaque closes the operators on the stack and adds them to the output, as long as the operator...

search using pdo, mysql and php -

I am trying my hand with PDO and would like to know whether the correct code is correct when searching for keywords An error: mysql_real_escape_string (): [2002] Connection attempt failed because the associated host failed to respond. php class: public function searchQuotes () {$ search = mysql_real_escape_string ($ _ POST ['search']); $ Sql ​​= "Select Quotes, Vauthor, Crabic, Wherefrom Where Are Quotes like"%: Search% "Order Quotets DESC"; {$ Query = $ this- & gt; _db-> ($ Sql); $ Query-> Bindamaram (': Search', $ Search, PDO :: Param_st); $ Query-> Executed (); If (! $ Query- & gt; punctiquity () == 0) {while ($ line = $ query-> fetch)) {echo $ this-> Format Search ($ line); }} Else {echo "No results found!"; } $ Query- & gt; Closed cursor (); } Hold (exception $ east) {echo "something went wrong" $ east; }} Public Function Format Search ($ line) {$ cQuote = highlightwords (htmlspecialchars...

Oracle PLSQL setting a cursor from a variable -

New to the cursor in the Oracle. I have a piece of SQL that is in a variable i can use this sql I want to open a cursor with How do I do this? Looks simple, but in all the instances I just get the SQL typed under the "open cursor_name" statement. Here's what I'm running (assuming the variable v_sql is with my SQL query): my_cursor for v_sql; Oracle does not however like this. I also tried open my_cursor to execute instant v_sql; Please help. You have to declare it as a reverse cursor and then open it for your SQL statement . Please see the example below. This is, of course, assuming that you do not have any input binding for your SQL. sql> Ed written file afiedt.buf declared 1 c 2 sys_refcursor; 3 v_empno number; 4 v_ename varchar2 (30); 5 '6 select empno, emame to emame' to open 6 open C1; 7 loop 8 bring c1 to v_empno, v_ename; 9 dbms_output.put_line (v_empno || '-' || v_ename); 10 exits when C1% is unavailable; 11 end loo...

c# - How can you read the count of an MSMQ on another machine? -

My program is successfully using the .NET MessageQueue class to read from an MSMQ I queue user is configurable , And sometimes on a local machine, and sometimes on a remote machine. The user can specify the remote machine with the name or IP address and the queue name (and I am using only "private" queues). The queue I want the user to be in, but there is no way to do this. This is not a count (or similar) property to give me easily in the MessageQueue class. To get the count, I am using Display Control and Display Content category sections - but only to work for me on the local machine (although I am not completely sure that I I'm using it correctly). My question is how to read the calculation (number of messages) from an MSMQ remote machine? I use the following method to count the message (works for both local and remote queues Is), var machineName = "mymachine01"; Var formatName = "FormatName: DIRECT = OS: mymachine01 \ Personal $ \ ftp...

python - How do the PIL ImageFilter enhancement filters work? -

Which algorithms do PIL image filter functions, where can I find this information? What does the shore edge work? I am looking to apply the difference of Gaussians filter, but if PIL has a filter which works like this then I will use it. Image filter methods use the kernel with an image to produce filter effects. There is a good primer on the kernel rebound if you load the image filter module, then you & gt; & Gt; & Gt; You can understand the kernel used for each type of operation. For example, for EDGE_ENHANCE_MORE help filterargs = ((3, 3), 1, 0, (-1, -) with the help of (imageFilter) 1, -1, -1, 9, -1, -1, -1, -1)) This means that EDGE_ENHANCE_MORE kernel size 3x3, scale factor 1, offset 0, and center value plus -1 are the values, which is 9. From what I've read, it seems like you can create a custom filter (with the difference of the Gaussian kernel) by providing the appropriate logic for the kernel object: kernel (size, kernel, scale = None, ...

ruby on rails - Pre-populate record with values from previous record -

I'm working in Ruby on the Railway app. I have a model that is user-made for many of them. Could. When a user goes into a new action, I want to prepare those values ​​with values ​​from their last record. These can be changed if desired and used to create a new record. I am convinced that in the new action of my controller, I can get the most recent record (using something like this). Model.first (: order = & Gt; "made_at DESC") Once I have that, I will use it with a new method How can I use to pre-populate the records created? Can not you just start Atrial? class models & lt; ActiveRecord :: Base def initialize_some_attr Model.first (: order = & gt; "created_at DESC"). Some_attr end and

exception - Error handling with SqlBulkCopy - could it be any harder? -

There is very little going on the ideas here I have found a case where I have to pump data into a DB SqlBulkCopy I am using, and about halfway through, I go into different exceptions (primary key violation, index violation, etc.). I have confirmed that the violation is really true and the need to improve the data is irrelevant, however, it is that if I am writing DAB with Data Adapter (which will be slow) If so, the hedgers will turn into bad rows in the dataset so that I can easily find them and take care of things. With SqlBulkCopy? nothing. Nada. Anyone who causes your problem, is a good luck to find because all you get is an error name (such as "More than usual, a major violation in the case, blah blah blah") and that's it. Any suggestions? I do not believe there is no way to get these errors. With standard BCP I think you can pump these things in the log file as well. Can not we do something like this that has Sclabulcopy? thx, Take a look at the sourc...

ruby on rails - Regex - Capturing a number if a match exists -

I'm looking to capture the number after the vspace . How would you do it regex? Here is a sample string. & lt; Img align = "left" alt = "dude its me" border = "10" height = "168" hspace = "30" vspace = "10" width = "130" /> then the end result will be 10 & gt; & Gt; S = '& lt; Img align = "left" alt = "dude its me" border = "10" height = "168" hspace = "30" vspace = "10" width = "130" /> & Gt; & Gt; /vspace="(\d+)"/.match(s)[1] = & gt; Or, if you are not sure whether this exists or not: if / vspace = "(\ d +)" / = ~ S puts $ 1 and puts "no match" end

Is there anything like Eclipse Perspective in Visual Studio? -

Image
I was thinking that there is anything like an eclipse perspective in Visual Studio (2008 or 2010). They are unfamiliar with eclipse, here it is one: There is a visual container for a perspective idea and set of editors (parts), these parts are completely Perspectives exist and are not shared. A perspective is also like a page within a book, it exists with any other viewpoint within a window, and similar to the page of a book, only one perspective can be seen at any time. I would like to give you a visual example: Java Perspective: SVN store perspective: Probably nothing is out of the box directly, but with some plugins. If this is the case, then it will also be a valid answer. Thank you for your time. I used Brian's blog post as an starting point and created a VS2010 extension: More info here: This is probably not complete as a VS Window Manager but lets you save your configuration and make it new I know that it works!

Including Script Files in an R Extension Package -

I am creating an R package and I need to include those two non-RP script files which are my These script files are needed to distribute the work with me in package, because of course I'm left with two questions: a) In the package tree directory, give me these Why should the files be kept? B) Is this place mandatory or just convention? Do I have to change any other settings or configuration or will they get a copy in the directory mentioned in # 1 and then I can understand the path using the system. File ()? I have tried to find the answer in the document, but it did not jump out on me. And, of course, I did not read the whole thing, am I very honest here? I think you want exec / at the top level ( Even if it is labeled as "still experimental, or as the subdirectory of inst , as all things in the inst / are literally copied to the package. / P> A quick example of the package I expanded into the source, in which inst / perl , inst / xls and inst / b...

ruby - Please install the postgresql adapter: `gem install activerecord-postgresql-adapter` -

संभव डुप्लिकेट: मैं पोस्टमार्स के साथ रेडमिन काम करने की कोशिश कर रहा हूं। मेरे लॉग में मैं देख रहा हूं। पोस्टग्रेस्क्ल एडेप्टर स्थापित करें: `gem installrerecord-postgresql-adapter ` हर किसी के गॉगलिंग के बाद कहा गया है कि आपको मणि इंस्टॉल करने की ज़रूरत है pg। लेकिन जब मैं मणि सूची करता हूँ क्रियामेल (2.3.5) एक्शन पॅक (2.3.5) सक्रियरेकॉर्ड (2.3.8, 2.3.5) सक्रिय संसाधन (2.3.5) सक्रियण समर्थन (2.3.8, 2.3.5) फास्टथ्रेड (1.0.7) यात्री (2.2.15) स्नातकोत्तर (0.9.0) पोस्टग्रेज़ (0.7.9.2008.01.28) पोस्टग्रेज़-पीआर (0.6.3) रैक (1.0.1) रेल (2.3.5) रैक (0.8.7) आप स्पष्ट रूप से देख सकते हैं कि पृष्ठ पहले से इंस्टॉल है। क्या किसी और को यह समस्या मिल गई है या इसे तय किया है? सुनिश्चित करें कि डेटाबेस.आईएमएल में आपका डीबी-एडॉप्टर "पोस्टग्रेस्क्ल" पर सेट करें यदि आपके पास एक ही समस्या है, तो शुद्ध-रूबी एडाप्टर का उपयोग करने की कोशिश करें: मणि postgres-pr (सुनिश्चित करें कि आप पीजी मणि की स्थापना रद्द करने से पहले ...) से बचने के लिए संघर्ष) यदि यह काम कर...

ASP.Net MVC Cookies Best Practices -

I'm looking for some guidance regarding cookies in ASP.NET MVC (or simply cookie handling in general). . I am storing authorization information about users who are authenticated via a form login in a cookie. This is working very well, but now I need to store a bit more information in the cookie. This additional information is not really "authentication related", so I am not hesitant to store it in the certification ticket. Is there any better practice to keep additional information? Is it possible to set more than one cookie (and if so, a good / bad behavior)? Other things should I consider here? Here is the current code that I am using to set up an authentication ticket and wrap it in a cookie: GetAuthCookie (AuthToken authToken) for private HTTP { Var authTokenXml = Serialization Service Serialize (authToken); Var authCookieString = FormattingTranslation (New FormAuthenticationTicket (0, Key.UpdateToken, DateTime.Now, DateTime.Now Additional minutes (AppsSettin...

wpf - Line breaks and indenting for the XAML of a saved FlowDocument? -

Is there a way to format XAM generated when a flow document is saved? Currently, all of this is run simultaneously in one line, and I want to break it into my elements, with line break and indenting it makes it a little easier to read. Here is the code I'm using to save a FlowDocument in a WPF RichTextBox as a XAML file: // entire document around TextRange textRange Create a TextRange side = new TextRange (myRichTextBox.Document.ContentStart, myRichTextBox.Document .contentEnd); // save the file using the file (file stream fs = file. Create (filename)) {textRange.Save (fs, DataFormats.Xaml); } Savings work fine, but as I mentioned, JPAM has been generated, all this goes together, no indentation or line breaks for its various elements Is: & lt; Section xmlns = "http://schemas.microsoft.com/winfx/2006/xaml/presentation" xml: space = "preserve" Tekstelinement = "left" Lainhait = "auto" Hashipineshn = enabled = "false...

c# - wpf textbox focus issue -

I have a control with several text box controls on it. Now, when I edit one of the text boxes, the focus is switched to the next textbox, but I have to press an extra tab to enter the "edit" step. The first tab simply drages a dotted background to the text box ... and the other actually puts the cursor position in the text box. Thank you. Are you sure that you do not have any hidden controls or other controls Accepting the first focus? Either way, you should be able to update the tabined code value of your controls so that they can follow a logical sequence when the tab is pressed.

java - Error running google-app-engine demo -

I have installed Google App Engine under the instructions given here: However, dev_appserver.cmd It's a strange reason to run scripts: / c / program files / appengine-java-sdk-1.3.5 / bin / dev_appserver.cmd: line1: @java: command not found / c / Program files / appenzin -java-sdk-1.3.5 / bin / dev_appserver.cmd: line2: com.goo gle.appengine.tools.KickStart: command not found / c / program files / appengin-java-sdk-1.3 .5 / bin / Dev_appserver.cmd: Line 3: com.goo gle.appengin E.tools.development.DevAppServerMain: Command not found The same thing happens on Windows XP 32-bit and Windows 7 64-bit, when Windows is using windows prompts, and the GNU Version 3.1.0 (3) -Relize (i686-pc-msys) shell Environment variable: APP_ENGINE_HOME = / C / Program Files / appengine -java-sdk-1.3.5 JAVA_HOME = C: \ Program Files \ Java \ jdk1.6.0 _16 Any suggestions what's wrong? I highly doubt that the bash shell should be set to .cmd script syntax Able to understand. ...

Upgrading SQL Azure database size -

I'm currently in the midst of developing an application loosely of StackOverflow (Question / Answer) At the beginning, I was using ADS (ordinary DB and S3) for storage, although it raised many problems and I have chosen the option to go with SQL - eventually SQL To host on Azure. I was just thinking, if I have selected 1 GB database initially, can I increase the size later in the 5 GB / 10 GB database? Or would I have to create a different database of this size, and close my data? Look at my answer briefly, you modify the DB size with T-SQL, Such as: Alternate Database MyDatabase modify (EDITION = 'WEB', MAXSIZE = 5GB)

jquery - Subgrid Caching or Stopping Subgrid data from being removed (jqGrid) -

There is no way to strengthen jqGrid, when its line is toggled, do not remove subgreed data Go? My current process of loading the datagrid is as follows: 1) Set up the main grid, sub-program with an ID that I can use later 2) Load the data into the main grid at the local level through JSO 3) Locally add the sub-grid via JSN Due to the fact that I Loading a sub-grid at the local level instead of the URL when the user Toggles the message) It does not have any data in the grid and I want to display the original data which was provided to the sub-grid. I know that this is a strange way of loading the data, but there is a reason What I'm currently doing with JackGrid, essentially on a web page An information is showing information of tons of tons of information (essentially this is a report). This web page should load all your data automatically and I have many examples where I need to provide subgroup functionality. I have come to know how to manually click on the occur...

Running my own code when during Emacs startup -

मान लें कि मेरे पास अपने कोड में ~ / bin / hello.el है। hello.el को स्टार्टअप पर चलाने के लिए ~ / .emacs फ़ाइल में निम्नलिखित कोड है। (ऐड- लेकिन, मुझे निम्न त्रुटि संदेश मिलता है। चेतावनी (आरंभीकरण): `/ यूज़र्स / स्मोको /। एमएक्स 'लोड करने में एक त्रुटि हुई: त्रुटि: आवश्यक सुविधा' हैलो 'प्रदान नहीं की गई क्या गलत है इस के साथ? क्या हैलो। Hello प्रदान करता है? इसे ('हैलो प्रदान करें) से शुरू होना चाहिए। देखें। ("hello.el" लोड करें) काम करता है?

Dynamic CRM 4.0 SOAP exception -

When I try to develop CRM content, using the code given below: public static CRM service GetCrmService () {// standard CRM setup var authentication token = new CrmAuthenticationToken (); // Using Active Directory Authentication Token Authentication type = 0; Authentication token. Organizations name = "record name"; Var crmService = new CrmService (); CrmService.PreAuthenticate = True; CrmService.UseDefaultCredentials = false; CrmService.CrmAuthenticationTokenValue = AuthenticationToken; CrmService.Credentials = New network credentials ("user name", "password", "domain"); CrmService.Url = "http: // /mscrmservices/2007/CrmServiceWsdl.aspx"; Return service service; } Public Zero Recover Account () {var Account_Cuid = New Good ("088FFC38-8285-4AF5-8E36-84BAD6B 268ED"); Var crmService = GetCrmService (); // return column to set column column = new column set (); Returned column. Properties = New String [] {"Name",...

winapi - Edit $(IncludePath) "macro" in Visual Studio 2010 -

दृश्य स्टूडियो 2010 ("प्रोजेक्ट गुण" संवाद) मैंने Visual Studio 2010 Ultimate को स्थापित किया है और यह स्पष्ट रूप से मेरे Win32 C ++ के लिए डिफ़ॉल्ट निर्देशिकाओं को आयात करता है और इसमें पुस्तकालय शामिल हैं हर नया Win32 C ++ प्रोजेक्ट मैं स्वचालित रूप से मेरे पुराने शामिल / लाइब्रेरी निर्देशिकाओं को जोड़ता हूं जो मेरी बिल्ड को स्क्रू बनाती हैं। तो मेरा सवाल यह है: मैं $ ( शामिल करेंपाठ) दृश्य स्टूडियो 2010 में? या इस प्रोजेक्ट के लिए निर्दिष्ट $ (शामिल करें) और केवल "अभिभावक या परियोजना डिफ़ॉल्ट से वंशानुक्रम" चेकबॉक्स का नतीजा है? (उस स्थिति में प्रश्न में बदल जाता है: मैं इसके लिए प्रोजेक्ट डिफॉल्ट को कैसे संपादित करूं, क्योंकि यह दृश्य स्टूडियो विकल्पों में घिस जाता है) धन्यवाद! नोट: % में% परिवेश चर विंडोज में परिभाषित नहीं है अगर आप VS2010 कमांड प्रॉम्प्ट में (कमांड प्रॉम्प्ट पर नहीं) में "गूंज% शामिल%" दर्ज करते हैं, तो यह दिखाता है, लेकिन यह स्क्रीनशॉट्स में से छुटकारा पाने की कोशिश में समान मूल्य नहीं है) VS2010 में, ये पथ एक य...

How is a product defined in the word 'product backlog' in scrum? -

क्या यह 1-1 के लिए आवेदन करता है? " आवेदन "एक झुंड की अवधि नहीं है शब्द" एप्लिकेशन "का शब्द स्क्रोम में एक विशिष्ट अर्थ नहीं है। ऐसा लगता है कि आप इसे जिस तरह से स्क्रोम शब्द का प्रयोग कर रहे हैं उत्पाद का उपयोग कर रहे हैं। स्कर्म में, उत्पाद का मतलब शब्द उत्पाद के नियमित उपयोग के समान है - जो कुछ आप बेचते हैं स्क्रोम में, किसी उत्पाद के पास एक उत्पाद स्वामी होता है। उत्पाद बैकलॉग सभी उत्पाद विशेषताएं हैं जिन्हें लोगों के लिए पूछना एक अच्छा लेख है जो बताता है कि उत्पाद बैकलॉग है: उत्पाद में इच्छित सभी कार्यक्षमता की मास्टर सूची और यह बताती है कि उत्पाद बैकलॉग से मौजूदा स्प्रिंट बैकलॉग के लिए कैसे स्थानांतरित किए जाते हैं: उत्पाद स्वामी प्राथमिकताबद्ध उत्पाद बैकलॉग के साथ स्प्रिंट प्लानिंग मीटिंग में दिखाता है और टीम को शीर्ष आइटम का वर्णन करता है। तब टीम यह निर्धारित करती है कि वे आने वाले स्प्रिंट के दौरान कौन से आइटम पूरा कर सकते हैं। टीम फिर उत्पाद बैकलॉग से स्प्रिंट बैकलॉग में आइटम ले जाती है। इस उत्पाद की पिछली प्राथमिकता के साथ प्रत्य...

Galleria Jquery Transition Effects -

So I'm using Galleria to show a slideshow I have set it to autoplay, so it shows a new picture every 3 seconds. Currently, the transition is sliding from the right picture. Is there any way i can fade it out? Sliding too much any other transitions then Thank you! Kevin , but if you are loading a topic, then maybe this is not the case, because most themes To change the default, simply set it back to "fade", like: Galleria.loaded theme ('/ themes / classic / galleria.classic.js'); // loading theme $ ('# demo'). Galleria ({height: 400, infection: 'fade'});

java - reading char array of number more than 10 -

I'm not sure how I can read a number like 10 and above for a four array, have been converted into postfix, currently I have a point I able to do this, but it would be wrong to answer when evaluating postfix equation comes in many points. For example 10 + 13 + 4 will give this wrong answer, but 1 + 3 + 4 would be correct. // class main Kailkprsr time = new Kailkprrs ( "13 + 20 + 3 + 4"); Calc.toPostfix (); Calc.displayPostfix (); Calc.evaluatePostfix (); Calc.displayResult (); // The above results will be for 1320 + 3 + 4 + 9.0 / square. CalPPerser Public Nil Postfix (for (CR C: originalExp.toCharArray ()) {Switch (C) {Case '0': Case '1' Case '3': Case '4': Case '5': Case '6': Case '7': Case '8': Case '9': Postfix XP.Append (C); Breach; Case '+': Case '-': if (postfixStack.empty ()) {postfixStack. push (c);} Else {if ((postfixStack.peek). equals (C))) {postfixExp.append (postfixS...

cocoa - Pinning NSScrollView's document view while resizing a window -

There is such a trivial question to ask, but it is bothering me for some time. I have a window in which there is a scroll view. Usually, the scroll view has a document view that is vertically larger than the clip view, so you can see all the contents inside the scroll view. To get the vertical scroller. When I change the size of the window, then I recalculate the size of the content in the document view of the scroll view (because the scroll view may be slim, which can make the height of the document necessary to grow ). One side effect, however, is that when the window size changes, the documentview clips the visible edge flush underneath the bottom edge of the clip (which ensures that the last line of the text is always visible). This is a strange effect, because usually, with the top edge of the window clips, the document view keeps the top view edge of the flush (i.e., the top row of text in the document view is pinned to the top). So, to fix this problem, my initial idea...

Sort selected text from Visual Studio context menu -

वर्तमान में वीएस का एक बहुत ही उपयोगी सुविधा है: सॉर्ट इनिसिंग्स (सी #)। मैं एक ही कार्यक्षमता चाहता हूं किसी भी यादृच्छिक पाठ के लिए, उदाहरण के लिए - config फाइलों में एक्सएमएल नोड्स। यह कैसे लागू करने के लिए जटिल है? वी.एस. एडिन, सही? क्या कुछ वीएस एपीआई को कॉल करना संभव है जो उपयोग को छांटने के लिए उपयोग किया जाता है? बस एक अच्छा मुफ्त addon : (या) - बिल्कुल और कुछ और पाठ चालें जब मैंने इसे स्थापित किया तो कुछ मामूली नकारात्मक थे, लेकिन समीक्षा पृष्ठ पर एक टिप्पणी छोड़ने के बाद यह दिनों के भीतर तय हो गया। जाने के लिए! =)

android twitter outh tutorial callback problem -

Trying the following tutorial I understand callback url My Twitter app is named "Fusel-Android" and my call back URL which I defined in the code myapp: // wozzon-android and entering in the XML file & lt; Intent-filter & gt; & Lt; Action Android: name = "android.intent.action.VIEW" /> & Lt; Category android: name = "android.intent.category.DEFAULT" /> & Lt; Category android: name = "android.intent.category.BROWSABLE" /> & Lt; Data Android: scheme = "myapp" Android: host = "faisal-android" /> & Lt; / Intent-Filter & gt; How to define callback url is the correct way? When I run the code, I get an error "Authorization failed (server responded with 401). I think you do not need to check the browser, if you use the callback url Then I have read something about this: (dead link)

Facebook extenbded permission in tab application -

How can I do this .. The following fan page tab application has this functionality Click on the fourth tab and it will ask for extended permission .. I'm not sure how to do this .. Please help There is a fbml tag for this: Example: Lt; Fb: prompt-permissions = "email" & gt; Do you want to receive email from our application? & Lt; / FB: sign-permission & gt;

stdout - Prevent Ghostscript from writing errors to standard output -

I am using ghostscript to initialize the first page of the PDF file. In order to avoid making tempfiles, PDF data is piped in the stools of Ghoshippates and JPEG is "lowered" on the stadium. This pipeline works like a magic until GS gets invalid PDF data: instead of reporting all error messages on stderr, I expected it still writes some messages instead of stdout . To Reproduce: $ resonant "PDF No" & gt; Test.txt $ / usr / bin / gs -q -sDEVICE = jpeg -dBATCH -dNOPAUSE -dFirstPage = 1 -dLastPage = 1 \ -r300 -sOutputFile = - - & lt; Test.txt 2 & gt; / Dev / null Error: / Uncategorized Faculty Stack: Execution Stack: ... Note that 2> / Dev / null does not have to press the error message above. Ghostscript's documentation has already warned that in order to write stdout, pressing the message at stdout requires a -q flag, but I still do not remember anything. If you want to embarrass actually Ghostscript, Modify the command lin...

java - Spring AOP - Pointcuts not triggering -

I'm just starting with Spring AOP in my project and there are some problems in spring AOP working properly I have been I have two objects, transport imple and assassian impulse, which I would like to profess through AOP. Both objects are started through the spring. The implementation of both Beans Professional Interface (Transportation and Session). I can get the applicable aspect on transport imple bean to work well, but the applications applied to session IPLP are not only in the fire. I can confirm that the "MySession Monitor" aspect by Spring initially started , And that the session Impl object has also been started without any exceptions or errors. I have snatched my point cut and aspect from the most fundamental way. I expected PointCut session operation is described below when session Impl bean is started and init- Method is called initialization. But it never happens, what can be wrong here? From the configuration file: & lt; Bean id = "myt...

android - How to parse XML (Fogbugz XML API)? -

I am creating an Android application that connects to the fogbugs XML API (sends the request to the API, get the XML file back Does). Right now, I'm building a service that handles these requests, and parse everyone to access useful information. What would be the best way to do this? If I am getting input stream, should I use SAX Parser? DefaultHttpClient httpclient = New DefaultHttpClient (); HttpGet httpget = New HTTP Gate ("My URL that returns an XML file"); HTTP response response; Try {feedback = httpclient.execute (httpget); HttpEntity unit = response.getEntity (); InputStream stream = entity.getContent (); Buffer Redder Buffered = New Buffettder (new input streamer (stream)); String response string = ""; String floating; While ((temp = bufferedReader.readLine ())! = Tap) {responseString + = temp; } If (unit! = Null) {entity.consumeContent (); }} Catch (Client Protocol E) {// To-O Auto-Generated Catch Block e.printStackTrace (); } Grip (IOException E...

Conditional selecting and pasting in excel -

I am quite new to VBA coding, so I used to hope that you can help me with the following problem. I am looking for the best way to organize the following: With a set of data, I get various types of documents (a definitive document type of all) with my information (Such as the customer's name, address, amount, VAT, ...) from this file, I would like to select some doctor type (eg DG, EG, SA, ...) which holds concessions every time and with those items Copy copies of those related rows Land. For example Customer Name Date Dosage Discount Doc Type 25739484 Burt 01/01/2010 100 15% 2% EG Now my question is: What is the easiest way to say which type of doctors I have chosen and pasted (this file is for reusing the company Is it the users to put them into different cells? Depending on the doctor types choosing users, how can the macros select those rows and copy them to a new file? Thanks a lot! !! Allen Please note that this is not complete and I Smile I hope...

javascript - Problem with prototypal inheritance and instance array -

इस सवाल का पहले से ही एक उत्तर है: 2 जवाब मैं प्रोटोटाइप विरासत का उपयोग और चाहते हैं उदाहरण के साथ ऑब्जेक्ट के लिए arrays इसलिए यदि मैं एक ऑब्जेक्ट से किसी ऑब्जेक्ट से किसी ऑर्गेनाइजेशन ऑरेजेस से प्राप्त करता है और सरणी का उपयोग करता हूं, तो वे सभी सरणी को साझा करते हैं। मैं कुछ करने के लिए सरणी में धक्का करना चाहता हूं और केवल वास्तविक वस्तु में सरणी को बदलना चाहता हूं, अन्य सभी में नहीं। मानक प्रोटोटाइप विरासत और ऑब्जेक्ट का उपयोग करने के साथ इस समस्या का एक शानदार समाधान क्या है। P> var sys = आवश्यकता ('sys'); Var obj = {डेटा: [], जोड़ें: फ़ंक्शन (क्या) {this.data.push (क्या)}}; Var एक = ऑब्जेक्ट। बनाना (ओबीजे); one.add (1); Var अन्य = ऑब्जेक्ट। बनाना (ओबीजे); other.add (2); sys.puts (other.data.length); // 2 है, लेकिन 1 होना चाहिए var वस्तुनाम = समारोह ( ) {This.data = []; } ObjectName.prototype.add = function (क्या) {this.data.push (क्या); }; Var एक = नया ऑब्जेक्टनाम (); one.add (1);

How to fix this regex? -

Help in fixing a small thing in this regular expression ^ \ D {2} \ - \ d {3} \ - \ d {6} Confirm this format 11-111-111111 This is working fine but the last one (6 digits) ) Is also valid over 6 digits. This means that if I put 11-111-11111111 (8 points in the previous section), then the above regex are validating it? Can anyone tell me how to limit it to 6 points? I was able to do this by adding $ at end of regex At the end of the match, only 6 points will be identified. Currently, it matches your 8-digit entry because it starts with the first 6 digits.

android - How to create a transparent Activity programmatically? -

I want to start an activity with my webview as my activity. This new activity should be transparent and should be in the webview center. I looked around the web but the only solution I found was that they were using Style XML I want to do this with pure code i.e. xml announcements. If someone has come to this, please enter some light Did you create a dialog with embedded webview in it Have you considered? edit my onCreateDialog () : dialogue = new dialog (mainfollow at this. Is near; Linear amyllinelayout = new linerlayout (this); MLinearLayout.setBackgroundColor (android.R.color.transparent); LinearLayout.LayoutParams llp = New LinearLayout.LayoutParams (Layout Perm.FILL_PARENT, Paramá layout.phil_parent); MLinearLayout.setLayoutParams (LLP); D.setContentView (mLinearLayout); Webview mWebView = new webview (this); MWebView.getSettings () setJavaScriptEnabled (true). MWebView.loadUrl ("www.google.com"); MLinearLayout.addView (mWebView);

cocoa - KVO problem "Cannot remove an observer" -

I have a NSARE controller connected to a core data object, which is set to the AutoRARGE content and is filtered by Fredett. OK, until I try to finish a relationship and hand it over to another. At that time, my app crashes and I get the following error: The main route from the object can not remove a supervisor for "career.type", most likely because the key "Validity for Career" is being sent without proper KVO notification, check the KVO compliance of the individual category. By looking around, it seems that my NSArrayController is the reason for this problem by being automatically set to rearranged content. But I'm trying to solve the problem without resorting to rearranging the NSArrayController manually. Here is the pseudo code that is triggering the error: object.career = nil; Object.field = (field *) item; Here is a bill using my NSArrayController: (Career! = Zero & carrier ==% @) || (Field! = Zero & amp; field ==% @) Where t...

jQuery: Syntax error? Unexpected Token ILLEGAL when I try to make my code nice. (with returns and tabs and such) -

$ j ('body')। अनुलग्नक ("\ & lt; style type = 'text / css' & gt ; \ .floatymessoge {\ वेबकिट मुझे पहली पंक्ति पर शरीर में संलग्न करें के साथ त्रुटि देता है। मैं इसे कैसे ठीक करूँ? हो सकता है कि मैं सीएसएस को अपनी फ़ाइल में बाद में जंक कर सकूं, लेकिन मैं उस प्रारूप को प्रारूपित करने में सक्षम होना चाहूंगा जो मैं दस्तावेज़ में जोड़ रहा हूं। पूरी बात: फ़ंक्शन फ़्लैटइमसेज (संदेश) {यदि (! $ J ('। Floatymessage')) {$ j ('body')। Append ("\ & lt; style type = 'text / css' & gt ; \ .floatymessoge {\ position: absolute; \ margin-left: auto; \ margin-right: auto; \ top: 20%; \ width: 300px; \ ऊंचाई: 100px; \ पृष्ठभूमि: काला; \ फिल्टर: अल्फा ( अस्पष्टता = 80); \ -moz-opacity: 0.8; \ -kh टीएमएल-अस्पष्टता: 0.8; \ अस्पष्टता: 0.8; \ बॉक्स-छाया: 10px 10px 5px # 000; \ सीमा: 1px ठोस काले; \ सीमा-नीचे-बायां-त्रिज्या: 10px 10px; \ border-bottom-right-radius: 10px 10px; \ border-top-left-radius: 10px 10px; \ border-top-righ...

Java Swing - KeyListener -

How do I know that when the key is typed, my text changes? Or if the key is a four? Three ways in the interface KeyListener : zero Type Key (KeyEvent) Zero Key Pressed (Key Event) Zero Key Relayed (Key Event) So, if you like KeyEvent object: if ("a" .equals (KeyEvent.getKeyChar ()) is System.out.println ("this is a letter")

Math operations on arbitrary objects in C# -

I am implementing an interpreter for a toy language in C #, and to math in that language, I Like to implement a function like this: Add a public static object (object A, object B) {// back every A and B / / int, double, Or a number of other numerical types} I have a very silly and bad implementation of this function Can assume that A is put) and a group using the B-type (operator, but my instinct is that better way. Do you think there will be a good implementation of this function? You just want an easy program solution Your small language has the same arithmetic rules You can use C # 4 You do not particularly care about performance Then you do just that Add universal stationary object (dynamic left, dynamic right) {left + right left;} What will happen when this method Is called, then the code to #com Ilr resume will begin asking the compiler"> If you want to apply your rules in addition to this, then welcome to my world there is no magic road wh...

java me - Creating a javax.microedition.lcdui.Image on J2Se Application -

I created a component for J2Me, and here is the paint method: import Javax.microedition.lcdui.Graphics; Import javax.microedition.lcdui.Image; Class component {... public zero color (graphics g) {if (background! = Null) g.drawImage (image, bounds.getLocation (.), X.bangs.base.location () .Y, 0); } ...} I want to paint this component on a J2Se application, I tried to paint the component on the image in a J2 and the int in the int [] Extracted, and new image on a J2Se platform, with this object: public class ComponentStreamer {Personal component component; Private image J2Me_Image; Public Zero SetConnect (component component) {this.component = component; } Public InputStream getInputStream () throws IOException {if (component == empty) return zero; / / This line pulls upwards of j2Me_Image = Image.createImage (component.getSize (). Width, component.getSize (.) Height); Component.paint (j2Me_Image.getGraphics ()); Return getImageInputStream (j2Me_Image); }} I have tried th...

C# List or TextReader limit? -

I am trying to make a dictionary, and I have a text file with almost 100,000 words on my line. Here is the code: word = new list & lt; Word & gt; (); Console.light line ("please wait, compile list of words ..."); TextReader tr = new streamrider (DICT); String line = tr.ReadLine (); While (line! = "" & Line! = Null) {words.Add (new word (line)); Line = tr.ReadLine (); } Console.WriteLine ("compiled with the word" list. "Word" "word"); However, it stops at 40510 words, why is it so? And how can I cancel this issue? Thank you. Edit: Sorry; I examined empty rows in Notepad and found no one; Thank you, my bad, anyway.

php - modules on drupal sub-domains -

My Drupal site gets very heavy and slows down because new modules are loaded. Some of these modules are not required except the site's store section. I am planning to create a store sub-domain and in some way load those modules into that sub-domain. Does this mean I have to re-establish afternoon at store.mydrupalsite.com and twice on mydrupalsite.com In the store sub-domain, do I have to reinstall the original module besides the special store module, or is there any way to get the sub-domain from the main site in the store sub-domain? What if the user is already logged on the main site, do they need to re-login to the store subdomain, or whether to share the database The way? Is there any real benefit to this idea or do I confuse things more? If I'm confused with things, then what should I do If you create another site on another domain, you essentially create separate, separate site with different user stores, different configurations and differ...

iPhone Java String Code to Object C -

I have 2 string operations I will need relevant in Object C / / Newstring counter from Mystring starts with java: newstring = mystring.substring (counter) obje-c:? Get the position from the search string in // Messaging Java: startpos = mystring.indexOf (SearchString) Obj-C:? It would be nice that you have Tux Chris Edit: I have two other questions and now the solution (here is the ALS for others) nsstaining 's substringFromIndex And rangeOfString methods are equivalent to the Java methods you specify: will be newstring = mystring.substring (counter) : NSString * newString = [mystring substringFromIndex: counter]; and startpos = mystring.indexOf (searchstring) will be: NSInteger startPos = [mystring rangeOfString: SearchString]. place; and newstring = mystring.substring (counter, from start) NSString * newstring = [mystring substringWithRange: NSMakeRange (counter, startupframe)];

xhtml - How do you implement CSS without to have clear:both on float left and float right -

कैसे साफ़ करें float: left & amp; फ्लोट: सही सीएसएस पर आप उदाहरण लपेटें आईडी को ओवरलैप कर सकते हैं हैडर & amp; खोज । स्पष्ट: दोनों बिना इसे कैसे ठीक करें? > अतिप्रवाह: छिपा हुआ #wrap पर चूंकि आपके पास पहले से ही एक चौड़ाई है, इसलिए इसे स्वचालित रूप से IE में साफ़ किया जाता है।

c# - Click and drag event handler -

I have an app with a custom window (transparency and no limit) I have a DmAmview on the left mouse button Headline is created with behavior. This allows me to drag the window to the top, so that is the maximum. Now I want to write the code so that when I click on the top and drag it, it will organize the windowstate in general ... What a click & amp; Drag the event handler, or any other way? Edit: Platform C # in WPF, You use the window Will happen. Status Change Event The best way to handle maxillization and minimization is to manipulate WindowState property. It saves the window. Restore property with previous size. If you need a more sophisticated solution then Is there no need to do this similar to the PS Win 7 feature? :) Editing: There is MoveMove Event in UIElement Private Zero Windows_MouseMove (Object Sender, MouseEventArgs e) {if (e.LeftButton == MouseButtonState.Pressed) { Main window 1 Windstate = windowstate Normal; }} This is a mess because t...

concurrency - Which Actor model library/framework for Java? -

There are so many different implementations for Java (and JVM language). A lot of actor libraries and frameworks have been implemented in Java to allow actor-style programming (which is not the built-in actor). I think the actor model has big advantages, but the options of Java are huge! Can anyone post the most popular people and provide some insight that is to be used? Who has the benchmark for throughput in terms of messages passed per second? See also the presentation of a good article series. Karl Hewitt explains the essence of the actor model of calculation. And the best performance is (Scala). I would recommend using Akka, the Scala Actor Library has been disliked. Already in the Scala 2.10.0 the default actor library is Akka. Use Akka as a front and if you do not want to do all the coding in Scala, call your Java code. There is a very good syntax and API of Scala and Akka. Akka has a Java API called "Active Objects". Note that a lot of things are being d...

c# - Difference between SafeProcessHandle and IntPtr for an API call -

While working with WinAPI, I decided to implement a call in my C # application. However, I have seen two different signatures for this function. [DllImport ("kernel32.dll", Charset = CharSet.Auto, SetLastError = true)] Public stable extern bool GetProcessAffinityMask (Secure Procedure Handle Handle, Out IntPtr Process Mask, IntPtr System Mask Out); Other possible versions () IntPtr : [Using DllImport ("kernel32.dll", SetLastError = true) Does] static externor bulgate processAfinantmask (intruder hprosis, outside UIintPtr lpProcessAffinityMask, UIintPtr lpSystemAffinityMask out); Given that the two functions return the same value, what is the difference between passing the safe proxy thread code? Example or IntPtr ? Describing this difference.

local - How to localize a variable in an upper scope in Perl? -

I have run several times in the following pattern while during the development of the pell module which is AUTOLOAD or other Suburban Despatch Technologies: Sub Autoloid {my $ self = $ _ [0]; My $ code = $ self-> Data_out_code_f ($ atoloyed); Goto and $ code; } This works fine, and caller sees the correct scope. Now what I want to do is execute locally and $ code during execution> $ _ with $ self Whatever will be: sub-autoload {my $ self = $ _ [0]; My $ code = $ self-> Data_out_code_f ($ atoloyed); Local * _ = \ $ self; # And now the question is how to call & amp; $ Code # Goto and $ code; # Wont work from local workspace changes # Goto # & amp; $ Will be unearned before the code; # Will protect the local, but the caller will report # additional stack frames solution that includes the caller wrapping, due to issues of performance and dependency Not acceptable. It seems that there is a rule to exclude the second option. By going back for th...

Quick Sort with random pivot in Java -

I have been assigned a quick sequence with a random point point (because it is believed that the most efficient / Is the safest way), even though I was working on a bogart someone can direct me on how to do this? And can someone help me to see if I can save it in some way? Can anyone help me to see Bogorot? Public static zero instant (int [] target, int lo, int hi) {if (hi-lo == 0) {return;} random number generator = new random (); Int Peivot = (number generator. NxITINTINTINITIT + take); Int high; (If high (target = high)> target [pivot]) {// if smaller than the pivot, then stay very far (high-smoke == 1) {int temp = target [high]; Targeted to [high] = target [pivot]; Target [axle] = floating; } And {int temp1 = target [pivot]; Int temp2 = target [pivot + 1]; Target [axle] = target [high]; Target [pivot + 1] = temp1; Targeted to [high] = temp2; }}} Int lower; {Low (Target = Low)> Goal [Pivot]) {// If smaller than the pivot, then stay very far (if at least == 1) {int (low = l...