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
34507c75a340728e12f42801c5117e5d0ae2e704e8d2420567d4ed46479c4bc2
['cb1812fce70c4dd394375a2e859f2dca']
It should look like this: <a href="images/Resume.jpg" download="Resume.doc">Resume</a> You are missing the location. Unless the name of the file you are trying to download is just "Resume" and is in the same location as the page this is being displayed. FYI, this is a HTML5 feature and is not supported by IE and Safar...
9bf3c75ce6f075651a087efb4fc5cc2ee2a6319943afb0dfc2a508a58302bbfb
['cb1812fce70c4dd394375a2e859f2dca']
This is due to an encoding error. It's a invisible character that is on the end of your url within the code that is creating the "%E2%80%8E" to appear. Ensure that "http://www.theawesomecleaners.com/dfw-cleaners" is pasted into your html from some plain text location, such as this very post. This happens when using thi...
b20ef657237e7324c973fa28a2033d5769bb626d488b5cb5ab5180b2e2fbed20
['cb1c6f631512458d92399de683993741']
I have a closed network for security cameras. I want only for authorized cameras to be able to connect to the Network Switch. If the Switch supports 802.1x authentication, and so do the cameras, could I use a RADIUS Server to control access of these cameras to the network? What I want to achieve is that when a securit...
9cc5c5d963682895ad87169bae1d308588cf38d8cf6ca45ab6611f9fc895f189
['cb1c6f631512458d92399de683993741']
@DarkMoon The thing is that there's no Active Directory nor there are computers in this network. I only have a Windows Server 2012 R2 with RADIUS Server features installed. The other network components are the Switch(es) and the Security Cameras, and that's it. Can I still use RADIUS to permit access to the cameras con...
61121ca16015b69534d19688ea2f04f155c325cfcae42962d78f18a6020b302a
['cb22fd656e6b4f83801094cd990051ab']
I am trying to fetch data from three different tables. Namely customer,orders and invoice. This query Runs Absolutely Fine in SQL Query analyzer SELECT invoice.invoiceId, customer.customerName, customer.businessName,customer.mobileNumber,invoice.remaining, invoice.total FROM customer INNER JOIN invoice ON customer.cus...
04e7b0f50784d4c182b3136ba0ef321d7d1c448fcf52c82a0540275279faf22a
['cb22fd656e6b4f83801094cd990051ab']
Open your crystal Report in C# or VB whatever you are using Then Go to Field Explorer and Right Click on Database Fields Like And Select Set Datasources Location... A new Window will open... Expand the properties. Then Find the integrated Security It will Be False by default Change it to True Like
bcd0500089e30555c794523f64b0a51c526687e9e9934e8df6daccbba1ee5879
['cb28054f5a144e67adb2926d8ea7b888']
I'm trying to find the derivative of $\sin^{-1}(x)$. I know the steps that lead to $\frac{1}{\sqrt{1-x^2}}$, however I don't understand why the following reasoning leads to a wrong answer. Because $$\frac{d}{dx}f^{-1}(x) = \frac{1}{f'(f^{-1}(x))} $$ If we plug in for $f(x) = \sin(x)$, and because $\frac{d}{dx}\sin(x) =...
14bdaade2209380ec12f365370d7737b39f07589c96883cc9df2d51f8cf22220
['cb28054f5a144e67adb2926d8ea7b888']
The definition of $\vartheta$ is on the Wikipedia page. I can't understand how this function is well defined when we could very well have a vector $c$ that is orthogonal to some $u_i$. Is it implied that the minimum is over all vectors $c$ with $c$ not orthogonal to every $u_i$?
875f345a6ae8d873c87ee662d773cd5cb1f30133ded139d91d65158f5ef19b48
['cb33bb14b0a74901a3fa90a90a7ba5d3']
Observation: 1) When an app starts ondevice ready event fires, then user kills the app. if user clicks on a apps link , the plugin opens the app properly and goes to the respective page.(Here onDevice ready will trigger and the deeplink observable serves the incomming deeplink). 2) Afte step 1 When the app is switched...
be94e94555d616d871d8430884471872e2de16ac70b04fb4a22ca814abbb5e30
['cb33bb14b0a74901a3fa90a90a7ba5d3']
The issue was in the directive...The D3 code was configured as following: d3.select('div.panel-body')...This instructs D3 to find the first element that matches that description and use it in both instances......Now the directive's LINK property is being configured to use an anonymous function that contains an element...
2d6c4b3eac02202bce88fb263af9b2a2973bfb69c7875f4cccdde9f3503324ac
['cb348060d74344499345e1f8fd34dd43']
you can try GemBox.Document component to export Word document from ASP.NET application, if that is what you are trying to do. Here is a sample C# code that should go in ASPX page code behind: // Create a new empty document. DocumentModel document = new DocumentModel(); // Add document content. document.Sections.Add(ne...
e8179ef38ab074929fa21cec6e0917e2858d085130f3730c60b49b463d51e52e
['cb348060d74344499345e1f8fd34dd43']
I also asked this question on Sandcastle Codeplex Discussion - How to remove internal interfaces from class help page? Since I didn't get an adequate answer, I ended up creating a custom Sandcastle Help File Builder Plug-In that hooks into SHFB after reflection info is generated. It then opens reflection info file and...
03ebb6ce4d5e65b33be55d2caf6eb023b3f3c29be6f898f575df8a2498868970
['cb34b39b635d4128b5c553e5a2cbb63b']
I have a page that is dynamically loaded and contains a button. I am trying to wait for the button to be available to be clicked with selenium using the C# bindings. I have the following code: WebDriverWait wait = new WebDriverWait(Driver.Instance, TimeSpan.FromSeconds(30)); wait.Until(ExpectedConditions.Elemen...
042dad72a7d053dc1547a9d2b911442f68f1ab76b6cc9486d517b3f3f4f0c0f5
['cb34b39b635d4128b5c553e5a2cbb63b']
It turns out that an event was being bound to the button after the button was dynamically added to the page. So the button WAS being clicked but nothing was happening. The sleep thread being placed in the code was just giving the client side event time to be bound. My solution was to click the button, check for the exp...
ac59443458f80c020dca13eaac2e71af0dbf12d6271a004bcc4b981b8c0a6743
['cb38eb56d952479a9eab88f4df683540']
Some variations on the same trick of using the IFS variable. #!/bin/bash while read line; do set -- $line echo $(( ( $(IFS=+; echo "$*") ) / $# )) done < rows echo while read -a line; do echo $(( ( $(IFS=+; echo "${line[*]}") ) / ${#line[*]} )) done < rows echo saved_ifs="$IFS" while read -a line; do ...
2f8c54c1827f5e38c9e6e625751729240c4c1f25747182b9c9f436b1fbad6362
['cb38eb56d952479a9eab88f4df683540']
Use defaultdict and set: #!/usr/bin/env python3 import io import collections from pprint import pprint fdata = """attr1 1,3,7,6,8,12,24,56 attr2 1,2,3 attr4 56,45,48,23,24,25,29,90,56,57,58,59 attr5 1,2,3,45,6,7,8,9,34,33 """ # with open('attrs.txt') as f: with io.StringIO(fdata) as f: d = collections....
e1d48ce0f9d31305ec6cf78696b170f751f09e06a59d32fe8d7f429a26f568b1
['cb39627fd50d4e87a11d9e333349d0d7']
There was many answer for this question but all are for windows. There had a same question for ubuntu but had no answer (Unable to open config file /usr/lib/ssl/openssl.cnf). When ran this command in my AWS ubuntu instance sudo openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/ssl/private/example.com.key...
f366da7c115564722917b02a9a3a6076f82ca2ae9507c360e73b82386b721e4e
['cb39627fd50d4e87a11d9e333349d0d7']
Please help me to solve this problem.This angular code works locally but can not work in django template. I call this static files end of the body of base.html <script src="{% static "js/angular.min.js" %}"></script> <script src="{% static "js/restangular.min.js" %}"></script> <script src="{% static "js/angular-ui-rout...
50f03b6e9d352671949be3a611871951e3c046ef250c45799f2d019db52d1e0e
['cb4c41357e7b45b3af185847de9dd0e2']
It is because even though the app is in foreground or even closed, when a didEnterRegion, didExitRegion (apparently didUpdateLocations as well) event occurs, the app gets 10 seconds. In those 10 seconds, the backgroundTimeRemaining value will show the same as in foreground. However, if you register for a background tas...
15d8e64af6c60b1139dd4e63feab71abbfddfb6949eb05e42a434a0094b28c6a
['cb4c41357e7b45b3af185847de9dd0e2']
I am using silent notifications for the purpose of notifying my app when new content is available. With iOS 11.0 to iOS 11.1, the silent notifications rarely get delivered to the app on background. However, I would want to at least process the silent notifications when the app becomes active again. I did not find a way...
ab3ca8347bd9f73ae05dc3c9b4a44f5e4b54185840c1602814370b9ee657928f
['cb4d825490d943859f70bd8704a39b24']
Thx man. In the mean time i found out that i can referenc job_id druing the creation of the job. "When the job definition references these job parameters in its own parameter list, their values are assigned to the parameters in the job definition when the job executes. For example, suppose that a procedure called proc1...
67f767a51bc258456908b67b71e5d02c5b9c23f1932f12c8eeba65796556a64f
['cb4d825490d943859f70bd8704a39b24']
I have job procedure which do dequeuing from advanced queue, one message at a time.When queue is empty exception should be raised and i want in exception section to remove that job, but i dont know how to referenc jobnum of that particular job.I hope someone can help me.
dc8747edf964569ca74530b43637a9bcc9c5a300cc7c3bf1e9922ed5f622c468
['cb54f0db6b1846ebb4cddcea5de66482']
I am using a simple method decorator to disable logging only in a particular test method. def disable_logging(f): def wrapper(*args): logging.disable(logging.CRITICAL) result = f(*args) logging.disable(logging.NOTSET) return result return wrapper And then I use it as in the f...
e91082c191173dfe6eb6ac1ab431b0795e5aff3d65460ca6e317aaa5fb73a07a
['cb54f0db6b1846ebb4cddcea5de66482']
I'm trying to make a data approximation for quakes dataset, stations column. I'm following an example in the maxLik library documentation https://cran.r-project.org/web/packages/maxLik/maxLik.pdf library(maxLik) set.seed(1) attach(quakes) ## log likelihood function. ## Note: param is a vector llf <- function( param ) ...
037fe6378418646e4884d93516d15721944b30f03bd578e83f102afc9cbce805
['cb583aaad747420fadd54fe326ae0e72']
As per Swift 3.0, we have to functions sorted() and sorted(by:), where sorted() will return array of values from ascending order and in sorted(by:) you can make it ascending or descending. let array = [[1,2],[3,4],[5],[6,7],[8,9]] print(array.flatMap{$0}.sorted()) print(array.flatMap{$0}.sorted(by: {$0>$1})) output ...
c30dc65ed61a2520a4c04dee874a4c42d72f3e28e5a155edba228f1836176dde
['cb583aaad747420fadd54fe326ae0e72']
I also faced same problem in AFNetworking, as instead of using - (NSURLSessionDataTask *)POST:(NSString *)URLString parameters:(id)parameters progress:(void (^)(NSProgress * _Nonnull))uploadProgress success:(void (^)(NSURLSessionDataTask * _Nonnull, id _Nullable))su...
d63cefc46495a446385769a751deef11408040b5b7314995c5811f580cf2a3e0
['cb612e4231354c409dd3a45965c1316b']
You should look into making some kind of class to abstract this all, so that your "Profile" could extend it, and all that functionality you've written would already be in place. You might be interested in a readymade solution - these are called object relational mappers. You should check out PHP ActiveRecord, which sho...
e267476356c2c0c1213eb49e595541359e77db2494e91aeea2b5040224fb347f
['cb612e4231354c409dd3a45965c1316b']
I'm using the Django manage.py runserver for developing my application (obviously), but it takes 10 seconds to completely load a page because the development server is very, very slow at serving static media. Is there any way to speed it up or some kind of workaround? I'm using Windows 7.
d80882c9f7bbf2b12f150f290717f55cd43369339cb1ada8fc1bbc0dd7d375f9
['cb70c3060c7b46e18ce8eaf47980b56e']
In my 3 layer maven application (enterprise application archetype with an extra module for domain-related classes) I'd like to keep the domain module as clean as possible. My persistence.xml, for example, is in the ejb module. Following that train of thought, I'd like to generate the JPA static metamodel classes also o...
0cab182031ecfb74e32e20f796f0e32fdf4a6eac65e5407299dd8a5642daf6ff
['cb70c3060c7b46e18ce8eaf47980b56e']
I have a p:dataTable with p:contextMenu and some p:menuitems. One of these menu items should pass on an id to another view which is read like pointed out here. The thing is the converter throws the required message like the id wasn't sent - and it seems like it truly isn't. I think I'm missing something basic, but I r...
33d6416b53c103b309c0eca0647f4b995b128791d56cc8dcda5186fa9193cd03
['cb7c0e00a27b4fa4ba43b13b3d71b1fe']
I would like to automate the following process through Excel VBA: 1. Open Putty particular path 2. Login with Credentials 3. Navigate to a path in the server. ( cd /folder1/folder2) I am able to to do 1 & 2. As I am new to VBA , I am not aware as to hw to achieve the 3rd .
fb5713613483759579bd210e6704b2a3e8d079927d83fb77290561604173416c
['cb7c0e00a27b4fa4ba43b13b3d71b1fe']
I am getting a Invalid Protocol : null error when I run my postman collection via Newman. Steps I have followed Installed node js Configured npm registry using npm config set registry Configured npm proxy using npm config set proxy 4.installed Newman using npm install -g Newman Tried to run a postman collection usin...
836cc7e4d91972c3f6221265d0e618aa29540acbf33548accf6bbdb3642f7032
['cb8e57d837ea42a39bd7718ae5b9d4e5']
I'm stuck in this exercise from Mathematical Logic, Ebbinghaus and would appreciate some help. A set M of natural numbers is called a spectrum if there is a symbol set S and an S-sentence $\phi$ such that M= {$n\in \mathbb{N} $| $\phi$ has a model cointaining exactly n elements}. Show: (a) Every finite subset of {1,2...
3822bbab5ae78e1754d4c04e96bc5dcb1705fd14e591248ced1c6084cbecd5e8
['cb8e57d837ea42a39bd7718ae5b9d4e5']
<PERSON>, this was the first solution that I thought of. However, it does seem pointless, so I got a little insecure with this answer. This is everything that the problem says, it's a homework list covering chapters 3 and 4 from <PERSON>' book. Anyway, that must be the answer, thank you for your attention.
b124c38faa95a96f5d4591a6b00687747f2a4ede6a6f80fc93693c64d6b4b5fa
['cb970f4559874c5cae294ec11c6f0c87']
Maybe this? public class Geojson { public string type { get; set; } public List<List<List<double>>> coordinates { get; set; } } public class RootObject { public int place_id { get; set; } public string licence { get; set; } public string osm_type { get; set; } public int osm_id { get; set; } ...
795ac38c343ec615039022de00eadf0103d413d554bd7e9610911b1e1562953c
['cb970f4559874c5cae294ec11c6f0c87']
I'm using default ASP.NET Core DI-container My hierarchy: interface IRepo<T> where T : Entity; - (CRUD) interface ICarRepo : IRepo<Car>; - (CRUD + more specific actions) class CarRepo : ICarRepo; - impl Startup.cs service.addtransient<ICarRepo, CarRepo>(); So sometimes I can directly ask IoC-container for ICarRepo...
e0acb4144d97741422d5294de3420c7e42273d5e73bacce42bbb62b385c2e9f9
['cba3f1f72d0d4b18b5bf617f9c2b18d7']
I am using amcharts in the React Hooks environment. I'm using force-directed-tree. https://www.amcharts.com/demos/force-directed-tree/ The data applied to the chart is filtered based on high values and then reapplying. Every time the data is reapply, the chart is rendered and the animation continues to be applied. How ...
8bbe04bb25a4a7f702c8cca4a7e73cf02c1bb25f8050b7d4433ce0be8d68ad24
['cba3f1f72d0d4b18b5bf617f9c2b18d7']
TypeError: lists.map is not a function 1.I'm using React to make a TodoList. It works until you add a list, An error occurred when adding the delete feature when the button is clicked 2.Is it a problem to use use useContext to separate lists from other files? I'm sorry for the awkwardness of the question. Thank you ...
d395c1cf2ce4130beade09726f6a90c7a38e919446341617d99ef04c8203f482
['cbaffac109c74040a697ec0c785effd2']
I am new to javascript. I have two documents--an old and a new--that I am comparing. However, I am getting a syntax error somewhere in the code below. Somewhere in here, my code is blowing up. The error says "expression does not eval to a function." Any syntactic ideas of where I'm writing an incorrect statement? if(...
711a409bda847b25ad8654255777b41d460824dd772dd5d9a1627bfd6eca8248
['cbaffac109c74040a697ec0c785effd2']
I am using Windows authentication on a website but want to have levels of access. Currently, I am using the [Authorize(Users = "userA")] syntax. However, with upwards of twenty Windows accounts accessing a site, I don't want to have to hard-code in twenty users with each Authorize statement. What's more, some of the u...
a1fe2f2d33d2e2491c20a852040a60c6b6221eb607c3d34da334d2775c31d970
['cbb21b947b11420fb9cdccaacdc74cb3']
The problem is not the module. The css should be available to every page in your theme. Make sure that your CSS file is mentioned in YOURTEMPLATE.info file (YOURTEMPLATE is the name of your template). It should look like that: stylesheets[all][] = YOURCSS.css If your css file is in YOURTEMPLATE.info, try to clear d...
efafab72f4dccc481c138ebc7976a786b89f05ff0e116a9ab0adac44e2f02e62
['cbb21b947b11420fb9cdccaacdc74cb3']
It is simple Facebook social plugin called Like Box and you can get it here: http://developers.facebook.com/plugins?footer=1 You can install it on any webpage quite easily - If you follow the instructions on the page linked above. About the slider - It can be achieved quite easily with jQuery. Put the Like Box on some ...
f21f5b3b47f65e01b7db27011dc24424dd8d5f56a4e7da4b05a9c5555f237709
['cbb8b11af38940318cee74cab22588c9']
I was trying out an example from a book to confirm how JavaScript event loop works, here is the code const <PERSON> = () => console.log("baz"); const <PERSON> = () => console.log("bar"); const <PERSON> = () => { console.log("foo"); setTimeout(bar, 0); baz(); } foo(); It is straightforward how setTimeout w...
1ef0d304be353ba58a1175d4b0e5270c17f02df2ab0167a368850fe72e2c2e87
['cbb8b11af38940318cee74cab22588c9']
I'm trying to do a simple test of npm update here is my package.json { "name": "nodetest3", "version": "1.0.0", "description": "", "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "keywords": [], "author": "", "license": "ISC", "dependencies": { "chal...
ee8cd78494959d79268af875b864faafe150903a92bd1e16e4d026b6431a19af
['cbbdb776aad04d5e82d7a378b2250fa1']
I am new to PHP and I need assistance making this bit work. I am trying to have the directory folders listed in a PHP page. So far it is working but the list of folders appears in "Standard" order. I need it in "Natural" order but I cannot make it work. Standard Order: 1 10 11 2 ... Natural Order: 1 2 10 11 ... Her...
a35b0621cce473b4820fb8c0cb24d93eb38da21db8ba434a0fc8c54ea8cf4cf8
['cbbdb776aad04d5e82d7a378b2250fa1']
Thanks to <PERSON> who pointed me in the right direction. Taking <PERSON>'s solution as base, a small modification was needed as it was still throwing an error. This is the final code, working ok: <?php $directoriesArray = glob('*', GLOB_ONLYDIR); sort($directoriesArray, SORT_NATURAL); foreach($directoriesArray as $d...
7142449f0d6ae7f9d5e1a5078f54db0fcecc21b9613176e21a1d7dc33db4de8f
['cbcc97ef4fc94d7e8d43d52d614c578b']
I am surprised that there are very few articles online addressing this issue. I am trying to create the famous "DOM ready" event for IE 9 and 10 in vanilla JavaScript and here's my code (stripped down to it's core): document.onreadystatechange = function () { if (document.readyState == "interactive") { document...
531f4c7c4af7f09d2e8671f2217652ed88001cc9db90765551d41f00a4734a40
['cbcc97ef4fc94d7e8d43d52d614c578b']
Now I am not talking about creating children or a child node, I literally mean HTML. This is what I want to do: I have a basic node, for example: <div id="foo"></div> And I have a string of HTML, that I want to append before that element (kinda like what innerHTML does, with the difference, that I am obviously putting...
51102547779b293bc450ce950fa24414d1aea23cc544fa2a0104850cbcd77802
['cbccf98f51944263be041a56ad88f59e']
Well, I think cl-netbox answer will work for most of the people, but that didn't solved mine due the fact that I'm running 2 NVIDIA cards at the same time and I can't deactivate the integrated one (650M). If someone finds a solution for my special situation it would be AWESOME, currently the only thing i ould made was ...
fbda6ca00ef248a7b581947e270820512ca205adcf4842f6bcfc2aa8c1f5e497
['cbccf98f51944263be041a56ad88f59e']
Thank you. Yes, I see what you are saying now. I feel very very rusty. So my question actually was "in what circumstances could we be sure" and I'm wondering now, from what you have said, whether there is an answer along the lines of: "if the P and R curves are gentle, then the maximum of M will be close to the point w...
756d4c43f34fc7d3ae31e2c50cdff2f4a8a1aae6e541c365010b8e8ce5843af9
['cbdd237079ce4b89b45c84d9dce6089f']
I've been doing a project on reading doppler speed and creating velocity data. I don't have a firm background on electric engineering / signal processing but I've researched quite a bit so far. Please bear with me if I get things wrong in my explanation. I am currently using HB100 and CDM324 breakout model. The object...
395752fc4a3e024481cf5046a6cbadecb114af2b9d8c56c16adc8056fbdb7fb1
['cbdd237079ce4b89b45c84d9dce6089f']
I am designing an iOS app that receives multiple contact numbers from a server and sends messages to those numbers. I have made this service with an external API called Twilio, but Twilio costs(quite a lot actually if all my users are to send bulk messages). I want to make this App free for use and to make the user pay...
7a7e7405109a96e4b09a54cbf239289fb8583363791e3916a63e92c8267270be
['cbe5a0ad703947bdad25b7d51b897dbf']
I have seen a tons of question about this subject, but whenever I try to adapt it to my situation it never work. Why when I click on the sphere (saphi_mesh) ray.intersectObject(saphi_mesh) return an empty array ? What did I miss here ? JSFiddle: http://jsfiddle.net/qZh59/ init function: container = document.createEleme...
bb48814c8e15c69a97703967d3ba0c00e6fc31eb1a1d20505289719980474d15
['cbe5a0ad703947bdad25b7d51b897dbf']
I need to open PDFs from another pdf document in new tab. I found this solution and it's working like charm: a) in the Document-level script: var myOpenInPlaceSetting = app.openInPlace ; app.openInPlace = false ; b) in the willClose Document Action: app.openInPlace = myOpenInPlaceSetting ; But I have to add this scri...
5b9bfa8cb5c66bebbfef7fdd90c28f99a0f464573af8f77f359e252b1c3faa91
['cc00f67140324d6f880b77e3c25f0dfa']
I need to retrieve all items in the SimpleDB domain from java application. So, I used the select method, but I don't know is there an easy way to store the retrieved values in an xml file?? or I've to create the attributes and elements by myself and set values to them, like this: DocumentBuilderFactory docFacto...
5ae3b6750da133e539436906c8b545dd29ffd02ca966fed30dacebb5a013e13d
['cc00f67140324d6f880b77e3c25f0dfa']
I'd like to extract all tweets in the Arabic language in all countries. I modified the code in this tutorial. This is my search query. api.search(q="*", count=tweetsPerQry, lang ['ar'],tweet_mode='extended'). I expect to find a very large number of tweets, but I only collected about 7000 tweets. I checked the cont...
67149944135b4f89cc98823b4b654d79c04860f33fd48400523ad72d5def5ead
['cc18f98f2d2e41e79312be27e0e22d80']
There is an another way round with JavaScript like this:- document.getElementById("option1").innerHTML="asdf"; By using this you can keep the div(where the text is to be shown) empty in the starting so that there will be no chance of text being displayed before it is needed, and when a user clicks on the options then ...
1dff24813a96139e6308880151877a5063e0ebff702d6a36b0d6a458e71d547c
['cc18f98f2d2e41e79312be27e0e22d80']
First of all in this var password = document.getElementByid('password'); the id is written wrongly it should be var password = document.getElementById('password');. Second, it will be better if you use this:- {var username = document.getElementById('username').value; var password = document.getElementByid('password').v...
f48f34b9e8c551cf4825fcbb62d0c81684f9478d5b6a30b48621978058497308
['cc1b780c3a5f4c9c95b8400a642d249c']
I have logic in a Sinatra project that determines different behaviour depending on if the environment is production or development. if Services.production? # do something else # do something else end How can I test this code? I have tried the following but it didn't work: expect_any_instance_of(Services).to ...
8a5d8494bb154373cb8a1e7b385321d82019addde0f1d2bbc6a87bc06e4756b4
['cc1b780c3a5f4c9c95b8400a642d249c']
One way to do this would be to use canvas. @Override protected void onDraw(Canvas canvas) { super.onDraw(canvas); Bitmap map = BitmapFactory.decodeResource(getResources(), R.drawable.map); canvas.drawBitmap(map, xPositionForMap, yPositionForMap, null); Bitmap marker = BitmapFactory.decodeResource(get...
96ae5e7488ebeb44b8604ea4ddd6692ad66253abecd587b1e5b3dac6b66db6ad
['cc286bcf65d54d7cb08c6db06123c63e']
Just a newbie here, but I was abble to make it work in a ui.bootstrap.modal with this directive: directives.directive('focus', function($timeout) { return { link : function(scope, element) { scope.$watch('idToFocus', function(value) { if (value === element[0].id) { ...
8ac788b902bba6ebff5e4d06f8ad4d4871981b7271d3d440fcd2d9a914a840e0
['cc286bcf65d54d7cb08c6db06123c63e']
I checked this and turns out that it's caused by a disk full. Docker has free space to start pulling the image but cannot finish it because disk gets full during the process, therefore the process fails and this not so helpfull message is returned. free up some space on disk will solve this error, in this specific ca...
83ec568f1f54ce5cb98493ecc1b5aea5f5062566ceeac4c8514e4cf145e59460
['cc2f4b4bc1874ba69176e4a730926ee1']
I try to write 32bit integers to file using an ostream. I'm using the << operator: ostream file; map<unsigned char, int32_t> histogram; //… file << reinterpret_cast<char*>(&histogram[i]); It works well except for the last number (in my case 11328 which would be 40 2C 00 00 in binary) but instead only 40 2C is writt...
b37efb56e70174831933193a1d066496e49d3c6a7be9efa9fc48dd77f4a6c304
['cc2f4b4bc1874ba69176e4a730926ee1']
I try to create a heat-map with text. Using the examples I created the following code: for (var i = 0; i < trgLength; ++i) { for (var j = 0; j < srcLength; ++j) { var newItem = {} newItem.srcWord = decodeHTML(data[k].src[j]) newItem.trgWord = decodeHTML(data[k].trg[i]) ...
efa9203f5765ef64bfa27ca080f3eca10287d308d3a9cf9873f8c24d54eb4603
['cc51dee5fd3d421c8207dc7149af47f9']
Not knowing the exact API you are using, my hunch is you need to make each id unique in your database call; currently you are using the same childSnapshot.val().idKey for each entry. Try something like chrome.contextMenus.create({ id: childSnapshot.val().idKey + '-page', title: childS...
088d23669eaf331ff7f86a02b3b2cc39e78d43324873b7a78e4d6ab7a29f57b7
['cc51dee5fd3d421c8207dc7149af47f9']
It seems like your <div id="test"></div> should really be <input type="hidden" id="test" name="test"/> within a <form> Using a form element of some kind is the only way you can natively pass a value back to the server on submit. In any case, the inline PHP code after your HTML will only work after submit of a form.
928c9f9598f1abdc4df2f53a96ddb61e71eee0eaf163751f05d88dd81630cb86
['cc5494dba088485882db45ba3cae1ee9']
Using the datanucleus-maven-plugin with this configuration: <plugin> <groupId>org.datanucleus</groupId> <artifactId>datanucleus-maven-plugin</artifactId> <version>5.0.2</version> <configuration> <fork>false</fork> <log4jConfiguration>${basedir}/log4j.properties<...
2f55e876f8e2eefa8174687caf517b0897246e996d31c3e9a52265f4cc180484
['cc5494dba088485882db45ba3cae1ee9']
I'm using the recommended GWT Maven Plugin and the GWT Eclipse Plugin. Actually I'm using the maven plugin with the appengine-mave-plugin to try to emulate the old Google Eclipse Plugin Super Dev Mode. Following the Google App Engine instructions from the GWT Plugin documentation and the suggested sample project gwt-b...
a28292d441fe565296068b1c3104ad9a6b0a478454c7ed337c488a986543674a
['cc5d8556fd984654b04e7ecf99aa4ca5']
Below snippet works for me. try this code and if it don't work for you, can you log whole exception message. MailMessage Msg = new MailMessage(); // Sender e-mail address. Msg.From = new MailAddress(txtEmail.Text); // Recipient e-mail address. Msg.To.Add("<EMAIL_ADDRESS>"); //Msg.Subject = txtSubject.Text; Msg.Body ="s...
2182c2dbc764aa31b08ca53af4a6b73ccb467b143a4807e2a36246f0bd602d99
['cc5d8556fd984654b04e7ecf99aa4ca5']
you can use C# sdk api and use below method, it will return status whether it is completed or not. https://docs.aws.amazon.com/sdkfornet/v3/apidocs/items/StepFunctions/MStepFunctionsDescribeExecutionDescribeExecutionRequest.html This will give you overrall status. In case you want to track status of specific activity. ...
3274b813fbdec973e6bd60a69454731dc48201554c3fc9f6be764b34cbbed00f
['cc67107a79f04178a8b9091687596064']
Here's my code. Everything is O(1) except for the seeded constructors. using System.Collections.Generic; using System.Linq; public class TwoWayDictionary<T1, T2> { Dictionary<T1, T2> _Forwards = new Dictionary<T1, T2>(); Dictionary<T2, T1> _Backwards = new Dictionary<T2, T1>(); public IReadOnlyDictionary<...
4d34b113c1c94b7a8f41fe63d2b3a24863f5d1161ca8662ec8d649ac46785ccc
['cc67107a79f04178a8b9091687596064']
I'd like to do something like the following with my code: BaseClass class; if (BaseClass is InheritedClass) { class.MethodOnlyInInheritedClass(); } However I get an error that BaseClass does not contain a definition for MethodOnlyInInheritedClass. It doesn't, but I know based on the previous test that my particul...
d9e9b40f000dbdb6dc9b1fb3b339b54ad0ea81a54a16cb9f0511738b10577e17
['cc69a129ff0e4fb79e19aa07cc3bde77']
In short Add this line: p.setViewerPreference("FitWindow", "true") Explain Set viewer preference with: def setViewerPreference(self,pref,value): set one of the allowed enbtries in the documents viewer preferences Available pref and value are: class ViewerPreferencesPDFDictionary(CheckedPDFDictionary): vali...
cc1e53d672c76f9133d930288e7bb18fb5c44b7cc0f2aefd6ceb57ab272824f1
['cc69a129ff0e4fb79e19aa07cc3bde77']
Yes. numpy.linalg.norm is for Matrix or vector norm. It depends on which kind of L1 matrix norm you want. You can specify it with argument ord. (Doc) numpy.linalg.norm(x, ord=None, axis=None, keepdims=False) Matrix norms induced by vector norms, ord=inf "Entrywise" matrix norms, ord=0 Schatten norms, ord=nuc
ebfdaae26741c803c1d21eebf1adfe6573a245213a1f5917ba94b14e3179a4b1
['cc715c77ff8c453bb2e1c9a8b592c780']
Because stoi is a function from string library you dont redefine stoi as int stoi. Delete int stoi it would be succeeded. Complete code like these #include <string> #include <iostream> using namespace std; int main() { int number = 0; string hex_string = "12345"; number = stoi(hex_string, nullptr, 16);...
73a3d61039cf817aacec9031d3b3ea1a9ad20b088747538477939839244fdfdb
['cc715c77ff8c453bb2e1c9a8b592c780']
read_xml() function get a parameter of xml name and ptree member, but i want to send file's file directory such as C:\Users\serhan.erkovan\Desktop\ddd.xml as a variable. When i tried to do that it gives me error that cannot open file. How can i send file directory as a variable ? My example code like this ptree pt; ...
c39ffdce030510b6ecd5aa0fbe03b9032e35435cb8b20ce45cb9d1d71475c5c5
['cc79f84c8cbe45d6b631d72696b35950']
Update 2018 Not sure what all has changed since 2012. Just wanted to give an update as to my experience in 2018. We have deployed an openvpn network very similar to the OP setup. Our endpoints are full blown linux pcs instead of embedded devices. Each endpoint has a monitor used to display information and alarm for tha...
8e912713ba39e9f9f9eab84b81b9a7b841b13db9dc48f9c817263a08cecce2df
['cc79f84c8cbe45d6b631d72696b35950']
Before ditching windows I enjoyed very short boot times because my OS and mission critical programs were all installed on my solid state, while my music, videos, recordings, and video games were on my hard disk drive. I wanted to have a similar setup when I moved to ubuntu and put /usr/ and /home/ on my HDD and everyth...
9d8292478436ddafdc9c4b43be19a56f719ebc965081cf3cab219dd31a4ebbd6
['cc8f466115ed4fd1a4faa8ef4d8505c4']
Because the static methods can't access instances values, just static values. So if you want a static method to access values of field of an instance you must pass it as a parameter. In the end you'd better think of make the method not static so that you can call it directly from on instance object. Besides, there is ...
9b8ba19f286356b741eeb1bdac91fd6108b5da2cf500da91a65e30dc9c2f7505
['cc8f466115ed4fd1a4faa8ef4d8505c4']
Thanks for your answer. But there is no program or something like that which could change it? (Like MagicPrefs for more Mouse and Trackpad features)... Otherwise I'll have to use it without animation... The problem is just, that I often use phpmyadmin for MySQL databases, and the create table forms are within an iframe...
20ee05b49fd59d4847425d98a87e17ed773ef37617d4545db283e0be1c0c107d
['ccadc87cbd4a403c94b49c76405c34f0']
I am upgrading my elasticsearch from 2.2 to 7.1 and I am maintaining both the instances and I am trying to compare the results on the new version and old version by making the same search queries. Note: I have not changed the mappings, settings or querying logic My results are almost the same but vary a little in scori...
af128aa07ed38c09d6df2063f0b4ab84abc2d0c557e913d65f54d59e935bc6f5
['ccadc87cbd4a403c94b49c76405c34f0']
You need to use self.search and also I think there is a better way to solve the problem The question is basically related to Binary Search. You can learn more about it at this https://www.geeksforgeeks.org/binary-search/ I am also attaching the code in Python for reference along with test data. Hope it helps def binary...
3a8d0e54671f5303ca32acc6f104aa7bf1203c8a0fafee85330e84ca48fc9c49
['ccafe5cb7db449f3b0fcd4e4b9a8fb7e']
{ Recipedetails2 item_details = new Recipedetails2(); item_details.setName("Godhumai veg adai"); item_details.setIngredients("Samba godhumai rava - 1/2 cup. Bread slices - 4. Curd ( thick ) - 1/2 cup Carrot ( grated ) - 3 tsp Beetroot ( grated ) - 3 tsp Cabbage ( grated ) - 2 tsp Green chill...
8fdab6a42910485ff07280afe84f477dc36c140089d73265eea89ca7c57f7925
['ccafe5cb7db449f3b0fcd4e4b9a8fb7e']
This is the correct code i got ItemListAdapter.java public synchronized void refreshAdapter(ArrayList<Recipedetails> items) { //itemDetailsrrayList.clear(); itemDetailsrrayList = items; notifyDataSetChanged(); } and in mylistviewactivity.java private void refreshYourAdapter(final ArrayList<Recipedetails>...
7d9dd74f1cb78fe95419035985a45d2ab2cb8f33c324c909536c2de0629df187
['ccbc9c0b29b645b38c349ab611e3d4c8']
@mcalex look him in the eye and ask that he please do that in writing. He probably knows that the things he's doing are against the wishes of the CEO, and he knows that you know. A good manager will allay your fears, a manager that is planning to toss you under the bus anyway is not worth respecting so you might as wel...
2b8724f6f328025214df7c2f52663b5c5c8b0c909b44006fd27a7464cf4e37f7
['ccbc9c0b29b645b38c349ab611e3d4c8']
First, important question: Is your phobia diagnosed to be severe enough to be a disability? Not all phobias are and not all psychologists 'believe' that one can be a disability. Because if it is then you should be fine, any repercussions are illegal unless the disability severely impacts your work. To illustrate the l...
cb012a5b9701369692ac8320c4e690422813ac53162736645cdda9815b35b540
['ccc5530cfdb2446aaa266aa256143ab8']
Estoy trabajando en la base de datos MySQL y necesito generar un número consecutivo de acuerdo a cada "categoría secundaria" que se encuentra dentro de una "categoría principal" y un número consecutivo de cada producto de acuerdo con su "categoría secundaria". He creado una vista para no complicarme con las relaciones ...
b214e1270ab319f983f9cd74cfa497db045255838ef7e95e7925173c563c7e02
['ccc5530cfdb2446aaa266aa256143ab8']
Hola (estoy recien aprendiendo), Necesito en el value asignar el valor del id. Ejemplo: <option value="{{$idcategoriacuenta}}">{{$categoria}}</option> El problema es en el array() no se como mandar el valor de la categoria y el idcategoriacuenta Tengo el siguiente código: En el Modelo: class Cuentasconcategoria extends...
d40625753bad99a3bc12fb06f386b3ebbe82f81a13dffc661b86a63b68a7e690
['ccc60269ecb1476fbe3cec4ed74345a0']
A technique I've used is to insert a "hard" breakpoint (__asm int 3) in the module init function. Then either run it through a debugger or just run it and let the windows debugger pop when the interrupt is called. You can download a nice windows debugger from Microsoft here.
6103c08c83300d8aac1187a817bea78408084b7557b6f8894ede4504377ef2f3
['ccc60269ecb1476fbe3cec4ed74345a0']
I am receiving this error while deploying Reports through ANT. After investigation I found that the below 'backets' tag don't have tag 'sourceValues'. However the thing is that I have just got these report files by ANT retrieve command from the same ORG. and Have not modified any file. Is it related to version issu...
b6b3b23b4136ec21610b26ba3db8ac1a684508708ea3b2582b6864cfee9a9855
['cce67fa17a3347d5a145efa4c4129f2e']
Your markup is mostly correct with the exception of using the center element and you do not need to wrap the img element in a div. Here is some example markup: <div class="thumbnail"> <h1>Heading</h1> <img src="sample.png"> </div> And its corresponding CSS: .thumbnail { position:relative; } .thumbnail h1 { tex...
05f082ff9ec973ef19d692f8469e301cdf7ffa69573271beddd646f0ff559c29
['cce67fa17a3347d5a145efa4c4129f2e']
I haven't been able to find a source for explaining that difference in ie7 but here is a quick fix: change the nested ul's to have an absolute position of right:0; instead of a left-margin of 200px. alternatively you could provide a conditional stylesheet for ie7 that gives them a left-margin of zero. but since the uls...
065b6a26942749dddc1eefa034569ffdb7f40120dbcb89ae59f4111fb93f27a7
['cce9a275224f4719a108e170c1113026']
Apple maintained support for all iOS 8 devices in iOS 9 but that meant that some devices couldn't fully support some of the new features. If it's the first generation iPad mini you have, drawing in Notes is not supported. Support starts with the iPad mini 2. I haven't seen anything about Siri Suggestions not being supp...
eb66e5559fed6b6b87adf6cc8fde3d79c0f8d57a2d1c23fbb2556fcaa0cf6d9d
['cce9a275224f4719a108e170c1113026']
Messages syncing can be finicky. Go to Settings > Messages > Send & Receive and verify that your iPad is configured to use all the same addresses that your iPhone and Mac are using. It is also helpful to make certain that all devices have the same "Start new conversations from" setting. I recommend setting them to sta...
dd85520660c589b58c7f331c82def566026e568ff3d90dfde9737567bea9c334
['cceda69013f64c408f838d0f67c16201']
SELECT COUNT(t1.tid) AS count, u.user_name, SEC_TO_TIME(SUM(TIME_TO_SEC(TIMEDIFF(t1.endtime,t1.endtime)))/COUNT(t1.endtime)) AS `avg`, MAX(TIMEDIFF(t1.endtime,t1.starttime)) AS `max`, MIN(TIMEDIFF(t1.endtime,t1.starttime)) AS `min`, CONCAT( IF(t1.starttime>=(N...
38b0e47d1fae4fc9d165bdc816e5928ea3ec9a9a696848cb0b1a6f1e02e9eaaa
['cceda69013f64c408f838d0f67c16201']
I solved it using the following code. Not very clean but for the time being this helped us to progress with the project. As you can see the problem is the connect event not firing after a page reload, so I decided to attach the events after a timeout if connect was never fired. function attachEventListners() { sock...
62924f5bf899623ebf94d2bb4956218ff1926bcc5c0f9a01ac8e92cb8850c677
['ccf14d9535194fad85647240632304e5']
OS X (Hackintosh). I shrunk Windows in Disk Management and OS X in Disk Utility. [Here](http://i57.tinypic.com/16jesrl.jpg) is my Disk Management screenshot. At the top is says C?: is ~300Gb but in the box in the middle it says it is still ~600GB. **Edit:** also not sure why it says all of E: is free but that might jus...
e40b7534a07ffc12ac316cb51217fa73722080f527a0b313f7beea755fa99a67
['ccf14d9535194fad85647240632304e5']
In my PC I currently have a 1TB hard drive that I am trying to make into three partitions: one for Windows, one for OS X, and one as a storage for movies and Steam games, just to keep them separated. I know I could get away with two but I think three will be more organized. Anyways, first I got both OS X and Windows pa...
51edbc91d9523b279948283bbfeda6aef01566dd4c3c62c89e479c357fff9ca7
['ccf317b4d180450b9edf963a2364fcda']
I am trying to add an object to an array but it senting zig bart error "unrecognized selector sent to instance" Below is my code AppDelegate *appdelegate = (AppDelegate *)[[UIApplication sharedApplication]delegate]; NSDictionary *infomation = [self dictionaryWithContentsOfJSONString:@"Contacts.jso...
00bbf20b8c5de7f0012265908877a2b93a2836b8f63d3003aab5344287ce318c
['ccf317b4d180450b9edf963a2364fcda']
I have an iPad application in which I need to send some datas to the server and if get success response the data is deleted from my cache folder . I am currently using asihttp network queue to do this and working fine in one viewcontroller . But what actually i want is to process the sending with in the application th...
93b68311e123459f4b81d0051a6c23b22689af9190d15ac91dc95f07179cedce
['ccf44e23db8d4c91bf672a33e022ac19']
I do not see "tzPlayInfo" anywhere in the code you provided. But it is possible for previousValue to be null if PlayInfo.Instance.History has any null values in it before setting historyValue. From the code provided I don't see where PlayInfo.Instance.History would be populated. I wonder if there is some confusion aro...
e6c75f5e7a0912e34bae521d7a8c710db2b4cb1b0aa7081e3941caea0a04be85
['ccf44e23db8d4c91bf672a33e022ac19']
I'm not sure how you are getting the CN but when I need the SamAccountNames from a group I usually write something like this, var samNames = new List<string>(); using (var group = GroupPrincipal.FindByIndentity(principalContext, "GroupName")) { if (group != null) { var users = group.GetMembers(true);...
6b07d185f303305391795859216efe3ff51f937d705a9e4b71261fee47864670
['cd0a9528cd7b40178ace05973b5d93fd']
Well, I just figured it out if it helps anybody in the future. For me, I was adding a new column with conditions like SELECT* ,Case WHEN calculated columnX like 'text1' OR calculated columnX like 'text2' OR calculated columnX like 'text3' THEN result END AS columnX FROM TableA but the column...
91dcca2098f48ee75a594c66f9996df02804b60a2b10a093392f34c8d7d926b9
['cd0a9528cd7b40178ace05973b5d93fd']
im trying to validate an xml file with a schema .xsd and it's not working. I'm in Eclipse and when I right click ->validate the XML file, it doesn't give any error (I made sure to include an error in the Schema file). I've got <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE xml> <rootname xmlns="urn:target" ...
b9ae0d692b058a89a377673aab89255c40aa875a0509477ff009d28cf1ab4515
['cd1f73074e1e4021bd03b173d346ac8c']
I've a new version of an App that's ' waiting for review' and when it is released to the app store I want this new version to be free whereas the current version is paid. There doesn't seem to be a way to set a separate price for the version in review. Have any other folks ran into this and solved?
8440e972987c5520ad50159d7b73771c027f30f70141b73e6c831a519822717a
['cd1f73074e1e4021bd03b173d346ac8c']
I have a set of Collections whose names all start with ABC and I want to write a single rule that applies to all of them regardless of what follows ABC. Something like: match /ABC*/{anyid} { allow read, write; } Is this possible? In the Rules Console there are no syntax errors highlighted, but the Simulator won't al...
3a656192f1cb227dec351a1a0ea4dfe151cad7cc3a000d45a4ad8747ba6540e1
['cd28afed56cd4b8380dd9038a94ea8bf']
I'm making outlook calendar appointments application in asp.net. this code is working fine. But I want to set organizer name in appointment which is not working in email. I have attached my email screenshot. kindly help me out to fix this issue. See Organizer name in image is Unknown System.Text.StringBuilder sbICSFile...
e75a1b37157f33f90e7a2a4d07ad46cc8c1bf6f8b2776168357299b6b686f41f
['cd28afed56cd4b8380dd9038a94ea8bf']
I'm using Twilio api in php with native library and I tried many solutions from stackoverflow or from their official website but none of them is working. please think before marking it as already answered. I'm providing some proofs that its really not working. please help if I'm missing some headers etc. because i trie...
40d900bb2dff9a04339ab190294340dd39b9219273692c645912bb058c09a0f1
['cd2bc8e7d20f44eaa963cac2f1e37882']
I am using Oracle ODP.NET, Managed driver and Entity Framework 6. I created my tables using the code-first approach but wasn't able to add any records due to a null primary key. The solution was to grant my user both: 'CREATE SEQUENCE' and 'CREATE TRIGGER' permissions and re-create the schema. I realized this after usi...
8d799390a563b15999185dac7cbd99f6fdbfddbbe9c41573520408da04e2874a
['cd2bc8e7d20f44eaa963cac2f1e37882']
I have two models in my Rails app which form a one_to_many relationship. The first model, store, represents a brick and mortar store and has latitude and longitude columns which are being geocoded correctly using the 'geocoder' gem and an address column. The store has_many products. The product has_one store. I would l...
6c157af62513f8cbefa0cd487fe8a58d4961e6bf2e002f9364864ba81560d27c
['cd2ce4bdd57c45f9919c02f4bcb2d6c1']
In general my code works very well with one issue i can't get resolved. My ESP32-cam runs a websocket server streaming the camera to a websocket client. I've improved a bit the wifimulti funktionality with the ability to reconnect in case of a lost wifi connectivity. A simple reboot does the trick. Unfortunally this wo...
2b905290233a1c240703d3c0d91eb25236e4c2eae52dceff87d757fada372203
['cd2ce4bdd57c45f9919c02f4bcb2d6c1']
Seems not the right place for question like these. After some try and error i got it running. Two functions called in the void loop did the job. void camera() { if (WSserver.poll()) { auto client = WSserver.accept(); if (client.available()) { client.onMessage(handle...
9fd3418a1577f927a2254a36e8e9e2d6bee6c691f02c548be91d0b577b0a453a
['cd4edd02454045faac5bfb07719f61f9']
I believe I have fixed the graph, all my data functions (or appears to) as intended. Thank you for the help <PERSON>! Public Class Form1 Dim population() As Single = {97, 2, 1, 0} Dim susceptible As Integer = population(0) Dim firstDay As Integer = population(1) Dim twoDays As Integer = population(2) Dim immune As Int...
16889c17c3b83492189b085b888ebebd08fbf6b5502f2803e64f989c7f676dc6
['cd4edd02454045faac5bfb07719f61f9']
I'm having a bit of trouble figuring out an assignment for my Visual Basic course. I am told to assume that a given text file is not in the \bin\Debug folder of my program, so I am trying to throw an exception error and get the correct path from the user via an inputbox but nothing appears to happen, or the variable is...
abd878567e006791f46f52fb33dd2ce71a881cd7404483660cc5d6eab0bfef80
['cd62ac9b5ec94588821e0b0ee013a1c1']
I'm not sure if this will make sense but what are your thoughts on making the List collections somehow hold something like references to objects instead of the objects themselves? That way I wouldn't have to get inside the the collections to edit them but still have them make sense in a relational type of way? Is this ...
4421e709fef31a2ebf8cf841d4f89568ec80a0dddb68aa2bee77ac759ee28d15
['cd62ac9b5ec94588821e0b0ee013a1c1']
I'm currently trying to learn C# and want to enhance my understanding of Object Oriented Programming (OOP). I'm hoping to accomplish this by experimenting with a small program that keeps track of my school assignments/information. I've constructed classes relating to my Institutions, Semesters(Terms), Courses, and Assi...
dcfd3dd9ed17976fe8aa700923e1918df76b334c9fe3da565dd88356b29374d6
['cd6af58df29b4153ae6888dbc1c14199']
I want to draw something like a donut, so a circle with a hole in the middle. I tried using ctx.clip(), but I realized it limits the path to inside, and I want it to limit the path to the outside. Things to note: this.lineWidth is how thick the "rim" or the outside portion is ctx.beginPath(); // this should be ...
e56d554fb9f569b2e6c6a230327661c2cb06ce012466186d8353584972587801
['cd6af58df29b4153ae6888dbc1c14199']
I've made my own version of an event handler: var EventHandler = function(){} EventHandler.prototype.events = []; EventHandler.prototype.functions = []; EventHandler.prototype.addEventListener = function(e,f,obj) // start { if (obj === undefined) obj = window; this.events.push(e); this.functions.push(f)...
76da5c0ba306cb98b85fdf97cc637922fc0c7b2f1cff483fd23204707044798e
['cd6c6098ae264535ba0d7a1260394e5d']
Think of each variable in your Java classes as corresponding to an attribute in the JSON. "Attachments" is not in the JSON file. You should be able to remove it and change the variable definition in the Fields class. @Data @JsonIgnoreProperties(ignoreUnknown = true) public class Fields { @JsonProperty private ...
bc7fd6ea514eea8ca318600fff7bb92cd552da705d8b8f9784091fdc7538fcaa
['cd6c6098ae264535ba0d7a1260394e5d']
Is N really so large that keeping the files open is not an option? At least on Linux the hard limit of possible open files is quite large. ulimit -Hn gives me 1048576 on Xubuntu 20.04. The soft limit is much smaller with 1024 by default but that can be raised using ulimit -n N. Not sure what sensible values for N are b...
e4733958fcdd645ad39f7b2bceff883ed47a5d88bdf83bbc62254ebfda242dba
['cd77f3d064764be0b4a7d9022c18da99']
I'm starting to understand. But I have one more question: after looking at a few more examples, it seems that the intersection must be an integer. In the first problem, $\frac14$ appears to occur in every interval. Yet the intersection is empty. Does the intersection have to be an integer?
8646f5a3eb1db8166bc094d802e9dbce12f44a9dbdf9fcc1d5a6e1aaa52643a4
['cd77f3d064764be0b4a7d9022c18da99']
Let U be the universe and let A be a subset of U. Then prove: a. $A$ $\cup$ $A^c$= $U$ b. $A$ $\cap$ $A^c$=$\emptyset$ Proof: a. Let $x$ $\in$ $A$ $\cup$ $A^c$ $\Rightarrow$ $x$ $\in$ $U$ Then $x$ $\in$ $A$ or $x$ $\in$ $A^c$ $\Rightarrow$ $x$ $\in$ $U$ By definition, the complement of a set $A$ is $A^c$ = $U$ $-$ $A$...
727b0b053c42dba00c3f859a0692e24c85f4634c5102fee7cd3fc85d87a8d9b5
['cd8e54d32fd841758869eeb7b40e7dd3']
I do drop one variable when dummying out my categorical variables. Also, I initially was doing the correlation matrix you mention and dropping variables with pairwise correlation > 0.8. The problem is that in my case, I have a dataset where doing this is not enough, I still get matrix singularity -- presumably because ...
43aa3f126650482554d2e7365a0426b8f6f4712440c567801ff00e211eef6f82
['cd8e54d32fd841758869eeb7b40e7dd3']
I'm trying to run a multiple regression, but I'm getting a singular matrix exception. I assume this means that there is high collinearity among my independent variables, so for each X I produce its own regression with it as the dependent variable, and the other X'es as the independent variables. I do this to calculate ...
c117e35b5e3a0c82cf5d0ad2948fe12e74704eafce74eb578fb8287ddcbdcd3a
['cd9d306ae0be4f85a51ee12b00a7652d']
I want to redirect a subdirectory to a subdomain either using .htaccess or cpanel redirects from domain.in/subfolder to subfolder.domain.in i m using cakephp app for both domain.in and subfolder.domain.in each have separate core library Please help me to solve this Thanks in advance
f0fc46fdedaedb5b9b7d939b24c403092d568d1df1c1036d8eb57115d053e80a
['cd9d306ae0be4f85a51ee12b00a7652d']
myself form action changed to primary-page.php <form action="primary-page.php" id="primary_page"> <input type="text" name="email" /> <input type="submit" value="Submit" /> </form> 1) data validate and stored in DB using ajax ( store-db.php ) 2) email value post to primary-page.php using function frm_submit(...
2964acef5e79bcfc1484b6c8d4d8e06db058269ac792f91ca2aba90be161eeb8
['cdbfe7cdb5af443285de569ea3a10dd9']
I have a list of about 26 <section> tags that include some other divs and information. I have it so when you click on a share button, these extra options get shown in that same <section> tag. When you click on the share button, this is the jQuery js I use: selectedPost.animate({ left: -selectedPostWidth }, 200, funct...
0bfba07cd7748f91320da25844384a9033c85224413bd07722d3062920ab8094
['cdbfe7cdb5af443285de569ea3a10dd9']
After much troubleshooting and debugging I figured out the issue comes down to cookies. I simply cannot read cookies from a external request for the bookmarklet. I'll have to keep using a token (not a big deal) Chrome given the correct permissions allows you to send your session data/cookies to your authorized website...
59ebcdc0008cf431ad9137f25c11524016b9396a7d7fec1e1c125e5511ccb7e1
['cdcb3d829d82490dbb3f172a6dc43555']
For a HTML button: <button type="button" id="100">100%</button> I have a java script function, that swaps 2 background colors of that button: const but1 = document.getElementById("100"); n=0; but.addEventListener("click", function (){ if (n==0) { but1.style.backgroundColor = "rgb(225, 165, 0)"; ...
dbc888280175bf38656bbdc316faadf2f17cbbf86216f6144816085705bdf73b
['cdcb3d829d82490dbb3f172a6dc43555']
The problem was probably in different versions of the icons i was using, and different version declared in the head link (i was using bootstrap v4.x). That probably was causing conflict when i tried to use icons v5 - and they were appearing deformed. Ps. This particular example above has different angles of the font i...
425b2785b1a47377afe8c1763b4370bffd0a8c80eff701b3d7193b2c14f5fd1a
['cdcdade974284556a3844ceb92f5c166']
Разработали приложение, используя Python 3.7, flask (конечно WSGI-mode), bootsrap, AJax. Приложение установленно Ubuntu 16.04, Apache. Все нормально работает. Может кто-нибудь подсказать: 1) Как определить требования к серверу что бы он выдержал 1.000 / 10.000 пользователей одновременно? 2) Будет ли падать сервер из-...
0be0eb2ba2df82e4897d92fd61cf3e4e14dc3b55e1645a92b7732aa93377604f
['cdcdade974284556a3844ceb92f5c166']
Let $$ f(x, y) = \begin{pmatrix} h_{1}(x, y) & h_{2}(x, y) \end{pmatrix} \begin{pmatrix} h_{1,1}(x, y) & h_{1,2}(x, y) \\ h_{2,1}(x, y) & h_{2,2}(x, y) \end{pmatrix}^{-1} \begin{pmatrix} k_{1} \\ k_{2} \end{pmatrix}. $$ I want to calculate its partial derivatives $\frac{\partial f}{\partial x}$ and $\f...
085a98cf0808e38f0dcab6b4bfa8e87c9f2d68b658151ddba43a7e0456382b47
['cddba9ab758445b386c968c1932790f8']
Im new to JSON (and not sure if its the right way to do that), my problem is to deserialize my classes, all models implements this interface: public interface IPersistent { object Id { get; set; } } Example of class: public class ModelTest : IPersistent { private int? _id; public object Id { get ...
2dcaf2e5ceacb29ea9f7662db4f38852b5887422500031189045705a32f410d8
['cddba9ab758445b386c968c1932790f8']
Take a look at flattening, unflattening Here a example of your code: [Test] public void Mapper() { var course = new Course { Name = "just a simple name" }; var applicantList = new List<Applicant>() { new Applicant {Course = course, CourseId = 1, Name = "Applicant ...
e2a42eefa53fb3ca4fab953a06e9ce6c75748784e391d64bfd60a218c768e545
['cde4593fe3f040edb802f47caae3c19e']
Trying to migrate the database for an early project of mine to the cloud. Although the code that built everything is janky, the db structure and data itself are fairly sound. I could probably figure out a dump method of migrating everything (pgdump, etc), but I still have much to learn about this stuff so I'd rather ...
3dd4e6fd0350159b5b985068c7ee7f42dcaf659b84700ed63a8d4172bfed4929
['cde4593fe3f040edb802f47caae3c19e']
Using PyCharm Pro 2019.1.1 on MacOS, writing my app in Python 3 w/Flask, Jinja2, etc. A version of my app is already deployed using App Engine Flexible, and I want the next version to use Datastore for my production environment variables. Having problems trying to follow this post, which requires the following import...
39f9362c23f48a2fbc25cf69bf699d66eeb1b11cd6409c4916a94b09cb1f7c94
['cde9988cea2846ac9bd90d2cf2cdf131']
You're right, I was struggling to find the tool. The layout I see on my computer is drastically different than all of the layouts I've seen in screenshots. Everything shows the old file/dropdown menu format, while I see the newer "ribbon" style. I eventually found it under the "Analysis" tab of the ribbon, where it is ...
541f80ce3f3a7b856a66106093482575f89991b7dba4e111f28b03dccebf9cc5
['cde9988cea2846ac9bd90d2cf2cdf131']
Thank you for the comments. I guess the real issue here is that we're dealing with an area where the theory diverges from the practice in a way that is non-intuitive. Probably the right answer is not to model things with the ratio of two normal distributions in practice.
7e3ebe11b68d4f8515590429e5265d912ad13f868d77b8e232f57e9c58c9ed2c
['cdec26dccc63465ab4800869573aaa87']
Below is the definition of Stream type taken from fp in scala chapter 5 sealed trait Stream[+A] case object Empty extends Stream[Nothing] case class Cons[+A](h: () => A, t: () => Stream[A]) extends Stream[A] We can write the following method that will return an infinite stream of a de...
58628020826ad37427bca432b4a908ea823c6090ec9c1da2281e72b2d9671800
['cdec26dccc63465ab4800869573aaa87']
I have a bare bone project with just one Object and it runs fine in sbt I have the following in my launch.json in vs code And when I try to run it, I get the following error: I haven't yet been successful in finding out a solution.
305b0ed1bb4205e7112c34223cb9847e8830668c0918c2fd8a282210cedaa0c0
['cdfcfbd3657b4d92989296c0449539d4']
I am looking for a command to scan for any connected wireless device to my computer. My computer has a problem that the wireless device getting disconnected if i put my hand on some part of it, so I have to restart the computer to find the wireless device again. Is thre any command in linux which scan for connected wir...
943b483cc35351cffe0fe6ab2286bf02bd1025381c0f9f3d1512f9fbb0cf2b43
['cdfcfbd3657b4d92989296c0449539d4']
I have an application which when I run it, it gives me the following error: paraview: error while loading shared libraries: libpython2.6.so.1.0: cannot open shared object file: No such file or directory I already have python 2.7 installed. When I type python, I can write codes. It seems it needs Python 2.6. I download...
5f4c0d3dd025e553a3ce8c19a253d9218b15ae7ac2d542bd3e647bc955ac577d
['ce0422d37b2b40f38a81a55a8bdceb46']
I'm making the assumption, based on <PERSON>'s suggestion, that the issue was a corrupted Bodhi image on my thumbdrive. I burned a fresh image of Bodhi (3.0 this time instead of 2.4) to another thumbdrive and was able to quickly and effortlessly install the OS without a hitch. Should anyone else run into a similar prob...
63fbbf765815c4dd78f9618ba7d0560ebc67b53cd0ddc8907a97a97187b51558
['ce0422d37b2b40f38a81a55a8bdceb46']
@Ohnana I don't think I can use my "solution" as an answer. I burned a new Bodhi image to another thumb drive, only instead of using the same 2.4 version I opted to go for the 3.0 RC2. It all went smoothly on the first try, and I have a functioning desktop once again. Can this question be resolved without starting over...
b31de1f6f057ba5fd5679215da374e14a1d1b4f68f364b247fc7c4cad83f8217
['ce126270bda74337890b51d2b49aa3ce']
<html> <head> <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.4.8/angular.min.js"></script> <script> var app = angular.module( "test", [] ); app.run(function () { angular.element.prototype.has = function(selector) { if ( ! this.length || ...
89ec051fa5ad1f38cac8249d1f5dbef1ce8939a973116b0afd64bfafee5b825d
['ce126270bda74337890b51d2b49aa3ce']
I have a problem with Web Application, I try to do when a user enter on /#/home to display a text. <html> <head> <script src="//ajax.googleapis.com/ajax/libs/angularjs/1.3.16/angular.min.js"></script> <script src="//ajax.googleapis.com/ajax/libs/angularjs/1.3.16/angular-route.js"></script> <script> v...
e34876e3220c21a40790afaec51806aa28176b76936b198c929ff4eaf02abdaa
['ce167d3c26c3465d9e6ac47269b4f27a']
So I'm doing something fairly simple in with react-native. I have a function that creates a copy of the state which is initially an array, I then update the copy and then I would eventually call my setState in order to update the original array. However, when I mutate the copy, for some odd reason it also mutates the a...
5a4d73e5e18314910df43adeefe33043f62f2bf8c54c457b19dd7372ae15a0bd
['ce167d3c26c3465d9e6ac47269b4f27a']
So, I've been coding react-native way more than react lately and I noticed I can do the react native style of styling things in react, what's the harm in doing so? E.g With react instead of doing classNames I can simply do <div style={styles.something)></div> const styles = { something: { backgroundColor: "red" } }...
fb7b0028e854f65c19c448a3b67006338c1e86f54eb5caadb4aed1df2ff09941
['ce29212c68f1403c8251141f71dd8e26']
I installed ubuntu recently on my 32gb flash drive. Before then it was working fine. I just wanted to use ubuntu in my place of work where the default is windows. After partitioning the drive during the installation process, the installation failed nearing completion. Now, my drive is neither recognized by windows or U...
08d2df67fad1f6c2b793e92b7e85d58ed284aeb7f0a7a2ece938307e773bd6a2
['ce29212c68f1403c8251141f71dd8e26']
It doesn't hurt to make $f(x)$ bigger, so one may assume that $f(x+1) \ge 2 \cdot f(x)$. Let $\alpha_0 = 1$, let $\alpha_n = p_n/q_n$ in smallest terms, and let $$\alpha_{n+1} = \alpha_{n} + \frac{1}{2 \cdot f(q_n)}.$$ Then $\alpha = \lim \alpha_n$ satsifies $$\left| \alpha - \frac{p_n}{q_n} \right| = \left| \alpha - ...
229960211c8d76973bffc197e0e6da059924ec322e760de6d5d435e55581d2b2
['ce2c1415ba1e454baa022047d637cfe1']
I have a scatter graph I have plotted and got the summary statistics for using lm. I need to find a x value for a series of y values which were previously calculated in the code. I was unsuccessful using predict function as the name of the calculated value is different to the name of the value plotted on the y value, a...
84bc89df877b7a80c23c748c46b8fe45ccb903106ab17ecde0ef4bb756f0b6ae
['ce2c1415ba1e454baa022047d637cfe1']
<ul class="menu_left_catalog"> <li class="dropdown_radio"> <li class="dropdown_radio"> <input class="checker" name="menu_tog" type="checkbox" > <a class="menu_left" data-toggle="dropdown_radio">1 КАТЕГОРИЯ</a> <ul cla...
b2687873b95a2e3d26bfca7acda00099e46989299f1918ea60019677d72fa388
['ce39e4d0f95b47719490ebb8cc916c9a']
<PERSON> Please give a concrete example. If you are quoting from Wikipedia for example, it should be a matter of a couple copy-and-pastes, where automation would give minimal benefit. Something like [Markdown It](https://github.com/markdown-it/markdown-it) comes to mind, but it may be much more than what you need/want.
e12453dc20dc525640aab1dd8324d4622fb388d775bf5081c110ab51d87f1e4f
['ce39e4d0f95b47719490ebb8cc916c9a']
I have a grid layout that splits a view into two parts, effectively for two sets of headings and list. I want each list to share the height of the active view evenly so I've used proportional sizing: In the case where both lists exceed the height available this works just fine. However, if the top list only has 1 or ...
3daa558f7e1110c01bb74889a36f0a99f56e332d813f18cc349698330dc5a573
['ce458983bd3749b2b1d8c43e96e0d4dc']
Hey I'm trying to combine two columns in Pandas, but for some reason I'm having trouble doing so. Here is my data: OrderId OrderDate UserId TotalCharges CommonId PupId PickupDate Month Year 0 262 1/11/2009 47 $ 50.67 TRQKD 2 1/12/2009 1 2009 1 278 1/20/2009 47 $ 26.60 4HH2S 3 1/20/20...
49ea13432b6448b9d831c3ee5e90001f225b2b365ee61b0be05836b3008ba338
['ce458983bd3749b2b1d8c43e96e0d4dc']
I know this has been asked before, but the answers did not help me :/ I created a function that runs a for loop over the squared max of the inputs, and by all accounts my code is correct...and yet it still asks for float inputs. def spiral(X, Y): x = y = 0 dx = 0 dy = 0 count = 0 for i in range(max(X, Y)**2): if ...
d4da7a81546c48bf5e9530342ba2a317af9b093fd39aabdf00067411a97bfcec
['ce4b8095d1ff4270b1bf3ead8efcbef3']
@music2myear Ah - that's a good point. I was trying to scan the whole drive in one go - and when I do this the OneDrive folder is omitted from the SpaceSniffer UI (it all goes into "Not Yet Scanned" and stays there - but if I scan the OneDrive folder directly by providing the full path to it then it works and I can see...
04d2ef1567a56f609e056757ca259b7e3d8ed3c4daacc1caaba28b8bc4eea3ea
['ce4b8095d1ff4270b1bf3ead8efcbef3']
To clarify - I'm only interested in the usage of the local hard drive, not the data in OneDrive cloud storage. Files that exist in the cloud service but don't have local hard drive space allocated are fine to ignore for the purpose of this visualization. I just want to see what is on the current hard drive. I will upda...
739dc922cc0081a54588dd4bb31cc2d53a606dec12491337befc0464e550ca63
['ce4f466064cf420d93bc7195c9de01d5']
My reason for sometimes preferring Timer over Executors.newSingleThreadScheduledExecutor() is that I get much cleaner code when I need the timer to execute on daemon threads. compare private final ThreadFactory threadFactory = new ThreadFactory() { public Thread newThread(Runnable r) { Thread t = new Threa...
387ad08d980f8a658b4cf26d7a35331d382a3890b6216188100f18cb56af14e4
['ce4f466064cf420d93bc7195c9de01d5']
In order to have cocoapods generate the build phases Check Pods Manifest, Embed Pods Frameworks and Copy Pods Resources: 1 - Go to build phases and remove any custom modifications. I had to remove everything under the Link Binary With Libraries phase. 2 - Do a pod deintegrate (Or just remove the files yourself) 3 - Ru...
46b01aadebbf957146c45db23818e2b5ad74d153d913ae5de71705326f9e9cb5
['ce5a37b30da34a05b1c1b47e37865594']
I am desperately trying to understand how to use the OneDrive SDK for Android. The sample apps only describe picking, saving or exploring. I have implemented the explorer available here: https://github.com/OneDrive/onedrive-explorer-android and in the end, I have this kind of code: final IOneDriveService oneDriveServic...
5cddf1772f6b72e972a7db2603e5198010f4342cf4f1ea81d5930b62688a514f
['ce5a37b30da34a05b1c1b47e37865594']
Having no knowledge of how gradle really works and how to use it well (I just copy paste snippets here and there), I was wondering if it was possible to ask gradle to generate a zip file containing the "src" folder of my Android app when I do generate the signed apk? It sounds strange, but I want some hard copy in addi...
43803dd9a846f47c1adc6e655279e4da9ce43b5ac88883960fbf8fa592c07ed7
['ce5cfa361b1c434f9befe96253f0b836']
For the record. CustomCheckbox.vue <template> <input type="checkbox" :checked="value" @change="$emit('input', $event.target.checked)"> </template> <script> export default { props: ["value"] }; </script> Parent.vue <template> <div id="app"> <custom-checkbox v-model="checked"></custom-checkbox> <...
b54a61f63a60e9420551df9cdf30c016170ef92bd82f1728692ce35c4da88ccb
['ce5cfa361b1c434f9befe96253f0b836']
The svg file only contains a base64 encoded png. So it's not a 'real' svg. Include the png directly in your css. background-image: url('data:img/png;base64,iVBORw0KGgoAAAANSUhEUgAAA8cAAACaCAYAAACE9zruAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QAAAAAAAD5Q7t/AAAACXBIWXMAAAs...
0b1b168780547ecc8d758e1dfe9a4a015033e541b7cc0dc9b4db8f476e5387c6
['ce73688cdbf14b0eaf8d18171f4f1037']
Is there any way to find if a row of a matrix is containing in the matrix but in the reversed way? For example, this happens in the following matrix W: [,1] [,2] [,3] [,4] [,5] [,6] [,7] [,8] [,9] [1,] 1 1 1 2 2 2 3 3 3 [2,] 1 2 3 1 2 3 1 2 3 [3,] 3 ...
dc0c6197b93b6e61be3750601259dd50d1d0e72f65adbbaa04095685d484ff41
['ce73688cdbf14b0eaf8d18171f4f1037']
I have the following vector: z=(0,0,0,1,2,1,2,2,1,2,0,0,2,1,2,2,0,2,0,0,1) I use rle(z)$lengths and the output is: 3 1 1 1 2 1 1 2 1 1 2 1 1 2 1 which means that I have three 0's, then one 1, etc. How can I have an output showing me the positions in which I have the three 0's, etc. For example, the positions of the f...
81ccf7cd112aa98b0ddd0427a8898270591ed7b8a126fca97ef90bbf07db18c4
['ce864e11a20c408f8c73f81be8c17cda']
I've tried this highly suggested solution (on Web.Config) <system.web> <compilation debug="true" targetFramework="4.5" /> <compilation debug="true" targetFramework="4.0"> <assemblies> <add assembly="System.Data.Entity, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> ...
e5f8fae985bc254fd9cff4842fce628534b1afee41a7ca2e7614f5671393a9aa
['ce864e11a20c408f8c73f81be8c17cda']
Using 'SQLite.Net' you can insert data into sqlite table as, // Insert the new student record in the Student table. string dbPath = Path.Combine(Windows.Storage.ApplicationData.Current.LocalFolder.Path, "StudentDb.sqlite"); public void Insert(Student std) { using (SQLite.Net.SQLiteConnection conn = new SQLi...
3259379629d5f66ead9025e681b209795350f9fb888dc9421d239f64bf32e722
['ce892860359d40de9490cb5320f4ec07']
I've recently developed a react + webpack application that is deployed using AWS Amplify. I've been getting a strange error that is logged on Sentry, but can't find a way to replicate the bug. RuntimeError: memory access out of bounds I suspect it has something to do with my webpack configuration, but I don't know ...
0265e9e2cc794533431eff629b636fc948c19ba638fc02fa69da3579ebf9879c
['ce892860359d40de9490cb5320f4ec07']
If you just need to test your API, download Postman and make requests from the application. It is much easier than actually making a whole HTML script to test your API. However, if you absolutely need to test your API through a frontend app, try the steps below. You need an image upload function in your HTML code. <...
1aeb94861c051dfe700e62e7d88d6a74d02345d4d925c96996f951cd3a68a197
['ce8fe90c7d2d4b698f9ece41cb758c2d']
Could you also provide the folder structure of the CSS file and the .aspx page ?, that would help us narrow down the issue. From here it seems your css file has navigational issue while accessing the image whereas the aspx doesn't seem to have it because of correct hierarchical path.
3f4d1cfeb564ebacf97a1cf2af04cf3711df0b522401d29ea525366ba3eb4326
['ce8fe90c7d2d4b698f9ece41cb758c2d']
I'm trying to download a ".aspx" file from the web server using a WebClient object and save it to the file system, but it raises an exception of "HTTP 500 Internal Error", I think becuase the server tries to render the html and send the content of the same rather than the file itself. var objWebClient = new WebClient()...
f74c84c1cfbb33ce23ae263a71df62e36fe38728919e459f12e19d8b1dab8dac
['ce941c53c6134cf4a5930dc4b4f6b1bf']
I finally got to fix it. There are two solutions I found to fix the issue. First, there's a common fix for all the databases that support Entity Framework Migrations: Using a .NET Core Task, we'll have to install the dotnet ef tool: The task would look like this: And this would be the YAML (in case you want to u...
2d9eef82c3c302e0c66405c0f54f386df1e610343d906004be8d6372fec8ff21
['ce941c53c6134cf4a5930dc4b4f6b1bf']
Is there any reason why I'm not getting an injected service into my custom RegisterBinderProvider? services.AddScoped<IPasswordHasher, PasswordHasher>(); services.AddMvc(options => { RegisterBinderProvider registerBinderProvider = DependencyReso...
b5df46df290480d7ced3307efc5e56e0449ca61b00d12acf4c81771242b94f2c
['ce98926c9fe94340a0353be3f9a86456']
How often is it syncing? I understood, that it's "only" syncing once per day. Gradle will once per day (by default) connect to the artifact repository to see if there is a more recent version. http://tools.android.com/recent/androidstudio040released Other than the source of the quote I never found a reason to those c...
8f365c8c40baf16c56d1405f1d6f33043e7ca83663200acae979e00cced1fc57
['ce98926c9fe94340a0353be3f9a86456']
If you want the possibility to have another question asked use a while loop and ask the user for an input. If you want the user to input whether (s)he want an addition or substraction you already used the tools to ask for such an input. Just ask the user for a string.
a1d174ff2d73d8555de2f308b021fa00b0629a7a30fd4de5ec7ee849c73e865a
['cea21eb8bc9641a89eb428e8588fb8be']
Relacionar o item Refazendo minha Resposta Primeiro é preciso entender como o Facebook trabalha com com URL canônica. ex você tem uma pagina www.suapagina.com/faleconosco.php e dentro dessa pagina vc tem um monte de meta tag teoricamente o facebook procura as meta tag nesta pagina e também as obrigado pela colab...
b1e29d13b36dccebeed405436499d380ca56d70722addffa0eee1f05ba29ebd6
['cea21eb8bc9641a89eb428e8588fb8be']
Here are examples to show that neither of the two conditions 1. and 2. that you give as jointly sufficient can just be dropped. Take $X$ to be two-dimensional real space with the pointwise order. Norm it by taking the closed unit ball to be the convex hull of $\{(-3,3),(0,2),(2,0),(3,-3),(0,-2),(-2,0),(-3,3)\}$. On...
2809f2d7f9d43b6113b99c3b16746ef889e1023097f20fa10a0f8aba2651ad8c
['cea3f686663744be9ad5231b816e2645']
It is true more general fact. Proposition. If $U$ is open and $A$ an arbitrary subset of $X$, then $IC(U)\cap IC(A)\subseteq IC(U\cap A)$. Proof. Suppose $$x\in IC(U)\cap IC(A)$$. $x\in IC(U)\cap IC(A)$ iff there exists $U'$ an open neighborhood of $x$ such that $U'\subseteq C(U)\cap C(A)$. Let us denote $$U'\cap ...
2a98e66f0fc68fddb2c4e3c5240a5e3a9fc5ba051d8726b62998252063b660d3
['cea3f686663744be9ad5231b816e2645']
Yes, this is possible. It is possible to construct a pair of perpendicular lines somewhere on plane. To do this, make a rhombus. (On two lines that meet at a point A, construct segments of the same length starting from A. Then constructing parallels yields a parallelogram with two adjacent sides of equal length. This i...
bc6680b8bc60c058214249b70f096d39ff599c09b48fdb6b8841ce9c2d9c5ccc
['ceab87aa3a50426abf7686cd359a82fb']
You could serialize the data and put it into a HashSet, then converting that back to an ArrayList. Example with Integers: ArrayList<Integer> ints = new ArrayList<Integer>(); Random rand = new Random(); for(int i = 0; i < 1000; ++i) { ints.add(rand.nextInt(100)); } HashSet<Integer> set = new ...
e4a43a0578013d11762acbaa39beb5028d4a30adef8391ca177a354af8d976ef
['ceab87aa3a50426abf7686cd359a82fb']
<PERSON> answer above is correct, however with TypeScript 0.8.3 I had to use the Windows Search function to find f.zip - it's now in three locations, at least for me: C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\CommonExtensions\Microsoft\TypeScript\~IC\IT\CSharp\1033\f.zip C:\Program Files (x86)\Mic...
a931f9f1cfdf9d99860674374e98366712fc58f2673396db0e68988a07c1849a
['ceb6ca441d27440fa9c4047499fb1a1f']
Not sure how you have anything set up, but I would think something like this would work. Have your ImageView and TextView fill the same space, then toggle which one is visible and which one isn't based on the presence of the image. Hope this helps Layout: <RelativeLayout ... > <ImageView ... /> <TextVie...
b902a490905145c022ba60a97e830c915b5a6a2a0d5841b27a22414bda2b2597
['ceb6ca441d27440fa9c4047499fb1a1f']
Make sure you are setting android:id for the text fields in the layout file. Once you have done that from within button.OnClickListener you can get find the text view by id and get the text as follows: TextView tv = (TextView)findViewById(R.id.id_of_text_field); String text = tv.getText().toString(); Then to transfer ...
2884dc1e9def2747fad78be8d5d5169dd5f0d45d06b925a25347fe2b80dfd1a0
['ceb9875fe7c94b58b7ce55c5d2e490ca']
Thanks in advance for the help. trying to use a fairly large C/Cpp (yes I know) library and am running into an error. Unfortunately the error that I am getting back is extremely vague but I do know what variable is causing it. All I would like to do is simply print this variable out to stdout so that I can see what i...
e2c910a873ed5cb9ab3da6c0d8c1ab88451924e2ff0fa7985116d0c06bce1600
['ceb9875fe7c94b58b7ce55c5d2e490ca']
Apologies if this question seems a tad open ended or too vague, I'm not the best C/Cpp programmer (either language is acceptable to solve this problem). Suppose there are two running processes, a client and a server (they could be viewed as producer and consumer as well, but I think client and server might be better he...
5a75b536dc694a76a76251ed7a1acde7d2f6014a90538458003fcbf197a49332
['cec7f4506ffd43c5b1c9ca20ad9bf29f']
Found, the answer with a little more digging. Thanks to <PERSON>'s answer here https://stackoverflow.com/a/43873099/5943182 Thank you to anyone who viewed. I still don't know why the most recent wasn't being pulled in the above code, but the alternative method works wonderfully for me.
8c6d22f596cf17e5ef3e0ecb87efe619e4a0d23a9efa8fbccd94e6741c26b790
['cec7f4506ffd43c5b1c9ca20ad9bf29f']
Image Trace is a great tool, but it's not perfect. Adjusting the settings may improve it but it won't be perfect. If possible depending on the design, especially one as simple as the example images you've included here you should use another method. To recreate the lines there maybe: create a line at the angle you want...
ca5298de764cdb5890f5cb4bb1c71b42b92a2e333a8ad70bcb0045dead83c83d
['ced329917cc644af999357bb2623712e']
I understand Gmail problem but you say it's easy for me to recover my account if I authentication that I set up . How can i if i have had my account for years and you log in to read emails but unfortunately forget in them years to update my number especially when am dyslexic and had a stroke so my memory is not so goo...
1e1c7ec433fd7f3f8457a6cc10c61d012b1c87f8f99cdf362d97317e996f50ed
['ced329917cc644af999357bb2623712e']
apps like last pass i did try it once but got confused and i tend to change password to my apps accounts and then forget them i tend to see if chrome will automatically log in and sometimes it doesn't remember the password so then i have to try to remember password then i use the same password for all apps not a good i...
ea75c9dea024b2ae2ff9c9847ac8645ba8616ddee8a5456a70f5fce7db4fdc09
['ced556dc724b4a86b8af1e8c922b3bf8']
Well you can clean the copper and the tin with some tamarind, it is a trick we use in our home to clean the copper and brass vessels and they come out to be very clean. Your may notice discoloration again in some 20 or 30 days after cleaning but then you can clean it again! Just wet the cleaning surface with some wate...
dd76c6d24ce1a874b7142a3f6ab1045cc93b4c7789eb23f267b895bf51db218b
['ced556dc724b4a86b8af1e8c922b3bf8']
The web site allowed me to type “Unknown” into the field for the previous visa application. We were granted our visas within about 24 hours of submitting the application. In our particular case, we had the previous visa number for three of our five family members. I was also able to fill in the issue date for all of th...
82839130c32aaa76087dcaf053a044d1b9a1ab46f09540f911eb5518574b78fb
['ced83e634d0a47f58eb9f2f7f41f5774']
Not as much an answer, but the solution nonetheless for my issue it seems. Closed all applications Ran a ccleaner cleanup Reinstalled Visual Studio Reinstalled dotnet framework 4.5.2 Registered the framework And to be overly cautious rewrote my code in a vanilla fresh new project. Magically everything works as it sh...
90de60e0b10da1266729df9c020ed47d900f776c1a0224e12859675176f3a824
['ced83e634d0a47f58eb9f2f7f41f5774']
if using ASP, it simplifies things a bit to use resolve url... ie cursor:url('\<\%\=ResolveUrl("~/img/magnify.cur")\%\>'); Evidently I'm inclined to agree with the other statements, as familiarity is key in any good design, customizing an environment to such a degree that the user feels either unfamiliar with it o...
6f0462105763e5d6cb8519fe2b99cb0188acf0aeecbf092d0e4a3650cb5ac21b
['ced8e539f0ba4e20aae3646bc0f5310e']
I am an engineer on Transfer service. The reason you encountered this problem is that AWS S3 region ap-southeast-1 (Singapore) is not yet supported by the Transfer service, because GCP does not have networking arrangement with AWS S3 in that region. We can consider to support that region now but your transfer will be ...
d6188d29a9e943185cb5abd58b497919fb8ab2f1fe7875a09b63d62f1eb53691
['ced8e539f0ba4e20aae3646bc0f5310e']
Note that in the API the StartTimeOfDay is in reference of UTC (please see the API reference: https://cloud.google.com/storage/transfer/reference/rest/v1/transferJobs#Schedule). The request you emailed to us specified an hour that was in the past based on UTC. Please specify a StartTimeOfDay in UTC. If you just want to...
09d64629a43822e7086f9b6ae648819573736fd54cf6e46cb46cbaaa2a2bc248
['ced93ce820f8408dae440dde9b88c1a5']
I'm very sorry, i would type this in comment but i'm not allowed to write comments yet, but my wild guess would be try using DateTime.TryParse(); and specify the format of date, it is possible string is in an invalid format, isnt it ? Also it would handle null.
da9e54f91fef2464a430200966135338302a25cbb2b88e7be29f1dbf210ae830
['ced93ce820f8408dae440dde9b88c1a5']
I have this function and it reads first line of some .txt file and returns the line for me to work with it. I do NOT know how long is the line going to be so I can not have constant size of buffer. My problem is I can not use this function because it would be considered as cheating (I have my exams) because of it is n...
22a31794ba07c6afbfcf357716aae30f50495fc88dbfda8418c3705363eb53b8
['cedd69c0274a4f1cadbec4b313d059a2']
I have an Azure VM setup (dev1) and I cannot access a shared folder (publish) via UNC path from my workstation. I am connected to Azure over a P2S VPN connection and my workstation is in the same domain as the Azure VM. When I open explorer and try to access \dev1\publish, I get an error saying: \\dev1 is not accessi...
5a59d52f705ffb2988f467a37081c5898169d262b6aaf1eb8ef74281fa82bb38
['cedd69c0274a4f1cadbec4b313d059a2']
I uninstalled Windows 7 recently and installed Ubuntu 12.04 instead. However, after a successful installation, I could only boot from CD when I restarted my computer, which led to the screen asking if I wanted to try out Ubuntu, or install it (It was already installed though) How do I fix this?