Posts

Showing posts from September, 2015

windows ce - The data necessary to complete this operation is not yet available. - Embedded Compact 7 - Device CP6606-0001-0020 -

मैंने उपलब्ध चरणों का पालन किया है मेरे पास बेकहॉफ़ सीपी 6606 विंडोज एम्बेडेड कॉम्पैक्ट के साथ पैनल पीसी 7. यह एक एआरएम कॉर्टेक्स ए 8 प्रोसेसर है। मैंने एक ही सबनेट पर पैनल पीसी (192.168.xxx.101) और डेवलपमेंट कंप्यूटर (192.168.xxx.102) का IP पता कॉन्फ़िगर किया है। हालांकि, मुझे त्रुटि मिली, डिवाइस कनेक्ट असफल। कुछ वेब अनुसंधान के बाद, मुझे एहसास हुआ कि मुझे डेवलपमेंट पीसी पर विंडोज एम्बेडेड कॉम्पैक्ट 7 स्थापित करना था, जिसे मैंने केवल एआरएम v7 वास्तुकला के लिए किया है, जो मैं एआरएम ए 8 प्रोसेसर के बारे में विकी से पुन: जांच की गई अब, मुझे एक असफल संदेश मिलता है "कनेक्ट करने में विफल - इस ऑपरेशन को पूरा करने के लिए आवश्यक डेटा अभी तक उपलब्ध नहीं है"। मैंने माइक्रोसॉफ्ट का समर्थन करने का प्रयास किया लेकिन कोई भाग्य नहीं था। मेरा कॉन्फ़िगरेशन है; लक्ष्य डिवाइस - बेकहॉफ़ सीपी 6606-0001-0020 () डेवलपमेंट पीसी - विंडोज 7 32 बिट प्रोफेशनल वीएस 2008, एसपी 1 के साथ (इंकल। एंबेडेड 7 के लिए अद्यतन) एंबेडेड कॉम्पैक्ट 7 - यूनिवर्सिटी संस्करण रिमोट टूल्स v1.10 कम्युनिकेशन...

php - How do i make Laravel "remember" what the user last selected in a drop down menu? -

