Posts

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...