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 |
|---|---|---|---|---|---|
8d31148383fdc303cfb4ceacf5f09af65db6b0bb9b02431a338b78cefbc3ac7e | ['1f4b7f194194448b8bddbd386d107a10'] | I tried the Gaussian elimination but didn't get the right answer, I was wonder if you could help out, here is what I did: 4t-12s = -4 :
-9t+s = -4 : (r2*12)+r1 -- > -104t = -4 : -9t-s = -4 : r1/-104 --> t = 0.04 : -9t-s = -4 : -9(0.04)-s = -4 : -0.36+4 = s : s = -3.64 which is clearly wrong lol.. Where am I going wrong... | e3a5d9cfae13b42ec8c57d4248b1c28e9cb66baa4dcd9103b61ab6bc720ea5e0 | ['1f4b7f194194448b8bddbd386d107a10'] | What about rewarding users that flagged a question with some reputation if the flag was accepted?
So, for example, user A sees a question that is spam (an advertisement) and a moderator accepts this flag, wouldn't it be nice to give the user that flagged the question some reputation (maybe +2 or so).
On the other h... |
ae53900baac173d4c336c98ba3b84bafffe81763c8d12f898ee7e51ae1226e84 | ['1f4e110dfab14a9aa8c6405a9cba5eda'] | I'm assuming you're using a segue to switch between the controllers, so first add a text property to AddNew ViewController, then change your prepareForSegue to
if segue.identifier == "yourSegueName" {
let addNewVC = segue.destinationViewController as! AddNew
AddNew?.text = "TEXT"
}
then, when you load your Ad... | e10cc7960615e2750bcceff9090f8b4cdbe8cb13ed6c3046f571b810403ef789 | ['1f4e110dfab14a9aa8c6405a9cba5eda'] | I just added a ui searchbar to my program, and every time i rerun the program I get the error-
[general] Connection to daemon was invalidated
Despite this, my app is able to run perfectly and I can't seem to tell what is wrong.
Does anyone know what this means and how I could fix this?
If you'd like to to take a look ... |
b567f8f86ea7eb7b7e552a37802dc1c49effe1bfbc2bb3382ead38da521bd466 | ['1f4ea9bbff7d43be90982707c130bf56'] | i have a dynamic gridview to which i can add a row dynamically....code for that is given below
.aspx page : (without pagination)
<asp:GridView ID="Grid_AccEntry" runat="server" AutoGenerateColumns="False" GridLines="None"
OnRowDeleting="Grid_AccEntry_RowDeleting" CellPadding="4" ForeColor="#333333">
<AlternatingRo... | 5a008cd0520c0015b0db096271fdd8630b17125fdae52c41d5466da085a12eda | ['1f4ea9bbff7d43be90982707c130bf56'] | you need to check the dropdown value before binding gridview.
whenever you change the selected value to --SELECT-- it calls ddlGroup_SelectedIndexChanged function.
try:
protected void ddlGroup_SelectedIndexChanged(object sender, EventArgs e)
{
if(ddlGroup.Text!="--Select--")
{
SqlConnection conn = ... |
4461e05cbdfa2b4173e8b46bac34d8b3ba7f67bdd0c454ce42439056dc4311da | ['1f4f51ae43bd4292bcfa32094761573c'] | The simplest way would be to make your columns unique. On undesired inserts, your MySQL driver should throw an exception then, which you can handle.
From a domain logic point of view, this is a bad practice, since exceptions should never handle expected behaviour. By the way, your DB table could use a primary key.
So, ... | 6f373a038950b55bd04b9edc0a5c1ffd92cf6719d8d3739ada1c052ff797ff3e | ['1f4f51ae43bd4292bcfa32094761573c'] | Throw a glance at the Process component of Symfony 2. You will be able to trigger subprocesses that can do the work, e.g. the API connection. The parent can make sure that only n subprocesses are fired. Pack everything in a loop and query for each job status in there.
|
31ac9c5ac5293a54d259ba6e3a575f8a7ffb08ca4f790ddc569f50bb4fc5882c | ['1f5131328ec94301adffb8514a6fef05'] | I haven't worked with SVN in years. Now I have to. With SVN do you get a 'local' copy that you work against and then when you have things right do you push them out to the rest of the team? Or is commit all you have? Meaning that you work on something and risk losing it until it's correct and ready to be committed?
I h... | e82ac4d7eff41431f5e65253f57526cb0a189c7b13046f8fa2945536f321eb22 | ['1f5131328ec94301adffb8514a6fef05'] | I'm pretty familiar with web programming in C# but I have a challenge I'm unsure how to address?
I need to monitor two different domains to make sure they are up. I need abc.us/Test.aspx to call abc.uk/Test.aspx and pass in a distinct value (request.querystring?) and I want to inspect that parameter and if it's not nul... |
b24eb006c245324f23c4123e089321313041e66c49d9f767d951893d74ab2806 | ['1f52b7c36a7a45e9af6d5ca409e1a28c'] | As for your first question, $S^{-1}$ is a diagonal block of $M^{-1}$. You can only say that its eigenvalues are interlaced with those of $M^{-1}$. Since all the eigenvalues of $M$ and $S$ are negative, it amounts to saying that the eigenvalues of $S$ are interlaced with those of $M$~:
$$\lambda_1\le\mu_1\le\lambda_2\le... | da420cbbeb1c171de123c5c1cee9d5e1113e2f7dec91a2711894aa3484cea689 | ['1f52b7c36a7a45e9af6d5ca409e1a28c'] | If $uV$ is real valued, then the convex set of complex functions $\psi$ with $\|\psi\|_{L^2}\le A$ ($A$ a given constant) is invariant under the flow.
It is hard to find something else, because the <PERSON> equation tends to transform properties of the initial data into something different. See dispersion estimates of ... |
a2294108991a98b6ecae8519d9260d0fa25f3f955a23c6669988b18980ec8671 | ['1f56e9c1b5314607ba4ac5e8eb165744'] | I am very grateful, it works correctly but I can not give you a public score for not having 15 points on my profile.
I would like the link to appear in the result so that the customer profile can be edited if ( ! empty( $authors ) ) {
echo '';
// loop through each author
foreach ( $authors as $author ) ... | 9e9cf7dcfc3e2e2f62c27e17efba07357f641aabfe153a1d7a27d68c45906c7e | ['1f56e9c1b5314607ba4ac5e8eb165744'] | I had problems with this setup trying to tunnel into iisexpress using hostnames. Finally got things working using the following setup.
Set vmware network to shared with mac (NAT)
set guest (windows) network to dhcp note down ALL the settings dhcp assigns.
change back to static and use those settings
the gotcha for ... |
b6198c5da891dca08551c9e8fad356ed616b6130cc3b87e08ed0c1cacf09e7a0 | ['1f581bf5a7f24e8c8375f7d4254ea441'] | .directive('equals', function () {
return {
restrict: 'A', // only activate on element attribute
require: '?ngModel', // get a hold of NgModelController
link: function (scope, elem, attrs, ngModel) {
if (!ngModel) return; // do nothing if no ng-model
... | fcd90c8c6b042af9bd2d4e83de3db72ba996365a5759c18295bdac5fb832a1cd | ['1f581bf5a7f24e8c8375f7d4254ea441'] | If you want to show the disabled text field. Try this way
<input type='text' ng-model='SampleDTO'>
<input type='text' ng-disabled='SampleDTO == null' ng-if='SampleDTO == null'>
<input type='text' ng-model='SampleDTO2' ng-if='SampleDTO != null'>
By doing this way UI will a disabled text box with no scope attached t... |
96bcad69f220ced86e8c8e36636acb0c8946e90f7842202e93366551bbc00f5a | ['1f6742a130f8427cb23c6cbb7962231d'] | <PERSON> is not able to validate a Select/Dropdown element?
HTML
<div :class="{ 'form-group--error': $v.subscription.$error }">
<label for="">Year Subscription</label>
<select name="subscription" @change="subscriptionChange()" v-model="$v.subscription.$model" class="custom-select" id="inpu... | 0a269d8dca4e46dd892e33a36eeaf433f607caa307cf2a2b2818e308d6d11465 | ['1f6742a130f8427cb23c6cbb7962231d'] | I'm new to angular and would like to ask if why I'm encountering Cannot read property 'setLng' of null?
import { Component, OnInit, Input } from '@angular/core';
@Component({
selector: 'app-map',
templateUrl: './map.component.html',
styleUrls: ['./map.component.css']
})
export class MapComponent implements OnIn... |
0cd38d5451964dd5c3c6ebb703b1055b9f9f6fe2aa83f2785424ea5a00779736 | ['1f6873942f9e4c108367c9a0725253b5'] | I think your confusion stems from the Product table's general lack of utility, since it contains an ID and nothing else.
However it's not a big deal. When defining JPA entities, I would start with the Products table and define each of the child objects as separate classes. Then include those in the Product class:
@En... | 719e123d8ebfcc6f5c4cfbca2cd8fdd433df260eae9d0bf3e62cfda5b5650deb | ['1f6873942f9e4c108367c9a0725253b5'] | @MaxU У меня получается 2 входных нейрона, два скрытых нейрона и один выходной. То есть, если сейчас подать веса [-0.51, 0.8, -0.76, 1.28, -0.71, -2.37] и на вход 1 и 1, то выходной будет 0, как положено. Так же вывел график градиентного спуска, все ровно получается, нет колебаний, сеть работает как положено. Но все ра... |
5aa2fa803db39c91bf7f4d8019bddcfb2ea3d00f3304aef6c2e268aa9f56acd6 | ['1f6fd0f3efa64699a1e756180c6dcb31'] | I am making an application for my church, and my JLabels have some drop shadows on them, I'm trying to make the background transparent on a windows computer but it's not working. It works perfectly on a Mac, I have tried googling this and using setOpague to false but nothing, suggestions?
Images of the problem:
Mac
Win... | 2924066e7bca8633135d46763c2da87243bf6183571eb04d0af0f846459e73a7 | ['1f6fd0f3efa64699a1e756180c6dcb31'] | thanks for taking the time to read this. I'm fairly new to JavaFX and have a weird error in my compiler that I would like some insight on.
Here's the error:
2018-09-13 19:09:36.387 java[8040:660455] unrecognized type is 4294967295
2018-09-13 19:09:36.387 java[8040:660455] *** Assertion failure in -[NSEvent _initWithCG... |
90ddb56da4fb2f667c9498e4b43bebf9d1ad0d07b42232465073c63d41f42522 | ['1f7668757e704bfba435d7b9c0ff428a'] | We use OAuth 2.0 to obtain JWT tokens from an Azure AD. In our application, we have used the value of the 'upn' claim to identify an associated internal username.
The Azure AD Token Reference documents the upn claim as a "User Principal Name", which as far as I understand is a username following the addr-spec format (i... | 667b2ccdfe6b82bcd164d42175f2f991b687f55dcf828d2cdae6ffff2f1aef09 | ['1f7668757e704bfba435d7b9c0ff428a'] | I have both Ubuntu 12.04 and Windows 7 running on the same PC and games installed on both operating systems. The Steam application for either of the operating systems does not recognize whether the same game has been installed on the other OS.
I suspect that even if I pinpointed the directory of the Windows game to th... |
bc179e99a50f941935664c59dff9758a3fc445ebcf6e56856f190cd5c35b400d | ['1fa09e409e1d406c8c600d6367f02351'] | I am trying to code a very basic code where I copy some text from one program and then paste it in a different program. I'm not sure how to do this as Pyperclip only seems to paste the text on the command window where I run the code. I want to be able to click on the text-editing program and then have my code paste the... | c2b45d7a0e2b1250f3e31cf79a4d0d41f86c6844200655faf2a1a8c894cf2374 | ['1fa09e409e1d406c8c600d6367f02351'] | I've done a fair amount of research on adding a colorbar to a plot but I'm still really confused about how to add one. The examples I've seen use different ways of doing so, which just confuses me because I don't get what the "right" way is.
I've seen there is a colorbar method and a colorbar() function, so what should... |
ecfe8fa244285015362d4b17d3192074f35ac39710debc21c7b412cb5ffc5e02 | ['1fa3fc2b62cb41f3ba8658c3a23435a0'] | I found the root cause. The machine is HP Elite 8200, and it is taking internal harddisk as USB hard disk. We have a GPO to block removable devices in the OU and it is making the drives locked.
I am looking for some solutions to fix this issue, because SATA mode is not suporting in UEFI boot mode. SATA option is only a... | d911843bb7fff70a605198830439c9d92d875fd4378000831eeff9d64c6834c7 | ['1fa3fc2b62cb41f3ba8658c3a23435a0'] | I have a domain network, most of the windows 7 systems are taking too much time to startup and settle up. High disk activity and increased memory usage are noticed. I have a locally hosted WSUS server which i doubt causing the issue. The high memory usage issue is fixed after I installed the Microsoft patches KB3050265... |
93a8bc7ab6070aac258bef171d2dc8f80709b1bd8b3e6cf1feec0313e6c7ee06 | ['1fb9d6dd33dc47478ba800a4b02edeff'] | I am setting up a simple cluster with coreos using vagrant and I have a feeling my cloud-init file is not being read. This because the services i want it to start aren't started when i ssh in the machines.
Vagrantfile:
# -*- mode: ruby -*-
# vi: set ft=ruby :
# All Vagrant configuration is done below. The "2" in ... | 920e2fc65e1c5054f3f3c56e5fa0929697ac0e30ce13ecc6c0f47881663375de | ['1fb9d6dd33dc47478ba800a4b02edeff'] | For my Windows 2012 R2 school assignment I need to automatically install IIS 8 on my virtual machine. I guess the best way is with a script. I have found numerous solutions for the UI but non for the cmd.
Is there a) a way to automatically install it on every machine with the ui? Or is there b) a script to install IIS... |
ed11dc0aea3c2fd584332a24514f78b856bf13d37180d75592c750cb2fa7fa2b | ['1fc12473beb64e21b81da75d533c9461'] | Here is a simple one
# My comment
#. Programmer comment
#: location.c:23
#| msgctxt "Old context"
#| msgid "Won"
#, fuzzy
msgctxt "Disambiguation for context"
msgid "One"
msgstr "Een"
I think that covers everything. There are other things like obsolete units, c-format markers. I think I've placed previous messages #... | 1aea6f2d6b11ec46260f693b88d22bcfd450e1c0dafb2959a1f9f53c2bc5c30f | ['1fc12473beb64e21b81da75d533c9461'] | Pootle makes use of RQ, so that would be a more natural fit for background jobs.
I assume you are using update_stores for uploading the files, rather then the UI. The UI can potentially timeout. While update_stores does not background it is easier to safely execute and build into scripts.
|
ddcd1cec10128506bdb216176843b2f0f5272a905669d834310b626868725fb8 | ['1fdc1b3b65904961b0b92b2bbc4d7878'] | I had the same problem with FileReference class and load() function. The problem can solved in this way:
Open the "Flex Build Path" tab.
Expand "Flex 3", select "playerglobal.swc" and click "Remove".
Note the directory path in "Flex 3 - " (on my system it's /Applications/Adobe Flex Builder 3 Plug-in/sdks/3.2.0).
Click... | c783e34cc384980cff58b3f392a0286767a3e7b5aa017008905057b211706c94 | ['1fdc1b3b65904961b0b92b2bbc4d7878'] | So for nginx to act as a cache server it has to be in front of application servers and not "next to" application servers. Makes sense. I'm not sure about best practices on putting load balancing and caching on the same machine but that's another question. Thanks :) BTW can't upvote you, not enough rep yet! |
e9ee4babccc23023baf02f3cca57f8cec9c1db2d1be39ecadf63cbc236c57497 | ['1ff0c7b4d1424bc5b65c6f52942eff5f'] | I don't think this constitutes an answer, it could be seen as anecdotal, but it's a bit long for a comment.
Everything you do when it comes to the integrity of your coding on this issue has to revolve around needing to verify that the data hasn't changed outside of the logic of your game.
My experience with game develo... | 97ddc02922cf4cf82319378994f14168306814e3b61225e75726812bba40ae41 | ['1ff0c7b4d1424bc5b65c6f52942eff5f'] | You don't need to use a select statement anywhere...
UPDATE user_values AS values
INNER JOIN decrease_times AS times ON values.property = times.property
SET values.value = values.value-times.decrease_value
WHERE values.property = times.property AND times.decrease_time = 0
You are taking your table you're looking to ... |
79d031f7869cf2e3af4fea5f4c3b6e99eeacea55de34086abed78a1c1953cd54 | ['2005fc29d1ec4174abad4cdbf25fe83d'] |
The answer to your first question is this link .getting start Cgi programmin
The answer to your second question: You should use multi-threaded programming.
If you have sample function in module test2 ...
#in test1.py
import threading
import test2
T1 = threading.Thread(test2.sample(object))
T1.start()
Answer your thir... | 29a55c52b3c12e4c9442d3764a98818561b06652269337ea3e8c6c34fba03dcf | ['2005fc29d1ec4174abad4cdbf25fe83d'] | I want code like this:
process=run('2.PY')
whilt ScriptRunning(process):
txt=input()
output=pass(process,txt)
print(output )
I have two scripts
Script 1.py
Script 2.py
I want to run script 2 with script 1. between them passing parameter.
My second script has the ability to stay in zombie mode and wait for inp... |
48d857f8ead9c7b53b93ba05a08f0c143e04f2369cc60a2f0dafcd04659c2810 | ['20124681b1a64e6ca0d29929bdd0e29b'] | I'm struggling trying to connect my TeamCity project to my TFS project. I tried a bunch of stuff, but I always get the same error:
TFS failed. ExitCode: 111, command: C:\TeamCity\webapps\ROOT\WEB-INF\plugins\tfs\bin\tfs-native.exe @@C:\TeamCity\temp\TC-TFS-25-7939_109\command.params, in file: {https://budiedimas.visual... | 2d4423e1a5cf4c1ea4f065239d4e3b25e593fa5d3779d6bbc63572b517180ea6 | ['20124681b1a64e6ca0d29929bdd0e29b'] | I don't know if your're wiling to change the library that you're using, but I use library "Newtonsoft.Json" to desserialize JSON objects, it's pretty easy to use
[HttpPost]
public void AddSell(string sellList)
{
var sellList = JsonConvert.DeserializeObject<List<Sell>>(sellListJson);
BD.SaveS... |
c558aa65cdbd5374db69918f45100aef27b91471cf2eed1944e4c4a3532ffe11 | ['2012c9267e0d443bab162dbe5574c5ce'] | I have an image captured using a camera attached to a drone. The camera I used does not give me any GPS data, however my drone has an in-built GPS which I can use to get the location at which the image was captured. I save this information in a text file. How do I add this latitude and longitude saved in the text file ... | 583411f2d81048a9b857e21a75973c904dd74972835616410a730732e247828d | ['2012c9267e0d443bab162dbe5574c5ce'] | I have a Geo-tagged aerial image, that is it contains the latitude, longitude and altitude at which the image was captured. I am using this image to plan a route for a ground robot to move between two points. I got this route as pixel coordinates, however, now i want to convert these coordinates to real world GPS point... |
6e71b1931ffb510c301f2d7120a1cab92dfb4456b5d18e2aa1620d47ef303691 | ['201c8bdde28d4d08b39e591587c8d0b1'] | I have three different services in an App Engine.
I have 3 different routes, each of which should be routed to different services.
api.carspecialsxxx.com
Target => default (Welcome page)
api.carspecialsxxx.com/api/v1/...
Target => apiv1 (API V1)
api.carspecialsxxx.com/api/v2/...
Target => apiv2 (API V2)
How do I realiz... | a5071c7aa1ab1f0443ddd04fae085ef11691cb3caa6ebd76f9a5d1ce4976723c | ['201c8bdde28d4d08b39e591587c8d0b1'] | I want to create an api. This api should not give back records from database. I do have an application, which does have some logic in it, which does get datas from other apis, does calculate, and much more.
Is apigility a good start point for it?
Does someone know a tutorial, where I can see more than getting records ... |
ffcfa46353ecaafa188d0a327a4a61676b6551a40d323207c552ad9380c4f5c6 | ['203026b15572473ab1f1d7c26bda5de0'] | So after grabbing data from my database,$genrelisty=$row['genre'] One of the variables is "R & B" and when I try and search it in my database the resulting page s blank, when I search other genres like "Rap" or "Hip Hop" the resulting page works just fine and just shows the data related to the search.
in php there's a ... | fab52f4e24032dde41a1079526263aaccf38968efe5a7338e3d54433d9c01746 | ['203026b15572473ab1f1d7c26bda5de0'] | I am coding on codetasty and wanting to run a nodejs file that works on localhost. I am using the sandbox on codetasty so the link is similar to https://'s.codetasty.com'/My username/mysandbox/project/.
var app = express();
var serv = require('http').Server(app);
app.get('/',function(req, res) {
res.sendFile(__dir... |
af6f28ba436550f54b20b7f3b25d2e1f734a894c698820a7547a7dd5b7a33246 | ['204e16375ff04dcdb23e81bbafbaba2b'] | I was facing similar problem with focusing with MediaRecorder (particulalry on pre 3.0 versions of android). The following code of setting the parameterers explicitly solved my problem:
Camera.Parameters parameters = mCamera.getParameters();
parameters.setFocusMode(Camera.Parameters.FOCUS_MODE_CONTINUOUS_VIDEO);
para... | dc4e6ac76b17a035d52d07c131da7e2cab3e968ba5614f383a973ec766debbe3 | ['204e16375ff04dcdb23e81bbafbaba2b'] | Simplest way to get the library paths paths correct is to use the GUI from Eclipse to add the library as shown in the following screenshot and let Eclipse take care of putting the correct relative paths in project.properties. Its a common setup to have your library projects hosted at directories vastly different than ... |
3c087bed765bed9bfd81c19b32860e752890df23713e98a79c529ecae8ff00b6 | ['2053c2742f1d4e229c80d89d60f40220'] | I'm attempting to create a login page using Tkinter that connects to a database. The user's details should be stored in the database once registered and then used to verify a user upon logging in. The registration part is working fine, however, there seems to be an error in the login verification process as the program... | 2cb06b56342702ca265896b0b1c7971ad6aaa4d1dcd4f93473dbaf4721931123 | ['2053c2742f1d4e229c80d89d60f40220'] | As part of a game, I am attempting to create a login page in pygame. As I require buttons I have been trying to get a button function (that I saw on another tutorial page) to work. However, I seem to run into a problem with getting the program to register when the mouse is clicked. Below I have pasted my function for t... |
4ff1a3a45901d63693ab099480866aa0cd2f804f0bb0a46776bea3a1ca2297a8 | ['20836388bdfe447692ce3202c7365b23'] | I am training CIFAR10 dataset on LeNet CNN model. I am using PyTorch on Google Colab. The code runs only when I use Adam optimizer with model.parameters() as the only parameter. But when I change my optimizer or use weight_decay parameter then the accuracy remains at 10% through all the epochs. I cannot understand the ... | a3475a386c2ef8155ca548751a24ccb3ec2380b11c5c6daeb2e6ffab3fe40bdd | ['20836388bdfe447692ce3202c7365b23'] | (1) I want to plot in a loop while keeping old plots and
(2) I want to pause after each plotting so that I can analyse the plot.
While I can do either (1) or (2) but not both. How can I do both?
import numpy as np
import matplotlib.pyplot as plt
def sigmoid(w,x,b):
return 1/(1+np.exp(-(w*x+b)))
w1 = np.array([0... |
17af65b0bfaddb5e50fec2b291941450567398fc5960f67dd32019bd739af138 | ['208960a6f75c43a2a060923ba858a5d5'] | public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
System.out.println(a);
}
}
I get the following message and don't know why.
Exception in thread "main" java.util.InputMismatchException: For input string: "999999999... | 9192cb72a4fd0688848e5c264883f85664c13b7e91d9303c0fc1812fab051dfd | ['208960a6f75c43a2a060923ba858a5d5'] | public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String num = sc.next();
String[] partsOfNums = num.split("\\-");
int num1 = Integer.parseInt(partsOfNums[0]);
int num2 = Integer.parseInt(partsOfNums[1]);
int result =... |
de3284db9f98dcfb86e03623f8dbe480b66c2b1cbd8bb27d1389ac98b8327a85 | ['209db4c80e2f467fbff7260972b53db4'] | I have setup a Fabric network using the BYFN network .
I have also added an extra Org3 by using the EYFN tutorial using https://hyperledger-fabric.readthedocs.io/en/release-1.1/channel_update_tutorial.html
Now i want to start a CA server individually for Org3 so i define a file docker-compose-cas-org.yaml as
version:... | 8988430296e2eece8be2091512963666da118d243b44d37a3ac8782d39095dc2 | ['209db4c80e2f467fbff7260972b53db4'] | Your crypto materials are not getting generated properly as required . Check that you have all the Prerequisites installed on the platform(s) I hope you have downloaded all the platform specific binaries https://github.com/hyperledger/fabric/blob/master/scripts/bootstrap.sh
This will make sure you have the correct Cryp... |
3959492c084fa8fd25d21080b89e4ba8a8d81addf105dadd9926215a9176c2ef | ['209e06197c9644209c231ec1aeb0a5ff'] | Ok....I considered the system $45$ in https://www.researchgate.net/publication/226141203_Asymptotic_limits_and_stabilization_for_the_1D_nonlinear_Mindlin-Timoshenko_system
with replacing ${\psi _t}$ by $\int\limits_0^\infty {g(s){\psi _{xxxx}}(x,t - s)ds}$ and I added a delay terms to the second equation...
You can... | 5d5aca168df41167a5d1c49399b8296ef86e0a195bb26f60dce802f7ffd5dd4f | ['209e06197c9644209c231ec1aeb0a5ff'] | Check your apache config to see what modules apache is loading. You should look for a line like this:
LoadModule auth_basic_module modules/libphp7.so
And change it to the php module you want to use. Something more like this:
LoadModule auth_basic_module modules/libphp72.so
Of course this assumes that you have the php... |
741a78996c1a39afe94666d5ff73f9d06ac442ead3ed6c6570b0c87b8ffa773a | ['20b0de685a1d434f8c2150de6e3338fb'] | I'm loading JPEG images, but I set the pointer at the beginning, and configure the image:
stream.Seek(0,soFromBeginning);
image.PixelFormat := jf24Bit;
image.Scale := jsFullSize;
image.GrayScale := False;
image.Performance := jpBestQuality;
image.ProgressiveDisplay := True;
image.ProgressiveEncoding := True;
image.Load... | 80ccdefc2fcb760bfb74a8b83b73d9c38370ce746e0a6bbb4886947268e406fc | ['20b0de685a1d434f8c2150de6e3338fb'] | I have a client that hired me to implement version control using Mercurial, for his fifteen year old application. But also wants to have the whole history loaded to Mercurial server, but there is no version control software currently, only renamed files with the date they were changed, like program1.c to program1_20060... |
a304a0c5c5e6bf948b4b0b7645ccf3781c7865489db5e6d472b456dd519c656a | ['20b46087dd514be69053f91c8c9bead2'] | I have a problem with spark application on kuberenetes. Spark driver tries to create an executor pod and executor pod fails to start. The problem is that as soon as the pod fails, spark driver removes it and creates a new one. The new one fails dues to the same reason. So, how can i recover logs from already removed po... | d74f2a34c463a26d683b2a9fa2a5ea1316d1bd9c806ec94f9ce33f3d7f81bda2 | ['20b46087dd514be69053f91c8c9bead2'] | I am trying to implement a CardView flip in a RecyclerView. I just cannot figure out a simple solution. I have a working CardView where i can display a list of card using the recycler view. The problem is, how to show the back of the card if user click the card. I want to use animation and change the front of the card ... |
dfcb86c0f6954f3a1cc1b30e1c1cfabe998a91037758ceb1b438b297bf350679 | ['20c16794ad4f41dc8f9ed74df3dd9e0a'] | If I understood you correctly, maybe what you are looking for, is a Topic system with publishers (producers) and subscribers (consumers). If it's what you need, maybe AWS SNS can be a good option for that, it's free for 1M requests, and with it, you can configure your environments as subscribers then make the requests ... | 1653947dfc19e67d570a30718aca4f84508e0e22d860f3e12520584e1903efdc | ['20c16794ad4f41dc8f9ed74df3dd9e0a'] | Problem solved. The issue was with the redirect_to from Rails, it was returning the Location header with HTTP, not HTTPS causing the URL to be outside of the app scope.
App (within scope) =>
Form submit (within scope) =>
Redirects to HTTP (outside scope) =>
CloudFlare Page Rule rewrite to HTTPS =>
App (within scop... |
cc65696de125445e0bb3e50929013001e3c12ec02287aafe8bd3b699c3cf969a | ['20e500cddff14ee082ef48707ef4840d'] | May I know what is the command that I should use to get the output of all IP & its frequent while they are accessing my server? I need this command to know the frequency of IP that access my server so that I can block the most frequent IP that access my server. Please help me since I am a newbie to Iptables
| 8c41d38479dd0a76dcad96b7e20768de3224d76ba03831991af07ca7033143ba | ['20e500cddff14ee082ef48707ef4840d'] | You shouldn't see such huge delays. Yes, the styling of Telerik's controls has some impact on the initial form loading, but not as much... Which version of Telerik's tools have you tried?
I did a quick test with their latest version (Q2 2011) and I was not able to see such delays. The test was done on a fairly quick PC... |
96f04233faa724afbd4cd7b5599d067f6b33bcfa3b54d452c057398b40a24110 | ['20e69c3b6b624b0aa7bdb127ec03dae6'] | Do you have many repeat customers? Are they ordering the same item(s) with each order?
In my experience, users on mobile will commit to the same tasks as they would on desktop - with a certain level of immediacy. If they're searching your site on mobile, does it stand to reason that they'd want to purchase immediatel... | 0099935778e80d3f884cdbc79e0bfe29e2805358d7a5c67e157e00c6737165a2 | ['20e69c3b6b624b0aa7bdb127ec03dae6'] | Many thanks <PERSON> for your excellent and complete response. I think that made me understand the math behind $xcorr$ function. Although I also have a feeling of what is the circular cross correlation, I still fail to grasp the concept/math behind FFT and IFFT. As I saw on you profile that you teach DSP and Python for... |
d3e03967b1714a841f201e9407c921f0cbc40a5012aeb6461c18dc9c33c000de | ['20f41bf017b64df6a83a533308dc5fad'] | I am not sure if I totally understand your question but here is something that may help.
The total internal energy of an isolated system remains constant. Any system tries to achieve an ideal state of minimum energy and maximum entropy to be more stable, as the energy is now more evenly distributed between the system a... | 2307d6423eb6bfb1a036e17ed6ef6f2b56cadcb4561a5a8b81e4dbdefb5f6ea2 | ['20f41bf017b64df6a83a533308dc5fad'] | What I think of what maybe a correct proposition is that when the particle hits the boundary of a box( i am assuming that it is a physical box which is what I interpreted from your question let me know if it is otherwise ) momentarily all its momentum is transferred to the wall and hence the kinetic energy becomes zer... |
02b24726b3d9c5ed2f75e39ef9477716d80d1cf60612626e7e2e28847fdedd0d | ['2103f96f30da4c6b882147fa9caa02fa'] | I want to read a specific line from a text file without reading the whole file line by line. For Example, if I have 10 lines in a text file and I have to read 6th line, I will not read the first 5 lines but will directly read the 6th one. Can anyone help me??
| f9c4228da07241b5190b42dbee5bd7ad5c9769e5dff65217db3b4135f172ef63 | ['2103f96f30da4c6b882147fa9caa02fa'] | I am working on Laravel. I have a blade view page on which multiple forms (of same model) are created. Now, I want, that when I click submit button, an array of all the forms should be returned to controller. But, it returns data of only one form instead of array. How can I achieve this, Can anyone help me?
|
277d6a17dfc1ae5418daa3993294a6a25b7a1ef423ded2d1b9113cbdca837770 | ['2116d1bdad814c64a7249d459e3f6d7c'] | Thanks <PERSON>, here is my final code that worked:
function GetMETAR() {
var ss=SpreadsheetApp.getActiveSheet();//set active sheet where form answers are stored
var lr = ss.getLastRow();//since form pastes last answer to last row we get its number
var rg = ss.getRange(lr,8,1,5);//here I set range where I will p... | f151aab74cfa8013117e10f5e602ca72c6fb35717ed1f5776f7e369e61a94866 | ['2116d1bdad814c64a7249d459e3f6d7c'] | I'm trying to create a simple app that will do the following in a loop:
0. wait for the start button
1. system call to create a screenshot and save it to disk
2. render the screenshot from disk to shiny output
3. print status "filename - ok"
4. Sys.sleep for e.g. 5sec
5. Check if the stop button is not activated - go ... |
d7f33b3a3f0fbb85fc0f39cfd63c72ed1b7b5bdadd9aac68c74ce63dc5abedaf | ['211bf4a46bab483996e38869f8b4383c'] | You can add '-reconnect 1 -reconnect_streamed 1 -reconnect_delay_max 5' as part of before_options.
@bot.command(pass_context=True, brief="This will play a song 'play [url]'", aliases=['pl'])
async def play(ctx, url:str):
server = ctx.message.server
voice_client = bot.voice_client_in(server)
player = await v... | 7c43a712efab1b881d2a706891252580f7dba6eeb9912e8d4d13e7e64c7f635c | ['211bf4a46bab483996e38869f8b4383c'] | This should be possible using channel.purge(). This will delete every message in the specified channel if the bot account has sufficient permissions.
@self.discord_bot.command()
async def clear(ctx):
try:
if ctx.channel != self.channel_name:
return
# clear history
await ctx.chan... |
2f760f9d41d85e517823d0b1c97d9e09306edf39914d978f0944e06a5c032d2f | ['213049d0d9ce49afbd70a7a1bf85480b'] | This is an important point: the ability to choose either sharps or flats provides a very useful *notational convenience* for representing certain keys that would be difficult to write if you could only use one or the other, which is entirely distinct from the differences caused by natural pitches, and seems to have bee... | aa5055b59d9b41b38cc1af03aa72b144e4b5dea0f5e44ec2c6aabe54f6d59451 | ['213049d0d9ce49afbd70a7a1bf85480b'] | There are multiple workarounds you can try:
Use Headless browser or run execution in hidden mode using "phantomjs". It is driver like chrome driver which start your execution in hidden mode.
Phantomjs WebSite
Minimize the browser using set position in selenium. Try below code for the same: driver.manage().window()... |
7d9ca8be60ad112b020aab123ecdb8df35591f3bd71d294a785b21651949d833 | ['21471b956e2f445288a2d6282d8646ec'] | technically, this is already what we have - the first part of the password is public knowledge, and used to make the rest of it unique (.... what, that's the effect of the username). The problem with your system is that users are unlikely to use an 'equivalent length' password including a 'username' (eg if their pass... | 41187952f7aaa0155c24d575676ddf7be4b07bc66c7af6f4720801bc40639d05 | ['21471b956e2f445288a2d6282d8646ec'] | Well I've found a solution, not very friendly but works, is based on this article
So basically the article says that you need to identify in the query how to include everything that has any value:
Text values consist of alphabetical characters (a..z) and numerical characters (0..9) and use a NOT at the beginning to exc... |
220d6cba9c394da448abea04749cfcb837616bd0e29db5c886f092e60d6274db | ['214a46c7d43a4643a4aee6b9298e215a'] | When you use jenssegers/laravel-mongodb and you insert an object (document), the deteted_at field is not created. This is created and set with the current date-time when you execute a delete() on the object. It is not necessary to assign a null value when the object is saved. The library retrieves by default the docume... | 721b72d3b26a127576fb5fa0eb77d752885e32c814af6ffe05070c97cb51c645 | ['214a46c7d43a4643a4aee6b9298e215a'] | I add an example that does not shows an error when the value is empty and validates a regular expression (MAC Address).
<TextField id="macAddress" label="MAC Address" name="macAddress"
value={this.state.macAddress}
onChange={this.handleChange}
error={this.state.macAddress !== "" && !this.state.macAddress.match("^... |
6345dd8cea2335f217ae0a86b7006ba3c4ef4ba95f39d9ebdb2bcd8cb8fb23ef | ['2150c289c6ac423198687a1fab48c666'] | I have a sphere of radius 5 and a cone (i.e. z=√(x^2+y^2)) inside of it. I can show them separately, but I'd like to show them together. I've tried a few tricks with opacity, implicit specifications, show, and range changes, but nothing is giving me a satisfying result.
Really I'd like to show the "ice cream cone" shap... | a56e4fab66ecab5b92562e0c43118e4b2caaa21157e0e29f4a2d002e24199327 | ['2150c289c6ac423198687a1fab48c666'] | We use a DIY motioning system (built with Raspberry Pi) to monitor our 2-year-old child while he plays in his own room, so we can have a dinner in the kitchen, study in the living room, and do other works with peace of mind.
We didn't directly tell him (yet) he is being monitored, but we sometimes make remote conversat... |
22e9f7d5968f13435983654887059adf69abb4ec47727c45be44b48f47fb4d4f | ['2163233ae81b447087dff2ddb774319d'] | i'm not very able to use stata. For my thesis, I have a panel data(1970-2017) for different countries and a lot of variables.
In this dataset, there is a dummy (dhairendH) that is equal to one in the years where a country end a debt restructuration.
i would like to graph 3 different dependent variable (it is better if ... | 4b9cb2f80929826797c0089a4e329ce2d72cb5a1d84b0dd81c9751120d41c180 | ['2163233ae81b447087dff2ddb774319d'] | let defines lexically scoped bindings that are not accessible from the body of the eval function. This is no different than any other function. However, the bindings created with def are accessible because they are namespace global. All functions have access to namespace global variables, as long as they are public.... |
70f029ea0491fcc73fb6c48b113308e6c7c7166c7cc2bbc1ab213ca9e987bc96 | ['2167f3adea734e5bb7b82d6312d432f0'] | The best answer so far. Please feel flattened <PERSON>, for the well-rounded and accurate answer. I think I will end up projecting the pagination filter way down to the SQL queries using SQL Server's `OFFSET` and `FETCH` keywords. The only downside to this, is that the more filtering I end up doing at the query level, ... | 07621fa7090905aed75accb0b8f9fce9d1f7255b7d7feea8c0d0710a4ce66655 | ['2167f3adea734e5bb7b82d6312d432f0'] | Under the REST architecture principles, a RESTful application should be stateless, therefore each time I invoke an ASP.NET 4 REST service (with GET verb) that pulls tens of thousands of records, the REST service paginates them with in chunks of 10 (with OData v4), which makes the UI lightweight because it only loads 1... |
68aa6e82b41b44a2bf933a145d09a7783fa65e48f7155d0ae1be9c96dc20584b | ['216808e9dd3e480ebc8449498e828045'] | So Later on when i check my local/temp folder where the .exe file was extracting the whole files, it came to realize that after the extract it do not have any \tessdata folder of which we were giving the path and the e13b.traindata was direclty extracted inside the "Tesseract-OCR" folder.
So in app.py gave the path of ... | 0ef4b33dd793f54961f1bbdffc84bc984a6a74d97555ad7f1edd69958c119de3 | ['216808e9dd3e480ebc8449498e828045'] | What you can do to get data from ArrayList inside the OnitemClickListener method is,
bookList.setOnItemClickListener(new AdapterView.OnItemClickListener() {
@Override
public void onItemClick(AdapterView<?> parent, View view, int position, long id) {
String bookName = booksArrayList.get(posit... |
97b9174402c7af8319d25eb26b53e770e4919ec9f1988083586f1abd3d55f0c8 | ['2179aef9313f40b196e82ef751a6b155'] | The best and easy way if you are using the text editor for the resx file is by pressing
Shift+Enter
for every new line that you want, as noted in other answers.
If you are using text from other source and you are copying/pasting the text in the resx, then the Visual Studio will paste the text in the same format as it a... | eb070555f863c4cc9e07d1f2e95ff0976373beb5990aaf2bc8cf651e95135f1a | ['2179aef9313f40b196e82ef751a6b155'] | I need to know what is the meaning of part of the Eclipse log. For example:
!ENTRY org.eclipse.ui.navigator 2 0 2017-03-31 13:07:11.248
!MESSAGE Warning: popupMenuId of ".....
After the plugin ID there are 2 and 0, I think the 2 is the severity, which is warning in this case but could you tell me about the second di... |
5f24a5c47372584c17bfcc7af8c35f6d8188bb83afccb9122794128003efb023 | ['2181e9d3bce54c1f8af02696a2268958'] | So I have an ESXi server setup with pfSense acting as the DHCP Server for the VM's. I use VNC's to access each VM over the internet (For example with ports :5905,5906,5907 etc.) and I would like to restrict that only certain IP's can access (whitelisted IP's) these VNC Servers and nothing else. In where and how exactly... | af6b12e0b14be0983f1281601e174e7f37e3067723b1efd09fb7481a14b3bc6c | ['2181e9d3bce54c1f8af02696a2268958'] | As stated before: Using only Google API the only way around the limitation is to pay for it. Or in a more shady way make the requests form more than one IP/API-Key which i would not recommend.
But to stay on the save side i would suggest mixing the services up since there a few more Geocoding APIs out there - for free.... |
94a5c8eadc4d7d05aa2b01223a8ec9e47ac8c1c8118f78eb90869f3426433137 | ['21907007137e479097741b850a0b9c3d'] | I'm trying to create a SalesOrder via WebServices but it always fails due to missing mandatory fields.
I'm sending the following fields.
The error message does not specify the missing fields
I'm using vTiger 6.0.0
How can I figure it out
salesOrder.subject = fullDescription
salesOrder.sost... | c699de540bc60577b3d01d91ffa75dd18b8713b6cdf9ac8190f156a1f6fe7456 | ['21907007137e479097741b850a0b9c3d'] | I managed to find a solution
At the domain
static indexList = ['number', 'carrier', 'validThrough', 'inUse', 'dateUsed', 'active']
read it at the index.gsp (scaffolding template)
def listFields = domainClass.getClazz()['indexList']
if(listFields){
allowedNames=listFields
props = []
listFields.each{p ->... |
d75855258ea42fac4a7393e0bb17a592810919d93a0ed7ddac6d4b9d8bc149d4 | ['21a98b67ac09432faa103ef7eb79479a'] | Using eclipse Luna you have to:
clone it from GIT.
cut (copy & delete) the folder COM under the JAVA folder to below the SRC folder like in regular Android project.
change the project.properties target to 15 instead of 8.
build the project.
export the project as jar file including the source - use the export tool.
kee... | 599765825624b08642c9ae9e27cbea667aedfc53b5ce1faa1986cadda4073d40 | ['21a98b67ac09432faa103ef7eb79479a'] | You have to use http call to query the factual.com tables.
Here are some http examples you have to call on your code: (after you have your api key)
http://api.v3.factual.com/t/products-cpg?q=shampoo
http://api.v3.factual.com/t/products-cpg?q=shampoo&filters={"brand":"pantene"}
http://api.v3.factual.com/t/products-cpg?f... |
e2f1ecdfb8fb74d1e9a01403378e3e94f2290988e1f2c872d73b73884a07f2ec | ['21c941c9ef3c42d8ba62a6b14eab1e3f'] | I'm using Ubuntu 12.10 and as I know there is already a firewall on any ubuntu system. It's ufw and because I like fancy gui stuff I can use gufw, that's very nice.
Now I would like to configure this firewall. I want always a notification if there is some incoming or outgoing traffic. The user should be able to choose ... | 0c092396eacbd3fc45dad3e4e1be2e4f4adc3836fa957ba3fe22501f5419a2b7 | ['21c941c9ef3c42d8ba62a6b14eab1e3f'] | This may be related to the operatingsystemconditions configuration in the Installshield pre-requisite file Microsoft Visual C++ 2012 Redistributable Package (x86).prq located in the Installshield SetupPrerequisites directory.
The operatingsystemconditions section specifies which versions of Windows, including service p... |
5b259f5dc746f89560a867c8c3dc99fed9a8f6547457c103d57d6d5660c85971 | ['21d6520e6f1d4ff482aa53c5d62219db'] | It has come to my understanding that the error
[Linker error] undefined reference to `__gxx_personality_v0'
is caused by trying to compile a C++ program with the gcc compiler. This would be solved by compiling the program with a g++ compiler, but how does one get Dev-C++ to use the g++ compiler???
| 5bfa35a9e2e5a4c5967f9126d31dbee53368891382c74b8f37a1bdc63b6ae8f3 | ['21d6520e6f1d4ff482aa53c5d62219db'] | In the code below, a method is used to input a Mat image and output an edited Mat image. The code works okay, although I am unable to have all five images on the screen at once, as when the code is run, only the last output image is displayed. Ideally, the code should display smaller, scaled down versions of each outpu... |
25c178b608c73fda00efc0d6ed3df5d527170ee12f8aa8dfe677dbafbad1795e | ['21d80164ea484f9d8033206a2793a9ab'] | Here you go For Google.
Button login, signup, signout;
GoogleSignInClient mGoogleSignInClient;
private static final int RC_SIGN_IN = 1;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_login);
lo... | d360d1f076d2c5772ecce75ec8367211b3e079dbade3b0ef60d6fafc2e1f1b7b | ['21d80164ea484f9d8033206a2793a9ab'] | There You Go
final String WHATSAPP_STATUSES_LOCATION = "/WhatsApp/Media/.Statuses";
RecyclerView mRecyclerViewMediaList = findViewById(R.id.recyclerViewMedia);
LinearLayoutManager mLinearLayoutManager = new LinearLayoutManager(this);
mRecyclerViewMediaList.setLayoutManager(mLinearLayoutManager);
Lis... |
d9758f44b0a36bfe3b64f7e43f6473216515ab9f22c23be154d2cee5a43bf71f | ['21e01cd69cff4475946f2bada1578ef1'] | <PERSON>, valeu mesmo pela resposta. Muito completa e detalhada! Valeu muito mais, porque você usou parte do que eu escrevi no meu site pra responder a minha própria pergunta e isso me deixa muito feliz, já que eu sei que você achou meu conteúdo interessante!
Fiz esta pergunta em outubro de 2016 e publiquei o artigo s... | fc904f600b971518748cd1988866f11902960e7d639d043cadcb827a15dc090a | ['21e01cd69cff4475946f2bada1578ef1'] | Pensando exclusivamente em tags e o que elas representam, penso que list e lista são a mesma coisa. Se levarmos em conta que estamos no SO em português o mais sensato seria manter o tag em português, contudo, como sabemos, o idioma da informática é o inglês, logo, algumas pessoas se sentem mais confortáveis em usar um ... |
d73c515901610dfeb1be4f2fcfed06780624646a008ca165765a2c28bafe5c62 | ['21f00ac75b3c44b2a9f46166f821c460'] | I have configured my CAS 5.1.4 and I also generated my self-signed certificate using keytool, I have LDAP for the repository of my users, to run the CAS project I perform these steps:
./build.sh clean package
./build.sh copy
./build.sh run
Configuration file:
application.yml is https://jpst.it/1YrFH
cas.properties is ... | 1c7e02d8188ae8b11b5a94c522bca075ee6b9de7b9b4f01b47cb4b859685628d | ['21f00ac75b3c44b2a9f46166f821c460'] | I need to call in each of the pages, the connection status of the wifi.
Then use a provider, but in the MyApp(app.component.ts) constructor, call the provider(ConectivityServiceProvider) only once.
app.component.ts
import { ConectivityServiceProvider } from '...'
import { Network } from '.....';
export class MyApp {
... |
c4d676f0744528b49e402dc4e898990ea037a87831b366d5a400372038f87a59 | ['21f36a0a2ae84474a3103489f79e4725'] | I have the following table:
date1 date2 sc cash date
"2010-09-20" "2010-09-21" 202 300 "2010-03-01"
"2010-09-20" "2010-09-21" 202 600 "2010-08-01"
"2010-09-20" "2010-09-21" 202 670 "2010-08-20"
"2010-09-20" "2010-09-21" 202 710 "2010-09-01"
"2010-09-20" "2010-09-21" ... | 9a4e20bdb602ccc479b662ca231893d3b4b2c3e8190ae826378cee091e4a6aaa | ['21f36a0a2ae84474a3103489f79e4725'] | I have been asked this question and I think it's doable, However I am having a hard time coming up with an algorithm to do this. The restrictions is that you can not use any other data structure nor create another queue. Also you only can use enqueue, dequeue and peek (NOT a priority queue).
Thanx for contributing :)
|
714c5dae01271a1a7ca593fa5d315d5f8281306ee0702ef728525457fcc3141a | ['220437e7150842a5947b1ec7baf80d16'] | I have a PS4 with 500gb HDD and I've purchased a new 1TB HDD to upgrade the capacity.
According to the official Sony guide, If I want to backup everything (users, saves and installed games) I'd have to find an external storage big enough (~400GB as the disk is almost full) to witch I backup and the restore from when th... | b0618a2b3fe88ee5c9c67e042f3a9acb4a327ad829b5f00a9efaaaabee867b74 | ['220437e7150842a5947b1ec7baf80d16'] | As an additional information, I made a new installation of Ubuntu 16.04 and tried to open pdf-documents compiled "at different locations". So I guess that the owncloud-client is not messing things up here. Maybe it has to do with encryption of my homefolder or it is some texlive issue. |
8a5b14d6f40bbd922d6fe59a50f354f880875996281e4fab388bb0eefffbae5d | ['220ce08e8b5d45459fbc822d97ec79a4'] | I have to create a hashmap with the key to store in the format 'firstname lastname' or 'firstname' and the value is an integer. Then I have to perform search operations after receiving the input till the end of file. Please suggest edits in my program to handle space separated strings and point out any other errors if ... | 5ab4ce316593fc18be17bc8784c7fb35e9a89f45c6004c875625e386931ff1b7 | ['220ce08e8b5d45459fbc822d97ec79a4'] | I want to create an if/else in template matching method, so that I can print if there was a match or not. But whenever the function cv2.matchTemplate does not get a match it simply throws an error instead of returning some value. So how do I get it to return me an integer value so that I can use it for comparison? Basi... |
ee74c6813ff3d3177557f1bfd618f4cf40aba877f0d111996b678387595c1330 | ['22415b49bd714b7ea1382578e47e4cc4'] | The Sidekiq documentation recommends against having more than a few queues. I'm considering attempting to migrate a Resque setup that currently uses 107 queues.
Can anyone provide a more detailed explanation of why I shouldn't use Sidekiq with 107 queues? The above linked documentation just says that Sidekiq is "is n... | e3555ad69474541c8a48e7425a30998d4142892515d957555f0f1386963460ca | ['22415b49bd714b7ea1382578e47e4cc4'] | It seems like what you're actually trying to test is that /products/foo/bar is routed to the show action of the ProductsController with "foo/bar" as the id parameter.
Under the covers, rspec-rails controller tests use ActionController<IP_ADDRESS>TestCase, which provides an assert_routing assertion. In rspec-rails you c... |
e5a563b7af6903f55b5ca0c4940bef17974b4e0fae02e3b1aa4c6904580ec4f9 | ['2244c86414ce40469f5676bfabaab8e6'] | It's best to always consider SOLID principles. Because it makes your code simpler and easier to maintain.
As I understand, the Person and FavoriteThing classes are both your domain and data entities and are also exposed to the Presentation. I think that's the first design smell here. We need different objects to repre... | 838247ac2e28dcb90e6be75bf6e76f837412e7c4db316effa4ff1d2505e99dd7 | ['2244c86414ce40469f5676bfabaab8e6'] | <PERSON> thanks for the elaborate response! It worked for me and this is what I did in detail: 1. Disabled all TM destinations (`sudo tmutil removedestination UNIQUE_ID`) 2. Defragment all the APFS-related partitions/volumes (as mentioned above) 3. [Decrypted my drive](https://www.youtube.com/watch?v=Evp13JAqdi4) 4. op... |
cd14eafcb19a17a8da2a74e17c039a13911b22b8823439fb930d5b4aef31971b | ['224a9c877c124bb5a221185faa54771c'] | Hello again =) <PERSON> just look at http://ignn.ru/map, <PERSON> at http://ignn.ru/map/hs.js. <PERSON> example - name = г. Волгоград п. 19 Партсъезда пер. Банный д. 6. By first word "г.Волгоград" i get result. But.for example by next someone word like "Партсъезда" search <PERSON> don't found result =( | 0bf42159bd025edd44d3c49095c39d8dc4babb71b76f0d540962f1a9a79cd809 | ['224a9c877c124bb5a221185faa54771c'] | One note @whuber - it may be useful to express chemical concentrations as logarithms at times, but in this specific case the molar ratio is the focus. A log transform of the provided subset might get the data to look 'neater', but I see that as an unnecessary step. It is beneficial to look at large data sets spanning o... |
9e453b9e1020437e9430bc7eac4fff575a6719fb8cb500c132b69b44f0fd2654 | ['224fed153579400386a960421229febb'] | As you can see YansWifiPhy is a child class of WifiPhy. The typeId of WifiPhy has Frequency as an attribute. You can set this attribute using any to of the following way:
You can change the default value of ns3<IP_ADDRESS>WifiPhy<IP_ADDRESS>Frequency using the Config<IP_ADDRESS>SetDefault function. The documentation ... | 0618fb832ef1920bcf7820226fff19bccd5d300432c2ed34d1b9ba0a6d406efc | ['224fed153579400386a960421229febb'] | There are different ways to do it based on the network topology you want to work on. If you want to have four nodes sharing the same shared medium, you can simply do a node.Create (4) and install a CsmaHelper on your NodeContainer, you can checkout /examples/tutorial/second.cc for a simple implementation of this.
But i... |
2e04c871baef6385417d7525ca55106dceeeec41902503f9012433a013a292d1 | ['2251c4eb357a4cc9bdcde34e4fa1af95'] | To be honest, I'm not even sure this is an issue, but I'm curious about sharing my observables when using ngrx.
Let's say you have these three variables in your store that control whether something is open or expanded:
export interface State {
isSidebarActive: boolean;
isPlaylistExpanded: boolean;
isFolderL... | 5b954558514848bf4564a7d9ce3d011c34552cc66decfe375fe252c01098b325 | ['2251c4eb357a4cc9bdcde34e4fa1af95'] | I've seen a dozen ways to implement retry strategies, and I feel like I'm really close. What I have here doesn't throw an error after takeWhile() completes.
getItems(): Observable<ListItem[]> {
return this.authHttp.get(URL + '/items')
.retryWhen(e =>
e.scan((errorCount, err) => errorCount + 1, 0)
... |
6e62c9de666b94b30056d7d9ec448898c94573739aa93af4fe7380df08b53b85 | ['2255fb8344bf47e481ae471edfab731c'] | I hope this answer is not too late!
For your first model the version in nlme would be:
model1 <- lme(y ~ A ,
random = list(A = pdDiag(~time)),
data=data)
Your seccond and third models are equivalent. Model 3 in lme4 package can be also written as:
model3 <- lmer(y~A + (1|site/A), data, method=FALSE)
... | d070f07d4c97835a871bb46552fb86f8775956f87c7b618fd050ec25732ce1ea | ['2255fb8344bf47e481ae471edfab731c'] | That error usually arises when the funtion does not accept one argument that you are including in the function call.
It seems that the function plotTangentSpace does not use the argument groups.
The function is from the package geomorph. I found two versions of the package, one accepts the argumentgroups and the other... |
f3a480b3bccd1c35e901ac2467a3dbf6725eb1ece16cf42a990c28517ec76535 | ['226a42b5dc6a4af1aa8c0d358c38d435'] | First problem:
If your for loop is written such that it does not go over the length of the linked list:
for (int i = 0; i < length(); i++) {
Then why do you need this?
if (node.getNext().getNext() != null) {
node= node.getNext();
}
In particular, this code might mean that a node... | 3528f247af88f841ef41eb42e33e9cf5485d6d6ca577a47e09aec17ea3c0776d | ['226a42b5dc6a4af1aa8c0d358c38d435'] | In an aggregate function using queries, all selected values must either be
1) in the group by
2) an aggregate function.
This is because max is not the only aggregate function - imagine if you used AVG instead of MAX. What values would SQL have to give for the other rows, that apply only to one row? There's no way to pi... |
5aaa9efec32a35e55b0eabedb54a4605f9e21b85d71615064d9e71603759063b | ['228305e41c5a4540a662c27c20c92451'] | I am preparing a ps1 file. It will install some programmes silently. But my programmes' setup files were saved in my USB flash drive. In my ps1 file,
cd E:\User\User_Setups
This path is my USB flash drive's path. But it will change on the other machine. Maybe G:\, F:\ etc.
Naturally, I don't want to change this path ... | dad2091c16539ef5241509ed95ac2d6ef633c5e3774c42667c3536040cd28f90 | ['228305e41c5a4540a662c27c20c92451'] | This question had asked for PowerShell before. I want to do this in C#.
I have a directory on my desktop. The directories name is "rename".
C:\Users\dell\Desktop\rename
And "rename" folder contains "a_b", "b_c", "c_d", "d_e" folders.
I want to replace "_" with "-" characters.
In other words, folders' new names will be... |
02bff479a4552ec4b21b70796bb46f36c0d38023eeb57714d3f85ebc1a0da306 | ['228bc600b00d4d1fb676d9b624c7dd7c'] | I would focus on the training data. To me, it looks like the model is over-trained. The second possible option is a problem with train-, cross-validation- and test-set.
Please check:
Are they really independent? Especially train and cross-validation set.
How large your sets are? If you have enough variance in cross-val... | a85fc25242856da1c800cedf84ff7320949fff314bde9fe295cda83a1b94ba7a | ['228bc600b00d4d1fb676d9b624c7dd7c'] | At the beginning, I will describe formula, what I am trying to compute:
Math formula on google chat api (I can't post image directly.)
where I is identity matrix with shape (M,M), N_i is the vector (C) and T is the matrix (C*F,M), T_c are submatrices with shape (F,M).
My code for tensorflow to enumerate this look like ... |
9d220de2fd7262c255770b3168197fc559dc4d185e17ee23f6ac878adb423aba | ['22b52200fde84902837da086cfdc7da2'] | in general if you just print as in example below (which works for me) it will go to the log of the task which will perform the UDF. the complicated part here is to find the the relevant map/reduce task which produced it through the job tracker (in pig 11 it is more simple as pig write each phase to stdout)
@outputSchem... | 028053ced021e864f8fbfb84145f8fa307109c4ef0bf1f5efadd174996271ac1 | ['22b52200fde84902837da086cfdc7da2'] | this is an example for a UDF concatenating strings which are tuples in a bag assuming there is 1 item in each tuple (string delimiter in the output will be an '_'):
#!/usr/bin/python
@outputSchema("schema:chararray")
def convertBagToStr(acctBag):
return "_".join([str(i[0]) for i in sorted(acctBag)])
in the Pig sc... |
7bd27297f0c6d433607bafd22c4346d99fbff860490d0fc8b33f8ebb6e850b27 | ['22bfed71ac2a42aaa8c3ef27f83eafe9'] | I am setting up Squid proxy with mac address acl. I have recompiled squid 3.5 rpm with --enable-arp, acl. But after configuring Squid.conf with mac address acl its unable to block access for unwanted mac address.
Is it possible to create iptable rule and allow some mac addresses to permit web access? if yes how to do t... | d121a7d8db21baee8e987d6d8ff093636de7c393b3d05fa67622b25533700b29 | ['22bfed71ac2a42aaa8c3ef27f83eafe9'] | thanks for the reply <PERSON>, but I still have the bleed on the inner side !? My document is a booklet two page, with facing pages. Now when I put crop marks it takes the belled from the inner side of the page too. Also, the info for the linked images says ICC Profile: Document RGB . Any ideas of hoe two make thi... |
1a6b75b38be0ec8a11bc4c52808e6e0276e7a3415d4e1f1154a471c4f55181d2 | ['22d9ff2807c241ac9f84650fe7c4a76b'] | My quess..You are using a ListFragment derived class with an xml file that has a view in it with the id android.R.id.list. That view is not a ListView.
When you use a listfragment derived fragment you do not need an xml layout file, but if you create one the listview in it has to have the id android.R.id.list
| 1c34187211a5d47726bbddb73f53d7d96ff5fdffb30ec8643f766b13ef4394ab | ['22d9ff2807c241ac9f84650fe7c4a76b'] | You have two controls with the same Id. One is a menu item the other a Switch. If you change the Id of the menu item it should work. On a side note, I would put the code:
bluetoothSwitch = (Switch) findViewById(R.id.bluetooth_switch);
if(bluetoothSwitch == null) {
Log.d("NXTController", "Switch = null");
}
checkF... |
1083ba6fed539130debb60be4faae9e446b36211c75b283fa276bfc9af886a76 | ['22e4bf1fa31a4da3acf4332b3bb357ae'] | aapt appears to have a --custom-package flag. Is it possible to configure the Android facet of IntelliJ such that it is possible to make use of this flag? Looking at the Project Structure GUI, I get the impression that it is not.
Though I do see that CUSTOM_COMPILER_MANIFEST is listed in the .iml file, but I do not see... | 4051ca025b9c45a8fe186ca887ef9fc33095619a2849b96112798a02dc917bba | ['22e4bf1fa31a4da3acf4332b3bb357ae'] | If your animations are tied to a goog.ui.Component (or any other object that extends goog.Disposable), then after creating each animation, you could register the animation with the component via the component/disposable's registerDisposable() method.
That way, you could dispose the component (by invoking its dispose() ... |
5033050df76e3a45d4e0af3a5a6d27149fd77a7a0e850017198a8965fd494e75 | ['22ebdb9846854a7ca827b3fbcc3187fa'] | This is very helpful, and all sounds perfectly reasonable. My concern has to do exactly with @gung's answer to the question you link to: if the plot.lm plots, being intended for linear models, can be misleading, it seems there should be GLM-specific functions like glm.diag.plots. | f84d09894b7c315bb2c707c247f5428c811534c932c1c01dc3ea7417267a8c39 | ['22ebdb9846854a7ca827b3fbcc3187fa'] | select t.user_id, count(t.user_id)+1 as cnt_session, (SELECT count(DISTINCT t2.user_id) FROM time_user t2) as cnt_users
from time_user t
WHERE ROUND(((SELECT t1.`time` FROM time_user t1 WHERE t1.user_id = t.user_id AND t1.`time` > t.`time` ORDER BY t1.time ASC LIMIT 1) - t.`time`) / 60) > 5
GROUP BY t.user_id
ORDER... |
106fef2c825849f8bdf5da454f725e52744bd1c610eda6befcd83e62ae5b2acf | ['2303308c4d4a4d35be40fe8518ad81ca'] | I am trying to create a day-view with times on the left side, and a top header of people. Currently I can get the left OR the top header to stick, but not both.
How do you get 2 sticky headers?
My render looks like this:
<ScrollView style={{height: 600}}>
<ScrollView horizontal={true}>
<View style={styles.... | cb92d92e9c5aea6f810f36ba05e571de08a71e72124088a31635fbcc87a3a90a | ['2303308c4d4a4d35be40fe8518ad81ca'] | Here is a better way to do this. This really cleans up the asynchronous nature of javascript. Checkout the async library that I am using here.
var collection = db.get('nomi');
var async = require('async');
app.post('/genderize', function(req, res){
let countingObject = {
females: 0,
males: 0,
... |
fcecefa2088a0477b1efb02e126a1cc8687dd90eaf43fa8cbc2d90b233df523c | ['2304fb4e7ff84c47958d8d1b489925ac'] | I needed to do this today.
Here's my code, mind i decided to make this a HOC that you can choose to wrap or not wrap.
For use cases that have multiple redirect cases you'll definitely want to use this inline instead of as a wrapper.
import React from 'react';
import {Redirect} from 'react-router';
interface ICondition... | 34b719ff53a62727533541782e1b0f994b669d9a4487f0d6818e64c8613e85f5 | ['2304fb4e7ff84c47958d8d1b489925ac'] | Found the permanent solution in the mongodb documentation
In /etc/mongod.conf write:
cloud:
monitoring:
free:
state: "off"
Then run either
sudo systemctl restart mongod
sudo service mongod restart
Honestly mongo, you should never be this persistent when pushing unwanted monetization features. It's bad eno... |
7a619502cd2f4bf43074f036d01d72266ed984b839a450545e3cbc67f7f46573 | ['231efe6576cf4fd5b1124eb8c7f35825'] | I don't know what the problem was, but it's gone now: I removed vim (pacman -R vim), manually deleted the directories /usr/share/vim/ and ~/.vim/ and reinstalled vim and vim-runtime. I then placed my colour scheme in ~/.vim/colors and my syntax files in ~/.vim/after/syntax - and it's working.
| c46b20cd75d2f32a9c9cf30f525220aa57b3aec8f169ce20fca38c9b0db114da | ['231efe6576cf4fd5b1124eb8c7f35825'] | I have a fresh installation of Manjaro linux 0.8.10 with vim 7.4 installed, and I'm unsuccessfully trying to enable syntax highlighting for c++11/14 using the script by <PERSON> (which I've been working with until recently), or vim-cpp-enhanced-highlight which I've never tried before.
I've googled around, and followed ... |
1c52520ee2342be40527b6a25c99a6d6136521cdf3a86bf9b22ce203fe8a35a0 | ['2320de822d894152bcec8ff8fde2c9ae'] | quiero hacer la actualización de un campo en una tabla.
Actualmente luce así:
El último número del campo "referencia" corresponde al "idtitular".
Necesito actualizar el campo "referencia" a que diga "T202100-idtitular".
Por ejemplo en el primer registro, que quede "T202100-1".
Es una cantidad grande de registros, por ... | 81bdb972f62092e055b2daa541522af00bb38d323393754deaa440204f4f16d4 | ['2320de822d894152bcec8ff8fde2c9ae'] | quisiera saber si hay alguna forma de hacer algo como lo siguiente:
Por ejemplo, tengo esta línea:
m_gridEmployee = new ASPNexusGrid(__gridEmployee.XMLDocument);
Esta línea es de un sistema que se hizo específicamente para Internet Explorer, entonces tengo entendido que la propiedad .XMLDocument, sólo funciona en IE, ... |
fae30c4f108eda9d6309c431906293b54384a4d3bd268106136ea14241a004e6 | ['2325ef12455d47f2a1c9d72b45c66526'] | I want to fetch images from Mobile External Storage,
I added permissions in my manifest.xml
error I getting in myconsole
E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.learning.essentials, PID: 10988
java.lang.NullPointerException: Attempt to get length of null array
at com.learning.essentials.ui.... | 0c04e11abba6cca6a880f6c2cf347ddb35d521b350b1ff6f5f32f7de888737f2 | ['2325ef12455d47f2a1c9d72b45c66526'] | I want to Read files from External Storage,
I developing Android App for Android 10+
I use this code to targetpath in android lower 9 version, but while using this code in Android 10 it's not working
String targetPath = Environment.getExternalStorageDirectory().getAbsolutePath() + "/DCIM/Camera";
System.out.pri... |
854e598f490dfc1025131e4b26aa47ecc6b0b249c13e06e5a05bd4d924a17204 | ['23270956ce884c53b7a19b869b192559'] | I am trying to write an ejs file with a for-each loop that displays, as text, names of javascript variables line by line. I want each name to be hyperlinked to a route, such as /getinfo, that renders a page that displays more information about the variable that was clicked on.
I tried to use an "a href" tag as follows:... | 3b24b2b3ec24cf0a221e5be10f90f97bb93da15c823ec33cd52880b7842c7fd4 | ['23270956ce884c53b7a19b869b192559'] | I am having trouble understanding why the solution of Leetcode's Repeated String match only goes up to q + 1 repeats of A (if A.length() < B.length()) for B to be a possible substring of A repeated.
I read other StackOverflow solutions as well as Leetcode discussion pages but I am still unable to fully understand the s... |
b1a17d310d8fe9af30d79187ccbf1d3558fb096e957bd0aea47032d539f11e8f | ['233413482ced44a89cc7873a4d764ed5'] | I'm trying to get fontawesome pro to work with rails 6.
I was successfully able to get fontawesome-free working with rails 6 and webpacker, but I can't get webpacker to successfully compile with fa-pro. I've tried tweaking to get webpack to compile using something like the code below, but was unsuccessful.
I've insta... | 9637edc38caff4f4a800ded722606dd9229c2161661289407883c4452ddde0a3 | ['233413482ced44a89cc7873a4d764ed5'] | Quick question, I’m building a rails app that has the ability to contain multiple “features” one of those being rsyslog, other features could be any other software. Below is the current construct:
Controllers:
features/
features/rsyslog/
features/rsyslog/rsyslog_inputs_controller.rb
features/rsyslog/rsyslog_outputs_c... |
1f2d875458da5266f3f2d1dc7d6577fdc7ac88fc55624bc116623fe4c40cf067 | ['233a294b3c484db883f858045b920b9f'] | On one (of many) of the planets that I am planning out, there are no seas. The planet is mainly composed of enormous mountains, with some deserts in between.
There are no seas or large bodies of water anywhere on the planet. Not many people like to live on this desolate planet, but those that brave its harsh condition ... | cac4e907c0d9204314f5bd685616fa25bb4bd739d8ddd6c26c2eee0631dae68f | ['233a294b3c484db883f858045b920b9f'] | Okay, the solution is that I did not disable Time Machine and remove all backup drives first. Doing that solved the issue. So the full solution is:
Disable "Backup Up Automatically" in Time Machine System Preferences, and remove all backup drives, such that it looks like this:
Then run sudo tmutil thinlocalsnapshots /... |
259093933b020cad2065ae44c612e97873903a14b534172d3e470bec80e110c0 | ['233d44383a084313ba7d8022c374a6cb'] | You can add the item using PnPjs like this:
private PnPAddItem():void
{
sp.web.lists.getByTitle("Jerry").items.add({
Title: "NewItemAddedTitle"
}).then((iar: ItemAddResult) => {
console.log(iar);
});
}
You can console.log(iar) response in the console to see which field failed validation and you could also... | a3aa76eb77facd1fba5cf702ae401c94b2ac601afbafe1727cab86f2a1bafb1e | ['233d44383a084313ba7d8022c374a6cb'] | In SharePoint 2010 CSOM, try to get file stream using Microsoft.SharePoint.Client.File.OpenBinaryDirect, here is the modified code:
private static byte[] GetFileData(ClientContext clientContext, string SiteUrl, string path)
{
try
{
var web = clientContext.Web;
... |
27182818435c1a8fff64faf6a10bc3a53c86d5082f5f9b48cecd6ef31168e645 | ['23425c5e83ec4dc090d05a57901cfb93'] | Perl 6, 72 bytes
There is surely a better way, but this is what I have...
->$a {grep {$a==[+] @^a.reverse Z+< ^∞},[X] (1,-1)xx $a.base(2).chars}
Try it online!
Explanation: It's a function that takes one argument (->$a). We first get the number of coefficients needed ($a.base(2).chars = number of characters in base ... | 5fbf438c2064fc80133528de5563475036678e7d43768e65c6aea8ae22877293 | ['23425c5e83ec4dc090d05a57901cfb93'] | re: config scripts, all other physical servers in our datacenter running SLES 11 are similar: we only have config scripts for the NICs being used, and the others are non-existent. Its never posed an issue. I put in a minimal config with all of the suggestions here, but won't be able to test a reboot for a while (mayb... |
8c79a8432ca237628bc92061b28d13c1bb7ec3c71970e560333508a2d6ce7c6c | ['23476d3e1bf2410fad0134f0d76d5f3d'] | that is the intent of the failover: transport. It will hide transport failures and automatically try and reconnect, replaying any jms state when a new connection is established.
There is a transportListener that you can use to get transport suspended and resumed events.
If you remove the failover: component from the br... | dd5ca642b8029acee92863e33a9c231bc38250b5665e75db64b860a388db5954 | ['23476d3e1bf2410fad0134f0d76d5f3d'] | You need to update to the latest Better Store Search release which features a fix to deal with the search related changes in Magento <IP_ADDRESS> and <IP_ADDRESS>.
I did this yesterday and it worked. At the time of writing the latest BSS release is v1.2.1.0.
|
a76167743b8f13bf4f2105fa0f41c88227c77d33ec53097661cdfec18e11ba4d | ['234880e2165a4cd8acc7403670e0138f'] | I'm not able to correctly draw a colour aesthetic line in plotly, using a ggplot object. What am I missing?
library(ggplot2)
library(plotly)
df <- data.frame(val = as.numeric(LakeHuron), idx = 1:length(LakeHuron))
p <- ggplot(df, aes(x = idx, y = val, colour = val)) + geom_line()
p <- p + scale_color_gradient2(lo... | a16a01111b9ac9f9afba937936f6ab9bcf24dfe6078e102e9cbe5c3c4c18e149 | ['234880e2165a4cd8acc7403670e0138f'] | Change the order of loading the packages. Load dplyr first, then xts. This will mask lag from dplyr by default
library(dplyr)
library(xts)
if you still are getting the wrong function call look up, as mentioned you can use xts<IP_ADDRESS>lag, where you want to apply the xts operator.
|
fd241deac235580b8424abf15f5ce7272b15a59aeb9b91ab1179824f485989c2 | ['2349103c75dd440994f112fa61fd771d'] | In laravel 5.1 check the bellow mail setting
.env file
MAIL_DRIVER=smtp
MAIL_HOST=smtp.gmail.com
MAIL_PORT=587
MAIL_USERNAME=<your email>
MAIL_PASSWORD=<password>
MAIL_ENCRYPTION=tls
mail.php file
return [
'driver' => env('MAIL_DRIVER', 'mail'),
'host' => env('MAIL_HOST', 'localhost'),
'port' => env('MAIL_PORT', "")... | 0dd21777a4ebd5cb6ce011af2758ac467c59af4e01e5ee41a2216cc59b193221 | ['2349103c75dd440994f112fa61fd771d'] | I use Stripe payment gateway in codeigniter using stripe.js. In stripe payment process first do client side validation and then after server side validation by stripe php 2.1.1 library. Client side validation working ready but server side validation gives error. I put stripe php 2.1.1 folder in codeigniter library fold... |
8e6f3da9517382c8a7cfe79c0103d1e8b3bc5d3649cf84027c0731dffa1688c1 | ['23750893c03947a08868d70b6f9be365'] | You need to start MongoDB daemon first. To do that, go the directory where your MongoDB files reside and run mongod.exe under the bin folder.
In other words run:
<MONGO_HOME>\bin\mongod.exe
To make sure that the main MongoDB database process is running, run mongo.exe (Mongo Shell) which also resides under the same fol... | bd07490e9143a0936adde7551f6132516a53e571b0ffe82bd9aea737e818127a | ['23750893c03947a08868d70b6f9be365'] | Before answering your question, I would like to note that it's considered a bad practice to add a cache-buster parameter to your service worker URL, since the browser will already enqueue the new service worker for installation if it's byte-different to the existing service worker. You may read more about this on: The ... |
714a886c6139869b7aeaabf5dc5d36019305dd76fb57da85284910c62f8fde5b | ['2381fdd6a16a495eb04ea248d23fcb31'] | I managed to figure it out
//@version=4
study("5min MAs", overlay=true)
plot(timeframe.isseconds or (timeframe.isintraday and (timeframe.multiplier <= 2)) ? security(syminfo.tickerid, '5', ema(close[1],9), lookahead=barmerge.lookahead_on) : ema(close,9) , title="9EMA", color=#ff6d00, linewidth=1)
plot(timeframe.isse... | cd89e282aac1bd5b9b00d7a3edbfa76d1b7ed773486d1094116736881dc03faf | ['2381fdd6a16a495eb04ea248d23fcb31'] | I made a simple pine script to draw lines for yesterday high/low and 2 days ago high/low.
study("YY H/L", overlay=true)
plot(security(tickerid, 'D', high[1]), title="Yhigh", trackprice=true, offset=-99999, color=#4caf50, linewidth=2)
plot(security(tickerid, 'D', low[1]), title="Ylow", trackprice=true, offset=-99999, c... |
570d05dcdf2e344ae17b3cab433a15a69a56f93a76280961cca8a4a089a2d94e | ['238d6db08fbe40bdbfefe4b43c0098dd'] | Thank you very much! That's comprehensible. I have a problem with matching this to my of definition of a polynomial proof system. $w$ would be a representation of $\mathcal{A_1}$ an $\mathcal{A_2}$ and $b$ the described word of length at most $n-1$, right? $R \in P$ because the word problem for NEAs is in P. | 3ca5f04360cc2ca920c0994215b5b661de89ebc425478cc3531d38756ffb999f | ['238d6db08fbe40bdbfefe4b43c0098dd'] | а есть ли в этом фреймворке то что я очень ценю в CI:
1) Form Validation
2) File Upload
3) XSS & CRSF
4) Template Parser
5) MVC
6) Active Record
7) Session
8) Image Manipulation
и т.д.?
Конечно может быть ему это всё не надо, если его попросят расширить функционал сайта, то придётся писать на чистом php все эти библиот... |
e71fcb729b0049da8d80e90ef9771889caf11deae0288e9d39d59cae5bd6868e | ['238ea0e5be6b402bbd4d02bba217f0d4'] | I'm trying to install the drivers for a wifi dongle but so far have failed.
Could somone please tell me how to do this?
The manufacture supplied a CD with the following driver
RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911
with instructions to compile the drivers, but when I tried to do this I got errors.
lsusb gives... | bf3139d819334670885e340bd2cfcdf9c1143adc3d7fa99cbe455aebdb484405 | ['238ea0e5be6b402bbd4d02bba217f0d4'] | Ok found answer to 2, just recreate a new user as the problem seemed to be corrupted user settings.
Not sure on 1 but I think it might have been because bleachbit was set to delete user settings. Don't want to check this by experimenting on a working system right now.
|
a37445e01defbd92f3e56201d948840bdc454e80e7504b2a183c97ecd4890485 | ['239e58cd8f4145eaa70d8b71740f1b18'] | When trying to install line_profiler via pip install line_profiler, I keep getting the same error :
Installing collected packages: line-profiler
Running setup.py install for line-profiler ... error
Exception:
Traceback (most recent call last):
File "c:\program files\python36\lib\site-packages\pip\compat\__init__.py... | 73b1c7fa00ad243b499ff0170cfd81041db8266f852d12956778e3b3bebd0ac7 | ['239e58cd8f4145eaa70d8b71740f1b18'] | The solution
To avoid the problem, the best solution is the following:
a[X] -> b[$X] {% id %}
b[X] -> c[$X] {% id %}
c[X] -> $X {% data => data[0].join('') %}
main -> a["test"] {% id %}
Parse results:
[ 'test' ]
Explanation
The problem was that, when the last sub-macro gets the result, since nearley considers every... |
fb4179af8c8880b00e46a38cde70286aa97c56aefb83348d4e278a67912dfb18 | ['23b4c6f1027a42b98f2bb862aba31230'] | Ok, after trying a few javascript options I remembered the good old suckerfish menu which had you move the dropdown menu up a few pixels so the hover state would not break as you hovered over the gap between the anchor trigger and the menu itself.
So I kept my script the same but fired it only on desktop widths and the... | a934f7650c91388f390b8fe0390d92c787fa2ed1922b0a0abfa020ffe37fc94b | ['23b4c6f1027a42b98f2bb862aba31230'] | Would like to duplicate a header navigation menu on a sister site but the css applied to the header is comprised of specific and non-specific styles. Is there an easy way to select just the styles needed to duplicate a chunk of html on a page or is the only way to select each child element at a time and copy and paste ... |
9962eece99781412cf7f6bb19ea5e9ba8da79739fad0cbf2f59a8e8ea5aae3da | ['23b86a15f52948a4badefb8e4c95b2f3'] | I'm writing an RPC middleware in C++. I have a class named RPCClientProxy that contains a socket client inside:
class RPCClientProxy {
...
private:
Socket* pSocket;
...
}
The constructor:
RPCClientProxy<IP_ADDRESS>RPCClientProxy(host, port) {
pSocket = new Socket(host, port);
}
As you can see, I don't nee... | 0563076aa14f2fd26b7964b775ea44e8b9858bd337aa272ae5fba20d627bfe4a | ['23b86a15f52948a4badefb8e4c95b2f3'] | What if I'd like to use a select menu, but with filtered options in a second page?
Is it a good idea?
In the following example I created a select menu and a filtered listview in separated pages:
...
<select id="myselect" name="myselect" data-native-menu="false" multiple="multiple">
...
<ul id="dataPointList" data-role=... |
dbd83b3e1ec142d2f7ae07993c4fd014c5b3ba67a695b70e60e85f5241539189 | ['23c172fedf85471b9cda8e67b03268ec'] | I think it would be worth looking at the possible values for side BC. We know that 2 < BC < 8 so from there you can look at what happens in a few cases using AB^2 + AC^2 = 2(AD^2 + BD^2), and from this you should be able to determine the answer. | dd0ef3ee18940ba158b092fc3e35e036691563a49e9758877c934bd5ba3535fe | ['23c172fedf85471b9cda8e67b03268ec'] | I recently read this article http://blog.mathfights.com/once-upon-a-time-on-imo/ where the author discusses an IMO problem from 2006 that only about 20 participants out of 600 were able to solve. So this got me wondering, have there ever been any IMO problems where no contestant was able to solve it.If not does any one... |
8f8dbbbca1b86f1c8ffe8037b5dfde336abc28e3bda8d72553b3c4b3470189a1 | ['23c2430a79c94356a0f8d34cb2a48eca'] | Try wrapping your elements with Div container to control the position.
This is a hacky way of doing it. But you can adjust the .center class to get it where you want on the page, i.e. adjust the right: and/or left properties.
.container {
position: center;
width: 100%;
}
.center {
position: absolute;
... | c952abeaa3069c2ebcd1e4639ce826ba4029cb1e2dd827575861c55093de7cc5 | ['23c2430a79c94356a0f8d34cb2a48eca'] | Yes there is a difference. Most regex engines have flags you can specify to search for whitespace or newlines. for example in python to match whitespace you would do re.match(r'\s', yourVar) the '\s' matches whitespace. the two slashes you are referring to '//' that is used in many languages to represent the regular e... |
d15a949d738afc81486fa4557bb234416fc1a5ea403610ff2b9f27291b937450 | ['23cb13bf8965438ea15e72ba6257b2ad'] | I already know how to change the text in label box by with a text field:
self.titleLabel.text = self.textField.text
How do I add static text to text that is being entered?
If in the textField a name is entered, how do get the label box to display a "Hi," then whatever text that was entered?
What do I have to put in ... | 4a65c918c8600680e8fdf6c7d2261045b6e1a76875153ab86a23ab8583553b7c | ['23cb13bf8965438ea15e72ba6257b2ad'] | I am a Xcode newbie, please help.
So I know how to change the text in Label box by with a text field:
self.textLabel.text = self.textField.text
The question is: how do I add static text to text that is being entered?
Like if in the textField a name is entered, how do get the label box to display a "Hi," then whatever t... |
e6735c1e91d8bc7c5bce85298cc21919ef361f80bb5f54836de0ce88cd4dfaf6 | ['23d5c1e0014240c7b6850dcb9c736052'] | good evening,
im trying to write a programme that extracts the sell price of certain stocks and shares on a website called hl.co.uk
As you can imagine you have to search for the stock you want to see the sale price of.
my code so far is as follows:
import requests
from bs4 import BeautifulSoup as soup
url = "https://w... | 96ff19c417037815792db4724c0da77c020b1d0e138c2394690f1bf68367217e | ['23d5c1e0014240c7b6850dcb9c736052'] | As part of an online course I've wrote a programme that can guess passwords for an online login page. However im trying to write is so it also guesses the username. I'm very happy with what I've done so far but it can be better. I don't expect anybody to re-write it for me, but if you could have a look over it and poin... |
7744c23eb3f376fc873a45fc7cd644fad8251e7866ca3dd9a7fa962f919093a7 | ['23d94e932a4949a6aaed102529fc52c9'] | CREATE PROCEDURE sp_product_listing
(
@product varchar(30),
@month datetime,
@year datetime
)
AS
SELECT
'product_name' = products.name,
products.unit_price,
products.quantity_in_stock,
'supplier_name' = suppliers.name
FROM
suppliers
INNER JOIN
products ON supplier... | 677c86305f52440242a8becf4a0a226514ee64f42ef5b45906365749fedcca02 | ['23d94e932a4949a6aaed102529fc52c9'] | USE DYNAMIC QUERY
Test code is below
-- DDL for Table TMP_TEST
--------------------------------------------------------
CREATE TABLE "TMP_TEST"
( "NAME" VARCHAR2(20),
"APP" VARCHAR2(20)
);
/
SET DEFINE OFF;
Insert into TMP_TEST (NAME,APP) values ('suhaib','2');
Insert into TMP_TEST (NAME,APP) value... |
bcc8c158d587a86bc1b598047000a6d7cb97438efd00a32520a6226192579879 | ['23eeb7e5daa94e9c8bdcb1f487630b75'] | I create a simple question->answer command.
Code write in Ruby
I send message to user like this:
HTTP.post(bot_send_message_uri, :json => {
'chat_id'=> message['chat']['id'],
'text'=> "You sure?",
'reply_markup'=> {
'force_reply' => true,
... | e9c0dcea10413d17d307e47bb9d400a7fda1d4cea191e4c806ca6d558c7db066 | ['23eeb7e5daa94e9c8bdcb1f487630b75'] | I have some trouble. I am using this plugin "angular-masonry" (it's on Github) to dynamically build the grid on the page. When the page loads I get this:
http://joxi.ru/YBQPVP3JTJCwfIgLgbc
Here is my code:
<div class="container" style="width:80%">
<h1 style="text-align: center; margin-bottom: 40px">
C... |
0b91f6d81813d554b0371be0259975d8dadea97ceb82ae00cec2b786a558b5c6 | ['23f4576708324598baf810c2d76db9cc'] | I need to create a layout that has a toolbar, a (variable height) tab line, a content view and an info view. The entire content must always fill the entire browser window, without causing a scrollbar to appear. Only the content and info panels can have scrollbars, and only when they overflow. My layout so far seems to ... | 30438a278b987e8d06cf7d780424a180e285d9f9f45d216df98679be6abc2da4 | ['23f4576708324598baf810c2d76db9cc'] | I'm making a roulette widget using jQuery widget factory (see it at http://stuff.manisto.dk/roulette/). To make it easier for people to use, I specify some default options, such as the elements.
The problem is, when I specify an element array that is smaller than the default options (see http://stuff.manisto.dk/roulett... |
143e62c8fbf131609aa74c3377d1c4b2e54a615b68f1c6079ba7b3d6fed09df6 | ['240bba248111434cb9f055aa35172de6'] | I just got myself a new screen (Lenovo P27H). It comes with USB-C, so I planned to use my laptop (Tuxedo InfinityBook from 2015 running elementaryOS - so basically Ubuntu 18 LTS) with this screen by its USB-C port, so I could charge it, use the second screen as video output, and connecting peripheries to the screen's U... | 337cd2b2474a6a16ec6cd3e6aba0a2c7f0ebafb7babcbfa6ff45c704619fd1dc | ['240bba248111434cb9f055aa35172de6'] | I finally figured out what the problem was. Just add ProxyPreserveHost on in the Apache config and everything works nicely. I cannot provide any details about why this did the trick, maybe somebody more experienced with Apache can give some insights.
The full vHost configuration looks like this:
<VirtualHost *:80>
... |
6abc15a4a70bf18af66943986a6540b7d92eb877ef1c24321ca6179cd457b6c5 | ['242695fcced44030b4a640e395efce6b'] | Интересует такой вопрос, как можно упростить данный скрипт?
Учитывая то, что он будет еще больше так как хешей еще 3 штуки, каким образом можно сократить его, сделать более мобильным? Заранее благодарен.
$(window).bind('hashchange', function () {
if (window.location.hash == '#home') {
$('.topnav').css('back... | 62724706de25f44b5b9e4481d092171ea02c2fba21ac6227f218a7c37024bcac | ['242695fcced44030b4a640e395efce6b'] | Хочу сделать возможным редактирование конкретной статьи, а не всех имеющихся, не могу построить правильный запрос:
В этом случае возникает ошибка:
<meta charset="utf-8">
<link rel="stylesheet" href="css/style.css">
<?php
include 'bd.php';
$zagolovok = $_POST['zagolovok'];
$smallopisanie = $_POST['sma... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.