Posts

Showing posts from April, 2011

javascript - Hide div on mouseout -

I have two say 'div a' and 'div b' on mouse over DIV, DIV b should appear And should be displayed. There are some links in DIV B now I need to hide DIV B on the mouseout of this DIV B. How to fix this? I try to hide the code. Use of jquery var diva = $ ('div.a'), divb = $ ('div.b') divb.hide (); Diva.on ('mouseover', function () {divb.show ();}); Diva.on ('mouseout', function () {divb.hide ();});

How to backup mysql database on regular basis using php code -

I want to backup mysql database on a regular basis, such as using a weekly php script. If this is possible, then you can tell me the site or code here Thanks in advance. This is a simple PHP function to do for us and we can call it using that function You can. Kron Job in regular time interval. Ref:

ibm mobilefirst - IBM Worklight 6.1 - Controlling authenticity testing for an app -

How do I configure the vertical app to enable authentication tests? I am unable to take precise step by step guide at IBM Vernon 6.1 Information Center. This topic has a training module You also want to see this question You can: PS, It is also in that you can start it in the section of IBM Vernal. Notification Center:

ASP.NET, use data-toggle attribute in C# -

I have a bootstrap that has a tabbed menu to open this tab, attribute data-toggle = "tab" uses it. Now I have one button from the tab, and when I click on the button, it runs some C # code from the code behind the file. It uses the databind (), so the page will reload. However, when it reloads, the default tab is obviously open, but I want to reload it with opening a separate tab. Is there a way that I can run data-toggle from my C # code? The HTML tab looks like this: & lt; ul class = "nav nav-tab" & gt; & Lt; Li runat = "server" id = "tabHome" class = "active" & gt; & Lt; a href = "# home" data-toggle = "tab" & gt; & Lt; I class = "fa fa-home" & gt; ; & Lt; / I & gt; Home and lt; / A & gt; & Lt; / li & gt; & Lt; li runat = "server" id = "tabUsers" & gt; & Lt; a href = "# profile" data-toggle = "tab&

java - incompatible types error when providing a String to a method which requires a String -

