Posts

Showing posts from June, 2013

html5 - Div auto expand width right column -

Looking at the following HTML, I want the second div to appear on the right side of the red box of a certain size, What is the full width I am missing? & lt; Html xmlns = "http://www.w3.org/1999/xhtml" & gt; & Lt; Head runat = "server" & gt; & Lt; Title & gt; & Lt; / Title & gt; & Lt; / Head & gt; & Lt; Body & gt; & Lt; Form id = "form1" runat = "server" & gt; & Lt; Div style = "width: 100%;" & Gt; & Lt; Div style = "width: 300px; height: 300px; border: 1px solid red; float: left; clear: both; background color: red;" & Gt; & Lt; / Div & gt; & Lt; Div style = "border: 1 px solid red; float: left; background-color: blue; color: white;" & Gt; "We tell about our work that they are ready to work, but for their work, they have to work just before work. Extreme ID / Library / Lt; / div & gt; P>

webstorm - RubyMine fails to start on Yosemite -

Dosommine will not start under Yosemite, no loading screen, no error message. It looks like edit also affects webstream This solution is controversial - please read this before applying the changes! Open this file Check the version of Java, using the most likely 1.8, java -version , you should look something like this: Java version "1.8.0_20" Java (TM) SE Runtime Environment (Build 1.8.0_20-B-26) Java HotSpot (TM) 64-bit server VM (25.20-B23, Create Mixed Mode) Open and Edit or for webstream / application / webstorm.ap / content / information. Update the following key & lt; Key & gt; JVMVersion & lt; / Key & gt; & Lt; String & gt; 1.7 * & lt; / String & gt; to & lt; Key & gt; JVMVersion & lt; / Key & gt; & Lt; String & gt; 1.8 * & lt; / String & gt; RubyMine will now be good to go Feedback on this solution JetBrains do not recommend this solution because it's au...

google app engine - Protecting a Endpoints method -

I want to preserve my end point only Allow my Android app to use this endpoint method I use this purpose How can I archive? I do not want to ask the user to provide credentials. I provided clients but the user parameter is always visible on the backend. I am following this instruction Thank you very much. I believe that this is a known issue, and soon the user object will populate properly , But for now, you can use the following solutions to get a valid user object: OAuthService oauth = OAuthServiceFactory.getOAuthService (); User = oauth.getCurrentUser (); This issue is based on the comment in the public issue tracker thread for the related issue.

ios - Regular Expression for Password Validation Objective-C -

इस सवाल का पहले से ही एक उत्तर है: 13 जवाब क्या कोई कृपया मुझे मदद कर सकता है कंडीशन: पासवर्ड अधिकतम 8 वर्ण संख्यात्मक या वर्णानुक्रम में कम से कम एक विशेष वर्ण के साथ होना चाहिए धन्यवाद अग्रिम में। ^ (? =। {2,8} $) (? =। *? [ए-ज़ा- z0- 9 ]] (? =? *? [\ W_]) [\ w \ W] + यह नियमित अभिव्यक्ति 2 से 8 वर्ण पासवर्ड की अनुमति देती है इसमें कम से कम 1 अल्फ़ान्यूमेरिक (अक्षर / संख्या) वर्ण और 1 गैर-अल्फ़ान्यूमेरिक वर्ण होना आवश्यक है। आप इसका परीक्षण कर सकते हैं। यदि आप कम से कम आवश्यक अक्षर या अधिकतम अधिकतम बदलना चाहते हैं। बस 2 या 8 को बदलें।

node.js - Can't make populate in mongoose returning null -

I am trying to create a FoodItem schema in which I put the measurement page in context from the model of another page is. This is MeasureTypesSchema where there is an embedded array document inside the Measurement Types Metricscake, where measureUnit exists. I am exporting both the Measurement TypeSesquamation model (Measurement Type) and Models of MetricsScheme (Metrics). var requires mongoose = 'magos'); Schema = mongos Sema; Var Majertpsamsama = New Mongoose Sema ({measureUnit: {type: string, required: true}, code: {type: string, required: true}}); Var marget types = mongos Model ('measurement type', measurement typesskema); Module.exports = Type Measurements; Var MetricsSamy = New Mongoose Sema ({Organization: {Type: Schema Type I. Object ID, Ref: 'Organization'}, Measurement Type: [MajorTypeSema]}); Var metrics = mongos Model ('matrix', metrics sama); Module.exports = Metrics; This food is ITEMSCHA, where I have placed the UIITIT as an o...

sql - How generate oracle string sequence? -

I need to create a unique identifier which should not be 5 length now, because the number is not correct, there is no Generate unique wire in the Oracle database? To use numbers in hex hex format Select from double to to_char (seq.nextval, 'fm0XXXX'); Or to use all the symbols between ASCII code 33 and 122, this more compact method: num, chr (33 + mod (floor) (Num / (90 * 90 * 90 * 90), 90)) || Chr (33+ mod (floors (number / (90 * 90 * 90)), 90)) || Chr (33+ mod (floors (number / (90 * 90)), 90)) || Chr (33+ mod (floors (number / 90), 90)) || Chr (33+ mod (num, 90)) to x00000 (select seq.nextval as double to num); Actually this 90-based number is represented.

matlab - Voxel neighborhood indexing - Detecting "out of bounds" in 26 neighbor access with linear indexing -

Well, I do not know how to describe my problem with the title, I hope I have one right . / P> I have a matrix ( M in the example below) which is a 3D image, in this case, by 11x11x11 voxels (I have made it Logical just for ease, and the size is just an example too.) In my code, I need to reach 26 voxels of some voxels, and for that I use some fancy linear sequencing : The problem is that if the "range" of dot m is in, then some values ​​are exited He is tried, and the error will occur. To solve this problem, one good way would be to make it around M to form it +2 size in each dimension, and with zero, but I really want to avoid changing M , because my code is very complex, for example. I can not do any double search of this ng, I got some stuck here. Any suggestions Edit :. @Dan works to answer, however I would like to see if there is a possible solution using this linear sequencing method % Example Data M = Round (Randon ( 11,11,11)) ~ = 0;...

android - The constructor ArrayAdapter<String>(Context, int, MainActivity.ListViewItem[]) is undefined -

