Posts

Showing posts from June, 2014

makefile - g4py building errors with TLS reference -

I'm trying to compile g4py I have already used ".configure" and now I am trying to run "make", but some errors are shown during the compilation, all of which look like this before: Building a module G4event.so ... / usr / bin / ld: anEventAllocator: /home/marcin/geant4/geant4.10.0-install/lib64/libG4persistency.so in TLS reference pyG4Event.o / home / Non-TLS reference mismatch is Marcin / GIT4 / GIT 4.10.0 -instal / Lib 64 / BBG4 Persistency. SE: Error adding signal: Poor Value Assemble 2: Error: Returned to exit position of LD1 The same erros and then I can not import g4py due to error: Traceback (most recent call final): File "& lt; stdin>", line 1, & lt; Module & gt; The file "/home/marcin/geant4/geant4.10.0-install/g4py/lib/Geant4/__init__.py", line 17, & lt; Module & gt; Import from G4intercoms import * Import: /home/marcin/geant4/geant4.10.0-install/g4py/lib/Geant4/G4intercoms.so: Undefined Icons: G4

html - Browser not rendering anchor tag inspite of being part of Page source -

This is another deceptive issue in HTML, I have an anchor tag, which I used to dynamically from server side using Java I create. When I look at the source, the tag is viewable, but it is not visible in the browser. Even when I inspect the element, I do not see it. My question is that despite being part of a page source, the tag is not being translated, the following is the tag: It is possible that you & lt; A & gt; Depending on the information provided by you, such as timeout or JavaScript, I can not help you.

c# - read .resx file and display the contents in datagridview -