I consider string values ​​as a string which accepts the string, although I am getting an "incompatible type" error. I I tried to codify an intensive value, to see what error I expect from: found int; Required: java.lang.String has changed the method for accepting the file, instead of errors: string found; Required: java.io.file Ergo, I'm feeding a string where the string should be. But I do not know where I'm going wrong. (And I have changed it to feed back the string and accept the string) Any feedback is welcome in advance :) import java.io . *; Import java.util. *; Public classroom tests {Personal ArgsReader inputFile; Private string filename; Private listing & lt; Pallet & gt; EntryBayQueue; / ** * Constructor / Public Test for the class test * object () {inputFile = New ArgsReader (); EntryBayQueue = new linked list (); } / ** * Methods * / Public Zero Run (string [] Args) {If (args.length> gt; 0) // If you have given any argument {s

ios - Convert NSData from local NSURL -

I have a sound player that uses the AVAudioPlayer class. I download some items in another view and store it as a php path as NSURL, then pass NSURL to the player view controller. But I get an error when I try to pass the object *** Expected exceptions' NSInvalidArgumentException ', due to reason the application ended:' - [__ NSCFString Path]: non The recognized selector is sent to Example 0x1700c86c0 and here is the code: NSData * Data = [NSData dataWithContentsOfFile: [podcastSource path]]; NSError * error; MPlayer = [[Aviado Player Alok] initWithData: Data Error: & amp; Error]; [Empler set Deliaget: Self]; If (Emplier == zero) {NSLog (@ "% @", error); } And {{self. Play Player]; Note that the FilePath I receive from NSURL is in this form: / var / mobile / application / xxxxxx / The document looks like error code such as podcastSource / Code> is an NSString when it is going to request your way to it> need to be a NSUrl However, d

python - Is there any way to retrieve data from dictionary with a tuple? -

Say that there is a dictionary and a tupal, I use the toplal as the key to get the value from the dictionary To do and then to put in, the result is in another tube. dic = {"b": "bad", "a": "alpha", "c": for example, the dictionary and tubal are below < Change "} tup = (" a "," b "," c ") , and what else do I want Tupal: ("alpha", "bad", "change") , is there any way to do this? More specific, what I try to implement is to get the dic.values ​​() result, which results in me wanting to be Know about the collection. Order () function, but the function is not available in my situation. You can do this: result = [dc [ i] T for i) print tuple (result) ("alpha", "bad", "change")

python - Parse Microsoft DNS Debug logs -

I'm looking to parse Microsoft DNS debugging log responses. This idea is to parse the domain and print the number of each domain in the debug log. Typically i grep -v "R" logs & gt; Tmp to first redirect all reactions to a file. Then manually grep such as grep domain tmp for the domain. I think that's a better way. 20140416 01:38:52 588 packet 02030850 UDP RCV 192.168.0.10 2659 RQ [8281 Dr Serfel] A (11) tractor (3) sub (7) domain (3) com (0 ) 20140416 01:38:52 588 Packet 02396370 UDP RCV 192.168.0.5 B297 RQ [8281 DR Seraphel] A (3) PK (3) Sub (7) Domain (3) Com (0) 20140415 19:46:24 544 Packet 0261F580 UDP 19 2.168.0.2 795 Q [0000 noor] A (11) Tertiary (7) domain (3) com (0) 20140415 19:46:24 544 packet 01 A 47E60 UDP sand 1920.168.0.1 F4AQQ [0001D Noor] A (11) Quad (3) Sub (7) Domain (3) Net (0) For the above data, ्न Output will be something like great: domain.com 3 domain.net 1 This will indicate that the scripts or commands for domain.com

Nginx not redirecting to my Tomcat app - what is wrong with this config file? -

My app is online: I use port 8090 because 8080 is used by the same glassfish Server is done on. The NGN config file says: server {80 says; server_name realtimeopinion.com www.realtimeopinion.com; # Charset ko 8-r; #access_log/var/log/nginx/log/host.access.log Main; Location / {proxy_pass http: // localhost: 8090 / RTO /; #proxy_set_header X-real-IP $ remote_addr; }} Still redirecting to a 404? With the debugger, your real-time feedback link from Google Chrome shows that NGN 404 Forwarding the response that was generated by the glassfish (which is at Port 8080) is not Tomcat (which is 8090 and where you really want to go) So I think your config file is correct , Except that the nginx is currently running from a different config file or perhaps config files There is a previous version of L, which specifies the first 8080 port. In this second case, maybe you just have to restart nginx?

javascript - Click button to load set daterange using Datepicker instead of new Date(); -

I have a working range selection using the basic Jquery UI date range from the UI website. HTML & lt; Button ID = "Week" & gt; Last week & lt; / Button & gt; & Lt; Br / & gt; & Lt; Label = "to" & gt; From & lt; / Labels & gt; & Lt; input type = "text" id = "to" name = "to" value "" & gt; & Lt; = "To" for label & gt; From & lt; / Labels & gt; & Lt; Input type = "text" id = "to" name = "to" value ""> Datasheet ({defaultDate: "+ 1w", Date format: 'MM D, or', JQ Number of minutes: 1, oncloses: function (selected) {$ ("# to"). Datapikar ("option", "minute date", selected date);}}); $ ("#to"). Datasheet ({defaultDate: "+ 1W", Date Format: 'MM D, or', Number of Forums: 1, Oncloses: Function (SelectedDate) {$ ("#from"

unity3d - unity C# run method from another class -

I want to run metod in class in second class and both of them arrive at different obj Two classes. The first is: Public square Noscore: Monobahavier {Public Zero UpdateSourBuy (Intro) {debug. Logs ("intra + 4" + intra + 4); }} and the other is: public class newplus: monobahavik {public nouster noucकोर; Public Zero OnTriggerEnter2D (collider2D obj) {newscore.updateScoreBy (+1); }} When I run my code, I do not have an orientation set for an example of "Null ReferenceExtension: Object Reference Object" and it is on newscore.updateScoreBy (+1) Indicates; How can I fix this? Depending on what you want to do, you can make the function stable: public static zeros update int intr {debug.log ("intr + 4" + intr + 4); } and call with: NewScore.updateScoreBy (1);

javascript - issue with loop the select query in sqlite? -

I am trying to iterate a dynamic array as the input for the selected query. The selected query for all the array elements is not firing. I wrote a selected query for the loop, the problem loop is already firing and the selection query is only performing for the last element of the array. This can be due to asynchronous function. How can I fix this, my code is as follows, function sendCategoryDetailsNew (myLocation) {var myLocationcoordinates = new array (); Var db = window sqlite plugin.openDatabase ({name: "MYDB"}); For (var i = 0; i Any suggestion, simplifying the code Try to think that for this issue, is going to with . Here is an example of how I will try: function sendCategoryDetailsNew (myLocation) {var myLocationcoordinates = new array (); Var db = window sqlite plugin.openDatabase ({name: "MYDB"}); Var locationsList = "\" "+ myLocation.join (" \ ', \' ") +" \ '"db.transaction (function (tx)

java - tomcat7 404 error when deploying -

I am trying to reproduce the solution given in this question, but I still get the same error Has been there. This is the servlet code: edu @ubuntu: ~ / ch1 $ cat ch1servlet.java package com.example; Import javax.servlet. *; Import javax.servlet.http.http. *; Import java.io * *; Public class C1 serletlet HTTPServlet {Public Zero Dotgate (HTTP Serial Request Request, HTTPServelet Response Feedback) throws IOException {printWriter Out = Response .getWriter (); Java.util.Date today = new java.util.Date (); out.println ("& lt; html> from" + "to & lt; body & gt;" + "& lt; h1 align = center & gt; hf's Chapter1 servlet & lt; / h1 & gt;" + "" + "& Lt; br>" + today + "& lt; / body & gt;" + "& lt; / html & gt;"); }} with which was compiled: edu @ubuntu: ~ / ch1 / web-enf $ javac -classpath / usr / share / tomcat7 / lib / servlet-api.jar -d classes ../ch1

Convert numbers into corresponding letter using Python -

I was thinking that it is possible to convert numbers into their respective alphabetical values. Then 1 - & gt; A 2 - & gt; B I was planning to create a program that lists all alphabetical combinations possibly for the length specified by the user. I know how to build the rest in addition to this program! Any help would be wonderful import string for x, y in zip (category (1, 27), string .ascii_lowercase): Import string for x (y, x) or or x, y annumer (string.ascii_lowercase, 1): print ( X, y) or for x, in y ((x + 1, chr (ord ('a') + x) (26) for x: print (x, y) All solutions above the output lowercase letters from the English alphabet with all the posts: 1 a ... 26 z You You can easily create a dictionary to access the letter (value) by their position (keys). For example: import string d = dict (count (string.ascii_lowercase, 1) ) Print (d [3]) # c

c# - cookieless load test with webtest -

समस्या: लोड टेस्ट WebTest का नया उदाहरण नहीं बनाता है, जो कि प्रत्येक बनाता है नया अनुरोध कुकीज़ को संरक्षित करता है मैंने एक कोडित वेब टेस्ट को रिकॉर्ड किया है जिसमें एक संरचना है: सार्वजनिक वर्ग SomeWebTest: वेबटैस्ट {सार्वजनिक ओवरराइड IEnumerator & lt; WebTestRequest & gt; GetRequestEnumerator () {// को यहाँ कुकीज़ को साफ करने की आवश्यकता है, अन्यथा पहले से ही उपज रिटर्न में लौटाया गया LoadLoginFormPageRequest; उपज रिटर्न PostLoginData; उपज रिटर्न PostLoginPageRequest; }} इसे 20 उपयोगकर्ताओं के लगातार लोड के साथ एक loadtest के अंदर रखें। एक थ्रेड सभी 3 अनुरोधों के साथ समाप्त हो जाने के बाद, इसी उदाहरण का पुन: उपयोग किया जा रहा है दूसरे धागे में और सभी कुकीज संरक्षित होते हैं, इस प्रकार अगली धागे सोचती है कि विज़िटर पहले ही अधिकृत है। मैं कुकीज़ को कैसे साफ करूँ या यह करने के लिए मेरी लोड टेस्ट का पुनर्गठन करूँ? एक संभव समाधान है कि एक ही परीक्षा के अंत में प्रत्येक परीक्षा के लिए सभी कुकीज़ समाप्त हो जाए: उपज रिटर्न .. उपज रिटर्न .. रिवर्स रिटर्न .

Ratchet CSS and Marionette Regions -

Hello MarionetteJS Gurus, I probably have a very simple problem, but I can not Wrap my head how to solve it I have an application with 2 fields and 1 layout, and I am using the shaft CSS library for prototype. Functionally, the goal is simple: Display a list of contacts with a header and a search bar in a view. If the user selects a contact, remove the search bar and only retain the header. The problem appears that it is necessary to swap and exclude the scenes in the wrapping device. The chess css needs the header bar directly above the content section to dock them at the top of the viewport, but the areas and layout of the merient (at least with my configuration) are preventing it from happening. Maybe I can improve my thoughts? JSField of the resulting output: You will see that the header / search area overlaps the content area. Menu region is included in a footer menu, and the main area includes a header area, a search field and a "main content" area Are t

ruby - Call a command-line-argument from inside a method? -

I have a problem which is calling the command-line argument from within a method. This is a snippet from my script in the first few operations, where the argument is passed as a method option / parameter, the logic value is mapped in the right way. In the previous operation, where the logic is called inside the law, the argument is passed as a text. Is there a specific syntax? Do I have to remember to call the variable inside a method? sets the command-line argument as # global variable proof_name = argv [0] # logic value (proof_name) has been successfully listed below as a # option / parameter = Processor. Enviving Container (proof_name) proof custom_metadata = {'barcode' => Proof_name} proof. Adfile (proof_path) proof. Instead of calling Save # logic values ​​(proof_name), the method # is reading the proof as text, so the script is searching for # "proof_name" and not the price that I specify from the command-line # at run-time All_files = current_case.s

jform - how to create a view form option in java? -

I have created a form to get user details. Now I want that when a user clicks the submit button, its details are displayed in a non-editable format format or in a pop-up that shows how their forms look. How can I do that? You can use JPanel (your editable form) and JLabel text), in this way : public static zero main (string [] args) {newsframe 1 frame = new newsframe 1 (); frame.setLayout (new gridoutout ()); Zpean panel = new zpn (); JLable Zlabel = New JLABEL ("Some Kind of Message"); jlabel.setFont (new font ("wordana", 1,20)); Panel.add (JLabel); panel.setBorder (New LineBorder (Color Black)); frame.add (panel, new gridbag consultants); Frame.setSize (400, 400); Frame.setLocationRelativeTo (zero); frame.setDefaultCloseOperation (NewJFrame1.EXIT_ON_CLOSE); Frame.setVisible (true); }

rest - Passing parameters in BODY with GET request -

I want to pass some data in the body of the request, but I am using the GET request because I Want to modify and send it back? I know that it is bad practice to use the body with GET requests. But what should I do with this situation if I want to make the correct restore service ? P.S. I'm not changing any object on the server. I'm not putting any new objects on the server. Want POST Something like that post / hash {"myInput": ...} The response has a hedged value that there is no rule that the resource created by the server Should be maintained. From: As a result of the action taken by the POST method, there can be no resource which can be identified by the URI, in this case, 200 or so (OK) Or 204 (no content) is not a proper reaction situation, whether it depends on or not - the reaction involves such an institution that describes the result.

maven - Overriding Cookbook Attribute in Vagrantfile Custom JSON Data -

You node. How to use the override chef.json in a warrant file? For example, Using vagrant-berkshelf , I : Custom JSON data chef I'm trying to install a particular Maven version based on. Json = {'maven' = & gt; {'Version' = & gt; '3.0.5'}} cookbooks \ maven_custom \ attributes \ default.rb default ['maven'] [ 'version'] = "3.2.1" cookbooks \ maven_custom \ recipes \ default.rb Chef: : Log.info (node ​​['maven'] ['version']) When I run vagrant provision , the following is printed: / p> 3.2.1 In addition, I tried the vagrant reload --provision , still "3.2.1" Printed. I expected that since 3.0.5 I (I thought) override it in my Vagrantfile . How can I get the "code" of Vagrantfile JS.5 value "3.0.5" correctly? The question is not entirely clear, but I think you have a more modern version of the arches The installers are trying to

c# - NHibernate return duplicate entities while parent is referenced by more than one property -

पर्यावरण: NHibernate (3.3.3.4001), फ्लुंट एनहाइबरनेट (1.4.0.0) नीचे फ्लुंट एन हाइबरनेट मैपिंग है: सार्वजनिक वर्ग ग्राहकमैप: क्लासमार्क & lt; ग्राहक & gt; {सार्वजनिक ग्राहकमैप () {आईडी (x = & gt; x.Id); मानचित्र (x = & gt; x.Name)। नॉट.अब (); HasMany (x = & gt; x.Orders)। केकॉल्यूम ("ग्राहक आईडी") .Cascade.All () .LazyLoad (); HasMany (x = & gt; x.Cards)। केकॉल्यूम ("ग्राहक आईडी") .Cascade.All () .LazyLoad (); }} सार्वजनिक वर्ग ऑर्डरमैक्स: क्लासमार्क & lt; आदेश & gt; {सार्वजनिक ऑर्डरमैप () {आईडी (x = & gt; x.Id); मानचित्र (x = & gt; x.OrderTime) .नहीं। (); संदर्भ & lt; ग्राहक & gt; (x = & gt; x ऑर्डर ओनेंर)। लेज़ीलोड ()। कॉलम ("ग्राहक आईडी"); }} पब्लिक क्लास कार्डमैप: कक्षामैप & lt; कार्ड & gt; {सार्वजनिक कार्डमैप () {आईडी (x = & gt; x.Id); मानचित्र (x = & gt; x.CardCode) .Not.Nullable (); संदर्भ & lt; ग्राहक & gt; (x = & gt; x कार्डडाउनर)। लेज़ीलोड ()। कॉलम ("ग्रा

Altering the enabled state of an Android composite control while maintaining its style settings -

I have a custom button that I have implemented as a composite control that is composed of: A FrameLayout in the Root, which is styled with @Android: in order to see style / widget.Holo.Button and to work like a button; Two textViews as the above mentioned FrameLayout, configurable with duplicateParentState = true is that they will appear disabled if I enable it on FrameLayout on the wrong set Sorting XML looks like this:. & lt; FrameLayout xmlns: Android = "http://schemas.android.com/apk/res/android" Android: layout_width = "match_parent" Android: layout_height = "match_parent" style = "@Android: Style / Widget.Holo." Android: id = "@ + id / layout_button" & gt; & Lt; Android: layout_width = "wrap_content" android: layout_height = "wrap_content" android: text = "placeholder" android: layout_gravity = "center_horizontal | top" android: duplicateParentState = "true&qu

How to persist android LatLng object with ORMLite? -

There are some problems trying to continue the following classes on Android: @dibesfeld Private INF; Name of the @DatabaseField Private String; @DatabaseField Private String Address; @ DatabaseField Private Wide Long Place; @ Database Field Personal Float Rating; The problem is that the Location field belongs to LatLng which comes with Google Maps Android Library so I do not have access to it. When I try to continue this class with ORMLite, I am getting the following exception: java.lang.IllegalArgumentException: ORMLite to class com.google.android.gms.maps No way to store for address field location. Model.LatLng Use another class or a custom persister Do anyone know how to solve without changing this type of space? I have tried to make a custom persister, but it is not clear how this is done correctly with the examples given by the document. Thank you You should create an ORMlite unit like the Lerting entity and store one Should and should be added in the contex

android - TCP & UDP sockets using the AndroidAsync library -

I'm looking for an example of using Android Async Library to create a simple socket or datagram socket. The examples of this use have not been included in the sample, test, and examples given on the homepage in the GIT repo. I see the socket channels on the Vapor and the parts of the Datagram channel, but they do not have a public constructor. I believe this can be done using more methods. Apart from this, SSL can be used to implement.

php - Grab variable outside from within closure -

इस बंद को ध्यान में रखते हुए: $ users = user :: with (array ('posts '= & gt; फ़ंक्शन ($ क्वेरी) {$ query- & gt; आदेश बाय (' बनाया गया ',' वर्ण ');})) - & gt; प्राप्त (); मैं $ query को मिलता है (जैसे - & gt; मिल ('क्वेरी') < अपडेट : यह स्वीकार्य उत्तर के लिए अनुवर्ती है। $ query- & gt; getRelation () टिप। $ query = पर आधारित नीचे दिए गए कोड के परिणामस्वरूप कोड है। टिकट: (सरणी ('उपयोगकर्ता' = & gt; फ़ंक्शन ($ q) का उपयोग करें ($ खोज) {$ q- & gt; जहां ('नाम', 'पसंद', '%'। $ खोज '%') - & gt; या जहां ('उपयोगकर्ता नाम', 'पसंद', '%'। $ खोज '%');})); $ query- & gt; लौटें, जहां ('user_id', $ query- & gt; getRelation ('उपयोगकर्ता') - & gt; सूचियों ('आईडी')) - & gt; पृष्ठांकित करें (10); अन्य शब्दों में से किसी एक को ईलोकेंट में प्राप्त करने के लिए। < p> यह मेरे लिए कोई मतलब नहीं ह

c# - Page navigation WP8.1 -

I have created an app for WP8 and I have a page navigation such as navigation service Navigate (new URI (...)) and worked well. I am now trying to develop a WP8.1 app and can not understand how it is going. I get the following error The name 'Navigation service' is not present in the current context. . I have two pages and I want to navigate between them. How can I do this? What changed? To navigate to the main page. एक्सएमएल, you can use the frame navigational (typef (menopause)); I would recommend reading

javascript - Cannot seem to find a solution for jQuery $.post -

'SELECT * से तालिका WHERE id & lt; '$ यादृच्छिक' आदेश आईडी आईडीईसी लिमिट 1 '' आपका सम्मिलन लाइन 9 पर गलत है: $ db- & gt; क्वेरी ('SELECT * से तालिका WHERE id & lt;' $ $ $ यादृच्छिक। 'आईडी डीईएससी सीमा 1 से आदेश'); । PHP में संपालन ऑपरेटर है। और जब तक आप एसक्यूएल इंजेक्शन का आनंद नहीं लेते हैं, तब तक मैं इसे पोस्ट इनपुट से बचने का सुझाव देता हूं आपका $ db ऑब्जेक्ट यह आपके लिए है।

graph - While loop, cout only the shortest path C++ -

Shows me the output shortcut of the graph from one peak to another. The production of that inspiration is in all ways, how to move from one over to another. Maybe I'm tired, but I can not solve it, thanks for help zero search path (string source, string trgt) {vector & gt; Path; Top * source = name_to_vertex [src]; Top * target = name_to_vertex [trgt]; path.push_back (pair & lieutenant; header *, interp (source, 0)); From queue & lt; The vector & lt; Pair & lt; Top *, integer & gt; & Gt; & Gt; Q; q.push (path); Int i = 1; While (! Q.empty ()) {path = q.front (); q.pop (); Top * last_odef_path = path [path.size () - 1]. Fast; If (last_nodeof_path == target) {if (path.back (). Second & lt; 1) // second door pozisia etteraa {cout & lt; & Lt; "Path:"; print_path (path); Cout & lt; & Lt; "\ N"; }} Set & lieutenant; Edge * & gt; :: Iterator; (This is = last_odox_path-> edges.bgi); this! = Final_odox

ios - Fix UIBarButtonItem dimming from a master controller -

Image
I have found a strange bug which I hope is not the OS problem. I have a partition view controller and when I am in landscape mode, the back button button items appear properly. However, when I tell the master controller all the time button items from the picture, they are dimmed. I do not have any code that sets this back button item, but they are set up using the default behavior. In this master controller I have many levels and they retain slow behavior later. Any ideas? Some controllers have some code tintAdjustmentMode is set to UIViewTintAdjustmentModeDimmed and it has never been reset to UIViewTintAdjustmentModeNormal (or, and, properly, UIViewTintAdjustmentModeAutomatic ) . You should try to understand why it is, but in any case you can work around it by resetting yourself. Edit I had another idea: maybe the buttons are not dim but tinted. In iOS 7, if you set tintcolor for one time It does not tint the bar, but the bar button tint the item is easy to g

table - KDB; stripping characters from column of symbols -

Any ideas what to do well in KDB? Consider the table X: ([] a: 1 2 3; b: `abc11`abc22`abc33; c: 10 20 30) I have now taken a new table Y. "ABC" from the symbols in the second column, such as: Y: ([] a: 1 2 3; b: `11`22`33; c: 10 20 30) q) T: ([] a: 1 2 3; B: `ABC 11` BC 22 BC 33; C: 10 20 30) Q) Tabasi ---------- 1 ABC 11 10 2 ABC 22 20 3 ABC 33 30 Strip the first three letters: q) Update $ 3_ 'string bee from tabc ------ --- 1 11 10 2 22 20 3 33 30 or search and replace: q) update $$ ssr [; "abc"; ""] Each string of tabc b --------- 1 11 10 2 22 20 3 33 30 If the table is large and there are several repeating items, consider using it. Q.fu: q) T: 1000000 # ([] A: 1 2 3; B: `ABC 11` BC 22 BC 33; C: 10 20 30) Q) \ t R1: Update `$ 3_ 'from string BT 111 quintals) \ t r2: Update .q.fu [{` $ 3_'string x}; b] T5Q) r1 ~ r2 1b

mysql - SQL - Query multiple rooms with different Adults/Children per hotel -

Image
I have a simple query where I select the X space available with the X ad + x children per hotel that matches a date range, but I have difficulty finding out how to ask the list of rooms of each hotel: 1 with 2 adults 1 room with 2 adults / 1 children My query here Is: < / P> SELECT COUNT (pl.day) AS day, P.Property_ID AS Hotel_ID, P.N.A. AS HOTEL_NAME, Arkrum_nam AS Room_Name, Arkrum_taip_aidi AR Room_ID property P Join INNER room_type r ON p.property_ID = r .property_ID and (r.max_adults> gt; = 3 and r.max_children & gt; = 0) pl .room_type_ID = Join the R.Room_type_ID and (pl.day> = "2014-07-07" and plan on pl.DAY edit How do I 'no_of_room' in SELECT Code> Add, it is different by the number of rooms, rent to room_types , the example of a room Example: Array ([Room_Price] => 160.00 [day] => 4 [hotel_id] => 1 [hotel_name] => Hotel Alfa [Room_Name ] = & Gt; Room Type C [Room_ID] => 3 [Max_Adult] =>

python - manage.py flag to force unattended command? -

I am reading this tutorial: And I'm working to organize everything Then there is one phase of this tutorial which is driving me crazy: Next, we will configure the graphite database. Go to the graphite webapp directory and run the database script: < / Blockquote> cd / opt / graphite / webpage / graphite / pseudo file manage.py syncdb As you are seeing, we manage.py have to run and when I ask syncdb about building the super-user. How can I avoid this? Any thoughts? You can use them to disable signals. --noinput - noinput option options to suppress all users, such as ???? Are you sure Confirmation message This is useful if django-admin.py is being executed as an unauthenticated, automated script.

How to set nodemon cli config option '-L' to gulp-nodemon? -

मैंने नोडमॉन-एल (- लेगैसी-वॉच) विकल्प को गुलप-नोडोम के लिए एक नोडमन कॉन्फ़िग के रूप में जोड़ने का प्रयास किया निम्न में शून्य स्ट्रिंग मान के साथ, लेकिन यह काम नहीं किया। कोई भी मदद कर सकता है? gulp.task ('server', function () {nodemon ({script}: 'server.js', देखिए: paths.server, env: {'NODE_ENV': 'विकास'}, 'विरासत-घड़ी': ''})। पर ('पुनः आरंभ', 'लिंट');}); आप ऐसा करते हैं: legacyWatch: true < / code> एक डैश के साथ सभी विकल्प कैमेलकेस के साथ संदर्भित होते हैं जब आवश्यक हो।

c# - How to add a specific value to all class instances? -

अभी मेरे पास निम्न कोड है: सार्वजनिक वर्ग का तर्क {सार्वजनिक स्थैतिक पढ़ना केवल तर्क एपीकी = नया तर्क ("एपीआई_की", सच); निजी स्ट्रिंग _key; निजी बूल _रेक्वार्ड; निजी स्ट्रिंग _value; निजी तर्क (स्ट्रिंग का नाम, bool की आवश्यकता है) {_key = name; _required = आवश्यक; } सार्वजनिक शून्य AddValue (स्ट्रिंग मान) {_value = value; }} मैं क्या हासिल करना चाहता हूं यह है कि जब मैं ApiKeyInstance.AddValue ("apikey") निष्पादित करता हूं; , इसके सभी मानों को जोड़ा जाता है ApiKey तर्क उदाहरण। मैं जो चाहता हूं, उसे पूरा करने के लिए मैं इस कोड को कैसे पूरा कर सकता हूं, या इस लक्ष्य को हासिल करने का एक बेहतर तरीका है? मैं अभी क्या सोच रहा हूं, सिंगलटन का प्रयोग कर रहा हूं, लेकिन यदि हां, तो मैं कोड के संदर्भ के बिना विशिष्ट मूल्य कैसे जोड़ सकता हूं? ( आर्गुमेंट एजीआर = तर्क। एपीआईकेई; एजी.एडवैल्यू ("एआरआर"); ) जैसा कि जॉन ने अपनी टिप्पणी में नोट किया है, ApiKey स्थिर है, इसलिए समान मूल्य सभी ऑब्जेक्ट उदाहरणों में साझा किया जाता है। इसके अतिरिक्त ,

java - Image Resource Gives 0 in Android -

I am developing a small online shopping application for Android which has many items of images, I have a web service The one who gives Android's path to the image in the MD-PDI, my problem here is that I tried this code to get the Image Coder ID, but it always gives me this string uri = "@ drawables / bungalows 1 .png"; int imageResource = getResources (). getIdentifier (Yuri, blank, getPackageName ()); There is no way to get the resource ID, so that I can use it for drawables: Drawable res = getResources (). getDrawable (imageResource); I tried googling, but most of them suggested the above method and it always gives me 0 values. Anybody please help here It would be better to get your images in / asset / folder, and not to use drawable resources. Do it. Because Note: Use of this function is frustrating. If you still want to use your method, try getResources (). GetIdentifier ("bangle1.png", "drawable", getPackageName ());

Append to top and bottom of selected text in vim -

I have the following text (==== delimiter indicates selected text): This is some text in which I am not interested I ===================== This text section is selected ========== =========== This is not an important indent text yet I do not have any interest in this. Now I want to create a VIM function so that when called, it adds up and down at some default text. For example, I would like to end with: This is some text that I am not interested in. This text was added after the phone was selected. In this second lesson, the call added after the same ceremony is not important indent text. Other text I am not interested in this Please note that indentation should be protected (thanks benjifisher How can I do this? It is a bit loose, but it works: Function! Frame () range '& lt; put! = \ "After this other text \ n function call \" \ "'gt; put = \" this other text \ n was implemented \ n after function call \ "endfun Select y

vb.net - Initialize 1 dimensional array of TreeVew Nodes -

I am using TreeView Find method to find a node in the TreeView control. If the node is not found, then I will make it. Later in this process I pass the node in the second process. The search method gives a 1 dimensional array of nodes. When I create a node I need to make it as a 1 dimensional array, so I can pass the same type of thing in the new process. This is where I got stuck. While creating a node array I can not use the new keyword and I am not sure how to start it when I try to use any of my assets, it throws an exception Because it is still nothing I have got around it only by passing the first element of the array given by the Find method, but it is still to annoy me. I am not clear at all and I do not Know what it is. Dim ThisClaim () TreeView.Node As ThisClaim (0) Text = "New node text" You must specify the size of the array when creating it . You should then add the TreeNode object that you add. TreeView.Node '1 as an array of TreeNode (uppe

java - Android Shared Preferences Loading Issue -

मैं वर्तमान में SharedPreferences को लागू करने और ArrayList loadFood () । सार्वजनिक शून्य बचाना (देखें दृश्य) कॉल करने के लिए मेरे पास एक बटन सेट है saveFood () SharedPreferences.Editor संपादक = getPreferences (MODE_PRIVATE) .edit (); पाठ = (पाठदृश्य) (खोजव्यूबीआईआईडी (आर.ड.फीडबैक)); Editor.putInt ("size", foodList.size ()); के लिए (int y = 0; y & lt; foodList.size (); y ++) {editor.putInt (पूर्णांक.टस्टरींग (y), foodList.get (y) .getItemIdInt ()); editor.putString (पूर्णांक.स्टोस्टिंग (y) + "a", foodList.get (y) .getItemName ()); संपादक.आईपीआईआईएनटी (पूर्णांक.ट्रस्टिंग (वाई) + "बी", खाद्य सूची। गैट (वाई) .getTime ()); } पाठ। सेट टेक्स्ट ("सहेजे गए"); } सार्वजनिक शून्य लोडफूड (दृश्य देखें) {int idNum = 0; इंट टाइम = 0; Int आकार = 0; स्ट्रिंग आइटमनाम; पाठ = (पाठदृश्य) (खोजव्यूबीआईआईडी (आर.ड.फीडबैक)); साझा किए गए प्रफ़ेट्स prefs = getPreferences (MODE_PRIVATE); आकार = prefs.getInt ("आकार", -1); यदि (आकार! = -1) {के लिए (

zend framework2 - ZF2 form to change multiple parameters -

For example, using the ZF2 Album Module, I would like to be placed on the index view, which can be enabled. style column and the year column, and we wanted to see the index to have a form with two related elements. The form is a simple form, so we do not want a submit button; Instead, we want the user to trigger the form selection form. Based on the input from the controller router, sets $ style-filter and $ year , and those values ​​1) filter the data sent to the view and 2) set Do a ???? Selected Option of the selected element in the form. How can I do this? I have a lot of questions on which I can not find information: How can I trigger the form action to select elements? This selection in HTML is done by adding tag to onchange = 'this.form.submit ()' . How can I do this in ZF2? How can I indicate what are the options in the selection element? (Current default) option? This is done in HTML by adding 'selected' to an option tag. How can I do this

ios - Find missing objects in NSSet -

I have 2 NSSet, say SetA and SetB There are 3 objects in the set = @ [Object A, Obsubs, Objective]; There are 4 objects in the set SetB = @ [ObjectA, ObjectC, ObjectD, ObjectE]; I have to find out which objects are missing in the set. In a way, I can do it again on every object in the set and find it in the set. Question - Is there a quick way to achieve this goal in which I do not have to walk again on the whole set. Sets are dynamically populated. Use NSMutableSet and minusSet to remove elements in Second set What is the difference for you?

javascript - Using Oembed with Hulu (and understanding JSONp) -

If anyone can release any light in this process, then it would be sweet. Here's the deal. Looking at the Hulu video URL (such as 'www.hulu.com/watch/154344'), I want to use JavaScript (w / jquery is fine) to regain the embed url (i.e.) In addition to this, just you know, I am working on local development in a development environment. It seems that the easiest way to do this is to use the Ombed Service. Hulu offers Ombud service, which is shown. Based on the example shown on the Ombed page, the URL format should be '' for this coordinated information. And if I open that browser, which works! So I tried to run Javascript like this: var url = 'http: //www.hulu com / API / oembed.xml url = http% 3a // www.hulu.com / clock / 154,344 '? $ .getJSON (url, function (data) {warning (data.mbed_rrl);}); But, that does not work, I get an error that says: XMLHttpRequest can not load http://noembed.com/ embed? url = http% 3A // www.hulu.com / watch / 154

java - Assigning a Unicode character with a size of 4 bytes to a char -

मैं एक char को यूनिकोड वर्ण 0x10FFFF असाइन करने का प्रयास कर रहा था , लेकिन यह एक त्रुटि के साथ विफल: सार्वजनिक स्थिर शून्य मुख्य (स्ट्रिंग [] आर्ग्स) {char a = 0x10FFFF; int b = a; System.out.println ("b =" + b + ", लेकिन a =" + a); } त्रुटि: HelloWorld.java:4: त्रुटि: शुद्धता का संभावित नुकसान char = 0x10FFFF; ^ आवश्यक: चार पाया: int 1 त्रुटि अब मुझे पता है कि char के लिए ऊपरी सीमा 65,535 है क्योंकि यह भंडारण के लिए 16 बिट का उपयोग करता है। क्या इसका अर्थ यह है कि एक char को यूनिकोड वर्णों का प्रतिनिधित्व करने के लिए कभी भी उपयोग नहीं किया जाना चाहिए? क्या हमें हमेशा यूनिकोड वर्णों के साथ एक int का उपयोग करना चाहिए? क्या char प्रकार तब अच्छा है? यह जावा में एक ज्ञात समस्या है, और समस्या को इस पते में बताया गया है: जब के लिए विनिर्देश जावा भाषा बनाई गई थी, यूनिकोड मानक स्वीकार कर लिया गया था और चारों ओर से आदिम को 16-बिट डेटा प्रकार के रूप में परिभाषित किया गया था, जो 0x0000 से 0xFFFF की हेक्साडेसीमल सीमा में वर्णों के साथ था

assembly - execv example is segfaulting -

हैलो मुझे निम्नलिखित execv उदाहरण के साथ एक समस्या है: jmp कम callit doit: pop esi xor eax, eax mov बाइट [esi + 7], अल ली एबिक्स, [esi] mov long [ एएसआई +8], ईबीएक्स मोम लम्बी [एससी +12], एएक्स एमएपी बाइट अल, 0x0 बी एमवीएच ईबीएक्स, एएसआई लीए एक्सएक्स, [एसआई +8] लीए एडीएक्स, [एएसआई +12] इंट 0 एक्स 80 कॉलिट: कॉल डॉट # डीबी / / बिन / एसएच # एएएएएएबीबीबीबी ' कोड को सीगफ्ल्टिंग क्यों है? मुझे यह पता चला है: आप हमें यह बताने के लिए भूल गए हैं कि आप इस कोड को कैसे चला रहे हैं और जहां यह दोष है । यदि आप इसे स्टॉक में निष्पादन योग्य बनाने की कोशिश करते हैं तो यह संभवतः पठन-केवल पाठ अनुभाग में समाप्त हो गया है, इसलिए गलती। यदि आप इसे स्टैक से करने की कोशिश की है, तो वह निष्पादन योग्य नहीं होगा, इसलिए गलती।

python - Pandas memory error -

I have a CSV file with 50,000 rows and 300 columns I is causing the following error in Pundes (Python) : merged_df.stack (0) .reset_index (1) looks like a data frame: GRID_WISE_MW1 Col0 Col1 Col2 .... Col300 7228260 1444 1819 2042 7228261 1444 1819 2042 I do not have a bug with dataframes with the newest panda (0.13.1) and fewer rows (~ 2,000) Thank you! Then it takes me to 64-bit Linux (32GB) storage, slightly less than 2 GB. [5]: def f (): df = DataFrame (np. Random.randn (50000300)) df.stack () in In Reset_index (1): [6]:% memit f () Maximum 1: 1791.054688 MB per loop Since you did not specify it will not work at 32-bit at all (as That you generally can not allocate 2GB nearby blocks), but if you have proper swap / memory, then you should work.

vb.net - When I try to Login as a Teacher I get the error : EndOfStreamException Unhandled -

Here is the code for the teacher login, where run once and try to login a valid account to the system If error is done: endofstream expansion will not be compromised Any help would be appreciated Private Sub BTTYOnGinCalik (ByVal sender as System.Object, By Value A Like Systems.AventArgS) Handles BTNTOgin. Click if TxtUsername.Text = "" or TxtPasswo rd.Text = "" Then enter the MsgBox ("Please enter all login details for the account") if the 'filename =' educator ACCaccount.txt "FileOpenStatusT = Incorrect slow file Boolean filefilefile = False fileOpen (1, filename , OpenModa.Input) while Filefound = Incorrect input (1, username) Input (1, password) Input (1, notet) input (1, surname) if user name = TxtUsername.Text and password = TxtPassword.Text Filefound = True End if finished, then Filefound = False Then MsgBox ("Username and Pass Word matches were not, please try again ") Other teachers Menu.Show () Me.Hide () End If Fi

ios - Reset scene in SpriteKit -

I already have two different view controllers in one with a SKScene Find the game and points with the "Play again" button in the second game. When the game is over, then I remove that scene and my problem is that when I click on the "code" and init again, when the user clicks on "replay" If after the game has ended, and after resetting it, a fixed SKSpriteNode was rotated, when I go back to that scene, before removing the view it will be at the same angle Is rotated. -initWithSize is called correctly, so I'm not sure why this is happening. My question is if there is a way to reset SKScene This is like the first game played. Thanks! Yes, make a method that creates a scene in the first place and remembers it if you If there are things that are close, then remove them from the parents before returning their visual creation method. Example: - (id) initWithSize: (CGSize) size {{super initWithSize: size]; [Self-nudegame]; Self return;

c - Sort 2x3 Matrix without using qsort -

My teacher has assigned something that I can not find that qsort We have given 2x3 array, and he wants us to sort each row from minimum to maximum. I do not have permission to use qsort for learning purposes; In my opinion, it is difficult, it is difficult. Even so far away from me; At present, the program crashes, I think this is because when it goes to the third column, there is nothing in the fourth column [j + 1] , hence it gives an error is. #include "stdafx.h" # Include & lt; Stdio.h & gt; Int main () {int x [2] [3] = {{2, 3, -1}, {0, -3, 5}}; // 2x3 matrix; 2 rows, 3 columnless sortmainmax (int b [] [3], int nurv, int nuclum); // function prototype sortManMax (X, 2, 3); Return 0; } For Zero Semenax (Int a [] [3], IntraNerv, Int Newcomp.) {For (Int i = 0; I a [i] [j]) {// swap values ​​if the current number in the current number int temp = a [i] Less than [j]; A [i] [j] = a [i] [j + 1]; A [i] [j + 1] = temporary; } printf ("% i \ t", a [

find last match in column using built in functions in excel vba -

Image
I have Excel workbook with many examples of the same client id, so display more than once in a customer list I want to find the last (closest) example of the client ID, so I can see the same line for additional information. The first example shows VLOOKUP, I need the last one. So, how did I create the last example of a given client id in the function? I do not want to write a macro to do this. Assume that you want to find the last example of the ID "id_1" Values ​​related to the range B2: B8 , then use: = Lookup (2, and 2) in the category A2: A8 1 / (A2: A8 = "ID_1"), B2: B8) If you want to return the last intention of the id " id_1 " Use A2: A8 in category, use: = MATCH (2,1 With / (A2: A8 = "ID_1")) + + ENTER ) If you use "id_1" , = LOOKUP (2,1 / (A2: A8 = "Id_1"), the line number "), line (A2: A8))

forms - python flask ImmutableMultiDict -

यह मेरा कोड है: @ user_bp.route ('/ band', methods = ['GET', 'POST']) def band_details (): include.form.User आयात से Banddetails form = Banddetails () अगर request.method == 'POST' और form.validate_on_submit (): pippo = request.args पीटा में आइटम के लिए प्रिंट सूची '' [[[[[[[[] '') प्रिंट 'सेईटोटो दी क्वि' + स्ट्र (लेन (पिपो)): प्रिंट आइटम रिटर्न "रिजल्ट" रिटर्न रेडर_टामप्लेट ("banddetails.html", form = form, session = सत्र) मेरे पास एक समान रूप है: & lt; इनपुट प्रकार = "टेक्स्ट" नाम = "नाम []" id = "name" मान = "" & gt; मुझे तत्व नाम [] , अंतिम नाम [] प्राप्त करना चाहते हैं, लेकिन मैं वर्णित प्रक्रिया को नहीं समझता फ्लास्क एपीआई में। यदि आप एक HTTP POST विधि का उपयोग कर रहे हैं तो आपको इस तरह से पैरामीटर प्राप्त करना होगा: pippo = request.form.getlist ('name []') यदि आप HTTP GET विधि का उपयोग करते हैं, तो ऐसा करें: pippo =

Weird error while running docker command "no such file or directory" -

I'm new to Docker and I use Ubuntu 14.04. Here's what I have tried: $ sudo docker bridge Ubuntu: $ 13.10 Shadow docker run Ubuntu: 13.10 echo "Hello World" 2014/04/21 20:17:12 Any such file or directory $ sudo docker ps - L Container id image command created condition PORS name 5f7495c94c0d Ubuntu: 13.10 echo 'Hello World' 21 minutes ago (1) 21 minutes ago suspect_rechi The problem is that the command did not come back I think this problem All around The correct problem reported on is This works for me "Linuxmint 17" Only install apparmor-utils I have established Doker with the official repository of Linimimint 17. These are the official repositories of Ubuntu 14.04 Hope it helps.

JavaScript function is only working the first time I call it? -

I was wondering if you can help me troubleshoot problems. Hopefully you will not need a document to use the graphics package to identify this problem, but if this happens, go here. I have the following block of code window.setInterval (function () {mycirc.transform ("t1,1");}, 500); Definitely call the function mycirc.transform ("t1,1") every half-second that function will be mycirc Each unit should translate the x and y coordinate (see Element.transform (see [tstr]). However, when I check my page, mycirc is translated once and there is no effect of the call after it. I've used console.log (...) to test and make sure: window.setInterval (function () {var bb = mycirc .getBBox (); console log ("before conversion:" + bb.x + "," + bb.y "); mycirc.transform (" t1,1 "); var bb = mycirc.getBBox (); console.log ("After coord conversion:" + bb.x + "," + bb.y);}, 500); Courses before change: 1

Java.util.Date null output -

I do not know why my code is giving me a blank for java.util.date Question: Write a test program which creates an account object with an account id of 1122, the balance of 20000 and the annual interest rate of 4.5%. Use the withdrawal method to withdraw 2500 dollars, use the deposit method to deposit $ 3000 and print the balance, monthly interest and the date when this account was created. Here is my code: Import java.util. *; Public class account {private id id; Private double balance; Private Double Annual Interest; Personal java.util.Date dateCreated; Public Account () {} Public Account (Ent ID, Double Balance, Double Annual Interest) {this.ID = ID; this.Balance = Balance; This.annualInterestRate = annualInterestRate; } Public Zero Set ID (Ent ID) {this.ID = ID; } Public Zero Set Balance (Double Balance) {this.Balance = Balance; } Public Zero Set Uncertainty (double annuity interest) {this.annualInterestRate = annualInterestRate; } Public int getID () {return ID; } Public D

html - P tag inside div: Setting margin-top to p tag pushes parent div down too -

I understand why the margin is top of the setting: 100px on the P tag brings its basic element down with it its Can not be determined Anyone got any ideas? HTML: & lt; div id = "sections" & gt; & Lt; Section id = "biography" & gt; & Lt; Div class = "inner left featured" & gt; & Lt; P class = "sectionTitle" & gt; Bio & lt; Br / & gt; & Lt; Small & gt; About me & lt; / Small> & Lt; / P & gt; & Lt; / Div & gt; & Lt; Div class = "infarriage" & gt; & Lt; / Div & gt; & Lt; / Section & gt; & Lt; Section id = "blah" & gt; & Lt; Div class = "inner left featured" & gt; & Lt; p class = "sectionTitle" & gt; Blah & lt; Br / & gt; & Lt; Small & gt; Blah blah & lt; / Small> & Lt; / P & gt; & Lt; / Div & gt; & Lt; Div class = "innerwrite" &

How to get python slicing to work with my c++ array class using SWIG -

I have an Array class defined in Array1D, c ++ which essentially wraps the STL vector class. I have expanded this class so that I can display different elements of the array vector. Here is the relevant code in my SWIG interface file: Namespace CSS {% Template (DBLector) vector & lt; Double> }% Array1D extension {double __getitem __ (int index) {return (* self) [index]; }} This allows me to access individual elements of the array in Python: & gt; & Gt; & Gt; A = array 1D (10) # creates a C ++ vector length of zero with zero-gt; & Gt; & Gt; A [0]> gt; & Gt; & Gt; 0 I want to be able to call a [1: 3] , for example, though, I get a TypeError while trying it : typeError: In the method 'Array1D___getitem__', logic2 type 'int' The problem is that the dragon passes through a slice object when the slice type of getitem calls and your function definition is expecting an int you get getitem a variant of Which PyO

c++ - Parse encrypted file with openssl -

I have encrypted a file with openssl, now I would like to read the encrypted file (actually the file Parsing) without decrypting it. Actually I want to see if there is a certain word in the encrypted file, how can I do it? I searched different blogs and posts and the only solution I can do is to decrypt the file (which creates a new readable file), search for the word in the decrypted file and then delete it. Since I do not need to make a decrypted copy of the file and then delete it, is there any way that I can parse / read the file without decrypting it? I should probably mention that I am using c ++, but I do not think it really matters, am I right? Thanks in advance for all help, you can give me There is no way to parse the file is encrypted (at least if you are right, The weak can not be broken - in this context, "Caesar cipher or XOR cipher calculation" is not as insignificant as "too much everything"). In other words, you have to find a way to decr

apache pig - how to flatten, denormalize in pig -

मैं निम्नलिखित स्कीमा से एक चपटा शामिल तालिका बनाना चाहूंगा titles = FOREACH कार्यक्रम जेनरेट करें (px.pig.udf.PARSE_KEYWORDS (program_xml)) प्रोग्राम: (रूट_आईडी: लंबी, आईडी: बैग {(आईडीटीइप: चारराय, आईडीवल्यू: चारराय)}, कीवर्ड: बैग {(कुंजी प्रकार: चारराय, कुंजी मूल्य: चारार्रे )}); अगर इनपुट है (1, {('x', 'foo'), ('y', 'bar')}, {}} (2, {('x', 'fiz'), ('y', 'buzz')}, {}) (2, {('x', 'moo')}, {}) .. आउटपुट कुछ ऐसा होना चाहिए: root_id idvalue 1 foo 1 बार 2 फ़ज़ी 2 buzz 3 moo मैं सुअर में कैसे करूँगा? परियोजना के पहले दो स्तंभ । एक्स = विदेशी खिताब root_id उत्पन्न करते हैं, आईडी; दूसरे स्तंभ पर समतल करें। y = foreach एक्स उत्पन्न root_id, FLATTEN (आईडी) के रूप में (idtype: chararray, idvalue: chararray); यह आपको परिणाम देगा निम्न स्वरूप में: रूट_आईडी आईडीटाइप आयडेल्यूईईएक्स 1 एक्स एफयू 1 वाई बार 2 x फ़ज़ी 2 y buzz 3 एक्स म्यू आवश्यक परिणाम प्राप्त करने के लिए पह