I'm new to Android programming I was doing a piece along the lines of different ListView. I created a custom adapter that extends from the Surrey adapter the public class enhances the CustomAdapter ArrayAdapter & lt; String & gt; {Public stable final integer TYPE_ODD = 0; Public stable final integer TYPE_EVEN = 1; Public stable final integer TYPE_WHITE = 2; Public stable ending end TYPE_BLACK = 3; Personal last reference references; Private final lag resource; Private list view [item]; Public CustomAdapter (Reference Reference, Intource, ListViewItem [objects]) {Super (Reference, Resources, Objects); This.context = context; This.resource = Resource; This.objects = objects; } Eclipse shows super (context, resource, object); Line is as error "constructor Arre adapter is undefined (context, Int, Menaktivitiklistwuitm [])" I did not know why it please help on this. Data type in angle brackets ( & lt; String & gt; ) you are the supply Array ( ...

How to remove pages in Android ViewPager? -

I'm dynamically trying to add / remove / remove pieces one ViewPager After clicking a button, but if I remove the remove piece by clicking the back button (a form), and to add the piece again, the form has its own data (editing text below) No) is kept. Here's my adapter: Package Com Thomas.playlists.viewPager; Import android.support.v4.app.Fragment; Import android.support.v4.app.FragmentManager; Import android.support.v4.app.FragmentPagerAdapter; Import java.util.ArrayList; Public Class ViewPagerAdapter FragmentPagerAdapter {ArrayList & lt; Fragment & gt; MList = null; Public ViewPage Adapter (Fragment Manager FM) {Super (FM); MList = New Arrestist & lt; Piece & gt; (); } Add Public Zero (Slice Piece) {mList.add (Slice); } Public void remove () (if (Melaisaisiii ()> 1) Melais. Rivo (GetCount () - 1);} @ got override public fragment Aitem (Int i) {return Melaiskstet (I);} @ Override Public Hourly Praptcount () {return Melaisaisaipi ();}} in th...

javascript - OpenSubtitles API - SearchSubtitles returns no data -

I'm following this to make API calls for OpenSubtitles. I am using Javascript, and why is the following code as XML-RPC client not working? var loginRequest = new XmlRpcRequest ("http://api.opensubtitles.org/xml-rpc", "Login"); LoginRequest.params = (['', '', 'eng', 'OS Test User Agent']); Var response1 = loginRequest.send (); Var Token = String (Reaction 1. PRSXL (.) Tokens); Console.log (token); Var searchRequest = New XmlRpcRequest ("http://api.opensubtitles.org/xml-rpc", "SearchSubtitles"); SearchRequest.params = [token, [['Query = South Park', 'Season = 1', 'Episode = 1']]]; Var result = searchRequest.send (); Console.log (results.parseXML ()); I do not get any data in return (data: incorrect). Token part is working properly. If a person requires it, the code for the search given below has been added. Note that the query has been passed to the addParam: var searchR...

postgresql - Importing .csv to postgres. what to do with time? -

I want to import some .csv data into postgres and there is a problem with a data type: One of my attributes is birthday: 1968-06-24 00:00:00 So I use timestamps, as Pgmodeler has been suggested by. Although I always get the message: postgres = # \ new_database Connect Now you are connected to the database "new_database" such as users "postgres" New_database = # \ copy players FROM '/ Users / Desktop /Rdaten/Data/players.csv 'DELIMITER'; ' Error: Error: Invalid input syntax for type timestamp: "NULL" CONTEXT: COPY player, line 267, column birthdate: " NULL "New_database = # What can I do about it? It is not certain that this is the same issue, but this error in trying to import CSV Found, where the zero value was listed as 'null' and it was fixed by adding 'blank null' to the copy command - by default the postgrass expected is NULL value to be input as an empty string.

css3 - How to change customized carousel indicator background color? -

मैं सक्रिय है जब img-circle पृष्ठभूमि का रंग बदलना चाहते हैं। & lt; div id = "myCarousel" वर्ग = "हिंडोला स्लाइड" & gt; & Lt; div वर्ग = "हिंडोला-बटन" & gt; & Lt; div class = "col-sm-4 text-center" & gt; & Lt; एक कक्षा = "टेक्स्ट-केंद्र" डेटा-लक्ष्य = "# myCarousel" डेटा-स्लाइड-टू = "0" href = "#" & gt; & Lt; div वर्ग = "आईएमजी-सर्कल सेंटर-ब्लॉक" & gt; & Lt; img class = "हिंडोला-आइकॉन-आईएमजी" src = "छवि / आइकन-1-छात्र.svg" & gt; & Lt; / div & gt; & Lt; / a & gt; & Lt; / div & gt; ऐसा करने का सबसे आसान तरीका बिना जावास्क्रिप्ट है मानक वर्गों का उपयोग करने के लिए अपने मार्कअप को संशोधित करने के लिए इसके बाद आप केवल सक्रिय वर्ग का उपयोग कर सकते हैं जो तत्व के तात्कालिक बच्चे तत्वों को स्वतः । कारल-संकेतक वर्ग के साथ जोड़ लेता है। में डेमो, मैं मानक बूटस्ट्रैप सीएसएस को ओवरराइड करता हूं और...

AngularJS factory two way data binding -

I have an angular controller with some binded variables, and a factory that produces an array of controllers ('' b ''); MyController ', [' $ scope ',' Authentication ',' MyFactory ', function ($ scope, authentication, MyFactory) {$ scope.user = Authentication.user; $ scope.options = MyFactory.getOptions ($ scope.user. FirstName, $ scope.user.lastName); ...} ...} Factory MyFactory angular.module ('those') factory ('MyFactory', function () {var only this = this; _this._data = {GetOptions:. Function (firstName, lastName) {return [firstName + "+ lastName, lastName +" + first name ...];}}; return _this._data;}); This is a Works well for the first time, but does not process data between the controller and the factory. The intention effect is that in a logic of MyFactory.getOptions () The change resulted in $ scope.options . This works for the first time Because you are calling a function that gives a new a...

php - define variable using conditional statement in MySQL -

I have a table "product" with columns: | Price | Discount_pris | Start_disk | End_discount | ... | * start_discount and end_discount are a unix timestamp The current price of the product depends on the time - if ' time () ' ' start_discount ' and ' end_discount ' then current value is' discount_price ', otherwise' Price ' I'm trying to return the " current_price " variable. In PHP, I will just write: $ current_price = (time)> $ start_discount & time () How can I get the top of MySQL without including PHP? I still have this: SELECT *, (** price or discount_price **) as current products, where active, active = 1 and current_prins Ordering '100' and '200' between current_pres; There is a way to do that, I'm just selecting the value that You can choose whatever you want from the table select the case when now ()> Start_discount and now () & lt; End_d...

php - Added Array Value to New Array: After var_dump Value Disappears -

