Posts

Showing posts from September, 2013

asp.net - HowTo Web.config transformation in VS 2010 IIS Website without creating a Web Application Project? -

Image
I would like to use web.config conversion, but in the context menu when I right click on my original web.config file . I do not have any web application project and there can not be one in my solutions for BLL, DAL etc. I have a few projects, so I have a local IIS website for the main website. under my local IIS website I have the web Is config and has tried to add the web. Debug.config such as: I local host IIS Web using the website How can I make the configured change? Create a web application project? Is this possible? Is a web application making the project a necessity? I was recently reading this topic and for my knowledge you can not change web.config for a simple site A web site project ??? Web sites do not have a project file, which is where the MSBield configuration is stored. So if you need that functionality then you have to create a project file. But look at this blog which I think gives better explanation for it. After saying that if you find ...

osx - How to add glassfish 2.x to Netbeans 7.0.1 on mac os x -

I am trying to install glashfish 2.x in netbeans 7.0.1 for three days. Needless to say, I have tried many things, I am currently here: According to Netbeans.org, Glassfish 2.x should be in the list of available plugins. But it is not there. Will someone share my success with me? I'm using Mac OS X. Thanks Tell me about it was fighting for a week now Keep plugins back to 7.0.0 before adding 'Fixes'. Very disappointing!

Hash from "email+salt " as a token to verify email -

I am verifying the user's email address The way most people say, he has some unique tokens store in DB Make and send to the user. I am doing just with the email address with Hashing (sha256) sitthers salt Some things that may be worth a look (or not). If someone finds your salt, they can rebuild your hashes and flood your system. In this case, you want to make sure that any user is requesting anything other than your e-mail address. (I.e., I can not get rid of the complete hash stored in DB.) In addition, if the salt is the same then the same will be the same if they re-request the same e-mail Addresses Are you requested every time, want a different hash for the same e-mail address? You can add server date / time to the e-mail address before you have hashes to isolate it every day.

php - Traverse $_POST Array to show field Names -

Is there an array, such as to see the name of $ _POST field and not just the value values Do something foreach (as the $ _POST $ value) {echo $ value; } This will show me the value - but I would like to display the name in that array too. If my $ _POST value was something like $ _POST ['some'] and it was collected 55; I want to output "some". I have a few selected fields for which I need it. Do you mean it? foreach ($ key as $ _POST = & gt; $ value) {resonant "$ key: $ value "; } If you want an array of keys to repeat again, you can also use it. If you want to use callback to repeat, you can also use it: function test_walk (& $ value, $ key) {. .. do stuff ...} array_walk ($ arr, 'test_walk');

What's the difference between two array declarations in Java? -

In my book they are changing the way the array is declared between the following two ways: int array1 [] = {1, 2, 3}; Int [] array2 = {1, 2, 3}; I was wondering what was the difference between what was the position of both the brackets, and why is it that when I put brackets after the name (like in array 1), So why should I either start it for values ​​or a new array, but in array2, I just say "int [] array2;" I can say it and then use it later ... They are similar except that That you mention that you have to start this if you put brackets after the name, a benefit of declaring them before the name starts in a variety of ways: int [ ] MyArray1, myArray2; Int myArray1 [], myArray2 []; In the manner of Java to keep the parenthesis before the name of the array.

xhtml - page content in javascript needs to go in to html -

I have the link when users click them, the page immediately updates using the DOM, it's my O2 () does The problem is that I want to separate the content from logic ... that is, I like the content below in .html file Currently it is in a .js file My understanding is that logic is a good practice to keep separate structure / content ... For example, advanced registration for javascript works in opposition to inline registration To use How do I get html content in .html file below? function l1 () {o2 ('ac1_3', ' & lt; p class = "h" & gt; all your bookmarks in one place & lt ; / P & gt; & lt; img class = "i1" src = "i3.jpg" alt = "" / & gt; & lt; img class = "i1" src = "i4.jpg" alt = "" /> '); } "post-text" itemprop = "text"> If you dynamically add stuff to the DOM using Javascript, Personally, I think That's okay to mix the...

c# - how to position an object using variables -

Image
I am trying to create 81 picture boxes and have positioned them automatically at a certain distance apart from each other. But they seem to keep in any logical order that I have to start the X point for the -1700 so that the screen also appears. The following code gets the first 15 where I want them, but then they start stacking on each other rather than continuing the pattern. This is the result of an hour of tinkering but in the beginning the argument looks fine. I also had a message box that was being displayed at current X, Y and it was right that it would not be kept on those coordinates. int x = -1700; Int Y = 0; For (Int i = 0; I This code works as you expect private zeros form 1_load (object sender, event_arriage_e) {int x = 0; Int y = 0; For (Int i = 0; I 425) {x = 0; Y = = 85; } this. Control. Add (p); }} But I will go with something like Eddie said, a flow layout control

Android Emulator in Aptana Studio3 -

Can I run an Android SDK Emulator for Android website testing in Aptana Studio 3? Do I Need To Install Eclipse Plugin? I have installed Android SDK, and have used Aptana Studio 3, but I'm not sure they will work together. By installing both plugins in eclipses, I do not see a bigger conflict. PTA Aptana studio's 'Little Brother', Titanium Studios can run both, so No real reason the studio will run as well both of them. In any case, if you stumble in the problem such as, you can open a ticket at

plugins - Thumbnails with a jQuery hover and social icons? -

I'm looking for jQuery plugin or tutorial to have a hover effect on the thumbnail. I would like to display a title on the image, social icons and a link above the picture would be a grayscale and display text and icons on it? Anyone have any ideas? All these two tutorials probably cover most of the functionality you see.

php - Facebook Graph API - Page Tab Extra Permissions -

