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
39ea77cea57acdbabc18efcb6c78bf849f5066176e1f42fd9a38345aadbd2cde
['a6fca189f953478eaf66780084b1d0a9']
I'm trying to load a new frame when the user presses the login button as long as the details entered are correct. I've included print commands within the LogInCheck function in order to see if the code is executing correctly, which it is. My only problem is that it wont change the frame. I get the error 'LogIn' object ...
f67c076d05b54cc11e64f1135f88c49e9ae749e001ced9223fc714f9ab609b5f
['a6fca189f953478eaf66780084b1d0a9']
I'm trying to ask the user to input a number (in this example, they need to enter a number of minutes into the minEntry box). I want to take this number and use it to set multiple variable values by multiplying this value with other numbers. Then i want to take this value and have it displayed in the sublabel box withi...
54700f70cd11e862929ea706ef6461db9c49410b7db3c4745948e895b258008f
['a70e0bbb0ce3486eabb1c44df058f8c0']
Just change the syntax you use to select element from input[class='.form-check-input.tailID_checkbox'] to input.form-check-input.tailID_checkbox. Run this demo to see it works: $("#check_rt").change( function(){ console.log('checking toggle all'); var checked = $(this).prop('checked'); console.log('checked='...
17c9d1df8530a5d36cecfb3b3f25e89eb2925263e2d7aa80cfb081bf363a1d09
['a70e0bbb0ce3486eabb1c44df058f8c0']
You can override the validate function (but it is a bit dirty): function validate() { console.log('default validator'); return false; } var defaultValidator = validate; window.validate = function () { defaultValidator(); console.log('custom validator'); return false; }; <form id="form" ...
b27572910c60a04afb7231756f624fb3cb13e9a0c29298df0956d3ecb2dc7190
['a71229acbeb1438b82c2cebe1346c793']
I am trying to install and configure ICEhrm . However I was successfully able to unzip the file. Here is my app/config.php file <?php ini_set('error_log', 'data/icehrm.log'); define('CLIENT_NAME', 'app'); define('APP_BASE_PATH', '/var/www/icehrm/'); define('CLIENT_BASE_PATH', '/var/www/icehrm/app/'); define('BAS...
cb137e7269469c9aa45490d58ab102a5cf7a67a39d667555c1dd2e6774c90647
['a71229acbeb1438b82c2cebe1346c793']
Мне нужно взять конкретное значение из базы данных и вставить его в модальное окно. Но и нужно, чтобы обращение к ключу было глобальным, то есть, ко всем возможным biography. Поясню легче на деле. Сам проект - веб-игра, в которой игрок может вести свое biography. И сам игрок, нажав на кнопку в профиле другого игрока, в...
3c7bf2cd5a3b4ab92ddd961ad5c66c11c9d0b23a01847daca8b443a83d513dbf
['a7139be3688b4f39bce9843dd546cc7c']
You could use just css for it but js can help, here follow my simple code. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> <html> <head> <title></title> <style type="text/css"> div.image-box{display:block;position:relative;overflow:hidden;width:200px;border:1px solid #ccc;padding:0;height:200px;...
d671f6e6072812b2f914893a2a2c894092dcbc0ac541b744b44344620de5b64c
['a7139be3688b4f39bce9843dd546cc7c']
Have you already tried to clear cache and cookies? also some times you have to do it on the shell on /path/to/my/magento/folder/var/cache just run "rm -fr *". If that doesn't work you can check you files ownership and permissions (the http service has to have the write write permissions an ownership on the files and fo...
1d30c05e3aa36af4bcc39d44febb18ed310e722d7a02e86723acbf438412f55e
['a71aedb898924642b6be3ccbeb06273d']
SoftLayer_Hardware/{bmserverID}/rebootSoft.json Above REST API is working and reboot of bare metal server is success. After some time if we invoke stop (SoftLayer_Hardware/{bmserverID}/powerOff) OR reboot we are getting the error message as : {"error":"Cannot issue command at this time. A Remote management command ha...
9dfd3fdbd9bb8faabfacda5a20edbf291042250667b8d8a7c081e61359e38523
['a71aedb898924642b6be3ccbeb06273d']
Convert the xml into xsd. After that using eclipse, create jaxb project and point to xsd. java files will be generated based on the xsd file. Once java schema files are generated, you can use marshall and unmarsahll code. private static JAXBContext _jaxbContext; static { ClassLoader cl = Thread.currentThread().getC...
baaae08811cc28d6038f5795c02f933f2a2ab7620939f126110df82ea964a952
['a73087a41dea468ebcaec7db296213bc']
</global> </events> <adminhtml_block_html_before> <observers> <event_column_append> <type>model</type> <class>observer_class</class> <method>addFormEnctype</method> </event_column_append> </ob...
d0eef72797654a6dd94aaa98304850b08f57c4179bb47391af44d38bf2c4a6e0
['a73087a41dea468ebcaec7db296213bc']
if you want go alongside help topics you could use this query: SELECT cast(SUM(case when UB.B_VOL IS NULL then 0 else UB.B_VOL end) /cast(COUNT(DISTINCT UQ.Q_ID) as float) as decimal(8,2))FROM utQ AS UQ LEFT JOIN utB AS UB ON UQ.Q_ID = UB.B_Q_ID
675e78703770cbaf1f744d7f6ff028c30b667fe8acdd2b848bebe396333f4c81
['a733f607d9834a27ad21a09b4f701687']
I think you should fix it like this: db.collection("game") .doc(roomid.value) .get() .then((doc) => { if (doc.exists) { console.log("Document data:", doc.data()); } else { // doc.data() will be undefined in this case console.log("No such document!"); } }) .c...
c62ce1b058eb559e9de970a13b85624e3f72962485bb5d7928c072e45fd3417f
['a733f607d9834a27ad21a09b4f701687']
First you need to determine which prop will you get the value of? And then try this, in this case I will get "itemIds" so my findProp function will take 2 parameters: const myObj = { dbSessionTokenMap: { CXO_PC_ST: 'e5b96399-fefc-4d9d-93ba-2aa1059008ce|{"mtoken":"301:12#90271897#2=60818072#7=100439087"}',...
e38794191796707f437b1861ff519f8416b674588087148335404fb4e4fec61a
['a744dbc813f44f7ebbd4ad117ae671fc']
I have a array1 from checkboxes selected, and i need to compare with the most similar, how i do that? var array1 = ["pain", "fever", "vomit"] var array2 = ["diarrhea", "fever", "vomit", "embolism", "bleeding"] var array3 = ["diarrhea", "tumor", "vomit", "cold", "bleeding"] I tried some methods but they only return m...
10313d51fb35f14c85df607d5f1c520bab17db9de653ecd16db5cd56376791dc
['a744dbc813f44f7ebbd4ad117ae671fc']
How to navigate between screens using buttons on the header? When I try to go back or navigate to other pages using header buttons I get the same error. The buttons on the screen work perfectly. "undefined is not an object (evaluating 'navigation.navigate') (Device)" "undefined is not an object (evaluating 'navigation....
f315550d7ebf7cf3c648e025229b1f7e1c5698e201744c04a6248807d697f776
['a754a84b13d54924b34d4b5e409353dd']
As <PERSON> and <PERSON> says, your problem is that in your errorCallback() you aren't throwing the exception. See the following example (PLUNKER)... function bodyCtrl($timeout, $q){ deferred.promise .then(function(d) { //Promise 1 console.log("success called"); return d; }, function(e) { ...
e7348526fce80f92941bb6e77ecd58cce8d9b5eafa669a4e59adce92d402bcef
['a754a84b13d54924b34d4b5e409353dd']
You have to change the background-color of the <a></a> element inside your custom class. I've forked your plunker CSS: li.ddl-li a { background-color: yellow; } li.ddl-li a:hover { background-color: orange; } Option without add a custom class. You can override .dropdown-menu bootstrap class : ul.dropdown-menu l...
5c640b286062c899c219693d78a972d465fc299a26ffef53fc9aa145159e1c42
['a761addb72f54ba897b96926919085f9']
I need to open run two jar applications in the same time I know that to run a jar file you have to type java -jar app1.jar but I need to terminate the current process to run java -jar app2.jar How can I open app2 without closing app1 ?
1b18f1a793b237e0b78a10e5266ff2d8bb4740b11fb02f254c258599c77d4c55
['a761addb72f54ba897b96926919085f9']
I am learning nmap and I amm watching this video https://www.youtube.com/watch?v=hNThhluanlg at minute 2:30 the speaker does a simple ping scan but wants to perform it on the "whole network" for this purpose she uses her ip address but adds a "/" at the end and some numbers... What do ip addresses with "/" stand for ?...
c0fa61dc9abc559708454ba2e20d99e6678ce1ac9195f38f63ef6667fc8b1e19
['a762c0bbc4f84d87acc117c8e4d6a201']
I have an unusual requirement where I need to mount the same filesystem on a client multiple times, but each mount offering a different view of the underlying data, based on the group permissions of the underlying directories and files. I have achieved this in the past with NFS and the all_squash and anongid /etc/expor...
d5974ac92b9f73f5b20f377a9193c79d13f41762d79e82f6fbc30bcdff5f232b
['a762c0bbc4f84d87acc117c8e4d6a201']
Initially, I thought they messed up the formula at the "Naive Bayesian" sight too, but it's actually correct. The problem is, there is so little context for why the author inserted that formula there, its difficult to figure out what it's purpose is. It turns out that the formula is modified to determine the probabilit...
256d70f95d35421a3d3311af4b8d23383b7b1569231c2e14ed688930702ae42f
['a765a54dd1e34b4ca8f5618a68eb01eb']
Here is another implementation: fun getopt(args: Array<String>): Map<String, List<String>> { var last = "" return args.fold(mutableMapOf()) { acc: MutableMap<String, MutableList<String>>, s: String -> acc.apply { if (s.startsWith('-')) { this[s] = mutableL...
24fe178bb9944d2be6cee0145cc790e692c9e2cd805e04526572153996a4c869
['a765a54dd1e34b4ca8f5618a68eb01eb']
.ppk file is a PuTTY only file, which is generated by PuTTYgen, where https://unix.stackexchange.com/q/74545/263854 has a better and detailed introduction. As https://askubuntu.com/questions/818929/login-ssh-with-ppk-file-on-ubuntu-terminal says, you are not expected to login SSH with .ppk, just only .pem. Though there...
e515e8514940ac4117c587dfa50ee86961d47b4c7bc9e753c44a5465d7a6715f
['a76cf138c93e446e9f60337bbf18e254']
Stack Elastic Beanstalk AWS Route 53 for DNS. AWS Certificate Manager for SSL Cert. What I have done I have added the CNAME for the certificate (Through the wizard provided by AWS for Route 53). I have added an inbound rule on the load balancer where the source is anywhere and the port is https(443). I have added bo...
5308812d37bbc6ca41f9721333610908521754324a14e2594b34dce495f8302a
['a76cf138c93e446e9f60337bbf18e254']
I am trying to setup Rmail to read my Gmail account. I have tried following the instructions on emacswiki: (setenv "MAILHOST" "pop3server") (setq rmail-primary-inbox-list '("po:username") rmail-pop-password-required t) and the ones on the info page http://www.gnu.org/software/emacs/manual/html_node/emacs/Remo...
cd991c70055c9796549bc785700323d4208fb6abf8b68c51d9a33a7fb9dcb0cb
['a772249ccbd74049ab99da5e0d6482e3']
For an alternative try using Gnumeric (sudo apt-get install gnumeric). Once you have data entered ready to export, go to Data->Export Data->Export into Other Format. You can then choose either a LaTeX table fragment (just the data rows with & separators and \\ line endings) or a full LaTeX document with lots of paramet...
9627671339882ed0b161ceaaddd74613cdc71d6542feb5990144786e552838f8
['a772249ccbd74049ab99da5e0d6482e3']
I'm using the psql command \copy and I would like to pass a variable to it from the shell (for table name) like I've done when scripting queries. I've read in the documentation that: The syntax of the command is similar to that of the SQL COPY command. Note that, because of this, special parsing rules apply to the \c...
a13411982855df54c2961511ef0400e1a19f5d583dc4c75536301d583169aafd
['a7779ae449994d4d88c80d11d7638285']
Such a solution works for me. numbers = list() for i in range(0, 3): inputNr = int(input("Enter a number: ")) if(inputNr == -99): break numbers.append(inputNr) #Then we take all of the numbers and calculate the sum and avg on them sum = 0 for j, val in enumerate(numbers): sum += val print("Th...
3eb4a6429f7220141bb4cddc09c797431e6d5971e7d5d437d2244170bcd374fc
['a7779ae449994d4d88c80d11d7638285']
I have written a program in which I want to request a website to read but the program causes a certificate problem and I couldn't solve.Though I have searched and read some article but I find nothing. I think my problem is unique.Thanks. import bs4 as bs import urllib.request sauce = urllib.request.urlopen('https://st...
32e7e4723c900938672e1eb2d2a075293039f33a29513cbd21d900a30d543d8a
['a77c17a9e9994ecea9aba6a6a8b6da87']
Task I want to be able to generate the permutation matrix that splits a 1D array of consecutive numbers (i.e. even, odd, even, odd, even, odd, ...) into a 1D array where the first half are the evens, and the second half are the odds. So (even1, odd1, even2, odd2, even3, odd3) goes to (even1, even2, even3, odd1, odd2, o...
301cb1fc9e8759f07143ca5331ba37244db33b46b5b8e5e5e4ea921c4c919ef5
['a77c17a9e9994ecea9aba6a6a8b6da87']
Unless someone figures out a hack, it's doubtful you can. I'm assuming the PS4 save system is similar to the PS3 save system, and they are encrypted. When I looked into transferring console save files for the older Bethesda games, it was close to impossible for the PS3 (like with Oblivion, Fallout 3) whereas it was mu...
c3dcb5924b33d68ed6df74b3da094d9e8728a5332c2731c5caec733050cdfe68
['a7839145517443caa870ed3b067f6eb7']
I have a php mail() that works just fine. But when I try to add a for loop in the HTML content to replicate the data n time I need, It just gives a blank mail. My code goes as : $to = $email; $from = '<EMAIL_ADDRESS>'; $fromName = 'site name'; $subject = "subject goes here"; $htmlCo...
67873313ac7092032b54f8249ed1abd2fa7b13ef4d4aef2114e4f3aebd20bad0
['a7839145517443caa870ed3b067f6eb7']
I m trying to create an webapp with file upload possibility. I have gone through some queries listed in StackOverflow as well for solution no this like File Upload in WebView However when applied the same in my mainactivity, couldn't resolve some errors showing with red underlines. Here's my MainActivity.java: packa...
b3c0be956077ba9be5a1fb1a2c97361c63aefe51fbc6ff8706cc14fbabc5a2ac
['a789664cf26342a6991a1637fb878b56']
I think you should be looking at this Problem from another point of view. The Arduino is capable of supplying 40mA and you want your LEDs to be in parallel. This means you want each branch to draw 10mA. You should absolutely put a 500 Ohm resistor on each branch, a bit more to stay on the safe side. Using a single 213 ...
68b3ee1d10fc1b83c4143bb8b2506987b29fcc8894fb10629ba9b6c1636db813
['a789664cf26342a6991a1637fb878b56']
Hi, I have a question on how I would go about to show an Ajaxloader .gif until a page is loaded. The trick for me is that; The page currently is built so that the page loads one time, I have a tab system, so it loads everything, and then go between the divs. Because this site is made so that even users with low bandwid...
7a9a5dde0f81f98dc3383a19c3375d05115977c0b2ce4b9097bbde323b4cb0fe
['a79047d62ee04afe8d7a4230bdf8f6cb']
how can i remove %0A from this string :- this is enter key code, which i need to remove from entire string. so how can i do this? input:- "NA%0A%0AJKhell this is test %0A" Output:- <PERSON> this is test i have tried String input = "NA%0A%0AJKhell this is test %0A"; String output = input.replaceAll("%0A",""); b...
0a1f73eec22efcd154021c71e328592c647441de725f6347473e64183d2a5215
['a79047d62ee04afe8d7a4230bdf8f6cb']
Hello i am having a problem in setting the image in relative layout.The problem is that when i set the image with respect to the bottom there is margin left on top of layout and when i set the image to the top there is margin left at the bottom.I am using a scroll view in the layout. code: <?xml version="1.0" encodin...
2d0e1d09393ff8ac5a2b5c63bc4f8ca4ec6c8a7d114304ee6a2ec4e2ca8f6dbc
['a79cdcee81ba4506b0d5edcf604d4117']
I am about to do clustering with feature vectors of 1000 dimension. that is, feature vectors are like the below. a = {255, 2334, 436, ... , 5284}; b = {235, 434, 63, ... , 844}; ... I have also the metric to measure the distance between 2 feature vectors. but i cant figure out which clustering algorithm does clustering...
82492607fb89ac54d2faeab5f4e7933036c48207786afc67bcd12b94e5b4f965
['a79cdcee81ba4506b0d5edcf604d4117']
I am implementing the integral image calculation module using CUDA to improve performance. But its speed slower than the CPU module. Please let me know what i did wrong. cuda kernels and host code follow. And also, another problem is... In the kernel SumH, using texture memory is slower than global one, imageTexture wa...
11f706714a471878efab40605a5acbdc0219dabf8f6fa705c8299384b58c2751
['a7a5765d5e0340e5ab4b10a63c0bcf19']
I've ported c# code used to work against smtp.google.com:587 to work via office365 without success. Tried all combinations of Credential before/after using Ssl and almost every recommendation made on the Internet - w/o success (got 5.7.1 .... error). Finally got this line from somewhere as last resort, just before .Sen...
ba7a22b6b86ae6090e8f086e965a98daa90a7ac0a5d83db2cb8e39e674a16271
['a7a5765d5e0340e5ab4b10a63c0bcf19']
I have an MVC application that makes calls to google to validate its users. It seems that it uses deprecated protocol (by Google) OpenId. Is there any simple configuration steps to make MVC 4 to use OAuth2 instead of OpenId? My problem: receive err message: "OpenID auth request contains an unregistered domain: http://m...
5240475c97aa2fab72d22daf26d389ad9d88a29d788f396edcc8a67655ae4322
['a7a6faae681741ba8d6a693b1ae92dbe']
I am trying to create a method that returns all the data of a column so that data can be used on a listview to populate it. public static Array populatelistview() { OleDbConnection myConnection = GetConnection(); string query = "SELECT * FROM trainlines_"; OleDbCommand command = new OleDbCommand(query,...
e91ee157e4dc1068b40373521bcecd8e7e129acf320beca9d723d5606b9187d7
['a7a6faae681741ba8d6a693b1ae92dbe']
I am trying to create a login page using SQlite. However, for some reason I have been getting error ( Fatal error: Uncaught Error: Call to a member function fetch() on boolean in C:\xampp\htdocs\project\login.php:20 Stack trace: #0 {main} thrown in C:\xampp\htdocs\project\login.php on line 20) <?php include("co...
404018929f3cfe98f6552b24185bb53ea3d023c061ff86fe9742b765c42c5475
['a7aad7f215664552ab54a3d105004ade']
See: https://cloud.google.com/bigquery/docs/manually-changing-schemas#deleting_a_column_from_a_table_schema There are two ways to manually delete a column: Using a SQL query — Choose this option if you are more concerned about simplicity and ease of use, and you are less concerned about costs. Recreating the table ...
0a610f1f76b327a5291bc439b915fe120fdadb06a506458d7509a7b7167e907e
['a7aad7f215664552ab54a3d105004ade']
You should run deploy command in directory that your index.js exists. In case of the following page, it named helloWorld. https://github.com/GoogleCloudPlatform/cloud-functions-emulator/ . └── helloWorld └── index.js cd helloWorld functions-emulator start functions-emulator deploy helloWorld --trigger-http functio...
682d7041da2b6287b3c4d1a960eb09950ee38c6806d98c3d610823d3e7436d5f
['a7ae0575bc7d418eb965b7656d546210']
Update your ID values to 'totwsilversbar1' (menu 4) and 'totwsilversbar2' (menu 5), respectively. And change your css as follows: #totwsilversbar1 { width: 100% !important; height: 210px !important; position: relative !important; left: -705px;} #totwsilversbar2 { width: 100% !important; height: 210px !important; posit...
fd906a63fab88cac69f5cacf6e4e74e93c982978e9d89562826a7d0e400c4677
['a7ae0575bc7d418eb965b7656d546210']
I have an assignment problem as a part of my Master's Thesis, and I am looking for general direction in solving the same. So, there is a list of agents, and a list of tasks, with number of tasks being greater than the number of agents. The agents submit a prioritized ordered list of tasks they can/want to do. The lengt...
81a4675a3cb7d8a9ec4b0b7df8e08ef08fa027549590cfaa8cb6a416f76af34e
['a7afce07293247829884e5de053e4bad']
Everyone. I've got the following AJAX to load a table: <script> function loadtable(){ $( '#table1').load('tablerow.php #table1'); } </script> <table name="table1" id="table1" class="center" onload="loadtable();"> <tbody> <tr><th>DSA #</th><th>Plan</th><th>Initial Plan?</th><th>DDD#</th><th>P...
3a79d44aebef13ae86ab72352b968ac2f542d85d30ad69881e676b87b5ccdd97
['a7afce07293247829884e5de053e4bad']
Everyone. I got some good help a couple of days ago, so I'm hoping that someone can show me where I'm going wrong here. Basically, what I'm trying to do is update a MySQL database in the background when a user clicks a button. The form is a series of records, and the records have common field names (ID, DSA_Number, M...
0ba70c3fd18785010514cd1bf081021bc6c75dc4527f0e5357c4312b6252d43f
['a7b0c6bd5711479d9db8169dc127e5f6']
in short I want the same functionality as the taxonomy module where you can have an URL like "localhost/drupal/admin/structure/taxonomy/occupational_fields/edit" where occupational_fields was the aliased part. The menu entry in taxonomy for the page callback looks like this: $items['admin/structure/taxonomy/%taxonomy_v...
5f637c11cfb0abf1be070739a901678e4ba2709711f02803f5350e704cd617b3
['a7b0c6bd5711479d9db8169dc127e5f6']
yea thanks you are right about the typo. I actually also screwed up the -2i/F factor which I changed now in the question. This explains the messed up sign with the energy. Thanks a lot for the response! However, I don't think H|omega> =0, it should equal E_0|omega>.
2085ce59a036c1fa360e4c6d8afc0c433f9bf53eb3239c937d38a55c11cef18a
['a7b276f208964d278d37ed6d25133834']
Is there any aspect ratio that needs to be considered for full background responsive image? Image size is 1361 x 1216. Original Image Below is the CSS used, body{ background-image:url('../images/bg-img.jpg'); background-position:center center; background-repeat:no-repeat; background-attachment:fixed; background-size: c...
1c02e4189eb1dd89304cebce22a95cff4f7652045e0dc761a6e4eef6ac00383e
['a7b276f208964d278d37ed6d25133834']
I'm trying to insert url for menu through mustache template. But just the first value is being returned for the array. Or is this the return method wrong var main_menu_link = ["main_dashboard.html", "#", "online_dashboard.html","index.html","#","#","#"]; var url = ""; var i; var url_link=""; ...
fd8e3d310f41917f0db369b2376147a91e1c760d8ff8e196429aa3279510ac55
['a7ba3988234f40c5b72cc2d17fb443bf']
I'm trying to create a trigger for my 'rentals' table that will change the value in a certain column ('rent_avail') from another table when an update occurs in the former table. The idea is simple: when a dvd is returned to the dvd store (i.e. date_return has a date value, the dvd has now become available again for ren...
a920af75e52b6436dc96f00e0b42f4899bdab972ad559b53361fa03df57d4660
['a7ba3988234f40c5b72cc2d17fb443bf']
Can anyone help me understand why the result of VSIZE function in my PL/SQL queries differs when I run the command on its own in the SQL plus command line and when I use it in a procedure? I understand that VSIZE displays the number of bytes in the internal representation of the expression. I've looked through many exa...
2d3ad79b60b8ece0929428a0214c24b78545dedd93d0bbf4f5662edf4e054b28
['a7c328ae8fe6400f95d603c98db7a7b1']
Alrighty! Figured it out. Thanks, everyone for the answers, however, this is for a front-end author page, not backend access. // remove wooCommerce redirect from authors.php template remove_action('template_redirect', 'wc_disable_author_archives_for_customers', 10 ); Turns out WooCommerce disables author archives for...
d680e3122ec73e4241a462b2e9d39e18f2b6cc2b00f58a12a82da78bb19d93c7
['a7c328ae8fe6400f95d603c98db7a7b1']
I see a couple things to try. First, make sure to set your custom js file to have 'slick-js' as a dependancy. This way it loads after slick slider does. Also, jquery is already part of wordpress, so you do not need to enque it again. However, it should be a dependancy for both your custom script and slick: wp_enqueue_s...
c4166339861abd5b6a07e5a44095096500871006e34fc64427f63d253022228b
['a7ca75dea36044b78077b240177f346a']
I m studying p-adic gauss sums and when reading a paper about them I found that those kind of sums are defining in local rings and give the example of Z/(P^l)Z .I looked for the definition of such rings i.e local rings and I found that are rings which posses one maximal ideal ring that is why I m asking what is the un...
79ed1b82232f8f0a685d97a4d1753887dcc5c5c318de2756b1dff78621275267
['a7ca75dea36044b78077b240177f346a']
I don't know each library you are using. But most ML libraries have model optimizers built in to help you with this task. For instance, if you using sklearn, you can use RandomizedSearchCV to look for a good combination of hyperparameters for you. For instance, if you training a Random Forest classifier": #model MOD = ...
143d6adf4ef3381f5be01c7736527b3af0fb411282062626a29d55b95caf274a
['a7d525755dbb49619a090685a7be1700']
I'm not sure exactly why you're doing this either, but I have a guess that may help you. You can set the output folder for dlls within Visual Studio. You get to the screen below by right clicking on your project and selecting Properties. Then select the Build tab. Change the output path from bin\ to bin\Debug. Or, i...
6ffeb186306f817e817b61af0e5061a90acd8da8bcd564a17d62625c09b20887
['a7d525755dbb49619a090685a7be1700']
Its not a great solution, but I've gotten around this before at the page level by adding a querystring to the end of the call to the CSS file: <link href="/css/global.css?id=3939" type="text/css" rel="stylesheet" /> Then I'd randomize the id value so that it always loads a different value on page load. Then I'd take...
ac1622b319458a3d3661f98198230b3ff914db0c28b2eb5023097445707338f1
['a7fb9c7fc25a49408541785b7da02499']
I'm using the Mern stack, but I'm having an issue as to where to save uploaded files. Let me explain. I have a form that sends over a formdata which includes a .jpg image. On Node/express side, I receive it well. But now I'm stuck. I'm using express-fileupload package which attaches an mv function that allows me to sto...
67a8becb58cb40dcbbd587c2d9136f13f1b47d732886a23d6711de26203846f2
['a7fb9c7fc25a49408541785b7da02499']
i keep getting a null value from my reactive form. The field name is "from" my ts file ngOnInit() { this.createForm = new FormGroup({ 'title': new FormControl(null, [ Validators.required, Validators.maxLength(40) ]), 'message': new FormControl(null, [ Validators.requi...
72e038514ef1ba75500dfc0871ceb50b603a6d8d1440e0a43c8cb4b1239fbc23
['a80057868a2849d8881556ffb1eb28f6']
I have a pull-queue in Google App Engine and a resident backend which processes the tasks in the pull queue. The backend has several worker threads for consuming and processing tasks, as suggested in a post in Google Cloud Platform blog https://cloud.google.com/resources/articles/ios-push-notifications Workers poll the...
4246eea77eb8277937a7b691231173a00f9e6afa459057435bae48811d438dbb
['a80057868a2849d8881556ffb1eb28f6']
Our GAE python application communicates with BigQuery using the Google Api Client for Python (currently we use version 1.3.1) with the GAE-specific authentication helpers. Very often we get a socket error while communicating with BigQuery. More specifically, we build a python Google API client as follows 1. bq_scope =...
b86e764c151676d4dc81bbe023152ebcac4e99b755df58ff9f74d082fe52322a
['a808b5dd24d347538552ceab40fae8e3']
I m having an entity like this: public class Entity { @Id private ObjectId id; private BasicDBList data; public ObjectId getId() { return id; } public BasicDBList getData() { return data; } public void setData(List<Map<String, Object>> data) { Objects.req...
e8733da667921e9d6a351bd6ad8c6be7cc870e558f2bc02200c166c6c30c5a94
['a808b5dd24d347538552ceab40fae8e3']
After some research, here is my answer: db.collection.aggregate([ { $match : { date : { $gte : ISODate("2016-04-20T00:00:00.000Z")}}}, { $project : { _id: "$_id", views : { $cond : [ { $eq : [ "$date", ISODate("2016-04-20T00:00:00.00...
588908ee4d06d5d87a42b6effddb056e9cbc00cf94c7cfaa6f5eb61b7f6d193b
['a81033141b8340b48bf27633783a9279']
Even after migrating your Firebase project to the new console the 2.x SDKs will still continue to use the legacy email template when issuing password resets. If you use the 3.x SDKs and issue a password reset from there it will use the new email template. In either case you can manually trigger a password reset email ...
e9fea32f7635e129a194dbb8b4d7f939fd45bd887adfae482a6270d55f5ccdaf
['a81033141b8340b48bf27633783a9279']
I think I understand what you're describing and if so then I believe it is a bug: Create user A with email a Delete user A from the Firebase console Create user B with email a authData.uid for B is the same as A the uid for B in the Firebase console is some other random string What you can do as a work around for now...
b35847b2466410db1dedc856b2dc3a90b4eff6a48fd0610ce4f95b7027cdde0f
['a816a800d6fb43f2b9ac80a784fc339a']
I have a generic C++ CLI list which is populated with integers. I want to find the max value. Normally the list is sorted in ascending order. So I could just take the last item. Or I could sort the list and then take the last item but is there a way to avoid that and just do something like ->Max()? System<IP_A...
3e5d061872a4b77542e46702ea85e509d5f865cf10861fd2e61e181293c6d9cf
['a816a800d6fb43f2b9ac80a784fc339a']
In another language I like to use object arrays containing every class object, and each object is very efficiently accessible via the object array. I am trying to do the same with Python and numpy. Each object has a number of members of different type, including a numpy array itself. So in the end result I need an obje...
75784ccb8be7e56282dc635f9daed0b03f19a1772ca3ae3cabaa35de7ec20603
['a82f44bd8b1c4afa88a26e5354c73128']
You seem to be confusing bits and bytes. A byte is composed of 8 bits, which can represent integer values from 0 to 255. So, Instead of sending {1,0,0,0,1,0,0,1}, splitting the byte array and parsing the bytes as bits to get 2 and 9, you could simply create your array as: byte[] data={2,9}; To send other primitive dat...
60aa83f956734b3e35d0b28c0d1894dad491222931e5a41a8a0f0d6e0febcadd
['a82f44bd8b1c4afa88a26e5354c73128']
read(client, buf, sizeof(buf)) returns -1 if the client has disconnected. So, loop for as long as bytes_read is greater than or equal to zero and recreate the server once the loop exits. I have rewritten your main function, wrapping the while loop in another loop that runs until 'x' is received from the bluetooth devi...
815d8022712ff546bb5d5e0fa9cc80ca620afb76f31286c3cfc7c66287ca17aa
['a83863ca5f8d4b2ca84a666726a9417a']
I have a process that I have been able to drawn somehow with a flowchart. This process involves several classes, loops and several threads of execution. However I am unsure which (if any) UML diagram could be adequate to represent it. I thought first Sequence Diagrams since it includes loops and can represent-I thin...
af588fdf60940db3d6b8c5e065506931c681c078ffcb8d912f1e294f150fde3f
['a83863ca5f8d4b2ca84a666726a9417a']
As I commented to the other answer, perhaps my understanding of the word "prototype" is wrong. I thought "usable condition" meant prototype as opposed to say.. just documentation. So in simple words what should I have at the end of a sprint? A working software system? (even without the full functionality)
b3095d99627f0550ec16a753a82f38aa0d3b502bff1838377017e7b856e1e79a
['a83e8d25b8fe465fb60607a947cc746a']
I just started experiencing a bug where the SQLDeveloper 4.1.3 (latest) app icon freezes in the mac OS dock. This prevents me from relaunching the app without a hard reboot of the computer. sqldeveloper in dock Activity Monitor shows no app running. P1105S123LT3:~ dan$ ps -A | grep SQL 569 ?? 0:00.01 /bin/ba...
e67b85845bcec1463de73e9eefd431f69464b84aaa590551796ee892da0d1ff2
['a83e8d25b8fe465fb60607a947cc746a']
So it appears that this was related to mac file structure corruption. I rebooted in safe mode and that rebuilt some caches which resolved the issue when I again rebooted in normal mode. I ran the disk utility repair to verify file structure as well. I talked with apple support who advised that safe mode bypasses the ...
395e96f759d3209def99628a9f79cb4dbace3d11bbd5242c068f9c544cfbfc92
['a83faad2803d48cda77c52be39e1f845']
It's been a while since I've done TeX. I am working with TeXMaker on Mac: \begin \documentclass[10pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} \author{me} \title{my title} \begin{document} \part{Part One} Text \end{document} It claims there is an er...
86aa9866ddabe7faf53c9bdba435e1058df7a53f0fb3070cc93acf19e582e7a6
['a83faad2803d48cda77c52be39e1f845']
I am actually no physicist , but a computer scientist. Probably you will want to personally murder me for asking such a dumb question , but I have no knowledge of physics and I am asking out of curiosity. As far as I understand , photons die out when they interact with other matter. Thus , when a photon interacts with ...
4ea6635e4d0356e792d6e486576c1def76905738d45ae4061018992a3405d3b9
['a842e09d7b9043bc86c4879bab4977f9']
Your answer focus on thermal efficiency, which is only part of the overall propulsive efficiency which determines fuel flow $\eta=\eta_{cycle}\eta_{prop}$ with $\eta_{prop}=\frac{2}{1+\frac{V_{jet}}{TAS}}$. From "Gas turbine theory" by <PERSON> and <PERSON>, overall propulsive efficiency is proportional to $\frac{TAS}{...
2ff14fb5bfc7964f1329c4b0d1c4d0ce9f1bd5acceb719459018f40ace8478d8
['a842e09d7b9043bc86c4879bab4977f9']
In magento2, desktop view comes from media point 768. i want to change this view. Rather than 768 my desktop view should start from 992. For that i am overritting the value of @screen__m from 768 to 992. But my changes are not reflecting. What are the other changes which i need to make ? Any solution ?
2bca074413191868f40c99af7af66b47779bc9e89042a03d5ffbf184bedb4997
['a84d68b2d5234f2e91cb9dd88d3bc73c']
The boxes are labelled, the balls are not, i.e. the children are distinguishable, the ballons are not. And in the R code it's exactly that case also: the kids are distinguishable (they are the marks in the table) and the balloons are not (each balloon justs counts as "1").
0b62ea9b9e5cf775c405a209233f761f1622789d6c5c415ff3b0c83c7dac1686
['a84d68b2d5234f2e91cb9dd88d3bc73c']
Ok, you mean like $\left(\frac{5}{6}\right)^{20}*6$? ... Which is the probability that exactly one child gets no balloons, right? Then add $\left(\frac{4}{6}\right)^{20}*{6\choose 2}$ and so on... All in all: $$\sum_{i=1}^5 \left(\frac{i}{6}\right)^{20}*{6\choose (6-i)}$$
e92b528db80d404ec1844ba01f5602c6f066c234ff22c006c7f3e83a568531e1
['a84f053c528046c598585e7b2d842b1e']
The program below compiles but doesn't print data to file. I also tried while(1) but didn't get the right output (no data). I am still trying to learn python embedded and file programming. Can anybody take a look and point me in the right direction? Code below: import logging import serial import serial.threaded...
146122606e8176e293e1d00a6108c7012c731b19948ac4ebd494131fe702335a
['a84f053c528046c598585e7b2d842b1e']
I did some research and got the problem resolved using subprocess. #!/usr/bin/python # # # import sys import os import subprocess import serial command1 = ['ssh','user@<IP_ADDRESS>'] command2 = ['cd','/workspace/mset-utils/tests'] command3 = ['sudo','./reboot_board.py'] command4 = ['python', '-m','serial.tools.list_p...
eb2eae19e95fee086c45aededdb41a021c570a84955eddeeeba5869a72c3d03d
['a85864e6412d460482fa4aa33d2e5d6e']
I'm now trying to implement a server using c++, I try to save the information of the users into database, but I came across some problem while connecting to the database. I can't build my program because of the following errors generated by code blocks -------------- Build: Debug in server (compiler: GNU GCC Compi...
5d8d243b841218361530890df1773067899d3f5805d5a17c49b13f99572e6fa1
['a85864e6412d460482fa4aa33d2e5d6e']
It turns out that both my input and output buffer are wrong, they both need to be two dimensional array as <PERSON> mentioned. Here is the working code func Scale(img []byte, outw, outh int) []byte { input, _, _ := image.Decode(bytes.NewReader(img)) if a, ok := input.(*image.YCbCr); ok { width, height :...
dc578f392f6a97c864436e3657027f6bac4e1605d101f4f33e2bbf3976b04edc
['a85cec2db5e84d7fb3fcb274016034c5']
The problem is in that that I'm just flood filled number tiles as a spaced tiles and this just uncovered all area except mines instead of just some area. Now if function found a number it's stops and draws number. else if (closedMap[x][y] > EMPTY && closedMap[x][y] < CLOSED) // If this cell is contains number... ...
8c7cb389a82baa37d0cd04f200269854abf2225ba2e1302c3ec559b263e5a502
['a85cec2db5e84d7fb3fcb274016034c5']
So I solved problem by adding a head section in body container and using constructor without parameters, also i deleted checking of vector size where it's not needed (no). Here is my new code: Snake<IP_ADDRESS>Snake() { body.reserve(4); head.setPosition(400, 400); head.setSize(Vector2f(20.f, 20.f)); hea...
8a2eaee8ec7d47ee35716d00636cb37b82ff3e8cd5b4d69811ce795e73d67ec4
['a8663eb63b1541a18dfad1cf4f279c33']
I've opened up a knockoff game cube controller and I want to know what the power via is labelled as. There is a 5v which is fine but what are the 'v' and 's' pins? Photo attached. The cable is a standard game cube plug but I'm wondering if its just USB and if I can therefore splice it into a USB plug. Cheers
888f9731561110657b3e869a3ee884aeb11fd98117c81b78a5d62c8a7427c879
['a8663eb63b1541a18dfad1cf4f279c33']
If one imagines turning a knot, and looking at its projection on the plane, it will change between different projections of the same knot. In between, there will be some singularities when more then 2 points get projected to the same point on the plane. Not all such transformations of the projection correspond to <PER...
5f382ce351819f97252447de750813b94040683089ead6405af5ba35c56a0257
['a8757b7d4fa04b3c8435221fc9291192']
Thank you all~~~ I think I figure out how to do that. I use css3's property: column.(css3 column property)I think it it quite same as the bootstrap grid layout. It's my first time to post question here, and I got so many answers in such a short time. You guys are awesome! Thanks again!
2165e4f8c1aab786b8146c07b18761c8e4905b8d59f3ee22b084d5de3f101005
['a8757b7d4fa04b3c8435221fc9291192']
what I want to do is to drag a element in the left sidebar to the center area, as shown in the image. But not working, although no error message show up. image of the page My code is: //drag and drop - not working WebElement element = driver.findElement(By.xpath("//*[@id='componentsSection']/div[1]/div[1]")); ...
1a7d54c19f93a63e37f6afda12b84d3ab62f619f1df1e6df4c4edcee0e988deb
['a87b2af5bfeb4884a0213f60bea4b67c']
You don't need bs4 for this purpose because you only require info from cookies. (use bs4 only if finally you need to extract something from html code). For the cookies stuff I would use python-request and its support to http sessions: http://docs.python-requests.org/en/latest/user/advanced/
ef34d5221eb1308a7b36c51d4131d1345c7d9b7820458673e8a85eb4f501d440
['a87b2af5bfeb4884a0213f60bea4b67c']
Wireshark is a overkill... just take a look to the network tab in Google Chrome. There you can see that you POST data needs a format like this: post_data = {'UserName': 'Monash\%s' User, 'Password': Password, 'AuthMethod':'FormsAuthentication'} Also would be a great idea if you use a proper U...
d7e0834c0a784db8bd34daee0adee20a251852c288040cc0eb24ecdd80763893
['a87c4f9094a446a588406cd2c06fc51a']
I have this script and he return this error in console SyntaxError: missing ) after argument list but i dont found where is the error in my code. <video autopĺay id="cam" width="400" height="400" muted></video> <script> const cam = document.getElementById('cam') const startVideo = () => { var cons...
43055e7855bdbabf6568fa1897c245b78a2fa00a1dfa0a2e02fdef968e1121f7
['a87c4f9094a446a588406cd2c06fc51a']
It is the first time that I will deal with a javascript library in rails. In this case, I'm going to use TrackingJS to work with facial recognition, but as I never used it, I don't know how to include it in my project and use it. I use rails 5.
180434bafc7ca3a3b32e3e36943c9da474b081613498aefa958833c5182fdfd2
['a88958dd931549958ed81990cf014077']
I improved <PERSON> answer using Dart 2.7 Extension Methods to make it more elegant. enum Fruit { apple, banana } extension EnumParser on String { Fruit toFruit() { return Fruit.values.firstWhere( (e) => e.toString().toLowerCase() == 'fruit.$this'.toLowerCase(), orElse: () => null); //return null...
33649646cdaa6cec46b6ce012fccd1ffb207866b08d1ea8c7e94957420f41777
['a88958dd931549958ed81990cf014077']
I solved my issue using nested Navigator. Here is the example: import 'package:flutter/material.dart'; void main() { runApp(MaterialApp( home: Home(), )); } var homeNavigatorKey = GlobalKey<NavigatorState>(); class Home extends StatelessWidget { @override Widget build(BuildContext context) { return ...
924db3eef571ffe28df5c4eb6bf3dcd4265480000b29daf750b04043aed67354
['a89c1200518344d1bfab87b65c709a79']
Comments and white space are completely ignored when the code is run. You can think of all that extra stuff as being completely wiped away once your done and the code is doing its thing. Extra white space and comments are solely there for you and fellow coders to be better able to read and understand your code. In fact...
edb3db907c3d5bc70fbde5c7fb78247ab3e415fae44655383dca2535b0c23949
['a89c1200518344d1bfab87b65c709a79']
This is a scope issue. You need to instantiate (create) $newVar outside of the function first. Then it will be view-able by your other function. You see, scope determines what objects can be seen other objects. If you create a variable within a function, it will only be usable from within that function. Once the functi...
6d4f8907bc4c45ee719e5c9719ce0981a3298dab4affeedfd59a9fdce26456b1
['a8a987d011384e838759a70d75f59352']
I am facing difficulties while trying to insert a date variable into a database table. My variable is called: Date date4; The date4 variable value is read from a textbox which has a calendar picker. For inserting in a date column, I am setting the field type to date: preparedstmt.setDate(4,date4); However, I got the ...
7deef05352a4ac1143cedc6f4d979c5d2c2efba6b46a98d126fdead0bf5b7ff1
['a8a987d011384e838759a70d75f59352']
I am facing difficulties in mapping the values of two arrays to each other. I am having a string array list which is storing the users selected values: private List<String> selectedCertificates = new ArrayList<String>(); The above array will store as an example ["SS", "CC", "SC"] and at the same time the user can sele...
d1a78a100473acf804c9987fa32ab2b8b9167aae0d5e45ab7237cb5bd6e8fe87
['a8d7aa91e6d34b48b9e69939132bab9b']
<PERSON> can you explain it again? I don't really now what you mean "with hat maps x∈N to the xth digit in the sequence of every base N−1 number (in ascending order)" I though you just meant the last digit of the number in hexadcimal (if N is 9 for example)
259c5d1148c9865247e0f97f93229810b0fbb8c4666e328f5fa783551ae98df3
['a8d7aa91e6d34b48b9e69939132bab9b']
partially, I understand why ECM and EMC and MBC and MCB are eqaul (ss traingle), but I don't understand why MCB+MBC are equal to EMC, and I also dont understand why mcb is equal to cad, since there doesn't seam to be any paralel lines in the figure
b940edd7b726f1c326c47a6ceb3895d8bd23c66d6a8d236c99b63a9c1ed26a4f
['a8dbeedd25f54717958b4a91c202c5ff']
I would like to invite someone external to my organization to be part of a Skype for Business meeting which I am setting up in Outlook. I sent him a connection request using the Skype ID he gave me, but it doesn't seem to be working, so he asked me for my Skype ID so we can connect that way. Where can I find out what m...
e9ddd1aec57be1e981d5efe094bee7d8877ea8c475745c783cb1750ebaacadc9
['a8dbeedd25f54717958b4a91c202c5ff']
I was not the one who downvoted you, but it seems that a printer can actually have different DPIs in the horizontal and vertical directions based on [link](https://superuser.com/questions/160219/what-advantage-does-a-2400x600-dpi-printer-have-over-a-1200x1200-dpi-printer). But I don't know how this works with software ...
37ef67637995a96482adfb2e881adb14bb05b3cc2e8ba8359d39eab8a170d96b
['a8e0546168f4446ebf0c89b887551f88']
the error means that you did not import the package while calling the constructor on line 1. And the second is working because you called the function by specifying the package ! Do an import com.example.alarm then do DialogFragment timepicker = new TimePicker(); it will work or either import the appropriate package co...
215e199dd744e6c5b32a945ab30c8cd982e8594809aec49e761d261bb521b678
['a8e0546168f4446ebf0c89b887551f88']
to solve my problem . first i autoload the kernel by adding in my composer.json file "autoload": { "files": [ "app/AppKernel.php" ] }, then i modify the file app/console.php by adding on the top : require_once DIR.'/autoload.php'; and i comment the line //require_once __DIR__.'/AppKernel.php'; for more...
f721be9c746b905aba0b6ae8a4933eddad6b9ae882698b37649cd049a8f1a9d8
['a8e50697dae8450f9e0a63c7d562436e']
i have a few problems with multi language support. My website is using charset iso 8859 1 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> When i the fetched title or content is in chinese, the display will be funky text $doc = new DOMDocument; if (@$doc->load($url) === false) return; $title ...
2b6c80fad86b28379f256e88e12aab968fe187f54a3744b6ab745bfceac8eafe
['a8e50697dae8450f9e0a63c7d562436e']
I also tested the disk on other hardware, where I was asked for the password, but can't unlock. My suggestion is, that the samsung bios, is changing the password in some way. I tested to use scanline codes but had no success. Filling the password up to 32 chars is an idea, I hope to have some time to test it soon. htt...
4ddc6fb2ce503b7ac0f65911107f9b12b11fd2910ceb0e9fc77f0f6fc0c1d73d
['a8eb6b602163487c8f3a1e2464ee34b3']
This is a feature of rails that prevents cross site scripting attacks. It really depends what you are doing but what you need to do is pass this secret that rails passes in every params hash. Check you log file or server or debug your params and you will see this. It is a really long code. This code is generate in your...
8889d1676408e1b6bba03b84168e0c7f4da2d4d9acea26135c8eaceaea991fed
['a8eb6b602163487c8f3a1e2464ee34b3']
Rails uses the MVC paradigm. It's interesting in models, views, and controllers, really only controllers have an 'application' or parent controller. Actually there is an application_helper in rails but it really doesn't do much. What's the point of only have an application_controller where as models and in practice hel...
70ee20538fb7866bc4e2d63e934ac8d3923b3fa3cc06500d80962506bafc1cd0
['a8f837c30c7d45b8982a00677956f0cc']
Is there a Design Pattern for Data Object structures that frequently change? I am refactoring a Genetic Algorithm where the structure of the Chromosomes (number of genes, type of genes and boundary of genes) change from problem to problem. For example: One problem may use class Chromosome{ double gene1; // 0.0 ...
cbce6e2ab0a827e95576b99d1b4ce69b62bdb6e4e46d45d5dfeb4b2b82950845
['a8f837c30c7d45b8982a00677956f0cc']
Thanks to <PERSON>’s help, I believe I have a solution. I left off ID and Boundary for simplicity. IGene and Gene classes are the solution. TestGene is a test implementation. public interface IGene<T>{ //Accessors public T getValue(); public void setValue(T value); } public class Gene<...
190d7cc3c8cc20f7a77b2f1d090127d1c3307f195bbbe39b8ada83e820c24810
['a8fb799b93274782ad09a264276997b9']
I have a text file called output.txt that will generated inside D:/MPI. I have to download this file but the file which is getting downloaded is completely blank and does not have any contents. I want to download the file output.txt which is in the folder D:/MPI. Here is my code of JSP <% String filePath = "D://MPI//ou...
d32a81a877ed9b268f5918c99c07aa2e9773dcacab0daf1f97bb21360ef14d44
['a8fb799b93274782ad09a264276997b9']
I have a function which takes a tab delimited file as an input and creates scatter plot for the values(one scatter plot per file) in the tab delimited file.I need a function which can print scatter plots in one pdf file(ie one scatter plot per page).Here is my function which prints one scatterplot per file. scatter.plo...
af812628050a471240fd9f60adf0036acbc7d7047d176382f052e83f2342ef43
['a905f04b35444e30acde0390542f5b5b']
Yes you can expose your own wsdl like this (using the example data from the wscf.blue walkthrough), with externalMetadataLocation being the important part: <system.serviceModel> <behaviors> <serviceBehaviors> <behavior name="MyBehavior"> <serviceMetadata httpGetEnabled="true" externalMetad...
845f3694aa10901a5a54c705487a9e06e90f11bb4840e0f850128ba3c0e774b2
['a905f04b35444e30acde0390542f5b5b']
I actually did the same thing, but this seems more like a hack than a solution. Might be the best we'll get though. I'd figure that in my case it's not heat related either, because sometimes it works just fine under heavy load and if it decides to start lagging it starts right with the high load. I'd suppose that if it...
e38d9a26ed1e2060cb1b304a9f3ae6e97c892d7e1f9023f1dd4ddd4208130815
['a917ff96443247d48e8ae084c0dfb9a1']
I'm stuck a little with my Witcher I walkthrough. I play Witcher I (EE, 1.45.1280) with FCR mod installed and use the 4th difficulty (of total 6). So I'm on the final fight and I really cannot do anything with it. Grand Master is pretty strong and also he has something near a dozen of ifrits around him for help. The ...
d78756ec272e9a3f38301f50e5ffac8c1e3fb7c263cddc7e4b6b64e28a2f1a8b
['a917ff96443247d48e8ae084c0dfb9a1']
Fair point. I meant underlying theory from which all of collision detection stems. In other words, if I'm writing a collision detection subsystem, do I need to write one function for each type of primitive/primitive collision, or is there a single generic function that works no matter what the primitive is?
e7fb4b226cb20dbcf45c91e9212c98f661b50ab0eafbbfc4a1a03ba94c837889
['a93522c65cff4f6cb4bbde96d5c35ea2']
Windows users: After you installed OpenJPEG and added its bin folder to PATH, you need to re-build the pillow library. Using Conda I didn't find a solution to do that so I ended up using the windows installer from PyPi as suggested in this answer here. The installer found my Anaconda installation and it seems it simply...
8f52e28594e3ed5e2656a9c4e653f5e78a5d652ace657fafd2f6c8f15ea74e7b
['a93522c65cff4f6cb4bbde96d5c35ea2']
Ideally you use a build-server like travis-CI or gitlab-CI that builds, tests and deploys your source. I asked a similar question recently and ended up building the following pipeline: build-stage: npm install to install node_modules * compile typescript to dist folder test-stage: linting (although some recommen...
12bb4247ecf6e8710c0cb19083d171e69d689215a18ed3368245eab1ed10f8e8
['a93decb90d50418295239e68da006381']
By <PERSON>'s little theorem, we have $x^3\equiv x\pmod3$ for every $x$, and of course, $x^3\equiv x\pmod2$. This means that $$ a^3+b^3+c^3\equiv a+b+c\pmod3$$ and $$ a^3+b^3+c^3\equiv a+b+c\pmod2,$$ which was what we wanted.
19b8829afc354404436ef66f72ed089c0b55a4c43fc92e4383c8fe73177b60ed
['a93decb90d50418295239e68da006381']
Yes. If there exists no $c$ such that $\|Ax\|\geq c\|x\|$ for all $x$, then there exists a sequence $x_1,x_2,\dotsc$ such that $\|x_i\|=1$ for all $i$, and $\|Ax_n\|\to 0$ as $n\to \infty$. Since $\mathbb{R}^n$ is finite-dimensional, its unit ball is compact, hence some subsequence $(x_{k_i})_i$ tends to a limit $x$ in...
f51af3880c9356d8f7ae6a8c71aeeeead0dd6f28ae8742150152d90d0ba405a8
['a9428878e95d4b84be7130d05c70bc32']
Stupid mistake and I can't believe it took so long to realise. I had an extra space character before the thumbprint string which was the cause of the error. Even after fixing that though I then got another error: No certificates were found that met all the given criteria. Running the command again with the /debug opt...
92068772ea49d4aaf04c585ffaf78a9d08b496ca3216a203da6a3f9e6c1816fc
['a9428878e95d4b84be7130d05c70bc32']
Not saying they should be removed. And yes there are tags for specific versions but as I said more often than not the more generic version-less tags are used and you can't add tags to answers. Plus people like me with not enough reputation can't modify answers to say that the answer is for a specific version. It may s...
a9b9bccf416d59a918b4bf8bb4d51179f65492261cb1059c2fccbd7517d43a19
['a94311d279834757ad5d10ce0add1457']
I have values in database witch is a percentage values for example: Per columns : 90,85,38,70,85 I select “Per” as the value to be shown in the bar chart But when I run my crystal report all my bar display as 100% It does not take the exact value of “Per” How can I solve this problem?
277c1b4bb259889071a5a615f4c753683d28585d54f22ec3d56d6989cd07eec2
['a94311d279834757ad5d10ce0add1457']
I have database with column of date type My computer run on date format MM/dd/yyyy "en-us" I have grid view which I used to insert data from GV to data base using the insert SQL command it work fine with out any exception. When I try to change my computer date format to dd/MM/yyyy it give my exception when I run my...
53dfb2152d089730660e53264a11ee9640157b707729618c5cedb305151f9434
['a945b2d776cf4b64b18f7dd22441590b']
You can write both algorithms with a complexity O(n) where n is the number of characters in the String but there are much better algorithms to do that. By the way I wrote an example that show you the computing time, one method is faster than the other but they are both, as I said, O(n) public class ComplexityTester { ...
8e790ede992ea681e1297797bad588b4b13452eda195016138c37afc9d6b5460
['a945b2d776cf4b64b18f7dd22441590b']
You can use a Scanner to separate the tokens of a single line. String str = "57363 Joy Ryder D D C P H H C D"; Scanner tokens = new Scanner(str); String studentID = tokens.next(); String name = tokens.next(); String surname = tokens.next(); String letters = ""; while(tokens.hasNext()) ...
0f7a74bec012d7ba5864b76ed6c9011764234299a23be3908f3575091f502803
['a9465e3786bc4b959cd8c13f9cc22762']
I am creating an android app using Google Maps Api v2 targeted for Android Api 16+ compiled using Api 23. I am having a strange problem. When I tested the app on my phone; installing through Studio's Run button, It work perfectly fine, but when I released an APK and installed the app from the APK on my phone, map does ...
e2c4978f8838f8875826b62da828acea421b9ae2ce5e162860e9035c04babebb
['a9465e3786bc4b959cd8c13f9cc22762']
I am loading some data from a database table in a datagrid in Flex and I require a custome component on the first empty row or on empty rows, so user can add data in to that row. How can I do that? I do not want to make the datagrid column editable.
e6f042a5443e0eed06eb186e12ed20fe9aaaa2cb9d05171ba0fc6c9f786a611b
['a96a4bc8a7994969b99b3f086689fadf']
So I managed to perform a rebase and pushed the changes to Gitlab but now I am getting errors and would like to cancel the whole rebase and go back to where I started. I am working on a "feature-branch" and I did the rebase to "develop" branch. What I did was: Git checkout feature-branch Git rebase develop Git push -f...
39bb554cd68e999c18b2d0cce59fd1422277dcf29337bd0311b04310d4f8f8c4
['a96a4bc8a7994969b99b3f086689fadf']
I have a vector of maps. Each map has three keys :x, :y and :z. I want that the value of :z would be the sum of the values of keys :x and :y. How should I do this? i.e. [{x: 5 :y 10 :z (+ :x :y)} {...} {...}] In the above example, the first map's :z value should then be (+ 5 10) = 15. Thanks for helping!
7a2cfd491b15372771f4d301bcdefdc51a826d7f8543ca432a72cd46dd2eda6f
['a986217687944a43a6b5b33dac4fbabf']
For Helm chart, since builds run on LOW cpu and memory by default, you can configure the default LOW values under the queue section in the values.yaml file. To use less CPU and MEMORY in your Screwdriver pipeline, you'll need to use screwdriver.cd/cpu and screwdriver.cd/ram annotations in your screwdriver.yaml file. F...
25b609b19f576c3a51b2e8d5353ae529b0a075fc5bc73065b8938591457840ed
['a986217687944a43a6b5b33dac4fbabf']
If you are using SD-in-a-box to spin up your own instance, there should be text telling you what to put for Homepage URL and Authorization callback URL, like in this example: https://docs.screwdriver.cd/cluster-management/running-locally. But basically, Homepage URL should be your local UI URL (for example, http://loca...
0302a5e7458ae95e5cfd101e8222951d723ffdf572872b0773157c4ad422347b
['a987ec277fca4ee5a99d99f22cc2ef4a']
I create mathematics workbooks in Microsoft Word. Typing in each equation is slow but faster than LaTex. So, I often copy content from a website like LibreTexts. If I copy a section that contains equations it comes out garbled. So, I go to each equation, right click, hover over Show Math As, select MathML code, select ...
5881fa664e62bc08ce53e1080df95b149081ba5f219ba9ae7e1685d5492d3422
['a987ec277fca4ee5a99d99f22cc2ef4a']
You can directly construct MyPojo by giving it the map. Something like MyPojo pojo = new MyPojo(map); And declaring an according constructor : public MyPojo(Map<String, Object> map){ this.number=map.get("number"); this.string=map.get("string"); this.pojo2=new MyPojo(); // I don't know if this is possible this...
b79b295a8917e12786998c9417a580002dcaf3a31868d33c8362ce99d964b9fb
['a9a2bd9d85574800bb018a87a9e4c922']
I have this process, the user selects 2 dates. The system will then check if there are weekends. Weekends are: Friday Saturday Sunday Every time there are weekends, there would be additional charge + $10 PER DAY OF THE WEEKEND. I have this code below, what I want is the process to add the surcharge. http://jsfiddle....
1097ef2dc7b84d27c335a228b5195ea92e5cb6432af36f7c01e31ff7cd9a0df5
['a9a2bd9d85574800bb018a87a9e4c922']
I have created my own table on my wordpress database and created the filter search form. Now, my problem is that, I dont know how to connect my database to my search filter form in wordpress. Here is the process, I send the keyword from index.php to result.php, and it shows nothing, just a blank page. Here's my code: <...
a3cbb0860449ec20b8746849e9230cebc1dab8d8d17394450b94682f6592b650
['a9a2d24555de4aeeb1cd04aa8ff337c7']
I registered a developer account and added a game. Then I added the client id and secret to the app with [Everyplay setClientId:xxx clientSecret:xxx redirectURI:xxx]; and tried to upload a video. But it showed the example app instead of the name and icon of my game. Did I miss some steps? Or is this normal behaviour ...
f2062071b56467aed8ad7db4c3b98b354e9dffda1356eefb614eb56da0f75e70
['a9a2d24555de4aeeb1cd04aa8ff337c7']
I'm writing a program for IOS and want to get uid and name of the current user. I tried me(), but it does not return any value: SELECT uid, name FROM user WHERE uid = me() However it works when the uid is known, for example: SELECT uid, name FROM user WHERE uid = 4 Does me() require permission?
a43e8bbf10c39e07ce69f117f8398e4fd74db4aded2dc285800f604c62a68425
['a9a4019b13044a11aeb8436d8e4ef683']
I have two monitors. One is horizontal and one is vertical. I like to split my vertical monitor into up and down, so that I can have two windows on it, one on the upper part and one on the lower part. How can I do this? I know one can use (super + arrows) to send a window right or left.
758c7bf55fa41af15ccaa53daaf88c43ce18f7fabf5c0d531dda9a5c92cc9dcc
['a9a4019b13044a11aeb8436d8e4ef683']
Trying to put the system into hibernate (deep sleep where RAM is written to disk), generated the following error $ sudo systemctl hibernate Failed to hibernate system via logind: Sleep verb not supported The following steps resolve the issue (Tested on Thinkpad X1 Carbon 7th Gen, Ubuntu 19.10). Most of them are borrow...
9d213c14509b1f54f9f1f26fd542dd4d5c86ffa2ceb4ec17f79a08e60762550c
['a9d72b54531e4e8f92493ec18093a3d9']
I have some custom assemblies installed in GAC but when I try to check the existence of these using MSBuild task, it shows False. But, it does show the existence of framework assemblies. Here is my task: <Target Name="CheckGAC"> <MSBuild.ExtensionPack.Framework.Gac TaskAction="CheckExists" AssemblyName=Service.Com...
e4bc3b8b8d5b7d8d6965325dbd1e37ec1e2da562a081350ac17e742af640442c
['a9d72b54531e4e8f92493ec18093a3d9']
Ok. So here is the solution I found: I used TemplateWizard to customize my folder structure. Create the projects with default project name and containing folder. Create SolutionFolder using TemplateWizard. Remove projects from Solution. Rename the containing folder. Add the project to SolutionFolder which I create...
574bebe8fe65b015bee06aee5f2bff5fb949bb9f22e26d446bfbc20dedf4561c
['a9da1143f21b49448e04922014972bb4']
I'm actually working on a software powered by GTK# 2.12, we have some memory leaks on it and I'm searching how to improve that. I made a small app to test the correct way to get rid of a widget. I'm creating 10 000 Labels and then I delete them. Here's my Label class: namespace test_gtk_objects { public class T...
17bb7e1840516c04102cfea44917768c5fa5c1590d71abeed082b583b0caa4bc
['a9da1143f21b49448e04922014972bb4']
You have to create a signal to your button like this: Button button = new Button(); button.Clicked += Button_Clicked; private void Button_Clicked(object sender, EventArgs e) { //some stuff } It will work correctly. This is the way you must use Button widget. Sometime...
c8b83c88709128118b381490ef33543542cfb6a069a109e4d1da730b8c234543
['a9dda6e7b709414389391596f75a02db']
I would like to use a single XSL to produce multiple output formats (xml and html for now) I would like to define which output format by means of a stylesheet So the code I have is as follows: <xd:doc scope="stylesheet"> <xd:desc> <xd:p><xd:b>Created on:</xd:b> July 1, 20...
5e2d9d74cbff2c74db9bd9fc054304cb8e25eb5e0f5921bbeed1d9c2471f2cd7
['a9dda6e7b709414389391596f75a02db']
Platform: Saxon 9 - XSLT 2.0 I have 3000 xml docs that need to be regularly edited, updated and saved. Part of the process involves checking-out a document from a repository before editing, and publishing it at regular intervals when editing is complete. Each document contains a series individually named sections e.g. ...
e69f3a14a760086695b2ec14e0d42556adcf91531113d71cb01751ac9b5d9563
['a9e46950d7e549deb5d416d49673969d']
Good point. I did specify the path and row too, but just to make sure I had a quick look on the [landsat viewer](http://landsatlook.usgs.gov/viewer.html) - There are only the 17 results you are after there too. Sorry but I think that this is just all there is!
c4296601314cfc172932ed4465557ba748ca05ab95fbd161712d654bae721abe
['a9e46950d7e549deb5d416d49673969d']
The company I work for have a free email-service (like Hotmail/Gmail) with about 50.000 users. The service is currently hosted by a partner, but would like to know what options we have for setting up our own servers and hosting a web-mail-interface etc. There are no platform (windows, Ubuntu etc) preferences. What ser...
075e1f0d4e69f254919e81764e3b6b1dedfe7efe9a91acca5b98ef8465dc502f
['a9eb3f2d67bb4c158843dffc3dae630e']
This works fine: Router.route('/', function () { this.render('home'); }); Router.route('/about', function () { this.render('aboutView'); }); However, this gives an error (RouteController 'HomeController' not defined): var HomeController, MainController; HomeController = RouteController.extend({ action: fu...
3646f086b516b2f338b899e10a4c58f5d209f3fcf7e7a2fc9b67ae7c30825699
['a9eb3f2d67bb4c158843dffc3dae630e']
I've just downloaded the latest Nativescript Sidekick. When I try to run it, I get the message that it is expecting: "NodeJS >=8.0.0 <=10.5.0" I'm using nvm, so I can switch node versions at will, but Sidekick appears to ignore this and pick up the latest (10.9.0 in my case). How does Sidekick detect the nodejs version...
fe374c54ebe85637ff8d034f6f1f160e3bf3eb217a7537a1d54d0fd19d7dc715
['aa008919ad764d06a4d273c020b67f1e']
Thank you for asking this question. I have learned quite a bit by reviewing it. That said, I think I understand what you are trying to ask. If I understand you correctly, you are attempting to implement and control implicit instantiation with your function template. Although the example you posted here is of operator<<...
b8c69106a0995d84968ba4cc6dc6b6f08fbd082b77381004f2644779389e877d
['aa008919ad764d06a4d273c020b67f1e']
To get straight to your point of concern, I do agree with your question: Wouldn't there be some sort of memory leak if you place curl_easy_cleanup(curl); after falling out of scope and returning 1 to the main() program? As a disclaimer, I have not looked at the curl.h and how libcurl destroys its objects after program ...
7061ebf70f91882888df8af6162aff97112d256918123a84af0fbc12d9984e08
['aa0140203d1549fd984f4bddf851c751']
I am not sure this question belongs here but I have no idea where else to ask help for this problem. I am experiencing weird behavior from my Dell Inspirion 5570, win 10 Home student license, regarding the wireless driver on a certain network. This type of behavior does not happen on my home network( which is slower t...
6dccd4e71f669f9065901ae3407e9bb29bfc80bf1126af94ac27df44ff2cbe0b
['aa0140203d1549fd984f4bddf851c751']
I tried with a USB adapter, the same one used for the Huawei laptop but it didn't changed anything. I also used the ethernet port on the laptop for wired networking but no results. It's weird because the desktop apps work, it's just the browsers that don't want to work.
3a7b187df52f52bab567cfc7c5d870a7ff4056f4d43a716a9056482ff0c3b681
['aa1fbc6478054f9fbea7bb0084037065']
In VBA what's the best way to declare a Public constant collection/dictionary of elements with multiple properties like this? Dim fruits as new dictionary fruits.add "banana", array("yellow", "long", "curved") fruits.add "watermelon", array("red", "big", "sferic") fruits.add "blueberry", array("blue", "little", "sferic...
5ddcc7753cb7c4e19ee38aa1db9464844afcdbaf2798a7e368838b837ab1be1a
['aa1fbc6478054f9fbea7bb0084037065']
Dim objList As WbemScripting.SWbemObjectSet Set objList = GetObject("winmgmts:").ExecQuery("select * from win32_process where name='iexplore.exe'") This code returns a collection of SWbemObjectEx objects relating to all the running processes "iexplore.exe" (as seen in task manager). I read on the web that I can run t...
e5fd9499ed94996b766e0841f13fe8fc9264e6e0d7789d9d831a5a1a90bc8d43
['aa2021ba683d458dae5f69cb5700d44e']
I have a Dell XPS 13 9300 with Debian 10. I was experiencing the same issue as the user Marc on this thread: the laptop would hang with a blank screen before completing shutdown/reboot, forcing me to hold the power button to turn it off. In the thread, the following solution is suggested: in the BIOS settings, under th...
c357264a9e3ab1c0b64f0e2a33678f5aff5b973484c88819ff311d9e46339dbc
['aa2021ba683d458dae5f69cb5700d44e']
I have run heif-convert successfully not long ago but now I get this error: >heif-convert bob.heic bob.jpeg heif-convert: symbol lookup error: heif-convert: undefined symbol: jpeg_write_icc_profile, version LIBJPEG_6.2 Any idea how to fix this? I'm running Debian 10 testing. Apparently I have the newest versions of th...
9e001df9632f93cc2a91c6d18826b800663e13758d41583efa5e16fd268b4dae
['aa211548de154415a28fe5279c506867']
So first things first: you are not including the dropdown with $attributes inside the for loop. Second: validation. Do you validate you user input? Take a look here (http://www.codeigniter.com/userguide3/libraries/form_validation.html#form-validation-tutorial) if you're using Codeigniter 3.0 or here https://ellislab.c...
8ede9ba701094d6a27ae8d9f5e6bc3a0174641c092bdc9ec30cf00ac2836fd4b
['aa211548de154415a28fe5279c506867']
Ended up dropping the date_histogram aggregation and using the date_range one. It's much easier to work with, even though it does not return the difference compared to yesterday's same time period. I did that in code. { "size": 0, "query": { "bool": { "filter": [ { "term": { ...
960b17759f42cd70e237bba9a2e954dfabf943adacd86f1d031060f07ab5a96f
['aa278da2b4074736956d736f864e1443']
В переменной хранится некое значение количества аудитории. Отображается в формате: "Аудитория: 81345" (например). Как сделать так чтобы после тысяч был пробел, то бишь в формате "Аудитория: 451 834". Сделал пробел после каждой третьей цифры, но способ не универсальный т.к есть цифры как 8612 где данный способ не сработ...
9c19d168c60046b8d99d6a8678d7f9a6e1aaafd62f914f1ee3f20a495ebacb22
['aa278da2b4074736956d736f864e1443']
Скрипт не работает на айфон 6 и ниже. На тех, что выше - всё идеально let payBtn = document.getElementById("pay"); payBtn.addEventListener("click", (e) => { e.preventDefault(); let data = { "_csrf-frontend": csrfInput.value, email: document.getElementById("email").value, orderID:...
6d2b73873602236a673eb312a002429122ca847605644661a76b73bd873b7566
['aa3f6cee856c4ae5ad4080c1ef3045d2']
https://github.com/mackyle/sqlite Above is the source code of SQlite It use tcl script to concat the whole program into a single file sqlite3.c What I am currently doing is I use the tcl script provided to split the huge sqlite3.c (see section 2.0 in https://www.sqlite.org/amalgamation.html#2) and write a cmake script ...
6a226a8fd0b4b33d4a4e8dc19f37473a44b159e07e79f1dae3ea2d4e2572f5c9
['aa3f6cee856c4ae5ad4080c1ef3045d2']
Usually when I am not using maven, My project have a tons of library file For example, A normal GAE will have at least 40MB of jar file Should I avoid push this file to the repository ?( and how to avoid it) If not , How can I manage this situation(somethings,I just have a really slow network)
a96a3e658e63f4a444085e26e03f687feb77be9e17f22ab0c81e624f7cc6af59
['aa45233ec3d64e37b99beff78e53e28a']
Também pensei e retirei essa linha de código, o problema é que nem entra rotina do success. Quando chega no success o valor que a função /membros.aspx/populaGridMembros deveria retornar ainda não está retornado, é como se o response ainda não estivesse ocorrido, então quando chega no success o parâmetro result da funct...
eb11f27a8b57dd3f034e4575765a43e7dd316d411f40c4888adbff6d5d511805
['aa45233ec3d64e37b99beff78e53e28a']
I have two Facebook accounts: A, and B. FB account A uses my real email address and has my real life friends. FB account B uses made up information and is in no way associated with my real life. I recently installed Instagram on mobile using the same email address as FB account B. I have never selected the "Connect to ...
9636850ce6ed6ecdb753730eb5c35cf68464dedc652592ccbf76ae7174fd9640
['aa479fcd4f8a4ef6950ef7e6029fc07e']
I want to set up Radicale for CardDav and CalDav syncing. I set up Apache and want to access Radicale with uwsgi. When I enter the user name it says 'Service Unavailable'. The error logfile shows: [proxy:error] [pid 21029:tid 140292405581568] (111)Connection refused: AH02454: uwsgi: attempt to connect to Unix domain so...
d10839dc10d6b7bbdb1b4010a2e70cec1bed105accab44f715e749c6f2c3f93c
['aa479fcd4f8a4ef6950ef7e6029fc07e']
To produce a scrollable GTK drawing area (GtkDrawingArea) a scrolled window can be taken (GtkScrolledWindow). The drawing area is a child of the scrolled window (gtk_container_add). However, to scroll the drawing area I need to specify its size every time it changes it (gtk_widget_set_size_request). And, of course, scr...
8004dc57e9f097cbcb2aba995603d6bafcca851edf2b2bdcacaaa5fd7de8c323
['aa540298329b4fcaae07f09141446f6d']
I'm trying to create a function which allows me to update a user's phone number in a Cognito User Pool. The code is in a NodeJS application, using the latest aws-sdk library. I have this function callback structure working for a number of other actions against the user pool, e.g. creating and listing users, updating MF...
88057a33064dcd3459738203d4b905a2a4cc74253c0c181b09a53b245347ffd8
['aa540298329b4fcaae07f09141446f6d']
I'm trying to use PIG to extract some XML from a field in a Hive table, rather than from an XML file (which is the assumption of most of the examples I have read). The XML comes from a table arranged as follows: ID, {XML_string} The XML string contains n. number of rows, always containing at least one from up to 10 at...
347e53f9c27cc1fa7b2ac64ca192dae1cf142336dae13f22729f130bb0b6d4dd
['aa6727b73a224fafb0aa287c9bf3bc7d']
Hello i am trying to create a kickass function to show alerts and run it's function. Buuut unfortunately Xcode and i am getting confused in here: buttonAction:Array<(Any) -> Any)> Expected '>' to complete generic argument list func callAlert(_ view: UIViewController, title:String, message:String, buttonName:Array<Stri...
8212371717ac93e59f5b4d4d9c2085e89b9a7c662042073b1fd1c5f60e34d5cc
['aa6727b73a224fafb0aa287c9bf3bc7d']
Well i changed the whole func and fixed it. func URLSession(session: NSURLSession, downloadTask: NSURLSessionDownloadTask, didFinishDownloadingToURL location: NSURL) { statusLabel.text = "Download finished" print(downloadTask.response!.suggestedFilename!) let documentsUrl = NSFileManager.defaultManager()...
56184298ab889984f580120435189c779a53fab83916d4a1ba32184d1f9d11ee
['aa7a060e1f574dc6bc074ab0423ad04c']
i'm setting up a project, and using ui-router. requirement is to have url which keep on appending eg: #/home/contacts. In order to achieve that, i have to use the nested states. eg: home and home.contacts, where home state will have in template which will get populate. But i want to have a single ui-view at root level...
c40ebb220989b7a81053b926c6fa3114adba4dcaa5be09588ee786d50ca3cc53
['aa7a060e1f574dc6bc074ab0423ad04c']
i have recently started a project and using webpack as build tool. angular.module('app') .controller('appController', require('./src/appController')); and my appcontroller.js looks like 'use strict'; var appController = function($scope){ $scope.name = 'hello'; }; appController.$inject(['$scope']); module.exports =...
9b61ea70b1970a1d39f1adc67b07a2a63ad7be7e08551177f5f4e1fa03fb22ab
['aa86e6b0eca1415eaaaa986e852363f4']
I always convert the raw data to top-of-atmosphere reflectance first, and then derive the index. I do this to address issues of variations of earth-sun geometry during the year, and also atmospheric path length. If this is done, then the index should range from -1 to +1, which would assume a theoretically perfect respo...
00da645fcbb53028d863ba644c2deb045c8412d75e1ff37aa3855cf4f38c06f7
['aa86e6b0eca1415eaaaa986e852363f4']
We tried using Microsoft JDBC Driver 2.0 with SQL Server 2005. The problem we were running into was - when calling a stored procedure, the driver was generating the following sql statements - declare @P1 int set @P1=1 exec sp_prepexec @P1 output, N'@P0 int', N'EXEC getEmployeeManagers @P0', 50 select @P1 So stored pr...
fd0cd6d796041908941197e17ac1dc02a5496beddf15de8bb08e59ab90861f4b
['aa881db25af14928a63781d90b15cb51']
I'm writing some small Delphi script for Altium Designer that create an HTML report based on the PCB file. Which API command should I use to open the HTML file created before from that script? For now, I can only display the TEXT file by using: "Document := Client.OpenDocument('Text', FileName);" Below, I attached my ...
c08f9af362ad229beeab520a08aea9532e03102279d8ffcd4b12fca32dcf450f
['aa881db25af14928a63781d90b15cb51']
These are 100 altogether and they are the same patients before and after antibiotics- just different time intervals for each: eg patient A was not on antibiotics for 2 years and then took them for 5 years while patient B was not on antibiotics for 7 years and then took them for 1 year.
905480d8bfda1c10d62f8a4dc4917b06567f2d83ec901e20e182c650402b5c83
['aa8f66598c5d4719adf641ce79236503']
try kompozer it is a good tool for web designing it is easy to use. it is available on ubuntu software center search for it and install it. it is free and open source. another option is if you want to create only web pages: libre office writer it is very powerful and you can export your page to html pdf and other forma...
979cbd4738d01515208e9f38a8d549436b3bb7927be3f5d0918ee6bdf60c54c8
['aa8f66598c5d4719adf641ce79236503']
I don't know if initial memory footprint or a footprint of a Hello World application is important. A difference might be due to the number and sizes of the libraries that are loaded by the JVM / CLR. There can also be an amount of memory that is preallocated for garbage collection pools. Every application that I know ...
2a157b7658878d5c8f26b81a2df15744a4d0f288afa6dcedeb1d6d72c8aa9e02
['aa96a4316d604db683ffda7947ec3d34']
This looks to me a like a classic situation where getting a large sheet of squared paper plus fine-point pen or pencil, and plotting out the vectors will help. Start with the one you have, then draw in some others parallel to that vector at various locations, making them 27 times longer (having chosen fine-squared pap...
8f11d2852d019b607d995c1a78d70317721ea00f5e646190963547a5ef3d2066
['aa96a4316d604db683ffda7947ec3d34']
3n+1 obviously cannot take us onto an even number divisible by 3, so what the 3(16), 6(15), 9(14) etc part of the list suggests to me is that these numbers can only feature in sequences at the beginning section of the sequence (eg 12 halves to 6 halves to 3 then goes by 3n+1 to 10 then halving to 5 etc....). My guess ...
280d8428ecf1fc5913ebd575e052fe4fd53fdf8dd1e2ff46b72a4b52e44310ac
['aad72db721554980947050becb67313a']
After a ton of research and a lot of help from this thread: https://github.com/webpack/webpack/issues/215 I have discovered that there is no reliable way to do this, at least not what I had in mind. The solution I used in the end was in my entry file to use the following code: import $ from 'jquery'; $('body').addClas...
f2ac68dbd513e6c9399383eb546263e4c106d1685a7559bf321b6bc8075e2c02
['aad72db721554980947050becb67313a']
I am looking for a templating system (1 or 2 way binding, don't care) that is dom node based like angular and knockout. In other words they don't parse a string, but rather manipulate dom nodes and their contents when doing updates based on bound data. In addition to this I need to be able to parse these templates ser...
c11e324dc61cbd1de0ecf35c0700a81d749af491b248a06a894a4b030a98a25d
['aad9522fc73543d19631dfa23209c0b1']
Так правильно будет? if (file_exists("traffic.txt")) { $fp = fopen("traffic.txt", "w"); if (flock($fp, LOCK_EX)) { $get_traffic = fread($fp); $new_traffic = $get_traffic + 1; fwrite($fp, $new_traffic); fflush($fp); flock($fp, LOCK_UN); } else { header("location: /...
2add105e9eba495982dbcd65b67cbeb988b2a2934ad8192d0f3fdaab3d886cd8
['aad9522fc73543d19631dfa23209c0b1']
Доброго времени суток! Скажу сразу, я новичок и проблема несложная, но я хочу найти короткое, простое, надёжное решение. Знаю, похожих тем много, но прошу на пальцах объяснить мне конкретный пример. Вот у меня скрипт go.php на который шлю траффик, он должен сделать кое-какие проверки и если нужно, то открыть файл или с...
67c6915bd8fa71ee482478b28f98f387aacc81593fd2fee65c3e04264135db28
['aada0403073d4bf8bf04164c47182a35']
Thanks, I have formatted the output, so it's easier to read now. I'm not quite understand your answer. if I'm using"du -hsc dir_name" I should get the total size of it including it's sub files and directories is this what should I expect or I missing something?
3e04261e47d5c378829d0cecee6b47ea1e1e7957e6138b3293ab6cd5a313500c
['aada0403073d4bf8bf04164c47182a35']
I have Ubuntu 17.10 and see a question mark in place of wireless symbol in the top main bar. I can't connect to the Internet, however, I can connect to my router. Internet connection on my Windows notebook works fine. I've tried: sudo service network-manager restart sudo rfkill unblock all nslookup www.google.com re...
a4add4fe0e4bce8c36551c8bfb4a08f3a5cd62b1ebc44b415901b176646bc274
['aaf25bbef69d481ba1c1dd680eadbe22']
I have a website, which is created on asp.net and its URL is www.mydomain.com. I have another website which is created in PHP and hosted as www.new.mydomain.com. I have a menu(LOGIN) in my PHP website which will redirect to www.mydomain.com/login.aspx. When I change the document root, the website works fine, but ...
f61c8db3192906c68914346ba2aa18a5ff2b96e6228a214a7b4dc6ba9f31e5fe
['aaf25bbef69d481ba1c1dd680eadbe22']
I have a table in which users can store the data, the following is the code public function upload($name,$id) { $this->db->set('document',$name); $this->db->where('id',$id); $this->db->update('employee_details'); return true; } it works fine, but after this update, when I try to add additional data...
b4f6a35f1355ef36159b7896642ac648b13aeac9be1a7a667275d0104c1af281
['aafcc023b48141958efe7d2385000eb5']
For some reason I am having a lot of trouble parsing date strings using Time<IP_ADDRESS>Piece. So this works: my $t = Time<IP_ADDRESS>Piece->strptime( 'Sunday, November 4, 2012 10:25:15 PM -0000' , "%A, %B %d, %Y %I:%M:%S %p %z" ); print $t; But this does not: my $temp_time = Time<IP_ADDRESS>Piece->strptime('7/23...
d6fa8bfcf46f1b4897779c4ff3f31f529ff4379bed15bb858f453ed361683b3f
['aafcc023b48141958efe7d2385000eb5']
I am currently trying to parse data from a CSV file, which in the first column has time stamps that look like this: 07/26/2014 00:23:09 I read the documentation for Time<IP_ADDRESS>Piece which I already use to parse other types of timestamps, and it seems that the format string for this time style should be "%D %T". Ho...
32bf880fadabf1605f99b5c2acb3c37398d067964b5041627000db9d465cf1d2
['ab04fed13fb5436c9aff3867ced521d7']
<PERSON> - I didnt see the test, this is just part of my materials for the upcoming test so I am trying to learn how to change , to . I think that in my school it will be the same language preset as in my computer. Anyway is there is no posibility to change it through custom formatting, is there any other way how to ch...
c792c50aa4185286dba9d0b796a7097ae85c0187560fd5cfdb94b8802ff892c1
['ab04fed13fb5436c9aff3867ced521d7']
<PERSON> is of course correct that the VS shell can be installed for free and then you just install the free F#. And he's correct again that to get both C# Express and VB Express on one machine is two separate installs. So for the stack-overflow types, really there is no need for F# Express. But consider a high-school,...