I am trying to add an array value to a new array like this: $ client name [] = $ cname ['name']; If I use var_dump ($ cname ['name']); Then everything looks fine, but if i var_dump ($ clientname); I expect to see the same thing, but I do not feel like I did var_dump ($ cname); Here's the full code: foreach ($ clientname $ customer) {foreach ($ client $ cname) {var_dump ($ cname ['name ']); $ Client name [] = $ cname ['name']; Var_dump ($ CLIENTNAME); }} I had to foreground due to that array structure, obviously var_dump ($ cname ['name']); Repeats is as expected for the amount of $ Cnames my $ customer name to $ cname / div> So, the arrays you are getting through, are you adding your values ​​too? In PHP, internally, it copies the array from which it is through the loop. So if you dump the array after foreach'es, then you will see the new value in it. Why are you adding those values ​​to the sam...

javascript - sweetAlert not working for IE? -

I am trying to open the same url on IE but there is a problem. Meet alert is not working. I was trying to find any information about IE compatibility for mi alerts. But there is nothing related to IE compatibility, is there any alternative option available with IE compatibility? read this problem or Have you tried the plugin?

c# - How to map two lists using linq -

If I have a list of such dates: list & lt; DateTime & gt; {5-10-2014,6-10-2014,7-10-2014} And I have a list of such sessions: list & lt; Integer & gt; {1,2,3,4,5,6} How to map sessions based on two sessions (using leaners) in the order of each date. I want a result like this: 5-10-2014 1 5-10-2014 2 6-10-2014 3 6-10-2014 4 7 -10-2014 5 7-10-2014 6 This is a way that you With it can: var grouped date = dates. Select ((date, index) = & gt; new {date = date, index = index}) .GroupJoin (numbers, datewise and index => index, number = & gt; (num - 1) / 2, (date With index, numbers) = & gt; new [] {new} date = date by index.date, number = number.First ()}, new {date = dateWithIndex.Date, number = nums.Last ()}}) .SelectMany (grp = & gt; grp); Example: How it works: Date list in a new order Project that contains the index and date of each date group zone with the list of numbers in that collection. To correlate b...

java - GestureDetector and GestureDetectorCompat -

What is the difference between the gesturedate class and gesture detector compact class? Both to do the same thing (dealing with gestures), but what should I use? Havani detector acceleration is the only way to use all the gesture detector capabilities on the old Android version. So you probably want to use Compat Edition which has the same API.

html - Avoid !important in new css file -

I have to change an existing website so that it becomes responsive, I do not have the possibility of starting down completely, so I An additional CSS file has been created with some @ media -queries to change the style based on browser width. I import the css-file into the original CSS-file via @import . However, I have to write Important after each code I have to put the original file to @ media (minimum-width: 1200 px) The thought of putting between {...} is related to {/ code}, but it will only apply to everything and therefore will not display anything on the device & lt; 1200px. How should I contact this? Do I have to override the original file with ! Must use important , or is there a second, possibly better, attitude? If you tilt it well, then your responsive file is without important Can do. Import your additional CSS-files after the original and ensure that selectors, or more, specific

c - How to change date string to other date string -

I have to modify the program, but I have very limited knowledge of C programming. How can I change the input string '3.10.2014' in output string '2014-10-03'? char * in = '3.10.2014' four * out = some (* in) thanks Change the call first: four dates [] = "3.10.2014"; CHANGE_DATE (date); This creates a date in an array that you can actually modify, because unlike a string you can not do. Pre> zero changes_date (char * s) {int y, m, d; If (sscanf (s, "% d.% D.% D", & amp; d, & amp; m, & y) == 3) {sprintf (s, "% d-% d-% d ", Y, m, d); }} use the above not % 04d to format the year, the probability of less than expected Available buffer space is too small when available. It would also be better to accept the size_t s_max argument and use snprintf () , and a return value. I chose briefly.

php - Unable to start XAMPP properly -

When I started xampp on linux box I am facing down problem. I am able to start mysql and proFPD, but I could not separate Apache. It is showing that another webserver is already running. XAMPP : Apache is failing XAMPP : another web server is already running XAMPP : MySQL Getting started is already running. XAMPP : ProFTPD is starting. Looks like you have running the httpd daemon already. Go to the terminal and type service httpd stop , then try starting XAMPP

iis - Assert User.Identity.Name is set right in my MVC app -

I have a ASP.NET MVC app running on IIS 7.5 with an app pool that is set to identify "roger01" is. I want to make sure that when I present the @ User.Idenity.Name , this is the identity (Roger 01) that is displayed. I am ASP impersonation but it is not compatible with integrated mode. And ASP.NET MVVC requires unified mode. I have also set an anonymous authentication identity to "Roger 01", but it will not change anything. I really am not able to count even a few hours ... It seems that it can be completed that you know what ' identifies an application pool in IIS when creating a new application pool, the pool It is often convenient to be able to identify the identity of the user. This issue usually arises at IIS 7 / 7.5, where the default application pools use the identity of IIS APPPOOL \ identname . And when you give access to the database / file system, you will have to give the exact identification name. Usually I use this simple s...

salesforce - Send with DocuSign custom button with validation -