I am creating a filtering feature in an app that with data input from two (on the same page) The filter will drop down menu I want to "remember" the dropdown that is selected by the user and kept him as a defaults. {!! Form :: Open (['method' => gt; 'gET', 'path' => ['path_filter_index']]) !!} {!! Form :: Select ('user', [-1 = & gt; 'all'] + $ users, $ user) !!} {!! Form :: Select ('customer', [-1 = & gt; all '] + $ clients, $ customers] !!} {!! Form :: hidden ('position', 0) !!} {!! Form :: Checkbox ('Status', 1) !!} {!! Form :: submit ('filtrra', ['class' => 'btn btn-primary btn-sm']) !!} {!! Form :: Close () !!} Here is a session based solution. In your controller, the submitter data received: session :: put ('filter.user', input :: get ('user')); Session :: put ('filter.customer', input :: find ('customer')); ...

Selecting values from one table only if a column does not match the values in the column of another table in MYSQL -

I am using this query: SELECT u.name, u Lastname, U.username as user, IMEMO = '7' in iemem and i.user = u.keyid To get all user data, if the user That is the table inmeeting for the ID of that particular meeting (which means the user was present) (this will be why i.memo = 7). Now I have to write another query that let me all the other user's data which were not in that meeting. I have written it like this: select u.name, u.lastname, u.username as user u, i IEMEO = '7' and i.user & Lt; & Gt; U.keyid However with this query I get every user twice !! I can not understand what I'm doing or doing wrong. (Okay, I think this last one can be done with a sub-quote, but I'm hoping for a little more beautiful Was). Any ideas? You can try it with SELECT u. Name, u.lastname, u.username is not U.Cid as a user (selection i.user fROM inmeeting where i.memo = '7')

linux - I want to edit my fortran generated file in fortran -

I have a Fortune 95 program, which writes an array such as this: Do temp_final do MC = 1, N_MC do x = 0, nan y = 0, write m (1, *) x, y, array (x, y) enddo write enddo write (1, * ) TT = In my program, I am writing these values ​​in a file, but between two temperature values, I am writing multiple times (but N_MC time) x, x, y array (x, y) value , As they mc loop Inside, you're going to N_MC steps. As the file is only generated, and the program takes a lot of time to run, so if you can recommend any technique to edit the already generated file and only the first values To keep the set and move them to another file or edit the original file and keep the changes. My file looks like this temporary 0.69999999999999998! (Initial value) 0 -10000000000000000 0 1 -10000000000000000 0 2 -l,0000000000000000 0 3 L,0000000000000000 0 4 L,0000000000000000 1 0 -l,0000000000000000 1 1 L,0000000000000000 1 2 L,0000000000000000 1 3 -l,0000000000000000 1 4 -l,0000000000000000 2 0 -l,00...

algorithm - Time complexity of an+b = O(n^2)? -

I am reading "Introduction to Algorithms" and stuck on Chapter 3, where the authors say "What's more surprising It may be possible that when someone> 0, there is a linear function in a + b o (n ^ 2) "Can anyone prove to prove this? A linear function is a + b O (n ^ 2) By definition: Enough large N , a + b cn ^ 2 , for example C = 1 . Note that O (n ^ 2) is upper bound, but not tight

itunesconnect - how to free unsubmitted iOS app name for App Store use -

I already wanted to rename one of my app in app store and I made it check by app name availability A new app in iTunesConnect Now I have a new iOS app project, which I want my current app and want to remove that new app project from iTunesConnect and make the name of the app free so that I can use it. I have recommended posts on previous SEO and deselecting all areas in pricing and savings, but the new version of iTunesConnect will apparently not save me without specifying at least 1 area. Does anyone know how to do this new iTunesConnect? Thanks - If you want to change the name of the app only, You can change the app's update, when you update the version for your app, you can rename the app and your last app's name will be automatically released

html - How to use Custom Fonts using CSS? -

I've found so many articles and tutorials on the net, I've followed some of them but still do not get the desired result Used to be. / P> I downloaded the font and placed it in my project folder. This is the code I am writing, but this font-style is not changing. @ font-face {font-family: Montereybold; Src: url (font / Montereybold.ttf); } H1 {font-size: 36px; Font-family: Montereybold; } Please guide me what I am doing wrong. Thank you ¿Have you tried to quote the name of the font? Also, upload multiple font formats, for better compatibility. @ font-face {font-family: 'Montereybold'; Src: url ('font / Montereybold.eot'); / * IE9 Compatable mode * / src: url ('font / Montereybold.eot? #iefix') format ('embedded-opentype'), / * IE6-IE8 * / url ('font / Montereybold.woff') format ( 'Woff'), / * Modern browsers * / url ('font / Montereybold.ttf') format ('truetype'), / * Safari, Android, iOS * ...

android - How to use PhoneGap Developer App in Cordova projects -

I am quite new to Cordova, and recently I came to know what is compatible with PhoneGrap and it shows that this app can be used. Even with Cordova, but I do not know how to use it with Cordova. Does anyone know how to use this app with Cordoba? Any help would be great. You will need to install PhoneGrap npm phonegap -g code> and after that You can call phonegap service on your Cordova project.

javascript - Reload entire ember app -

I have an amber app that is just a small part of a larger app being displayed in its division and the rail Is surrounded by an HTML layout created in I would like to be able to reload the Amber app on my default index path and would like to reload its data in a callback in some JavaScript. Amber I find it difficult to do this. I know that inside and amber controllers I can refresh and reload a model but how can I do this when I'm referring to running outside of JS I should be able to do something like this: App.LocationsController.reload () But unfortunately such a function does not exist I can not understand How am I supposed to remove the amber controller in. For example, How do I get inside the controller from the console in the source and reload the data (all the locations)? I can App.Router.router.refresh () but this data does not reload.

accelerometer - unable to implement CMMotionManager with ios app -

I am trying to change the UILBL value if we tilt the device, I try to implement CMMotionManager But I am not working for this, I am using this code, I have added CoreMotion to Lib. #import & lt; CoreMotion / CoreMotion.h & gt; CMMotion Manager * motionManager = [[CMMotionManager alloc] init]; MotionManager.accelerometerUpdateInterval = .2; [Motionmanager startAccelerometer update]; If ([Motion Manager is Accelerometer available] == Yes) {NSOction QE * Q = [[NSOperation QUE Elok] INS]; [Queue setmaxconverter operation count: 1]; [Motionmanager startAccelerometerUpdatesToQueue: Handler with queue: ^ (CMAccelerometerData * data, NSError * error) {CMAcceleration acceleration = data.acceleration; If (Acceleration.A 0.25) {// Touch the device on the left [Self-Setteurelabel: @ "left"]; }}]; } Here's the problem, isAccelerometer is available is always false and startAccelerometerUpdatesToQueue not in the fire "post-text" itemprop = ...

php - Regular expression - avoid the repetition of the sequence of the same letters -

I'm trying to do a check on a password entered by a user working on a PHP website. Less than 8 characters Maximum of 20 characters I want to accept letters, numbers and common special characters like (dot) @ I + $ - _! By this point I have been able to find the correct expression, but now I want to add another rule, where the user can not do the same sequence of letters and Write 1 time. We say that, do not consider duplication of the same letter twice, if the user writes the same string (equal to or more than 3 characters) once again, For example: abcde not valid - Must be at least 8 characters No / Li> abcde1234 Valid string abcd1 abababab not valid - string "now" 2 times or more aaaaaaaa not valid - Ring AAA has changed over helloworld valid - even if letter "l" was repeated twice Any suggestions? I do not know that it is possible to write the correct RegExp, maybe I'm trying to do something unlikely. Be...

ios - UIIView Inside UITableView Change Frame height to 0 or 60 -

I have a UIView on top of UITableView (Drag the storyboard and drop.) I hide and show the scene tried. See standing in place. How can I change the frame of uivew so when this invisible tableview goes all the way up? PS I will provide more information for those who are ready to help. ! [View with hamburger button and Tekstfild] Autolayout with : button and add barrier between your UIView with textField Create reference outlet to the barrier height (it will be "searchViewHeightConstraint" count) UIView and add vertical spacing barrier between UITableView code - when you need to hide UIView - set just 0 its height barrier Self.searchViewHeightConstraint. Constant = 0.f; In addition to letting you need to Story E initial height of the UIView somewhere (as it appears) and when you show UIView If required, set its height limit to this value. without autolayout: UIView frame Save Money height Height 0 set UIView Reduce the y-coordinate of t...

Converting EPUB to PDF with Java -

I want to convert an EPUB document to PDF in Java. I get a lot of questions about converting pdf into ebbaid but nothing is on the other side. Is there a Java library or a command line tool that I can call through Java which will do magic? Thx in advance! - Lucky You can call the program of the caliber from the command line goes. See for more information. I believe that the conversion works fine for the simple requirements, I tried to use it for ebook conversion (PDF from API), but some document parameters (page numbers, etc.) Indentation) was not able to control. The result included all the text from the source ePUB, it was usable, but I was not happy with the quality of the formatting. Finally, I ended up using APB Parsing and PrinceXML to convert PDF to PDF. The good thing about this is that I can remove the contents of the EPUB table (hyperlinks without page number) with completely different Tuscany (hyperlinks with page numbers), where can I add empty pages to o...

haskell - Is the Random Monad independent between replicateM iterations? -

I'm testing some hypotheses in card games. To do this, I have brought games and AI in play that play games. For the examination, I have to do a sample in place of all the possibilities of arranging cards in my deck (24 for deck cards, so there are 24! Different initial state of deck) However, this sample should be independent in the sense that (A) After the shuffle of deck, there should be a possibility in each preliminary arrangement (1/24!) And (b) if I and I have two shifts of two decks that the arrangement i and then arrange May include 'at initial system (1/24!) X (1/24!) Should be. [Note 1] So, if d is my deck and Shuffle deck is my job to manipulate the deck. I believe in The probability that random mood was created in a way ((suffleDeck d) == i) = 1/24! But my question is: Is it free when interacting with function function replicateM? In other words, is the following true? P ((Repeat M2 (Shuffle Ditch D)) == [i, i ']) = P ((suffleDeck d) == i) * P (...

jquery - Angular mouseenter doesn't work in Chrome -

I am coding my first app in Angulam and I have come across a problem with the mousecar event. It does not work in Chrome at all. At first I thought that I have a bug in my code, but I saw it in Firefox and everything was fine. I decided to test some code with the mousesetter with JSField and it looks like - Firefox is fine, not on Chrome - after mouse on the mouse, nothing happens. Test code: & Lt; Style & gt; / * Enter your css here * / button {status: relative; float right; Top: -40px; Correct: 0; } Li {Background: # By; Padding: 5px; List-style: none; Width: 200px; } & Lt; / Style & gt; & Lt; Script src = "angular.js" & gt; & Lt; / Script & gt; & Lt; Script & gt; Var app = angular.module ('my-app', [], function () {}) app.controller ('AppController', function ($ scope) {$ scope.name = 'World';}) & lt; / Script & gt; & Lt; / Head & gt; & Lt; Body ng-controller = "AppController...

dygraphs: How to move the primary y-axis to right side -

This graph that I see but instead of having the primary y-axis on the left I want it to the right. Is it possible in pictures? Thanks for the help. You can move all of your series in a secondary y-axis (which always sings right ) And then hides the primary y-axis. Example: g = new digraph (document.getElementById ("graph"), data, {series: {A : {Axis: 'y2'}, b: {axis: 'y2'}, ...}, axis: {y: {drawgrid: false, auttoxics: false}, y2: {drruid: true, autotics: true} }}); You will still get a primary Y-axis, which you will have to hide through CSS currently (at least until resolved): . Ograph-axis-labell-y1 {display: none; }

javascript - HTML5 video tag doesn't works in iPad? -

इस सवाल का पहले से ही एक उत्तर है: 4 जवाब मैं एक एक एचटीएमएल 5 & lt; वीडियो & gt; टैग का उपयोग करते हुए वीडियो, लेकिन यह आईपैड / आईफोन में ऑटोप्ले । वीडियो वर्ग = " नया वीडियो "ऑटोप्ले लूप प्रीलोड & gt; & Lt; source src = "video / snow.mp4" प्रकार = "वीडियो / एमपी 4" & gt; & Lt; source src = "video / snow.ogg" प्रकार = "वीडियो / ओग" & gt; & Lt; source src = "video / snow.webm" प्रकार = "वीडियो / ओग" & gt; आपका ब्राउज़र में वीडियो टैग समर्थित नहीं है। & Lt; / वीडियो & gt; कुछ कारणों से वीडियो iPad पर नहीं खेलेंगे, जब तक कि आप नियंत्रण नहीं सेट करते हैं = "सच "झंडा।

The developers of this app have not set up this app properly for Facebook Login -

I have a Facebook app and allow me to log in to my website. I have read In the "Dashboard" I see the status of "Live and available for all users" Li> No alerts Incognito double checked apps example.com Added "platform" website as the domain "url http://www.example.com/ ( Mobile is also set up with the same URL) Permissions "Email", "S Public "profile" and "User-friendly" status are "Live and available to all users" (Block "Approved items") Trying to log in from the working site How can I fix this? UPD This was my atrocity - the app ID was incorrect. You must add the right platform to the app settings. Settings> Add platform

javascript - jQuery selectmenu change function not working on iPhone -

I am using the jquery selectmenu function within my webpage and it does not work on the iOS browser properly. After selecting my menu item the menu disappears but my change: the function is not at all, it just hides the menu again. My code is: $ ('# adult menu') select menuu {{change: function () {adult = $ (this) .val () + 'Adult'. '; Var InputView = Adult + Shivaluel + YouthValue + Infant Difference; $ ('# Person input'). Val (inputvalue);}}}; I think this is a common problem on iOS, but I'm still looking forward to reading the forum for a long time. Any help would be great! Dear people from the future: Even what have I thought so far > with new findings Edit : After using more, I found the reason that this happens when you set the value of a selection menu with nothing in the menu that shows the following problem: var $ fubar = $ ('.fubar') ; $ Fubar.selectmenu ({'change': function () {$ fubar.val ('pa...

c# - Remove the default style of selected row -

Image
I know that the question was asking a lot, but I've only seen Aksamel code file. I'm working on a Datagrid extension, so I'm in C # code file and let me know how to remove the default style for the selected row (in my case I want to change nothing in style , I have an image side question, what we have pressed "Ctrl" such a selection is and how C # code? Thank you Edit I try this code: style oRow = new style (Taipf (Detagreedaro)); Detatrigr Otrigr 2 = new Detatrigr (); binding Obind = new Binding (); OBindkRelativeSource = new relative resource (Riletivssorsmodkfndanstor, Taipf (Datagreedaro), 1) ; OBind.Path = new Proprteepath (Detagreedrokaissclitproprti); Otrigr 2. binding = Obnd; OTrigger2.Value = true; OTrigger2kSetterskAdd (new setter (Detagreedarokbakgriproprti, Brskkhaki)); ORowkTriggerskAdd (OTrigger2); This.RowStyle = oRow; For now, I tried to keep the selected background in Khaki for testing. But I get old blue highlights. 2 Edit...

java - How to fetch data dynamically from web server? -

I have a Mongodb database that has a pole collection. There are several pole documents in the pole collection, it can be a large number of documents. I am using Java servlet to serve HTTP requests. How can I apply the feed type retrieval system on behalf of the server? For example, in the first request, I want to retrieve 1 to 10 documents, then from 11 to 20 and so on ... as if there is a scroll in the view, I want to get data from the server and send it to the client Want to Does the monogram provide a way to do this? I think what you want is a paging, using the range with your search query Can and leave First request db.Poll.find (). Skip (0) .limit (10) second request db.Poll.find () .op (10) .Milit (10) ... ... Note: With your search should be sorted. Db.Poll.find (). Skip to top (10) .limit (10) .sort ({_ id: -1}) For more information on cursor methods you can see here:

c++ - Freeing heap pointers stored in std::queue -

इस कोड पर विचार करें: class Foo; एसटीडी: कतार & LT; फू * & gt; क्ष; // आवंटित करें और कतार में ऑब्जेक्ट्स को जोड़ (इंट आई = 0; आई & lt; 100000; i ++) {Foo * f = new Foo (); q.push (च); } // कतार से ऑब्जेक्ट्स निकालें और उन्हें निःशुल्क करें (जबकि! Q.empty ()) {Foo * f2 = q.front ()); q.pop (); F2 हटाएं; } एकल चरण से मैं फू डिस्ट्रक्टर देख सकता हूं क्योंकि प्रत्येक ऑब्जेक्ट को नष्ट कर दिया जाता है, इसलिए मैं उम्मीद करता हूं कि प्रक्रिया मेमोरी डिस्प्ले को ड्रॉप होने के कारण ड्रॉप होता है - लेकिन यह नहीं है । मेरे आवेदन में कतार निर्माता / उपभोक्ता थ्रेड्स में उपयोग किया जाता है और मेमोरी उपयोग अभी भी बढ़ता रहता है। स्मृति को पुनर्प्राप्त करने का एकमात्र तरीका है कि मैं जब भी खुल गया इसके सभी आइटम: q.swap (std :: queue & lt; foo * & gt; ()); यदि मैं एक कतार के बजाय एक वेक्टर का उपयोग करता हूं, तो संग्रहित ऑब्जेक्ट्स को हटाते हुए प्रक्रिया मेमोरी उपयोग तुरंत गिर जाता है। टिप्पणियों से स्पष्ट करने के लिए संपादित करें : मैं समझता हूं कि कतार पॉइंटर व...

netbeans - How to add Scala Platform to nebeans 8 -

I'm trying to use Netbeans 8.01 with Scala, and it can not get "Scala Platform". I am using Windows8.1 x 64 I follow and I have also read it but it does not work I follow the path Tools -> Scala platform And I have an error: does not have a scala platform in the specified folder . I try to add a new platform but Netbeans do not find Scala platforms. Finally I try with Scala and this is work. So, what is the bug present in Netbeen or should I do something else? Can anyone straighten me? Thanks I got the solution I "- J-Dscala Home = C: \ Program Files (x86) \ scala " to add NetBeans / etc / netbeans.conf . Now I can run a Scala program. However, if you want to call the Scala program in Netbeen with Java code, there are two ways You have to create a Maven project A jar Add Package Scale Code and this Jar to Java Project

objective c - How can I have different values from xcconfig in XCode for sim vs. local vs. hockeyapp? -

I am working on the API that uses the API when the app is running in my SIM, Value one thing (localhost), when the app is run on my local iPhone (directly encoded), I want to use a different staging, and when my app is running through hockey , Then I want to use a third API server (production) I am here. How can I configure things so that I can make my app representative relevant to my current environment? I can do this now by commenting on other values, but it is very sloppy.

How to rotate android spinner dropdown window -

Image
I am trying to get a vertical spinner I am able to rotate the spinner view using ; But it only spins the spinner view, but there is no dropdown list. How to rotate the dropdown window as shown in the image below? You will need to create a custom adapter for your spinner. Next on your getView, make sure that you rotate the parent who passes it. An example adapter: extends the public class adapter array adapter & lt; String & gt; {Public adapter (context reference, int resource, list & lt; string & gt; objects) {super (references, resources, objects); } @ Override Public View getDropDownView (integer status, seeviewview, ViewGroup parent) {getView Return (Status, Convertview, Parent); } @ Override public view getView (see int status, see convertview view, ViewGroup parents) {see V = layoutInflator. From (getContext ()). (R. Lay.If (parent.getRotation () == 0 & amp; amp; and Examples of Parents listView) {Parents Solution (-90);} Return V ...

c# - iTextSharp - Write HTML to pdf document -

I have tried my fearlessness to do this work, but all information about iTextSharp on the web starts dying (I am using version 5.5.3) I have a simple string variable that has HTML which I want to send to PDF. There are some examples using XMLWorker / XMLWorkerHelper, but these classes are no longer part of iTextSharp. HTMLWorker is still available, but moans about being obsolete. (And does not even work) This is what I have done so far: Public byte [] RenderPdf () {MemoryStream file = New MemoryStream (); Document document = new document (this.PageSize); PdfWriter Author = PdfWriter.GetInstance (document, file); String HTML = GetHTMLFromActionResult (); Document.Open (); // Unavailable code here to inject HTML into the document variable. Document.Close (); Return file Tore (); } Additional information: This is a C # MVC5 web application that is running on Net Framework 4.5.2 I see two separate questions in your post: (1) Where is the XML worker for iTextSharp? ...

python - Does scipy.integrate.ode.set_solout work? -

एकीकरण routines के लिए scipy.integrate.ode इंटरफ़ेस एकीकरण को रोकने के लिए एक विधि प्रदान करता है किसी भी कदम पर बाधा का उल्लंघन है, सेट_सोलआउट हालांकि, मैं इस पद्धति को सरलतम उदाहरणों में भी काम नहीं कर सकता। यहाँ एक प्रयास है: आयातित रूप से nppy के रूप में np से scipy.integrate आयात ode def f (t, y): "" "घातीय क्षय।" "" वापस लौ-एफ़ solout (टी, वाई ): यदि वाई [0] & lt; 0.5: वापसी -1 और: वापसी 0 y_initial = 1 t_initial = 0 r = ode (f) .set_integrator ('dopri5') # समाधानकर्ता जो सोलआउट r.set_initial_value का समर्थन करता है (y_initial, t_initial) r.set_solout (solout) # एकीकृत करें टी = 5, लेकिन रोक जब solout बाधा r.integrate उल्लंघन (5) # जब solout एकीकरण समाप्त किया जाना चाहिए था: intersection_time = np.log (2) एकीकरण होना चाहिए था जब t = log (2) = 0.693 ... , लेकिन इसके बजाय खुशी से जारी रहता है जब तक t = 5 , जब y = 0.007 । क्या यह scipy में एक बग है या मैं सही ढंग से set_solout का उपयोग नहीं कर रहा / रही हूं? यह प...

32 bit - PHP intval() changes number NOT 2147483647 -

I am running PHP 5.3.13 and when I execute php - R "Echo Infral (99 99 99 99 99);" This produces 1410065407. When I execute php -r "echo intval (PHP_INT_MAX);" This produces 2147483647. Why is the small integer causing my code to cause some issues? In your case, value 9999999999 a name . You can verify it with var_dump (99 99 99 99 99) . When it is placed in signed integer, the value is reduced to 32 bits which gives the value 1410065407 . You can manually verify this calculation or use the GMP math extension: $ num = gmp_init ("9999999999"); $ Beats = GMP_paw (2, 32); Var_dump (gmp_strval (gmp_mod ($ num, $ bits)); // string (10) "1410065407"

ios - How to align content inside UITableViewCell for different screen sizes? -

Image
मैंने एक कस्टम तालिका सेल बनाया है: वर्ग कस्टमटाइव्यूजेल: UITableViewCell {@IBOutlet कमज़ोर var सड़क लैबेल: यूआईएलबल! @ आईबीओटलेट कमज़ोर वर् सिटी लेबेल: यूआईएलबल! @ आईबीओटलेट कमज़ोर मूल्य की कीमत लेबेल: यूआईएलबल! Func loadItem (#street: स्ट्रिंग, शहर: स्ट्रिंग, मूल्य: स्ट्रिंग) {self.streetLabel.text = सड़क self.cityLabel.text = city self.priceLabel.text = price}} IPhone 5 पर परिणाम: आईफ़ोन 6 + + पर परिणाम के रूप में आप देख सकते हैं कि सेल की बाईं ओर सही ढंग से प्रदर्शित होता है, यह बायीं तरफ चिपक जाता है हालांकि सही पक्ष सही पर छड़ी चाहिए, लेकिन यह नहीं है। तो ये मेरा प्रश्न है: सेल की चौड़ाई तालिका की चौड़ाई को कैसे सेट कर सकती है ताकि सेल की स्क्रीन के समान चौड़ाई हो? मैं सही पक्ष कैसे बना सकता हूँ वास्तव में तालिका सेल के दायीं ओर चिपक जाता हूं? UITableViewCells हमेशा उन UITableView के साथ होते हैं, जिससे आपको ध्यान देने की आवश्यकता होती है। आपके द्वारा पोस्ट किए गए स्क्रीनशॉट के आधार पर, ऐसा नहीं लगता है कि आप वर्तमान में आपके लेबल की स्थिति में...

javascript - How to output jsignature after page reload -

I am using the jsignature plugin () to allow users to 'sign' a form. It all works correctly, but I am trying to output signature after page reloading in the same canvas, so if it is necessary then it can be edited further (this only occurs when the form Verification fails for any reason). I do not understand if I can do it properly before reloading the page, but if I try to reload, I get an error: jSignature '' Unable to find import plugin for 'undefined' format and it does not work. So if I use the following JS code on the Submit button, it works correctly (cleans the canvas and then redraws it): $ ("# Signature") .jSignature ({UndoButton ': true}); Jsignature ("getData", "base30"); Var datastr = "data: Click + datapair.join (" ("# qmembershipsubmit") as ("# qmembershipsubmit") (function (e) {var datapair = $ ('# signature', "$ (" # signature) "$ (" # Sign ...

javascript - Angular Directives - Knowing when the object bound to an attribute is changed -

Assuming that I have an opportunity that is about the currently selected user on the left and the users on detailed information Displays a list. I make a user's description element directive in two ways binding and ends with the instructional object that looks something like this: {restrict: 'E', scope: {User: "="}, templateUrl: '...', Controller: function () {... elided ...}} In the basic HTML, I use this as the command: & lt; User-Detail User = "currentUser" & gt; & Lt; / User-Detail & gt; As the user selection changes to the left, the currentUser property is updated, which causes the user property in pointers to point to another object. In the user's description, the information is well reproduced in HTML, but (here is the question) assuming that some of my What is the small thing I should do to work when the display user changes, maybe a JSON string should be parsed in the object. How do I know th...

AutoIT ControlSend Modifiers Inconsistent -

I have participated in a strange problem with AutoT Control's Function Function on Windows 7, so I'm hoping that someone Can help. / P> I wrote the Foose filesystem, which is shared with Windows through Samba When I was using "off" for the first time, I removed the tests I was trying to automate the file system tests on Windows by using AutoIT to write and modify files on the file system. The method for sending keystrokes, but I found that other applications would sometimes steal the focus and grind me with a laziness in my tests. I was hoping that using the ControlSend would allow my tests to proceed, if the focus was stolen Ho. The problem I'm having is that sometimes the modifier keys (like shift and control) are not sent to them. For example, if I use ControlSend ("Open", "", "Edit1", "Z: \ test.txt") to set the path in open Code> , I sometimes see the text as "z;; test.txt", apparently revers...

javascript - error with jsrouting-bundle symfony -

Image
मैंने jsrouting-bundle स्थापित किया है, और यह मेरा कोड है: जावास्क्रिप्ट: $ (document) .ready (function () {$ ("pmcontents")। Hide (); $ ("। Pmbox") क्लिक करें (फ़ंक्शन () {$ (this) .css ("फ़ॉन्ट-वजन", "सामान्य"); $ (यह) .next ()। टॉगल (); var myValue = $ ('this')। Attr ('id'); var डेटा = 'sentValue =' + MyValue; $ .ajax ({प्रकार: "POST", url: routing.generate ('isread'), डेटा: डेटा, कैश: गलत, सफलता: कार्य (डेटा) {चेतावनी ("डेटाबेस अद्यतन किया गया है");} });});}); नियंत्रक: सार्वजनिक फ़ंक्शन isreadAction () {$ request = $ this- & gt; प्राप्त करें ('अनुरोध'); यदि ($ request- & gt; isXmlHttpRequest ()) {var_dump ($ अनुरोध- & amp;; अनुरोध- & gt; प्राप्त करें ('sentValue')); $ Em = $ this- & gt; getDoctrine () - & gt; getEntityManager (); $ Pm = $ this- & gt; getDoctrine () - & gt; getRepository ('लॉग इन लॉगिन बंडल: निजी संदेश)' ...

sql server - Case statement that does nothing if When is not true -

I am trying to update a table that contains a specific account id, which contains more than once For example, I have Account ID 1 in Table B and 1 in Account A, which is Eight 1, which is 5 times. Therefore, I am updating in a row with all the data in a row that all the data in that one row example: Table A has multiple records per account ID accountID site hard soft 1 12 20 0 1 13 30 10 1 14 40 0 ​​ Update me to Table B , Which only has an account ID and no other data and looks like this: accountID site12_hard site12_soft site13_hard site13_soft site14_hard site14_soft 1 So I linked the account ID and made a case statement for all areas. This way: update table b set site12_hard = case when the site = 12 then hard and end, site12_soft = case when the site = 12 then the soft and 0 end, the table contains an internal table This is not working as it is, because many links on the account ID are the case statement to evaluate every incident of that account. If the s...

Reading Consumer Price Index data in R? -

would read me the data frame the data from this link. Sadly, the data is not in the CSV file. What is the best way to do this? I tried cpiai Thank you! Read.table: Path & lt; - "http://www.bls.gov/cpi/cpifiles/cpiai.txt" cpiai & lt; - read.table (path, header = t, fill = TRUE, skip = 16) & gt; Head (CPII) Year January February March April May June July August September October October November Average. December, the average 1 913 9.8 9.8 9.8 9.9 10.0 10.0 10.1 10.0 9.9 NA 2 9 14 9 10 9 9 9 9 9 9 9 9 9 9 9 10 10.0 10.2 10.2 10.1 10.2 10.1 10.0 1.0 1.0 3 1915 10.1 10.0 9.9 10.0 10.1 10.1 10.1 10.1 10.1 10.2 10.3 10.3 10.3 10.1 2.0 1.0 4 1916 10.4 10.4 10.5 10.6 10.7 10.8 10.8 10.9 11.1 11.3 11.5 11.6 10.9 12.6 7.9 5 1917 11.7 12.0 12.0 12.6 12.8 13.0 12.8 13.0 13.3 13.5 13.5 13.7 12.8 18.1 17.4 6 1918 14.0 14.1 14.0 14.2 14.5 14.7 14.1 14.0 14.2 14.5 14.7 15.1 15.1 15.7 16.0 16.3 16.5 15.1 20.4 18.0

jvm - Tomcat throws OutOfMemoryError on startup -

त्रुटि और निशान: मैं निम्नलिखित देख रहा हूं OutOfMemoryError त्रुटि जब एक Windows 32-बिट मशीन पर बिलाव 7.0.28 शुरू करने की कोशिश कर: गंभीर: युद्ध फ़ाइलों की बहु धागा तैनाती के लिए त्रुटि इंतजार कर java.util पूरा करने के लिए .concurrent.ExecutionException: java.lang.OutOfMemoryError: java.util.concurrent.FutureTask.get (FutureTask.java:188) पर java.util.concurrent.FutureTask.report (FutureTask.java:122) पर जावा ढेर रों गति से org.apache.catalina.startup.HostConfig.deployWARs org.apache.catalina.startup.HostConfig.deployApps (HostConfig.java:472) पर (HostConfig.java:752) org.apache.catalina.startup.HostConfig.start पर ( HostConfig.java:1413) org.apache.catalina.startup.HostConfig.lifecycleEvent (HostConfig.java पर: org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent पर 313) (Lifecycl eSupport.java:119) org.apache पर। Catalina.util.LifecycleBase.fireLifecycleEvent (जीवनचक्र बीए Se.java:90 ) Org.apache.catalina.util.LifecycleBase.setStateInternal (LifecycleBase जावा म...

c# - How do I update underlying list when calling BindingSource.RemoveCurrent -

मेरे पास निम्न साधारण वर्ग हैं; सार्वजनिक वर्ग MyObject {सार्वजनिक इन्ट आईडी} ; सेट;} सार्वजनिक स्ट्रिंग नाम {get; सेट;}} सूची & lt; MyObject & gt; ओलिस्ट = नई सूची & lt; MyObject & gt; (); मेरी सूची कुछ वस्तुओं के साथ पॉपुलेटेड है मैं तब मेरी बाध्यकारी स्रोत को इस सूची के साथ पॉप्युलेट करता हूं; MyBindingSource.DataSource = oList; // में एक सूची में कुछ आइटम्स हैं मेरा बाइंडिंग स्रोत एक डाटाग्रीड दृश्य (जो वास्तव में इस उदाहरण में कोई मायने नहीं रखता है) से जुड़ा हुआ है, लेकिन डेटाग्रीड दृश्य में चयनित पंक्ति के आधार पर, तब मैं मेरे डेटाग्रिड दृश्य क्लिक बटन के लिए निम्नलिखित विधि है; निजी शून्य MyDataGrid_CellContentClick (ऑब्जेक्ट प्रेषक, DataGridViewCellEventArgs ई) {if (e.ColumnIndex == btnRemove.Index) {MyBindingSource.RemoveCurrent (); }} कॉल MyBindingSource.RemoveCurrent () DataGridView से आइटम निकालता है, लेकिन कैसे क्या मैं अंतर्निहित सूची से आइटम को निकालूं जो ओलिस्ट है मुझे लगता है कि MyBindingSource.DataSource = ओलिस्ट निर्दि...

ssas - MDX: dynamic named set on cubes calculation -

I am trying to create a dynamic named set which can be used in skiing data using the date dimension. I want to do something nominated like the last day, last 7 days, last month, last quarter and so on. For the nominated "last day", I am thinking of doing something. StrToMember ("[date]. [Calendar]. [Day]. [& Amp; [" + Add date ("d", 1, tail [[date]. [Calendar] [Day], 1) + "]") I want add date ("D", -1, tail ([date]. [Calendar]. [Days ], 1) + "]") member_ to return the value so that to return the member I can create a string named Untold, is it possible? The reason I DateAdd , it is sometimes that I want my data for the day's level The flaws are getting, so using the previous message will sometimes get the wrong data. PS: What I mean for the last day is not exactly equivalent to the function Now () - 1 , this is the last day which is available in the cube, so I can not depend on the server system time ...

javascript - CKEditor gem not working in production -

I am using CKAditor Mani (V4.0.7.2) with my Rail 4 app. It works fine in development, but as soon as I change the server to production mode, I get the following JavaScript error in the console: Uncaught TypeError: Can not read 'langEntries' tap / . In addition, some CKEditor interfaces are no longer visible. What has changed between JavaScript and JavaScript in production? This issue is being loaded in development and production environments' load order of JavaScript files (production scripting and Development is ... no ...). By changing a need_tree with a requirement for each file and putting the files in that order from which they need to be loaded , the issue was resolved.

bash - linux find file and create hardlink -

I am trying to find a file, then create a hard link in the same directory with the same name. But this is not working, if I take the -exec and close, it displays a result I am already working with CP, but I have decided to make a hard link instead. find -name "* sample *" -exec link {} ~ / {} \: The problem is that the path found in the {} file; Therefore, the ~ / {} path is not in the ~ , but there is some non-existent sub-directory. I did not find any way to get it {} find using basename neither xargs . This is a solution that works but is unsafe: find -name "* sample *" | While reading f; Link "$ f" "$ HOME / $ {f ## * /}"; You can add a filter between find and read to get rid of "dangerous" file names.

jenkins - increment a variable like */2.4.7 via python -

I am trying to increase the last int in one variable, and stuck on how to do it properly is. / P> version = tree.find ('.ru branch branch / name'). Text; Sprint = Inte (version split (".") [2]) Sprint = Sprint + 1 Newverson = version.ipip (".") [0], version.ipip (".") [1], Sprint # output ('* / 2', '4', 8) I should have output * / 2.4.8 Just divide the last part, the fastest way to do this is: prefix, _, sprint = Version.rpartition ('.') Newversion = '{} {} ' Formatting (prefix, int (sprint) + 1) We also get the prefix from the partition You can also make another limit with it: prefix, sprint = version.rsplit ('.), 1) # new version of partition =' {}. {} ' Format (prefix, int (sprint) + 1) demo: & gt; & Gt; & Gt; Version = '* / 2.4.7' & gt; & Gt; & Gt; Prefix, _, sprint = version. Partition ('.') & Gt; & Gt; & Gt; ...

How can I use loops in R -

I am a new user of loops in R, so hopefully someone helps me in disrupting the problem in which I have data in the frame, there are 20 types of the following types of population: Sample population R1 Bari 1_062-1 Bariya 94.52303 2 Bariya 1_062-2 Bari 1 98.27683 3 Bari 1_062-3 Bari 1 100.53170 4 Bariya 1_062-4 Bariya 96.65940 5 Bariya 1_062-5 BRI 1 117.62474 6 Bariya 1_063-1 Baria 144.39547 Use the R column There is a need to calculate the meaning and difference of each population [I want to dissolve that issue by using RIL in the ROO] Thanks or )) or do.call (RB or Code> do.call (Rbind, Leply (Partition (DF, Df $ population), function (x) c (mean (x $ R), var (x $ R))) or Library (set for data) DT (DF) [, list (war = warr (r), mean = mean (r)), = by population or Library (dplyr) df% & gt;% group_by (population)% & gt;% abbreviation (var = var (r), mean = Mean (R)) If you have a loop solution If you urge to get the , here goes t...

hadoop - Conditional GROUP BY clause in Hive QL -

I am trying to parameter the group by clause in a hive QL script. SELECT COUNT (*) AS sales, country, state, city testdb.data WHERE PRICE & gt; 5 If the group (true, (country, state, city), (country, state)) how can such a query be obtained? I have tried to use the CASE statement in GROUP BY and its functions Want to verify. If you can write your position in a case statement then this query can work. SELECT * to testdb.data WHERE value & gt; 5 group from the country, the case of the state & lt; Cond & gt; WHEN & lt; Val & gt; Then City END;

php - How to prevent outsiders from downloading a private pdf? -

I am outputting the pdf file with some sensitive information above the public route. I thought I was smart by outputting the file above the public route, but then I realized that anyone can use the public recovery page. I am using the code below to retrieve the document. How can I ensure that only our people can access the file by accessing the Recovery Document? & lt ;? Php // get $ thefile = "" file from the above webtrot $ _GET ["fblah"] "_" $ _GET ["elblah"] ".pdf"; $ RootDir = realpath ('/ var /.../private /'); $ Fulltext = real path ($ rootdair. '/'. $ Thefile); Header ('content-type: application / pdf'); Header ('content-dispute: attachment; filename =' .bessname ($ full text)); Header ('content-length:'. File size ($ full text)); @readfile ($ fullpath); ? & Gt; Should a password be verified in the Recovery Page Help?

android - An Activity with two different Activities as Parent -

Image
मेरे पास एक गतिविधि है विवरण गतिविधि जो दो अलग-अलग क्रियाओं से सुलभ है: MapActivity और सूची सक्रियता । माता-पिता के रूप में उचित गतिविधि का चयन करने के लिए मैं नेविगेशन कैसे लागू करूँ? आप गतिविधियों में से किसी एक से विवरण गतिविधि में जाने के दौरान एक फ्लैग सेट कर सकते हैं। फिर ऑन बैकडड आप उस विशेष उद्देश्य को आग लगा सकते हैं जो आपने पहले भेजी गई ध्वज पर निर्भर करता था।

c++ - Rotating around a point different from origin -

I'm trying to code a camera with glTranslate / glRotate to implement look-up / look-down functions To rotate on a point (that is, where is the "camera"), I need all the objects in my rendering space, which is usually different from the original, however, things rotate around the original Is there a way to specify a different point? Edit: Added code Thank you for your prompt reply. It seems that I can not work it properly, it does not make any difference, so I have decided to add my code; I highly appreciate if someone can see it and can tell me what changes are needed to translate / rotate / translate back. #include & lt; Iostream & gt; # Include & lt; Semith & gt; # Include & lt; GLUT / GLUT.h & gt; Const double roaming_step = .13; Double z_offset = .0; Double y_offset = .0; Double x_offset = .0; Const double angle_step = 1.5; Double angle = xz = .0; Double angle = yz = .0; Bull Key Location [256] = {false}; Zero Drawflur () {glColor...

.net - How to display picture box in the middle of the form regardless of the form's size? -

I have a text box that spans most of the form. Then I added a photo box to the form that will be visible on some conditions at the top of the text box by calling Bringtrophrint (). When I change the form size when I run my application, the location of the image box does not change according to the form size, it always remains in one place. Is there any property that always helps to keep the photo box in the middle of the form? Thank you! In the designer, the picture box has been placed in the center of the form. Then anchor the picture box on the left, right, top and bottom to use the anchor feature.

C# Read in a bmp image as binary -

I have no idea how to read an image as a binary image I am using the following lines , Although it keeps reading in the blank. filestream inf = new filestream (name.ToString (), FileMode.OpenOrCreate, FileAccess.ReadWrite); BinaryRedder Data = New Binary Reader (INF); Can anyone help? It really depends on you. For example, if you want to read in the .bmp file and display it in the image box, then you can do something like: (Assuming a picture box named Photo box 1) stream bmpstream = null; Var ofd1 = new openfileDialog (); If (ofd1.ShowDialog () == DialogResult.OK) {try {bmpstream = ofd1.OpenFile ()} if (bmpstream! = Null) {using (bmpstream) {pictureBox1.image = new bitmap (bmpstream); }}} Hold (Exception preceding) {MessageBox.Show ("Error: Can not read file." + Previous message); }}

prng - Is it possible to reverse a pseudo random number generator? -

Is it possible to change the pseudo random number generator? For example, take an array of generated numbers and get the original seed. If so, how will it be implemented? Normally, no. For most generators it should be possible , if you have a whole series of numbers if you do not have all the numbers or do not know which number you have (you are 12th or 300th ?), You can not understand it at all, because you do not know where to stop. You have to know the details of the generator. Linear congruential generator decoding is going to be different from doing so for a counter-based PRng, which is going to be different from Mersenne Twister, which is going to be different from a Fibonacci generator. Besides you also need to know the generator's parameters If you have all this and the equation is incomparable to generate a number, then it is possible. How, it really depends on PRNG.

mysql - edited my php.ini, but still the phpmyadmin wont increase file size upload -

I am trying to increase the upload upload limit for importing a SQL file into phpmyadmin. I checked Phpinfo and ensured that I am amending the correct php.ini file and adjusting these settings on it: Memory_limit = 200M post_max_size = 200m upload_max_filesize = 150M Many times the map has been restarted, but still the phpmyadmin has not affected the size of the file size. This is a local build, so there is no concern about hosting any sharing. Well I'm using MMP Pro, it seems that a conflict may arise Thanks a lot for any suggestions I'm not sure that this is the case in your php.ini file, but do not forget the semicolons. If he does not try to link it then memory_limit = 128M;

python - How to get list of all EBS Snapshots "started" before a certain date? -

I am writing a Python program to get a list of all EBS snapshots in my account (owner = self) "Started (originally created) before a certain date", then do some other actions in that list. I do not think I can use the filter in the get_all_snapshots () function because it only supports equality, not GT / LT operators, I believe it confirms. So I think I have to get a list of all of them, then repeat through the list. However, the boto documentation is not clear to me () actually what methods / properties are available on the snapshot object. Any guidance here? Get a connection: conn = boto.ec2. Get your snapshot: snaps = conn.get_all_snapshots (owner = "self") Repeat via the code> list and see the start_time attribute: Photos [0] .start_time dir (Snacks [0]) Find all the available features and find other things you need.

angularjs - How to integrate Elastic Search with Meanjs (Mongodb ,Express,Angular,Nodejs) -

I have installed MEANJS with pain, its current module are working properly The point is that with the angular search I I'm trying to integrate flexible search. But no suitable solution was found. When I am adding elastic detection to server.js then shows search results on the terminal. How to display search results via angular js on the home page. I also want to add elastic databases to the MongoDub database so elastic search automatically updates. Any suggestion is very useful for me to connect via elastic search. var MyOpenRecipes = angular.module ('myOpenRecipes', ['elasticsearch'], ['$ locationProvider' , Function ($ locationProvider) {$ locationProvider.HTML5Mode (true);}]); MyOpenRecipes.factory ('recipe q', 'esfactory', '$ location', function ($ q, elasticsearch, $ location) {var client = elasticsearch ({host: $ location.host ()} ": 9 0000"} ); ** ** Load one more round of 10 recipes, looking at one word and ...

c# - ASP.NET MVC 5 - Cookies being not created -

I'm getting my controller action which calls a private method that handles cookies. The problem is that the cookie is at all Not being made. I have read many posts but I did not get any response because I think that my handling cookies are correct in this code. Any web? What is the config setting that I have to check in relation to cookies? I also tried different browsers I debug the code and I can see that the cookie is actually set in the code but the cookie is not there when I load the page and keep an eye on the cookies . Personal ABHomeModel Handle Whitebox (ABHomeModel Model) {var white box = _whiteBoxService.GetActiveWhiteBox (); If (model.WhiteBox! = Null) {const string cookieName = "whitebox"; Var white box cookie = http constance. request. Cookies (Cookies); If (whiteBoxCookie! = Null) {var Display Times = Convert. ToInt32 (whiteBoxCookie.Value); If (Show Times & lt; 2) {Show Times ++; Var cookie = new HttpCookie (cookieName, Featured Times.Tostri...

sql - mysql: find max of column where entries have multiple rows -

Sorry for the confused title. I have a column in which there is an hour column that has been done by each employee. I have an employee SSN column and a project ID column on which they are working. I want to find the project on which the most work has been done, however, I can not use a simple maximum because there are several rows in each project, according to which the employee has worked for it for several hours. Employee Employee Project Time 1 1 20 20 4 30 3 1 15 In this example, I will have to return Project 1 below to my code now select project.pname, works_on.pno, sum (works_on.hours) from works_on add project from work_on.pno = project.pnumber group works_on.pno limit 1 It is close, it gives the total amount of hours worked by a particular project (in this case it shows the project due to the limit 1) if the amount in a maximum () works_o N.hours), then I think it has to be done. However, it gives me an error, so I'm not doing it correctly. Try to return...

javascript - Form button keeps showing results in new window -

Here's a lot new for HTML and javascript. I get the following form and calculate it correctly, but the result appears in a new page. I want to do this on the same page. Not sure what I did wrong here, besides the function, Is there any way to do this? Looks like a lot of work to do a simple calculation, any help would be great. & lt; Html & gt; & Lt; Top & gt; & Lt; Title & gt;! Help & lt; / Help & gt; & Lt; Script type = "text / javascript" & gt; Add function (x, y) {var x = document.add1.add2.value; Var y = document.add1.add3.value; Var x = number (x); Var y = number (y); Var z = x + y; Return (jade); } & Lt; / Script & gt; & Lt; / Head & gt; & Lt; Body & gt; & Lt; H3 & gt; Help me in overgrowth, you are my only hope! & Lt; / H3 & gt; & Lt; Form name = "AD1" & gt; Number before adding input: & lt; Input type = "number" name = "AD2" & gt; N...

Can I use Spring Boot Starters just for dependency management? -

OK, I was looking at the Spring IO platform for managing my dependencies, by then I went to the source where Until I see it uses the spring boot pom under the hood, then I was thinking, can I use the initial, because it only shortcuts to declare a dependency to the POM? "post-text" itemprop = "text"> Yes, you can use the beginners. Because I just want poms, not automatically configured by boot then see @EnableAutoConfiguration , and. Because I just want poms, not embedded servlet containers then do not use spring-boot-starter-web starter, See the list. If you need Spring MVC, you must declare a dependency or you use spring-boot-starter-web but without collusion, eg

r - Plotting ordiellipse from vegan package with ggplot2 -

Image
I am working to create a NMDS coordinate plot for some data using ggplot2 Excellent example of how this can be obtained from the previous stack overflow thread: I have tried to copy this function from this thread and used it for my data. However, after I pass the function to R, I go to the following error message: Error in the array (x, c (length (x), 1L), if (! Is.null (Name (x)) list (name (x): 'data' should be of a vector type, 'null' was I worked for the donated dataset provided to the function with a vegetarian package Can I do but a roadblock with my dataset is killed. Anyone have any idea or idea? Dataset has provided a link below and my code has been pasted below. The data can be seen: Code: # rm (list = ls (all = T)) setwd ( 'C:') library (vegetarian) library (ggplot2) PCBprop & LT; -read.csv ( "PCBprop_stackoverflow.csv", header = T) #Subset the only Lake Michigan Overview MICH & LT; with -PCBprop [(PCBprop, basin =...

javascript - Intellisense from _references.js in js files? -

I get JS Intelligence for all the files referenced in _references.js which are all great and good. However, it only happens in my index.html (probably because I directly reference files there) How can I get this intellisense in a .js file? Can anyone help me here? It's really annoying and I tried to search around myself without success!

c# - Visual Studio External references not working on published website -

I have created a web project that works fine when published and when debugging in Visual Studio. When I add an external reference through the reference manager, it connects it properly and runs within the internal IIS Express within Visual Studio. When I publish the website to my server, external apps do not work and it looks like they are not available. What do I miss to see these interop DLLs in the web server? There should be some 'hook' to connect with these DLLs which are run locally when it is not present when deployed. In essence, this is an API that I am trying to deploy on the server where the app is installed and running. The API works normally when localized VS is run inside, but when I put it on the IIS website on the same server, it does not work. There is full permission on the IIS website, which is not an issue because this site runs only on an internal network and not on the web. UPDATE: Deep digging in the secret I suspect that something is done with ...

mysql - Fetch MIN and MAX in the same row -

After the a table training_route that contains multiple rows each with a rowId , gpsLocation and a athleteId and consider the following: minimum rowId Defines first place and rowId athleteId gpsLocation 100 1 "40.71,27,837, -74.00594130000002" & Lt; - 1 101 1 "41.12,34,872, -71.41300000022342" for athlete # 102 1 First place "42.12,34,872, -69.23112200022342" & lt; - Place 1 103 2 "39.59, 9, 3, 99, -74.00594130000002" for last athlete # & lt; - First place for athlete # 2 104 2 "38.9 0, 9 3,885, -73.31300000022342" 106 2 "37.12,34,872, -63.34215200022342" & lt; - Last place for athlete # 2 107 3 ... I have been given the first and final position for the entire route by athlete ID, from the very query on the same line: athleteId firstLocation lastLocation 1 "40.71,27,837, -74.00594130000002" "42.12,34872, -69.23112200022342" 2 "39.59, 9, 3, 99, -74...

java - Android and C# tcp connection sockets -

My question is not about creating a connection. My question is about reading section in the C # code Java Android code Sending 3 parameters from DataOutputStream The C # code gets them all, but in different sockets. I mean if I have an array byte, then it will be in 2 different messages. Let's look at the code and get it clearly. Java code: Private data output stream out; InetAddress serverAddr = InetAddress.getByName ("192.168.43.145"); Socket = new socket (server edit, port); Out = New Data Optical Stream (socket.getOutputStream ()); // Header Out.LiteBite (IDMessage); // Example: IDMessageis 1 / The data is out WriteDouble (LongX); // Example: Longx is 35.4 out. Written repeat (lying); // Example: Layer 31.5 out. Flush (); The array byte is obtained by using the data and c # code read: // data (byte []) (memory = new memorystream (data) ) {(R = new binary reader (memory)) {IDMessage = r.ReadInt32 (); Lang = r Read double (); Lat = r.ReadDouble (); }} ...