Image
I am trying to create a welcome tab for one of my pages, but I have access to a user choice I want to be able to (allowed user_likes). I can get this document for how to do this for a website that only integrates a Facebook app or Facebook, I can not find any documents on this. An app (tab) inside a Facebook page (as a welcome tab). Is it possible to use the page as Page tab but without the page, or is it a case or should I have an app along with the page Also need to create tabs? Do I probably have a button, when they click, then this page grants additional permissions? I am currently trying to implement two separate implementations, neither can I get PHP, JavaScript and JavaScript to work. $ loginUrl = $ fb-> GetLoginUrl (array ('canvas' => 1,' scope '= p> & gt; user_likes, user_about_me, user_birthday')); Echo "& lt; a href = '$ loginUrl' & gt; Login & lt; / a & gt;"; The result in a link, ...

c# - Does anyone know how to create a WPF button with style? -

Do anyone know that I'm trying to create a button where to create / add a button Where there will be an integral part of having a rectangular boundary .. There will be a meteor boundary (in order it is an image), and inside the material (with the background black). But I have a hard time coming up with the image. You indicate the background "imagebrush", and your meteor photo. Here is a link to the image brush:

entity framework - How to implement EF with dynamic conceptual layer? -

I have a specific scenario that I'm thinking (and how) the entity might be able to resolve the framework. I am developing a framework for a new solution that will be given to developers to increase and increase over time. I would like to provide a simple data access layer, which can be applied with domain access, which are implementing them without the need to modify data access codes. I am checking different devices, such as NHibernate, LINQ-to-SQL, EF as well as good old ADO.NET The code will get GetTable calls in the LINQ-to-SQL domain layer & lt; T & gt; The method on L2S DataContext is an IQueryable & lt; T & gt; gives. Theoretically, this means that the datacontext can solve the request for any t. Of course, in fact, Datacontext has to know how T handles. How EF works, I see some similarities to the device, but I do not know how I can accomplish my goals What I would like to do here: I provide a default "reference" that highlights a metho...

search string in varbinary column of SQL Server table -

मेरी एक तालिका है जिसमें 3 कॉलम हैं: समस्या ID फ़ाइल संवेदक फाइलनाम मैं एक उपयोगकर्ता निर्दिष्ट स्ट्रिंग को fileContent कॉलम से खोजना चाहता हूं। क्या यह VARCHAR में बाइनरी डेटा को परिवर्तित करना संभव है? मैंने इसे करने की कोशिश की लेकिन यह परिणाम अलग स्वरूप में देता है मैं एसएसएल सर्वर में असली बाइनरी डेटा नहीं खोज सकता है अगर द्विआधारी। पीडीएफ फाइलें केवल फ़ॉर्मेट वर्ड या एक्सेल या कच्चे टेक्स्ट फ़ाइल को छोड़कर कुछ भी है

php - How can combine different pages in codeigniter? -

Assume that I separate my page into four parts. There is a banner, a login, one is main, the second footer is the banner and footer is fixed, this change will not happen. And the login is based on the different user's rights or login status, in the end the main is based on many things to do this. Therefore, I have 4 parts of the element: http: // localhost: 8888 / my_app / index.php / static_page / banner http: // localhost: 8888 / my_app / index.php / Static_page / footer http: // localhost: 8888 / my_app / index.php / user / login_fragment http: // local host: 8888 / my_app / index.php / system / main_fragment But the user only sees one page, but it connects all the employees ... So, instead of putting the iframe together, how can I separate logic from these pages, but can I combine a scene? Thank you. I want to share what I have done. Although not an original idea (I do not remember where I got it), hope it will help you. I have an 'include' [application /...

ajax - What happens if I call jQuery.post() with an empty url? -

If I submit a form with an empty action field, then it deposits on the current page - Is the case with That's right, it submits the current page. context, jQuery documentation: url (string) default: current page a string containing url for which The request is sent.

c++ - Standard Position of a Quaternion? -

In 2D, the standard position of a vector is below positive X axis, what is the same condition for quaternions? There is no "standard status" of a vector. In 2D or 3D Definitely a general mathematical convention that X, Y is the direction of an angle (cos ()), sin (angle). This means that if angle is 0, then the vector indicates positive x axis but it is far from "standard condition of vector". When some quadratic functions can resemble a 3D angle, they are not angle Quaternions (in the case of graphics) represent the orientation of a space, any other Relative to the location.

ruby on rails - Devise, validate current_password if any important fields have been changed -

Specifically, I'm using Devise with Typus. But, I think my misunderstanding lives in the knowledge of my knowledge. When you want to change an important model through the form, you can provide your current password to confirm it, it can change, a la Google. Right now, I can log in and change any area of ​​my user model. Before password, before confirming my password is not good. Therefore, I have currently added the password. But he did nothing, then I tried to validate the appearance on the current_password. Again, no value is accepted for it. Google did not help me but all related posts were about removing current_password instead of confirming it. Which I think is misinterpreting the use of current_password. Does anyone care about sharing some insights? Thank you. You must add a password field to the form, and then you can validate the password in the action of your controller Usage: user.valid_password? (Param [: user] [: password]) Note that you should c...

iphone - App somewhat rejected by Apple - They need more info about payment -

The app we are working on in our company is "almost rejected" this morning because Apple More information about Aquirring requires user accounts and payment for the service provided by our app. APL (Customized, because I can not include an app name) are the words: How does the user get login credentials for APNN? Is this service free? Is there any alternative to upgrading any paid account in any way if the accounts are free? The question is, what is the details of our app now? We have an online service based on a website that allows users to access a PC, Mac Or upload pictures from a smartphone platform and upload an explanation. This service requires a user account, which we buy after that, the user can access the website, upload photos for it. But they can also login with their smartphone (Android, iOS and WP7), which would make it possible to upload photos from the phone camera to the website. What I am trying to say is that this app is not the main product,...

java - How can I get all revisions (not latest) for a special file using SVNkit? -

I used a sample Java code to get a file's revision history, but only got one amendment. There are several amendments in the resume for this file. So how can I get all the amendments for this file at a time? one ?? | Long starters display = -1; Long distance = 0; // head (i.e. latest) revision SVNRipository firing IMPL.setup (); Repository = SVN Repository Factor.Credit (SVN URL. From URI encrypted (url)); ISVNAuthenticationManager authManager = SVNWCUtil.createDefaultAuthenticationManager (name, password); Repository.setAuthenticationManager (authManager); Collection log entries = null; LogEntries = repository.log (new string [] {"EJB.java"}, empty, initial, interstitial, true, true); Use 0 for the initial revision and 1 for the last revision

c# - drag and drop winform controls -

I want to drag and drop a control (for example the label) in a Winform application. I saw some examples on dragging and dropping the text, but this is not what I want. I want to enable the user to move a control around. Can anyone direct me to some resources or examples? Thank you. You should see examples of drag-able control making. See this This form is a complete example of hosting the designer: I did a lot of time ago in Delphi, it searches the source code, converts it into net C # and creates a wiki page on this topic, because it has recently become such a popular question Is :)

java - Hibernate entity property defined by a query -

I try to implement the document modification tracking system with Java and Hibernate. The document is saved with every modern autor and timestamp. To get the creator of the document, I need to mod mod at the earliest. Here it is: @Antity @Table (name = "modifications") Public class revision {String autor; Date; Document document; @ManyToOne public document getDocument () {...} // Author of this mod @ column (name = "author") public string getAutor () {...} // and other attributes} @tainty (name = "Document") public class document {private list & lt; Research & gt; Amendments; @OneToMany (mapped = "document") public list & lt; Research & gt; GetModifications () {...} // The question about this property is how do I apply it with Hibernate? // I do not want to store the "autor" field in the unit, // it should be determined with the query from the modifications table. // But I'm not getting any examples of definin...

wpf - How to create disconnected line graph? -

Image
I am working with Silverlight and WPF Stock Exchange applications. I am trying to create graph like a scattered line graph. How can I attract this chart? Can this be done by the Silverlight Toolkit graph? Or can someone suggest some easy but good looking charting libraries? I have drawn a chart image in Paint for your reference You can easily use the chart above. I've attached the following XAML code for that. & lt; Vc: charts xmlns: vc = "clr-namespace: visifire.chart; assembly = SLVisifire.Charts" theme = "theme1" width = "500" height = "300" & gt; & Lt; Vc: Chart.Series & gt; & Lt; Vc: Datasheres RenderAs = "Line" & gt; & Lt; Vc: DataSeries.DataPoints & gt; & Lt; Vc: datapoint XValue = "1" YValue = "6" & gt; & Lt; / Vc: Datapoint & gt; & Lt; Vc: datapown XValue = "2" YValue = "10" & gt; & Lt; / Vc: Datapoint & ...

c# - ASP.NET MVC DateTime manual input conversion best practice -

I have an ASP.NET MVC site that contains dates with a text field with the normal HTML form. & lt; Input type = "textbox" name = "date" /> looks like the control method: zero doSomething (date time date) {....} How can I handle datetime formats for users to enter different locations and dates of habits? I think the code should be that which tries to parse the string in many date time formats. Can I handle all the datetime parameters, without the help of helper class calls at all times, every time the date of the date of the controller is expected? How do I take account user locale? Thank you in advance! You can use for example, and set the format. This will be a better user experience, then a simple text box. $ ('# datetime'). Date picture ({Format: 'yy-mm-dd hh: ii'}); The date picker provides support for localizing your content to meet different languages ​​and date formats.

user interface - Android Get External UI Component Handles -

Is there any way / work for the process of obtaining external UI component handles in the Android platform? Why I am doing this is a benchmark application, so I want to read and log application states (UI component numbers, texts, posts, layout etc.) through the service. This will be for testing purposes only, so the root privileges are required or something like that. In windows, I will use the Win32 API or some other API to access the Wi-Fi components. Of course, in my understanding, Android has not been designed to allow this thing, in this case around a work, hack, tweak (again it is only for test purposes) or in the direction of proper implementation Android Welcome to apply this philosophy to implement this functionally. Thank you very much. Yes, a UI component is called a draw draw.

Changing a html input box into a jquery flicker -

I have an input text box in HTML for user to type in quantity & Lt; Input type = "text" value = "1" square = "volume" data-id2 = "volume" /> Whatever I want is something that looks better for the user, but the above versions have the same effect. I need data there - d2 = "" volume "and class =" volume "because they use other places. But I would probably like a flicker so that the user can click the arrow to increase / decrease their volume? / P> If I have been correctly understood, then you want to increase / decrease the input to be a spinbox input for numerical values, once in two, when you support a decent browser As long as you will be able to use native html5, check this spinbox jquery plugins: or this is a work example of a spinbox by using the following plugin: Here >

Toggling boolean value, but just once? (java) -

Every now and then a boolean value needs to be stored only once (to record that it is incorrectly replaced Either or in contrast) in the loop, executing the loop at the end, is no longer taking care of the change in the bullion value. Example: Public stable boolean dBidlet (collection argObjectCollectionToDelete ) {Boolean results = true; For (object object: argObjectCollectionToDelete) {boolean dbDelete = dbDelete (object); If (! DbDelete) {Results = False; }} Return result; } Is there a way to execute equivalent of code if (! DbDelete) {result = false; } or if (! DbDelete & amp;! Results) {Results = false; } In a more beautiful way, preferably in a line? How about: Results & amp; = DbDelete (object); This is equivalent: results = results & amp; DbDelete (object); So it will only be true if result was first correct and dbDelete was true .

function - perl how to access func when the module is imported on the fly -

I have a module that looks like this: package test; Strict use; Use warnings; Hello {my $ val = shift print "val = $ val \ n"; } And in the second module, I include this one like this: My $ Module = 'Test' Aval '$ Module Required is"; How can I call the function Hello in another module / I mean that a function is not like any method. You can use a symbolic reference: {No strict ' Refs'; # Blocked Block & amp; Disable rigorously for $ $ module ': Hello'}; } Alternatively, you can see the function in the calling package (see): package test; Exporters use 'import'; Our @EXPORT = qw (hello); Hello hello {...} Then in your code: Use my $ module = 'test' aval '$ module; Hi ("test");

iphone - Approach regarding web service call restricted to the visible cell only -

To create a list component (a tab view) for the iPhone app, the list content must be dynamic (read from the web) Service or local file system) and The app should only receive content that is viewable in the list (table) view and will request more data from each scroll server (file system or web service). Content should be refreshed automatically every 30 seconds. So far I've been successful in the Creine Table View in Dummy Data (from Aero). But what should I approach that requests the existing cell only to use web services, any guidance here would be greatly appreciated. I will suggest the following steps to solve your problem. 1. Keep a data array and keep you singing the refreshing table, every thirty seconds, as you've already done. 2. Create a separate thread to call the web service and you update the array when the feedback is available. Thus, even if the Internet is down or slow down for some time, your GUI will not be affected on this. 3. Ensure that your...

how to change the Tab focus in tabhost? -

I'm new to Android. I am implementing coding related to tab host. I have created three tabs called Tab 1, Tab 2, Tab 3 in the tabb host. When I start my application, tab 1 is automatically removed. My intention is when I if any idea please help me Thank you in advance Not sure I understand your question a lot. If you want to set the active tab to tab # 2, then do the following. TabHost tabHost = getTabHost (); TabHost.setCurrentTab (1); TabHost.setCurrentTab sets an active tab by index 1. Tab 1 has index 0, Index 2 is index 1 and so on ..

Dialog box before adding comment facebook fan page comment box -

I would like to add a dialog box that will allow the user to add a comment to the Facebook fan page before it will display some text. You can not do this directly on Facebook. You have to create an app that will add a comment to your page, and a dialog box is displayed inside that app. Otherwise, I'm pretty sure that Facebook will not let you do this.

Update 2 tables in one statement (MS SQL) -

संभव डुप्लिकेट: मेरे पास एक अपडेट स्टेटमेंट है यह एक फ़ील्ड अपडेट करता है, लेकिन आंतरिक खंड को पूरा करने के लिए दूसरे तालिका पर जुड़ जाता है। मैं एमएस एसक्यूएल का उपयोग कर रहा हूं। अब मैं एक मेज पर एक मेज को अद्यतन करने की कोशिश कर रहा हूं लेकिन ऐसा नहीं कर पा रहा है। मैंने पढ़ा है कि आप केवल एक समय में एक तालिका अपडेट कर सकते हैं क्या ये सच है? क्या ऐसा कोई रास्ता है जो मैं इस पर मिल सकता हूं? यह मेरा कथन है अपडेट tbl_calendardatebox सेट tbl_calendardatebox.HeaderBgColour = @value, tbl_calendarobjects.Saved = '0' से tbl_calendardatebox Db आंतरिक join tbl_calendarobjects ओ पर db.ObjectId = o.Id जहां o.PageId = @page और o.GroupField = @group और o.GroupField & lt; & gt; '-1' और ओ। विजुअल = '1' और ओ.कैन्यूज़र एडिट = '1' और डीबी। हैडरबग कॉलर & lt; & gt; @value तो दो तालिकाओं tbl_calendardatebox और tbl_calendarobjects हैं। मुझे tbl_calendarobjects पर त्रुटि संदेश मिलता है। सहेजे गए = '0' - बहु-भाग पहचानकर्ता ...

c# - ASP.NET MVC 3, how should I assign attributes with HtmlHelper.BeginForm? -

I have HTML attributes in the form created with ASP.NET MVC3 with the Html.BeginForm I want to assign, but it seems that I have to use surcharge BeginForm (this HtmlHelper html helper, string action name, string controller name, formmath method, object HTML attributes) It is enforcing this way: Html.BeginForm (empty, blank, FormMethod.Post, new {id = "my-form"}) h The easiest way to do this, so I'll be sad new {id = "my-form"} as Html.BeginForm ? There is some easy way to do this, so I can cross the new { Id = "my-form"} Html.BeginForm's only argument? No, unless you write your own HTML support: public static class form extension {public static MvcForm MyBeginForm (This HtmlHelper htmlHelper, Object HTML Attitudes) {html html.backform (empty, blank, formMethod.Post, html content); }} and then: @using (HTML.MyBeginForm (new {id = "my-form"}) {...} Unfortunately you can not use the name BeginForm b...

python - Using beaker sessions for checking if user is authenticated in Pyramid -

I am making a webf using the pyramid with beaker sessions. Use the user ID request session ['user_id'] and some other information after successful signing and then checking to see if the user is already signed in: if 'user_id' in request_session: # user is logged in to another: # user is not signed in or session expired Question: Is it safe to rely on sessions or is it Better and / or using the pyramid Not more secure authenticated_userid () with (remember) from and Forget () pyramid.security ? Use Pyramid_bicker, and then pyramid.autrication Using authenticated_userid () , check whether they are logged in or not, if it does none , then they are not.

c# - Error:serializing Entity Framework class -

सार्वजनिक IList & lt; ईवेंट & gt; (ई = & gt; ई। EventCategoryID == (श्रेणी आईआईडी & lt; = 0? E.EventCategoryID) (खोजशब्दों के लिए) : श्रेणी आईडी) & amp; (ई। स्टार्टडेट। वैल्यू.एमोनि & gt; = डेटेड.मॉन्थ) & amp; (ई.एंडडेट। वैल्यू.एमोनथ एंड लेफ्टिनेंट; = toDate.Month) & amp; (ई। स्टार्टडेट Value.Day & gt; = fromDate.Day) & amp; amp; (e.EndDate.Value.Day & lt; = toDate.Day) & amp; amp; (ई। StartDate.Value.Year & gt; = Date.Year) & amp; amp; ; (ई.एन्डेडेट। वैल्यू.युर और लेफ्टिनेंट; = टूडेट.युयर) & amp; स्ट्रिंग.आईसऑलऑरएक्टि (इवेंटनाम)? इवेंट नामी.संयोजक (ई। एवेंट एनैम): इवेंटनाम.संगतता (इवेंटनाम)); वापसी क्वेरी। टूलिस्ट (); } सार्वजनिक JsonResult SearchEvents (स्ट्रिंग से, स्ट्रिंग टू, int श्रेणी आईडी, स्ट्रिंग eventName) {दिनांकटाइम frmDate = कन्वर्ट.ToDateTime (से); दिनांकटाइम toDate = कन्वर्ट। ToDateTime (को); Var सूची = _eventRepository.SearchEvents (frmDate, toDate, श्रेणी आईडी, eventName); जेसन वापस लौटें (सूची, जेसन्यूए...

Plot 2D tables as a fence in gnuplot -

A simple question about Gnuplot I have data in a table, which moves in every direction. 0 1 2 3 4 1 1 2,0408830835 2,8180454121 3,9760428593 2 2,0622871101 3,9709816613 57676953944 7,5379858295 3 3,1861064949 5,7565758609 7,8939354949 9 , 7787163957 4 4,0944785549 6,4357145355 9,5787145459 11,6365303155 5 4,7675231829 6,3181833785 8,8833920556 11,4107253565 .... I call it a surface or fence In the form I want to plot in Gnuplot, so that represents the first column in the x, the first line represents wi, and the table shows the z of the position in {x, y}, the height of the graph Is there any way to do this? Thanks! If the data is not messy then the following may be the trick for you: Take a Data File "Data.csv": 0.65 0.9 9 0.28 0.43 0.50 0.98 0.23 0.15 0.94 0.19 0.57 0.65 0.38 0.31 0.20 0.15 0.08 0.88 0.16 0.64 0.37 0.84 0.87 0.59 0.41 and plot it like this: splot "data.csv" matrix w rows Gnuplot will index your index 0 to n / m ....

javascript - Problem with the slider -

I have a problem with a slider (mainly border issues), you can see a slider Click on 6 Owner and you can see a limit there and this limit should come to all other tabs. My solution will still div div #slides to another division with this CSS: height: 231 pixels; Left: 438 pixels; Hidden flurry; Status: Completed; Top: 185px; Width: 683px; and delete the two attributes from the ".tophdr_rt_slider #slides" declaration: float: left; Margin-top: -236px; Then it works like a magic.

Oracle: Using results of one subquery inside another -

Select T1Joint2.c1, t1Joint3.c3 from (choose * 1 from table 1, name = "something") t1 , (Select T1.c1, t2.c2 from Table 2 T2, where t1.c1 = t2.c2) t1Joint2, (Select table 3 t3 to t1.c1, t3.c3, where t1.c1 = t3.c3 ) T1Joint3 ,; The above questions do not work in Oracle. Any workaround? Use of Oracle 11g with T1 (* Choose from Table 1 where name = 'some'), as T1 zero 2 (T1 C1, from T2C2 to T1, 2 T2 T2, where T1C1 = T2C2) Choose from t1Joint2, t1Joint3 as T1 Joint 3 (T1C1, T3 to T3, T3, T3 T3 where t1.c1 = t3.c3) t1Joint2.c1, t1Joint3.c3 ;

iphone - iOS setting Progress bar value while images are being processed -

I have some image processing using quartz, and I have to show a UI display that changes after every action . (Eg 0.0 0.2 0.4 0.6 0.8 1.0) The problem is, when my image is being processed, the UI is completely locked, and the price changes only when all the processes (Which means it's just going without sub-stages of 1.0), Has any of you ever met this? Pseudo: For (uint i = 0; i Therefore, instead of changing the progress bar after each action, it only changes once at the end of 1.0. Your feedback or experience or appreciate it. Thanksgiving - Ink. You must update your property or your progress bar in a separate thread so that both of them update in parallel Able to Your progress is a member variable [NSThread detachNewThreadSelector: target for @selector (updateFilterProgress): Object with self: zero]; PrgLoader.progress = x; - (zero) Update filter progress {NSAutoreleasePool * pool = [NSAutoreleasePool new]; Keep this thread live while loading ([Pra...

jsf 2 - ActionListener is not being called on dynamically created HtmlCommandLink -

मेरे पास एक गतिशील रूप से बनाया गया html code_link एक ActionListener के साथ है, लेकिन जब मैं लिंक पर क्लिक करता हूं, क्रिया श्रोता विधि को नहीं बुलाया जा रहा है। संहिता: सार्वजनिक एचटीएमएलपैनेल ग्रुप getP () {p = new HtmlPanelGroup (); FacesContext ctx = FacesContext.getCurrentInstance (); एचटीएमएल कॉमांडलैंक एल = नया एचटीएमएल कॉमांड लिंक (); l.setTitle ( "गोटो"); l.setImmediate (सही); L.addActionListener (नया ComponenetListener ()); // नई ListenerTest ()); // नई MethodExpressionActionListener (methodExpression)); l.setValue ( "गो"); । P.getChildren () (एल) जोड़ने; वापसी पी; } और श्रोता कोड है @ManagedBean @ सत्रसैक्ड सार्वजनिक वर्ग ComponenetListener क्रियान्वित करता है ActionListener {सार्वजनिक ComponenetListener () {String s = "sridhar"; } @ ओवरराइड पब्लिक व्हाइड प्रोसेस एक्शन (एक्शन इवेंट इवेंट) ने एबोर्ट प्रोसेसिंग एक्सपेशेशन फेंकता है {UIComponent eventComponent = event.getComponent (); Println ( "परीक्षण"); स्ट्रिंग strE...

Confused about the ? operator in c# -

I want to make it so that if the subs is not the value then the UL is before and after the variable and then the variable ss if subs "" So SL gets value "" var sL = (subs! = "")? "& Lt; ul & gt;" + Subs + "& lt; / ul & gt;" : ""; But it does not seem to work. Is my format correct? In doubt, add more brackets: var sL = subs ! = ""? ("& Lt; ul & gt;" + subs + "& lt; / ul & gt;"): ""; However, your code should work well in advance; That syntax is OK.

linux - x server and application clients -

I need some explanation about X server and applications. As described in the wiki, "X Server users and Client is for programs, ..., " My question is, after the start of a Linux PC, for example, CentOS, in the beginning, is taking X server (keyboard, mouse, monitor) ) Starts to run, The X server will allow all later application programs Serve I / O for? If not, how to make program A through X server, while program B is not from X server? Regarding other GUI programs, e.g. If I have a QT program, does it even go through the X server, such as the keyboard / monitor & lt; - & gt; X server & lt; - & gt; Qt? If not, how is this condition controlled? Yes even the console Applications will also run in applications such as terminal which will be X's client. Yes Qt programs do through X.

asp.net mvc 3 - MVC3 MapRoute, how to -

I'm looking at creating some new routes in my MVC3 application. What I need is a path that will allow me to produce: {clientname} / {controller} / {action} / {id} Where am I unsure whether I should use the object default parameter You can add the route definition to the following: route. MapRoute ("ClientRoute", "{clientname} / {controller} / {action} / {id}", new {controller = "home", verb = "index", id = UrlParameter.Optional}); Because customer name is in the beginning, this is a mandatory value. It should always be specified and can not be empty. For example, if you generate an anchor: @ html.ActionLink ("link text", "foo", new {clientname = "bar"} ) This will produce the following output: & lt; A href = "/ bar / home / foo" & gt; Link text & lt; / A & gt;

C#: System.Diagnostics.Process.Start("Explorer.exe", @"/select" + FilePath). Can not open file when file's name is unicode character -

I want to open the file's location with Window Explorer. I am using C # with code system. Diagnostics Process. Start ("Explorer .exe", @ "/ select," + filepath) This works well with simple English characters, but if the file is named Unicode If the character is (Thaa language), then it can not open the file's location. Anyone can help please? Try putting it in quotation marks: System. Diagnostics.Process. Start ("Explorer .exe", @ "/ select," "+ + filepath +" \ "")

linux - Concurrent access to elements in the same cacheline in non-shared cache on x86-64 -

Assume that I have the following code: int x [200]; Zero 1 thread (for (for int i = 0; i & lt; 100; i ++) x [i * 2] = 1;} zero thread 2 () (for (int i = 0; i & Lt; 100; i ++) x [i * 2 + 1] = 1;} Is the correct code in the x86-64 memory model (I think what it is) What is the effect on the performance of this type of code (which I think - none)? The format of the PS display is in Linux handling the page with default writing cache policy? In - I am in Sandy Bridge I am interested. Edit: As expected - I want to write alliances with different threads. I hope that after finishing the upper code and blocking Instead of x in {1,1,1, ...} , {0,1,0, 1, ...} or {1,0,1,0, ...} . If I understand correctly, then I will endorse snooping requests. Sandy Bridge Uses the quick path between the eyes, so snooping can not kill the FSB, but very quickly related to each other as it is not based on the cache - it should be 'fairly' fast when writing illegal, although...

c# - Create nuget package for a solution with multiple projects -

We are currently preparing solutions with many projects. We have something like this: logging - logging. Logging - Threading hence logging. Log logging is dependent on logging on the common ... etc. When we pack logging. Log me would like to nugget me to find logjin and common dependents. At the moment, I created a package with Common, then in logging I installed the package in common But whenever I am modifying , I have to update the package and they are created by our continuous integration system (Hudson), so when we are developing it is quite upset. I just have to navigate to a project reference (add context -> project ...) and in any way to discover the divisions. Is there any way to get it? A planned goal is to ng this exact situation How does it look like this: & gt; Nuget.exe pack proj.csproj-includeReferencedProjects This is apparently only day before, but it is there. > P> OR Related to those projects Maki...

postgresql - Copying Data from Oracle to Postgres -

We have a daily process that draws all the statistics of several tables in the Oracle database and imports them in postages (Enterprise DB) Database - Version 8.4. We are currently using the Java application to select * from each table, change the keyword (date, timestamp, etc.) and then import them into a Postgrass database. Is any tool available in postgrad, which will provide a more efficient way of doing this? I should note that there are COBBs which are being taken over. There is one migration tool once, but it can also work in your case. I accept it as an Oracle-to-Postgresqual PG_dump.

How to pass on all the items automatically in Android ListView? -

I have an Android LIVEview, which is holding some items, I'am is trying to do this: / P> Select items first Item highlight Go to next item Do step 2 Loop The last step for steps 2 and 3 The user has input from the user to start the above flow. The list actually achieves the steps that hold the HTTP request, when users click the play button, the steps inside the list will be executed one after the other until all the list will be done , While the list is being played, I have to highlight every item. Any thoughts? I'm sure what you are trying to achieve, but you can try the following code Are: int itemsInList = myList.getAdapter (). GetCount (); (Int i = 1; i & lt; items inelist; i ++) for {myList.setSelection (i); }

c# - Should I Write Tests for Argument Exceptions? -

Text after " When applying TDD, you test that exception to the argument (ArgumentException, ArgumentNullException, InvalidOperation, etc.) Can verify or just create "known" ones, for example, CustomerDelinquentException? What's the gethashcode override about equals? How would I test gethashcode? Thanks I always test for any exceptions I throw in my method , Which includes logic exception , logic expression, , etc. I'm just the best to check them and they're easy to write. If ever someone those guards, the test will break and you want to know. [TestMethod] [ExpectedException (typeof (ArgumentNullException)]] Public Zero Delete ToSetOnNullThrows () {List & lt; String & gt; List = null; Var target = list.ToHashSet (); } As far as GetHashCode () and is equal to () I test these as well if you have them override / em> An easy test for GetHashCode () is to create two equal objects (the same value used in the hash code) and it ...

c++ - Keyevent in Windows -

Is it possible to get an event for the key pressed in Windows (APP)? I have a thread, there is some time in it (1) -Loop and I print some data there. It should be synchronized that I should use WaitForMultipleObjects (2, events, incorrect, INFINITE); The event has an array of handles and it has 2 handles, one of them is an incident from another thread which indicates that the server has received a new message and the other should indicate that the user pressed a key (1-7) is. How do I get this second handle / event? You MsgWaitForMultipleObjects . It can also retrieve messages, such as WM_KEYDOWN for you major events, you do not need the handle .

c# - EnableRaisingEvents (enabling and disabling it) -

I am maintaining some code containing two FileSystemWatcher events that make it difficult to debug (and there is an error in it). So my idea is to simplify the code by executing sequential execution. This is very beautiful: Main method 1) Normal code here 2) Enable event 1, check it for files, disable it when enabled to run 3 times once) Events 2, check it for two files, disable it when it is done to run once Then the database log will understand more than I can see some part of the program Will be capable of doing something wrong. Private Zero start initializeFileSystemWatcher () {this.MessageMonitor = New FileSystemWatcher (This. MessagePath, this.MessageFilter); This.MessageMonitor.IncludeSubdirectories = true; // Recurring This.MessageMonitor.Created + = New FileSystemEventHandler (OnMessageReceived); This.MessageMonitor.EnableRaisingEvents = True; } From the main, I can enable EnableRaisingEvents = true EnableRaisingEvents = false. Both events list files in some fo...

html - Why does this text breaks div tag? How to fix it? -

I think I justify the width and height of the div and the text will be inside, but I do not know why the text In this case is out there Why? how to fix it? & lt ;! DOCTYPE html public "- // W3C // DTD XHTML 1.0 Transcription // N" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" & gt; & Lt; Html xmlns = "http://www.w3.org/1999/xhtml" & gt; & Lt; Top & gt; & Lt; Title & gt; Content area prototype 1 & lt; / Title & gt; & Lt; Meta http-equiv = "content-type" content = "text / html; charset = UTF-8" /> & Lt; Link rel = "stylesheet" type = "text / css" href = "content.css" /> & Lt; / Head & gt; & Lt; Body & gt; & Lt; Div class = "test" & gt; Zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz...

events - Gray out a form row's (detail's) button conditionally with VBA code -

I have a standard form in MS-Access that lists a set of orders, and the order number , Customer etc. Fields + Notes and a button to see attached document files. On request from our customer, let us select two other tables from two questions (one should check or uncheck the button btnAnm (depending on the calculation) The check field is empty and is a check). I have tried btnAnm_BeforeUpdate (...) and BTNANmbrereenderer (...) and put breakpoints in all, but none of them Not triggered if I use the Orderner control instead of btnAnm , then there is only one. Set me every " me. " (line), and set properties of the control of the row in that sub. What do I do? I have seen the help file and searched here. * Edit: So I want to do something that was not done "to do this"? To wit. Incident incidents have not started in the details as an alternative, do I base the value of a checkbox on each line on a query based on the 'Orderner' field of the e...

c++ - Using Qt: Invalid conversion from const void* to void* while using QList -

I have been running with QT and C ++ for some time, but I have participated in this error and not You can understand why this crop has many questions that have been answered with the CONSTANT * conversion error message, but I can not really see how explanations help in my case, here Here goes: I have a 're' of QList Receipt 'MyTypeManager & lt; MyType * const>, therefore a list of Constant Points for non-core muteaps However, when there is a function in my replenishment, AddMyType is Zero MyTypeManager :: addMyType (MyType * Const var is called {here->; Append (var); } The following error (s) are: contains the / usr / include / qt4 / qtcore / qlist file: 1: 0, From ../qtsdlthread/mytypemanager.h:4, from ../qtsdlthread/mytypemanager.cpp:1: /usr/include/qt4/QtCore/qlist.h: Member QList in the member function & lt; T & gt; : Node_construct (QList & lt; T & gt; :: Node *, const T & amp;) with [T = MyType * const]: /: /usr/include/qt4...

PowerShell .ps1 file on Visual Studio post build event -

Image
I am trying to execute the following post build event code but I am getting a non-useful error: "c: \ Windows \ System32 \ WindowsPowerShell \ v1.0 \ powershell.exe" -file "$ (SolutionDir) Tools \ nuget_pack.ps1" I have participated UPDATE / strong> It's weird, I'm VS No errors have been found on But the script is not working when I run it from the powerhell console, I get the following error: You can reproduce errors in parsers : "This is a string" -file "my.ps1" This is taking the first time as a string, -file as -f format flag and saying that format There is not a price expression on the right for replacement. Try this type of: & amp; "C: \ Windows \ System32 \ WindowsPowerShell \ v1.0 \ powershell.exe" -File "$ (SolutionDir) tool \ nuget_pack.ps1" (As for Keith notes, This will not work as it is run from a ballet file compared to the PowerShell.) Or simply: po...

Blogger's layout tag Not supported in HTML : need javascript help -

I am working on BLOGGER and I have come in 1 query. I want to integrate the following in the Blogger template. & lt; Script src = 'http: //connect.facebook.net/en_US/all.js#xfbml=1'/> & Lt; Div & gt; & Lt; Fb: Comments colorscheme = 'dark' expr: href = 'data: post.url' expr: title = 'data: post.title' expr: xid = 'data: post.id' width = '450' / & gt; & Lt; / Div & gt; I want to add it to the HTML widget but HTML data: post.url or does not understand the data: Post .title So can I use Javascript and how? I think, you will add Facebook comment box.

sql - Can a table and a column within it use the same name in Sybase? -

I am using a Sibez database and would like to know whether the table is valid with that name in the table Example: make table fu (foo int null, etc ...) valid? Sure. Recommended? No.

forms - Illegal character when trying to escape square brackets with jquery -

Using jquery form plugin I was trying to test the value of a form element which uses square brackets is. var form = jqForm [0]; If (! Form.sendTo \\ [\\]. Value] {Warning ('some'); return false; } Despite trying to avoid the brackets, it is still giving me an error. Invalid character [break this error] If (! Form.sendTo \ [\]. Value] { Is not it possible to do this? Thank you You place JavaScript in place of a dot bracket and dot-notation Can use a string. Then try it out: var form = jqForm [0]; If (! Form ["send []"]. Value) {warnings ('some'); return false; } Edit after comments: Using jQuery, you can determine how many checked check boxes are using the code Such as: $ ('input [name =' dispatch [] "]: checked ', form). value form refers to a jQuery object form that has a checkbox, if it is not, you may be able to wrap it like in the above example $ (form) Live example:

tfs2010 - TFS 2010 - Unable to create Team Project -

I created a team project collection and added a team project on TFS 2010 that was built on VMYear space. In late my system administrator copied the image of the server and due to space constraints it was rebuilt on the new VM server. Not sure if this is happening due to a given issue, but this is the error that I am trying to create a team project on TFS 2010. This error Error TF24023: Team Foundation Server Configuration Failure New Team Project Wizard Could not connect to the Work Item Component Team Foundation server Explanation Contact the administrator for Team Foundation Server \ To confirm that the server is available on the server Additionally, you can get additional useful information in the project creation log. The log shows every action taken by the wizard at the time of the failure and may include additional details about the error. User Work The project creation wizard was unable to connect to the team foundation server. The reason for the failed ...

How can I exclude a certain row from an MySQL query -

मैं एक MYSQL क्वेरी से एक निश्चित पंक्ति को बाहर करना चाहता हूं। SELECT * FROM imdb यह एक मूवी की वेबसाइट के लिए है, इसलिए मैं इसी तरह की एडवेंचर्स फिल्म को पीछे छोड़ देता हूं, लेकिन इसमें वर्तमान फिल्म भी शामिल है। तो मुझे इस तरह कुछ चाहिए: एडवेंचर्स जैसी फिल्में चुनें, लेकिन इस आईडी को बाहर करें: 1, फिर भी, 10 फिल्मों का परिणाम। अगर आप सटीक आईडी (उदाहरण के लिए, आईडी = 1 उदाहरण के लिए) जानते हैं, तो ऐसा करें: SELECT * से IMDB WHERE शैलियों की तरह 'साहसिक 'और आईडी & lt; & gt; 1 आईडी आईडी डीईएससी की सीमा से 10 इसे देखें।

Action controller: Exception Caught while trying to acces recently generated controller on empty Ruby on Rails project -

I'm new to Ruby on Rails, I'm just trying to follow some tutorials.I have just entered : Build Rail Controller Hello Then I started Rail Server and tried to reach and got Action Controller: Exception Holder ActiveRecord :: ConnectionNoteASTABABS ActiveRecord RAK DB: Make DB: MIG Rate before starting the server. If you have done so, check your database configuration in config / database.yml . If you can not understand it, please tell the contents of that file.

XSLT find and replace carriage returns -

I need to change the carriage return from input XML. The input is as follows: I am trying to delete the carousis return using the following function: & lt; Xsl: template name = "string-replace-all" & gt; & Lt; Xsl: param name = "text" /> & Lt; Xsl: Ultimate name = "Replaced" /> & Lt; Xsl: Ultimate name = "by" /> & Lt; XSL: Select & gt; & Lt; Xsl: when test = "in ($ text, instead of $)" & gt; & Lt; Xsl: Select the value = "substring-before ($ text, $ replace)" /> & Lt; Xsl: Select Value = "by $" /> & Lt; Xsl: call-template name = "string-replace-all" & gt; & Lt; With xsl: choose the ultimate name = "text" = "substring-after ($ text, $ location)" /> & Lt; With xsl: select param with name = "replace" = "$ replace" /> & Lt; Xsl: select-by-name = "by" = "$ by...

asp.net mvc - NHibernate + IIS7.5 throws "A session factory has already been configured with the key of nhibernate.current_session" -

एस # आर्क आर्किटेक्चर 2.3 आरसी का उपयोग करके, मैं दो वेबसाइटों को प्रकाशित करने की कोशिश कर रहा हूं जो लगभग-उपयोग करते हैं - एक ही कोडबेस पथ तक पहुंच 'सी: \ विंडोज़ \ टेम्प \ ", जो कि मैं प्रकाशित अनुप्रयोगों में से सबसे पहले ठीक से चलाता है, हालांकि, परिनियोजित करने और दूसरे अनुप्रयोग को चलाने का प्रयास करने पर, Nhibernate.current_session - 851346262.bin 'से इनकार किया गया है। जब मैं खिड़की को ताज़ा करता हूं, तब मुझे यह अपवाद मिलता है: एक सत्र फ़ैक्टरी को पहले से ही nhibernate.current_session की कुंजी के साथ कॉन्फ़िगर किया गया है मैंने उन्हें अलग-अलग एप्लिकेशन पूल में लोड करने का भी प्रयास किया है और त्रुटि बनी रहती है। मुझे नहीं पता कि यह कैसे होता है कि मेरे दो आवेदन सत्र IIS पर टकर रहे हैं, जबकि वे दृश्य स्टूडियो के साथ ठीक चलते हैं। FYI, मैं उन्हें विंडोज सर्वर 2008 R2 + IIS पर चलाने की कोशिश कर रहा हूं 7.5 कोई भी मदद? ऐसा लगता है कि S # arp वास्तुकला का उपयोग करने की कोशिश करता है दोनों अनुप्रयोगों के लिए एक ही NHibernate सत्र कारखाना यह शा...

How do I add a drop down list of strings that represent different worksheet names in Excel 2007? -

Recently my job is placed on a reporting project, my overall purpose is to report 9 different charts Which can also be filtered by data and by group. There are 22 different groups and I need to drill down to show a report from the individual month, week, and day. I have to do all this in Excel in 2007. For now, I am working on showing results from the month and for all the different application groups and for all the groups Summary The way in which I have installed it is a workbook containing 2 worksheets , 1 in which there are 9 lines, let's call this dashboard_ell. This graph is linked to another sheet that contains all the information for each article, let's call it Chart_Data. Can you imagine, from which chart data is coming? Chart_Data references some tables in another workbook, which includes raw data, pivot tables, and matrix tables. I have set it on a worksheet that contains all the raw data in a table. A worksheet contains all the spindle tables (1 pivot table ...

java - Android Gaming Frameworks -

I was thinking of making a 2D game, and wondering if there is a good open source or potentially paid (if not very expensive then Thanks. Text "> is the Libgdx Desktop / Android Framework for Android Android.

cakephp disable routing for specific URLs -

I have a CakePHP 1.3.10 app that I am trying to do: I want to embed an MP3 file in some scenes using Google's Reader Flash Audio Player. If I place the MP3 file in the Webroot directory of my app, then there is no problem. However, I'd like to put those files in a directory named Audio at the same level as My App Directory: [public_html] [app] [cake] [ The problem is that if I put my MP3 files there, when I link them to my view, the cake controller Audio , Which does not exist, rather than just adding my file, I believe it is something with routing, So I was wondering if I could disable automatic routing for a particular folder (audio in this case). I want to do this in such a way because in the future I may have to reach those MP3s from other websites, so I do not want them deep in the cake directory system. Thank you very much for any suggestions! Files that should be served on the web server directly without going through the cake / app / Webroot direc...

Help with C Program Executable - Linux -

I have just moved to Linux, and I'm still looking for the program on this. However, for some reason I can not get executable to work. Here's what I did: Download code :: Block Made run and compiled - which completely covers inside code: block moved the file to the saved bin / release folder, tried double-clicking, right-clicking and selecting: Open, Open, trying to use the terminal I have copied the folder URL to run the name of my program, and then the name of the file .. I execute I can not get the file created for it! This one in Windows. Make Exe, I know Linux is not finished (?) (May be wrong). I am currently running Ubuntu 11.04. Most Linux distributions do not contain existing directories in the PATH variable, which looks for performance . Try opening a terminal, change its presentability to the current directory by changing it to the bin / release directory: ./ myprogram In contrast to Windows, where you can simply type "myprogr...

java - Javadoc Linking to Another Package -

मेरे पास दो पैकेज हैं, आकृतियाँ और फल : com.myproject.Shapes सर्किल स्क्वायर त्रिभुज com.myproject.Fruits। एप्पल ऑरेंज मैं ऐप के लिए जावाडाक लिख रहा हूं और {@ link} को वर्ग कोड>। मैंने निम्न में से सभी की कोशिश की है, और इनमें से कोई भी काम नहीं करता है: {@ link स्क्वायर} {@link com.myproject.Square} मैं इसके साथ लिंक करने के लिए दस्तावेज ढूंढने में सफल रहा हूं: (ए) एक ही पैकेज में कक्षाएं, या (बी) बाहरी URL, लेकिन किसी अन्य पैकेज में वर्ग नहीं। कोई भी विचार सही वाक्यविन्यास क्या होना चाहिए? धन्यवाद! वेरिएंट हैं {@ link [& lt; पैकेज & gt;।] & Lt; class & gt; [# & lt; विधि & gt;]} {@link # & lt; method & gt;} आप एक पूर्ण पैकेज लापता थे निम्नलिखित उदाहरण सही होना चाहिए {@ लिंक com.myproject.Shapes.Square} ^^^^^^

C++ local variable changes value -

I have the following C ++ function, which is trying to find the maximum and constant amount, negative and positive Within the array of integers int MaxSubArray :: find_max_subarray (zero) {int maxsofar = 0; Integer maximum = 0; For (Int i = 0; I For the array containing 10,20,30, -50, 50, I get the following output Here's the maximum: 0 maxsofar is: 0 Here's the maximum: 10 maximum: 10 maximum: 30 maximum is: 30 here maximum: 60 maximum: 60 maximum is here: 10 maximum: 60 here max: 60 max: 60 maximum till last is135205 max end 135205 is 135205 max sub array Can someone tell me why the value for variable maxsofar 135205 varies, outside of the loop. Thanks in advance It should not be: for ( IIT = 0; i ? Note that you have modified maxsofar in the last loop running after you printed it, so you see a difference - it is possible That you are adding to the value of the garbage on that last trip due to your off-by-one loop boundary. Hope you are enjoy...

javascript - jquery created dropdown not displaying in ie8 -

I have a code that creates a dropdown list but in IE8 the dropdown has the correct number of entries but the text is empty, they are the right values. I can not see what is missing? if (max_ch> 0) {var newDiv = $ ('& lt; div & gt; cell' + (i + 1) + '& lt; select class = "Adu" name = "Data [rate] ['+ r_id +'] ['+ ro_id +'] [adult] []" & gt; & lt; / select & gt; adult. & Lt; class = "chi" name = " Data [rate] ['+ R_id +'] ['+ ro_id +'] [child] [] "> children. ;); NewDiv.attr ("id", "residents" + i) .appendTo (showdiv + '.rooms_adults'); Var roomPrice = $ ('& lt; input type = "hidden" name = "data [rate] [' + r_id + '] [' ro_id + '] [value] []" value = "' + room_b + '"/>'); RoomPrice.attr ("id", "roompres" + i) .appendTo (showdiv + '.rooms_adults...