Here's some God's help (sorry still is new to code) though I know that this is possible because I have some such work clues. Essentially, I want to create a custom button to send with the document button at an opportunity which first ensures that all the minimum criteria are met. For this I know that I will need a VisualForce page which displays an error message, an Apex square and or custom button. Many custom fields on the spot These are related products with opportunity There Can anyone help? Apex Class Public class ReadyforDocuSignValidation {Public ID Opportunities {Get; Set;} public string error {get; Set;} public string raffle {get; Set;} Public Boolean Ster [Received; Set;} public string strorm [get; Set;} Public Ready ForDocuSignValidation (ApexPages.StandardController Controller) {sterr = false; Sterrmsg = 'You must play a contact role to send through Doku sign'; Error = 'Complete the following fields before conversion: & lt; Br / ...

css - HTML: is input box default/calculated content height different across browsers -

मान लें कि मेरे पास निम्न कोड है । उपयोगकर्ता नाम {font-size: 30px; पैडिंग-टॉप: 8px; पैडिंग-नीचे: 8 पीएक्स; सीमा: 2px ठोस # E0E0E0; } & lt; इनपुट वर्ग = "उपयोगकर्ता नाम" प्रकार = "पाठ" /> पर लाइव डेमो देखें मुझे लगता है कि कुल ऊंचाई = सामग्री की ऊंचाई + पैडिंग टॉप + पैडिंग-नीचे + (सीमा -विधि x 2)। हालांकि, जब ऊंचाई संपत्ति को एक मान असाइन नहीं किया जाता है, तो यह ब्राउज़र की तुलना की गई सामग्री की ऊँचाई की तरह लगता है ब्राउज़र। जैसे कि यह फ़ॉन्ट-आकार + फ़ॉन्ट आकार के आनुपातिक पिक्सल की कुछ मनमानी संख्या का परिणाम था। विभिन्न ब्राउज़रों सामग्री ऊंचाई के लिए निम्न मान हैं: क्रोम 38: 34 पीएक्स फ़ायरफ़ॉक्स 33: 35 पीएक्स आईई 11: 34.5 पीएक्स आईई 8: 35 पीएक्स नोट: मुझे प्रत्येक ब्राउज़र के अंतर्निहित डेवलपर टूल से मूल्य मिल गया है क्या ब्राउज़र से ब्राउज़र के स्थिर मूल्य प्राप्त करने का कोई तरीका है ऊंचाई संपत्ति और न ही लाइन-ऊंचाई संपत्ति ? नहीं, आपके द्वारा उल्लिखित विधियों के अलावा यह करने का कोई तरीका नहीं ह...

visual studio - ClickOnce install error: "changed since initially published." -

मुझे स्थापित करने के लिए एक ClickOnce , C #, Visual Studio अनुप्रयोग प्राप्त करने में समस्या है। मुझे निम्न त्रुटि मिलती है (पुनः टाइप किया गया): सेटअप ने पाया है कि फ़ाइल C: \ ... \ Reportviewer.exe बदल गई है क्योंकि यह शुरू में प्रकाशित हुआ था। सेटअप का उपयोग करने के लिए पुनः प्रयास करने के लिए ठीक क्लिक करें या सेटअप से बाहर निकलने के लिए रद्द करें क्लिक करें। मैंने पहले से मौजूद Reportviewer हटा दिया है, लेकिन त्रुटि कायम है। मैं यह वीपीएन के माध्यम से स्थापित कर रहा हूं (यदि यह महत्वपूर्ण है)। इसका वास्तव में क्या अर्थ है, और इसके बारे में मैं क्या कर सकता हूं? अंत में, मैंने प्रकाशित संस्करण के बाहर रिपोर्ट व्यूअर पूर्वापेक्षा (और अन्य सभी आवश्यक शर्तें भी) हम यहां से ReportViewer स्थापित करें:

javascript - How to enhance such piece of code -

I am now working on some type of typing tutor. I have a simple keyboard written in a pure keyboard. Some HTML is here & lt; Div class = "keyboard" & gt; & Lt; Div class = "keyboardRow" & gt; & Lt; Span class = "key" id = "q" & gt; Q & lt; Sub & gt; UM & lt; / Sub & gt; & Lt; / Span & gt; & Lt; Span class = "key" id = "w" & gt; W & lt; Sub & gt; C & lt; / Sub & gt; & Lt; / Span & gt; & Lt; Span class = "key" id = "e" & gt; E & lt; Sub & gt; U & lt; / Sub & gt; & Lt; / Span & gt; & Lt; Span class = "key" id = "r" & gt; R & lt; Sub & gt; C & lt; / Sub & gt; & Lt; / Span & gt; & Lt; / Div & gt; & Lt; / Div & gt; Then I want to change the border of the key pressed. I have created this piece of "trashcode" in javascr...

javascript - removing dot using regular expression removes * too -

इस सवाल का पहले से ही एक उत्तर है: 2 जवाब मुझे कुछ विशेष स्ट्रिंग से अक्षर उसी के लिए का उपयोग कर रहा हूं (/[|))-(।); Gi, ''); यह ठीक काम कर रहा है, हालांकि मुझे एहसास हुआ कि यह भी '*' को हटा देता है। कोई विचार क्यों ?? अगर मैं 'हटा दूंगा।' अभिव्यक्ति से यह ठीक काम कर रहा है, इसलिए मुझे लगता है कि ऐसा कुछ समस्या पैदा हो रही है जो समस्या बीच में दिखने वाला अनियक्षित हायफ़न है इसे इस तरह बनाएं: प्रतिस्थापित करें (ÁЕ), ''); जब एक अपरिवर्तनीय हाइफ़न वर्ण वर्ग के मध्य में दिखाई देता है तो यह एक श्रेणी के रूप में कार्य करता है ) ascii 41 / ascii 47 * एस्की 42 है इसलिए आपका regex नकार देता है * के बाद से - श्रेणी में सभी वर्णों पर कार्य करता है -

node.js - How to process queue in "parallel" to keep process saturated? -

