query_id
stringlengths
4
64
query_authorID
stringlengths
6
40
query_text
stringlengths
66
72.1k
candidate_id
stringlengths
5
64
candidate_authorID
stringlengths
6
40
candidate_text
stringlengths
9
101k
a2833d5b01a58faf200452434a1c6edac7ac44514b785f529996b52a080e8bae
['663201b5c287488e839dc2d9dfeb12cd']
So in the middle of formating one of my drivers battery died and after starting the laptop i got rescue grub . i tried all the hd partions with ls and none of them has the boot/grub in them. Using ls i am not getting all my partitions btw it is showing 3 while i have 5. After number of attemps with rescue grub i tried ...
514cd6b3f2dedf20d381489efd3c20a130516b15f5fdd1d040e2d91033dc881d
['663201b5c287488e839dc2d9dfeb12cd']
I am relatively new to web development, so perhaps this is a rookie question. I am trying to set up an ASP.NET MVC web site to implement DotNetOpenAuth as an OpenID relying party. Right now it is all functioning, so that is pretty exciting. My goal though was to have the OpenID authentication take place it a popup ...
58b288d3559e2786f94a8127f32b2e28cbd38cecefde040245a858036ce4b30b
['6636f4e0c705422ca0361bfa5f50d25f']
There are a few issues here... As <PERSON> mentioned, the newline character should be \n, not /n str.strip() does not modify the string directly. It returns a copy of the modified string. So it should be Whole = Whole.strip('\n') str.strip() remove leading and trailing characters. In your case, you wanted to remove th...
920bbc93a60db1ee86daa42324952acde34c7df9c67c9aaccf198ed0afc99991
['6636f4e0c705422ca0361bfa5f50d25f']
What tool did you use to build your app? Is your app supposed to be a native Android app or Web app? Based on your screenshot, you've registered your app as a "Mobile Web" app (aka Web app) on Amazon Developer Console. For Web app, you don't upload an apk. Instead, you upload a .zip file which has a specific folder str...
be22c8d2142d531bcd67fbac6c59e17e6a4cab94ef414abd313c9af798806a84
['6637f35053934bb3adfac7992674c7e2']
If I'm understanding you correctly, you want code to execute when the user either touches the screen or moves their finger across the contents of the a TextView while touching the screen. Since all touch events are not by default passed down to children Views, one way to handle this is to override the activity's onTou...
f3b3274fa163af2b70b957d0b0e09004a1c2a8cf4645a51e44dbf365139c2a7b
['6637f35053934bb3adfac7992674c7e2']
I have two questions, the first being simply: What is the easiest manner in which to add a custom flipping animation to an AdapterViewFlipper (where more than one property must be changed sequentially), preferably the solution using values defined in XML. In the second question I'm asking clarification on a very odd ...
1701fc1dbaeb45fc19b2e1ace02118bff8dd9e0805e8c2051f435f6c51c94f2a
['66454347245443ba84be73b88fa6105d']
*Is this accurate enough for a real-time server over the internet serving multiple clients?* Your question is too vague to get a good answer. When is accuracy enough in your case? It might be accurate enough for lets say a turn based computer game, but probably not accurate enough for intersatellite communication (assu...
e0e51120633f864ad8b77291f4248d23b918e152228218c01709af0a5cb4fa58
['66454347245443ba84be73b88fa6105d']
A few quick observations: String extensions is generally a bad idea because string is such a common type. Conversion code can be written more defensively. Use TryParse instead of Parse and if TryParse fails then handle that by throwing an Exception, or some other error handling. Throwing a generic exception with no me...
28b475cc4c2393178b5a5460beee5ec70cafb58059c3f2059fdb4d7657640d54
['664c2285e21542c8a64f9235b7928d52']
I'm inserting this custom code in Appearance > Customize > Custom Code > Custom JS: for (i=0; i<arr.length; i++) { console.log(arr[i]); } However, this ends up giving me a syntax error. When I check to see if the javascript appears correctly in my browser, this is what I get: for (i=0; i&lt;arr.length; i++) { ...
ba1e799a084f4ec0ecb5f0fa94687c7194dcc3b6d1f147bb8f029177921f9054
['664c2285e21542c8a64f9235b7928d52']
going off of <PERSON>'s answer, the issue may sometimes even be a little subtler than an extraneous manual install of react-native-gesture-handler: for me, i found out that a package i updated recently included their own copy of react-native-gesture-handler as a dependency (found out by doing a search through my yarn.l...
2928032274305640a81101d75e01803bcefe487775528ba0012cd3b63cd6a76c
['6655625ee206435bb3fe6bf9d562e65f']
Unfortunately there is no absolutely elegant solution to this one (as far as I've managed to accomplish). Hoping that Apple will eventually sort it out, but in the meantime, this is the nicest way possible: Place one custom segue instead of Show Detail In perform method of your custom segue have something like: - (vo...
64fbf087eb32eed376257383b3b32c1bcba8b8206b4442d7fcb16a5194490a57
['6655625ee206435bb3fe6bf9d562e65f']
When you initialize the UIImagePickerController make sure to set allowsEditing property to NO, which would allow you to get the full-sized original image. For an example, if you use: self.imagePickerController = [[UIImagePickerController alloc] init]; self.imagePickerController.delegate = self; self.imagePickerControll...
fbaa9f0e3c11682946dfe24fa0a412d2b5e61c647c8acc2f83c44b041eccfcde
['6664bf7903a54c35bdfbe92bca423dc0']
<PERSON> Hi, I added some more data to my question after moving to innoDB, also my above query just need to update 3612 rows. If I want to update all colors then the number of rows to update will be much higher. But I am tring to improve this specific query to check less rows. I just moved to innoDB, and didn't do the ...
9f5426a123571da27518f9854804ca0f895e510b3d539795e1590110ee2758f0
['6664bf7903a54c35bdfbe92bca423dc0']
I'll provide an exact account of what I'm trying to do, in case the answer can vary depending on the plug-in. At work, I've installed the Feed Intent Viewer plugin without incident [With the latest Chrome version]. When I wanted to install the same plugin into my Chrome browser at home, I was prompted to sign in to Ch...
68621f7f23a5861f2a13a12384b4a261cf1903cd454d2424f50aeeee60eeefab
['66709f0e88ee45619a633a3e257e0dc9']
One way to accomplish this is to combine your year and quarter and join based on that. Your code already includes the quarter +1, so adding a line to each of your calls to mutate() and then using joining based on the new column. library(lubridate) library(tidyverse) dates_A <- sample(seq(as.Date('2005/01/01'), as.Da...
4b6bd6b936d69026f62d957d7f1fc1b38f7145fac30e00fb196893cce56add44
['66709f0e88ee45619a633a3e257e0dc9']
You can use gather from tidyr. This converts the column name into a value in a new column. For example assuming your data is in a dataframe called df library(tidyverse) df%>% gather( key = "sampleID", # name for new column that will contain "NA, len1, len1,l1n2, etc) value = "length", # name for new ...
ac76452ce42d88c523b083ca75edcb6d35c4a6191299fb32be6f8371d02c323d
['6672279535f04421906d7c61f74b3f34']
It seems that open two browser ( like chrome and safari ) for the two different phpmyadmin will do the trick. The reason causes this may be the server auth_type is the cookies for both the site. So, any tabs in one browser will share the same cookie for their host is the same.
5a613c543aa60c4808ef5876cae9f91b980dc7821f5873cb21888f7b7715b350
['6672279535f04421906d7c61f74b3f34']
In my case, it is the constroller's case problem, but a little different with @Brain's answer. It is because I use a default controller named as "AxxxxBxxx.php". I always got a 404 error. After I change it to "Axxxxbxxxx.php" and change the corresponding class name. It works. BTW, I use codeigniter 3.0. Hope it helps!
66a85c68ec4d46ec59853c405c0c475829a6b3170f86727f73f19b49ed57742c
['6679a88c6ea845e3a53209e3a99264cd']
I've been working on this for three days. I'm trying to format the text in a UITextField to output in currency format and left aligned. I can format the text in the variable to output as currency, but not in the textView, and NSTextAlignment keeps giving me an error. import Foundation import UIKit class dollarFieldDe...
8b350a7d8dd181acbd3bb40b32568eeb251962b1ea80ca92ae504df15851d964
['6679a88c6ea845e3a53209e3a99264cd']
So I figured it out. And by that, I downloaded the solution. However, I don't understand why it works. Why does returning false (after converting the textField) give the correct solution? func textField(textField: UITextField, shouldChangeCharactersInRange range: NSRange, replacementString string: String) -> Bool { ...
a5654daf5962b2562947760af12903a9e3132e9c814bf82a3b16723c58adb33d
['6683ffc12af04c09b575e980cc98d586']
Malloc's can overflow heap usage, even sparing use can lead to memory fragmentation, but your test code should be able to detect out of memory errors. Recursive function calls passing by reference can overflow stack usage. If you initialize the entire stack/heap with a set value, you can then scan them to see how much ...
7eb5392ea6e62dd5d9aece03919d054bc259c28bde59afa8b49f5fc6371517f5
['6683ffc12af04c09b575e980cc98d586']
One way would be to create your own extension to the API to count contiguous FAT entries across all the sectors. Without modifying the API, you could use f_lseek(). Write open a file, use f_lseek() to expand the size of the file until 'disk full'(end of contiguous space). This would need to be repeated with new files u...
509a5d28217120733d1849a7536b1ee831ede33956c7a70226ca4ff8668c1bd8
['6684bafbf1e94603a5caecbab1525d14']
Please try below code $startTime='09:00:00'; $endTime='11:00:00'; $Times=array(); $interval=15; while(strtotime($startTime) < strtotime($endTime)) { $Times[]=$startTime; $startTime=strtotime("+".$interval." minutes",strtotime($startTime)); $startTime=date('h:i:s',$startTime); } Output Array ( [0...
6d674f3716030d0dc45487e5fa69c8c4585214626097b2c911079e61395027a7
['6684bafbf1e94603a5caecbab1525d14']
Please check below solutions using mysql function. select prd_code,digits(SUBSTRING_INDEX( SUBSTRING_INDEX( prd_code , '(', -1 ), ')', 1)) as one from `your table` use below mysql function : DELIMITER | CREATE FUNCTION digits( str CHAR(32) ) RETURNS CHAR(32) BEGIN DECLARE i, len SMALLINT DEFAULT 1; DECLARE ret C...
8d15cbf42a3becab0e99951dfbb6f94d7f2ff09f1c74a82c7544fe4fbb8cd4f0
['668978d302334200ba72f861e191e7b0']
In case Mozilla doesn't getting around to making their new changes in FireFox 16's rendering engine backward-compatible, how do I prevent the browser from converting CSS3 non-matrix transfroms into matrixes? Below is an example of how this affects JavaScript-based animations, and why it's important to me. Pasted from m...
f19d686e1f7c66c457e3c66b15095f1329e5a870ed02f3020b581f59275645e5
['668978d302334200ba72f861e191e7b0']
Trying gem install json-schema on the command line results in ERROR: While executing gem ... (Errno<IP_ADDRESS>EPERM) Operation not permitted - connect(2) for "<IP_ADDRESS>" port 53 I'm on a Mac which reports macOS Sierra 10.12.6. I have Xcode Version 9.2 (9C40b). I have rvm installed, and I'm using ruby 2.2.9. I ...
edd9ce528295753b4efe9669bbb1a20199548ff221c953aab2dedc1901cc645c
['668d0785abdc4d9d8b861cc9ddd955b4']
I have a Java application running on an embedded linux (BusyBox v1.12.4). I am using CDC 1.1 and the version of the VM (cvm) is CDC HI phoneme_advanced-Core-1.1.2-b111. The application's main purpose is to collect some data and send it via GPRS (using the FTPClient of the Apache commons library) The application was run...
36ecaf2be3de216f19dc0ee5b52da06a8d01a5367e3f7976145dc5946be49a88
['668d0785abdc4d9d8b861cc9ddd955b4']
I have some load testing to do. My web application does not have a domaine name (only an IP adress) and uses HTTPS. When try to top use JMeter's Script Recorder, I get the following error in my web browser: An error occurred during a connection to 188.165.49.217:8443. SSL received a record that exceeded the maximum per...
b44b60a1d843a53e188133bbb3d997abb764d487426ea39a535f3eb0777bbd24
['669eda6d59b8486fa475d2e2fe64c0a0']
So I got it working after all. It seems that it was an impersonation issue after all. The odd part is that first time I call my code when impersonating a local user on my PC which also is created as a local user on the server, I get a 2059. The second time I call the exact same code literally 2 seconds after, I can no...
143ed931700ed2c9cb9212e6196cbe2b1ba8940736595f0d914ad5f6926ca87e
['669eda6d59b8486fa475d2e2fe64c0a0']
I have a site where I redirect the user to a url, created within a SQL query based on what he entered. So when someone for instance enters http://www.example.com/Something, they are automatically redirected to something like http://www.example.com/Templates/12ES.html?ID=a_very_long_string&URI=Something. This is all don...
f02544b24e9c25af29dda59b63a206d4ae692f88284cb97ac3393f83fc94ad8b
['669f4e5cc39c424a994ef48df8783e59']
Find the equation of the plane that is tangent to the plane x = y² + z² - 2 on the point P(-1,1,0). I got the equation x = 2y - 3 out of $F_{x}\Delta x + F_{y}\Delta y + F_{z}\Delta z = 0 $. However this is a line, not a plane. Are my calculations just plain wrong? Or if I did the math right, then what does this mean...
ca57745e7bd27639d85833b53b2685596ff51a89b384ce3ecc607b4827f0eeb4
['669f4e5cc39c424a994ef48df8783e59']
I have a panel with a button in it. Clicking on the button will direct the panel to state "State2" adding another two buttons into the panel. During the state change, I want the panel to resize first and then show the newly added two buttons, so I applied transitions onto the state change. My question is: If I put the ...
9ff32689bf195b340cacd84ee121bdb78d132d5c16eb6a9ba6e249532e485abd
['66b0a9790c2c45f7bcd4f1bca876ab8a']
I'm using Slim Framework, trying to build a REST API. Long story short, I've been like for 4 hours looking for a solution for my problem, which it is that json_decode won't take as an argument the array that getBody() returns. Using Advanced REST Client for Chrome, the error I get when I do a post request is: Slim Appl...
7ea7f89b354be0312eea8cee15d5728c0b5531f8ca80a56b52c8bef198563c4e
['66b0a9790c2c45f7bcd4f1bca876ab8a']
All I'm trying to achieve is simply to marshal to a xml file Contacto.java import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; @XmlRootElement public class Contacto { @XmlElement public String nombre; @XmlElement public String telefono; @XmlElement pub...
a98eead4275532efdcd6df7f66bdae2920cdb0ae75586858deba8aa851fcc276
['66c96eefcd4f4cb0b3034ce508bcdc14']
Are you trying to echo PHP data within HTML? If that is the case, keep in mind that you can just write your PHP and HTML code just mixed like this. Otherwise, please explain more what you are trying to do and consider posting more detailed code as it's not very clear to me. <html> <head> ... </head> <body> ...
1103ffe3efb3a1859dc70c872471c8acc2264dc8e77c32fe64fff8ba8feb243e
['66c96eefcd4f4cb0b3034ce508bcdc14']
I don't know whether it's possible within your given circumstances, but I'd definitely use events rather than looping. That means track when a point changes it's position and react to it. This is much more efficient as it needs less processing and refreshes the positions faster than every 1 second. You should probably ...
682fe7e60355b2a91f8047275364087785b4325b8967ad64fac199e493907ac8
['66db23fcedcd433d946932f878689829']
I'm working in a strong regulation context, in which using opensource libraries (which is almost synonym of on GitHub nowadays) is permitted as long as you're able to have the source of all these libs. During feasibility stage , I've been linking libs on my project using nuget, storing the project in Git, so far so goo...
2525451c279ab8e2b8fc9ff9da728d64f325071698e2f8f2f66a78313bcd6d17
['66db23fcedcd433d946932f878689829']
I'm trying to build an MVVM application without using any MVVM framework. I've defined my main window and viewmodel, an appcontroller, a couple of views (UserControl as generally adviced) that are displayed in a mainwindow panel, sharing the same look&feel by using composition with another usercontrol which contains co...
dd21fdd929e7a2390f052ca63b4defddf6ad57571a5ccffed931c75d9b9849f5
['66dccc75888349298d39c1d0f9d429e6']
Some .x files when opened with something like wordpad have readable material. You can look at the vertices and all that and can even edit it. But some are just symbols which are not readable. My question is: Is there a way to be able to read the information? What I am trying to do is change the texture path name. The n...
b07b1503263840651e9e7f6c618fee558593ac82bf9e4806e0460fe8da49da8d
['66dccc75888349298d39c1d0f9d429e6']
I am doing a report for a course where I need to plan a c++ game project. Part of the planning is to estimate how much memory the program will need. I am really unsure as to how to go about doig that. Should I be estimating the number of variable and their types, the number of classes, the number of funcions, the file...
6972a9ae50f090a96ab28e8fa5253e773b3c40c89d21071ed5dbc2a39ede8e55
['66e97afaaee14f5eae347aca55878cc0']
As aeroNotAuto mentions in his comment more information on how you are planning on experimenting (mic placement, recording techniques & equipment, etc) would be helpful. Mic choice boils down to how a mic sounds to you in the situation you place it. So your choice for your second mic would work fine since there's reall...
8bbb007ffd2a31c8cab936f402ecd6573c961a99ff51405f3e1d4adf8fded1ac
['66e97afaaee14f5eae347aca55878cc0']
I am a pro musician .... yes i agree that similarity and 'content' in any alleged 'blind' study sample will manifest a relevant INACCURATE difference in results. This has to be done with PET or other diagnostics to arrive at the correct conclusion. However, as far as 'sacred' or metaphysical......the shape of the coch...
85fec55391af79a23ad92dbbc8b7c34485bb70342ad2270b4afb6f5f8be067a2
['66eec57f827e4728a1d6210faf94f77e']
I have had success in using Glue + Deltalake. I added the Deltalake dependencies to the section "Dependent jars path" of the Glue job. Here you have the list of them (I am using Deltalake 0.6.1): com.ibm.icu_icu4j-58.2.jar io.delta_delta-core_2.11-0.6.1.jar org.abego.treelayout_org.abego.treelayout.core-1.0.3.jar org....
53c0fe1d802b4f56a5cbada3ad0e9bc37e7d7d2dae030915ee1adee0f914632d
['66eec57f827e4728a1d6210faf94f77e']
I have faced the same issue. The lambda filesystem is temporal, so you will need to do the autenticate process every time you run the function and the o365 lib will ask for the url. So try saving your token (o365_token.txt) in S3 instead of getting it in lambda filesystem and the use this token for authentication. I h...
e7a38a77af77c21920d1ac8ee856b5a81ffc2e2b6743b3353ef21d7777347047
['66f1ac142713486b9af59c93bff05591']
Like <PERSON> suggested in his answer, you probably want to declare a resource handler in your configuration class. What did the trick for me was to put a link in like this, especially the "media" attribute seemed to make the difference for my application. <link rel="stylesheet" href="<c:url value="/resources/css/...
bbc35ac485bf1c2112ee8ef38c137fa38d0982f8d03741532dd483e91b32b8d1
['66f1ac142713486b9af59c93bff05591']
Basically you need to configure the TCP/IP in a hard coded way. How to do that is very well explaned here configuring SpringBoot for MSSQL : From the Start menu, open SQL Server 2014 Configuration Manager. Click Protocol for SQLEXPRESS under SQL Server Network Configuration on the left pane. On the right pane, right...
3ea770b619cd31a0c58ca7d1c1122cb7c237e18ccc6771c540272822b8d5c40d
['66ff76e0caef404098d976dcf679da7f']
Essentially, what I'm doing is writing my login and authentication routines for the CMS I'm developing. I'd like to incorporate the ability for a user to log in using Facebook or Twitter instead of having to type in their username and passwords. Part of the feature is the site owner would be able to turn this feature o...
943d73904675ff1c8bd08d059b5c72abd6de5e7438f8a0ca1ab9d7c7817f71fd
['66ff76e0caef404098d976dcf679da7f']
We just had to solve this issue for a client at the agency I work with. I'll also describe the code here so just in case anything happens with the fiddle, it's here in perpetuity. The Fiddle https://jsfiddle.net/GrafikMatthew/7nx53twL/ The Libraries I'm using the 2.2 jQuery library for this, though I'm pretty sure an...
72f5cf4c7b981dec0c4f65c987407c1d0c8b512a39b7fff10ba6e74e326edd13
['6704b1309e64436c8e114c575930079f']
This is my simple filter table. <tr class="text-center" ng-repeat="ticket in filteredTickets = (vm.tickets | orderBy : vm.propertyName : vm.reverse | filter : vm.search | limitTo:vm.itemsPerPage:vm.itemsPerPage*(vm.currentPage-1))"> And a search input <input class="form-control w25 pull-right" ng-change="vm.searchChan...
db35d7d711c37a18b7a43962fb107f3ebd14e5582a6c696cf55cec8a7273caa8
['6704b1309e64436c8e114c575930079f']
I have a table with this ng-repeat ticket in filteredTickets = (vm.tickets | filter : vm.search | orderBy : vm.propertyName : vm.reverse | limitTo:vm.itemsPerPage:vm.itemsPerPage*(vm.currentPage-1)) My thead call a function on ng-click ng-click="vm.sortBy('title');" And in my controller // table ordering vm.p...
a4aca1dc232a8b6421f091f1df1e019f106b5c0128eb1c2b8b834a63f386c3d4
['6707adad6dc74bee8c647bfe5e7617a4']
Figured it out. Now though the code was an example that I had found the for loop was not working correctly for me, so I got rid of it. And for iteration I implemented a do-while loop. However, the code the works now. #include "stdafx.h" #include <iostream> #include <iomanip> #include <conio.h> #include <vector> #inclu...
2b6db82b6a04ac5e8a2a3149e3b765efe3bfcc090cedd43bd1ddc3d590fb2c9d
['6707adad6dc74bee8c647bfe5e7617a4']
I need to access a file and then display the content but for some reason I cannot display the full name. I made the variables fname and lname for the first and last name. For now I just wanted to read the first line correctly. I've gone over a lot of help material but have not understood how to figure it out. A push in...
5a8f1415980d31a8066d5e04d1f5119e64ae4f656d1ca9092580c7870de46ead
['6722337a97704d569b7f37b332392f9f']
In SSMS I've gotten my for xml path query written and it's beautiful. I put it in an "Execute SQL Task" in the Control Flow, set the resultset to XML. Now how to I get the results into an actual xml file that I can turn around and FTP to a third party? This should have been so easy! I would put the XML into a variable ...
97f36e125bc0e872ff00edb77d098344d8e7aa5a0b015480682d9a9a695681eb
['6722337a97704d569b7f37b332392f9f']
I know it seems redundant converting to a DT_STR even though you know it's already a DT_STR but SSRS can be finicky: (DT_I8)(ISNULL((DT_STR,5,1252)Column_Name) ? (DT_I8)NULL(DT_I8) : (DT_I8)(DT_STR,5,1252)Column_Name) I did this in a derived column with both your way and my way coming from a DT_STR field that stored n...
045c17efd2999fa9c1e7233c38296e6670a3abdbbe768597965498f7783ef5e4
['67278f6ba206463aaabf1fafdea1db07']
If I am not mistaken, I don't think there's a way to do it with purely pandas. However with python and datetime, you can do so: import pandas as pd from datetime import timedelta, date def daterange(start_date, end_date): # Credit: https://stackoverflow.com/a/1060330/10640517 for n in range(int((end_date - sta...
4b9c64cecf576d0bd2686a63f14395c95cb14ad46d6e9e757c062a7d5ee04829
['67278f6ba206463aaabf1fafdea1db07']
Since you're using python 2 (there's no raw_input in python 3), raw_input returns a string. To get an integer from input, use input. prompt = "> " def pos(answer): print answer if 0 < answer < 12: print "Damn you'r young, but you can still do a lot of things.\n" elif 65 < answer < 110: prin...
c06ac00fa421aa28dc92ff16f3b69413be5a250145a2edb8de81e636a3b4734f
['672be2ee65b54e788676d2fb1d947bf0']
I am new to MATLAB and I currently have a script that generates different values for a variable n every seconds. So I end up with 100s of data that needs to be transferred to excel. Currently, I do this manually by copying pasting each but it does take really long. I thought about using xlswrite command but that just ...
eb126a4f89ba7fb299807407e20c7b47873a09f5ca40d6d8836feeee2850b487
['672be2ee65b54e788676d2fb1d947bf0']
I am currently working on a game project where objects fall from the top of the screen and the person at the bottom needs to catch the right objects. Texture2D blockTexture; List<Vector2> blockPositions = new List<Vector2>(); float BlockSpawnProbability = 0.01f; const int BlockFallSpeed = 2; The following is to spawn...
5f66fe070c5bc98c59d68d541ba9eb26b0f84e46d02437f77de9ca1b6f690643
['672f50c3734e43909433ff574c0c1bc5']
Got it! So, turns out, unknowingly, although my API was returning valid JSON, matter examining the header response logged on the Xcode side of things (thru NSLog(@"Error: %@", error);), it was actually returning text/HTML because it wasn't actually hitting the correct file, it was getting re-routed by a header somewher...
0d0fa0df561595e55bf25b59671bb3aea8fec4c24854500bc5d9ac02e10a2bea
['672f50c3734e43909433ff574c0c1bc5']
I am writing a script to display images on my site. The images are stored on the server and the source (path) is on a mySQL database. I want to be able to move to the next (or previous picture) by invoking two php functions I have made to do so. The code I have written so far is: <?php require "db_connection.php"; $q...
5109a2472fabc024eb96dc141de123172ec3faa82ce91b27a614d553ac4b037c
['672f50f4e7d34b298d0b5a775008cad5']
I'm trying to create a calculator-like program that takes the number you enter into the first input field and divides it by the number in the dropdown field below it. I'm trying to get a specific percentage of whatever number is entered in the first field. However, I keep getting "NaN" when it runs. What should I chang...
f110963d983db20dfd7190354fd019d7355af0416fd2f9e67fb120203e0c11cc
['672f50f4e7d34b298d0b5a775008cad5']
I noticed Mellow Mushroom's website tabs change depending on if it is active or not. I'd like to be able to reproduce this on my personal site. Here's a video in case you don't know what I mean ---> https://imgur.com/i4MLMKz Will I need to do this in JavaScript?
b2637bb502936efe0432c3ef4462068622c5138e54c2152663e72881f73bdc1b
['675446fff2444af78ad887cfd7391f3d']
I'm wanting to set the Welcome Page for my Sharepoint site using CSOM in C#. Essentially what I'm doing is uploading my new welcome page (home.aspx) to either Site Pages or Pages and then I want to change the welcome page to match my newly uploaded page location. I've looked around but a lot of what I've seen is eithe...
d57480caa81dea6389d0a2ba08afec335deba3352203e6b61284abc28a2aa235
['675446fff2444af78ad887cfd7391f3d']
I'm doing some HTML and am running into an issue with my left and right column divs not scaling based on the content inside them as well as in proportion to the rest of the page. Here's my example: http://i.imgur.com/9vi2EK9.png And my CSS for each of the divs: #wrapper{ background:white; width:1280px; posi...
16ef1c0b0f65346c42e4f99148a3f88517a392f2c5f1ed104fb3318e9a1f6522
['67574ef26c5b4e4185c63f1df3f8adbd']
I am already logged in the front end of my joomla site with admin credentials. But when I try to login into the backend or admin panel it ask me to renter credentials. I want that when a user is logged in the front end and if he has the access capabilities to login into admin panel then he should be directly logged int...
505c66efeefd6cc703a4a136198bbf9791cd9e0ddc919d80fc05b2de1fc56dd0
['67574ef26c5b4e4185c63f1df3f8adbd']
I have a user logged in admin panel(backend) and frontend of the joomla site. I checked the session table in DB and found that a session has been created for that user. I just deleted that row from DB and when I goto admin panel(backend), the user is logged out, which is correct. But when I goto frontend of the site, ...
f5d76292fe17e016763c839be1922606288748c8b529cdadad2dbca3bf41472d
['676285cc01624ebaa847cf7968d77b30']
I have a bottom navigation bar in my flutter app which is used to show different pages. I need to click on a button in one of the pages to navigate to another which can also be navigated through the bottom navigation bar. To keep the state of the page i have used IndexedStack widget. also i highlight which page i am cu...
9d793b46e6354b95ac371ff7dfc1f4129cb873eaeedb21a699df4adec336212f
['676285cc01624ebaa847cf7968d77b30']
How to change the widgets in a list item in flutter using bloc pacakage. Should i use BlockBuilder or listener on the whole ListView.builder or only the individual items. It would be nice if u share an example or tutorial. eg If i have a checkbox i need to change its state on clicking it. These are my Bloc classes Bloc...
54961c39719dc5b259b605c282dc9514989449a02596222164107bd3a51056ca
['6763175ec5e9478ab881f97bb9176ca7']
I have developed a UWP app in C# which contains a Windows Runtime Component C++ project. the app allows the user to choose an mp4 file and passes this file to the c++ code, which then utilizes ffmpeg libraries to retrieve the presentation time stamps of a video file and output them to a file. the issue i'm facing is th...
8a999ff260ea9373b460e7de9a2e023e59f977d90f164c12feab3b79d2d3c568
['6763175ec5e9478ab881f97bb9176ca7']
I'm making a website for handling office hour queues that has 3 different types of users: guest, student, and instructor. the instructors will be able to log in and enter the timings for their office hours for a specific course. and i want these office hours to show up in a calendar such that all the instructors teach...
b8c54632f4621ef17b2e9433e7dd75abe003c425c8ce51bd1524a99a6e4acacc
['6767976714a74a8785b171ea3682cb87']
Fwiw, here's one crude way of solving this problem. # your original data frame dat <- structure(list(ID = c(1L, 1L, 1L, 1L, 2L, 2L, 2L, 2L, 2L, 3L, 3L, 3L, 3L), DATE = structure(c(3L, 4L, 5L, 5L, 2L, 3L, 4L, 4L, 4L, 1L, 2L, 3L, 3L), .Label = c("9/18/2014", "9/19/2014", "9/20/2014", "9/21/2014", "9...
de2718a6cde60751d47bcbe3b68c29f70399b7e723ef508cfd08816c82b12ee0
['6767976714a74a8785b171ea3682cb87']
I was reading Parallel Computing docs of Julia, and having never done any parallel coding, I was left wanting a gentler intro. So, I thought of a (probably) simple problem that I couldn't figure out how to code in parallel Julia paradigm. Let's say I have a matrix/dataframe df from some experiment. Its N rows are varia...
570208ca1e48027c0a5ade5b0b2ecc7c71c6035e3281ff79faaf046fd730180d
['6771f631e0af4e9a8ad109bcf748da49']
I'm trying to prove the following statement: Given a Lie group $G$ with Lie algebra $\mathfrak{g}$, if $\psi: \mathfrak{g} \rightarrow \mathfrak{X}(\mathfrak{g})$ is the infinitesimal action determined by the adjoint action then $$ \psi \left( \left[ X , Y \right] \right) = - \left[ \psi(X) , \psi(Y) \right]\,. $$...
c566eba46c0918f6f17a2039abf0ede6ef28d31cef856228a833a0ef5768fab5
['6771f631e0af4e9a8ad109bcf748da49']
I'm trying to prove the second part of exercise 4.6 of <PERSON> and <PERSON>. So far, I have proved that $H$ is central. I thought of using the fact that in this situation $G/H$ is locally isomorphic to $G$ but I am stuck on how to proceed so some hints or advice would be greatly appreciated.
fad4b808db1bfdca267f71593866d9c795be314b406249d3a68e48ef514abec1
['67886d467e0e47aeb685b4ef661d01f5']
Нет, новый файл не нужен. Просто выводим новую строку. Имеем текстовую строку без точки с запятой, а получить нужно с точками с запятой в местах, где необходимо. Было: `"mersedes audi honda_b5. творог bentley грибы."` Стало: `"<PERSON>; audi honda_b5. творог bentley; грибы."` Но имеем ввиду, что в этом тексте два пре...
0d2dd60b2b516cd4c15102986eb302c4ba7a611b45b757042fcf7c5904608f77
['67886d467e0e47aeb685b4ef661d01f5']
Да, я как раз смотрю ваше решение, спасибо, что сами и откликнулись. Изменил описание на более подробное -- пошагово, так как первоначальное ТЗ вводило в заблуждение. Ваше решение отлично написано и работает, но выполняет немного не ту задачу. Если есть свободные 10 минут, то ваша помощь будет очень кстати, если нет,...
f1b25d4b7a1556c5f9d5a8827d12e902041353bf05e595ef46ccce2baf9c21b6
['6789251047d940308c4809be3bc08301']
Yes, just in case you were wondering...this one was totally operator error! Yep...me! I had forgotten one basic thing. When I chose the default author for guest posts, I forgot to check and make sure that the author had the ability to publish entries! Yep. I'm a moron!
8764469d5fe41e4819e5d17e5a03b034acdb501961b6dbbb1c2eae10e010a11a
['6789251047d940308c4809be3bc08301']
The universal cover of $G=SO(p,q)$ is called $\tilde G=\text{spin}(p,q)$. These spin-groups can be constructed using Clifford algebras and they are therefore useful in constructing spinor (projective) representations of $SO(p,q)$. As an simple example take $G=SO(3)=SU(2)/\mathbb Z_2$, it has only integer spin represent...
7529eb0bf8ebf98283bdf00e7d0b3efe4bbc54123ee2a89b417046e621ecd362
['6795842a4cec4720926264c90c04b9d6']
You can create multiple similar VMs faster by creating a group of managed VMs. First, create an instance template, specifying the VM configuration that you need: gcloud compute instance-templates create TEMPLATE_NAME \ --machine-type MACHINE_TYPE \ --image-project IMAGE_PROJECT \ # project where your boot disk ima...
cafd9b04d35c56508ff8caa9defa4a4e3ea911647393cd9b1f99d200802ec1ad
['6795842a4cec4720926264c90c04b9d6']
Try launching your preemptible instance in a different zone in another region, even another continent - where there is night is at the moment. For example, if it is a day in the U.S., you could launch your preemptible VM in a European zone. Preemptible VMs could indeed be utilized more during day time as people use the...
634521b163ab06ccf747cd9285249f3881fb7e6c38497c9bcaf6af555d83fa56
['679c421af04e48e18f35b7b025f4e3ef']
current->next = malloc(sizeof(node)); should be current->next = calloc(1,sizeof(node)); /* because safe NULL test for ->next ! */ void newnode(node *n, int x, int y) { n->key = malloc(x*sizeof(char)); n->value = malloc(y*sizeof(char)); } should be void newnode(node *n, int x, int y) { n->key = malloc...
1ad8d1de1b6ac52a5f5c6382a2b723c8acdf27cbb08a89c7f9db26c8478ef0de
['679c421af04e48e18f35b7b025f4e3ef']
You should separate your work in a function and sscanf can split the string. For a constant splitsize at compiletime you can iterate with pointers over the new N+1 char-size like: char (*split4chars(char *s,char (*b)[5]))[5] { /* returns a pointer to char[5] elements */ int n; while( 1==sscanf(s,"%4[^\n]%n",*b++,&n...
01b24015fd35c4cebe7094a3d3f38f2d4c61a05221f228e09e6da47c2cd57040
['679cc77d51354c3d99dbda9c45889675']
Yes, this works for swapping the longitude and latitude :) But is there no way I can get the id marked along with each point? You would observe I have an ID parameter as well in my table corresponding to each coordinate. I need to individually label each point into one of three classes which is why I was using iteratio...
58c3ad304349cd862947fc0999df535bffdb21a95cb00e0412f08804307159da
['679cc77d51354c3d99dbda9c45889675']
I have this small code for getting nightlight image for a particular city using VIIRS Nighttime dataset. var district = ee.FeatureCollection('ft:1PA2zwArj8EsplrX9eMxJ2H_TICyyx855KPnbJhC1','geometry') .filter(ee.Filter.eq('name','Gurgaon')); var nighttime = ee.Image(ee.ImageCollection('NOAA/VIIRS/DNB/MONTHLY_V1/VCMCFG')...
735a1a226c6ad637fed707922f54ea5cc763321061014a9997bf9850fb721d28
['67a3645232f745f3a342902e7b043662']
Got a conclusion here: We found a work around and the statement that this is a bug in VS2012 PCL projects still stands. We created our proxy in a metro project and simply copied the reference.cs file over into the PCL project. It was a "what the heck - why not" last attempt of sorts, but it actually works. Even better,...
8971bb75ff74b4edd24e2265f7a73690ceae9e7e54237d87b68a9d1a83c98664
['67a3645232f745f3a342902e7b043662']
How do I shape the payload to enable a post or patch for fields that are Hyperlink/Picture? Getting those fields is straight forward: they come as "fieldName" : { "Description":"asdf", "Url":"asdf.com"} This works in flow using the Send HTTP Request to SharePoint block, but I can't figure out how to make this work usin...
88b075a751a21276a8384391bbffd463ac74c9f982e61d07d2d3259abf6440a2
['67a6120e877a413aaf5a25176cfb83d4']
I want to plot a "double" bar chart for three categories of data, and show the significance level based on <PERSON> test, for each of the two "double" bars. Running the below code, I don't see the counts reflected on the y-axis, rather, all the bars are at the same height. library(dplyr) library(ggplot2) library(ggpub...
6e34976960fcc3c6bae6a27fc1ab59cadada55ed8b43cbe8b32820e2bcc346f7
['67a6120e877a413aaf5a25176cfb83d4']
I am using the following code to generate a 3D scatter plot with vectors in Plotly - R studio. Currently, the legend labels are displayed as "trace 1, trace 2, etc", but I'd like to change that with my own text. Any idea how to achieve this? #Define the data from df to be plotted, basically three columns of a data fram...
c10dc35e2c3741372c97b022ebb88b97241ed6e3b809dca793bb4bea4b4d3ae8
['67b948aa9e95416299631981ac0e21aa']
After upgrading tensorflow 1.3.0 to 1.4.0 I encountered this error. to solve it, I check different steps : sudo pip3 uninstall tensorflow-gpu sudo pip3 uninstall protobuf sudo pip3 install tensorflow-gpu==1.3.0 sudo pip3 install protobuf==3.3.0 but the error was not resolved. finally, I uninstalled pygoogle sudo pip3...
c59a3ddf4de69d2c985a658a8b96c7026eba6fcdc96e036d8e59ea7fd000c48f
['67b948aa9e95416299631981ac0e21aa']
Here is the code that works for me. it is originally taken From the previous answer by <PERSON>. I just add some modifications : #get the number of records in the tfrecord file c = 0 for record in tf.python_io.tf_record_iterator(tfrecords_filename): c += 1 totalFiles+=c ...
36110c9d7356c93e208ce9d81c23de945299bfb7e078e8f30b0de355c7c7c50f
['67cc3552d45d4f50bff0d6069899acee']
Swearing is completely acceptable around women, at least as much as it is around men. Usually you dont swear around children but its fine around adults. There is no separation between the sexes and such beliefs are long since antiquated. I edited your answer due to this sexist and quite simply wrong assertion.
ea7b4313fcbce49a8deae3cc36e0e567b5cfc529d9799a70e35aeb2049b04826
['67cc3552d45d4f50bff0d6069899acee']
Thanks <PERSON>, I love this device. I wonder why you have not provide a link to this gadget or did not mention the price range. I found it here: https://www.amazon.com/Portable-Bluetooth-Playtime-Wireless-Flashlight/dp/B01EUGUNGK/ref=sr_1_fkmr1_1?ie=UTF8&qid=<PHONE_NUMBER>&sr=8-1-fkmr1&keywords=Puridea+I2+Mini+Wireles...
717cd30d5b0e7a02b35ed2737df71497aad27aa4f88dfae1ee0bcb25a0236324
['67d1487f294f4f2384f233820abb19b1']
i want to bind this simple XML File in my java project: <?xml version="1.0" encoding="UTF-8"?> <itg> <reader> <chapter id="1"> <subchapter id="1"></subchapter> <subchapter id="2"></subchapter> </chapter> <chapter id="2"> <subchapter id="1"></subchapter> <subchapter id="2"></subchapter> </ch...
ec057534b2a81ed3e8ddc2b1189dec1c7b055c49f80cd1b9420bec5ebee8f4cd
['67d1487f294f4f2384f233820abb19b1']
I have the answer, the main problem was the header on the php site: ajax: $.ajax({ dataType : 'jsonp', async: false, jsonpCallback: 'jsonCallback', contentType: "application/json", data: {'d':'empty'}, url : 'http://mysite.de/sqlExecute.php', success : function(sqlArray) { console.log(s...
e4fed4ff8c08b06a4067988d97741a0142b77b31444aefd6efcfecec54054739
['67e8003e8731416787e0a16146a4d085']
I need a few thousands of street distances between cities in germany. I know that there are a few web APIs where I get the distance thru a REST request, but I wonder if I can do that locally on my Linux PC. I saw the OSRM project and libosrm seems to do what I want. Are there any other tools doing that? What do I have...
b63b92d40f15f034c9969f42ddd76bcfe47f8abf8e01dd3905b6fad4b41c7c32
['67e8003e8731416787e0a16146a4d085']
You are using 2 different scripts, so just enemyCountt.enemiessCount --; wont work. if both scripts are on the same gameobject, then you can use gameObject.enemyCountt.enemiessCount --; if these arent in the same gameobject, then you can make a reference from the other gameobject with the other script ...
3b6f5e94fd57796611c1619545cd505ab60e3d895485f5dc3dcafb781ccc7603
['67f45c3c9a2445af8342010cfb278e89']
You should use JSON.NET or similar library that offers some more advanced options of deserialization. With JSON.NET all you need is adding JsonProperty attribute and specify its custom name that appears in resulting JSON. Here is the example: public class MyClass { [JsonProperty(PropertyName = "24hhigh")]...
3706aa0150fcc532cd1bab077abc2476bb16ca976b72d0096054ed311264ceff
['67f45c3c9a2445af8342010cfb278e89']
Right, there is no explicit limit. If you inspect the json schema, you will not find any max restriction defined: deployment template schema. However, Azure deployment template is limited in total size and must no exceed 1MB: You must limit the size your template to 1 MB, and each parameter file to 64 KB. The 1 MB lim...
f50b21a9c877da2d70f91d7c67ba17f03c18b9aafa2601d68133efe5645a619d
['67fe74d707c446338d699834b3c44331']
<PERSON>, I'm now trying to follow your recommendations and I'm having difficulty actually doing so. Do you have a guide that demonstrates how to install both drivers? I've only be able to find processes to updating the mesa drivers on a laptop that does not have any proprietary drivers already installed.
b5bdf895f7af27e1726da37d8e468dd1667356d7c64177eabc3ea66c54a9cbd4
['67fe74d707c446338d699834b3c44331']
I intend to use the Debian system for resource-consuming mathematical calculations. Both RAM and CPU will be used, and in fact, the speed and accuracy of my computations are directly correlated to the availability of the former. (I've also updated the BIOS, but this has had no effect; I can still only see the blinking ...
ea0a60959c70a5e2fb1844b6281ceb64efcf29c1f266bfae4ef37d08bfd04eb9
['680a83c9ccd54fbc9dff4b90b325e30a']
I've gotten it. I hope I transcribed the solution correctly. An example with Try > Context holds the context of the functions. > > I - input to function (read by f) > > R - result of function (updated by f) > > E - exception causing an error (updated by TryF) > > > Update - copies the old context, notes the exception...
47ad1edd0c64fc71edd64e5adc110845e0aa2fbfd639a4374d6ce42dff7c16c0
['680a83c9ccd54fbc9dff4b90b325e30a']
In scala I have two functions with different signatures. I would like to write a function that composes the two functions into a new function with a common signatures. type CFunc = (Context)=>Context type UCFunc = (Context,CFunc)=>Context type CompF = (Context,UCFunc,CFunc)=>CFunc val combine: CompF = (c:Context,uc:UC...
39c188a99cf34262fe80fe4e9abf13f2bb13b91e2c93556c68e25986853c938d
['6816bbf5012b443a826494a87fa58e0e']
I would suggest getting an array of the data you'd like to export into php using a MySQL SELECT query and using your php preg_replace() statement since you know that works. Exporting the replaced data to a csv file from the php array is pretty straightforward from there. This link has answers with code samples of how ...
e21fc2cb9b389736cb67493e50848fd8320f3c4ba28fce90835010cf040ce137
['6816bbf5012b443a826494a87fa58e0e']
Here is a function for writing to a specified log directory. You just pass in the log message and it creates/updates a log file named after the current date. Be sure to give nginx/apache ownership of the log directory with chown. function logActivity($data) { file_put_contents("/home/logs/" . date("m-d-Y"), date("h...
f74e0ce4be9865acc62f01fd998e40f0e317f658b4180683175e3b38377b1b2e
['684404d138a74609a5b2a7af5802018f']
I am attempting to take a user inputted word, ad it to a stack and then check to see if that word is a palindrome. I am attempting to pop everything off the stack and onto a new string and then compare the strings. I believe my current issue is that my pop() function doesn't actually return a value. It actually just cu...
ca10e45f861e3b08fdc0afa8a4ad5560c1c8c4251a37dc81dd777df46c7096ae
['684404d138a74609a5b2a7af5802018f']
I am trying to create a class that has a few methods in it. I am attempting to only pass the values entered by the user into the methods. Then, each method is run and the value is printed in the main method. Here is what I have. public class HotelRating{ private int hotel = 0; private int years = 0; int [][] R...
dd92d3c9f8065ee6905d9d91110e5a3ae3b3c340a27d0a708784d12171fa5863
['685379189db4475080578dea1a8d7381']
I'm trying to use class inheritance for puppet. There is a base class named foo and an inherited class named bar. Overriding file or package resources are quite fine and works properly. But at the same time i'm using a custom module for configuring sudo. The problem arises when i try to override sudo class from inside ...
e6c0d5663bde5962e6d07eaba786b3fd684d12aaf50314e6d5e31a045e927e92
['685379189db4475080578dea1a8d7381']
That is because you are trying to find files using regex instead of file globbing. Try this one: First see if files are matching: jar tf foo/bar/abc.jar | grep "qwe/!(da-man*)xml" if matches then delete them: jar tf foo/bar/abc.jar | grep "qwe/!(da-man*)xml" | xargs zip -d foo/bar/abc.jar
c9069ce403afad20e282b38c4d181f56533abecb311643140ca58c5ebe5bc1da
['685a6d41d03940d894eb254ba3aa2f55']
{ "snapshots": [ { "snapshot": "curator-20160509052605", "version_id": 1070199, "version": "1.7.1", "indices": [ "jal" ], "state": "SUCCESS", "start_time": "2016-05-09T05:26:05.735Z", "start_time_in_millis": 1462771565735, "end_time": "2016-05-09T05:26:06.282Z", ...
0ce5c0e6d577b73c3ea16a8399c22bb9bdcca51ac5127f483d286942eeb44f2c
['685a6d41d03940d894eb254ba3aa2f55']
hi I want to set custom routing on specific field "userId" on my Es v2.0. But it giving me error.I don't know how to set custom routing on ES v2.0 Please guys help me out.Thanks in advance.Below is error message, while creating custom routing with existing index. { "error": { "root_cause": [ { ...
86341445a3f607dd255e5e453c4a8e9b8587c28a0875ee8385e49aef86d375c9
['6862f0791e2a4d47b73f9b85c6ccefd1']
Your main .container has 100% width, it doesn't matter if you center it, it will still start drawing it from the very left. The div inside of it that's responsible for the left-aligned box has no id/class, and you're doing no aligning on it. Technically your main container is centered, but everything inside of it is le...
badbd87835c06a4112f486fcc00cad938b0207fcb229094ad4aba99ae526825d
['6862f0791e2a4d47b73f9b85c6ccefd1']
Before I start, I know there are better ways than regex doing this (like tokenizers), that's not what the question is about. I'm already stuck using regex, and it already works as I need to, except one special case, which is what I need advice on. I need to scan through some JavaScript-like code and insert the new keyw...
d66bcd44ffbc9cd85a073afc137e92aaa2fb8483a31fe0f0e7c474699e39bc2d
['68a2d2a173d144dab73be17c7bde640c']
I have requirement to start Redis server before start of run/debug Django app and possibly to stop the process when debugging is stoppped. I looked at documentation and used preLaunchTask to start redis service, however VS Code waits for Redis to terminate before it can start Django server. I want Redis to run in backg...
e257afd3b40dd1439e4de453249a59e1baa58a773e259fb75d22679ee5ea4128
['68a2d2a173d144dab73be17c7bde640c']
I have simple data like this: | s | p | o | |-------|----|--------| | repo1 | v1 | high | | repo2 | v2 | medium | | repo2 | v1 | high | Question is how to select ?level such that if v2 exists select v2 else v1. The predicate v1 is guaranteed to exist. I tried select ?s, ?level where { ?s v2 ?o_v2 ...
30aaed9642a69516aa243fcdf6ab22a744913e45b320259d6ace32adcf4dae98
['68ad0a87975248f8a6de60b9e009f756']
I'm building an app that produces two tables, each with 5 results. I can't seem to figure out how to crack the code when it comes to mapping over the second table. Table one is {renderItems}, table two is {renderUsers}. The API call for each is at the top of the App.js file detailed below, as 'repoURL' and 'userURL' re...
7acc4c5fdfb6647fda99fb591d9c47c9cbbbcaf5cc64540c339dd92f4f706105
['68ad0a87975248f8a6de60b9e009f756']
I've been pulling my hair out too long and I can't focus anymore. I am trying to take the json from a url and just render it visually in the browser. It doesn't even need to be formatted, at least it doesn't until I get past this hurdle. I can get it to show up in the console via console.log, but I can't seem to get t...
41c38d091ff7a1daf46beb55623894e3d01fbe7f0c39c860a52ed1d8d3076605
['68b8fb858eb24dfb9a6361a46cc5034b']
Lets suppose your getBalance function is in a page component called MyPage. Then you can do this: export class MyPage { balance: number; getBalance(outerThis: MyPage){ this.restProvider.getBalance(this.user_id) .then(data => { this.todos = data; outerThis.balance = this.todos.balan...
07a076cb4017ca1db81328432629796542cbc53711b16934dad68baf6c46b6b0
['68b8fb858eb24dfb9a6361a46cc5034b']
I have a native app in Auth0, using the PKCE flow. When I call Auth0.authorize() from my Ionic app, using Auth0.js, I’m getting an access token and an ID token, but no refresh token. I am passing the offline_access scope to Auth0.authorize() (as well as openid profile). The API I’m using has “Allow Offline Access” enab...
6e642f5845a85b2acfba8a5293082ae8b18f96ac7b84a05a3d8e644f6ab28851
['68d4cbeda81e45399ee99356b489793c']
If allowed to use multiple preg_match, this may be a solution: $str = '[cpu]4[cpu] cores and [ram]16gb[ram][hdd]1TB[hdd]asdaddtgg[vga]2gb[vga]'; $arrResult = array(); preg_match_all('/(\[[A-Za-z0-9]+\][A-Za-z0-9]+\[[A-Za-z0-9]+\])/i', $str, $match,PREG_SET_ORDER); if (is_array($match)) { foreach...
0003cb912546a6a287eb7568b60accb0abc107a5b3c4cf7867fdecce1ca6aa49
['68d4cbeda81e45399ee99356b489793c']
I new to Spring or even first use to tomcat, i'm just trying add classpath to subsection tomcat task in build.xml (in every tomcat task) and i dont why, but its works. <taskdef name="deploy" classname="org.apache.catalina.ant.DeployTask"> <classpath> <path location="${appserver.home}/lib/catalina-ant.jar"/...
9beaf5bd59b4fff851704daf301535787c07996e61a0694ed813b9e98a8fe287
['68e766585f414a4c822aec34ed56dd47']
I'm new to drools. I've defined the following rule to add the last two numbers in the stream together. I then send in a stream of 100 events, with the values set from 1 to 100. So I would expect the output to be 0, 1, 3, 5, 7, 9, 11, 13 etc. declare TestEvent @role( event ) value : int end rule "Simple Ru...
086a1fee96e72f613d8b45e773b33bd295c2375ca7a6290481b54793481d78ff
['68e766585f414a4c822aec34ed56dd47']
You could use Class.forName(<Attribute Data Type>); and then call the string version of the constructor of that class to create a new instance of the object. This will only work if the classes you are using have a String constructor (which Long and String does - but Character doesn't). Do you need to store the Attribu...
2d6fecc1bbd44c2657f37ce01afec70ec0890b03d06911b5310f64bcc233958b
['68e80fbd61984a0cbf3276596fc48df1']
I'm at a loss here, i have nougat on my mate mate 8 but i completely forgot that you had to root nougat in a particular way. Anyway, i don't have access to erecovery, power+volUPvolDown doesn't work and i can't get access to fastboot. The only thing i do get is power to the screen and my 'your phone is unlocked and can...
5d391c6d119b89e4a85c74dc7587e814c1a3a2d977d2d6639ca9d1bc258f6dca
['68e80fbd61984a0cbf3276596fc48df1']
I already have unlock code. Not worried about re rooting if I have to. Yes...I think fastboot is the safest bet for now. My worst case scenario is taking the phone to a repair shop where I might have to part with $100. It's starting to sound like it's worth it if I'm honest because no matter what I do...I cannot get ac...
cf2232f212e80346af4f657e8ef118d45af978fe8647f77f240d5f6b3e40157b
['68f6237472904543a419872b7c30dac7']
I'm having an issue getting the Parent component componentWillRecieveProps to work on the child component. If i put all the logic in one component, everything will work fine. However, i want the post items to be in a separate component. The only prop that is being updated is myLikes={post.Likes.length} Posts.js(...
ff78470c88ef4fc1adc08681463e9ad3cc7956ff357eb805819aa2a6d40a5257
['68f6237472904543a419872b7c30dac7']
I'm having an issue with saving the session. It appears that logging in and logging out works fine. However, if making code changes or if the nodemon server refreshes, it renders null on the current_user route. And then this error when making post requests. Cannot read property 'id' of undefined router.get("/current...
de319a983a216f795b8e5496e07e0184e7f01e72f657f0c6bed0a5a618d14502
['6910da609e0c49b28c56056991455a92']
An ActionMailer method can be triggered using one of two methods: either deliver or deliver! - the main difference between the two is that the second will throw exceptions if it cannot be sent, which is why I tend to prefer using it. Something to keep in mind though, is that using deliver! will call any regist...
68cf5a5733843bf3da27646fcad4d1b74cbb3d9e0aa9ac223e12f9f178458f81
['6910da609e0c49b28c56056991455a92']
EntityManager.merge(T entity) merges the state of the given entity into the current persistence context. Depending on the underlying datastore, by the time it merges the entity, the same entity record from the repository may already be altered with different information so any of that altered information may be lost an...
8e074476738f4447519afd2778a38e0140535f27e4935c8b7f2e06affe1e8c15
['6918804a8835415b832c601e5c07d7fc']
In the case of a roped up team marching along a glacier with some hidden crevasses, the greatest risk is of a team member falling in and then dragging everyone else along before they can self-arrest. In such a scenario would it help to use either an elastic lanyard or a "energy absorber"? My guess is that 1) the fall ...
868dd68cd848d82328dcfc6faf8b333b295884506cdb1427fbd677ff76483b3c
['6918804a8835415b832c601e5c07d7fc']
You have actually answered the question yourself. In order to act on behalf of an account, you need its private key. As such, if the node is down it is impossible to retrieve any accounts associated with it through other nodes. That would defeat the purpose of having a blockchain as a blockchain network consists of pee...
11b63ea311855d4b8285edea6427c798fc4914921440909262ba801baded5c77
['691d724337e74460bdfe817818a4153f']
So I am new to HTML5 and decided to start to code a pong game. I want to move my characters smoothly using my keyboard, the W and S keys for the one on the left and the Up and Down arrows for the one on the right. I can't seem to get it to work. It's probably quite easy, but me being the noob I am, I need a bit of help...
c577df8fbd2b4f6cd795ae60ed3556ffa732d0233b19adc176cb382a30493102
['691d724337e74460bdfe817818a4153f']
Firstly, bring in the file. Make sure to include the './' before the file name to show that it's from the current directory. const data = require('./data.json'); Now the JSON data is stored inside the variable data. To access the members, use the dot operator. data.room will return the array of rooms. To access the i...
3dafb330968323feb9034676205f3af8dac605b1f2645f038960ffb0e1178c18
['69264b7936ef446b803d84cd4aa6f932']
This was an 80s movie, the kid had super intelligence, was able to read barcodes and I think could some how ID people if they had arrest records. I also remember him being attacked by some sort of virus he got through the phone. I want to say it's because of some sort of accident with a computer.
8b9ee55856d25b8f959022ccd4e5a9aa75a89edfc34bddbbeb3f4f6bd8a59048
['69264b7936ef446b803d84cd4aa6f932']
In need help in my homework assignment: let $X =\left \{ (x_{0}:x_{1}:x_{2}:x_{3}:x_{4})\in \mathbb{P}^{4} : rk\begin{pmatrix} x_{0} & x_{1} & x_{2}\\ x_{2} & x_{3} & x_{4} \end{pmatrix} < 2\right \} $ show that there is a morphism $\varphi :X\rightarrow \mathbb{P}^2 $ which on the open subset of $X$ where $(x_{0}...
279ef09f58bf98bfccd142b7aa6292a2c085a1f7d9e111e96c3adffe80402703
['6928b82c20d34e4fb9e8f525282adffc']
You'll need to rewrite jwtAccessAuthCheck(accessToken) so that it keeps track of the outcome of its nested tasks. In the code you've written: // Code that needs fixes! async function jwtAccessAuthCheck(accessToken) { // This part is fine. We are in the main async flow. if (!accessToken) { return Promise.reject...
ca8e033374f0d48256786f1304ccec0cfd90c3a67d7d71cc01e357528eed6d05
['6928b82c20d34e4fb9e8f525282adffc']
You want /server/rest-api/v1/index.js to expose a unique Router that uses sub-routers, each corresponding to one of your folders (products, product_categories, etc.) /server/rest-api/v1/index.js var express = require('express'), router = express.Router(), product_router = require('./products'), product_cate...
5dde7ec7887bc732947dc4359ec336d3ea1e634682bfb8e1d09986f89193725b
['692a0505eecb4c8683cda40491864722']
I'm generating a Nuget Package dll generated from ILMerge. 1º - The code was inserted in Post-build event command line: "$(ProjectDir)....\packages\ilmerge.2.13.0307\ILMerge.exe" "$(ProjectDir)....\05-ILMergeDlls\Custom.Framework.ExtensionInt.dll" "$(ProjectDir)....\05-ILMergeDlls\Custom.Framework.ExtensionString.dll" ...
367ac8e11f86d0ee9dd84aa253c899672d0404364d591337047600fd9866c243
['692a0505eecb4c8683cda40491864722']
I'm new to WPF and would like to know what to use to get a shape like the image below: I also wonder if it is possible that this design may follow the form's dimensions, ie, if the form is resized, the design is too. In advance, thank you! Windows 8.1, Visual Studio 2013, C#, WPF Application
d17a10273eb85488e0fe59378e274f0ee759b824c82a3cabb0ca5fc12c1f5293
['6948b173d18b4215a03a8b5fa1f3985f']
My main problem is that I cannot use sudo. My root account is locked using sudo passwd -dl root. I have two users on my machine. root and admin, admin does not have su permission. When I try to use sudo on admin user, it says that admin is not in the sudoers file. When I try to use su while logged in admin user su: Aut...
942de986974b2c2cb6e4144ca376d8d7b3b63360d7dbe705a0931f2623c46901
['6948b173d18b4215a03a8b5fa1f3985f']
I have a current root user which is able to do, well ROOT privileges on my SFTP running on Ubuntu LTS 12.04. I'm planning on adding a new user that can only read a specific directory inside my sftp. probably just inside the www/ folder. What privileges should I gave?
fbb5d762c79b8f8b5e1a96373ea2323e2109b1e35691be1a3b393a789abd0c89
['69499727b5cc406f8ae1676c9bea8051']
As described for example on wikipedia, you can shorten these addresses and omit zeros if it is unambiguous. For example: The loopback address, <IP_ADDRESS>, may be abbreviated to <IP_ADDRESS>1 by using both rules. So give it a try once more to have a look at your real IP if you don't miss some colon : or something el...
5ee4ce4961bd58eb817fb9c5f7d2a036378fc9d64dfb51266fc16d48736f6e42
['69499727b5cc406f8ae1676c9bea8051']
What is "secure"? It is not a boolean value, secure and insecure. In *nix systems, there are various levels of security and privacy. Talking about chroot, it can be always used in a way that is insecure, but SSH is trying to avoid the insecure use cases the most. In the first place, it will not allow to use chroot on d...
403c8212429f0631a5210f50e50b2e7faad1a20339e9dcc5d096b3789c84c1f3
['69590a9b64fa41e583fa1e258bb7ebdb']
I'm trying to perfom update on mongodb, using motor and tornadoweb with the following code: @gen.coroutine def set_project_status(self, pid, status): try: project = yield motor.Op(self.db[S.DB_PROJECT_TABLE].find_one, {'PID': pid}) logging.debug('set_project_status old_id {0}'.format(project['_id'])...
869ecbdcc5982bcc8aacf9e6607d454541b729d3ec2781bcb332b6f5e81be2e2
['69590a9b64fa41e583fa1e258bb7ebdb']
In my backend handler I'm sending string with double quots, like: print '\"test\"' self.render('test.html', test = '\"test\"') in template test.html I'm passing test variable into javascript, like: <script> var test = {{ test }}; </script> But what actually browser generates is: <script> var test = &quo t;test&quo t...
ceb8a245089364f264823c09447af99abc6db59b3050c71b1548a9b3f15e1ed8
['698dbc332d4442fe9d4dba26407c8e27']
I'm working on a project where I want to ramp the pwm duty cycle from 0 to 50%. My period is 16000 counts or 1ms (16MHz default timer count). For some reason, instead of updating the duty cycle each period, it updates it much slower. I wonder if it's because I'm calculating the new duty cycle within the timer interrupt...
23adad7dad626d3a9f86e6be5a56876a0a3e7780e8eb84a8fa13bafe1b2b1d95
['698dbc332d4442fe9d4dba26407c8e27']
I've adjusted the example from here for the STM3240G-EVAL board in order to blink LEDs 3 and 4. I have it working, but am confused by the Mode register setting: GPIOG->MODER |= (GPIO_MODER_MODER6_0 | GPIO_MODER_MODER8_0) ; When I read the reference manual (p186), it claims that the mode must be set to 01 for output, y...
740184ac736ea0b68b1198f56d9c9545eba9d6cc022807cd4fbb333ec992f58a
['6991ec60b02c4c559b7b376119372a65']
In your activity, after you set the adapter for the view pager, put your code for whatever on the onPageSelected() method. It is called everytime you change or swipe the viewPager. viewPager.addOnPageChangeListener(new ViewPager.OnPageChangeListener() { @Override public void onPageScrolled(int p...
77ab9d007d019a224e09f0fd10ab865fa996f1b59e5666b8cb2b0e23a62be369
['6991ec60b02c4c559b7b376119372a65']
I want to override the android chronometer class. I want it to inflate a custom XML layout and to also have a quicker update interval. I've found one that modifies the update interval from the default 1s to 0.1s on github. But I want to do more and have imageViews or Buttons display the time instead of the default te...
625b1a664545ca2861ee5325368e34b9f7353900dfe4fc8c20084f82b1d8000c
['699811a66c204dd89076073ca678913c']
In our current SP2013 project, we're using AD Import to import data from the AD to the user profiles. Now I want to add some more information from the user profile to the search results of the people search. So far I've successfully changed the display template for the people item to include the WorkPhone for example. ...
86d6b35dfbe22a0641e8b5ad0f1aae92d21ed21f118d1b69cf5ed1f609969dff
['699811a66c204dd89076073ca678913c']
Ok, this makes sense. I was looking for a crawled property "Office" but there was none. Now I understand that those (User Profile) properties are preceded with "People:". But: when I add the corresponding properties to my display template (under mso:ManagedPropertyMapping), like "OfficeNumber":"OfficeNumber", then I st...
4cf9e790576b350604b43d779f67d6a610c14707a4c83ac8836a27321854760a
['69a8cf45671042f085b7eaacbcc0685b']
In GIMP, is there a way to control a gradient brightness and/or contrast of a selection? The application is this: I'd like to control the brightness/contrast of one end of my selection to match a darker area of a particular image, while also controlling the brightness/contrast of the other end to match a lighter area o...
7d04e52e80c47c13fb71e63485b9e46a3b1952746a5fcb444b637ee840325d05
['69a8cf45671042f085b7eaacbcc0685b']
I found this on another forum and so will post it here in case anyone finds it useful. Note that how you do this changes depending on whether you are using MVC 1 or 2 the class you create needs to implement public void OnAuthorization(AuthorizationContext filterContext) and then you can use string controllerName = fi...
743ae4d21b83e8d4007a33329c078ed90e89a628d2c6c465da07bf4353647382
['69b51230ebfc4bd082870e251488da34']
I have not worked with any kind of I2C TO SPI converter. Still, you can use some I2C to SPI bridges if they work, I just googled it, but that can cause wiring problems. I can suggest you the same ADC MCP series with I2C interface.Thus, the further I2C connections with MCP23017 expander and then the Raspberry pi would b...
49633851aa79c6016045dbaaac83da5fd80207aa65f2ad763999e3211564052f
['69b51230ebfc4bd082870e251488da34']
Since you want for the application you want to design, that pressure do not change with the temperature changes, you can use the following sensors: https://www.controleverything.com/content/Analog-Digital-Converters?sku=MS5637-02BA03_I2CS https://www.controleverything.com/content/Pressure?sku=AMS5812_I2CS_0150-D-B Thes...
c3e5641f45ebc305e357bcd97cbbb52d474c424fcdcb4c2f23026fde106c952b
['69d2b39038c6404f9c8bf17bfae23b88']
I have netcdf data that is masked. The data is in (time, latitude, longitude). I would like to make an array with the same size as the original data but with zeros when the data is masked and with ones where it is not masked. So fare I have tried to make this function: def find_unmasked_values(data): empty = np.ones...
623e6a6b9ee1672b52bb844b483c1394e9e9f991349cc996a76f21d74dce5cb1
['69d2b39038c6404f9c8bf17bfae23b88']
I am working on filling in missing data in a large (4GB) netcdf datafile (3 dimensions: time, longitude and latitude). The method is to fill in the masked values in data1 either with: 1) previous values from data1 or 2) with data from another (also masked dataset, data2) if the found value from data1 < the found valu...
bb8925f79057dd57ec8881b78a4572e2b75e14709576d2e5beb4c8dfa531edd6
['69dce749ccc742d88a27db51c13ceb5f']
Basically, on a Nexus 7 when the font-size changes on the HTML element it's ignored. If I remove the smaller font size everything works as intended, but this adds it's own issues for phones. CSS: html { font-size: 10px; } @media (min-width: 600px) and (max-aspect-ratio: 21/15), (min-width: 768px) { html { font-size:...
82bedf4cc7348e0bb895a556d01baf8da5159ca4fd5b8deb768c1644f60b3bc3
['69dce749ccc742d88a27db51c13ceb5f']
I have two SVGs I want to morph between with Anime.Js, however they need to be the same number of points. So I either need a way to add points to an SVG or a way to convert a circle into a path with a specific number of points. Here are the SVGs in question: <svg id="svg1" width="290" height="290" viewBox="0 0 290 290"...
855474442357cd0875da5a883355e365f2d9d3ebb90a171bc69dfbfa2aa11175
['69ec003bf66b487daca09e4d356fd317']
I have written a code in python which copies files from one folder to another and it's working fine. I need to amend it so that it can only copy the new files only because with the following code, whenever I run my script, all of my files in folder_1 get copied into folder_2 and I have to deal with millions of text fil...
3b382e26c563eb708fe6ace60555f27e5695cc907b37a6093376b59af7a7c1e1
['69ec003bf66b487daca09e4d356fd317']
I am setting up my raspberry pi as a VPN client using IPsec/L2TP.I am using the following guide Configure Linux VPN clients using the command line There are several problems which I am encountring After setting up all the settings, when I try to start the IPsec connection using ipsec up myvpn. I get the following err...
b06911edcb534661dbf84fc42e8943ee757af90068bae81d360c2e4f6f41edd1
['69fa75e2a24a462aa141928c38723dcb']
One of my staff just got a new Mac mini with the USB 3 ports and Mavericks. It has 2 Seagate GoFlex 3TB hard drives connected: 1 for Time Machine, the other for Dropbox files. When the computer is restarted, the drives don't mount. They are not visible in Disk Utilities. Unplugging the drives and plugging them back in ...
5ca6704cb87efdaae383ef61e5c543cc6e476bc00a1b96819d05d92ef2c2bd03
['69fa75e2a24a462aa141928c38723dcb']
I am a little bit confused about how to calculate the memory capacity. word=data lines size byte=8 bit n=adresse lines size Most of the people use this formula to calculate the capacity of the memory: C=(2^n*word)/8 octet Is this formula correct when speaking about byte-addressable? Because if we have byte-address...
0cce5c68aeb1c03c2e21313ca798c13b702e847f4f4512d234f6cd0d8dedd582
['69fbe5af8a2e495185a7d0736adabd35']
In a panda dataframe, I have nominal and real valued columns arbitrarily mixed and I want to standardize just the numeric columns. I have this piece of code, which does the job.. but it's using two .tolist() function calls to make it work. I had a hard time understanding indexing and I feel there might be a faster meth...
4df79daaef16769442b32e521317ce9cfa67b801cce3da32ab888b638f3e6181
['69fbe5af8a2e495185a7d0736adabd35']
I've come across some interesting browser behavior (Chrome) that I was hoping to get insight into. I have the following structure to my html document (I've been careful about the domain names) // Hosted on http://www.example.com <html> <head> <link href="http://cdn.com/css1.css"> <link href="http://cd...
96715fd58c6ad9f7b94a5378bb3eb59613e5e37983f93fea2fe5afc3f5ddfbea
['6a0019e5223346b087adffd1fb60e603']
I have a set of binary records packed into a file and I am reading them using Data.ByteString.Lazy and Data.Binary.Get. With my current implementation an 8Mb file takes 6 seconds to parse. import qualified Data.ByteString.Lazy as BL import Data.Binary.Get data Trade = Trade { timestamp <IP_ADDRESS> Int, price <IP_ADDR...
bbfc4031981f9025df7ef7f70a3086c1796173b05e6e6ec5f91cff7a80bca73b
['6a0019e5223346b087adffd1fb60e603']
I have implemented infinite scroll for a 1.2k item collection. It works great apart from when scrolling past certain elements - an exception is raised when they are rendered and I can't figure out why... Exception from Deps recompute: TypeError: Cannot read property 'nodeName' of null at Patcher.match (http://local...
0af762c6dbe5f0d017f1b931aa666ee8a4f5b742729406c9f40c261fdd3ca12b
['6a08d2f4692b4c6e996d5b8ec9103a36']
I want to make UL menu Responsive. For PC it should be as UL and for mobile as SELECT, depending on Widnow width it should transform. And I almost did but I have a problem: It works as it should when resizing from Big resolution to Small (<700px) but when window is resized back to Big the Dropdown UL is disappears. He...
4f55c15143456ff0d10782e546030bec6ace1f9df9a27edf98206c0405e202a4
['6a08d2f4692b4c6e996d5b8ec9103a36']
I just started to learn knockout and I'm stuck. I need to load a data from server and show it with DataTables and each cell is binded with knockout. The table should have basic functions: Search, Sorting, Pagination. each item must have a Column with some actions like: Edit, Remove, Link. editing must be made in Mo...
90f996d986740dd282563ebcf35eaac9ec5c3b2720a101e48d23cd1fa7446584
['6a0bf2b19d404f74aee8981b860e550e']
I agree with you, with the exception that this makes looking for my 12.04 a longer process. If there were an archive marked so, to handle obsolete systems, or wrong threads, which kept the comments _italic_which are useful intact; would this be possible? I meant to italicize which are useful.
3b693ea77f0ba8fa56298c9ce8a88bcc00796f45e299137ffad21dac3466ad56
['6a0bf2b19d404f74aee8981b860e550e']
May try a clean install of Windows patch it with the upgrade and install ubuntu. I have never been able to install ubuntu on a Windows formatted drive, but I have done it on a jump drive as well, you could add a harddrive to your machine and install Ubuntu there. Your machine would recognize the second drive and this w...
be21575f3db9b7cfb3203ce36e234b488b638246291224612186de044d7b921c
['6a0fa9eff89d4008b748ae648e639b34']
Foreground: You can set "Foreground text" in you app manifest to dark or light. Background: This follows the "Background color" of the app manifest - and hence will be the same as the app's tile background. For most of the apps I've worked on, it's enough to set the tile color according the UI spec - and then set the '...
6b3e5f5376f647270cf60a72a6ca877267bde50d88e0015edc082bda17d9d639
['6a0fa9eff89d4008b748ae648e639b34']
try this for get data from database. DataSet ds = new DataSet("dstblName"); using(SqlConnection conn = new SqlConnection("ConnectionString")) { SqlCommand sqlComm = new SqlCommand("spselect", conn); sqlComm.Parameters.AddWithValue("@parameter1", parameter1value); sqlComm...
eabf75bba123f0981ca31dd2c480c0174efca98b3e5f2d9d4913614ceb828cab
['6a373a0164de4873808adf53d6d9ae9a']
You can create a new post type, under the name "post" and then add a rewrite slug. This will overwrite the default Wordpres post type. Here is a sample code: add_action( 'init', 'my_new_default_post_type', 1 ); function my_new_default_post_type() { register_post_type( 'post', array( 'labels' => array( ...
28a487c61fccc09fcb3728d2bcb815f566818bb65bf465dd98dc3b29a782908c
['6a373a0164de4873808adf53d6d9ae9a']
The statement "you do need permission to take certain photos of some real property in the UK" is not really correct, except in the case that the real property is itself a protected copyright work. The question is not about that scenario - e.g. Durdle Door is a natural formation and very obviously not a copyright work. ...
da94298f52a1cd737d8b2c1ca361619d66b1598781017cc146c33a48490bddf9
['6a3fc461bc3f444193d7bc2998c0e847']
thanks for the suggestion. now obviously, the survey design has its influence through the variance estimation. so yeah, even in my case it would be probably a bad idea to ignore it. but I'm still not sure what to do if for example I want to employ log-log model (and to aggregate the data as a result), so hopefully some...
65dfcf94913207583e00203e64e0f654536db485db80e44c93c528cdf6ebb200
['6a3fc461bc3f444193d7bc2998c0e847']
Tentei assim, mas não esta vindo o valor correto SELECT id, data, max(valor) FROM teste WHERE data BETWEEN '2017-03-01 00:00:00' AND '2017-04-01 00:00:00' O valor de máximo vem perfeito, mas ele pega o primeiro id dentro dessa data. Como pegar o id referente ao valor do max? Se possível a data também.
3850a81cec1eda6f035edddb76d5eac09009322732dac84fbf760adcd6da4133
['6a4105b41f7e460181e3e7ccff24aa2b']
<PERSON>, this is exactly the response I was looking for. I can't believe I forgot that stray tag! Also, if you could elaborate on a couple of your points that would be great. Particularly: "Just because one input is set does not mean that another is $_POST['submit'] and $_POST['name'] are not magically linked A user...
9dc018b80ac037d7800a3ff63cdb2cd7139b0e3274b5ed49d819ae0e311eae7a
['6a4105b41f7e460181e3e7ccff24aa2b']
TL;DR No For reference, "Line of Sight" (pg 12) from the Rules of Play: In order for a figure to have line of sight to a space, a player must be able to trace an uninterrupted, straight line from any corner of that figure’s space to any corner of the target space. If the line passes through the edge of a map tile,...
d1d742e72722bb50ba1110685fd70d04ea58358ff503f4ab64a6c1a1fccbfa75
['6a5188a7d44b499e9e76109b501005cb']
I try to create a simple project. In this project there are some images and their names and when user push on image, image name is played from mp3 source file and pass next image. However when I pass next image, memory usage is increasing up to 300mb fro each next item. When I check where memory leaks occur by helping ...
ad902c3c9692fbf46c20e1eb00e79e0e9d36c0a98f67cf0b2fc444fe09d38dc1
['6a5188a7d44b499e9e76109b501005cb']
I have really weird problem with url routing. I defined 3 routes for menu bar like that routes.MapPageRoute("Article", "Article/{id}/{title}", "~/article.aspx"); routes.MapPageRoute("Contact", "Contact", "~/contact.aspx"); routes.MapPageRoute("Category","Category/{id}/{name}","~/category.aspx"); when i cli...
0e6f436022c68b00878bae5aef40eacae422ec4700b0c18cd396844a593ccf72
['6a576a276e7743c2aca5ed106fa9e176']
Let's say I have a table with three columns - id, name, and gender. There might be multiple ids with the same name. There may also be multiple genders for the same name. For all but one name, I'm completely ok with there being both a row for female and a row for male, and even a row for intersex and so on. However, ...
4742b1ab9b3a286d2a282a6b7957e567727ade9cd616de6fdea21ff155a30db4
['6a576a276e7743c2aca5ed106fa9e176']
I'll go ahead and give you the LOD expression, so that you'll have something that will work regardless of your table layout. { FIXED [salesperson], [date] : SUM([unit price] * [quantity]) / SUM([quantity]) } That will give you a table that looks like this: +------------+----------+-------------+------+----------------...
fb704422c79d5ea917a125381d5c1dce05dbe98a53c05ffb05e2fdee26716931
['6a5ac90f65ea4f8083bb827a0c91ebc9']
It's rather conceptual problem than implementational one, so I suggest you to have a look at wiki Priority queue or heap pages or dive into some really great books, for instance "Introduction to algorithms". When you understand logic behind those data structures (and other algorithms as well) implementing them in any p...
7ac5ae5c60fa099d4e12097dfcc4fdc5fe94af2ce5ba385fb15f45e2b0a8e4e1
['6a5ac90f65ea4f8083bb827a0c91ebc9']
The latest beta (5.9.3.xxx) takes one step forward on Wine - the note previews now change when you click on a note - and one step back: the note editing toolbar (which usually pops up when you click in a note to edit it) doesn't appear, and the title appears, but is not editable. If anyone has suggestion for native lib...
4e3897ea75b1d4d5063c87b93fe503448f4fa041ed80890d69518254ee249f4c
['6a8b1be2eea74a07a76e1d0b0baed449']
Given the vector space $S=\{(a,a+b,a+b,-b)':-\infty < a < \infty, -\infty <b<\infty\}$ determine if the following sets of vectors span $S$: $\{(1,1,0,0)',(0,0,1,-1)'\}$ $\{(2,1,1,1)',(3,1,1,2)',(3,2,2,1)'\}$ $\{(1,0,0,0)',(0,1,1,0)',(0,0,0,1)'\}$ I am not looking for the answers, rather the procedure to answer these q...
912798fc7af71dc4bd30e07302d31454bc97924015d59ade1d506289702083f8
['6a8b1be2eea74a07a76e1d0b0baed449']
Let ${y_j}_{j=1}^N$ be N given real numbers. Construct a sequence ${a_n}$ so that ${y_j}_{j=1}^N$ is the set of limit points of ${a_n}$, but $a_n \ne y_j$ for any n or j. My work is as follows, but it's probably wrong: Suppose $a_n = \frac{1}{n}$. Zero is the only limit point, but $0 \notin a_n = \frac{1}{n} \forall n....
a9efcf61e88fa45d698d7974cf43c0d3fed4845baf6d9f142553fa559c8515ce
['6aad1b26ff6d42e8aedff8573fb8242b']
Yes, you should. You will be able to generate your client code, tests and documentation using a set of tools supporting WADL. Some examples can be found here. Also, I think you should stick with WADL, rather than WSDL 2.0 because it is less verbose and way simpler (IMHO). In fact, in WADL you describe exactly what the ...
6eb9f3c95dbbd0ab3b6f82dd86a299e257e2c82e322c164529d35b5e3f5de690
['6aad1b26ff6d42e8aedff8573fb8242b']
When driving my car, I often ask myself following question: How does the thermometer measure the air temperature that precisely, and is it even precise? I know the basic concepts of a thermometer, but let's say the car is sitting in the sun for the whole day. The outside parts of the car are heated up and the thermal e...
830c62187b64a0d04a23775f6bb5627cafaf0b7bb3835edf98e3b99623d88248
['6ab10ca1cfc54b5ab7dcee258087f8ea']
I came across this probability puzzle: <PERSON> is playing archery blindfolded. The first arrow he shoots unfortunately misses the bull's-eye. The second arrow misses the bull's-eye even further. <PERSON> still shoots a third arrow. How big is the chance that his third shot is also worse than his first shot? Now the gi...
393fc44a7384e32a5fca2061d614ddaf600a09755fab6ef9f21dbca94b103ff0
['6ab10ca1cfc54b5ab7dcee258087f8ea']
<PERSON>, Introduction to Probability (2019 2 edn), Chapter 2, Exercise 50, p 94. <PERSON> and <PERSON> play a match consisting of a series of games, where <PERSON> has probability $p$ of winning each game (independently). They play with a “win by two” rule: the first player to win two games more than his opponent wi...
24db1c501b6246c5e5cfc74e540e0978e0cae4423a9fd4446d7fcff6548eb9fb
['6ac5842b796c470d920ca58573409fd2']
I was doubtful whether electron addition will be possible as the electrons in a rydberg atom are already in a highly exited state.As you point out electron addition,is it possible to launch particles into the array,for prof. <PERSON> stated the atoms are held in position with lasers,can one manage to create rydberg sta...
b749e0efc621398bdbf330f2c8b6c1058fa478ce05e088bbae72d5462636c1dd
['6ac5842b796c470d920ca58573409fd2']
Often when learning about heat transfer within metals and thermal conductors,the heat transfer is explained by saying how molecules vibrate in thier positions to conduct heat. But if that's the case then how is heat observed externally as thermal radiations and how does the transfer actually take place for these radiat...
a1d2520b36d474af65e6d6a1054ff6e3ed3f5ede371fb2a3418b3ade51644146
['6acd47f43c15469e8dd8ba211524cc2d']
In config block I am setting templateURL, and I want to append version number that I will get from json file to templateURL. But I am not able to get data from json file within config block. Using grunt to build the project and creating app.js in which I have config block and within this config block, trying to get dat...
1704310ce32712a6e5e58ee5375ed26a6e26140d21ce29bc3699827b1e23651e
['6acd47f43c15469e8dd8ba211524cc2d']
I am trying to write a stored procedure to get data and stored procedure is as below - ALTER PROCEDURE SPProfileScholarshipReports @scholarshipGroupCode nvarchar(50), @statuses nvarchar(350), @studentSearch nvarchar(100), @fromDateString nvarchar(50), @toDateString nvarchar(50), @studentTypeFilter nvarchar(50), @off...
41cd612c4d298b020124a11970f1e7ab9c61dc97a086fb2663f9ce2c6bbb92a0
['6ad1ef6b5e23450dad4b125de4648670']
I think the key is in the determine_node_label_by_layertype function. This is a block of code that should look something like this (or at least it does in my current version of the repository): def determine_node_label_by_layertype(layer, layertype, rankdir): """Define node label based on layer type """ if rankdir...
f1f58de17e98447158541bd85612da6fc9d69e55e95efbd00ebc2b83dbc709d1
['6ad1ef6b5e23450dad4b125de4648670']
Perhaps the following will help ... Split the dataframe based on 'Survived' df_survived=df[df['Survived']==1] df_not_survive=df[df['Survived']==0] Create Bins age_bins=np.linspace(0,80,21) Use np.histogram to generate histogram data survived_hist=np.histogram(df_survived['Age'],bins=age_bins,range=(0,80)) not_surviv...
04c4c9ee309a7961ae86b2cb34dec670c1708f79f41546c7026e7bb6ba1b3364
['6ad3d7fb34d94432a7453b7a1717237c']
I know how to set Image width and height using pixel coords. Is there a way to set relative coords? I want to deal with multiple screens. For example i have 1920x1080 screen size. And i have relative coords width (-100,100) and height = 200*1080/1920=112.5, height(-56.25, 56.25) Can i use this relative coords to set wi...
cba5bcd8eafd6abbb2032c313d661efbb2432188f63997a545608ae2a8479b05
['6ad3d7fb34d94432a7453b7a1717237c']
It worked for me public static HashSet<String> getExternalMounts() { final HashSet<String> out = new HashSet<String>(); String reg = "(?i).*vold.*(vfat|ntfs|exfat|fat32|ext3|ext4).*rw.*"; String s = ""; try { final Process process = new ProcessBuilder().command("mount") .redirec...
d407bb7cafbd8a8bdb37abcb745cf48af079d560cb58f106c47661a2fdf0a226
['6ad666fac0f640b68e836e00cecc54cc']
I am seeing the same issue and followed the suggestions above with no effect. I am running VS2015 Community edition under VMWare Fusion 8.1 and Windows 10 (Windows Update reports all current patches are applied) The emulator runs fine but the application fails to deploy/run with the same bootstrap error the original po...
8b1071452fe103c8ad09a57563b27c6c169d4f7af277012ff3dc6806c748568b
['6ad666fac0f640b68e836e00cecc54cc']
As has been mentioned, toptracks by itself is undefined, declare it at the start of the render function as const { toptracks } = this.props; then you can use it without referencing this.props.toptracks Secondly the map function takes arguments of the element and the index but you have declared them as toptracks again ...