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
3d08a99be2ed4203617676e3f3b145aed7a41308849dd7b030ede01b3eeb31c6
['6158eadeb24c4e4db043949df76ca1c5']
I'm looking to appends a character to a textarea in. I have a simple GUI designed to look like like a mobile phone and I want to be able to click on one of the buttons and update the textarea with that character. If I click another button, I want to be able to append that character to the first. How do I do this? Obvio...
b07b9a124ffdb4aec5628a924458d044313210ffc9b30766e94949fd924dece4
['6158eadeb24c4e4db043949df76ca1c5']
I'm wondering if someone has a script to zip all the files in a folder and it's sub-folders while maintaining the original filenames? So basically for every file within the folder, I would want a corresponding zip file created. I've never used VBScript before so I'm not sure how this can be done and would take a me qui...
568906344d3e652af4cb8341a8bef6169e6035620772cce312eae27a79cdd7ab
['615bc81b07d44d2aa699cba8e1b6fcdb']
The problem is, The columns that are required for group by need to be in the end. Below the modified query, It should work now. select case when status in ( 'fail','detained') then 'FAILED' when status in ( 'absent') then 'absent' when status in ( 'pass') then 'PASSED' else null end as Final_Status,course,dept from ...
e28608b8daf4fc6aaa14efc734ca28496b6529b84adba5a3dff6c7596972c541
['615bc81b07d44d2aa699cba8e1b6fcdb']
This seems to be because you don't have HDFS. If you have HDFS when a worker node takes the task, the files are available to them. because you dont have HDFS, when the task is passed over to Worker nodes, they dont see the location where they are supposed to read the data from. I would say you should use HDFS or have N...
2a3bcf63c7d37205a812688e4a710d525fd3359f0e1fe38e06150f0044042692
['618b0e3c92024327aa79b77e5362dd57']
I just got into PIC-programming on Microchips MPLAB X IDE. My programm requires two timers. TMR4 has an interrupt interval of 500ms and TMR2 interrupts every second. When starting the program, the two timers are synced up, so within a small margin of error, when the TMR4 interrupts for the second time, TMR2 also execut...
70ea84cfa6bfe32df2e218cf68e39a1ff533909094a08e773fc50978946fc59b
['618b0e3c92024327aa79b77e5362dd57']
While converting PNG-Files into numpy arrays I noticed that the conversion sometimes resulted in different array shapes. While the first image has a three dimensional array shape (as most images do) the second one has two dimensions. The images are both screenshots and have not been altered. Unfortunately the array sha...
7d717e8927a63721632191b7a3d62dc0d8ad2edaca9b438272a1beef21afce49
['61aa74c6fb0748e2b7b80061f2fa759f']
i'm trying ormlite. i'm finding that when i insert an object with a DateTime property, it is getting -8:00 (my timezone is +8) applied by ormlite. It should be inserted with literally what the time is. in my case it is already UTC. however reading the values out of ormlite, the +8 is not getting re-applied. is thi...
210d71e65424d5343716fa8c6be9f6825556fef150aa4ec79fa402a2ed1d2c13
['61aa74c6fb0748e2b7b80061f2fa759f']
i was diagnosing an issue where i had json or jsv objects being received in web form or query variables and was getting an Index was outside the bounds of the array exception being thrown by servicestack. This is a rest client in another product sending this to my servicestack rest services. I narrowed it down to de-s...
dc834b63deffff39aefebdaa77c7ac7c309609d5f1fed40d5aeebd5cb18d64ad
['61bd2a7d038642768325c6a9dc78ab92']
hello, i have updated the image above to make it clear,actually in this above image ---> Things Done 1. the inputPath_image.jpg is the background image that i have set as shown in above output. 2.showwaves is done with this above query showwaves=s=1280x175:colors=Yellow:mode=line:draw=full , Things i want to add in ...
5e31e9b9ff8ef0768486fe7ff03a4a00cedb09cdd9b8ee462333d3cad9b7362b
['61bd2a7d038642768325c6a9dc78ab92']
firstly the difference is that in earlier question its about the logo(watermark) to be placed with the 'showwaves' function and a background image as labled as 'inputPath_image.jpg' and mp3 file as seen there are three inputs and the fourth is watermark. And in this question is its totally different ,it only has one i...
8ebe0d7d767c0d86b9e5d51f46764c79c4944ef57444acf92bcc829929cd7aea
['61c415959fc949948db0ef5a5e9881b2']
<PERSON>, I'm developing the application using .net 2008 and Oracle 10g as database. I have deployed the application in IIS, now when two users get logged into the same applicaion, same page at a time getting error as "*Connection must be open for this operation.Cannot access a disposed object.object name: 'Oracle.Dat...
508b1bcf1970234c0f8e15ac01e2ddab45663ae697b4182783c2b7e0ed497f34
['61c415959fc949948db0ef5a5e9881b2']
The problem described is occurring because word automatically updates the caption field codes before printing/saving. When this happens, the numbers that are assigned to each caption are sequentially assigned; ie: 1, 2, 3, 4... etc. This happens even if you manually assign them to 1, 2a, 2b, 3... In this case, when you...
c091f52ce47b12018e583613961640fb2910f2ee4a2ac83246c028deb6288449
['61cc21b1aeed45eb9e80725ab7b46a65']
I have a list points and their values that cover an area like so: #x, y, value list = [ (1.123, 1.232, 15), (1.121, 2.323, 12), (1.124, 3.451, 17), (1.120, 4.593, 06), (1.121, 5.638, 09), (2.123, 1.232, 19), (2.121, 2.323, 72), (2.124, 3.451, 13), (2.120, 4.593, 99), (2.121, 5.638, 04), and so on...] I want to write ...
e62a72425281fef72f58635c2f047d25fa3ccbeebda5849d815c46da6e6b9f65
['61cc21b1aeed45eb9e80725ab7b46a65']
I have many data-servers I need to download data from via http as soon as it is available. For each server I start a bash "while true"-loop and within that a wget to poll the server for new data. To start all the bashs I created a tmux config starting a window for every loop such loop and wget. This adds the benefit of...
c5043a163f5a57c660a5d82d3d3d9f0f47d0039c0cba59f32ac28ea4f4282f0b
['61cfa6db8d4146498d38f57a89c9ac54']
I'm trying to fix my Silverstone SST-ST60F-P 600w power supply which has a burnt resistor. It just so happens I have another psu of the same model so I opened it up to look for the value of the burnt resistor since I can't read the values anymore. The problem is it's not like the usual resistor which is color coded. It...
6001c3521b481c6e2e2011a809e229e14d227e194ae43065130eec08c2910ee3
['61cfa6db8d4146498d38f57a89c9ac54']
The PKI has nothing to do with it. The question was about the cipher string length and algorithm. These are associated. As to whether dynamic or static content... there is no difference as all content on the wire from host to client is encrypted via SSL. Some algorithms are faster than others but not relative to the co...
a0abbac764cda68738d728e9f7d492fc8f9f4470f07904f504333c2766af84c7
['61df634d09dd4fb5aede974e7f60131d']
Ok, maybe stackoverflow can help? :) I'm trying, without any luck, to create a page transition effect with an svg image. When the user clicks on a link in Page 1, a diamond shaped svg fades in like a portal into Page 2. The basic idea is to recreate the space travel in the intro of the Alphaville - Forever Young video:...
ed197e1ff2e6ac95a31d56fce59dbec02edba7ed71601b3a0dce04ba80f780cd
['61df634d09dd4fb5aede974e7f60131d']
What's the best way (SQL-code or program) to merge multiple databases into one MasterDB with different but similar tables/views and columns? Just tables and views, not data. Also set relations if there's any. Example: DB1 + DB2 + DB3 = MasterDB User User User User...
36d6f0eeca8bd0d998124d81943fd3b393724eecedd213205193de0ff9da5626
['61f51c571a1d4c9e803deb688cfc3770']
There is a Product class. A list of objects of product class is formed and that list is encapsulated within an object of Order class. both the classes are given below. Product.java package com.example.gandhjee.pantry_order; import java.io.Serializable; public class Product implements Serializable{ private int id;...
714da9532c8d646523deb7c82294ef82756f7c8aaa5b39ee4f30169b6807afe2
['61f51c571a1d4c9e803deb688cfc3770']
This is the code of my project where in I have a listview of objects 'mProductList'. I have set an onclickListener on each item of list view which will open a menu with three options. Now on edit i want to change the variable amount in my selected item and display it on the screen. I am new at this so please dont downv...
5656149fbd0a68b1dae35a3bbc8edec4ec0f36f49b2281214b1012c205420767
['620ad643adf64a039342fa17fe7540e8']
There is problem in your code: "<PERSON>" is a text node with parent element node "from". So you should change value of the text node. ... for (int i =0; i<list.getLength();i++) { Node node = list.item(i); //get the salary element, and update the value if("from".equals(node.getNodeName...
15cebf8c172a3ac1e74bcb4e342eec76b59f4016a0c3f36653fa854f60270854
['620ad643adf64a039342fa17fe7540e8']
I've not yet see a way, after searching here and other sites, to be able to duplicate a Ubuntu 16.04 LivCD, onto the partition(s) of my choice, without wiping the whole ext drive clean in the process. In other words: I have a large drive with data on it but I just want to create a bootable/LiveCD area without formating...
7ef0f21746062b126b9ab37cf59927779f1caab05efaebfd1e58cb38d69396d0
['620cb562dcf1433eb846ec4e003f06e1']
I have a angular based app, which contains the 4 folders: - CSS (contains CSS files) - JS (contains controller folder and the app.js) - Views (contains the html files) I cannot run the app.js in a node server, the error I keep on getting is angular.module('testApp', []) ^ ReferenceError: angular is not defined And wh...
46078400fd2476d8ea36d5d8c5cd934bfe246abb1e58cabe3f7a9db60cc12eca
['620cb562dcf1433eb846ec4e003f06e1']
I've been trying to convert this C function into assembly. The issue is I don't know if I am doing this right. This is my first time, and I wanted to know from you guys how I am doing + some advice. Thank you! C code: unsigned int max(unsigned int a, unsigned int b){ //computes the max of a and b return a > b ?...
7dbd1dea147203f2d8cff990d19a3270f6b96f0244aebd6aff5215b7ccf8bf76
['6215c759991649ce952ffb7af6d0fea2']
I need some help for a little jquery selector... I need to call a function on keypress action, but I need to call this function only when the user isn't in a <form>. I try with $('body').not('form').keypress(getKey) but it doesn't work I tried with some combinaison of .not() selector but I didn't do nothing well... So ...
8e843d471120a809e9569618a37232c4175e4b03d66b22db9fecb8aa9fc0f59c
['6215c759991649ce952ffb7af6d0fea2']
In WooCommerce, on view-order page is there a way to get post id of product (or an other column) ? I tried to display data of $_product and $item_meta but it's displaying the id of the product created in the admin of WordPress, not the id of the current product in the order.
dc8f9de94bc62d145a9c5e97d20b28f712d916aae7b01867dbf2f949918b547c
['6216696d174d411ba0e0cb951119c479']
I am getting this error, I tried all forums on this site and still doesnt understand. Warning: mysql_real_escape_string() expects parameter 2 to be resource, null given in /home/canwechi/public_html/submit.php on line 25 0 Below is my code: <?php define('INCLUDE_CHECK',1); require "functions.php"; include "includes/va...
fa419b1d526010f45f1179d002ad1b1c7c346d45cb4d5705e5395dfbaab8b420
['6216696d174d411ba0e0cb951119c479']
Unable to create a response with this api.I am unable to call the function locu_search('new york'). I get the following error shown below. I am using Komodo as my IDE, this started when I created a new python shell. import urllib2 import json local_api = '0d5897aae41eeafbd62ad0815af15cc42b2ed7c0' def locu_search(quer...
6aa55cb91af4a53523db38aa1e2df18942bf93fe42450712e543283c8015137e
['62236273a1c642d2aaf1b0b275c3b816']
A simple way to do what I think you want would be to create a third column that had formulas like this one: =IF(A1="Y",B1*0.7,B1*0.3). Then, you could use the SUM function to add up all of the results. See the cells with formulas below. Key Value Weighted Value Y 1 =IF(A2="Y",B2*0.7,B2*0.3) N 2 =IF(A...
77bf7d2461c0478a44f0ccf4f8f0c8b9d00c28f39d722e63fdc0a911cb6a2da9
['62236273a1c642d2aaf1b0b275c3b816']
Is there a way to select data in quotes in a query? For example, I have a field that contains a value of SYS_Data("THE DATA I WANT") Is there a way to search this in SQL (specifically Oracle)? I really just need to be able to see if the value in quotes matches (exactly) another field in another table.
d3eed1d8160423778122584912115c4cc49b89c3a240343688ef09c0125d141c
['62372f92dbae411e957a604d72507681']
I managed to solve this (somehow)! I changed the controllers code to say app.controller instead of using angular.module to define the application. For some reason where this did not work before, now works and I am now working on integrating this into my actual project successfully. app.controller('MainController', ['$s...
4ce85cda67cebc864d941a272db74ee12eb145abd5ac8bf6ed98278761720949
['62372f92dbae411e957a604d72507681']
basically I need a loop within a loop to compare two different arrays in my actionscript3 lottery game. I have attempted the loop but I cannot seem to get it to work ... check_win.addEventListener(MouseEvent.CLICK, f_check_win); function f_check_win(event:Event):void{ for(index = 0; index < matches[index]; index++ ){ ...
e1a41d59de85cf73a580102cfb48b2e8d19192a9707293807b579cdb6788eb59
['623a945a4dbf4a9297e0eb518bf3d49a']
I have a parent which I read its position using jQuery, and assign its left to the child. It works when initially loaded but breaks at resize and I'm having difficulties at debugging it. More specifically it's a flexMenu. Whenever the menu is smaller than the width of its parent a "More" button appears and holds the li...
cc35e9bedabf9f506723973b29110ddd30756edd29bb6fd8942173162f5ed36e
['623a945a4dbf4a9297e0eb518bf3d49a']
I have a form inside the footer, I'm running the php file at the localhost <IP_ADDRESS>/form.php, apparently if one uses php code inside HTML it will just be commented out. From what I understood at the PHP Documentation I need to run the php file directly. The code is based on the W3Schools PHP Form Required tutorial:...
4363b664a78e3bad50d25d1f8fdcdbf01bef0f33f20fff28da5d1eafee2d5bec
['624ce4e395c348a7ad90593c898c93cc']
Well you can achieve it 2-3 ways, so in Kotlin we have have the delegates which lets you initialize the variable on its first access i.e. the variable gets initialized whenever it is first used, so you can do val dbHelper by lazy { mmrbd(context) } Or you can do that in a Java way you can say: var dbHelper: mmrbd? = n...
1bdc39f24c0a13f963f6426e7bdc0b974aeb0462d024f4ef1dccb0a7c17c4af4
['624ce4e395c348a7ad90593c898c93cc']
So, there is some catch if you want Data Binding to work when you are using include in your layouts, So do these things: Step 1: Change your xml file in which you are using include tag to something like this. Look closely how i am playing with the variable names in this Data Binding. <data> <import type="com.examp...
d63ed3f804065df69e3045eca171e0ccc3e2001e5cf5c3d0ec8383a1f855540f
['6255e12ad94a4685a2e97518fbbae817']
One solution is to use a dependency-injection framework like Spring. The application configuration would specify the singleton instances, but your test cases could still create as-needed instances and inject them manually. For more information: http://static.springsource.org/spring/docs/2.5.x/reference/testing.html An ...
b22be27b77af0c4584a8395846dac1baac36d752b28e3434c870525422af5be9
['6255e12ad94a4685a2e97518fbbae817']
Performance isn't really a consideration, assuming that you're not talking about gigabytes of XML. Yes, it will take longer (XML is more verbose), but it's not going to be something that the user will notice. The real issue, in my opinion, is support for XML within JavaScript. E4X is nice, but it isn't supported by Mic...
3ef991a60f0872d8f0b0c2c66487ae4c0280b0ffdcc315d3f2f2e74f96dab16a
['625826a8e39f49a58e251765e9691cf5']
Thanks and indeed it is only the last digit. [Google(Chinese)](https://www.google.com.tw/search?q=%E9%81%87%E6%9C%89%E5%B0%BE%E6%95%B8%E7%82%BA%E5%9B%9B%EF%BC%8C+%E6%88%B6%E6%94%BF%E4%BA%8B%E5%8B%99%E6%89%80%E5%BE%97%E6%8A%BD%E7%A9%BA%E4%B8%8D%E7%B7%A8)
a1970d7817407ee005262abdef9f071af0c104a9f085a78fcfec2ae6045145cf
['625826a8e39f49a58e251765e9691cf5']
У меня сервер VPX Ubuntu 16.04, на котором я установил mailutils (до этого установил exim4 - не знаю нужно ли было). Работает - mail -aFrom:<EMAIL_ADDRESS> -s "subject1" "<EMAIL_ADDRESS>" - приходит локально, работает на внешние почтовые ящики, работает отправка из php. Что нужно прописать в настройках DNS MX - "почто...
2e2ffdb750dfbda4418e7f8b642dafe0d1b5d40bd76c5b783107933d9c0b1f60
['626f8bff1609400692f36d003f8f7e71']
I have XML <test-suite type="TestFixture" name="RegionalityFeature" description="Regionality" executed="True" result="Failure" success="False" time="64.162" asserts="3"> <properties> <property name="Description" value="Regionality" /> </properties> <failure> <message><![CDATA[One or more...
34f041443e968574f04777f27851ac632bb7d7833ae896fee94076617a12c6f7
['626f8bff1609400692f36d003f8f7e71']
Here's solution input { file { path => "C:\AutoTest3\report\test.xml" start_position => "beginning" sincedb_path => "NUL" codec => multiline { pattern => "<test-suite type=" negate => true what => "previous" auto_flush_interval => 1 } } } filter { xml { source => "message" ta...
4984794409ccdb8604c7994f28f34b4a6e17d5f4092ddf52121032141a57afba
['6275946620ac43609a9f8fb408c0e06c']
I have a dataframe that contains the following, Reading Date 2020-05-09 14:54:00 13661 2020-05-09 14:55:00 13672 2020-05-09 14:56:00 14251 2020-05-09 14:59:00 15255 I have figured out how to extract the last element: lastelement=(series["Reading"].iloc[-1]) which...
702684b4ae01f4528fce1cec68c500f86815d4af5e704b7e4d8f5068f1bd5f87
['6275946620ac43609a9f8fb408c0e06c']
Given the following Dataframe, SecondsInDay Min Max 0 0 1 2 1 300 3 4 2 600 5 6 3 0 7 8 4 300 1 0 5 300 2 12 6 300 4 56 I want to extract overall minimum and maximum value for every row where SecondsIn...
d24f742e7ac62cb199c5c8af14e424bda90b433f16ebf56e145cc224c0a7c526
['6295ddac9d36462ea94a59827b828b33']
I had a background process running, of which the command starts with "nohup nice". As it takes usually 20 hours, so I had it running during the night. However, I got a message says "write failed: broken pipe" this morning, probably because the server closes connections that are idle for too long. When I logged into the...
d3e4e9c69623e9be70a867d9ca51c75663d5f95aa875361509d14faefd0b35f1
['6295ddac9d36462ea94a59827b828b33']
I have a a file containing about 20 million sentences, how can I extract 2 million sentences out from it? I thought about using the split command like this "split -l 2000000 sub2016", but then it will create a series of texts, while I just need one. So how can I specify it? Thank you!
5dad8fc55d1243e6906d709d4de468e4aa9ede6ea91a6fd0f8da8f2e53d49a98
['62a313989098453dac0fef9f0cfbb685']
Very interested to know why that worked. <PERSON> said of -c, "If the -c option is present, then commands are read from the first non-option argument com‐ mand_string. If there are arguments after the command_string, the first argument is assigned ...
21c8a4e9fa47b90661f868a3e6b2af6bb8e6602cf3cd6cad531fec06750d39ba
['62a313989098453dac0fef9f0cfbb685']
I am in: GNU bash, version 4.4.12(1)-release (x86_64-pc-linux-gnu) the script is: (note.sh) #! /bin/bash edit="edit" if [[ $edit = $1 ]] then touch ~/.notes/"$2".txt $EDITOR ~/.notes/"$2".txt else tree ~/.notes fi I was hoping if I input in bash: ./note.sh I get output as if i had typed tree ~...
bd47563299dbe1ca7d8f58b46ee618229a1a6fc6c98fd87a95ff04ef8d0697bf
['62bb75fe955c492ba3fe0df79b992027']
I'm a little confused on the correct way to make my class support NSCopy mechanics and I'm hoping someone can help clear things up for me. The big question is this: If my class is mostly immutatble except for a collections property, when I'm implementing the 'copyWithZone' method through NSCopy inheritance, do I need t...
ec6c67684150ceb1ee49fbab2b67efac4b7077d23915d5b9e5feda8a0c94c936
['62bb75fe955c492ba3fe0df79b992027']
In Objective-C, is there any way to find out which objects are the ones retaining another object? For example, I have a collection of MyClass objects and if I iterate through them to get the retain count on each object, I see the count at 2. How can I find out who the holders are? for (NSString *aKey in aDictionaryOfMy...
472182dcb0300d7f40c58eada12c91a023dc0999836f948c346953ff4f857678
['62d20e4ed8f245bda93748ab1b0242b0']
Very old post, but still actual problem: Let's me point my case, with a new SDcard, out of box (64GB samsung verified), never used. Due to trying to solve problem of SDcard not recognized on a tablet dualboot Android/Windows 10, I had to plug/unplug this card (and a couple of its brothers) surely more than 100 times (...
28ddf2a5e3945ecd3ccb27bc50cb600c0f85e0b3ca39a7dcf85355570db123e3
['62d20e4ed8f245bda93748ab1b0242b0']
Nope, but I found it. The bug was caused by a slight modification on my code which was acting differently between dev and prod environment. This piece of code is related to Doctrine_Query which I override to handle master/slave connections. Some kind of dumb effect side, very difficult to debug. Thank you for help.
21239a8018d001a8af266f9b76a6b293fd2a7f7050ce5df7161d36ca276ee31e
['62d92a9f236c48fa9b0fcebfe1b3ab92']
If I have a docker session already running, is there any way to increase the shared memory? I know that we can do docker run -it --shm-size=13g dockertag /bin/bash as shown in https://stackoverflow.com/a/35884597/3776827 or change the docker-compose.yml file. But if I have a docker session already running, is it s...
f3f92077c90c7b37aa03938dea708fc36af8aea6ee639b4345e2eaef5faae0ec
['62d92a9f236c48fa9b0fcebfe1b3ab92']
I am working with Community Detection in graphs. I have been through the different community detection algorithms implemented in igraph and plotting the community structures. Now after getting the communities object for different algorithms, I want to compare the algorithms based on different measures like density,cut ...
bfa4ba2cf5b21d25fc8e23928d3b47e6f883d7732d5fed31ea5a81ce3c9f584c
['630644920aaf407688e997f6d2d11d97']
Okay I was trying to install OpenStack on Fedora 20 by going through this article http://openstack.redhat.com/Quickstart and encountered an error like below: packstack --allinone ERROR : Failed to run remote script, stdout: stderr: + trap t ERR + DEVICE=($(ip -o address show to <IP_ADDRESS> | cut -f 2 -d ' ')) ++ ip ...
c1f001ed9f70559e35c69e2980823fa22f83bda3d58105f5d46cfa7e9c4ca9d1
['630644920aaf407688e997f6d2d11d97']
From my experience, you are giving false information. With the above method, arcpy runs fine whether using it outside of ArcGIS, or within. Of course, I have not tried every single arcpy function, but I have used it extensively at work, e.g. I am currently writing an application of >10000 lines which makes extensive us...
d2a7019733a67d799833aafb169c9536d2f27262ae5246d781424408408865c7
['631272fa1cfd4604a91e7d7f047e98b0']
I think something like this might work: function send_ajax_request(data){ $.ajax({ url: "yoururl", type: "GET", dataType: "json", data: { data: data, csrfmiddlewaretoken: '{{ csrf_token }}' }, success: function (json) { next_ajax(json['success']); }...
18c595bfd17da7ffa2784017531f8890c60a1183814cb016aed24c7ba3cdd824
['631272fa1cfd4604a91e7d7f047e98b0']
I want to use data that was fetched using an AjaxQuery, parse that data and send the user to another view to do other stuff. However, I'm getting a Error 200 and a snippet of my test view and I have no idea why! The main idea of what I want to do is get the user location using a js function, then I use an AjaxQuery to ...
493c3eec69c30cbc67e5ca4c47f81576081a3e5ca5a3eb884b2f1f0b4a8e68d5
['632b1936e0464738a9b4fd916f9fb353']
I have a pretty basic form that i render from a view using a model. In this form I have som text inputs like this: <div class="editor-label"> @Html.LabelFor(model => model.UserProfile.FirstName) </div> <div class="editor-field"> @Html.TextBoxFor(model => model.UserProfile.FirstName) @Html.ValidationMessa...
7581006fbaac6e234374906b5c03bfc6fc266adb82455dccc136ad4f2a05596a
['632b1936e0464738a9b4fd916f9fb353']
I have been trying to track the estimated loading progress on a WKWebView using KVO on the "estimatedProgress" property in a Xamarin ios UIViewController. I add an observer like this: public override void ViewDidLoad() { base.ViewDidLoad(); ... WkView.AddObserver("estimatedProgress", NSKeyValueObservingOpti...
f9b1cebc87e3898f196bdbd25a13cd26bab49cd728101460524805929219ce93
['632d4b8e33784e5b89f6285877cd7578']
This is my problem, I have a website with some content, and i want the header to be 100% width of the browser, and some content that's wrapped inside wrapper to make it about.. 50% of the browser width. Then we have something like this: But, we're adding a menu aswell. This is done with UL, and we cant just add the ...
ff4b4bb18f4fc081e32f69031342e4d7a0fdd59489bff7fd5176c214e1b2e8ec
['632d4b8e33784e5b89f6285877cd7578']
@andew larsen If this is my notification <font style="float:right"> <nav class="dropdownContainer"> <span class="lightpill-n dropdown-toggle"><i class="fa fa-bell dropdown-toggle"></i> 1</span> <ul class="dropdown"> <span class="text1"> ...
f6e6ec32e903a227714bba96743f9667a27295a08f4da007fcbadc87b8fe93c4
['632fd51d671e4737bc4bdd9757028796']
I've one form to upload an attachment file <form id="post-job-form" class="frontend-form" action="" method="post" enctype="multipart/form-data" role="form"> <?php $status_message = ''; if( isset( $_GET['message'] ) ){ $status_message = $_GET['message']; } // check if u...
254e9ba07b532835bca1a291a24621ebcd0e259a2cf3de7070a3ec6ee5576847
['632fd51d671e4737bc4bdd9757028796']
I'm making space separator on integer. This is my code if ( $.fn.appear && $.fn.countTo ) { $('.counter').appear(function() { $('.timer').each(count); function count(options) { var $this = $(this); options = $.extend({}, options || {}, $this.data('countToOptions').replace(/ ...
76e5519eff26cc6b1578934938365d9697764d0c4d129994a38e7feb49e8cfbb
['6336f163129a4831be1e3fc1306950e2']
I just met my girlfriend's mom for the first time and I was slightly nervous. I think the reason you feel so anxious is because you're placing so much importance and value in meeting them and having everything be perfect. It's obviously a little important but if you are telling yourself it will be absolutely perfect t...
0054b2e8f6ceba7a283d28c303a093d7f76433889bef3fc3adf056b7a1230dfc
['6336f163129a4831be1e3fc1306950e2']
Are you sure you want to do this? Why are you storing a pointer to integers passed in instead of the integer itself? You have a strong possibility of storing a pointer to a temporary; const T& obj can be created as a temporary from a type that is convertable to T. For example, if you had the following: IntSet<int> int_...
1c98434cf10a926a3d501610cbabfcf0e35c5eddf8f8401ba48cef3d5b578ddc
['6347789f760d4c60993a32a018aa9037']
I want to call my server from index view and bring model from server to view i have done but that is not working please tell how to do here this is what i did var app = angular.module('app', []); var CreateController = ['$scope','$http', function ($scope, $http) { $scope.model = {}; $scope.mydata = 'ajs works'...
0d24aa9e740ad37057909dbf65a84260d8eeca581cb6c80c8833c7c2d05eb04a
['6347789f760d4c60993a32a018aa9037']
Check whether your Bootstrap is properly added. after that add img-responsive class to img tag, it would solve your problem. html, body { margin: 0; padding: 0; } .container { max-width: 100%; margin: 0 auto; padding: 0 10px; } .jumbotron { background: url(http://i.imgur.com/U0ZfxUe.jpg) no...
1381cd3139124ad25778ecad82c71977e0f8890fddec36dd66fb9774e2323a5a
['6353da76caeb4e02a10de9f800f8cf43']
Adding a new nested column within person: df = df.withColumn( "person", struct( $"person.*", struct( lit("value_1").as("person_field_1"), lit("value_2").as("person_field_2"), ).as("nested_column_within_person") ) ) Final sch...
28ba59ba5bba91b8b80650a0b8772a47b2303d7f088a0284a15aa4e56cbad611
['6353da76caeb4e02a10de9f800f8cf43']
[New to Spark] Language - Scala As per docs, RangePartitioner sorts and divides the elements into chunks and distributes the chunks to different machines. How would it work for below example. Let's say we have a dataframe with 2 columns and one column (say 'A') has continuous values from 1 to 1000. There is another dat...
932729cdcd030a5490cd5cb712f6bf4810902f531709b9b9db80160be3825443
['63589cbc3295420da2b93f715cbfa060']
I've got an ajax/json call that is returning the correct number of records, but they are all the same record, the first record. SQL View: ALTER view [dbo].[v_EMS_BM_Organization_Detail] as select a.OrgID , a.Organization , a.inactive , b.buID , b.BusinessUnit , count(distinct c.Budget) Budgets , count(disti...
8fc5cf3a36b4db707024be8f8976c1006bda4bc87717b76ac9cae0af3eccb755
['63589cbc3295420da2b93f715cbfa060']
I have a tracking feature on my site. When users scan items, the scan is saved. Easy enough. It has been working fine for the past 6 months. I have a few users where when they scan, the scanned input is changed, but only one character in the string. Example: Barcode is W7411A-004ZT-LX Sometimes it scans correctly: W7...
a26333ee730b5e280966f628f8b2cd3a7234e14ff398c64123ae22a0bb8f7923
['636197958cb749f99cd66365f2cd0d58']
You could read the data into a dictionary like in this example shown: def empty(): return {'Target': '', 'Type': '', 'User': '', 'Comment': ''} def process(record): item = empty() for line in record: line_items = line.split(':', 1) if len(line_items) == 2: item[line_items[0]] ...
20475ce8379cc440d47ff8bddb7891eedca3b4b1cb69b1f36cbf726ff164cfff
['636197958cb749f99cd66365f2cd0d58']
You could define the scm source files and then create a custom_command for each of them. This would create a .c file for each .scm file. The created files could be added to a list (e.g. named scm_c_files) and used in the add_executable command. Finally, the libraries used can be defined with target_link_libraries. I do...
34ebb87223fca677d4543f29869e894d73ad0ddaeb85d71a5f64c82d9196075f
['63626598b056484fafbb5c6ef47f1ec5']
If you find that PIL has problems on some platforms, using a native image viewer may help. img.save("tmp.png") #Save the image to a PNG file called tmp.png. For MacOS: import os os.system("open tmp.png") #Will open in Preview. For most GNU/Linux systems with X.Org and a desktop environment: import os os.system("xdg-o...
9d2baff90aee0c53daf16c3142e22fdc6ce3c4635345ed22dd286b5aa8689961
['63626598b056484fafbb5c6ef47f1ec5']
I'm trying to solve for the x-coordinates of the critical points of the function A(b) in WxMaxima (the GUI for Maxima), but it refuses to give a numerical solution. When I take the derivative, it leaves terms like d/db(1/2 * x) inside instead of evaluating them. How do I get Maxima to solve for all x-coordinates where ...
03cc86a57c7eaee95e7a83979f4fd153dc60812723ee5f2a84bb176df25794de
['637ef89376a64665ad94b5c656b3f722']
i reached here via google, though very late to the party, but hopefully can help someone. in my case, the cause is simply because of a funny folder name in a certain parent folder, after i get rid of the special characters, they are all going fine by taking ownership normally via GUI.
eaebef4ca49f3b4fa2048df116c6f8a9a96cf7bca77a6b5fefd1a2c786352268
['637ef89376a64665ad94b5c656b3f722']
The "should" prefix is only acceptable because it's part of the framework's API. It only makes sense in react because react expects some components to have it. But in user land object oriented classes it doesn't make a lot of sense. React asks you (the creator of the class) if the component should update, but in framew...
ac4a97066c36d5e16e380cf76468ec120aa804a18c68928cf6ab4ad0079fffc3
['637f695064ef4ea9b1743ef77f407ecb']
I am getting error like this when i run the application.I am using HttpClient,HttpEntity,HttpResponse and HttpPost in my MainActivity..so i made some modifications to gradle file.After that i am getting error like this. Error:Execution failed for task ':app:transformClassesWithJarMergingForDebug'. > com.android.build.a...
b23dee4ed81ecf6b134949599af14579ca9613c5a62ba1b83c2a32733f64dd31
['637f695064ef4ea9b1743ef77f407ecb']
i am having php file like this.. <?php define('HOST','localhost'); define('USER','root'); define('PASS','123'); define('DB','123'); $mysqli = new mysqli(HOST,USER,PASS,DB); /* check connection */ if (mysqli_connect_errno()) { printf("Connect failed: %s\n...
713480d777712dd31ebc72d835337bcf8e4fb9e9915b23f9e3f657d669a66411
['6385e48737084621adeb58919150d561']
I am using a KeyboardAvoidingView to move a button up with the keyboard, within that I have a scrollview which keybordShouldPersistTaps is set to always, within the scrollview, I am using a Formik form. I still have to double click a button twice in order to get the keyboard to dismiss and submit my data. I have always...
ee56139d2bf18a33e52596678555dcfbad0cb83024be0d2be807eb555c3733e3
['6385e48737084621adeb58919150d561']
JSON code: http://headytunes.co/?json=1 I am trying to pull the author name, but only repeating the first author in the JSON list. I am also trying to pull the thumbnail image and the multiple categories that come up from this JSON, but I can't correctly pull the image or the tags. HttpEntity entity = response.get...
2220869c0c447c173645f430ff50601527d273ab58a88c45a8f6ec7054989688
['638a8e9356664c3486130fb5e7e81e02']
Let $\Delta=\{(x_1,\cdots,x_n)\in\mathbb{R}^n_{\ge 0}\,|\,a_1 x_1 + \cdots + a_n x_n \le 1\}$ (all the $a_i$'s are positive) be an $n$-simplex such that $(1,1,\cdots,1)$ is contained in the interior of $\Delta$. What is the smallest possible value of $\#(\Delta\cap\mathbb{Z}^2)$? Is it true that the number of lattices ...
546f62cfeb143ed33c6166ac357dec62cba2bc6b82f24f2a973df498f9ee09af
['638a8e9356664c3486130fb5e7e81e02']
Generally, working independently means that you would be able to implement a full project, given only high-level instructions. Consider this more like project ownership, where you would carry out the full SDLC on your own: meet with the client to develop requirements and get sign-off create the system design and get ...
943ad8cc75f8ef70cf6a745844f760ea594f5ae9bdc4f75956586d0ad564531a
['639194c8d0374f36966b7c39ebb62699']
Why does this seem odd? What zone is there between tropical and temperate? I didn't feel the need to make a separate "subtropical" forest as that's not really a thing. If you look at east Asia, you will see that it goes from temperate forest in China to tropical rainforest in southeast asia with nothing in between.
fd525649d18357ace08c90fd76febe1f8a43bb1eb97363fd4878b486b379b405
['639194c8d0374f36966b7c39ebb62699']
@javadba: Odd! I'm also running Mojave (10.14.6), and the following does work for me: 1) Right click on the file in Finder (on the desktop, in a folder) to bring up the menu. While the menu is open, hold Option, and the menu options change slightly. One of the options for me (for a file called `filename.txt`) is `Copy ...
8e4bb1ac4593fbfa9987135261e4232db06314beae7f940fe7387250ed4a1a2d
['63a02f55a80f4855879f781473292d9b']
In my python program, I have a list of keys and values that are added to a text file and I need to be able to extract this string list and turn it into a dictionary. For example: counter = 0 add = str(counter) counterDict = UserID + ": " + add + ", " counter = counter + 1 #This should make counterDict ...
f9ad71e313494d5e4e7cefa248c560cbc152b7b2f1f6f1ac2dbb99d1e9d0e809
['63a02f55a80f4855879f781473292d9b']
I'm creating code that creates new user identifications for users, and then adds all their account details to a dictionary and then adds this dictionary to another dictionary of all the accounts. My problem is that I need each of these 'accounts', per say, need to be named after the user ID's that are generated. So for...
ce9ef72042ec2b702985b487e2fee1ae59d0e4a6b3b95262dc1462eb0b0e8bb6
['63b11ad3ff0b464cb33f73d79b5288f6']
In my application, i have 2 class, one class for the portail ( RootViewController), and one class ( MainViewController ) ( in a navigation controller ) for sending request to a webservice. When i start the application, i fill some textfield, then i push to my other class with this code: MainViewController *mainViewCont...
ca3a727eb1791a921a45b41e39cc146698aa9e73206c78a8471fdbf9caa0722b
['63b11ad3ff0b464cb33f73d79b5288f6']
How to move a label? i would like to show a song title, moving from right side to left side with a duration that i can set. as you can see on a car radio. when the label if off the screen it should reappear from the right side thank you
73e75e663cd2e1d9f3acc6245c185f719b7cd59b4854bc9fbb7ad4bcd4734bc7
['63cf57027a7f42eebe6722fa7fce1b1f']
I have a class wrapper around posix mutex called LockGuarrd. it was used for a long time and now I was asked to create another class MyModuleLockGuard that wraps the original wrapper. the new class should now be used in my module Is it possible to generate a compilation error in every place that uses the Original Loc...
77c023e147c2a494941894bed6a6013bfc72206ff1aca7422a63d2530eeae700
['63cf57027a7f42eebe6722fa7fce1b1f']
I have a class (lets call it checker) and diffrent kind of classes that execute tasks (lets call them tasks). each tasks belongs to several categories each task runs and at some point asks checker if they are allowed to do something. checker answers according to system state and according to their category. a task can ...
15c60482c2ef14d5aea60422eb536d8e0e8998980212b901f36abed49711b2c7
['63d070b6cbd843898fbd8cb3ac277eba']
I am trying to make simple webapp where an element can be clicked or hold to call different function. $(document).on("click",'.element', function() { clickFunction(); }); let timeoutId = 0; $(document).on('pointerdown','.element', function() { timeoutId = setTimeout(holdFunction, 500); }).on('pointerup pointerl...
88904ae4bbf7d3a76620fd9702237795bad1553aafd8ef02f706befeaedd72b4
['63d070b6cbd843898fbd8cb3ac277eba']
Hi i am making my first steps in CUDA technology but i think i do not get it right. I am trying to multiply two dimensional array by vector but something is not working Here is the code I am trying to figure out: #include <stdio.h> #include <stdlib.h> #define N 2 __global__ void Multiply(int A[N][N], int B[N], int C[...
bef806be2cac648d2d306b4bf89a4ba3fa10604d796f23d32ff4830ec18e8620
['63d951d185a2456cb6ad7336982d7504']
Exactly. My theory was that its only making it to "the router" because the wireless card in the will-Inspiron-7520 doesn't have support for what you are trying to do. I only say this because I tried something similar a while back and ran into this limitation. If you are able to plug into the <IP_ADDRESS>\24 with an Eth...
0b14d587156091cc40534caeead4c2a5abb9d3fd07940bf1cd0ac5a07132f765
['63d951d185a2456cb6ad7336982d7504']
Thanks to <PERSON> I found this tutorial that works great https://www.howtoforge.com/how-to-set-up-software-raid1-on-a-running-system-incl-grub2-configuration-ubuntu-10.04 basically the instructions are as follows: 1.) Change the partition type --> fdisk /dev/sdd --> press t, select partition, l to list codes, look...
13caf68f9ffba5560482dd7b4391e4e29698da3000d8ae39ec79c30cb09e7ab6
['63e2a1ab896a4fa28201f9096cb2f209']
I'm working on a budgeting app. I have a component that holds values I would like to pass to an array that is stored in it's own file. I am able to get data from the array but I can't seem to figure out how to push data into the array. Is there a way to even do this or would I have to create another component and store...
2072635b15da398fa06301dbe7af87b0f8db657f603147bc99bca22a09c42578
['63e2a1ab896a4fa28201f9096cb2f209']
I am still pretty new to Assembly and currently taking an introductory class at my local community college. One of the requirements for our assignments was to use macros to print text and take in user input. I am pretty sure my printing code is right: displayString MACRO message:REQ <PERSON>, message push eax cal...
03bf0f1c389b41720461a4cd9ffad1eee5cdc76b18c0c603a08282b42fd7e063
['63e44414a17e422e9d667822bc53790a']
I have a csv file with a column where the integers are over 16 characters long. The issue with this is that it changes the integer to a short abbreviation example: 8.71688E+17, is there a way in c# you can convert it back to a long integer without having to modify the csv file itself? I currently convert the CSV file t...
8724ce3796ae401900493fc9b7c4b5c17e7d06c6cffe912a529023e5ad6bda3f
['63e44414a17e422e9d667822bc53790a']
Does anyone know how to convert OracleDateTime to System.DateTime? I was able to convert OracleNumber to double via a directcast, however does not compute with datetime? What I have tried: Dim oDateTime As OracleDateTime = (DataRow)oRow("Date") Dim vDateTime As DateTime vDateTime = Convert.ToDateTime(DirectCast(oDat...
3b77d9fe556973579b95c96871de45007be0b10618936cd0b1c5eccbc6b55e3e
['63ed6c82e0844b408c746238ea016a4f']
Discretising the PDE $$u_{t} = u_{x}$$ using FE on time ($k$), BE on space ($n$) yields $$\frac{u^{k+1}_{n+1} - u^{k}_{n+1}}{\tau} = \frac{u^{k}_{n+1} - u^{k}_{n}}{h}$$ Now rewrite so you have $u^{k+1}_{n+1}$ on the RHS, everything else on the LHS.
c244980a37406b63a19d69acd3914d66f0d8661e3cecd7f54cc544731e723fd1
['63ed6c82e0844b408c746238ea016a4f']
To do that, you would need to write your ODE as a [first order system](https://en.wikipedia.org/wiki/Ordinary_differential_equation#Reduction_to_a_first-order_system) before you applied any numerical scheme. This is usually a better approach than discretising the full ODE directly (I think, though I may be remembering ...
ad3440f946ada36e0671c5fe21c4f2bcdeb14c58b8b9202bd6d631210a1f06d3
['63fb76e87e3147b791d8ae9bb823fcf7']
Suppose I wish to read about wait syscall. Typing man wait would only give the manual entry for wait as in shell, not in syscall. However if I type man waitpid, I would get the manual entry for wait as they are inside the same page. How do I specify which manual entry is desired in a case like this?
86a445ce7623d938bf30a0124bf0eb8933dea9c55898e104bec867a4f4a098cb
['63fb76e87e3147b791d8ae9bb823fcf7']
A very good comment but on my router (bbox3 provided by the telecom operator) I can not configure much. I have only a user account and not an admin account for my router and the things I can do are very limited. So I cannot set fixed IP addresses for certain mac addresses.
501fe7d9e0f72254269d9e35d39559d476e3322d286e512fc5e3d623fa8db119
['63fb87aaa6ad4beaa7d4684cd9f6908a']
I need to stand up a test domain to try and fix accounts that have been synced into AAD. I have had zero experience with Azure AD or O365, so I'm not sure how to proceed. A previous admin setup our company's O365 account and setup AD Connect, apparently without ever reading up or testing. AD here has been a mess. I am...
b31c90e2582a96e02aca7239493bb60f05a22f73db21ea37db1f83c58490ba4a
['63fb87aaa6ad4beaa7d4684cd9f6908a']
I.e. is the function $y=b^{kx}$ an eigenfunction for the derivative operator $\frac{dy}{dx}$, where k is a constant because the derivative of such a function is ${k\ln(b)}b^{kx}$, which is a constant ($k\ln(b)$) times the original function ($b^{kx}$.) Does it even make sense to say this? If it does, are there any other...
0e09fbff96bc0596e51ebf2820fc635a5afaab74e3b81ede30d2e37044ba7f4f
['640631a594c0451cb3ffbedac945cb13']
Absolutely you can! This is the beauty of a many to many relationship, in fact the example at http://laravel.com/docs/4.2/eloquent#many-to-many has the User and Role classes both set with belongsToMany. Thought being in that case (and sounds like in yours as well) that a user can have multiple roles and each role can b...
f285324a4c4d78875f4bfdb74c95edd2f69924c6544a4726c8e9218ed5ad7723
['640631a594c0451cb3ffbedac945cb13']
All previously mentioned concerns (loading into PHP memory and the availability of mysqldump) aside, there's also an error in the script that only returns the data for the last table. The line $return=""; needs to be outside and before the foreach loop it's in. Something like: <?php backup_tables('localhost','root',''...
64d93d615e385eebf1431a9b32662ee18d03a2a820edf3992d0e83531f1e24a7
['6429216000614d5db91780b1cfe3a0d2']
Yes, Kind of. I used <PERSON>'s rule and calculated that voltages at O1 and O2 are indeed equal. But I am still not quite sure what you exactly meant by calculating them as functions of voltages at A and B. In fact I didn't need to use the voltage of node B as a variable to show that V of O1 and O2 are the same using <...
0db88762b2d16165ca7843e4f673508e758d963ab9f24cdc5d2a9e57946a4f83
['6429216000614d5db91780b1cfe3a0d2']
trato de insertar una imagen a traves de hooks de react.js cuando lo hago resulta que la imagen no aparece entonces quisiera saber en que me estoy equivocando. import React, {useState} from 'react'; import NavigationItems from "./NavigationItems/NavigationItems"; import classes from "./Header.module.css"; import Lo...
58f1307f149c5f6a4ebe11d15086de3b20278077435d1c68daf8b0dd6026f83d
['64349527998f470abb8f19b1cb8d4510']
I was looking at the latest update to the ShowYou application, and the parallax effect they have implemented is absolutely amazing. I am playing around with UITableView and UIScrollView to see if I can sort of mimic it, but I wanted to see if I could touch base with some other folks to see how they would do it. Any ...
3f81d55da2d818e33542101e67eb49457e66d6123df1dd58056fca94db6e691a
['64349527998f470abb8f19b1cb8d4510']
So, in case anyone runs into the same issue, I ended up toggling the Background between NULL and Transparent. It's kind of a hack, but WPF Routing (Yes I am going to hate) is a huge headache. I'll probably run into performance issues later (maybe not), but I am able to avoid traversing the tree.
3f628761448ef864150b00591d9cc3e8a85c6019acd74b0c5509ea3135854e89
['643c42e639ca447b9fa1520a6d2b06c0']
I'd like to order values with two decimals/periods and wondering if there's CAST/Convert datatype that will allow me to do this. Values are currently something like this: 1.11.1 1.11.10 1.11.11 1.11.2 1.11.21 1.11.3 I'd like them to be ordered like the following: 1.11.1 1.11.2 1.11.3 1.11.10 1.11.11 1.11.21
da4f8bc1b47c32964f25e69e88f101c433ca0a573bed5020d28c7ea2ef42c906
['643c42e639ca447b9fa1520a6d2b06c0']
I have a case statement within a select returning many values, but I only want the first value since I'm doing a Count. SELECT DISTINCT ATM.TicketID ,COUNT(CASE WHEN ((ATM.PriorityID='E' OR ATM.PriorityID='U') AND MAX(ATQ.QuestionID) THEN 1 END)) AS [A] ..... For each 'E' and 'U' value, there are many QuestionID's...
b931c7bd7b91ab0fee4f91880f37202f8668e49b5f4941d2bfe0dbb26764fc7a
['644fb187e09746439770869dd74e3638']
If you want to get some parameters of class A within class B, you need to have an instance of class A inside B. You can create an object of A, or pass it with the B constructor,... for example: class AbstractScreen extends StatefulWidget { final Spacecraft valueAbstractAll; AbstractScreen({Key key, this.valueAbst...
aa022cd19cd07fd90cbf4057768d4a9032d5c7154713b8c5b4d354af0ef35aff
['644fb187e09746439770869dd74e3638']
To align the widget within a Row or Columns, we can use these parameters inside Row or Columns. mainAxisAlignment: MainAxisAlignment.center, crossAxisAlignment: CrossAxisAlignment.center, Row: mainAxisAlignment determine horizontally align the path crossAxisAlignment determine vertically align the ...
89f7e38ebd1cf7c288e679fbb7f63908cb13dab9e56917491a6841a04dd139b9
['64536c49362443c39ebcf404dc65aead']
i'd like to create a large pdf (not typical page size) with long lines, max ~1000 characters / line, where the page size and font are such that no lines need to wrap. the intention is not for the text in this document to be readable when the full page is viewed on any reasonably-sized monitor -- instead the reader can ...
b64f4ef0f99ca7a897553d43027a8a59d4380243735a7385af1ffc999db7a337
['64536c49362443c39ebcf404dc65aead']
It should be 'across' the globe, not 'on' the globe. If you are 'on' a globe you are on just ONE spot, but if you go 'across' a globe, now you are talking about many countries. I would say "we arguably have" not "have arguably". Should be "the highest number" of graduates. I'm not crazy about the entire sentence th...
0f6f06f10b4b6f50bf55a19496dd5d925228121322ee98496c519e91f80d9dde
['645887b14ff745ed80fbf0ceba91e9eb']
I came across some code that boils down to the following: enum BAR { /* enum values omitted */ } class Foo{ public: void set(const BAR& bar); private: uint32_t bits; }; void Foo<IP_ADDRESS>set(const BAR& bar) { (uint32_t&)bits = bits | bar; } I don't understand the point of the c-style cast in the assignment in...
aa3f2b382e2d6318f3ff1bbdafd59752b23ba323697aa6ccf270d002c8adadd9
['645887b14ff745ed80fbf0ceba91e9eb']
Also there's a second contradiction in that her descriptions of accio do not match what would happen if objects were to travel at near light speed. Such speeds are not visible to the human eye, obviously, so if accio was near the speed of light, it would look like instantaneous teleportation, not the object "zooming" ...
78515561485a796ef36d896d79afa3298b71eebe93721f85cee580644dce20ae
['645e1b7c90ee406aa9c3c79943e866ff']
Всем привет, стоит задача сделать так,чтобы пока пользователь находится на сайте в фоне выполнялся php скрипт, который никак не должен мешать взаимодействовать пользователю с сайтом(скрипт будет ждать некоторое время а потом делать 2 запроса к бд), при этом если пользователь выйдет с сайта, выполнение должно прекратить...
aea004c1f93484107718ee3f307da0ac274aa88fbc0f06d8b4fbbbe9b158ca00
['645e1b7c90ee406aa9c3c79943e866ff']
Hi <PERSON>, thanks for the reply! Never tried SpinRite but i will go check out. And for the freeze i can confirm that it really works. Btw i've built a simple usb-fan with a 10cm chassis fan that can cool down hdd when stress copy are in progress.
3a62441b69ede6b73997d8137bca89b5b3bd9e01b38b15fe842c2faffb5c209a
['646b0a62a808463c8233e328da501c30']
I got the solution myself, this is the solution. @Override protected void onActivityResult(int requestCode, int resultCode, Intent data) { super.onActivityResult(requestCode, resultCode, data); if (requestCode == 1 && resultCode == RESULT_OK) { Uri url = data.getData(); ...
fb636b0bd47482c6972f55074d8653bab4e628c009c6439954e37b765f08ffdf
['646b0a62a808463c8233e328da501c30']
I am trying to make a Virtual Assistant and for that i am using gtts but when i am trying to run my code am stuck with this errors, is there any way to get around? I have tried everything but did not succeed, this problem occurs in all my projects when i use gtts Errors - Traceback (most recent call last): File "/Us...
4307a20c3eb155bf3bdfb12fee4b01dcbcf58dc30da35f85906d1bf400c67939
['646b8db12e22465b924f40fe1b4e50ba']
This is definitely doable with props. In parent component <template> ... <router-view :profile="myDataObject.profile" /> ... </template> In child component <script> export default { name: "child", props: ["profile"] ... Now, in your child component you may access the data by referring to this.$props.profile. I a...
0888ffaf9c00bee8ed420759fd450b138a81d96fe06a4331551a72af3329381e
['646b8db12e22465b924f40fe1b4e50ba']
I've faced exactly the same problem and it took some digging, but the solution is quite simple. Solution You cannot use use outbound connections on port 25 in your Cloud Function. So I've changed port to 465 and used secure connection and it does work. I have (randomly) found a mention of this at Tips & Tricks docume...
0cf1fee5469eabdbed07ce23ef10d0aa0b159813f984c97a227cbe8771e0116f
['6470e332124f420db65ef5f04f2823bc']
I have 2 tables "srot_data" and "vada" CREATE TABLE `srot_data` (`ID` int(10) NOT NULL,Datum` datetime DEFAULT NULL,`ID_obsluha` int(10) DEFAULT NULL,`Linka` varchar(10) DEFAULT NULL,`Kontejner` varchar(10) DEFAULT NULL,`Vada` int(10) DEFAULT NULL,`m_srot` decimal(8,3) DEFAULT NULL,`m_pres` decimal(8,3) DEFAULT NULL,`b...
cbcb0205590f16219e2a2139277d92dff3a327af274239664295dcfc2adc1c70
['6470e332124f420db65ef5f04f2823bc']
I try to push data from database (data_viewer) to javascript chart but doesnt work. I need to display data_viewer as y: ... (in label: "Vada 1", y: data_viewer). Anybody knows what I´m doing wrong? Thank you. Database connection is ok and the graph seems to be ok also. But no data from database. <?php require(...
8c30e2cc2779b1e6c442fdefc13e88a1ead732360f2c72c078b90c7ff7714b09
['648116e6f1ef40e5a7ec5be274177410']
I've a python script which reads a sensor and writes it's value in loop in a file in the same folder the script is located. That part is working fine when I run the script in command line. Now I wanted to keep that script running in background. So I used forever for that. That seems to work too as I'm not getting any e...
9ae9237d608924ba6557b298d760b62548a48443fa80f09f02633458ae68a48f
['648116e6f1ef40e5a7ec5be274177410']
Looks like a solution to me but I can't figure out to get it running. I added your function to the js part: function openQRCamera(node) { var reader = new FileReader(); reader.onload = function() { node.value = ""; qrcode.callback = function(res) { if(res instanceof Error) { alert("No QR code ...
941e39bb9ec9b681af3265fc44d80d957936f85269432b4c019071e4f30bb25b
['649c4857a9e046c2bec35d31bb694c15']
I'd like to think that <PERSON> is probably the fastest among the 9 titans in terms of running speed and not agility (in which case I think the Jaw Titan would dominate). Here's the explanation. <PERSON> managed to outrun the Scout Regiment Horses as seen throughout the "Female Titan Arc" and she even managed to catch ...
dad4f06d777c9357db65284cc06627be1fd228d017d3de9a385a9ea74deb727a
['649c4857a9e046c2bec35d31bb694c15']
We have a TL-ER6020 which we are setting up in a "Non NAT" mode (the WAN side is on a /30 network and routes a /29 network). I want to be able to "Remote Manage" the router, but want to prevent it from being accessible over HTTP from the WAN side. On a Cisco RV042, I had configured things so that I would PPTP into the ...
286eb6bd0c66cf3e31484dd63d4213d20a0d0e9f8e3f4f5931ff516542719e8e
['649e4f57542e43ee81b2650cf36e1a72']
I'm a begginer with PlayFramework and I have a few questions about how to put the server to work properly. I have been reading a few tutorials on how to deploy a Play! app and I decided to use the server that comes with it and lighttpd as reverse proxy. (I want to deploy 2 or 3 apps in the same machine with different d...
4bdd9fdd71a5e4222f7ee122acd6fb2b00107f108438ba83543cf8a0a8ad9629
['649e4f57542e43ee81b2650cf36e1a72']
I am doing a project were I am trying to make the backend with playframework and the frontend with Extjs. I can retrieve the data from the server with Json and show it in a grid with all it's fields. The problem comes when I try to modify, remove or add any record. The request sent by Ext: DELETE lista?_dc=13184096146...
06a335fae46be28877d892d0e13d7877cde8483e9c782247614ca0466d997ef5
['64a0f902cf024c57bb994d81f2fe5e97']
Thanks for the suggestions. In terms of system utilization, the servers themselves typically run at ~14% memory and 2% CPU, even during peak hours, so we aren't really saving anything in terms of caching. Static assets are cached via a CDN, but outside of that we don't use any caching. We are currently implementin...
97933db8944c335449d9d2793f41f060d87e622ed8505693c2898f662a0c4a50
['64a0f902cf024c57bb994d81f2fe5e97']
AWS Elastic Beanstalk service routes traffic back to its EC2 instances through HTTP by default. I know this can be configured to achieve end to end encryption by adding SSL encryption from the load balancer back to its EC2 instance(s). I also know that by default everything created by Elastic Beanstalk is inside a VPC....
a7412764d55f307afe8f08f75484ae9c1483e2bb1b82cae94a2b4c87714168f7
['64ba57f21abe417c9e2030cd0165444f']
Right know I have no idea what is wrong. What I did is to use v4l2-ctl maybe someone can give me a hint. v4l2-ctl -d /dev/video2 --all Format Video Capture: Width/Height : 1280/720 Pixel Format : 'YUYV' (YUYV 4:2:2) Field : None Bytes per Line : 2560 Size Image : 1843200 Colorspace ...
d4800a5e370c3377e3665f8dd3f109c474115f02074327e1b4abdaae4edb8e76
['64ba57f21abe417c9e2030cd0165444f']
Good news, problem is solved. Open video selects a wrong decoder. In my case "YU12" but the webcam uses: YUYV. I have to set it manually - (Function: set(cv2.CAP_PROP_FOURCC, fourcc)). Working code is below: import os import sys import cv2 videoSource = 0 def getFrame(): """""" cv_cam_0 = cv2.VideoCapture(v...
ae478a118ba632662dffb5540ebe2f009bd24851c2ced8223ce34864edb1a6cd
['64dc8b7996fd4b799ea81a1ad3aa9755']
Есть таблица ПРОДАЖИ (Время datetime, Сумма Float) Как посчитать общую сумму и кол-во на каждые 15 минут за сутки? Чтобы получилось так Время Количетво Сумма (01:30:00-01:45:00) 5 123456 (01:45:00-02:00:00) 10 235000 (02:00:00-02:15:00) 15 ...
2f53373f9117ad152e6e7f49d3f779b659eb7bf4a33a98b782630669f5378fb0
['64dc8b7996fd4b799ea81a1ad3aa9755']
Добрый вечер! В цикле с помощью pg_class создала временные таблички, в которые сохранила данные до обновления на случай, если потребуется откат. В нескольких таблицах пусто, так как не было связанных данных. И теперь нужно оставить только таблички, содержащие информацию. Пожалуйста, подскажите, как удалить из схемы то...
d09f94c3d26b8910308957eb4db290ad86d381ce5dd1e69f06595ab63ec0956c
['64ddc01005114f3c9133a7ca4add40cf']
I am familiar with the Egyptian version of this idiom and it refers to the back of the neck and not the shoulders and is considered very disrespectful. I am not sure if there are different version of the phrase in the Middle East, but the Egyptian version would be more offensive in Arabic than anything on your list.
2e8a4b8a596d3e2dc6dd7d179e14b33eb5b8c12006b5a05f5289a9ff1eec99d0
['64ddc01005114f3c9133a7ca4add40cf']
I have `error_reporting`, `log_errors`, and `error_log` all configured this way, but it's still not logging errors for the Joomla site. This site was copied down from an Apache server. I imported the `.htaccess` rules into IIS 7.5; but alas, it's still failing. Do you by chance have any idea what else I might need to l...
d06eb4583d80a3f05fc59fc015899408cb14bc758f8c9b4530f168c491131cd6
['64e64b31ca4f4017a78a71500294fc6f']
My question is simple, when I run the following code and check the DB, I find that the user is deleted successfully, that means the User.findOneAndDelete is executed, promise is fulfilled and I expect to see { success: 'user_deleted' } in the response; however, I am getting { error: 'user_not_found' } which is supposed...
d78377601bf3bcf7a64d69044069894b5573a1700bbbe23b6b92620a6b607b18
['64e64b31ca4f4017a78a71500294fc6f']
If you want to create new files with your data in it you must use the 'w+' tag in your open function as so: # Looping and creating multiple files for i in range(1, 4): # Using 'w+' to create file with such name if # it doesn't actually exit f = open('serial_data_{}.txt'.format(i), 'w+') ...
60b51cb30e6fd637f2c12b0ca6e7912ca663f316457100d308df62ed26dcd4ac
['64e9ceec18d1451fadc433bf6d74a055']
I wrote a software package called rna-pdb-tools. Hmm.. but now I have a problem. Is it? Furthermore, rna-pdb-tools were used to curated structures submitted to the RNA-Puzzles, https://github.com/mmagnus/RNA-Puzzles-Normalized-submissions) facilitating the comparison of structural models. or was used? Or I shou...
f422a48c7b68c5f46c25cfae5cd3deafa232db9278bcbe764a2516d5dbebd704
['64e9ceec18d1451fadc433bf6d74a055']
I dont like using isset, but if there is masses of code done by another, then it can be a saving grace. I wrote the wee code below to help with this problem, instead of using isset() isseter($a,$b) will return $b if $a is not defined or empty, or the function returns a null. Any improvements, welcome: //returns var or ...
777c0b53d7364d538f3e402a9beeb72e16864888c23e11238a2410099f6a3ee0
['64f4eafb828e42b2a53e53ca46a29f87']
I’m looking to buy a DSLR and I’m stuck between buying a Canon with an EF mount or a camera with Micro 4/3s. I have a good set of old Canon FD lenses (From a 28mm to a telephoto) that I’d like to use, and ideally not buy many new lenses. So - which system is best for use with FD lenses? I see the FD to MFT adaptor do...
5bc287510149bbcb7a1a90244b0c99c69a93faeab10dd40075891689e1413291
['64f4eafb828e42b2a53e53ca46a29f87']
I was wondering if anyone knew a way (short of modifying angular-strap.js) that I can reconcile the $modal provider collision between angular-ui modal and anglular-strap "aside" (which uses the $modal provider)? Currently if I try to use both, only one will work. Possibly making things more complicated, I'm using the ...
b3a8f49a8a5f0fc1946df68b1f6a18c56a5fbf8b021a70cfaeb10b660a2c6ffa
['6504f9e11ee0411b8297083a937bb7d2']
Thank you for indicating the distinction between the material that is and isn't ejected. I understand that most of the Fe-56 in the ISM is produced in the decay of Ni-56 > Co-56 > Fe-56 _after_ the shell burning products of a massive star (core collapse supernova) or the fusion products of a type Ia supernova have been...
2a4d35acfde7dd04b3974397980c486b39478205099390090f5666947141254c
['6504f9e11ee0411b8297083a937bb7d2']
Your answer helps. I suppose "Fewer electrons per mass unit for heavier species leads to lower radiative opacities and higher luminosities" means that the number of electrons in the core decreases, so the contribution from electron scattering to the opacity decreases, so more photons leave the core: higher core luminos...
610a55c7f738afd3e5fbe6d1859fafd1b5c3d90e404cc25485bc19e643ed16cd
['65114b28d1664998808c43dcc55b470c']
(Let me preface this by saying I am extremely new to the AS400 and RPGLE and CL Programming. I know SQL fairly well, but not when in use with the AS400) This seems like it should be very simple. At Year End we have to update our warehouse table to the new current year. This has been a manual process, to go to STRSQ...
17090ac943e4bf674b59e3aa770644c2bf27970ca3e4e4f291114f299d8deee7
['65114b28d1664998808c43dcc55b470c']
OK, So I have a spreadsheet that was made by combining two identically structured spreadsheets that merged all the data into one. The problem is that both spreadsheets have "similar" data but one has more data than the other but both have data that is missing in each of the spreadsheets but all the data is required to...
b9d67d64950da4e2fb2c4734b4022edb8f9f797fe66b6ebd970b2d26cb31bd56
['65121640e98048329dc5f88f711269f7']
Whenever I made a linear regression model, it just diverged, all the time. I really couldn't find any solutions for that. But when I changed the learning rate to 0.0000252, it worked! But another problem is that it learns so slowly so that I have to wait for the model to learn for more than 10 minutes. How can I faste...
7fdb956f06eaaab22dc621ff8fd44fc97cfe0af8f5fe48540eaf9d6d8697a627
['65121640e98048329dc5f88f711269f7']
I'm working on Facebook chatbot, and I found some difficulties while reading Facebook's official Messenger Platform tutorial. The frustrating part is here: curl -X POST -H "Content-Type: application/json" -d '{ "setting_type":"greeting", "greeting":{ "text":"Timeless apparel for the masses." } }' "https://gra...
409d6c53b8ab4a3578161387ebf1ade0ffd34e9670593dad0271619352ff669d
['651812250a6e46c0b0b5a485e32e876c']
System wide. Yes, we expect the cache to update. A service change notification will cause us to refresh, or reading uncached. Using uncached forces over the air traffic so we will connect, otherwise we only connect when needed. As an example if you are subscribed to a value change notification and the remote device pu...
45950c00cdce7243914962769bdb1867bf2ad953cd07e00066f01037e5e9ee24
['651812250a6e46c0b0b5a485e32e876c']
The BluetoothSerial class calls RfcommDeviceService.FromIdAsync(String) where the string represents the RFCOMM service instance (a service). The BluetoothDevice.FromIdAsync(String) takes a string representing the remote Bluetooth device instance for classic baseband (a device). If you want the BluetoothDevice from the ...
e1235fd350761a194e7770de3959636de3d1c14c65f9c7b17c30311d26f93bfa
['652aca87b160460cb0c064a6a676cca8']
Im looking for a word, method or similar for this situation. Say that i'm for example have 3 viewcontrollers, a, b and c. And then i'm navigating from a to b and finally from b to c. From c then I want to dismiss my viewcontrollers all the way back to a. How do i achive this programmatically?
00bb05f03d19078e553dda2a76af4c8209d49b0704ad5d93989af5893c5b3a09
['652aca87b160460cb0c064a6a676cca8']
I have some trouble with setting up my rules for a firestore project. I try to learn the database setup but can't find any solution for this. So there's no problems when i try to get a document from my collection "lists". But when i try to get all of the documents in the collection "lists" xcode tells me "Missing or in...
95a7c8a8390c93ed2507c920348c48bf9b4bc016fba4392f7b4273bfbad1a7fd
['652b9a8e872948729eb45dfcff46d7a3']
I have a multilevel menu. Each of level is a list with ul-tag. Each point of the menu is li-tag. I want to slide down all of parent uls of the current point of the menu when loading the page. Now I do the next: var parents = selector.parents('ul'); parents.each(function(index, parent){ parent.slideDown(); }); But...
4fd6e4150fd959802ea3ddc423bb14d166fcd23979dc3044bcc00b50942b3bbd
['652b9a8e872948729eb45dfcff46d7a3']
If your array has the constantly number of layers, you may use foreach-function for the each layer. If your array has different number of layers every time - you should use the recursion, because it's the only solution in your situation. Something like this: array_walk_recursive($array, function($item, $key){ //you...
d0614333759066886aa7ee7ca51a44e4a553acadbbed1111308ced70a46af94d
['6539fbd5dc52475fbfc1322dd4b6bb91']
User can capture or select a image from gallery. I would like to upload that image to server. This is my code for camera - camera.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { Intent i = new Intent(MediaStore.ACTION_IMAGE_CAPT...
f06ce4a541fdd6e24800aa80c5b57e0460e96460e60a4dcd5c4875e6957097c8
['6539fbd5dc52475fbfc1322dd4b6bb91']
I have a recyclerview. Once user clicked on any item of recyclerview item it should open a new fragment. But I would like to pass a id with it like we send with intent using putExtra. Below is my adapter onBindViewHolder method code - public void onBindViewHolder(@NonNull DashboardViewHolder holder, int position) { ...
c09ba6e584b1e3ec47f537af2786854e8bc1bd6c37fd1aa78eabacfd126b373f
['655c1e207fa3426a97aba186b710125e']
What I want to do is like this. Below is code using numpy. How do I do it using tensorflow functions? import matplotlib.pyplot as plt import numpy as np import tomopy output_size = 64 [X, Y] = np.mgrid[0:output_size, 0:output_size] xpr = X - int(output_size) // 2 ypr = Y - int(output_size) // 2 reconstructed = tomop...
9abd96eb298558d8c7acf7dcd91b4888c8473b41c1a12dbb5456b3c0aa0ba6da
['655c1e207fa3426a97aba186b710125e']
The tf.where function does exactly what I want. import numpy as np import matplotlib.pyplot as plt import tensorflow as tf width = 512 sess = tf.Session() [X, Y] = np.mgrid[0:width, 0:width] xpr = X - int(width) // 2 ypr = Y - int(width) // 2 radius = width // 2 reconstruction_circle = (xpr ** 2 + ypr ** 2) <= radius...
5f9ac74cacb0abdcf30a6de8b8fefed18851e4b029971c76df358a271554585d
['656123ec3ad148849edd17be5833abd5']
Both versions of the word would known as a Racial Slur: a derogatory or disrespectful nickname for a racial group, used without restraint The usage of the word is highly debated in the United States as some members of the black community use the term freely among themselves with little to no backlash (an example bein...
e631b7aeb52ec32f0a0af70b0c1261d73722c5099d1db9c829cd5a9e050bbb9c
['656123ec3ad148849edd17be5833abd5']
This does not provide an answer to the question. Once you have sufficient [reputation](http://english.stackexchange.com/help/whats-reputation) you will be able to [comment on any post](http://english.stackexchange.com/help/privileges/comment); instead, [provide answers that don't require clarification from the asker](h...
59f926a6089d0c63a8b02183864a5254820b2b1c6524d45f3332cbaa27a39c4b
['65637568238a4c3480abfe26e55a6f77']
I agree with <PERSON>'s comment that you probably don't want to do this unless you really have to because it will slow down the saving process. If you NEED to have them go in order and you really want to use DispatchGroup to do it, you could do the following: let group = DispatchGroup() for i in 0 ..< 5 { group.en...
32f75422d09245c9f4172dae3f9f9b39858c2ec2eaa71e576a1bae6ea4bebc6b
['65637568238a4c3480abfe26e55a6f77']
You should check your storyboard to make sure that the top view controller in the navigation controller is actually a PredictorTableViewController. The error says that it's a UITableViewController. You might have to check the Identity Inspector in the top right hand corner of the storyboard editor to see if you have th...
e5581554bff2e61e26f3712e92d21fd0457dcb5ef7c7050fb5f60ea2f4caa3d8
['65647270bb2d44ef8611711a57b1d0df']
Ember defers the DOM manipulation until "later" via the run loop. To test, you can force the run loop to execute its contents immediately by calling Ember.run.end() . The following should pass: describe 'Controllers', -> describe 'UrlSearch', -> it 'should append view', -> Ember.run.end() expect($('...
e9582100e78c0c9537b386f9abd369fa6db76439ffb0c3c94315bf2da7e18e06
['65647270bb2d44ef8611711a57b1d0df']
You are definitely on the right track. As <PERSON> suggested in his comment, you do not need to preface the function with Ember.computed(). The property() call will take care of that for you. By doing both, you are making a computed property method out of a computed property method, which seems like it may cause pro...
141b2947f05a570ec2acde9f17da7196a8f4e663b231c5d782d6a625094f320d
['65691379c2664e41ac66e8105aca9b62']
I'm a little confused about iterators in Java. How do I make next() only return certain values? Like say I have a boolean array of 10 elements, and I only want to return those that are true. Do I put a conditional in the next() method that checks for that condition and returns when it is met? Or do I check for the cond...
ac130c3b1d781e940aeecbfda59be11d11266f8c2d12280ada1263ee2cd208aa
['65691379c2664e41ac66e8105aca9b62']
I'm in the process of creating my first iPhone app. It is an exercise log that will allow users to use the GPS to track a run, then be able to save a map of the route as well as the time/distance and upload it to a website. A local list of runs would also be saved on the device. My question is, what is the best way to ...
a607f073dcc79c350ca4541639dbe17ff09e470dfaa534e18595af509810de3b
['658fd9615abd4bc99ecf08a5ff3ce4f3']
I would just include that small specific portion of css in my main code and use a simple if...else statement, and change 'logo.jpg' depending on whether the user is logged in or not. For example, if the user is logged in, the variable for the logo would be changed from the default value. If the user isn't logged in, th...
6896a0755112c2f4ce6dd4f10146e1c0a6f160845957982dd637b768b33fc920
['658fd9615abd4bc99ecf08a5ff3ce4f3']
Basically your browser is caching the the web pages, and rails is currently configured to allow you to do that. You will have to manually specify in rails that you do not want page caching to occur. Refer to this link here. It should be exactly what you are looking for. Basically what the page I linked is telling you ...
bcab488bed047f9fee7aeb919ae4061b86e3c9176c8f810866fd9d58d81cf1c7
['659dd9a5e2aa4497af747ab3685b06ec']
I am going to propose a possible answer that I am not sure I like. What if I open multiple cursors on the database simultaneously. So I would have the following cursors: IncidentReportCursor IRCamerasCursor IRNotesCursor IRGroupsAssignedCursor IRWidgetsUsedCursor Then I could iterate the cursors at the same time and...
8b6a6acf11240073ef34c591e291d874b71db9eac7feac3ffc03bdbab7f13d20
['659dd9a5e2aa4497af747ab3685b06ec']
I am working at a branch office and have been tasked with changing out the DHCP scope to match the overall corporate IP address scheme. The main office assigned me an IP address range of <IP_ADDRESS> through <IP_ADDRESS><PHONE_NUMBER> through <PHONE_NUMBER>. I changed the scope on Friday afternoon and came in on Mond...
4313a541764646f6864c0eda6dfd215528ca389ec138dfda75e1eda461003c23
['65a110ac79084634a9bc3563ecfc8c67']
Without having implemented your setup, I generally make REST calls using requests by implementing a method similar to the following. def get_weather(data): # Set api endpoint to what's needed endpoint = 'http://example.com/api/weather:9000' # Do any work needed specific to api prior to call # Send req...
990b42602d98a4b1af04062d15316a53e3aacd31d149e329f16fc32bea09cbbc
['65a110ac79084634a9bc3563ecfc8c67']
I created a simple __main__.py: if __name__ == '__main__': print 'the rain in Spain falls mainly on the plane' I can create a zip with __main__.py using the command zip -r test.zip __main__.py Now I can call test.zip: $ python test.zip the rain in spain falls mainly on the plane When I create a tar with __main__...
bfc69480eca7290ee3fe2daa13abd2aa1edaad2218df4ed841c429da2e262ce8
['65a85d34d8cf42cb97370c6f94747e8b']
I'm not sure about python but with C++, we can use wxStaticBoxSizer as it support the label display, same as the LabelFrame in tkinter or group/frame in some other languages. You should layout your gui by the other BoxSizer/GridBoxSizer first and then add StaticBoxSizer inside, you will got the better look. Ex: wxStati...
7e45b3569d0e382b608b9b07c2916c9ae4b1431b308f237a699bab9bd1f397aa
['65a85d34d8cf42cb97370c6f94747e8b']
You may check your anti-virus SW. I got the same problem "OSError: [Errno - 9999] Unanticipated host error" every time I tried to record the wave file by pyAudio. I check and confirm all the parameters OK. I was stuck for several days before I noticed the anti-virus on my PC block my python script call to the hardware ...
65b4a380d7e088df32e1ed9b4a11df20e7eabbe1ab3fd198ff5ee10665044876
['65ba2012c15446d9943000b6e3530500']
Thanks! I just punched some holes in a scrap of leather I had left over from a writing desk I built over the summer and used some parachord for the straps. Man, that is one comprehensive website on slinging. After skimming through it I've come to the conclusion it might not be the design of the sling that's the problem...
f926f49a36740f1f14fda7630ffc40aefdae5cf4485afcda3d37aaad70099172
['65ba2012c15446d9943000b6e3530500']
This pretty much sums it up, except that for beginner, really small projects (2 people in this case, only HTML) I would recommend subversion with TortoiseSVN. I find that it's easier for people to grasp, and the nice explorer extensions mean that you don't have to worry about using the command line.
b3f07704cae3bb897c4bdf6bfaa8b455c414fa0e42f65c41030b1943262f4d72
['65baeaa1570b41a89f99256dcb65e28a']
Can someone help me with Allegro 5.0.8 static linking in MSVC2010? allegro-5.0.8-monolith-static-mt.lib; -> this doesn't work for me. I can run the game from IDE but i can't release the solution. I have this at the top of my program: #include <allegro5/allegro.h> #include <allegro5/allegro_image.h> #include <allegro5/a...
d78c2a86e0ef05ba0f6004297fed5cac5ee8ca20419aa815c7b19bc3135000e1
['65baeaa1570b41a89f99256dcb65e28a']
This answer helped me, however, it is missing a few things. Download the Apple Font Tools and install them. Then open the Terminal, navigate to the "Fonts" folder, or open "font Book", find your font, right click to show it in the Finder, copy-paste it somewhere else and then navigate to that folder in Terminal. Then...
e17f2ccd75e7ae328c804b28b6a29117eda5fd23ccf0ae662b8e59e48de5d2be
['65c170d90ea54e318628f37ecbb7f62f']
in my application I would love to implement a progressDialog to the image download process and after this, i want call the intent ACTION_ATTACH_DATA. currently my code works fine but as you can see when it starts downloading, immediately called the intent. my goal is to show the intent after the download and with a pr...
7d58d6ac869bbf6407bcf56ce64c786f28b7511223a7b64fddcbc34ecf7e7cec
['65c170d90ea54e318628f37ecbb7f62f']
I'm trying to run my app for all devices, but I have a problem with a storage permit in some phones. my app changes the background both in the home and in the block screen through the following code Intent myintent = new Intent(Intent.ACTION_ATTACH_DATA); Uri sendUri = Uri.parse("file:///sdcard/0prova/"+in...
2c964dd14eb1ea35e5854a85df294b2a056ad62d567bb1b5dd3bb9ac2a3dcc9d
['65cc2172952d40aab188d668fe0f0328']
Install sshpass under Debian / Ubuntu Linux Type the following command: $ sudo apt-get install sshpass How do I use sshpass? Login to ssh server called server.example.com with password called t@uyM59bQ: $ sshpass -p 't@uyM59bQ' ssh <EMAIL_ADDRESS> Under shell script you may need to disable host key checking: $ sshpass ...
640607fc2d1c7ab4ce116c8294841347fad21821eb1e8660ec71bf304ca87d21
['65cc2172952d40aab188d668fe0f0328']
I've searched around S.O and google but haven't found a solution that I understood straight away. The code below is what I have. (I have added comments below just for clarity on s.o) I would like it to have a shorter signature but remain very understandable/readable The Code: def fix_filenames_in(folder): ''' Remov...
9965b774e38d5c67229d4ba6139e8204e379f3243ecf6d5785a508a6fffc2491
['65daf00ff9d0462f8a0bd38c859a514a']
I'm learning SQL injection in one of my security classes and this is for an extra credit assignment on a project site the professor created himself. I want to list all the databases but I'm having some trouble with the syntax. I have tested that this is sql injection vulnerable, so then I tried ';show databases;-- in...
44138bdafe5dfbea3de8d2b66daca8ae8b86bfe984295f8297a2bc7ad55f206c
['65daf00ff9d0462f8a0bd38c859a514a']
Because this points to an instance of the class, in the static method you don't have an instance. The this keyword refers to the current instance of the class. Static member functions do not have a this pointer You'll notice the definition of a static member is Use the static modifier to declare a static member, whi...
141da5c639b4ea75a686b45c4ebc8cca8534fb62d54d8881463b96123e94103d
['65e8d4bad1f1419995888815f6f63c2b']
At some point during the film, one man gets killed, but the timer on his arms still has time on it. Seeing as the person that killed him (<PERSON>) didn't take the time (which his character is likely to do), you can infer that once a person dies, their remaining time dies with them.
92c96c311741df80db5a8da1b3b915a6ba4f9ee51fda3d44791356fb0f6fcd48
['65e8d4bad1f1419995888815f6f63c2b']
Thank you for the suggestion, <PERSON>. However, much like the `\ifx\insertsection` approach, this again only addresses the first conditional requirement and not the other two. That is, the expression `\number\value{subsection}` evaluates to 0 for any frame that is not currently in a subsection environment, even if th...
bbad8518b2b57927f8bc3b3050739aad74d279119cd4ace7615f5afad0f9a28d
['65ef43688d98454eb6ae6b3264d0b73d']
I am trying to implement asynchronous http reverse proxy with tornado on Python3. Handler class is as follows: class RProxyHandler(tornado.web.RequestHandler): @tornado.web.asynchronous def get(self): backend_url = 'http://backend-host/content.html' # temporary fixed req = tornado.httpclient...
f61c41e31dd0f12eb5371a4c33d39b47e42ee2e00d969071f9d6682871c44999
['65ef43688d98454eb6ae6b3264d0b73d']
We are running Redis server on CentOS and connect to it from CentOS clients. Most of requests are successfully done but the server does not respond to SYN packet from clients sometimes. At that time, client TCP socket state was SYN_SENT and after retries client gave up connection. tcpdump results: 18:11:05.031716 IP <I...
b3c5b4e9f71e8487ca571cf222bb8c01ec86151b9beb9f9e9df79400c5b2cd59
['65f1802871ce47e98f929224ba885ce4']
I am new to CNTK and all Machine Learning frameworks. I tried to do image recognition process with Faster RCNN with CNTK. I modified the "DetectionDemo.py" to refer to my own dataset (positive, negative, testImages, and finally a prediction image). The dataset are basemap areas (you can imagine something like google m...
70463759f3ef44b6758666ab85afe7fc25320986189f9e1a3b2124b14bb9d252
['65f1802871ce47e98f929224ba885ce4']
I am working with dojo 1.10. This is my main script: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <meta name="vie...
2385c6cdef1bba6af5e6b33bf0b69379b885b036038be6b5ec8dfaff34241b15
['65f7e8f8130745be8bfd738e110e2d14']
You have to run the if (isset($_POST['submit'])){ global $u; $u = 'yes'; } before the if(!isset($u)){ echo 'the $u has no value'; } else if(isset($u)){ echo 'the $u has a value of yes'; } PHP reads the code line by line, so isset($u) always return FALSE until the line $u = 'yes'; is run.
6f637805c06ece14e14e60082b12bdc548ab3f2485a59dfcfa2559fe67d18255
['65f7e8f8130745be8bfd738e110e2d14']
You cannot use continue inside short if-statement. Short if-statements is for returning values, like this $val = $bool ? $one : $two; Now, $val will have either the value of $one or the value of $two, depending of the truth value of $bool. continue is no value, so it cannot be used in short if-statement. Use normal if...
6a45173f5605ad18df2a12bd4e50512d94fb275ae1e2d30ec8f9c2bd395aa914
['66196c4bc91640f1a59797c6e070e22c']
I have this snippet below and I';m trying to make it an if/else statement and I'm getting syntax errors... <!--script for changing Number of Columns--> $(window).load(function(){ var idx = $('select[name="numNames"]').children('option:selected').index(); if (idx < 7){ $('.oneColumn').click(function() { $('.IH_pINameRow...
05658f977eb84a2a209d0cc16834a8f3d7137a6832a037a8b3ad693f7a60bae5
['66196c4bc91640f1a59797c6e070e22c']
I'd like to add the index of a given radio button to a URL string, but in the middle and have that passed to the value of a hidden input in a form. here is the code so far: jQuery <script type='text/javascript'>//<![CDATA[ $(function(){ $('input[name="Names"]').click(function () { var idx = $(this).index(':radio') $('...