I want to process a queue as follows: Continued in Koi Mongodybi (Possibly with the npm package "mongodb-queue") Several node processes can work on the same queue The task consists of various I / O zeros each Each node process should work on concurrent tasks Node processes are also a simple web site Race) provide services. But there will be very few requests from the site. Most work will be done for processing on the queue The goal can be better understood by each process if each process can only pop one task at a time. Since there is a lot to wait for external services in the works, I think it will be wasted to not process them in "undefined" (I know that is not actually in parallel). I am thinking that there will be five or five boundaries, but after some time it should be touched. Rude pseudo-code: LoopArror {popNextTaskFromQueue (function) (task & concurrentTasks & lt; = boundary) {concurrent task ++; , Work (error) {concurrentTask...

c# - SignalR: "Protocol error: Unknown transport." when navigating to hub -

Image
I am trying to use the ASP.NET signal for the first time - here's what I did: created a new web Has been added to the project and the following signal R packages: I have created the following category: [Hub-name ("chat")] Public class ChatHub: Hub {Public Zero Halo () {Clients.All.hello ( ); }} and the following startup configuration: public partial class startup {public zero configuration (IAppBuilder app) {configure (app); App.MapSignalR (); }} However, whenever I navigate localhost: (port) / api / signalr / chat I get the following error: Protocol error: Unknown transport. I am running a new browser and trying different people so remove it from the API / URL, and just use the localhost: (potter) / signaller / Chat

javascript - How can I determine which array index my number is closest to? -

इस सवाल का पहले से ही एक उत्तर है: 13 उत्तर मेरे पास एक सरणी और var है यह इस तरह दिखता है: var भुगतानमिल्स्टोन = [0, 30, 60, 90]; Var दिनओवरड्यू = 33; जावास्क्रिप्ट में, मैं प्रोग्राम को किस प्रकार निर्धारित कर सकता हूं कि paymentMilestones इंडेक्स में daysOverdue var सबसे निकटतम कौन से है? मुझे उस मान की ज़रूरत है, इसलिए इस मामले में फ़ंक्शन को 30 वापस कर देना चाहिए। एक त्वरित जवाब (यदि एक टाई है तो यह दोनों को वापस लाएगा - मान लें कि सरणी को पूर्व-सॉर्ट किया गया है): var भुगतानमिल्स्टोन = [0, 30, 60, 90]; Var दिनओवरड्यू = 33; फ़ंक्शन findClose (सरणी, elem) {var minDelta = null; Var मिन इंडैक्स = नल; के लिए (var i = 0; i & lt; सरणी.लांबी; i ++) {var delta = Math.abs (array [i] -elem); अगर (मिनेल्टा == शून्य || डेल्टा & lt; minDelta) {minDelta = delta; मिन इंडैक्स = आई; } और अगर (डेल्टा == मिनेडाटा) {रिटर्न [सरणी [मिन्स इंडैक्स], सरणी [i]]; } // अनियंत्रित: रोक अगर डेल्टा फिर से बड़ा बनने लगती है {वापसी [सरणी [i-1]]; }} रिटर्न सरणी [मिन इंडैक्स]; ...

It is preferred to pass pointer to structure to a function in C -

In general, to avoid copying during a function call, like to pass the structure of the pointer to a function in C is done. Its unwanted side effect is that the function function can modify the structure elements inadvertently. What is a good programming practice to avoid such errors without compromising the efficiency of the function call? has an obvious-to-parent answer explicitly void Foo (const struct some_struct * p) This will prevent you from modifying members immediately Strat is unknowingly the same for the const . In fact, your question looks like a copy-paste from the card, which has the expected answer to be const

javascript - code working in home page but not in inner directory-just shows loading -

My code works fine in the home directory, but showing the loading image in the internal directory. Newveer shows the original page Here is my simple code & lt; Html & gt; & Lt; Head & gt; Style type = "text / css" media = "all" & gt; @import "http: // static.something.com/files/common_css/style16.css";lt;/style> & Lt; Script type = "text / javascript" src = "http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js" & gt; & Lt; / Script & gt; & Lt; Script src = "http://static.something.com/js/lightbox/js/jquery.lightbox-0.5.js" type = "text / javascript" & gt; & Lt; / Script & gt; & Lt; Script type = "text / javascript" src = "http://something.com/js/jquery.form33.js" & gt; & Lt; / Script & gt; & Lt; Script type = "text / javascript" & gt; JQuery (document) .ready (function ($) {$ ('a [rel *...

c# - ASP:DropDownList To bind or not to bind? -

Is it better to force a large list of known objects from the C # back-on (100 + which will not change the possibility ) Finally, or just asp: ListItem? and asp: dropdown list id = "ddlDocType" runat = "server" & gt; You can create a list from front-end using & Lt; Asp: ListItem text = "- select -" value = "" & gt; & Lt; / Asp: ListItem & gt; & Lt; Asp: ListItem text = "correction" value = "correction" & gt; & Lt; / Asp: ListItem & gt; & Lt; Asp: ListItem text = "Correction summary" value = "Correction concept" & gt; & Lt; / Asp: ListItem & gt; & Lt; Asp: ListItem text = "Bid and Bid feedback" value = "Bid and Bid feedback" & gt; & Lt; / Asp: ListItem & gt; & Lt; Asp: ListItem text = "Bond" value = "Bond" & gt; & Lt; / Asp: ListItem & gt; . . . & Lt; / ASP: DropDownList &...

tags - Is there a way to assert that all signals in a design are initialized on rising clock during reset? -

Examiner flow (no change in design) is simply a quick way of claiming that all designs are initialized during signals. reset? Design uses synchronous active resetting. On the rising edge of the reset, I want to claim that every signal in the design 'U' signals or architecture Using VHDL 2008, Modelsm 10.1 C with HDL Designer. After the release of the synchronous reset, you can use the modelsim to see 'u' Since the code> can use the command. As it exists, it works with scalers and arrays, but the record members can not be scrutinized. Note that the rising edge of the reset is not reset, since you are using synchronous reset. I will wait for the first fall of the clock when the reset is high for testing for 'U', it will ensure that after updating your driver after the reset, you see the new state on the signal. When the expression is something like this: "clk'event and clk = '0' and reset = '1' and $ sig = [string r...

unix - I am having trouble understanding what ${@} means in KSH -

No Long Questions, What Does It Mean? log message "file: $ {@}" log-mail () is a method that logs a message with a timestamp. But what does heck do $ {@} mean? I should also mention that there are $ 1 and $ 2 in the script too Google does not produce any results Verbatim: f () {printf '% s' N' "file: $ @"; } "First argument" "second argument" will expand in "third argument" and run the command: printf '% s \ n' "file : The first argument "second argument" "third argument" This means that your logic list ( $ 1 , $ 2 , $ 3 , etc.) arguments (not throwing any information provided by the user through the quote) It is different from: printf '% s \ n' file: $ @ or printf '% s \ N' file: $ * both of which are the same: printf '% s \ N "" file: "" first "" logic "" second "" a...

relationship - rest - relation context -

कहो मेरे पास दो संग्रह संसाधन हैं: / व्यक्ति / संगठन ए प्राप्त से / व्यक्ति / आईडी / एक विशिष्ट व्यक्ति को देता है इसी तरह, एक GET से / संगठन / आईडी एक विशिष्ट संगठन देता है। एक व्यक्ति एक या अधिक संगठनों का सदस्य हो सकता है इस सम्बन्ध के संदर्भ में, हमारे पास संगठन में व्यक्ति की भूमिका, जैसे व्यक्ति उस संगठन में शामिल होने की भूमिका, जैसे डेटा है ... कौन से डिजाइन सबसे अधिक समझदारी बनाते हैं? एक सदस्यता संसाधन / सदस्यता / आईडी , जिसके लिए एक प्राप्त रिलेशन्स संदर्भ का डेटा देता है (एक साथ एक लिंक के साथ व्यक्ति और संगठन)। एक / व्यक्ति / आईडी / संगठन / आईडी और एक / संगठन / आईडी / व्यक्ति / आईडी । दो में से किसी एक को प्राप्त करें रिलेशन्स प्रसंग देता है, और एक दूसरे को रीडायरेक्ट (एचटीएड स्टेटस कोड 303) के लिए एक प्राप्त करें । कुछ और? एक और विकल्प रिश्तों को सीधे संसाधनों में स्वयं एम्बेड करने के लिए है यह ग्राहक के लिए संसाधनों के बीच संबंधों का पालन करना आसान बनाता है क्योंकि वे सेवा का उपयोग करते हैं। उदाहरण के लिए, दो संगठन संसा...

background - the app keep the loading dialog when goes to stop() codename one -

There is a problem when IM is down. File "Stop" the function in my application (save the current form, When I try to download one and I put the app into background work, then app "forever", trying to get back to the app ... I do not know how to finish the current download in the background Go and show the next form when going back to the app. "myapplication" file's code: running a personal form; Public Zero Start () {If (current! = Null) {current.show (); Return; } New statistic ("/ theme"); } Public Zero Stop () {current = Display.getInstance () GetCurrent (); } Just do something like this: (Current examples of communication) {current = null; }

c++ - Issue unused parameter warnings in XCode -

Image
I am using XcodeDA 6.0.1 (6A317) with Mac OS X Mavericks. In my C ++ project, I recently discovered a bug that could be detected by the fact that I forgot to use any parameter of the function. For example, the following functions should result in two warnings (for two unused criteria): int main (integer argc, const char * argv []) {return 0; Open the build settings of your project In the search field at the top, click the "Unused" enter the. You will see several matching settings under warnings. One of them is the unused parameter, turn it on.

java - Order objects based on ordering of member variables without comparator -

I have something personal personal age person; The name of the private string; and I want to sort them automatically using something like Arrays.sort () , because young age comes before high age. A The common way to do this is with a comparator, but I have a cleaner way of doing this, along with very useful utility functions? Apply your class.

angularjs - Angular multi-select and jQuery plugin -

I want to use angular to multi-select with this dropdown: Http://tympanus.net/Development/ResponsiveMultiLevelMenu/index5.html Structure works with jQuery, but when I want to add AngularJS I have problems only the first level Which works. Maybe this is a scope problem, but I do not master it very well. Here is a demo that works with jQuery (expand to display the visible window properly) http://jsfiddle.net/x6h54vey This is my directive: app.directive ('selectfilter', function () {return {restricted: 'e', ​​template url: " Selection-filter.html ", Controller: function () {this.filters = filters_tab;}, Controller AS:" selectfilter ", link: function (scope, AMM, ethers) {// call PLUGIN DLMENU $ (elem). Dlmenu ({Animation class: {classin: 'dl-animate-in-4', classout: 'dl-animate-out-4'}})}}};}); My Directive Template: & lt; Button class = "dl-trigger" & gt; Filter & lt; / Button & gt; ...

sql - Joining two tables on column that contains duplicates while maintaining original row count from 1st table -

मेरे पास दो टेबल हैं: टेबल 1 तालिका 2 आईडी कोड ग्रुप आईडी PICKNO अनुरोध रद्द किया गया INVOICENO ---------------- ----------------------- -------------------------- 1 123 ए 1 1 10-2-2013 10-4-2013 248 2 144 ए 1 2 10-2 -2013 10-4-2013 28 9 3 154 ए 1 3 10-2-2013 10-4-2013 28 9 1 211 बी 1 4 10-2-2013 10-4-2013 28 9 3 14 9 सी 2 5 10-14-2013 10-15-2013 255 1 200 ए 2 6 10-14-2013 10-15-2013 313 1 133 ए 3 7 10-20-2013 10-21-2013 313 I बाईं ओर तालिका में REQUESTDATE और CANCELDATE कॉलम जोड़ना चाहते हैं प्रत्येक आईडी में केवल एक , अनन्य अनुरोध और केवल एक , अनन्य संलिप्तता ( हर जगह आईडी = 1 , REQUESTDATE है 10-2-2013 और Canceled है 10- आईडी पर बस से जुड़ने से मुझे डुप्लिकेट आईडी की वजह से शुरू हुई तुलना में बहुत अधिक पंक्तियां मिलती हैं I मान। मुझे उचित canceling s और REQUESTDATE s के साथ तालिका 1 से केवल मूल पंक्तियां चाहिए यहां वांछित परिणाम का एक स्नैपशॉट है: तालिका 1 आईडी कोड ग्रुप की जरूरी अनुरोध 1 123 ए 10-2-2013 10-4-2013 2 144 ए 10-14-2013 10-15-201...

PayPal Classic API - Chained Delayed and PreApproved payments? -

Using PayPal Classic APIs for Adaptive Payments. Is it possible to pay a inclined pay with a retrospective payment? I am getting some errors which I think might not be possible ... Message: Account account not found. One-sided receiver is not allowed to pay in custody I'm getting Preep Projection right. But when I try to make a chain payment to use it, it fails.

ios - OSX cross compiling library for ARMv7 -

I am trying to compile a library for an iOS application and I get the following error message: create cache ./config.cache Check for GCC ... / Application / Xcode.app/Contents/Developer/usr/bin/gcc-arch armv7 C compiler check (/ application / Xcode.app / Contents / developer / usr / bin / gcc -arch armv7) works ... no configured: error: installation or configuration issue: C compiler can not be executable Consider why armv7 compiler executables can not be made but it works for the i386 and x86_64? How can I fix this error? What library? I'm guessing OpenSSL looks at it (use BSD-Generic 32 ), and if so, use it to create it. Important bits to help you choose the right build If you are curious, build-libssl.sh scripts. Update: Specifying sometimes, specifying -arch is not enough to pass the entire -target Especially when compiling libraries, or libraries, which are usually deployed in Unix-type systems. Try clang-target arm64- apple-iOS ... and clang -...

indexing - find biggest index of something in c -

I want to type a function that finds the largest index of characters in the string. But when the index has already been received once, it can not return it back. for example : word: "hello" character: l indexet = {}; Expected Return value = 3 When I do this function again: word: "hello" Characters: l indexet = {3} ; Expected return value = 2 Similarly I assign all the spaces for my indexet: * indexset = (int *) maul (stren -> mutual) * size (int)); In my code, this is enough space for each index of each character. My task is to find the largest index: int findBiggestIndex (four charts , Four * woord, int * indexset, int * size) {int i = 0, index; (I = 0; i & lt; strlen (woord); i ++) {if (carter == woord [i] & amp;; inArray (index, i, * size)) {index = i; Printf ("% d", * size); Indexset [* size] = index; (* Size) ++; }} Return Index; } and method inArray (): #define TRUE 1 # incorrect FALSE 0 int inArray (int ...

php - Edges appear in image after resizing -

I have implemented the following function: generate a private static function image ($ SizeKey, $ Src, $ initial with $ $ starting, $ imageType) {$ Destination = AdImage :: addSizeKey ($ sizeKey, $ src); If (file_exists ($ destination)) {return; } $ FinalSize = AdImage :: $ size [$ sizeKey]; $ Initial Season = $ Initial Fourth / $ Beginning Hight; $ Last night = $ last size ["w"] / $ last size ["h"]; $ NewImage = imagecreatetruecolor ($ last shape ["w"], $ last size ["h"]); Imagealphobalending (new image, wrong); Image swords ($ new image, true); $ Old image = image frame framestring (file_gate_content ($ src)); If ($ Initial Arteo & gt; = $ last night) {$ scale = $ finalSize ["h"] / $ initialHyight; $ Surpluss = abs (initial with - $ initialhete * $ lastnight)); Imagecopyresized ($ new image, $ old image, 0, 0, $ extra / 2, 0, $ lastize ["w"], $ last size ["h"], initial quartet - $ overwriting, initiallig...

javascript - Dealing with erroneous Google content keywords -

I pay close attention to my website SEO because in the beginning of the year I was assassinated after the release of Panda What I have seen is that some lists of keywords in Google Webmaster Tools are completely fake. For example, these are some high-grade words because I'm worried that it should not be at all. "Browser" - pulled from my message message "Email" - Removed from label in comment section "JavaScript" - My notecript was dragged from "Address" - drawn from the comments section Is there any way i can ignore parts of HTML to Google , Or can I ignore some words from its keyword algorithms? Keywords are only a frequency number, I do not care too much about them. Question: My Webmaster Tools statistics show common phrases such as "Buy now" that are not directly related to my site? A: While some common words and phrases are filtered by webmaster tools, there may be some people who you do not use. These ...

ios8 - Touch ID prompt showing up as portrait in landscape only app -

With the new iPad rolling, I'm adding the Touch ID to my next app update. I have a scenario that always hides the status bar running on the iPhone 5S running on iOS 8. I have a Touch ID code working fine, but the warning appears only as if the app was in the picture Touch ID throws the status bar of the portrait in the background behind the warning. Is it possible to display the warning in the scenario? Can not that status bar be displayed? I do not feel particularly noticeable on the supported interface , but Touch ID warnings or view controller is currently being displayed. This is an iOS 8 bug I have checked on some apps, including iTunes Connect app from Apple This problem is fixed in iOS 9 Updates: It still shows iOS 9 There is an issue in Update 2: This is still an issue in iOS 10. As @Nicholas-Mira said, it seems that the apple only expects you to use it in portrait only

Java Makefile: how to dynamically compile files inside packages -

I have a lot of files I need to compile that are inside 2 directories, Would like to find the self? All the tutorials I found on the Internet tell me how to do this in other directories not in the current directory. I currently have the code present: JFLAGS = -g JC = javac # clear default goal. Ufix: Java. Class # compilation files .java.class: $ (jc) $ (JFLAGS) $ *. Java # Directories to see java files package: = \ core \ card \ # Start classes with main classes Classes: = main.java # I have no clue how this works, but no one can do this to me Asked for. .PHONY: Default clean $ (package) # All Java files should be added to $$ (package): $ (eval Classes: $$ (classes) $@/*.java) # Call Source Builder and Compiler Default: $ ( Package) Classes # compiler for each file category: $ (classes: java = .class) clean: $ (foreign exchange dir, $ (package), $ ($ (rm $ / dir) *). ) As you can see, I tried to reach the directories through walking and rules The following does not work an...

c# - publish events from delegatecommand prism -

मेरे पास एक इवेंट सदस्यता है this.eventAggregator.GetEvent & lt; BusyEvent & gt; () सदस्यता लें (this.HandleBusyEvent, ThreadOption.UIhhread, false); हालांकि जब मैं एक प्रतिनिधि आदेश से घटना को प्रकाशित करने की कोशिश करता हूं तो घटना को निकाल नहीं दिया जाता है। क्या इस क्रिया को रोकने के लिए कोई ज्ञात सीमा है? this.eventAggregator.GetEvent & lt; BusyEvent & gt; ()। प्रकाशित करें (गलत); एक प्रतिनिधि आदेश से एक घटना को फायर करने पर कोई सीमा नहीं है मैं नियमित रूप से ऐसा करता हूं, उपयोगकर्ता यूआई से एक कमांड को आमंत्रित करता है और दृश्य मॉडल में संबंधित कमांड एक्शन इस प्रिज़्म इवेंटएगेजेटर का उपयोग करके एक ईवेंट प्रकाशित करता है।

winforms - Textbox wont update -

So I'm creating a basic yahtzee program IC #, and try to create a real GUI and not only use the console. . Although I have a problem with the text box. When I roll the dice, I want to display the rolled number of the text box. Now it does not show anything I use two squares, one for a real program and one to handle a guy. This is the yahtzee class: using the system; Using System.Collections.Generic; Using System.Linq; System usage threading. Task; Using System.Windows.Forms; Nameshot Hantzhi {class YahtzeeScorer {random rndm = new random (); Form 1 Guai = New Form 1 (); String die 1, dis2, dis3, dis 4, dis5; Public zero rolledis () {string a = console.readline (); This.dice1 = rndm.ext (1, 7) .ostring (); This.gui.tbDice_SetText (this.dice1); } Fixed zero main (string [] args) {Application.EnableVisualStyles (); Application.SetCompatibleTextRenderingDefault (wrong); YahtzeeScorer ys = New YahtzeeScorer (); Application.Run (ys.gui); Ys.rollDice (); Console.light line ("T...

javascript - Is a hash table faster than document.getElementById? -

If I have a node like this: is buried under many levels of HTML and I also have a JavaScript hash table like this: [/ * Many nodes * / 123: 'Test'} / * There are so many nodes / / then it will be faster to use document.getElementById ( 'Spn123') .innerText; or data (123) I think the browser has taken care of the browser and These are very favorable, but could it be due to lack of flat structure and extra dom bloat later? Thank you! It may be useful to know why you have both objects and DOM representation That hash is the only source of truth and the DOM underscores the hash accordingly. I hope the hash look faster, because the DOM may be slow, although it is mostly writing dom, not reading the dom I have created and the results differ significantly from the browser. In these scenarios, I want to do a function to summarize the implementation so that it can be changed without getting every reference to lookup in the code. : functi...

php - Get Podcast details from iTunes url -

Is it possible to return a title, description, and image link to podcast on iTunes if you have an url? For example, with the following URL from iTunes: Do we get podcast details via an API call or something with those lines Can you? Ideally we want to use php to return details. You can use the iTunes Search API to get podcast information in which the track title and image will be . Using your URL as an example, you can touch the ID "90206964" and use the curl. function getID ($ url) {$ id_pos = strpos ($ url, "/ id") + 3; $ Length = strapo ($ url, "?", $ Id_pos) - $ id_pos; Return subtraction ($ url, $ id_pos, $ length); } FetchFromiTunes function ($ id) {$ ch = curl_init ("https://itunes.apple.com/lookup?id=". $ Id); $ Option = array (CURLOPT_RETURNTRANSFER = & gt; true, CURLOPT_HTTPHEADER => array ('content-type: app / jsn'),); Curl_setopt_array ($ ch, $ option); $ Result = curl_xac ($ CH); $ Result = json_dec...

c# - Getting Error "Could not load file or assembly" for a DLL that I have removed from my solution -

I have no reference anywhere for this assembly that I can get. Any idea why I'm getting this error makes the project ok, but when I run in debug or release mode, I get a runtime exception. I'm running Visual Studio 2013. Description: An uncontrolled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where the code originated from it. Exception Description: System.BadImageFormatException: One of the files or assemblies 'MyAssembly' or its dependencies could not be loaded. A runtime has been newly created and can not be loaded from this assembly runtime runtime. Source error: An unrestricted exception was encountered during the execution of the current web request. The information about the origin and location of the exception can be identified using the exception stack trace below. Assembly Load Trace: The assembly 'MyAssembly' can not be loaded because the following in...

Haskell - How do filter and head work in combination with where? -

Here's the code. Largest Divisible :: (Integral A) => One of the largest divisible = head (filter p [10000099999 ..]) where p x = x` mod` 3829 == 0 I am a bit confused in this case what is P? Apart from this, I do not have an expression in this particular example, because we have got two exchanges on the left and P and X, and we have an alignment, which is actually a boolean. I appreciate if someone can interpret the above code. p is a function, which is a logic x accepts and returns true , if x divides into x 3829. You can use where to define local code as if you were local By defining "value", you use the same fx = y syntax to define top-level functions.

css - Loops make Less to run out of memory. (Structure optimization) -

I am working on a lesser project, but as I am starting to grow up a little bit, every time I Trying to compile me goes out of memory This is my current structure: style.less colors.less style Style 3 Style 1 Style 1 Style 3 Now, is a list of colors.less colors and their classes icon. Style is a main folder, where everyone is included and compiled Styles are folders with all the differences for a separate folder My question is (well, actually, more than one question is a suggestion): How can I optimize this structure so that I do not Now is the memory trying to compile? The process is for Llowing: colors.less and icons.less color, symbol and Classes include my arrays, nothing else. I have colors.less and icons.less included in style1.less , style2.less , style3 Without , where I make a loop trough color. Finally, I'll import everything in style. Without the (main one) where I am making a loop trough. Then add all MIXIN...

android - Getting Data from REST Api -

I have a node.js application with an angular webfind and an android app that connects to the backend through the rest Now I'm not sure how to return items to customers from the node: Route 1: res.send (req. User); If I do this, I can load the user object from angular: $ http.post ('/ api / login' , User). Civet (function) {$ rootScope.currentUser = data; and in my Android app (just called, I use Spring & GSN) : user = springRestTemplate.getRestTemplate (). PostForObject (Routes.getLogin (), User, User.class); This works fine , But what do I really want to return to node? Way 2: will be res.send ({user: req.user}); Coyon remains too much: $ rootScope.currentUser = data.user; But for me Android, No other method was found compared to typing conversions: Progressively field & lt; map & gt; maps = vestor template. Gaterest template (). Postfontent (routes.login (), DUSER, map . category); Linkedream & lt; String, user ...

python - Force YouTube API upload_video.py authentication to open in external browser? -

After this example: I'm running on cygwin / windows and called by me After preparing all things python upload_video.py --file = "/ tmp / test_video_file.flv" --title = "summer holidays in california" - description = "surfing in Santa Cruz There was a great time "- Keywords =" Surfing, Santa Cruz "- Category =" 22 "- PrivacyStatus =" Private " and Signin opens an Fancy Browser which is accessible to the Google login page S Minister can not display properly (JavaScript problems)), so I have no way to enter. Can anyone login / authenticate via an external browser? (Google Chrome for example) Solution found: *** Just calling Add --noauth_local_webserver to

postgresql - Running a postgres query between two databases with conditions -

I have two postgrass databases on the same server. I need to remove the records from a database and put them in another. This is my working query. in "tblInvInfo" "iiInvNum", "iiItemCode" Insert, "iiUnitMeasure", "iiUnitQuantity", "iiPrice" "IiUnits" from dblink ( 'dbname = dbESM', ' SELECT * fROM "as tblInvInfo" ') invinfo ( "iiInvNum" varchar, "iiItemCode" varchar, "iiItemName" varchar, "iiUnitMeasure" varchar, "iiUnitQuantity" numerical, "iiPrice" numeric, "iiUnits" digits) in fact, this pulls tblInvInfo dbESM to record and puts them in the same table dbESMTemp Now, the requirement ... tblInvMaster is the main description of an invoice (and includes the date), while There is a description of the tblInvInfo item. I just need to get the record tblInvInfo the specific circumstances in that tb...

sql - Movie and Year exist in one query but not both -

I have two questions, first gives a film and a year, in which there are such movies, more than two actors and the other The query displays movies that have won more than two awards So I want to write a question that I will get in a movie and the year in which one query is but not both. How can I do this? Syntax is in Oracle We can do it MINUS The first set rows that are present in Table 1 alone There are the second set rows that are only available on table 2 Select Table 1 again from the table * 2 Select Union from * Select Table 2 min from * to Table 1

c# - Same exe file, multi process and different input arguments -

I have an exe file, say XYZ.exe which is a csv file, and manipulate some other, such as in the csv file, query the DB on the basis of things. Now, there are 4 csv files, file_1.csv to file_4.csv, same format but different content. What do I want to do with the initial 4 process, all running XYZ.exe, and each one with CSV files. They all walk in the background. I have tried to use the process. Start (@ "XYZ.exe", Input Logic). However, it seems that the second process will not begin until the first process is over. I wonder how I should change the code to complete the task. Use this surcharge: Process. Start method (ProstastInfo) @JimMischel You must be rewarded for points!