Posts

Showing posts from May, 2011

matlab - How can I access figure handles outside the function that plots the figure? -

I am using a function that plots several rectangles and stores each rectangular handle in the matrix . Function handles the Mandricks and I want to use these handles so that the aspect of a certain rectangle can be changed. Is this possible?

sql - Query showing ID instead of description -

It works fine until I start using union all! Here is the use of classified because I do not have permission to share too much information This radian must show the utstrom and not the id. I really do not have a clue why this happens ... look-up table = ID Description 1 classified 2 classifieds 3 classified 4 graded 5 6 Classifieds 7 classified 8 Classifieds 9 categories Code = Select Count (Hertoetsing [Reden uitstroom1]) as [Aantal Uitstroom 2014], (Hertoetsing. [Reden uitstroom1]) as [Reden Uitstroom] from Klantinformatie where Klantinformatie.KlantID = Hertoetsing.Klantid on Hertoetsing Join Insider (((Year (Hertoetsing . [Datum uitstroom1])) =) Group by Hertoetsing. [Reden uitstroom1] Do UNION select all count (Hertoetsing. [Reden uitstroom2]) as [Aantal Uitstroom 2014], (Hertoetsing. [Reden uitstroom2]) as [Reden Uitstroom] Klantinformatie Join within Klantinformatie Hertoetsing .KlantID = Harotosing Clintid WHERE ((((Years ertoetsing. [Datum uitstroom2]))) G...

javascript - how to make a modal and slideshow for each image gallery? -

I have several galleries, there are ten images per gallery I used bootstrap and did something like code below but Moving Image & lt; Img data-toggle = "modal". "Data-target =" #maymodel "width =" 200 "hect =" 200 "src =" image / 10001281_1418834638375344_6048578890971989138_n.jpg "> gt; & lt ; Div class = "modal fade" id = "mymodal" tabindex = "- 1" role = "dialog" aria-labelbedby = "myModalLabel" aria-hidden = "true" & gt; div class = "modal- Dialog "& gt; & gt; img src =" image / 10001281_1418834638375344_6048578890971989138_n.jpg "& gt; div class =" modal-footer "> button type =" button "class =" btn btn- Default "Data-Dismiss =" Model "& gt; Close & lt; / button & gt; & lt; / div & gt; & lt; / div & gt; & lt; / div & gt; & lt; / D...

ios - Present ViewController on UISplitViewNavigator's MasterViewController -

मैंने SplitViewNavigator टेम्पलेट का उपयोग करते हुए एक नया XCode प्रोजेक्ट बनाया है। MasterViewController के नेविगेशन में से एक में कॉन्फिगरेशन व्यू नियंत्रक (आईफोन पर पूर्ण स्क्रीन, आईपैड पर पॉपअप) प्रस्तुत करना चाहिए। इस कॉन्फ़िगर नियंत्रक को एक अलग स्टोरीबोर्ड (फ़िल्टर.स्टोरीबोर्ड) में बनाया गया है। इस स्टोरीबोर्ड में मैंने मंच पर एक दृश्य नियंत्रक खींच लिया और इसे नेविगेशन नियंत्रक (एडिटर -> एम्बेड इन -> नेविगेशन नियंत्रक) में एम्बेडेड किया क्योंकि कॉन्फ़िग में ये अलग-अलग स्क्रीन शामिल हैं, जो उपयोगकर्ता के माध्यम से जा सकते हैं। नेविगेशन नियंत्रक को स्टोरीबोर्ड आईडी "फ़िल्टरनैव कंट्रोलर" दिया गया है। मैंने अन्य एप्लिकेशन में यह कई बार किया है, इसलिए यह काम करता है। दुर्भाग्य से, मैं इसे स्प्लिट विज़न न्यूजगेटर टेम्प्लेट के साथ काम नहीं कर सकता। बटन दबाए जाने के बाद मैं फिल्टर नियंत्रक को खोलने का प्रयास करता हूं, इसके बारे में कुछ खास नहीं; UIStoryboard * filterBoard = [UIStoryboard storyboardWithName: @ "फ़िल्टर" बंडल: शून्य]; UINavigationCo...

jsf - Getting a NullPointerException while Partial rendering via FacesContext -

I have a strange behavior where I am getting NPE while refreshing the page using the context of the face Bean is in the Request Scope then you want to refresh the page after clicking on the command button. I have tried to 'update' but it is behaving strangely on my page. Error: Partial ViewIntex Implave $ ForexServicesVisitClite. Widget: java.lang.NullPointerException This is my JSF page: & lt; H: form id = "form" & gt; & Lt; P: Message autoupdate = "true" /> & Lt; H: Panel grid column = "4" cellpadding = "5" id = "panel grid" sang = "true" & gt; & Lt; P: For output LLL = "s00" value = "# {tk.expense_keyword}" /> & Lt; P: Input Text id = "s00" value = "# {expense.form.keyword}" /> & Lt; P: For output LLL = "s02" value = "# {tk.expense_creatorId}" /> & Lt; P: Input Text id = "s02" value = ...

vtk - paraview RequestData called once -

I created a parachiqua filter in C ++. The problem is that when I press the filter button and show me the result Yes, but if I try it again (after making any changes in the property input input), the RequestData function is no longer called. This problem does not appear anytime when I used the Python program filter? Juan Ensure that you are calling - & gt; Modified () in the method that is called after property, changes such as zero set (double value) {... this- & gt; Revised (); } You might want to check that the value of your filter or some other state has changed which may be the output of the filter before calling this-> Modified () Can change . Otherwise the filter can unnecessarily update and produce exact same results. For macros, you can see the vtkSetGet.h (see #define vtkSetMacro (name, type) ).

ios - Problems with storing UISwitch state -

I have been having trouble keeping a setting in my app that made me status of I in fact, UISwitch default is turned on, but when my app is updated to a new version, it is stopped I found out that if the user has opened the Settings menu in version 1.0, so it is no problem, but if They have never changed the setting, or set The eing menu is also opened, so this is a problem. Therefore, this one issue should be somewhere in the viewWillAppear () , but I do not know what it is. The code I switch is for state storage really looks overcomplicated This is the code I have in my settings menu. @IBAction function dupOffOnSwitch (this: AnyObject) {if dupSwitch.on == true {autoAdjust = true println (autoAdjust)} else {autoAdjust = false println (autoAdjust)} NSUserDefaults.standardUserDefaults ( ) setBool (autoAdjust, forKey: "autoAdjustSettings").} viewWillAppear function overrides (animated: bool) {autoAdjust = NSUserDefaults.standardUserDefaults (). boolForKey ( "autoA...

.net - how much its feasible to add reference EXE instead of dll -

इस सवाल का पहले से ही एक उत्तर है: 1 जवाब एक परियोजना जो पूर्ण हो गई है विज़ुअल स्टूडियो 2010 (vb.net) 3.5। नेट नाम: फील्ड मैनेजर मैं अपने अन्य एप्लिकेशन में परियोजना के ऊपर एम्बेड करना चाहता हूं जो मैं उसी विज़ुअल स्टूडियो 2010 (vb.net) 3.5। नेट नाम : अभिव्यक्ति एडिटर मेरा प्रश्न यह है कि डीएलएल के बजाय संदर्भ EXE को जोड़ने के लिए संभव है, बजाय फील्ड मैनेजर परियोजना को कक्षा पुस्तकालय में परिवर्तित करने और संदर्भ जोड़ने के लिए कोई भी समस्याएं हों यदि मैं सीधे फील्ड मैनेजर परियोजना का संदर्भ EXE अभिव्यक्ति एडिटर कृपया मदद! यह पूरी तरह संभव है - यह "संदर्भ जोड़ें" संवाद के भीतर समर्थित नहीं है, लेकिन वह वीएस2002 / 2003 दिनों में वापस आ गया था - मेरा मानना ​​है कि यह पूरी तरह से वीएस 2005 के बाद से समर्थित है। आप यह सोच सकते हैं कि यह बेहतर सामान्य पहलुओं को एक अलग लाइब्रेरी में तोड़ने के लिए, जो दोनों ऐप का उपयोग कर सकते हैं, मान्य है ... लेकिन आप बिल्कुल कर सकते हैं एक exe- आधारित विधानसभा को दूसरे से (या यहां तक ​​कि एक कक्षा पुस्तकालय)। एक त...

vim interpret argument with colon(s) as filename:line:column -

Is it possible to configure VIM in such a manner that if I type Vim filename: 123: 89 This file opens file name in line 123 and column 89? If not through VIM then hack with hack? I'm not sure how to leave the column, but this is the convenience of my age, that's why I Use the "Jump Line" functionality to set up in your .bashrc VIM = $ (vim) function vim {local args IFS = ': 'Read -a args & lt; & Lt; & Lt; "$ 1" "$ VIM" "$ {Args [0]}" +0 "$ {Args [1]}"} It disputed Vim by : , then creates a command line of the form vim & lt; Filename & gt; + 0 to & lt; Line & gt; To ensure that the default line number is zero, +0 a hack. (If you are not using Bash, you can customize it in a script and put it in your own way, or translate it into your preferred shell language. Edit filename: with: colons , use $ VIM .)

java - JavaFX Printable to Image very pix-elated, but perfect to printer -

Image
I have a printable object that prints perfectly fine on the printer, but when I put it in an image Print, so this is a lot pixelated? Printing and an image Personal Page Format Setup Printer () {// Sizing (standard size is 72 dpi, so many inches from this) Double height = 4d * 72 D; Double width = 3d * 72d; Double margin = 0.1d * 72d; // Now lets print it AttributeSet attributes = new HashAttributeSet (); Attributes.add (new copies (1)); Printer Job printJob = PrinterJob.getPrinterJob (); Page Format Page Format = PrintJob.Default Page (); // If there are more than 10 items, the paper size is 6 inches // It will handle 24 different items if (1 == 2) height = 6d * 72d; // set page size paper paper = page format. Gadgetpaper (); Paper.setSize (width, height); Paper .Setmezzleearia (margin, margin, width - (margin * 2), height - (margin * 2)); // Set Orientation and Paper Page Format .setOrmentation (Page Format. Portrait); PageFormat.setPaper (paper); Return page format; } Priva...

apt - Jenkins' /etc/default/jenkins not update safe? -

मैंने जेनकिन्स को apt-get install jenkins का उपयोग करके स्थापित किया है। फिर मैंने / etc / default / jenkins में कुछ बदलाव किए (जो कि, जहां तक ​​मुझे पता है, जेनकिंस सिस्टम उपयोगकर्ता आदि को बदलने का एकमात्र तरीका)। अब मुझे पता चला कि यह फ़ाइल प्रत्येक अद्यतन ( apt-get update का उपयोग करके) के साथ वापस हो जाती है। इसके अलावा मैंने जेनकिंस इंस्टॉलेशन की कुछ फाइलों के मालिक को बदल दिया है (जैसे / var / lib / jenkins , / var / log / jenkins और कुछ अन्य) क्योंकि मैंने उस उपयोगकर्ता को बदल दिया है जिसके तहत जेनकिन्स चलाना चाहिए। इसके अलावा इन अनुमति परिवर्तनों को हर अपडेट के बाद वापस ले लिया जाता है। दो समाधान हैं जो मैं सोच सकता था, दोनों वास्तव में "अच्छा" और साफ नहीं हैं: जेनकिंस को स्थापित और चलाएं किसी भी पैकेज प्रबंधन के बिना मैन्युअल रूप से। एक DPKG- पोस्ट-इंस्टॉल-ट्रिगर लिखें जो हर अद्यतन के बाद समस्याओं को हल करता है क्या किसी के पास इसके लिए क्लीनर समाधान है? दो जवाब मेरे पास होते हैं 1) स्रोत पैकेज डाउनलोड करें जो कि apt- अपने स्थानीय उपय...

java - Can't concatenate Javascript and Struts tag -

I'm trying to create invisible divisions with jQuery, which will be populated by a single stratus tag in the title, but This is giving me invalid indexed property error: invalid indexed property 'niveisRisco [' + + LT;% = CTR% & gt; +] Here I use the code i: $ (function () {var mapaAplicacaoJs = $ ('# MapaAplicacao Area'); On mapaPerfilJs = $ ('# MapaPerfil area'); mapaAplicacaoJs.each (function () {mapaAplicacaoJs.before (div> id id = "nivel_risco_dv" class = "tabindex" title = "& lt; bean: write name =" carteiraSelecionada "property = "CarteiraAtual.niveisRisco ['+ Lt;% = CTR% & gt; +] getDescricao" /> "& gt; & lt; / div & gt;'); & lt; / logic: recurrence & gt; ; & Lt; / logic: current & gt;}); If I type hardcode & lt; div id = "nivel_risco_dv" class = "tabindex" title = "& lt; bean: write name =" ...

jquery - CSS for a class is not working in IE11 only -

I am adding a class error for the AP tag and CSS for that class .error {border: 1 px solid # ff0000! Important; } This error class is added to the element with Jquery is working fine in all other browsers but the class is not adding CSS but in IE11. I can see the class and its CSS in the developer tool (inspecting the text box) but still the limit is not coming. I do not know what is wrong! html: - & lt; P class = "custom-multi-select-items" id = "industry-item" & gt; & Lt; / P & gt; Jquery has been written in a button click jQuery: - $ ('savebtn'). Click (function () {$ ('.custom-multi-select-item'). AddClass ('error');}); P has a css . Custom-multi-select-items {width: 100%; Margin-top: -29px; Background: white; Border: 1 px solid # E8E8E8; Min height: 30px; Padding: 5px; Padding-left: 14 pixels; } try it .. $ ( ('Select custom items'); $ ('# industry-items'). AddClass ('...

java - How to declare a type being a list of entries in Swagger -

I want to declare a type of area "manually" to be a list of entries in Swagger. Assume that I have completely custom apply the list of public class MyCustomList & lt; MyValue & gt; {....} Now I have an ideal class @ data public class MyModel {public MyCustomList problematic field; } I understand that there is a list (array) of MyCustomList MyValue . In @ApiOperation I was set @ApiOperation (value = "..", response = MyValue.class, responseContainer = "list ") I believe you complete it with custom model converter You can. See here: For a guide to manually change the sections, But in short, it looks like this: import com.wordnik.swagger .converter. *; String "jasonString =" {"+" \ "id \": \ "date \", "+" \ "attribute": {"+" \ "value \": {"+" \ "required \": true, "+" \ "Description \": \ ...

c# - Issue in getting the textbox value -

In the code below I have a text box that is kept false view and its Default value 0 . When I first click on the button, it accepts 0 and next time it is empty 0 value has not been taken for the next time. Please help me do this. & lt; Asp: UpdateProgress ID = "UpdateProgress2" AssociatedUpdatePanelID = "productPanel" runat = "server" & gt; & Lt; ProgressTemplate & gt; Loading details ... Please wait & lt; / Progress icon & gt; & Lt; / ASP: UpdateProgress & gt; & Lt; Asp: UpdatePanel id = "productPanel" runat = "server" & gt; & Lt; ContentTemplate & gt; & Lt; ASP: text box id = "txtUnusableLoss" text = "0" runat = "server" view = "wrong" style = "width: 70%" onkeypress = "return number (incident, false);" & Gt; & Lt; / ASP: text box & gt; & Lt; / ContentTemplate & gt; & Lt; / ASP: UpdatePanel ...

class missing after Importing spring framework project in eclipse -

I'm new to the Spring Framework and with the basic knowledge of Maven. I tried to import the Spring Project in Eclipse (File - Import - Current Maven Projects) I think, 1) This project has not been imported as a Java project. That is, if I right click on the project and see the properties, then I do not get the options like Java build path, Java compiler etc. 2) I am looking for a particular class in the project, but it is not there, though I can see that class from the terminal. So this is very much in the project. So why can not I see it in eclipse? Why is this not imported with the project? Please note that I am using Eclipse_June and I can compile the project with Maven on Terminal and Eclipse. There are some things that could have been wrong, it is difficult to say what happened. If you have imported, then you are likely to be built on the command line ( mvn clean install ), it is good that it does not have much trouble importing it into IDE Once the settings...

asp.net mvc - Weird Behavior Deploying Azure Cloud Service -

I have a very strange issue for the deployment of blue cloud service. I have 2 examples with 5 examples and 1 cache role. Examples are: When I'm deploying my MVC 5 Webber from the blue portal, then the deployment begins on the first web frequency, then it tells me that "the role can not be started" due to an error And stop processing other instances. I did an RDP for example, for example, and in fact the MVC application throws an error that it can not find a fixed view file "layout page" ... " Could not be found "The specified path exists so I did an iisreset and the application worked. After manually deciding the issue, the deployment continues for the next example and the unsuccessful frequency becomes "ready". Any idea why things are not deployed smoothly or why an iisreset is necessary? It is relatively recent around a month. My environment is: .NET Framework 4.5.1 MVC 5 Blue SDK 2.4 for VS 2013 . Thanks for the hel...

ios - Full Screenbackground Image in Swift -

Image
I currently try to get a fullscreen background for my iOS project, that means the image is completely background Should spread. I currently try two things but will not work as a solution. 1) self.view.backgroundColor = UIColor (Pattern Image: UIImage (named: "Background. Png")!) It sets the background image only on the actual image size and repeats it in X and Y, it does not spread the image to full screen. 2) Use a UIImage and make the breadth and height equal to and use the fill factor, it also does not provide the desired solution and also uses a lot of memory Is there any other So you always have to do it with autolay There are two ways 1) An inequality is shown in the images below with an addition of the barrier. 2) Or leading the trailing space and top, by adding space restriction below and vertical and horizontal barriers but no clear height or width barrier.

access hashes of hashes values in ruby -

I have nested has been in Ruby and I need to reach its specific value. My hash resembles the bottom hash = {"list" = & gt; {"0" = & gt; {"Date" = & gt; "11/03/2014", "item1" = & gt; "", "Tiem2" => "News", "Item 3" = & gt; "", "Item4" = & gt; "", "Item5" = & gt; "video", "type" => gt; clips}}, "1" => {"Date" = & gt; "11/03/2014", "item1" = & gt; "", "Tiem2" => "News", "Item 3" = & gt; "", "Item4" = & gt; "Each key needs to reach the value of" type ". I," item5 "= & gt;" video "," type "= & gt;" program "}}} I tried with the code below, but I'm not sure why this does not work. hash_type = hash ["list...

spring - Mongodb combine collections in java, and retrieve specific documents -

I am trying to combine two collections in the MongoDB in Java. The structure of my archive looks like this: Global + - 100k Rows: _id | Registration | Type _________ | ______________________ | ____________ 018024 | 5 A-IAA A306 Type + - 1000 rows: _id | Wake up Code | Manufacturer | _________ | _____________ | _______________________________ | __________________ | A306. H | A300B 4-600 / C4-600 / F4-600. Airbus | I have to insert it dynamically, so that I can update it. I am using a webcrawler system to retrieve this data, and so my program wants to be able to update it and retrieve it. I'm looking at mongodb refs and embedded documents and in my structure while embedded will look like this: _id: 018024 Registration: 5A-IAE type: A306 { _id: A306 awake: H type: A-300B4-600 /. Producer: Airbus} My question is: How can I get many such data in MongodiBee from multiple collections and how will I update it dynamically? Thanks in advance for any input. ...

html - DIV center align -

I have a div, which has an alliance with all the content centers: & lt ; Div align = "center" & gt; & Lt; Table & gt; & Lt; Tr & gt; & Lt; Td> ..... But alignment is not a more valid feature, therefore, I have changed to class or genre: But this is not the same as before. The table is now aligned to the left and not for the center. Clear text-alignment is not equal to the old center feature. How do I write style to get the same functionality as the first with the middle attribute? simply margin: 0 auto your table Centered on View

c# - Html.DisplayFor adds text in quotes? -

Image
अगर मैं कुछ कोड इस तरह जोड़ता हूं: & lt; div & gt; @ Html.DisplayFor (x = & gt; x.SomeTextField) & lt; / div & gt; ... इसे इतनी तरह प्रदान किया गया है ... & lt; div & gt; "SomeTextFieldsValue" & lt; / div & gt; यह अजीब है क्योंकि यह एक टैग का उपयोग नहीं कर रहा है जैसा मैं उम्मीद करता था ... कहते हैं, एक लेबल टैग। यह दोहरे उद्धरणों का क्या उपयोग है Html में क्या यह टैग के लिए लघुकथा है? इसे googling द्वारा एक जवाब खोजने के लिए मुश्किल है। मैंने इस प्रश्न को पहले एक प्रस्ताव बताया और यह पहले से यह उत्तर दिया गया थ्रेड (रिचर्ड एवरेट, रेन्यूज़, सोनर गोनुल द्वारा): कृपया फिर से ऐसा करने से पहले अपना प्रश्न पढ़ें और आप देखेंगे कि यह एक ही सवाल नहीं है? स्ट्रिंग के लिए DisplayFor द्वारा उपयोग किए जाने वाले डिफ़ॉल्ट प्रदर्शन टेम्पलेट जेनरेट किए गए HTML में डबल उद्धरण नहीं जोड़ता। इसलिए मुझे दो संभावनाएं दिखाई देती हैं: कुछ टेक्स्टफ़ाइल की कीमत में उन दोहरे उद्धरण हैं आपकी प्रोजेक्ट में एक कस्टम Displ...

Script install fonts powershell -

I have a script that installs fonts, after checking that fonts exist or not. However, I'm having trouble validating the existence of the font. $ font = 0x14; $ Pathpath = "c: \ fonts"; $ ObjShell = New Object - Com Object Shell Application; $ ObjFolder = $ ObjShell.Namespace ($ FONTS); $ CopyOptions = 4 + 16; $ Copyflag = [string] :: format ("{0: x}", $ CopyOptions); Foreign exchange ($ $ in file (Get-ChildItem -Path $ FromPath)) {if ((test-path "c: \ windows \ fonts \ $ $ $ $. $ $ $ $ $ $ $ $ $ $ $ $ $ ") CopyFlag = [string] :: format (" {0: x} ", $ CopyOptions); $ ObjFolder.Copyhere ($ File.fullname, $ CopyOptions); New item property -name $ file. Full name-path "HKLM: \ software \ Microsoft \ Windows NT \ CurrentVersion \" font-type property- value $ $ file}} If your statement is incorrect if ((test path "c: \ windows \ fonts \ $ $ File.name)") -X $ wrong) test path ritter If the file exists and if ...

Lua How to replace 1 specific character inside table without whole string? -

How to show a specific character already. table {"abc"} return string. All (table [1], 2, 2) b but change the entire string Without a table, you want to change 1 specific character. from table = {"abc"} table = {"axc"} In Lua, the string is strictly irreversible, so they not changed You can. In this way, the only way to complete this is to create a new string with the content and insert it in the table [1] . Whether it is inside the string table or not, it does not matter. This will be done, for example, by beginning and ending the string and adding them to the new part: local index = 2 - the character that we Table [1] = string. Sub (table [1], 1, index-1). "X" .. string.sub (table [1], index + 1, -1) This will remove all the characters from the beginning of the string, as long as we want to "substitute", before adding the new character, then the rest of the string Join C in which we do not incl...

c# - Dynamically add TextBlock to StackPanel -

Then I am developing a Windows Phone 8 app in C # using MVVM pattern. I have a screen where the layout should be like this: Text Block Image Text Block Text Block If there is a dynamic list of buttons, then 1> enter a text block Dynamic list of buttons Text block Text block So I'm trying to set it up in the xaml code, and it looks like: & lt; StackPanel Orientation = "Vertical" & gt; & Lt; TextBlock margin = "20,0,20,0" TextWrapping = "wrap" foreground = "# c8d75a" text = "{binding title, mode = double}" height = "46" & gt; & Lt; / TextBlock & gt; & Lt; Image margin = "20,0,20,0" source = "{binding image link}" height = "200" & gt; & Lt; / Image & gt; & Lt; TextBlock margin = "20,0,20,0" textwapping = "wrap" foreground = "# 7e9d83" text = "{binding sub-title, mode = two}" height = ...

android : Google map change color of drivng route on cross -

As I've drawn a driving route with a red color line from destination to a destination on Google Maps . Now I want to follow that path, change the color of that line from red to some other colors (like blue) (I think how to make the marker on the map). Please anybody can suggest me how to ... check this tutorial Polyline Operations Color (blue). Pick the top line and change colors as you would like I hope this will help

python - Indexing a pandas.Panel counterintuitive or a bug? -

I am having trouble understanding the indexing of a pandal. Panel (3D Data Structure) It says that works as indexing: Obtaining value from a multi-axis object that uses the following notation (for example Using .loc on, but applies to .iloc and Ix too) Any of the axes can have an empty slice: Axis left out of the specification is considered:. (Egploc ['A'] is equivalent to PL ['A',:, ::]) p.loc [item_indexer, major_indexer, minor_indexer] P> Now I will assume that the order of the remaining index is not changed when the dataframe is drawn, but: (2, 3, 4) PILOok [0]. Size # Basic order out [5]: (3, 4) p. LOOM [2]:, 0] .shape # transposed out [6]: (4, 2) p. Loc [:,:, 0] .shape # transposed out [7]: (3, 2) p. Iloc [,, 0, [8]: (4, 2) p. Loc [1:, 0,:]. Size # Slicing item_inxter, then move out [9]: (4, 1) P.I.Looc [1:, 0] Expecting to get .shape # in the same form [9], but instead of slicing minor_enxor Line Out [10]: (3, 2) Any idea why dataframe is c...

Remove All Untracked File Into Git Directory? -

Hello my problem is simple. I am trying to remove all untracked files in my current git directory. I use some GIT command but it is not working properly that command looks like that. git clean -f, git clean -f -d, git clean -f -x, git clean -f -x, but none works properly When I type the GIT status, then any untracked file is not deleted from the directory. Due to this problem, I do not push my work on the git. Someone helps me As your problem, I understand that you do not want to commit some files when they are ready If you are using any git client, you can try adding them to ignore the guit push screen or unchecking them.

datastax - Does the Cassandra Object Mapping API currently not support updates? -

I'm using with Cassandra 2.1. In the API it appears that UPDATE of one line is performed in these steps: Obtaining the object (Mapper.get) Save the object (Mapper. Save) In the SELECT Insert . Will the existing CQL3.1 UPDATE statement support for the partial updates in the Cassandra object mapping API be done at a later stage? I want to save from the initial reading. You can get an accessor for an update coding Transparent save versus updates requires either proxy and field interceptor (complex impliment) to be used, or Due to this, actually concealing pre-saving anti-pattern Using the accessers will give you everything to show the magic behind the mapping module. Be it This topic has been discussed here:

hadoop - Hive Batch mode List of exit status? -

When executing a hive query in batch mode, we have a list of possible standard return codes, which are used to correct error logging and monitoring. can be done ? Example: Some- Some will return some_samplescript.hql 0 - Successful execution 1 - Removal performance error (such as Table Alahi Execution) 64 - Syntax Error (such as Statement If we know the list of return codes, then it will be easy for proper monitoring / notification. There are some common rules that were released in Hive 10 which were completed under this corpus. This is just general guidance Normally the hive error will not give you the actual problem and you will need to look at the job logs for more details.

java - HashMap ContainsKey vs contains -

I have a scenario like the following. I have a utility class with foll method. Public Stable Maps & lt; String, string & gt; GetFeeList () {Map & lt; String, string & gt; Map = new hashmap & lt; String, string & gt; (); Map.put ("student list", "student list"); Map.put ("student grade", "student grade"); Return map; } I am calling this method in JSP and calling it with another value like below, Anything other than the feelist below the Mac Do not have class.getFeeList () to request and return to JSP. & lt;% if (fee listingsmake containsKey (vo.getSubClassDesc ())) {%> & Lt; Td align = "center" & gt; 0 & lt; / Td> & Lt;%} else {% & gt; & Lt; Td align = "center" & gt; Test & lt; / Td> & Lt;%}% & gt; Some of the above vo.getSubClassDesc () may be suffixes like 'Student list as of today', 'Student list as last month' .... ...

reporting services - SSRS Category Grouping -

I am trying to create a grouped class on bar chart in SSRS. My query is: Selection as separate claimant, transaction, date, event_station, event_name, eventstatus (DDI, dudied, finned) +1 Do; (DATEDFF (WK, Duedate, filedate) * 2) - (When DATENAME (DW, duedate) = 'Sunday' 1 and 0 end) - (When the matter is DATENAME (DW, FileDate) = 'Saturday', then 1 and 0 end ) Is filed as wkends from my table = (select the maximum (filed from my table) and filet & gt; Duedate In reporting services, I have reduced the value of "wkends" to decrease the "count" field "days". It tells me how many days before the due date. On my bar chart, I want bars for 0-5 days, 5-10 days, 11-15 days and 16+ days. I have tried the following expression, but I am not able to sort columns or bars on the graph. = IIf (field! Total_account.quality.low; = 5, "0-5 days", iiF (field! Total_eded_design value Thank you in advance, your help. I am usin...

jquery - Javascript array datatable conditional -

I have a json string that is feeding the javascript page, I'm trying to render the screen, the following code , But my conditional argument is not working, what do I want to accomplish if the data is not returned, print the blank space, otherwise show and icon. Thank you. "SCHEDULES": {"RCOUNT": 186, "SCHEDULE": [{"CASEID": 18397020.000000, "SCHEDAREA": "Serge", "LayIITEDRDA": "", "LastDetterStartTT": "",} javascript var diets = []; DietTable.push ("table id = 'datable' class = 'datatable' cellpadding = 0 cell field = 0>", "& lt; tr id = 'dataTableTH' & gt;", "& lt; th class = 'Header' style = 'Text-align: left, white-space: aboper;' gt; diet & lt; / th & gt; "," & lt; th class = 'header' style = 'text-align : Left white space: aboper; 'gt; date time & ...

python - ORM object value as default for model field in Django 1.7 -

Apparently, Junk does not work in 1.7 because the app is now loaded: entity = models.ForeignKey (counterparty, default = counterparty.objects.get (counterparty_name = 'one company limited') .pk, related_name = 'entity') this one django.core.exceptions.AppRegistryNotReady: Models are not loaded yet. Error .. Is there a way to get the same thing in 1.7? It seems that lazy evaluation is a trick, just fetch is an anonymous function, which is said in runtime It appears in the move entity = model.Irganki (counterparty, default = lambda: counterparty.obies.jet (counterparty_name = 'a company limited'). Pk, related_name = ' Entity ') Thanks Tip!

iis - Beginner : Where to copy the asp.net dll file from visual studio? -

I can easily write an asp.net code I hit the visual studio run button and i am in chrome or in another browser I see your website. But how can I do this without Visual Studio? I did not get an XE file, only DLL I think, it should be copied somewhere Idea (any) is to run the program, which is on my local computer (with OPC-data ) A special page causes the show to be like an exe file. To give more information: I want to run some web site code in the CEF (Chromium embedded framework) so that it looks normal executable. It will only run on a local computer (actually a machine). It is stable but some notifications will be provided dynamically by an OPC client. It will be read with VB and will be displayed by ASP.net. The first app reads data by AJAX. So I think what kind of local server (like Vamp) I need, which is to start in the background. Let me WebDev Found a batch file to start WebServer40.exe. But it can not be done correctly A batch file looks like a stone age -> c: \...

java - Dynamically loading jars from remote location -

Is there a framework for this scenario or some solution? I have a webpage that is running when I say Tommet Server, when my application starts, I would like to download some jars which are completely different. Like all external Nexus servers or some things, all those commercial jargons in Jars are required for injection with spring. Why do I need something like this? My application is installed at very different locations. To easily install the latest version of the code on all installations I would like to update only 1 location and all applications are updated once it is restarted. To do this, use your custom class load loader Will be required. The good news is that you do not have to write your own: You can use Java's built-in java.net.URLClassLoader . The bad news is that you have to wire it in a tomcat, for which some code may be required. This is a recommended suggestion: A classloader that extends the WebappClassLoader of Tomcat Add a URLClassL...

html - Why isn't my input box responsive? -

I'm curious why is not it liable? what I have done? & lt; Div id = "DIV_1" & gt; & Lt; Div id = "DIV_2" & gt; & Lt; Div id = "DIV_3" & gt; & Lt; Button ID = "BUTTON_4" & gt; & Lt; Span id = "SPAN_5" & gt; & Lt; / Span & gt; & Lt; / Button & gt; & Lt; Button ID = "BUTTON_6" & gt; & Lt; Span id = "SPAN_7" & gt; & Lt; / Span & gt; & Lt; / Button & gt; & Lt; / Div & gt; & Lt; Input type = "text" placeholder = "your message ..." id = "INPUT_8" /> & Lt; Div id = "DIV_9" & gt; & Lt; Button ID = "BUTTON_10" & gt; & Lt; / Button & gt; Send & lt; / Div & gt; & Lt; / Div & gt; & Lt; / Div & gt; Try your input style with INPUT_8 {Width: 90%;}

Android String-arrays create Item with Id -

How to create an Android XML file like this selection list: & lt; Select ID = ".. T" name = "..." & gt; & Lt; Option value = "1" & gt; Excellent & lt; / Options & gt; & Lt; Option value = "2" & gt; Good & lt; / Options & gt; & Lt; Option value = "3" & gt; Avg & lt; / Options & gt; & Lt; Option value = "4" & gt; Bad & lt; / Options & gt; & Lt; Option value = "5" & gt; Very bad & lt; / Option & gt; & Lt; / Select & gt; Is this code valid? & lt; String-array name = "..." & gt; & Lt; Item value = "10" & gt; Excellent & lt; / Item & gt; & Lt; Item value = "8" & gt; Good & lt; / Item & gt; & Lt; Item value = "5" & gt; Avg & lt; / Item & gt; .... & lt; / String-arrays & gt; If the value of the selected item is f...

c++ - OpenCV double free or corruption (out): Aborted (core dumped) -

Airee is working on the algorithm to find and fill areas on a binarized image, code expected for some work , But I do not know why, after the fourth image, I always get this error: * '/' error in hale: double free or corruption (outside): 0x0000000001ccb610 * aborted (core dipped) This is my code: zero fill regeneration (matte src, met and dist, p Point origin, vb 3b color) {int size = 0; & Lt; Point & gt; Cadena; Cadena.push_back (original); While (! Cadena.empty ()) {point current = cadena.front (); Cadena.pop_front (); Point top, boat, right, left; Top = bot = right = left = current; Top.y - = 1; Bot.y + = 1; Right.x + = 1; Left.x - = 1; VAC3bSirro = VAC3B (0,0,0); If (top.y> = 0 & amp; dst.at (top)! = 0 } {Dst.at (bot) == siro and amp; srcite & lt; uchar & gt; (bot)! = 0) {Dst.at & lt; Vec3b & gt; (Bot) = color; Cadena.push_back (bot); } If (right x. (right) == Sero & amp; src.at (right) ! = 0) {dst.at & lt; Vec3b ...

java ee - Intellij idea 13.1 and TomEE - hot swapping not working -

I am working on a Java project that has been installed on the Tommy server (version: Apache-Tommy-Jocks-1.6 .0.2) & Amp; JetBrains IntelliJ IDEA 13.1.5 Final Edition. And I make everything with Gradle. When I am in Debug Mode (Remote Debugger / Application Server Debugger) and trying to HotSwap (after changing one of the classes and Ctrl Click + F9 ): 3:25:54 PM All files are up-to-date 3: 25:54 pm Loaded class updated Are there. Nothing to reload But I know that the file has changed ... By connecting the clock during debugging, I find that He still has the class. State - no changes have been updated. But when I do the same procedure on the co-workers station, everything is very good, in both ways. (Remote / Application Server) updates the server after the change make . The configuration is similar on both stations (via SVN and manual triple checking) What could be wrong? Thank you.

SOAP request by JAVA vs PROC SOAP in SAS -

We have a SAS code where PROOC SOAP has been deployed to send requests for external systems and A request instead of Proc Socket in SAS It is important to note that PROC SOAP (and PROC HTTP) are only SAS wrappers around Java libraries so you are asking to change the wheel again, though sometimes the SAS wheels Goal is less than ... Solution 1: Write a command line Java program that calls. Is it moved to a text file as input and a text file has been output with the result Solution 2: Write a simple object, use the data phase to create an input file To call the program, a x command and the second data step. Use Java Object Elements to instantiate the object that calls in Java, organize the appropriate variable and run the appropriate method. See the document here: Option 1 is more "old school" sas and it should not be very difficult. Your Java programmer and SAS programmer must agree only on input and output formats. Option 2 is more involved and will need to ...

javascript - Passing `this` to function that accesses property on it gives undefined? -

I'm trying to use parental properties to pass this . I am confused. Am I making something completely clear? Code is compiled properly but it is not returning to the parent as expected. I used this pattern before but Vanilla is in javascript. What can be done with the works declared in the form of a

angularjs - Protractor: .click().then().. failing in Firefox -

I am running a protractor test that is all in chrome, but one has failed in Firefox. I am targeting a list of items and clicking on the first page that you should take to the next page. This works fine in Chrome, but the page changes in Firefox and the expected failure Page Item: this.items = element. All ( Below are snippets of my code. By.repeater ('item in item')); Examination: This should go to the next page while selecting the item (function), (pageObject.items.get (0) Click (). Then (function () {Expect (browser.getCurrentUrl ()). ToMatch (/ \ / my-next-page /);});}); I have tried all kinds of actions but nothing is working. Anyone came to this issue?

How can I run a node.js server -

I'm new to nodes and many things are unclear. As such, for php, I just need an index.php file on the root directory of the server and it can work by itself. However, for a node.js file, do we need it in the "node" command in the terminal? So what if we close that terminal? How can I move it to accept my requests? You are saying that the 'node' command will start a node process that you supply it to. As far as walking, there are several ways to do this. There are lots of CLI libraries that will help you, for example, it is called a , if you are using Linux, then you can easily run the node process as a background process. : node server.js & amp;

pandas - Index column names -

How do I get a list of column names in an index? Example: df1 = pd.DataFrame (np.arange (20). Reshape (4,5)), column = list ('abcde')) df1 = Df1.set_index (['a', 'b'], drop = fail) ABDAB 0 1 0 1 2 3 4 5 6 5 6 7 8 9 10 11 10 11 12 13 14 15 16 15 16 17 18 19 Code> Is there a way to query df1 to get the index column: "['a', 'b']"? This is really simple: df1.index. Names

ruby on rails - Changing Gem Version of Compass -

I updated the version of my compass and it broke other dependencies for a project. Can some please prove the command line code to roll back to compass 0.12.6? I had gogal it before posting it on the stack, but came from empty hands, thanks for your help! Ahh ... Uninstall $ gem list $ sudo gem Compass then select the version you want to remove All versions of Gems are still available on your machine.

when does the activated event fire in windows phone 8.1 WINRT apps -

I have overridden the onactive event in app.xaml, but the handler is never executed Protected Override Zero Current (IActivatedEventArgs Args) {// Test Code} I feel like you start again and activate. In WP8.1 RT it works a bit differently in WP8.0. Please see this is a list in which your app is being activated. For example Open Attached will launch after FileOpenPicker , but after suspension you will not be able to remove it (then resume Do event has been removed). You will not be able to test using your onactivated lifecycle event dropdown. To check this, you have to implement it (take a look at these lifecycle events in MSDN), open project properties, go to debug and do not launch a , but debug it When my code begins Please also remind that your app can be finished by OS (like due to lack of resources), while it is inactive / suspended

javascript - Vertices coordinates geometry after moving in three.js -

I'm starting with 3D manipulation and in three .js I need to understand how to move geometry After the corner coordinates can be updated. I tried to write down this code, but it gives me the original coordinates and is not updated in the new condition. for (var j = 0; j & lt; geometrycontainer.length; j ++) {for (var i = 0; i & lt; geometryContainer [j] .geometry.vertices .length; i ++) {console.log (geometry container [j] .geometry.vertices [i] .x, // courses coordinates do not update in new condition geometry container [ja]. Jometry.virtage [i] ., Geometry Container [J.]. Jametry. Waters [I]. G); Console.log (geometryContainer [0] .geometry.vertices [0] .x); }} You can see the update on the puzzle on the geometry object. You may also need to update normals / face normals

arrays - VB.net Index Out Of Range Exception -

This program loads. Txt divides it by ":", takes everyone and checks them somewhere. Here my code is reached by the end of the list. Private sub-Button5_Click (This is System.Object In the form of E. System.EventArgs, Handle Button5.Click then ListBox1.Items.Count = 0 then MsgBox ("Checking") Other Listbox 1. Items.Connect ToString & gt; 0 then strings are str strrr () as strings str = ListBox1.Items (0) strArr = str.Split (":") in the form of str str.Count & gt; 0 then WebBrowser1.Document.GetElementById ("Email"). SetAttribute ("value", (strArr (0)) WebBrowser1.Document.GetElementById ("password"). SetAttribute ("value", (strArr (1)) WebBrowser1.Document.GetElementById ("Access form-contBtn"). InvokeMember ("click") WaitForPageLoad () Threading.Thread.Sleep (5000) Me.Button2.PerformClick () Otherwise the end of the MsgBox ("Full"), then End End Sub In addition The Me....

jquery - preventDefault is not preventing button from calling method in my class file -

I have a button that preforms a search action on my page. I have a simple ZIP code for 5 digits Using jquery to verify If I do not valid zip code then I am using prevention to stop the search. However, the preventDefault method does not seem to work. It still runs the search even if the zip code is not correctly valid. Here is my jquery code: var j $ = jQuery.noConflict (); J $ (document) .ready (function () {var searchButton = j $ ('[id $ = thefilterbutton]') var isValid = true; search button. Click (function (e) {var zip = j $ ('[Id $ = "ZipCodeFilter"] '). Val (); var reg = / ^ [0-9] + $ /; if ((zip.length) & lt; 5 || (zip.length)> 5) {IsValid = false; console.log ("the length of the zip code is not 5");} if (! Reg.test (zip)) {isValid = false; console.log ("zip no digit");} (! IsValid) {console.log ("zip is not valid, stop processing !!!!"); e.stopPropagation (); e.preventDefault (); return false;}}};}); To pr...

How to correctly create HTML5 audio and video with JavaScript -

I checked out and it seems that in javascript, we can create HTML5 audio in 2 ways, while the HTMLMax video Only one way: Audio: var audio = document.createElement ('audio'); or var audio = new audio (); Video: var video = document.createElement ('video'); But is it true that new video () for HTML5 video? // is not an equivalent manufacturer like: It seems there was no equivalent .. Sorry, now there is no other way to dynamically use other than JavaScript in the video: var video = document.createElement ('video');

java - Using Loops to print patterns -

O people, that's why I'm working on a problem where I need to print 1 2 3 4 5 6 1 2 3 4 5 1 2 3 4 1 2 3 1 2 1 public class set_5_P5_18b {public static zero main (string [] args ) {Int x; String wi; X = 1; Y = ""; System.out.println ("Pattern B:"); Whereas (x which I wrote above the first line of print but I did not know how to modify it to print another, can someone help me? The UO requires a loop from 1 value to external 6. For every value you need an internal loop of X that runs for value 1 ... x and prints the values ​​in one line. Keep this in mind and try to come up with the pretend code first and then the implementation code

c# - get repositoryItemGridLookupEdit parent's currentrow processed -

Text after "div class =" itemprop = "text"> I have a GridView and a RepositoryItemGridLookUpEdit in that GridView I want to show a CustomDisplayText in RepositoryItemGridLookUpEdit private zeros rgluePerson_CustomDisplayText (object sender, DevExpress.XtraEditors.Controls.CustomDisplayTextEventArgs e) {var person = rgluePerson.GetRowByKeyValue (e.Value) person; Var name = person.Name; Var alias = person Name; E. Display text = name + "," + surname; }} The problem is that the person's name (in the main GridView) depends on another cell in the same row, and I do not know how to get the current GridView line The action is being taken (the current line is not working because I need a row processed at the moment) ...... I can not use a gridview event because it will change the cell value, but I Change Text Value Ta said. Does anybody know how to do that? Text after "div class =" itemprop = "text"> You can not get the l...

arraylist - How to find the number of times a specific element occurs in an Array list in Java -

I have computed several times to reveal the specific taste of crisps in a snack machine in the blues Public int calculation (string taste) {int n = 0; Int nrFlavour = 0; While (n & lt; packets.size ()) {if (packets.get (n). Par (taste)) {nrFlavour ++; N ++; } Other n ++; } Return nrFlavour; } I have a bibliography packet in which pack of crripes are objects, which have specific taste. However, when I said that "salt" is called three packets of flavor and I run this method, "salt" is input in the form of flavor, so it just gives 0 as if Square "salt" There are no pack offscaps objects with. Sorry, if that does not mean I'm new to Java and I can tell my problem best I can. :) list holds packet PackOfCrisps Objects, and method takes a string parameter then statement packets.get (n). Comparing par value (tastes) a PackOfCrisps object to string , so the counting variable will never increase. You need to compare the taste st...

Set default shell in Cloud9 Terminal -

I have installed zsh in the terminal and set it to my default shell but I am still running log in bash These are me I also take it in my SSH project on my remote server where zsh is my login shell. What is the setting to change in 9? I thought it! It seems that C9 runs our login sessions under TMUX, in which its default shell command setting = bash is. I created my own tmux.conf with "set -g default-command zsh" line, to run the "unset TMUX" to disable the inherited tmux settings, run tmux and always have the green menu bar and zsh Found a good tmux session with the default shell.

syntax - What does the leading semicolon in JavaScript libraries do? -

In many JavaScript libraries I saw this beginning at the very beginning: / ** * Library XYZ * /; (Function () {// ... and so on While I am completely comfortable with the "Quickly Executed Function" syntax ( Function () {...}} () I was wondering what is the main semicolon. I can come with everyone, this is an insurance, if the library is second , Is embedded in the buggy code, so it "concludes at the latest type of speed bump of the last statement." Has it got any other functionality? This allows you to secure several JS files by adding them to one, so that it can be completed as an HTTP request quickly.

ios - Swift- how to position an item when working with a UIScrollView -

So I currently have a UIScrollView that allows the user to stand at the bottom of the page. I also have a UIBarButton that creates a button in the center of the clicked page, however, because of the UIScrollView I can not tell the button a simple CGRectMake coordination because the "center" of the screen is dependent on how far the user is scrolling down I am not using story boards. Many thanks Need to stay inside scrollwheel Adds to ScrollView's supervision the Button.frame = CGRect (x: scrollView.center.x, y: scrollView.center.y, width: buttonWidht, height: buttonHeight) scrollViewSuperView .addSubview (the Button) If it needs to be inside the scroll view, then you need to calculate the current Y Center. You can add it to the current scrolloff by adding the height of the scrollView And can divide it by 2 currYenter = (scrollView.contentoffset.y + scrollView.frame.size.height) / 2 TheButton.frame = CGRect (X : ScrollView.center.x, y: currYenter, width...

groovy - Execute Grails Filters in Integration Tests -

I was through the integration test document for Grails and I saw this line: Grails Source: Why is that so? If Grails applied the filter it would make my test life much easier. My project uses heavy filters and many of my controllers rely on my filter to do anything. I was thinking about it and it seems that any groovy can use black color Magic automatically performs a filter in an integration test Has already done this, or is it something that I have to write? The environment used for integration testing is run-app Available during; Spring is active, plugins are loaded, a database is available, etc. There is not much server everything except server, no actual request, no servlet filters, and any Grails filters (which are wrappers for spring controller handler adapter s). When testing the Controller you can get a request and feedback for the Spring Servlet API counterfeit classrooms. But none of the actual web request lifecycle is active, it is just simulated. ...

tcpserver - node.js net module pings and messages not happening -

I have two nodes. Js applications that are running together on my server and I do not want to send server-side messages to them native node.js (v0.10.33) module using light net weight I I intend the first app to send the second message. I'm listening to the console log ... , In the first app: var push = ''; Var Net = Requirement ('Net'); Var server = net.createServer (function (p) {p.on ('error', function (err) {console.log (err);}); push = p; setInterval (function () {push.write (JSON ) .stringify ({'f': 'ping', 'data': 'survive'}));}, 1000);}); Server.listen (8008, function () {console.log ('listen ...')}); // A real message can be sent later in the application (this example would require a settime) push.written (JSON.stringify ({'f': 'msg', 'data': 'Hello World'}) ); In other applications I see the console log open var net = required ('net'); Var pull = new...

android - Import sip client module to appcelerator error -

I am trying to implement the SIP client call for the accelerator project. After a few hours of googling, I decided to use So I imported the module for my project but now I am facing a big problem. var sipclient = require ("com.yydigital.sipclient) "); Var sip = sipclient.createSipclient ({// events onregistering: function () {// callback}, transparency fail: function () {// callback}, onregistrationdone: function () {// callback}, oncallestablished: function () {// callback}, on-cloned: function () {// callback}, oneningscall: function (e) {// callback}, online backing: function () {// callback}, online: function () {// Callback}, panic: function (e) {// callback}}); What could be the cause of the error and how can I fix it? By seeing your error, "Create Profile Line Not Found." ... It seems that the module proxy address Not able to apply. Try to rebuild the module and use it, it will definitely solve your problem because I was facing the same er...

Export CSV in powershell with Domain name in title -

We are auditing various networks and there is a need to distinguish between domains. The code I am currently using will export .csv, but I use the title that I have selected so that's what I need for it. To name the CCV file by its domain name automatically. Below is my current code: import-module ActiveDirectory Get-ADObject -filter 'objectclass -eq' user "'-properties CN, DisplayName, Discription | select | Export-csv -noTypeInformation "c: \ ADUsers.csv" Do you want it now Is the original domain included with the current domain, or domain? Current domain name: import-module ActiveDirectory $ name = Go-ADDomain | Select - Expand Privacy NetBIOSName Add-Object - Filter 'Object-A' User " '-piptsize cn, display, discriptio | Select | Export-Csv-NoTypeInformation "c: \" + $ name + ".csv"

java - Array which holds the data of 9000 English Words (Pig Latin Game) -

Image
I am working on a mini project to develop a pig Latin game. I have a text file that has approximately 9 000 English words. I've created a GUI that chooses a word from the list and changes it with some versions and asks the user to guess the words. What should be the best way to store 9000 English words? I do not want to use I / O! An array of string objects are best, you are not modifying the size of the structure and you want to make quick use of any arbitrary element.

windows phone 8.1 - How to disable TextBox MenuFlyout when it is in edit mode -

I am working on an app on Windows Phone. I have the menu split for the text box when the text box is in editing mode, how can I disable menu flyout? (I.e when the user has taped on it and launched the keyboard)? And it is re-enabled when user has edited (when the keyboard is turned off) This is my XAML code:. & lt; Text Box X: Name = "ListItem" Holding = "OnHolding" & gt; & Lt; FlyoutBase.AttachedFlyout & gt; & Lt; MenuFlyout & gt; & Lt; MenuFlyoutItem x: Uid = "DeleteListItemMenuItem" command = "{binding menu command}" commandpamator = "{binding}" /> & Lt; / MenuFlyout & gt; & Lt; /FlyoutBase.AttachedFlyout> & Lt; / Text box & gt; And this is the code behind me: Private ZerosOnListItimesGolding (Object Sender, Holdered EventVerges Algos) {Text Box Text Box = Text Box Forms In the sender; If return (text box == empty); // This event has been removed several times, we...

kubernetes - Google Container Engine New cluster appears to have failed -

I tried to create a new cluster in the container engine in the Google Developers Console. With this beautiful triangle a yellow triangle with an exclamation point, I'm assuming that it means that it is not working. Any thoughts that I am doing wrong? Did you delete your default network? Alpha version of container engine depends on default network when creating VM and root between nodes and you will see error in creating a cluster if you have deleted the default network.

c# - Unable to make Save Dialog Save file -

So I'm trying to save a list of random numbers in a text file, the amount of random number (If they do number 2 input, then two random numbers are written in the file). I have received numbers in output in a text file in Visual Studio's default bin directory, but when I allow the user to select the desired directory and file name and choose to save the file after selecting the save button I do not see the file inside the explorer Here's what this is: Private Zero instrument filebutton_link (object sender, Ivane Aarjis e) {// streamers object Strymwayr Output; Outputfile = file. CreateText ("Random.txt"); // Announce my counter, random object, and create variables to store user input random rand = new random (); Int desired intent; Int.TryParse (numberOfEntriesTextbox.Text, out desired); Int counter = 1; // user input and until user inputs make up the number up to the counter counter (counter & lt; = desired entries) {outputFile.WriteLine (rand.Next (1...

gcc - Compile error in Qt/C++ -

I am trying to compile an example from a library. I have QT installed but I think I have to link it and I do not know how. This error is: G ++ face_writing CPP-O test found in the file face_recognition.cpp: 29: 0: / usr / local / include / openbr /openbr_plugin.h:22:23: Fatal Error: QDataStream: No such file or directory # include & lt; QDataStream & gt; ^ Compilation ends You can add a Qt application directly to g ++ because the app should go first through Qt. If you want to create a QT application from a CMD-line, make sure that you define the appropriate .pro file with QT modules and other third party headers / libraries You want, they can use. For example: QT + = core widgets source = then .po on the command line in the same directory. Strong> Perform the appropriate makefile to the file and ultimately execute create to create the app.