I have created an application where I need to load the .resx file and display the contents of the .resx file in the DataArgewview is . I am loading .resx through the mainstrip. I have tried to use the following code, but no data has been shown. Private Zero openToolStripMenuItem_Click (Object Sender, EventArgs E) {OpenDialog.Reset (); OpenDialog.InitialDirectory = Directory.GetCurrentDirectory (); OpenDialog.RestoreDirectory = false; OpenDialog.Filter = "Resource Files (* .resx) | * .resx"; If (OpenDialog.ShowDialog () == DialogResult.OK) {StreamReader MyStream = New StreamReader (OpenDialog.FileName); BBookGrid.DataSource = null; M_BBookTable.Clear (); // Clear the existing table BBookGrid.DataSource = m_BBookTable; Try {while (true) {String MyLine = MyStream.ReadLine (); If (myline == empty) {break; } Else if (MyLine.Length! = 0) {string [] field = MyLine.Split (separator. ToCharArray ()); If (fields.GetLength (0) == NumColumns) {m_B Bookable.Rows.Add (m_BBookTable.N

Is it possible to get the values for de y-axis in gnuplot? -

Image
I need y-values ​​computed by GNUPLot, how do I get those values? In this example, the values ​​of 100 and -700. I saw between all default variables gnuplot , But it was not found. OK, try to give me clarification but my english is very bad, sorry for that first example; Here you can see the problems I have in black Once done, the offset is set to white in the column, but it depends on the values ​​of Y-Min and Y-Max. I think, when I have these values ​​I can calculate the offset, now I have only one hard price; "tail- 60 log.txt" U1: (- ($ 12)): ($ 12> 300? (- $ 12): sprintf ("$ 12 "): font", 10 "TC RGB" white "offset 0,0.2 notitated offset," "(" $ 12 and lieutenant) "on the left side of the label" "(" "), \" & lt; tail-60 log.txt "; = 300 & amp; $ 12 & gt; 0)? ("$ 12"): The font ", 10" TC RGB "black" rotated offset 0, -1.7 notit, \

jsf - hideNoSelectionOption in selectOneMenu is not working as expected -

I have the following selection menu and inside of my component I have to keep an item which should not be displayed, for example In those cases where the value from # {mybean.value} matches the value from # {mybean.ListValues} ), I do not want an empty option in my combo box . & lt; P: selectOneMenu value = "# {mybean.value}" do not hide select option = "true" required = "true" required message = "required data" & gt; & Lt; F: Selection item item label = "" item value = "# {null}" no selection option = "true" /> & lt; F: selectItems value = "# {mybean.ListValues}" var = "option" itemLabel = "# {option.optionName}" itemValue = "# {option.optionId}" /> & Lt; / P: selectOneMenu & gt; I searched, but I did not find anything useful, just a link where exactly this problem has been described. Myprimus version 3.5 Where do you get it

angularjs - Syntax danger: Token '}' is unexpected, expecting [:] at column 35 of the expression [yourSelectRadio={item.Polarisation}] -

त्रुटि: त्रुटि: [$ parse: syntax] सिंटेक्स खतरे: टोकन '}' अप्रत्याशित है, उम्मीद है [: ] अभिव्यक्ति के स्तंभ 35 पर [अपने सेलेक्ट रेडियो = {item.Polarisation}] [}] से शुरू हो रहा है। http://errors.angularjs.org/1.2.21/$parse/syntax?p0=%7D&p1=is%20unexpected%2C%20expecting%20%5B%3A%5D&p2=35&p3=yourSelectRadio% 3D% 7Bitem.Polarisation% 7D & amp; p4 =% 7D मेरा कोड: & lt; div class = "btn-group" ng-init = "yourSelectRadio = {} item.Polarisation" & gt; & Lt; label class = "btn btn-success ng-pristine ng-valid" ng- मॉडल = "yourSelectRadio" बीटीएन-रेडियो = "'वर्टिकल'" & gt; वर्टिकल & lt; / label & gt; & Lt; label class = "btn btn-success ng-pristine ng-valid" ng- मॉडल = "yourSelectRadio" बीटीएन-रेडियो = "'क्षैतिज'" & gt; क्षैतिज & lt; / label & gt; & Lt; / div & gt; यह त्रुटि क्यों होती है? {} एक है वस्तु आपको

javascript - Copy user selection from one canvas to another -

I am trying to implement a simple, select area on the canvas and then copying it to the area canvasab, Part I work has got the work done, but drawing of the copy area does not work. The idea is that the user will select an area and then that selection will appear on the second canvas, when they will end the selection, i.e. drag the mousewood, rectangular area, mouseup (appears to be copied) I I agree a front end developer is not so much scared I am missing something about this thing how it works because I am trying to prove only one thing so that one Awadh I can prove Dana and understand the basics right now. JSFiddle is here - HTML & lt; Canvas ID = "Basic" width = 300 height = 300 & gt; & Lt; / Canvas & gt; & Lt; Canvas ID = "CopyBit" width = 300 height = 300 & gt; & Lt; / Canvas & gt; javascript var original = document.getElementById ("original"); var CTXoriginal = original.getContext ("2D"); va

how to animate a css grandient change with jquery -

I want to animate a CSS gradient with jquery and I can not find any solution. Does anyone have an idea ? Code> $ (this). From CSS ({Background: 'WebCat-Gradient (Linear, Left Top, Right Top, From RGBA (' + a + ',' + b + ',' + c + ',' + alpha + ')), ( RGBA ('+ A2 +', '+ B2 +', '+2 -2', '+ alpha +')))}}; But what I want to do, something like this will happen: $ (this) .stop () Chetan ({background: '-webkit -goodient (rgiar, left top, right top, (RGBA (' + A2 + '(RGBA (' + A + ',' + B + ',' + C + ', '+ Alpha +'), '+ B2 +', '+ 2 +', '+ alpha +'))) '}, {duration: 1500, easy:' easy outbauce '}); The best I had found was that this shield does not change, but only the background color with the first RGB. Actually, CSS () is very aggressive, I want it to be smooth, I tried to animate only with the background color a

css - jQuery add plus minus button for range for change div width -

Hello, I want to create plus the loan button to change my HTML: & Lt; Label = "points" & gt; Width: & lt; / Label & gt; & Lt; Input type = "category" name = "zodiac range" id = "numeral" value = "100" min = "10" max = "100" phase = "1" oninput = "this.form.amountInput.value = this. Value "/> & Lt; Input type = "text" name = "amountInput" id = "textnumber" min = "10" max = "100" step = "1" value = "100" oninput = "this.form.amountRange.value = this .value "/> Gt; & Lt; Span & gt;% & lt; / Span & gt; & Lt; Input type = "button" id = "plus" value = "+" /> & Lt; Input type = "button" id = "minus" value = "-" /> I've tried var counter = document.getElementById ("digits"). value;

html - Javascript function for email sending is not working (fixed command opens outlook while function doesn't) -

I am creating a website and I have to send a form text as an email. I'm running the script before the body, because the function is not working, blocking the whole script is the function I use: function email () {var Command = 'mailto: blahblah@gmail.com? Subject = '; Command = + document.getElementById ('subject'). Values; Command = + "and body ="; Command = + document.getElementById ('context'). Values; window.location.href = command; } So basically the user enters the message of the subject and the email in two areas and I want to send it as an email but it does not open the approach as it does I use a certain command. My HTML code used is: & lt; Button onclick = "email ();" & Gt; & Lt; / Button & gt; I corrected all the things mentioned in the comments and now I get an error: The file can not be found on / c: / ... / NaN Check file name for capitalization or other typing errors Check to see if the f

When do you need a Google Maps API Key? -

The following was able to create a very simple map for myself to start. I have not signed up for the API key. I have read the tutorials like it says that this should be the first step. Let me have a line: & lt; Script type = "text / javascript" src = "https://maps.googleapis.com/maps/api/js?key=YOUR_API_KEY_GOES_HERE&sensor=true" & gt; & Lt; / Script & gt; But at least this works fine in this early example of Google: & lt; Script src = "https: // maps Googleapis.com/maps/api/js?v=3.exp"></script> I have read: But they are actually more generalized to me Do not answer the question. When does this require a signup for the API key? Instead of signing up and just .. js? What limit do I have to face using V = 3.exp ? Is there anything else I should use ... in one of those two questions in the ... maps / api / js? Sensor = false for example? You do not need an API key but it allows you to monitor your

javascript - bootstrap modal prevent rightclick -

I try to stop default on mouse-rightclick and do not try to open a bootstrap model. If I use "Warning" and do nothing, rightclick is paused, but when I open a bootstrap model it is not. I tried to google it, but I can not find my answer. $ ("timer"). ("Contextmenu", function (evt) {evt.preventDefault);}); $ (". Timer"). Musudaun (function (e) {// $ ( ". Timer"). Bind ( "Prasngmenu ', function () {return false}); e.preventDefault (); if (e. Button == 2) {e. preventDefault (); $ ('# changeTime'). Modal ('show'); // rightclick is not restricted. // alert ('hello'); // it works ... return return; } True true;}); Can anyone help me? Thank you. is php: echo & lt; td class = "description" name = "id '. $ Todos-> id.' & Gt; & lt; span class = "descriptionText '. $ Todos- & gt; Id.' '& Gt;' . $ Todos- & gt; Description '&am

jquery - Retrieving multiple in a table -

HTML: & lt; तालिका & gt; & LT; tbody & gt; & LT; टीआर & gt; & LT; टीडी & gt; जानकारी! & Lt; / टीडी & gt; & LT; टीडी & gt; नल & lt; / td & gt; & Lt; / टीआर & gt; & LT; टीआर & gt; & LT; टीडी & gt; जानकारी 2 & lt; / td & gt; & Lt; / टीआर & gt; & Lt; / tbody & gt; & Lt; / तालिका & gt; जेएस: var ele = $ ("tr"); मैंने कोशिश की है: elem.find ("td")। Get (0); और elem [1] .find ("td")। Get (0); यह विभिन्न तालिका पंक्तियों को चुनने के लिए ठीक काम करता है, लेकिन मैं & lt; td & gt; का चयन नहीं कर सकता। लेकिन यह केवल मुझे पहली पंक्ति के & lt; td & gt; टैग प्राप्त हो जाता है। मैं 2 जीआर के टीडी टैग कैसे प्राप्त करूंगा? elem में सभी & lt; tr & gt; तत्व शामिल हैं, तो: कोड> elem.eq (1) .find ( 'टीडी'); 1 , क्योंकि जावास्क्रिप्ट शून्य-अनुक्रमित है (ऐसा पहला है 0 , दूसरा 1 , आदि

flash - Playing FLV video in a SWFobject -

I am migrating a personal portfolio website that shows flash video. Everything is working fine video is not playing in the right way. Embeds a stofobobied player to run the site.4.4 flash video. Spoofebabes load but the video is not played. > Here is an example of an entire code: & Lt; Script type = "text / javascript" src = "swfobject.js" & gt; & Lt; / Script & gt; & Lt; Script type = "text / javascript" & gt; Function Outstatest (Response) {console.log ("response.success =" + response.success + "\ nresponse.id =" + response.id + "\ nresponse.ref =" + response.ref)} var flashvars = { Holder: "http://127.0.0.1:8000/media/uploads/stills/XMAS-H264.jpg", BG: '', File: "Xmas_instrumental_2.f4v", Autoplay: 'wrong'} var playerId = "myContent "; Var params = {wmode: 'transparent'} swfobject.embedSWF ('player_12.swf', player id, 

A difficult homework with Python and I'm new -

The statement says: While writing the use of instructions, a function, mentre (function name ), To calculate the following values: The sum of the first n numbers is integers: 1 + 2 + 3 + ... + n The sum of the first n odd numbers: 1 + 3 + 5 + .. + (2nâ ???? 1) The sum of all the numbers that the user enters until it is 999 (the amount is not included in 999). Before reaching a number 2 (with integer division) 1 can be. I try with that time, but always responds to the error :(. Thank you very much for taking the time to respond and solve your problem. x = input ("number:") x = int (x) y = 0 z = 0 while y & lt; x + 1: z = z + yy + = 1 print (z) This is your first one. You can create from here. L

How to load localization strings from JSON in iOS -

I have a service that will return the JSON key / value pair of local strings to JSON. This data can change, so I wanted to set the call for this service to get the latest localization string. Because, I am not bundling the localization string with the app. Do me looking for the best solution for performance Thanks / div> Give it a try, this is useful And may reduce many of your code:

java - RichtextString notworking in hssfworkbook cell -

I want to partially color my Excel sheet cell text so that rich text string can be used for this But it is not working ... there is no error. I am unable to figure out what is wrong. This is my code. This answer contains the string .. I want to paint the last (,), and the remaining color in red in the red color if (Answer contains ( ",")) {String s = ","; Int second = answer.lastIndexOf (s); HSSFCell cell7 = thisRow.createCell (short) i); Cell7.setCellStyle (style2); HSSFRichTextString richTextString = New HSSFRichTextString (Answer); RichTextString.applyFont (0, second, style 5.getFontIndex ()); Cell7.setCellValue ("+ RichTextString); When I try to use cell7.setCellValue (richTextString); It says: The method is not applicable for the value of the set value (string) HSSFCell (HSSFRichTextString) You accidentally get a rich text string with a string < / Code> with the empty string "" . This effectively removes all formatting.

Accessing variables outside foreach inside it in powershell -

I have a simple code sample in which I wanted a loop through the directory contents: Code> $ path = "c: \ user \ bissau \ desktop \ novel" $ content = dir-path $ path | Where are the items under {$ _ mode-match "^ D. *"} Foreach ($ item in $ content) {"Folder $ path \ $ item:" Dior-path "$ path \ $ item" | Name, mode}} The problem is that the script is not able to read the variable $ path inside the fire-loop loop. Can someone give me some ideas? Is this normal behavior? Your foreach command should be shown below, note that printing the line You do not have echo and you ; foreach ($ item $ in content) {"folder $ path \ $ items are itemized under:"; The "path" $ path \ $ item | Select the name, mode You can try that it's called Dior by using ForEach-Object commandlet -path $ path. Where {$ _ mode mode "^ D. *"} | There are items under the {Write-host "folder $ path \ $ _ for ever

ios - Float array to float * -

float [] और float * के बीच क्या अंतर है? इसके अलावा, मैं एक फ्लोट सरणी को float * पर कैसे रूपांतरित कर सकता / सकती हूं? मुझे एक फ्लोट * प्राप्त करने और इसे खोलने की आवश्यकता है, फिर एक फ़िल्टर लागू करें और इसे एक float * के रूप में मेरी FFT विधि में भेजें, लेकिन मुझे नहीं पता कि कैसे करना है यह इसलिए है क्योंकि मैं उन दोनों के बीच वास्तविक अंतर नहीं जानता। / P> एक सरणी का नाम विघटित किया जा सकता है ??? अर्थात् रूप से रूपांतरण किया गया सूचक को अपने पहले तत्व में; एक सरणी में तत्व तत्वों से संचित होते हैं; वाक्यरचना a [8] केवल * (ए +8) ; n * sizeof (* p) को जोड़ने के लिए एक संकेतक, p को n जोड़ रहा है। < / Li> तो एक सरणी एक संकेतक से अलग-अलग शब्द है लेकिन आप एक सरणी के नाम की आपूर्ति कर सकते हैं, कहीं भी एक संकेतक की आवश्यकता होती है क्योंकि इसे रूपांतरित किया जाएगा। अलग-अलग, आप सबस्क्रिप्ट सिंटैक्स का उपयोग करके किसी भी सूचक को ऑफसेट भी जोड़ सकते हैं। उद्देश्य-सी सी का एक सख्त सुपरसेट है। तो ये नियम आदिम के उपयोग के लिए भी लागू होते है

java - How to not replace named parameters in EntityManager.createNativeQuery()? -

I am using JBOSS AS 7 and I want to use this command before querying: entityManager.createNativeQuery ("SET SET NLS_DATE_FORMAT = \" YYYY-MM-DD HH24: MI: SS \ "); Now if I urge this query, error message "All named parameters are not set: [MI: SS]" it is understood, and I Named Parameters and everything I understand. But in this case only I want this whole string not hidden. I tried to set "parameter" "MI" to MI and "SS" to SS, but did not get any help from this. / P> How can I set this query to fire without having to hibernate in trying to change the named parameter? Or how can I set this information to this server worldwide? In GB persistence.xml or standalone.xml? Try with single quotes: string sql = " Set session nls_date_format = 'YYYY-MM-DD HH24: MI: SS' "; entityManager.createNativeQuery (SQL);

javascript - angular Orderby Date not sorting correctly -

I have some JSN data that meets my server whose date field is formatted like "StartDateTime": "2014-09 - 04T18: 14: 26Z " I create a table as the following: & lt; Table Class = "Table Table-Condensed Table-Border Table-Stripe Table-Hover Reactive" & gt; & Lt; Tr & gt; & Lt; Th & gt; Title & lt; / Th & gt; & Lt; Th & gt; Start Date & lt; / Th & gt; & Lt; / Tr & gt; & Lt; Tr ng-repeat = "Every Event in Events | Order By: StartDetermine" & gt; & Lt; TD & gt; & Lt; Period & gt; {{EveryEvent.Title}} & lt; / Span & gt; & Lt; / TD & gt; & Lt; TD & gt; & Lt; Period & gt; {{EveryEvent.StartDateTime | Date: 'less'}} & lt; / Span & gt; & Lt; / TD & gt; & Lt; / TR & gt; & Lt; / Table & gt; Events have not been started from the right date. My question is that what I need to do to sort this date cor

html - eventlistener fires when I add it in javascript -

What am I trying to do, when they are not necessary / necessary then add and remove text boxes from the table. The function is required to execute when a user types in a text box. The page loads with several text boxes, in which this function is in the form of a single listener. The code is bothering me, so I put a breakpoint (GC Developer Tool) at the beginning of the function and what is typed in a text box is on the line: Input AddEventListener ("keypress", update textbox (table name, input.id)); Allows to launch the execution function! function updated textbox (table name, element) {var numcells = document.getElementById (table name). Rows.length - 1; Var lastTxt = document.getElementById (table name + numCells); Var curNum = element.id.replace (/ ^ \ D + / g, ''); If (curnum! = Numcells & amp; amp; element.text == "" & amp; amp; amp; amp; last.Txt.text == "") {document.getElementById (tablename) .deleteRow (numCells); } An

html - How i can get index of image in div with jquery -

मेरे पास कुछ ब्लॉक है (यह div या someting ect हो सकता है): & lt; पूर्व & gt; & Lt; div & gt; & Lt; img src = "#" onclick = "शोमेन्डेक्स ();" & gt; & Lt; img src = "#" onclick = "शोमेन्डेक्स ();" & gt; & Lt; img src = "#" onclick = "शोमेन्डेक्स ();" & gt; & Lt; img src = "#" onclick = "शोमेन्डेक्स ();" & gt; & Lt; / div & gt; & Lt; / पूर्व & gt; उदाहरण के लिए, जैसे: $ array = array ($ key = & gt; $ value, $ key = & gt; $ मान, $ key = thnx मुझे लगता है कि आप क्लिक किए गए छवि का सूचक चाहते हैं I इसके लिए, इनलाइन जेएस का उपयोग न करें इसके बजाय ऐसा करें $ ('img')। क्लिक करें (फ़ंक्शन () {चेतावनी ($ (यह)। इंडैक्स ());}); मुझे आशा है कि आप जानते हैं कि अनुक्रमित 0 से शुरू होते हैं।

html - ajax issue to display the content of a simply doc -

I really want to do something with Ajax. My Mac has a folder with 2 documents: index.html and text.txt. index.html: & lt; P & gt; & Lt; Input type = "button" onclick = "loadDoc ()" value = "click" /> & Lt; / P & gt; & Lt; P id = "fileContent" & gt; & Lt; / P & gt; & Lt; Script & gt; Function loadDoc () {var xhr = new XMLHttpRequest (); Xhr.open ('gET', 'text.txt', true); Xhr.onreadystatechange = function () {document.getElementById ('File Content'). InnerHTML = xhr.responseText; } Xhr.send (null); } & Lt; / Script & gt; text.txt: Hello When the user clicks the click button, then I want to click on the 'Hello' button on the contents of text.txt. Does it work locally with my Mac? Do you know? Thank you! Ajax requests can not be made on file: /// this one Security restriction is. What do you have right but need service throug

How to create Eclipse GWT Designer Project, something is off? -

Image
नवीनतम ग्रहण (लुना 4.4.1) को डाउनलोड करने के बाद, मैंने GWT / GWT डिजाइनर प्लगइन को स्थापित किया है। < P> मैंने निष्कर्ष निकाला है कि मैं WindowsBuilderPro याद कर रहा हूँ, और इसलिए मैं इसे एक्लिप्स सहायता-> स्थापित नई सॉफ्टवेयर के माध्यम से स्थापित किया। अब मैं एक नया जीटीडब्ल्यू डिजाइनर प्रोजेक्ट बनाना चाहता हूं, जो मुझे गलत लगता है: ट्यूटोरियल, शायद पुराना, निम्न प्रोजेक्ट पसंद दिखाएं: क्या मेरी स्थापना गड़बड़ है? मैंने स्थापना के आदेश को उलट दिया, और कुछ भी नहीं बदला। क्या जीडब्ल्यूटी डिजाइनर को पुराना हो गया है, क्या अब मैं इसका इस्तेमाल नहीं कर सकता? मैं आपके जवाब (फिल) के आधार पर थोड़ा और भ्रमित हूँ। मुझे यह प्रस्तुति मिली: और यह दिखाता है: क्या जीडब्ल्यूटी डिजाइनर अभी भी मौजूद है (2014) UI बाइंडर से अलग है (मैं वास्तव में कोई भी HTML नहीं करना चाहता)? यदि नहीं, तो क्या मुझे UIBinder के लिए WindowBuilder प्लगइन की आवश्यकता है? आप सीधे GWT नहीं बनाते हैं डिजाइनर परियोजना अपने पहले स्क्रीनशॉट में प्रदर्शित "वेब एप्लिकेशन प्रोजेक्

vba - How to split a row into columns for every three columns in excel? -

Image
In Excel, how do I split a line into a set of columns? In A1: G1, the data should be in the first line, then A1: C1 will be similar to the first row, D1: G1 should be from the end of the first line. This should continue till the data in the first row is limited to G1. . I have data like ABCDE ... AE Air Force AG 1 AB 2013/01/12 2013/02/23 233 2013/02/24 2013 / 03/11 500 2 CD 2013/01/12 2013/02/23 233 2013/02/24 2013/03/11 343. I need this: ABCDE 1AB 2013/01/12 2013/02/23 233. 1 AB 2013/02/24 2013/03/11 500 2 CD 2013/01/12 2013/02/23 233. 2 cd 2013/02/24 2013/03/11 343. How can this be done in Excel, I tried to write a VB script, but it did not go anywhere. Nobody can help me with this. OK, so it seems that you have two cells with a static id and the name is three There is a series of cells that show a pattern of date , date , number . You want to take everything on the right side of the first two cells, repeating the two rows. It should do. sub-split_and_stac

c++ - Informative exit on stack overflow in worker thread -

I am writing a C ++ program that is running a bunch of worker thread on recursive data, such as' The default stack space has increased, it is possible that a thread can affect a stack overflow. Ideally, the stack will need to be dynamically expanded, but if this is not possible, then it is acceptable that the program fails, and after re-compiling the user with a larger stack size To try again. The problem with the default behavior of the crashing program with an error message is that the user has no way of knowing whether there was a problem or what to do about it; For all users, the program may try to divide by zero or a blank pointer can be removed; So if the program should crash, then I have to print this "stack overflow" first on stderr. Obviously there will not be a solution in portable C ++, but I'm happy with a solution that works on Windows and the other that works on Linux. By looking at how to exit the program with an informational error message

c - read from socket stops on last byte -

सर्वर.c बाइट्स रिसाइज्ड = 0; चार बफ [256]; चार * बफ़फ़ाइल; चार तामबबत; बाइट्स रिसाइज्ड = पढें (clnt_fd, & amp; tempbuff, 1); बफ़फ़ाइल = (चार *) मॉलोक (आकारफ (चार)); buffFile [0] = tempbuff; लंबा इंक = 1; जबकि (बाइट्स रीएसीएटेड & gt; 0) {बाइट्स रीएसीड = पढ़ा (clnt_fd, और टेम्पकबफ़, 1); incr ++; बफ़फ़ाइल = (चार *) रीएलएलक (बफ़फ़ाइल, आकारफ (चार) * इंक); buffFile [incr-1] = tempbuff; } client.c चार फ़ाइलबफ़ [20]; स्ट्रक्पी (फाइलबफ, "यूपीसी"); घुमटा (फाइलबफ, फ़ाइल_आकार); // यह फाइल का आकार घुमटा हुआ है (फ़ाइलबफ, ""); लिखना (clnt_fd, filebuff, strlen (फाइलबफ)); जबकि (1) {int nread = fread (file_bytes, 1,256, एफपी); बाइट्सेंट = लिखना (clnt_fd, file_bytes, नाक); यदि (बाइट्सेंट & lt; 0) {printf ("त्रुटि:% s \ n", strerror (errno)); टूटना; } अगर (नाक और लेफ्टिनेंट; 256) {char t = '\ n'; बाइट्सेंट = लिखना (clnt_fd, & amp; t, 1); टूटना; }} तो मूल रूप से, ग्राहक इस तरह एक संदेश भेज देगा और मुझे '\ n' को अंतिम बाइट के रूप

Removing unnecessary function from Rust echo server -

यह कोड: उपयोग std :: io :: {TcpListener, TcpStream}; Std :: io :: {स्वीकर्ता, श्रोता} का उपयोग करें; Fn मुख्य () {श्रोता = TcpListener :: बाँध ("127.0.0.1", 5555); // निर्दिष्ट पते पर श्रोता बद्ध करें mut accept = listener.listen (); // स्वीकार्य स्वीकार करें और उन्हें संसाधित करें, स्वीकार्यरिंग आने वाले (स्ट्रीम) के लिए प्रत्येक के लिए एक नया कार्य बढ़ाएं {मैच स्ट्रीम {एरर (ई) = & gt; {/ * कनेक्शन विफल * /} ठीक है (स्ट्रीम) = & gt; {// कनेक्शन स्पॉन (proc () (मूक बफ़: [u8, ..1024] = [0, ..1024]; लूप (लैन = स्ट्रीम। रीड (बफ़); चलो _ = स्ट्रीम। लिखें buf.slice (0, len.unwrap ()))}}}}}}}} इसके साथ विफल रहता है: चैट संकलन v0.1.0 (फ़ाइल: /// होम / क्रिस / रास्ट / चैट) src / chat.rs: 19: 35: 19:41 त्रुटि: अस्थायी कब्जा किए गए बाह्य चर को एक proc `स्ट्रीम 'में अस्थिर स्रोत / चैट.rs: 1 9 के रूप में उधार नहीं उठा सकता लाएन = स्ट्रीम करें। रीड (बफ़); ^ ~~~~~ src / chat.rs: 20: 25: 20:31 त्रुटि: एक proc `स्ट्रीम 'में अस्थायी कब्जा किए गए बाहरी चर को अस्थिर

java - Class access modifier -

I have the following two classes package one; Public class student {/ some code} package two; Public Class Test {Public Stable Zero Main (String AZ []) {Student S = New Student (); // some codes}} Even if the "student" category has a public access modifier, whenever I try to create an object for the student class, in the test class, which The other is the package, the mistake is saying that either I must import the student class or make a new class. I thought that if a class has been declared public then it can be reached from any place. But why do eclipse call it an error? You do not have a import statement, so the compiler does not know that Student reference one. The student / <> is the code. You can either use: import one. student; or import one. *; ... or when you create an object, fully qualify the name: one.Student s = new.Student (); This is not the point of access - this is not a compiler who does not know how to solve ident

c# - Determining what code is triggering lazy loading in EF -

I have an application that was initially developed with a very tight deadline, so lazy loading The product was employed to get out of the door and was fast. Well, now the performance is a matter of concern and I take some precautions and obviously load the properties, provided that hundreds of database issues are being questioned due to the slow performance of the biggest performance constraints for a long time. My problem is that for some pages, since I have triggered each query, I can see that some questions are asked, but I can not tell why it is What I would like to do is a way to spot the code from which this is happening in my ideal world, I could just click a few clicks and "started querying the database." Is this possible? I was recommended to write by stack exchange friends, this gives you a great feedback and this unit The framework can be wired, you will be able to see all the SQL queries and you can help it to locate the origin point.

android - Retrofit throwing error Expected BEGIN_ARRAY but was BEGIN_OBJECT -

Hello I am new to the retrofit library, I am having trouble parsing some JSN. I have looked at some other solutions on StackHowfortflow but there is not much luck with my problem. I am trying to get a simple webservice to work. Any suggestions would be appreciated .. Jason File: ["Employee": [{"First Name": "John", "Last Name": "Do"}, {"First Name": "Anna", "Last Name ":" Smith "}, {" first name ":" Peter "," last name ":" jones "}}} request method Public requests for zero Mailer database (string uri) {RestAdapter adapter = new RestAdapter.Builder (). SetEndpoint (ENDPOINT) .build (); Employee API Employee API = Adapter.Create (Employee API Category); EmployeesAPI.getEmployees (new callback & lt; list & employee; employee employee class & gt; & gt; () {@ Override public unqualified success (employee; employee employee class), resp

java - The local variable string may not have been initialized peculiarity -

इस सवाल का पहले से ही एक उत्तर है: < / P> 7 जवाब मैं जो जानता हूं, इनटाइटलिंग एक वेरिएबल तब होता है जब आप इसके लिए एक मान सेट करते हैं उदाहरण के लिए: स्ट्रिंग; // स्ट्रिंग घोषित (यदि आप सशर्त में उपयोग करते हैं तो त्रुटि फेंकता है) स्ट्रिंग s = null; // स्ट्रिंग (कोई त्रुटि नहीं) को घोषित करना और उसके बाद आरंभ करना हालांकि, जब कोई स्ट्रिंग घोषित किया जाता है, तो यह स्वतः ही null < / code>? इसलिए, संकलक को कोई त्रुटि नहीं डालनी चाहिए। मैंने यह भी ध्यान दिया है कि स्ट्रिंग s = नया स्ट्रिंग (); शर्त के साथ प्रयोग किए जाने पर कोई भी त्रुटि उत्पन्न नहीं करता है, लेकिन स्ट्रिंग एस; करता है मैंने सोचा था कि ये दो बयान अनिवार्य रूप से एक ही बात थे और बाद के को भी पूर्व में प्रोत्साहित किया गया था। मेरे सवाल हैं, क्यों स्ट्रिंग s = new string (); काम करता है लेकिन नहीं स्ट्रिंग s; (जब उनके मान सेट करने के लिए कंडीशंस का उपयोग कर रहे हैं)? null में दोनों तारों को स्वचालित रूप से व्यर्थ नहीं किया जाना चाहिए, इसलिए किसी त्रुटि के कारण नहीं? बोनस प

node.js - Is it possible to run sails.js on a node cluster? -

I am currently running an Express Server using the node JS Vanilla Cluster Setup as shown here: / p> I want to transfer the server to sails.js and I am thinking that any node cluster (no proxy, just simple cluster) is configured to support sail How to know TX, Sean. First of all - if you want to use session, you need to use session store . Otherwise the session will not be shared between your app's examples. Again, the easiest way to use something like PM2, which can be found here: You do not have to make changes in your app.js files - it Standard non-clustered sails should be written as an app PM2 will do the job. Just start with the app pm2 start app.js -ix where x is the number of instances or use Pm2 start app.js -i max which will start the number of processors, or instances of the processor thread. PM2 is great and very stable, it has many features to run easily, in production, though there are some flaws in its development. If you were using an

php - How to make sure that a field in SQL query is unique? -

मेरे पास निम्न क्वेरी है SELECT nature_images.image_code, nature_objects.name natural_images left Nature_objects पर प्रकृति_इमाज। पर जाएं- o_bject_id = nature_objects.id और nature_images.approved = 1 ORANDER RAND () LIMIT 0,5 परिणाम दोहराए जाने वाले nature_object.ids लौट रहे हैं लेकिन विभिन्न nature_objects.id के साथ , मुझे मूल रूप से क्या चाहिए यह है कि प्रकृति_ोबिबैंक.आईडी प्रत्येक पंक्ति में अद्वितीय है और दोहराया नहीं जाता है। मैं चयन का उपयोग करने की कोशिश की, लेकिन यह असफल लगता है .. क्या ऐसा करने के लिए वैसे भी है? आप कर सकते हैं ऑब्जेक्ट नाम पर एक ग्रुप बाय करें और अधिकतम कोड या न्यूनतम कोड प्राप्त करें। चुनें MAX (प्रकृति_इम्गेज़.इमजिकोोड), प्रकृति_ऑब्जेक्ट। नाम से प्रकृति_इम्गेज़ left active_objects पर प्रकृति_इमेजेस .object_id = nature_objects.id और nature_images.approved = 1 ग्रुप द्वारा प्रकृति_ऑब्जेक्ट्स। NAME ORDER BY RAND () LIMIT 0,5

WPF Prism 5.0 Interaction popup - how to make it not to display in TaskBar? -

यदि आपके पास प्रिज़्म 5.0 है - इसमें एक नमूना समाधान है Quickstarts \ Interactivity \ InteractivityQuickstart यह दिखाता है कि कैसे पॉपअप UserControls का उपयोग करने के लिए जो कि उनके विचार परिभाषित हैं InteractivityQuickstart \ Views \ InteractionRequestView.xaml: & lt; प्रिज्म: InteractionRequestTrigger SourceObject = "{Binding CustomPopupViewRequest, Mode = OneWay}" & gt; & Lt;! - यह पॉपअप WindowAction का एक कस्टम दृश्य परिभाषित है जब यह क्रिया निष्पादित होती है, तो दृश्य एक नई विंडो में दिखाया जाएगा - & gt; & lt;! - ध्यान रखें कि दृश्य केवल एक बार बनाया गया है और हर बार क्रिया निष्पादित होने पर पुन: उपयोग किया जाएगा - & gt; & lt; प्रिज्म: पॉपअपवंडोएक्शन IsModal = "True" CenterOverAociociatedObject = "True" & gt; & LT; चश्मे: PopupWindowAction.WindowContent & gt; & lt; दृश्य: कस्टमपॉपअपदृश्य / & gt; & Lt; / चश्मे: PopupWindowAction.WindowContent & gt; & Lt; / चश्मे: PopupWindowAction &am

date - Why do some applications ask the user if they follow daylight saving time? -

Image
After allowing the user to select the time zone, many applications ask if DST adjustments should be done. Looking at past and present information on DST for each timezone, why do the applications ask? They should not do that generally people who do this are not using the TJ database And have made invalid assumptions about how time zones work. This is usually associated with a time zone selection dropdown which lists only the numerical offset, such as: Instead, it should be considered as a timezone: By asking first for countries, tz for just a handful for any country Can reduce the time zone choice from the database. And since many countries have only one time zone, sometimes the user will have to choose their country. BTW - The above graphics are from Plurlastic Course, of which I am the author, I cover this issue and many other similar common mistakes. You can also read in the section entitled "Timezone! = Offset". One common exception is this rule

c++ - Trying to define types with variadic templates -

I'm new to varied templates, so stay here with me. I am trying to bring my dimensional analysis library to the 21st century and to C +11, I would like the ability to define a type of type, not an example, it is basically that What do I want to say: Velocity_dimension = make_dimension & lt; 1, 0, -1, 0, 0, 0, 0>; The result should be of the following: velocity_dimension = std :: tuple & lt; Std :: ratio & lt; 1>, std :: ratio & lt; 0 & gt; , Std :: Ratio & lt; -1 & gt; std :: ratio & lt; 0>, std :: ratio & lt; 0>, std :: ratio & lt; 0>, std :: ratio & lt; 0 & gt; & Gt ;; I am struggling to wrap my mind about varied templates and how to get the interface. I am trying to experiment with: template & lt; Typename t, typename ... args & gt; Make_list = std :: tuple & lt; Using the Std :: Ratio & lt; T & gt;, make_list & lt; ARG & gt; ... & gt; & Gt; ; I think tha

java - Can Guice inject something that requires a lookup function? -

I am using Guice in a restoration web server, and there is a pattern that I can not understand: injecting objects For those who are specific to a specific user or a specific request. We request to list all the widgets related to a project. The widget viewing service requires a project instance. There are many projects in the system. My code currently looks like this: increases the public class widgetResource ServerResource {// path: project / {project} / widgets Private Last Widget Service Service ; Private Final Project Lookup Project Lookup; @ Public Widget Resource (Widget Service Service, Project Lookup Project Lookup) {this.service = service; This.projectLookup = projectLookup; } @ Get public widget collection getWidgets () {string projectname = getAttribute ("project"); // Restart the launch of Path var project project = projectLookup.get (projectName); WidgetCollection Widgets = service.getWidgetsFor (project); Visits Returns; }} It works well, but it is

split - PHP Splitting a result -

I was hoping to get help with some ideas / php. I use the following to return a price: in my case 612B hex is decimal I am 61 & amp; Flip is required; Make 2b and 2b 61 from USER_EVENT with the USER_EVENT as "Stringers ID = 'Lonorranger' '' (select cast) (inserted (cast (rect, 1, 1)) (varbinary ); $ Skillfound1 = odbc_result ($ skillsearch1,1); Thanks Edit1: Where str_split ($ test, 2))); I only had to convert it to str_split ($ test, 1)); And I found what I wanted to thank you for your help. $ test = '1234'; $ Result = implode (// 3. Include array in array_reverse string (// 2. Reverse order of str_split ($ test, 2)); // 1. Convert array with two letter values ​​var_dump ( $ Result);

javascript - fabric.js - Multiuser canvas -

I'm trying to create a canvas fabric.js, and I'm trying to create a multiuser canvas. Everything works for now, though there is a problem: Notice erases every time I am using the loadFromJSON () function. How can I add information to free drawing mode, erasing information? The canvas is where I currently write data, and canvas 2 is where I need to add data. Kanwaskon ( "mouse up", function () {console.log ( 'mouse up'); //console.log(JSON.stringify (canvas)); canvas 2. LoadfromJSON (JSON. Strifff (Canvas), Canvas 2. RenderAil.Bind (Canvas 2), Function (O, Object) {fabric.log (O, Object);}); canvas.clair ();}); You can go first in two ways: canvas2.loadFromJSON (JSON.stringify (canvas), canvas2.renderAll.bind (canvas2), function (o, object) {canvas.clear (); fabric.log (o, object);}); another way: var strCanvasContent = JSON.stringify (canvas) canvas 2.loadframJSON (Stranvas content, canvas 2.rerender.bend (canvas 2 ), Function (O, o

binary tree - Can someone give an example of how edit function for clojure.zip works? -

I am a newcomer for the closure and I was working with Closer.zip, and was not able to understand it How to edit the function in it If someone gives me an example of work, then it will really be helpful. For example, I have a binary tree 45 10 57 How do I edit value 57 and say it to 75 A structure of nested vectors in which the first element is worth, the other is the left child and the third right is to be changed. Child, this will work: ([btree [10 [10]] [57] The original place (zip / zipper vector? Rest (FN [[x _ _] children] (VCC (Cons. X child))) BTI)] (-> Root-Lok zip / down h Although / right (Zip / Edit (Fan [node] (Asosi in node [0] 75))) ZIP / root)); = & Gt; [45 [10] [75]]

ios - How to Horizontally Center View in Landscape orientation? -

I have an app that was originally written for iPhone 4S Landscape mode (480x320) but when I Go into the iPhone 5 simulator. See I see that my app is a left aligned and it has empty space spaces. I was hoping that my app will be minimized in landscape mode in iPhone 5, any thoughts? In addition to this, I have another app which is in my portrait centricly in Portrait mode (320x480) and iPhone 5, so if there is only one problem in this scenario? It was found in the shape inspector - & gt; "Auto Resizing" Just had to align the red box correctly

java - Row selection ListView Android -

My question is: Loads and parses using the volley library, everything loads well on a custom list row But when I press a line it does nothing Really annoying thing ... Im using custom view and it's impossible to assign OnListItemClick This is my code // Increases the public class InicioPasajero activity to all the necessary libraries {Personal Static Last String TAG = InicioPasajero.class.getSimpleName ( ); // cinema json url personal static final string url = "URL_RETURNING_JSON"; Personal progression pDialog; Private listing & lt; Movie & gt; Movie List = New Arrestist & lt; Movie & gt; (); See the list of private list views; Private customist adapter adapter; ImageButtonB_JustS; ImageButtonB_Filters; @ Override Protected Zero (Bundle Saved Instantstate) {Super. NET (Saved Instantstate); setContentView (R.layout.activity_inicio_pasajero); b_ajustes = (ImageButton) Find ViewById (R.id.Bajustes); Find B_Filteros = (ImageButton) VVBIID (RI

php - How to display users from two MySQL tables -

I have two mysql table-members and addclique member table details the details of all users, while adclock table is two column- There is a 'buddy' table with Adride, which contains the user's ID, which sends friend requests and click_id, contains the user's ID that the friend accepts the request. Please try to select friends of a particular user, but there is a problem getting the details of details (photos, names, etc.) from the members table because I do not know At which point the members are included in the table Addclique table $ sql = "SELECT i. *, M * to add members from m.id = ******* * Where adder_id =: id or clique_id =: id "; $ Result = $ db- & gt; Query ($ sql, array ('id' = & gt; $ _SESSION ['id']); The questions below will select all those members who have been added by a special person and all the members who have added the same person. Choose m * Join the member M In an MID = a.adder_id, where a.clique_i

arrays - Error while calling Matrices Multiplication Function in C# -

I created this function to multiply a simple matrix int [] Matrix (strings) [] input, int [,] key) {int [] result = new int [input.Length]; (Int line = 0; line & lt; key.GetLength (0); line ++) {for (int col = 0; col & lt; key.GetLength (0); col ++} {results [row ] + = Key [row, col] * AtoZ.IndexOf (input [0] [cola]);}} return result;} However, when I try to call it It is giving me some errors: Calling function: total = MatrixMul (OutPut [i], key); Error 1 The best overloaded method for matching 'Hill_Cipher_CSharp.Hill_Cipher.MatrixMul' (string [], int [ , ]) is invalid argument c: \ users \ wael \ documents \ visual studio Yo 2013 \ Projects \ Hill_Cipher_CSharp \ Hill_Cipher.cs 34 23 Hill_Cipher_CSharp Error 2 Argument 1: Can not be changed from 'string' to 'string []': \ Users \ wael \ documents \ visual studio 2013 \ Projects \ Hill_Cipher_CSharp \ Hill_Cipher.cs 34 33 Hill_Cipher_CSharp The problem is with "Output", an

C Sockets: write() followed by close() results in incomplete data transfer -

I am trying to write a basic file server that takes the file name from the client and responds by sending data from TCP Customer's For the most part I have a working client and server application, but I am seeing some strange behaviors, consider the following (num_read = read (file_fd, file_buffer, sizeof (file_buffer) ))) & Gt; 0) {if (num_read! = Write (conn_fd, article_buffer, num_read)} {mirror ("write"); Goto out; }} OUT: OFF (file_fd); Close (sub_fd); file_fd is a file descriptor for the file being sent to the network, conn_fd to connect to a one File descriptor () ed TCP socket. This works for small files, but when my files become large (megabyte +) it seems that some non-stability will fail to transfer the data at the end of the file. After writing, I have a doubt about the immediate () statement, so I stopped 1 second sleep () () before the statement and my client Has successfully acquired all the data. What sleep () / code> on

mysql - Not Selectors in Model, Rails -

मेरे नाम के साथ एक मॉडल है वर्ग । मुझे user_id और category_id मेरे UserCategory मॉडल मिला है। मैं उन सभी श्रेणियों का चयन करना चाहता हूं जिसमें कोई विशिष्ट user_id नहीं है। ऐसा कैसे करें? मुझे एक ड्रॉपडाउन सूची बनाने की ज़रूरत है UserCategory मॉडल सामान्य तौर पर, ActiveRecord के लिए अंतर्निहित समर्थन दिया गया है: श्रेणी.where.not (user_id: id) कई-से -किसी भी स्थिति, श्रेणी और उपयोगकर्ता : दिया गया श्रेणी। place.not (id: current_user.categories.pluck (: id) ) यह आईडी द्वारा वर्तमान उपयोगकर्ता की श्रेणियों को छोड़कर, सभी श्रेणियों को पकड़ लेगा।

initializing vectors with variables, C++ -

I want to be able to start the vector using the variable like this: int minimum max; Scanf ("% d% d", & amp; minute, & max); The vector & lt; Int & gt; Day (minimum, maximum, maximum); But when I try to get an error message I get: IntelliSense: any example of the creator "std :: vector & lt; _Ty, _Alloc & Gt; :: vector _Ty = int, _Alloc = std :: allocator] "Logic types are logic types: match (int, int, int) Is there any way to solve this problem? The way? I'm using Visual Studio 2013 if it counts thanks! You need a list-start to specify the content of the vector, assuming your compiler Supported by: vector & lt; Int & gt; Days {minutes, max, max}; Before C + + 11, it was more tedious: vector & lt; Int & gt; day; Day.push_back (minimum); day.push_back (max); Day.push_back (max);

android - How come my http status code is 0 on my ionic app and heroku? -

Image
There is no SSL setup and I have setup with CRS Rack Corona Gems on my Rail Server my default header within my anular app For this it is setup. Delete $ httpProvider.defaults.headers.com ['X-Requested-With']; $ HttpProvider.defaults.headers.post.Accept = 'Applications / Jason, Text / Javascript'; $ HttpProvider.defaults.headers.post ['Content-Type'] = 'Application / Jason; Charset = utf-8 '; $ HttpProvider.defaults.headers.post ['access-control-max-edge'] = '1728000'; $ HttpProvider.defaults.headers.common ['access-control-max-edge'] = '1728000'; $ HttpProvider.defaults.headers.common.Accept = 'Applications / Jason, Text / Javascript'; $ HttpProvider.defaults.useXDomain = true; I am using ionic / cordova to talk to my railroad server on my rock. On iOS I can successfully request my Rail Server, but I can not do with Android. I have created a new blank application and when I request the server locally (o

genymotion - How to create AVD targeted to API level 11 for Android -

I am creating an application with at least SDK setup until API Level 11. I am using API level 11 as target and compilation SDK. . I want to test if my API level will work on 11 devices. I tried to get the system image for Android SDK Manager's API level 11 but did not get it I also tried genomic but could not even get there. How do I get an API Level 11 system image? Or is there any other way that I can be sure that my application will work on API 11 (virtual machine)? Thanks I will not care about API 11-14 if you You will check that there are no Android 3.x devices in there. Many 3.x devices have been updated to 4.x. Updated not yet the most active idle device, which are not actively used. In addition, when you target API 11, you target approximately 0% of Android users of such devices, but you invest time in supporting it. I really suggest reconsidering your target API and switching to API 15.

How can I change each pixel's RGB value on bitmap image with python? -

I want to read the RGB value of each pixel and change it to a bitmap image. How can I do this with a dragon? Should I use the library? The module you are looking for

javascript - how to pass text box value to java script after leaving from text box? -

& lt; html & gt; & lt; body & gt; & Lt; input type = "text" id = "t1" नाम = "t1" / & gt; & lt; इनपुट प्रकार = "बटन" मान = "संपादित करें" onClick = "संपादित करें (document.getElementById ('t1')। मान)" /> & Lt; div id = "div1" शैली = "प्रदर्शन: कोई नहीं" & gt; & lt; input type = "text" id = "t2" नाम = "t2" मान = "2" / & gt; & Lt; / div & gt; & LT; स्क्रिप्ट & gt; फ़ंक्शन संपादित करें () {x = document.getElementById ('t1')। मान; if (x == "1234") {document.getElementById ('div1')। style.display = 'block'; चेतावनी (x); } और {document.getElementById ("div1")। Style.display = 'none'; चेतावनी (x); }} & lt; / script & gt; & Lt; / body & gt; & Lt; / html & gt; यहां मैं div को अक्षम करने के लिए बटन पर क्लिक करने के लिए पाठ बॉक

web services - SAP and php SOAP COMMIT -

I have created a webservice from a BAPI to put some account documents in the SAP. In these cases, the system requires a committ-call after a successful income call. Both of these tasks should be called in "a reference". Now I am facing this problem that I do not know how to do it in php or if there is any way to do this? I have made the following example, but this does not work but the COMMIT function is executed but it does not have any effect on the SAP. I can not see the data in the database, although the first call "Data is booked successfully" I know that you should confirm this with a commute call in the SAP. There is a way to put 2 function calls in a Sekken in SE 37. I'm searching php-method this is insertAccntDoc ($ accntgl, $ currAmount, $ docHeader, $ accntTax) {#define authentication $ SOAP_AUTH = array ('login' = & gt; SAPUSER, 'password' => SAPPASSWORD); $ WSDL = "url_to_my_wsdl"; Download and Pars #Create Cli

Shipping and Handling no longer transferring to Paypal from Drupal 6.x - Ubercart -

PayPal is now rolling out from our Drupal 6.x site and since this new paypal webhock has rollout for the REST API, Handling is not recognized. We are using Drupal Core, Shipping, Ubercart and PayPal modules. Does this work need to be compromised in some of our modules? Answer PayPal Tech Support: "... shipping and handling cost calculator Fixes will be productive today. " Just wait for