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 |
|---|---|---|---|---|---|
890c6e1ca99c2d0ce5b68a7bf6c56ff65a3a1bba8dbe2e3fd247d56a2632d5c7 | ['286f63d324244972a244fcc35e5dd1a6'] | OpenVPN is the service that is allowing you to connect from outside to your local network, basically a VPN server.
By connecting to it, it creates a tunnel and your traffic is routed through it, and have access to your local network through the internet. The internal services, as in this case a HTTP Server, that you h... | 299ef3318fc669ab121c6a9a9ce696e3a637b1251a4a7556a41a62367a055ac6 | ['286f63d324244972a244fcc35e5dd1a6'] | I could write an answer to your question but why rewriting when the exact problem you describe and its solution have been beautifully explained in this webpage
https://cran.r-project.org/web/packages/viridis/vignettes/intro-to-viridis.html
In there you will find the following colour scales:
Viridis
Magma
Plasma
Inf... |
16f23fec9d72ca4bd2b1b134dc925d9f9f319b536005ddb3d4e4e0acd26ba0e9 | ['287463ec4a8c414a80b1bfd8acf3ee13'] | Sometimes you want to use line breaks and not paragraphs. In that case, you can do:
function convertNewLines(_text) {
let lines = _text.split('\n');
let elements = [];
for (let i=0; i<lines.length; i++) {
elements.push(lines[i]);
if (i < lines.length-1) {
elements.push(<br key={i... | 2b94ff66ae227418e4b02e6640ef5a5151898b3f4f5effb1a6fd395c049d7f73 | ['287463ec4a8c414a80b1bfd8acf3ee13'] | To answer <PERSON> question: you can use bind() to pass arguments, like so:
drawDiagramOnSlide.bind(
null,
slideName,
slideEl.querySelector('.diagram')
));
Assuming drawDiagramOnSlide looks like this:
function drawDiagramOnSlide(_slideName, _diagramEl, _event) {...}
The bind call will create a function th... |
142b13bed863b52cf2ea29dc24de5e7da0c2a8a6f68b4f9746e173ba5cd670f2 | ['2883f62ba5814168b1ae63cdc8567e8a'] | I want to create a P3P agent to add some functionality to the existing agents but I don't know how to start. I know how to plug the policy to my website but what I really want is to develop simple browser that gets the page and compare the policy to the local preferences.
So, is there any library out there or web servi... | cfce5dbd2350d3df48b3f263612990cbe6982cc5aba3661b08f2add833c8ea6f | ['2883f62ba5814168b1ae63cdc8567e8a'] | Go to terminal and use sudo prime-select nvidia.
There are three of them:
sudo prime-select intel (to use the intel card)
sudo prime-select nvidia (to use the nvidia card)
sudo prime-select query (to see which one is selected)
After typeing i terminal choosen statment intel or nvidia logout and log in or restart your l... |
fb1d2a4ae3589a8ae12a65835fe8ddd810c2a9180a026182444f785671697fe9 | ['2887305b38214b178c99a7a82ccc1950'] | its not a typo, please see LinkedBlockingQueue Implementation. There are no unnecessary signaling, instead its a good design where consumer thread only signals the producer thread only when the queue is full, else unblocking of threads is clearly taken care by producer thread. Also AtomicInteger takes care memory order... | 3deb98069bbfb8888c15251c4b9e017a853e844d1c50c093da239708a5643128 | ['2887305b38214b178c99a7a82ccc1950'] | When attempting to union multiple polygons with Shapely 1.5.6 in Python 2.7.9, using GEOS 3.4.2, I get the following error in the underlying C++ code:
Assertion failed: (!"should never be reached"), function itemsTree, file AbstractSTRtree.cpp, line 371
The polygons are in a Python list and then I call shapely.ops.una... |
83c855b7bc7aaa3c43f0fa3e5a21bf29da646da45a349fddcca13974de039496 | ['28880fdc95f6465d9dfdbe858d5b158a'] | Agenda view will help meet your conditions. To do so go to Google Calendar, in My Calendar there will be a cut down on your calendar click on it, then Calendar settings. There you will see "Customize the color, size, and other options" in "embed this calendar". There you would find the agenda view.
Besides that Google... | 85f31dcf8b1a836050ebecce2cf25b89145fc1045e4008541c4721d628102f4f | ['28880fdc95f6465d9dfdbe858d5b158a'] | Another comment, coming from a former advertising guy: The price GoDaddy displays for you, for me, and for <PERSON> will probably vary substantially. Much of what you see online, actually, varies significantly based on various data points the websites you visit collect: Your location, previous browsing history, the typ... |
f46a696c70637a9b0f92467a8c79cd510426d34c62571a6b3ff5ee6793b14483 | ['2897825eb60045cfade466bcdc13393d'] | @ <PERSON>, English is not a language based on need or logical construct. It is an amalgam of languages, and often contains multiple words from various donor languages to serve the same purpose. There are some contextual influences that favor one word over the other in certain instances, but fewer cut and dried rules | 096336e50d602b0027ba2fe3bf1d9adf91fab8064a9d57da3d3805d1d88a4d98 | ['2897825eb60045cfade466bcdc13393d'] | Probably a little too much as @krissi answer works very good, but just in case you have to do it more than once, you can use a script like this:
#!/bin/bash
# MySQL databases migration script
# <PERSON> (jorge {dot} barnaby {at} gmail)
################################################################################
# ... |
07d7c2f17940c265f9f816e6640ad83d335cc14d6045fec355c0f63500d5c541 | ['28ac46d9e83149cf9e81010446822120'] | Have you tried shutdown using shutdown /s or r or h via CMD prompt or Powershell. If it's your home network the reason why you have to use your IP address might because you don't have a Active Directory resource to manage the computer name. Also you can try using Team Viewer, its a great and free RDP program.
| 666b3be08fe5c77fd79d71b185adcb068c8bd7252a2d3bc1f3167b9faa9b4f27 | ['28ac46d9e83149cf9e81010446822120'] | <PERSON>,
I actually use the built in Windows Task Scheduler to set up these types of operations. I find it alot easier than using CMD and it has all the options, features, triggers, etc that you may be looking for. I use it to draft tasks and eventually push them onto our network. Not to mention it can be acce... |
474d748f84e15fb1a34967e7a552fdb9c21563524c2721cc83538d7061d00f85 | ['28b6bb83ebb341379f2f822516e8aa95'] | I have a question about TFS reporting. Here is the situation. I want to include a field called "release notes" in some reports. This field is an HTML filed and can not be set to reportable as far as I know.
I could copy the info from the HTML field to a string field. Strings are reportable. However they are only 25... | ce174ae7c4d3a4144f8f73b62adccd36a2cbb9b9c92595503c30462d799eb5c9 | ['28b6bb83ebb341379f2f822516e8aa95'] | I know that php is a server-side language. However I am confused on how to hook up a html button event to a page that uses php. I understand this will probably involve Javascript, some css and html and maybe Ajax. I've been looking at some examples but they don't explain the important pieces I am looking for. In su... |
06ba9fe9ae4c7703c82d747375582f57ad58a2bcc90777197733061961116075 | ['28dc734742e24b56b9a908f67b8cbc17'] | I am trying to replace all values of array except one key value. I am using preg_replace and have this code:
$posts = json_decode($post_list, true);
foreach($posts as &$elm){
$elm = array_map(function($i) use($s){
return preg_replace("/(" . preg_quote($s) . ")/is", "<span style='bac... | bc84af5fdc47dd9fc976f89f8848806cf96f8cacba7b49348f18f3a1eb9a5e5d | ['28dc734742e24b56b9a908f67b8cbc17'] | Hello everyone I'm looking for method to change my default java for macbook air. I'm new user in mac and I dont know how and where to do it. I've installed Java 7 from Oracle website but when I want to run eclipse it shows alert that I need java 7 version.
|
fd7495b8382228557f89a3d655fc7d69394a8af3d007c10e59ea0b374df15c94 | ['28e3711d6199425a8edb3bf9471d3243'] | I have this error:
undefined method `[]' for nil:NilClass
Extracted source (around line #16):
13: <% end %>
14:
15: <% create_url = {:url=>{:action=>"create"}} if @post.new_record? %>
16: <% form_for @post, create_url do |t| %>
17: <%= t.label :title, 'Virsraksts:' %><br />
18: <%= t.te... | 31cba15e93b13d897f544eed1da53359788b298f387295bc6ce4cbe3b955fd38 | ['28e3711d6199425a8edb3bf9471d3243'] | I am using Devise for users, but in view page when I trying to show the user name and surname I see only 0.
View:
<% if user_signed_in?%>
<div id="admin_bar">
<ul>
<li><PERSON>, <%= current_user.name %> <%= current_user.surname %> <PERSON>>
</ul>
</div>
... |
766df2fb6f3e7f894c3eab4d73cf679463de25142380db1036c62607f022a37b | ['28e3eac2245f41078d2c8b2a068639f9'] | I found out the reason in this while googling. I noticed that module com_virtuemart was not showing up in the module list under module manager. The login form and registration forms were showing up from Joomla module. I re-installed the com_virtuemart module and unpublished the login form in Joomla. That cleared my iss... | 0006e5bf5c8ea496579f60a0549c8a43948c6a51db08ce8ce0453843606ccfd8 | ['28e3eac2245f41078d2c8b2a068639f9'] | Changing the collation for all tables in a MySQL database can be time consuming depending on how many tables you have.
That's why we recommend using the following PHP script for changing the collation for all tables at a time:
<?php
$execute_sql = false;
$host = 'host name';
$username = 'user_name';
$password = 'pas... |
4c3df303e79582e7ca488bfd1d91f8fc08d23ddc09301fa4b6b4cc9cfcaa66f9 | ['2918649193c34140ab09431006c3987b'] | I suggest using a for loop for k too like i
var h7length=document.getElementsByTagName("h7").length;
for(k=0;k<h7length;k++){
for(i=0;i<5;i++){
if(i==0){
document.getElementsByTagName("h2")[k].style.left="42px";
document.getElementsByTagName("h7")[k].style.left="42px";
}
else
{
doc... | b21599c9cb23e4567dda07fb4f4f82ae029b8b27be8eac5bfa1e97f18a2894e5 | ['2918649193c34140ab09431006c3987b'] | not able to get this, can someone help for this LINQ query?
select col1,
(select col2 from tbl2 where tbl2.ID=tbl1.tbl2ID) as [col2]
from tbl1
scenario is like this
I want all records from <PERSON> table, <PERSON> has sectorID column, I also want SectorName. Also it has CountryID and CityID and I need CountryName ... |
af2470ce807ba213bd815fdd4fd61a683491d1324aee97a42539a4a01c2a81d3 | ['2927e449cd4244f288b48b94cc562996'] | IE9 and 10 don't like third party cookies. SoundCloud's HTML5 widget uses those.
More from SoundCloud: http://help.soundcloud.com/customer/portal/articles/1331463-why-is-my-widget-not-showing-up-in-internet-explorer-
More from Microsoft: http://answers.microsoft.com/en-us/ie/forum/ie10-windows_8/soundcloud-html5-widget... | c1e39b7ad1426b1238dfa8ff83b67256de746d7e9db5b74f0beda0b3476adf8a | ['2927e449cd4244f288b48b94cc562996'] | My website is responsive. The blog section uses a subdomain pointing to Tumblr, but the cross-domain version of Respond.js isn't working. I'm doing this:
<script src="http://www.stevechab.com/scripts/respond.min.js"></script>
<link href="http://www.stevechab.com/scripts/respond-proxy.html" id="respond-proxy" rel="respo... |
d5625021d354dd2d3fc222070da0b196e8c43a3718c284c23cb93c292730d8bf | ['2931d617c9d045728383f75336a32b2d'] | I'm new to Radar in general, and I'm studying RADAR using online resources. I came across the following slide which shows the process flow of the Radar signal processing.
The thing I don't get in the figure is the signal processing block and the general purpose Computer block. The following is my basic understanding... | 24488630496c1318ebcf7683c41e5be1ad45b54ab0c8afaf777190f0779c3d57 | ['2931d617c9d045728383f75336a32b2d'] | Concordo que o argumento "Dificuldade de representar símbolos de certas linguagens" é fraco, mas não entendo como vc pode achar perguntas duplicadas um mal argumento já que a comunidade SE se preocupa tanto com isso e a barreira de conhecimento é um grande problema já que a resposta pra sua dúvida ainda pode estar em u... |
fe1c2c0cc06a5b4390ceb6a602b5433c7435ff6dd82ba7d66e21ef123a15309b | ['2939add7ba554eb9918801325c0921d6'] | Hey guys so I was assigned to debug and fix a given code. This assignment is supposed to work as such after we fix it:
Demonstrate the class in a program that creates a Car object, and then calls the accelerate
function five times. After each call to the accelerate function, get the current speed of the
car and display... | ba0e9a5f8f3c889fb100253b3d7c76e5edca42814d28bc8b6161bc2cfb3e2df4 | ['2939add7ba554eb9918801325c0921d6'] | Letting you know, the code works, I have a different problem that I think is unique but not sure. This is a simple addition or subtraction math problem program. My problem here is that I have an if statement saying if my variable is 1 then print "+" otherwise print "-". So when variable op is 1 or not 1 it will give me... |
7d5a136f1f15cd94bd87ed7dd14c14304aa551edb72cf2e0b5916e3f1b38fcde | ['293ec1bc11834f59962be9cb6746ecbb'] | I find myself working with a time series of length n composed of sparse frequency data.
I would like to extend this to a time series of length m > n that has the same sparse frequencies at the same amplitude.
This seems quite possible by a basis conversion between the two frequency spaces, but I have been unable to det... | ab2c64f7d673e3cde351edd2bf88a64ad7211a4e733b69a9ae6815ab48147a71 | ['293ec1bc11834f59962be9cb6746ecbb'] | Since this morning (and maybe the update 7.0.b of hyperref) my docs can't be compiled... I tried with APMEP's files and same problem... If I uncheck hyperref & hypersetup lines, it's ok...
In the hyperref's website, I saw taht the current version was 7.0.c but even if I install it manually, I've got problem with my per... |
c8cf82b1658ef1b0baf5bf2e2171fd3079ce25bd6b7ac75c1b938b806eb26cc8 | ['295c33c7b48f49fdb4701db46dc5c89e'] | is there a way to set a css class on a child component inside a Blazor component?
What i have right now is:
@using Microsoft.AspNetCore.Components;
@inherits ComponentBase
<div class="button-group-wrapper">
@SecondaryButton
<div class="floating-sticky-wrapper">
@PrimaryButton
</div>
</div>
@code {... | ed550e4b9d470dc9a869297e4d1eab6c29e8b8d3ab9215843766511b2392987c | ['295c33c7b48f49fdb4701db46dc5c89e'] | i am trying to declare https redirect inside the traefik.yml file. For now i tried to add those rules inside the traefik service in docker-compose.yml. That worked like a charm. Although i'd prefer to configure this global and middleware redirect inside the traefik.yml file and then just reference it in the traefik ser... |
a41f09b668bf93fb3d0b06903407c6083dc57fcc4c6e903c2c6b8478d4bb5a32 | ['295ddd5a0c204010a3cbb992ef99b646'] | I have a simple web server application in a docker container that I have pinned to a vm instance in GCP Compute Engine.
I am wondering how to set up automated load testing (Locust load testing via GKE) on the web server application running on my VM instance?
I saw a tutorial here: https://cloud.google.com/solutions/di... | 49d26408d82cf9a0a3849d25f60df67201f90772bfd45e9cc061d4a17e5aac40 | ['295ddd5a0c204010a3cbb992ef99b646'] | I am working on a simple C program where there are two source files: server.c and client.c
I connected everything properly with sockets, and I use the poll() function to poll the keyboard for data (as well as a shell connected to a pipe).
I am able to detect when the client uses the ^D and ^C command to know to kill th... |
ca445d5915158d8a526b140e0f48190256b2816d8355986132f23727be3aed61 | ['295ea9c06b48459c933b58f2bbb95733'] | I came across this website trying to learn how to solve a three-way duel puzzle.. While I did find a similar version of this question had been asked, trying to rework it was not at all successful so I am hoping somebody can talk me through this version (very explicitly!)
It is as follows:
<PERSON>, <PERSON> and <PERSO... | 1a2c1a12952a1a735a4131a56b5eccde818dae513f2d45d57106d14b12ea05da | ['295ea9c06b48459c933b58f2bbb95733'] | OK.. it is clear to me that this problem is way above my ability level! Thank you for trying to explain it though!! I actually need to answer to the probability of A winning, and the probability of C - would it be too much to ask for you to let me know the probability of C also because I've tried for hours to rework th... |
75af64e9aed088699d8dbe4946eeff529e837bd802a81f35a8aae4501674838e | ['2967640395834127b16915f7974b30b2'] | Can you elaborate on what you're trying to achieve?
In order to run the nginx image as a container on a "remote device" it will need docker engine installed on it. If you want to remotely trigger a deployment on any machine you can use Jenkins. So essentially on every remote device you will need docker & jenkins. You ... | d5ed1ee11f0c546f330293ce9e4fa77559ff11cdf4b6dcf7d75944d24d6df5af | ['2967640395834127b16915f7974b30b2'] | It's possible that you are missing out filling the mandatory fields. Make note of all mandatory fields while you resolve an incident through WebUI and add these fields to the body of your PUT request.
You should share the request's responses as well. That could help discover what the problem might be.
|
b82b3fc49e587a2631323c96764301573d28358be8e933be1f55ffdccf2a39f1 | ['296d21b8cd2a44149eb28c9ec41d065d'] | I was having problems with this too. I have this workaround:
What i did was to create a class with an static bool and static method:
class MessagingWidget {
static bool _isConfigured = false;
static void configuringFirebase(User currentUser, BuildContext context){
final FirebaseMessaging _firebaseM... | 8c2a3c155c52da0f91d803d7dcdd2f31ccc21c6ccc68c4bfc53e1558b61a6eca | ['296d21b8cd2a44149eb28c9ec41d065d'] | According to what you said, this would be an example of what you are looking for:
Option Explicit
Dim wsh : Set wsh = CreateObject("Wscript.Shell")
'Message boxes that don't wait for a return to continue. No return values.
Dim fso
Dim file
Dim content
Set fso = CreateObject("Scripting.FileSystemObject")
Set file = fso... |
03e68a799b450c15ead0a68272dbb030c559988022eace020acf9a96617c4aa6 | ['2975b76dae844102822eaa90e3227035'] | I've found the name of methods and delegate have changed
This is my code if it useful for someone
import UIKit
import FacebookCore
import FacebookLogin
class LoginViewController: UIViewController, LoginButtonDelegate {
override func viewDidLoad() {
super.viewDidLoad()
let loginButton = LoginButto... | 667dac36ef62086510efe4f88e7a57e6d94e38a21cd7888b49bd9ce2322a9fda | ['2975b76dae844102822eaa90e3227035'] | As <PERSON> said, you have to follow the instructions to get the pods right from the GitHub repository.
I added these lines to my Podfile
pod 'FirebaseCore', :git => 'https://github.com/firebase/firebase-ios-sdk.git', :branch => 'master'
pod 'FirebaseStorage', :git => 'https://github.com/firebase/firebase-ios-sdk.git',... |
4ee6faf4eef2cc9b3a29e11d19e53beb137233606bf86d2deca1e9850fe64ece | ['297e91f29dd0405a907a899dfa20c649'] | I'm trying to delete a file using System.IO.DeleteFile and it's inexplicably throwing an UnauthorizedAccessException. I realize this has been asked many times. I've look through all the questions I can find and none of the answers seem to apply. I happen to be using FAKE but the issue seems more generic.
Here's my enti... | 1d75b0b5d795b08f1a79c19600f4f289ab6baf4d6509a94a9a8499674f596beb | ['297e91f29dd0405a907a899dfa20c649'] | I'm using NVP but I don't think the question is specific to any particular API and I'm not finding a definitive answer in the documentation or via search. Does the initial payment on a billing agreement count toward the billing frequency or not?
Example:
If I created a billing agreement with period=monthly, frequency=3... |
d219791d6fa3367a8bb02fa5183711ee283f29ab9ca0a8ec9c401c0903d7380b | ['298102cbdfbf4813a3bd074ff1e9bc61'] | As mentioned above, you need root access where pip stores the packages.
Python 3.x:
sudo pip3 install tweepy
Python 2.x:
sudo pip install tweepy
You may also use Git to clone the repository from Github and install it manually:
git clone https://github.com/tweepy/tweepy.git
cd tweepy
python setup.py install
Alternati... | 43e83d4638e7cb65cab375e37b5971fbfb384adcd6c2de2479f82585d19ceac1 | ['298102cbdfbf4813a3bd074ff1e9bc61'] | Errors:
print statement missing a close parenthesis
return outside of function
Code:
print("Kiran's Quiz: A quiz made by Kiran!\n")
def answers():
points = 0
x = input("Question 1: How far away is the Earth from the Sun? Give your answer in 'n million miles'.")
y = input("Question 2: What colour is whit... |
8b0f2b2f8ffe9e3d3bfb293c761315ab735ee8e9998bb278cf6f0ea5c6015e91 | ['29930a64d3694e07b3a4ee7abd968944'] | You've answered your own question. In the first code block you're most likely running your python in C:\Python27. In the second code block you're actually running the python with celery in it.
You should read up on managing and activating conda environments. http://conda.pydata.org/docs/using/envs.html
| e26fc190999ac04b0edff9eb8ee9f4cc23b7abf6af5a6005b80d11b614b27333 | ['29930a64d3694e07b3a4ee7abd968944'] |
Both pip and conda install the package (pretty much) with the same end result. There may be minor differences, e.g. zipped egg or not, it depends a bit on how the conda package was created. The conda package is always a compiled binary distribution though, not a source distribution.
I don't think conda will install it... |
897925d3411d44622343512f98a0d4ac0f7f20396a67dc95eff0e2798534128d | ['2994bd61103c43008b31023881b487c3'] | In your PHP code make a property with unique index so the resulting XML will look like:
<ns1:someelement>
<ns1:name>name1</ns1:name>
<ns1:value>value1</ns1:value>
<ns1:index>0</ns1:value>
</ns1:someelement>
<ns1:someelement>
<ns1:name>name1</ns1:name>
<ns1:value>value1</ns1:value>
<ns1:index>1</ns1:value>
<... | d90e56db5c1b459b3685338597fd0ca530c2194d4e9bbc88abfd401f8c58157b | ['2994bd61103c43008b31023881b487c3'] | I was able to make number of rows according to initial number of related table rows, however it does not updates dynamically (probably need to insert Javascript into admin form and query number of rows via AJAX, that would be too big to post here).
class ProfileAdminForm(forms.ModelForm):
class Meta:
model ... |
659ab938588d0ecec4d3ec10a2e3e62f6064b19489b59d1362ae7fb3bb983197 | ['299ffcee0c1d4468a46d78c265564ae3'] | While learning about homotopy in my Algebraic Topology course I (as someone who is at least aware of higher category theory) noticed that it's possible to define a notion of "homotopy between homotopies":
Let $f,g:X\rightarrow Y$ be continuous maps between topological spaces
and $H,K:f\simeq g$ two homotopies from $... | f285386598f598de1067702bc7e2602dab1ae9ef0a3751916566ed8c8ad78757 | ['299ffcee0c1d4468a46d78c265564ae3'] | As the other answer remarked, modding out by an irreducible (aka "prime-like") element doesn't give a field in general. The obvious counterexamples are polynomial rings; either a polynomial ring over another non-field in a single indeterminate, like $\mathbb{Z}[x]$; or a polynomial ring in two variables over a field li... |
1cd6fe9a27d8974b569ecf4ecc52132b09fac05345207800837463d74b2e00d8 | ['29a0e0a104064862b6f084d6ccdd4c41'] | I'm working in Java. I have the requirement that I must essentially compare two database queries. To do this, I take each row of the result set and assign it to a HashTable with the field name as the 'key' and the data in the field as the 'value'. I then group the entire result set of HashTables into a single Vector ju... | 0073fe78b12ac1aa90b2d0c374678610e682209bd1a54b37f6be09b06403508b | ['29a0e0a104064862b6f084d6ccdd4c41'] | if i understood your question correctly, what you are looking for is to have a good performance radius database system. but on the face of it, what you have thought of doesn't sound a good idea. for the following reasons:
over all maintenance becomes a huge issue for you.
later on if you have to change the database t... |
ac202f935e0e5faf8eb77f608e78a86343c1d3236af2215698bac3599adc9858 | ['29afbb5dca57433ca4a76cf01a58c30e'] | Yeah Thanks for the asnswer.
I am interested in second one.
I am really novice in circuit design and I'm sorry.
I have a Lock-in as sinusoidal Voltage source, DC Current source and Multimeter.
Can you please help me how to make it functional.
How can I design the circuit?
What concept it uses?
Any other instument is re... | 6846d12348fe6a5691fe9d07efc7bce2d5e1f21e3ef4dd00b722983cafb03074 | ['29afbb5dca57433ca4a76cf01a58c30e'] | Using panel data, the fixed effect regression specification is given by
$y_{it} = a_i + \beta' x_{it} + \epsilon_{it}$
where $a_i$ are the fixed effects.
The fixed effects estimator $\beta_{FE}$ eliminates the fixed effects by time-demeaning, i.e.
$\bar{y_i} = \hat{\beta'}_{FE} \bar{x_i} $
where $\bar{y_i} = \sum_{t=1... |
6e7904a50f92f054b0fb122cbf9a5af3e5662cd8ca25813ce0312c7e331a6cc2 | ['29b0e31d114845b6a25ee126ef8d07a9'] | I write the code that I've seen in a tutorial video.
In that tutorial the delayed post execute after pass the specified time and didn't care about the pass posts. But in my code the post execute right after the first runnable and can't break that
my code :
public class MainActivity extends AppCompatActivity {
private ... | 775b7dfecdf16c6b612cc1f9976f26b3c10a18e7a95f0ae79db207bd2362546d | ['29b0e31d114845b6a25ee126ef8d07a9'] | I've seen a tutorial video that the guy create custom layout for toolbar and set manu to that toolbar ant that worked fine
I did the same thing but menu didn't appear in my custom toolbar !!
This is my code. Do you know where is the problem ?
This is toolbar layout
<?xml version="1.0" encoding="utf-8"?>
<androidx.ap... |
052d8b23e012dc70611cd704213dcf4fef23a37682bd3d6e2068d6bf4b145d50 | ['29b6518073d74750a7c74d43d237dc39'] | I'm developing a simple database related application. The GUI consists of datagrid view and a "save" button. The datagridview uses a dataset as its source. The dataset is in turn populated by fetching data from a SQL Server Compact Edition database file.
The problem is when i make changes to content of database using ... | e919c36badc53fdebfb6a0388d1624f69089130c7d40a8c3966cb89b4d2324b9 | ['29b6518073d74750a7c74d43d237dc39'] |
You have 40 weights. It is known that the difference of weight in every 2 weights is no bigger than 45 kg. Also, it is known that you can divide every single group of 10 weights into 2 groups (5 weights in each) and the sum of weights in these 2 groups won't differ by more than 11 kg. You have to prove that it will al... |
acf6a7f498b395711e9a0a065bca05a81458fed79441c4f379c6cb39300e8f33 | ['29bc0921374e49d09df25ce2529ca3d7'] | I connect to my server fine. But then when I exit I cannot immediately connect back in. And I receive this error:
ssh_exchange_identification: Connection closed by remote host
Only after about an hour+ I am able to reconnect.
Any idea why this is happening and how I can fix it? This does not happen on any other of my... | 185db9600fc04570afe59948f084be20c4c6f583a130033b54977af967ad66dd | ['29bc0921374e49d09df25ce2529ca3d7'] | I have an INSERT here with PDO. It doesn't seem to work...
$sql = "INSERT INTO client_cards
SET cc_num = ?,
cc_cvv = ?,
cc_month = ?,
cc_year = ?,
cfname = ?,
clname = ?,
caddress = ?,
ccity = ?,
cstate = ?,
ccountry = '212',
... |
fb1f82e57fa7c21df56a8b664ee5c9a4095d43ae805674c6cbb6f1ec6d0eed04 | ['29d65868d4ec44488a46b1e646b20e0f'] | Something like this:
Sub match()
Dim lrA, lrB, i, j As Long
lrA = Cells(Rows.Count, 1).End(xlUp).Row
lrB = Cells(Rows.Count, 2).End(xlUp).Row
For i = 2 To lrB
If IsEmpty(Cells(i, 1)) Then
For j = 2 To lrA
If Cells(i, 2).Value = Cells(j, 2) Then Cells(i, 1).Value = Cells(j, 1).Value
Ne... | 7eb0cf8b64fbd710ff72a108f9655898a1544bbd12b1a17b7cec7de67d34ae36 | ['29d65868d4ec44488a46b1e646b20e0f'] | I have a table ranging from B5 to R20, every row has a header and not every cell in range (except headers) has values. Table looks like this:
<PERSON> empty empty 2 5 300...
<PERSON> empty 23 45 130...
<PERSON> 100 123 150 170...
...
Names are headers and instead of zeros there are empty cells... |
d6885f94c99eefa891f9e9d5e334f3d856d66ac23ed351c92fc3f33d8835b830 | ['29e3f2fdee4642249fbe1bc7c445ad8c'] | I'm very new to javascript and I'm working with the jeopardy api to to get jeopardy questions right now this is what i have
var request = new XMLHttpRequest();
request.open('GET', 'http://jservice.io/api/categories?count=6', true)
var arr = []
var clues = []
request.onload = function() {
var data = JSON.p... | 1b746502f4c193f0ef191fe934f3665bc90e6962b2bae941c4d2de8d5ff855fe | ['29e3f2fdee4642249fbe1bc7c445ad8c'] | Im attempting to access an array from my state in the App Component but I do not know why it doesn't work
import React from "react";
import "./App.css";
//import Category from "./components/Category";
class App extends React.Component {
constructor() {
super();
this.state = {
categories: [],
};
... |
96cdc07e91042c38ebf20bca606347e0517cc94d46ab4b3809a5965cacd631e3 | ['29eb75d828ac4263a4741f1421200952'] | So a while back I rigged a model using rigify in blender 2.8, and deleted the face bones, as it was way too complex for what I wanted to do with the character. Flashback to now, and I've spent hours making animations for the model, but would now like to add facial animations to go along with the body one's I made. Is t... | f7be753f8df5fbaea90649cd330d31b4d9721bfc37773ce9d547129cce3ff552 | ['29eb75d828ac4263a4741f1421200952'] | Answer might depend if you want to invest a lump sum right now, or smaller amounts over a longer time. For a similar situation I decided to invest the child benefits (Kinderzulage) in a mutual fund over ~18-20 years. Lack of competition, I opted for PostFinance Selfservice Funds (even though TER is higher than I like i... |
bf8b96874fa2ee92870a4b634df691fe22c7d637e826e7f6b956a88642d7edf2 | ['29ee2246356e4bc79dbcf75574489699'] | From your question, you are running python2.7 and Cygwin.
Python should be installed for windows, which from your question it seems it is. If "which python" prints out /usr/bin/python , then from the bash prompt you are running the cygwin version.
Set the Python Environmental variables appropriately
, for instance in ... | 6869c415f08a280359b684fe06e9957a90d5038442dcc705c500ffcc2abbbfc3 | ['29ee2246356e4bc79dbcf75574489699'] | Tried to install xclip running as administrator, but Got this:
$ apt-cyg install xclip
Installing xclip
xclip-0.12-2.tar.xz: OK
Unpacking...
Package xclip requires the following packages, installing:
bash coreutils cygwin gzip libX11_6 libXmu6 tar
Package bash is already installed, skipping
Package coreutils is al... |
5ae9d4b09081384fb450cb544627bb65d026f7325fa2a7c8c37710bd1120803d | ['29f501e004514b8d8bec7a6d12b1a322'] | zevarito is on the right track. A bit more seems to solve the long-irritating problem:
Close the project.
Xcode -> Window -> Projects
For the project in question (and all others is probably a good housecleaning idea), click Derived Data -> Delete.
Close Xcode.
Close Simulator.
Restart Xcode and resume what you were d... | 043e332c41e4452ef69adf2be03c451808c541fbb36f4eaf18a27c5e243e4fa6 | ['29f501e004514b8d8bec7a6d12b1a322'] | Short version: iOS's UIImageJPEGRepresentation() crashes on large images. I'm trying to use & modify libjpeg to respect the max_memory_to_use field, which it's ignoring.
Long version: I'm writing an iOS app which crashes when converting a large image to JPEG after prolonged usage reduces available memory (a trickling l... |
9a00bc2904ed56d2ed4dbb19cd0453ef0f5330f3bf3df7d668a28e79ea50b53e | ['29f58936472c453ab5049158f68b2abe'] | I have an AsyncTask to fetch JSON data from a DB on my server. It works well normally but is failing sometimes with the below error. It seems like this happens when I keep the app idle but open for some time and then make a request.
doInBackground Method
try {
URL url = new URL(url_get_initial_posts);
... | 46e918aac713855268ff0ec5d0cc362aa80ec27c843cc734bc3fb967eba60033 | ['29f58936472c453ab5049158f68b2abe'] | I have a MapsActivity with HeatMap on it. Like Google Maps there is an option to filter data by various categories (like Satellite, Terrain etc in case of Google Maps).
I have a button which brings a modal bottom sheet. This bottom sheet contains a recycler view with a list of categories.
When I click on a category an... |
fa7c245c79061dfff5945af4a13e478f172f740c89a5c93be1ae8f4becebb7c2 | ['2a07b9a91cf14006ae5120bc10062d42'] | Eager Loading Relationships(THIS WILL WORK JUST UNDERSTAND THIS)
DataTables support searching and sorting of eager loaded relationships when using Eloquent. this example will show you how to setup a eager loading search using Eloquent Engine.
To enable search, we need to eager load the relationship we intend to use usi... | 7ce4ca974ffc4c74f6d78f763552655609b282e0abd25f8a3a4b63ed2d55f2e9 | ['2a07b9a91cf14006ae5120bc10062d42'] | THIS IS HAPPENING BECAUSE
in Kernal.php (location -> /app/Http )
there are two arrays $middleware and $routeMiddleware.
Do not create alias(naming) inside $middleware array. it has to be created in $routeMiddleware array.
for example
protected $routeMiddleware = [
'auth' => \Illuminate\Auth\Middleware\Authenticate<... |
cebe968e8c200a98e7049e83c1d3eea75210613f0c23c70ff75f904aaf474735 | ['2a1b66ebe0484681a43aa94824c8d8f2'] | The problem was that I was trying access Blockpic.width in your Blockfield constructor before Blockpic had been assigned. The solution was to load the Image within the constructor of the class.
Working code:
public class Blockfield {
private int Blockcount;
private PImage Blockpic;
private Block block[];
... | 3e9394a611dc5c178544aa04dc56b1155bf55a5e906c6f6e5bbedbaef7fb8896 | ['2a1b66ebe0484681a43aa94824c8d8f2'] | I introduced a new Boolean called finished, which was set to false by default and to true during collision.
if (block[i].x < 130) {
if(block[i].y > cY && block[i].y < (cY+cW) && !finished){
//println(collide_count + " with");
collide_count = 80;
finished = true;
... |
1d0fbf953ba5224b9d52d3c81015fcca28b744080cfb366195f31244ffe5eadc | ['2a2559cd497943b58a49f6683c82c37a'] | I'm developing a solution with C# and .NET Framework 4.7.
The solution has a ASP.NET Web MVC application and a Windows Service. Both connect to the same database and now I'm using their configuration files to store.
Is there any other way to store the connection string that both application can use it?
I don't want to ... | f70bc029d97a20424b7e4d2b8e2a0d5341d0b47f56ca0482bbd9959566dc29eb | ['2a2559cd497943b58a49f6683c82c37a'] | This is how I make it work: using HTMLSelectElement.
getNotification(evt: string, rowIndex: number) {
let id: string = "ProductId-" + rowIndex;
let select: HTMLSelectElement = <HTMLSelectElement>document.getElementById(id);
this.removeOptions(select);
if ((evt != null) && (evt != "")) {
let p... |
8a499f8f6fdf25b900cfb690814d4bdd5728090a6e75baf88f02830748d10b66 | ['2a27fb97af334200b2629b0ce74b4816'] | So, I figured it out.
Getting the URL variable into the Serializer
To do this, you need to overwrite the get_serializer_context() method for your ModelViewSet, and send in the variable from your kwargs
class BrandedViewSet(viewsets.ModelViewSet):
def get_serializer_context(self):
context = super().get_seria... | d39aa61a957fc7fe8fd074a781f5d975ef4e3e2a60da1f2e0600789d933d94a4 | ['2a27fb97af334200b2629b0ce74b4816'] | I use a variable in the base of my API url, identical to the setup found in the docs for Django REST Framework:
/api/<brand>/states/<state_pk>/
Everything after the base brand slug is a standard API format, and so I use ModelViewSets to generate all my list and detail views for my objects. Everything in the API is fil... |
6000a55c94fdb84baa4c1dfd88b163f4b61a7254ed597a001a93f6530499c1af | ['2a4933de39d74b4b82154aa98f78f2bd'] | the way java8 is installed. Agree that if you have java8 already installed, then you already have the answer. However, since recent changes in the oracle policy, java8 is harder to install. It does not work even if you do everything correctly (atleast did not work for me). This method worked for me, so just wanted to s... | a598f95f4fb42641f1c05d9dd690164f85bbe3afe43a6f3ec4a0d9984a0d8d6a | ['2a4933de39d74b4b82154aa98f78f2bd'] | I recently started to write a C++ program to GET and POST data from/to tdameritrade through their api. I am new to cURL. tdameritrade has put up some guides for their apis. They do provide with simple commands that can be run from a terminal or through python. e.g.
curl -X GET --header "Authorization: Bearer accesscod... |
aeb68c4d0e9b73f7834206ec0717dadc15282829b14ec683523c667c78b7f44a | ['2a5127f09d4848eaaa15f61eb3f9ed8b'] | split your harddrive(using Hirens BootDisk setup - to resize the partition) and leave an unallocated space enough for windows 8.1 or whatever suits you
Then Create a Bootable FlashDrive with Windows 8.1 using Rufus preferebly or something that can create a bootable flash drive
Its worth a try worked for me
| 980b383d352d46cd98a75e056d3a218f01bc204dc800257f89294fe407f7ce8d | ['2a5127f09d4848eaaa15f61eb3f9ed8b'] | You might be interested in: liballoc
It's a simple, easy-to-implement malloc/free/calloc/realloc replacement which works.
If you know beforehand or can figure out the available memory regions on your device, you can also use their libbmmm to manage these large memory blocks and provide a backing-store for liballoc. T... |
757d04c673c81079e42f15156aacaa5fb7ab6a9869b607349006aee94580079c | ['2a518c400a664883becdbac56849582e'] | Certainly, a good literature review paper (also frequently referred to as a survey paper) would be an attractive asset in anyone's academic portfolio. However, it is easier said then done. Some people on this site even replied to one of my related questions that such papers is more of a prerogative of senior, very expe... | 05470de7837454c534cc3eba3d63c69a1f8488a20f58bbaa08a4583b46e31ff2 | ['2a518c400a664883becdbac56849582e'] | @LightnessRacesinOrbit: I rejected your suggested edit. Firstly, because "every other ... word" is too far from reality. Secondly, because "too much" is a relative term and your personal opinion, which, along with other 7-10 people on this site, is not representative enough across the potential audience. Thirdly, becau... |
58f0253ff34868dea2e5a28bfeaa8775d5fc4712b7697438cdf1ab4e8d6da4ce | ['2a52f53f33c0494085b82f6b5a3d8346'] | I am working on a PlayFramework application written in Scala.
Problem is that in a rest controller I need a list of elements (books) and for each element list of its subelements (chapters).
Book repository:
def findAll(): Future[Seq[Book]]
Chapter repository:
def findByBookId(bookId: UUID): Future[Seq[Chapter]]
... | 437ffde5c4a7332bf00e24e4f525859b65aff3fcfdf8d583898f43adbdbc562c | ['2a52f53f33c0494085b82f6b5a3d8346'] | I have playframework application written in scala. Problem is when I want to add new module for Silhouette. My module class is very similar to one from Silhouette example. I can run application trough sbt with simple run command but when I build jar using sbt-assembly and try run it I get:
No valid constructors
at... |
87385ebd3b89fa12d2299f3bfcc0f8b0b9240a5ba2fa24b5f13dce578f4d02f2 | ['2a5e3b89b7594e61b1469193359ef829'] | I have following data in excel:
Category ID
a 100-1234
a 100-12345
b 100-123456
b 110-1234
b 110-12345
c 1120-92029
c 12303-223
c <PHONE_NUMBER>
c ... | 40955fbefd34e896e8c852e14a5071f685a80d18475463b6ba209a5da40ef019 | ['2a5e3b89b7594e61b1469193359ef829'] | I’d like to count using R, how many days of given list:
2020-10-01
2020-10-03
2020-10-07
2020-10-08
2020-10-09
2020-10-10
2020-10-14
2020-10-17
2020-10-21
2020-10-22
2020-10-27
2020-10-29
2020-10-30
Were in given period from start to end:
id start end
1 2020-10-05 2020-10-30
2 ... |
d9aecfc0ec85ad56ffb01db14af345de2ad36d70fc29dcd14bb20fd44b03b565 | ['2a5ef5aed4974c35834fe0050078abb0'] | I am a rookie when it comes to servers, but I have nonetheless been the one asked to get Shiny up and running for web applications in the open-source statistics and computing environment R at my office. Shiny requires a Linux server ("You can also deploy Shiny applications over the web...You’ll need a Linux server and... | 1c22cdaac48257d6478c7b854da903420140ce48207e4133616881ecc9edd991 | ['2a5ef5aed4974c35834fe0050078abb0'] | Thanks for the links <PERSON>. That one is for Windows Phone and only shows reputation. The only bit I'm really interested in is notifications. It would be quite useful to see the notifications on the start screen to stay up to the minute. Is there a way to programmatically get a user's stack exchange notifications? If... |
9dc370041e6bc029ee5edaeb387de9a8c8d415df44fefe7f8966c8bc171e1b3e | ['2a82e528698341208374197a5fbe38bb'] | I have a dataframe with a column, E, that includes at most the values
[200 300 400 600 1000]
However as I am reading several sets of data like this from a source, not all my dataframes have these 5 values, i.e. some rows will be missing from one dataframe (e.g. has [200 300 400 1000], while another may have a differen... | ddc73ea34f69d7cd8c07977a1b8e1646b78d17378d336eede0a76392a9ae59c6 | ['2a82e528698341208374197a5fbe38bb'] | I have a dataframe with a variable (E), where the value in the dataframe is the left edge of the bin, and a set of occupancies for each bin (n) (and the uncertainty squared (v)). At the moment, these are binned from 200 to 2000 in steps of 100 (usually), then binned 2000 to +inf. However these bins are very fine for th... |
85fcd515dbcb23def7df4e50993e6820ee01ab8a0f71f2c200b2f4a5a97c2ecb | ['2a92cf8e0fa943a38a5b9c681b26ac30'] | Any time I ever have issues with IE 7,8 or 9, the first thing I check is the charset and ensure it's forced to utf-8. It's very picky about this.
Another thing to keep an eye is content-type header. Ensure it is correct and matches up with the response your sending back. It also tends to be picky about this.
So, for ex... | 0efbaf20f664cea6c0d3f20dca229abf283b7486900009c0ab865569c3c7da00 | ['2a92cf8e0fa943a38a5b9c681b26ac30'] | Ok... something else that I probably should have mentioned is that I am an experienced programmer trying to get my bearings with iOS, and I've found in most conversations --even if this is not best for SO purposes-- that the worst solutions come from "I've solved the problem badly, you help me implement it;" what I don... |
d0286e7c0017f40a189c6def193f0c2e765391de74ae16ba4693bb6857c04c98 | ['2aa4157202c048b8af6358b9582d9d9a'] | Is there a canonical way to emit multiple keys from a single item in the input sequence so that they form a continuous sequence and I don't need to use a reduce(...) just to flatten the sequence?
e.g. if I wanted to expand each digit in a series of numbers into individual numbers in a sequence
[1,12,123,1234,12345] => ... | e7bd3576c14b9dc24ff70229fa524d74eba528bcb118136795ea25af07d8fadd | ['2aa4157202c048b8af6358b9582d9d9a'] | Actual question(s):
What happens "in Windows" when a program crashes from an uncaught exception?
Is there a dll function, which I can hook, to log some basic information about a crash?
Context:
I am planning to write a program which will collect some very basic information about any applications which crash on my local... |
6a9c90d5dee26c02a78277ed310accab0c93b2e27e50d37109892aee00c131b5 | ['2acfb24804d04683b66a015d53f76ebf'] | I am new to kivy, I want to create my basic UI for android application,
and I tried to code down below, I first create my boxlayout to separate my UI into three parts: title part, main part, and icon part,
actually my question is about how to size and position my icon image button
<MyLabel@Label>:
color: .8, .9, 0... | deee366dc00b9bdd8627b437c26d1d4eb8a45a94bfd688494cc51f5202f02873 | ['2acfb24804d04683b66a015d53f76ebf'] | I am now about Python and AWS, I am currently doing one of my project,
that require me to develop the android app using kivy and some functions are conducted using python. However, it is quite computationally intensive, so I'm thinking about to access the AWS cloud system at first, and all my computation works will be ... |
63ead52f0d5d7ca2248ce23a8e227e75a0f514ecd055ce9741e3b9f62c2df394 | ['2aef253eb8fb4e95bf31df3210f86c9a'] | I was looking to do file upload and add some parameters to a multipart/form-data request in VB.NET and not through a regular forms post.
Thanks to @JoshCodes answer I got the direction I was looking for.
I am posting my solution to help others find a way to perform a post with both file and parameters
the html equivale... | 7aaf33fb7ca1e4496ea5aeb37c7b223e0c6e30b402e93948dd288b93d8c59a30 | ['2aef253eb8fb4e95bf31df3210f86c9a'] | We are running into issues with our Blob triggered function.
The function is written in javascript.
We had a hard time putting an automated deployment process for it in place.
Here are the steps we followed.
Create the function app within an existing resource group, using the ARM template and a parameter file
New-Azu... |
edc6ad6063cf8ebe8105fe2b9333d1b8b4685521869d6690e0c2a16a4cf782ea | ['2aef53d15b2a4e75abe6dff623dc7050'] | Flickering behavior is correct. It is like throwing ball at the wall and when it bounces away, you punch it back to the wall. It is because you are setting forces instead of positions.
First, you must decide, wheter you want to control the position, or force (speed = derivative of position). If you want to set forces, ... | f7bb2cf96feef28ff928dff8652034acdc05c99df84ef8b0515ade4537b4ed1f | ['2aef53d15b2a4e75abe6dff623dc7050'] | I can think of two things that might be the problem there. The enviroment may not be getting setup properly. I would try to run it from sh (or bash), and perhaps check to make sure things like your $PATH are configured how you expect.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.... |
45170b141406bb143f804e7c616685c4e566e92495d4cc4787d98527c96a9d78 | ['2b085b08af49488e8d681e76f0988dc9'] | Usually when I have something the likes of below on an HTML page it works just fine.
The local script block is only executed after the external script block is finished loading.
<div id="curve_chart" style="width: 900px; height: 500px"></div>
<script type="text/javascript" src="https://www.gstatic.com/charts/loader.js... | 1a21366e40614839ec18af1c52dd443afeb656bc7a585f98f89c80b2b9814a01 | ['2b085b08af49488e8d681e76f0988dc9'] | I'm currently migrating my Java 8 code to Java 11 and stumbled across a problem. I'm looking for jar files in a directory and add them to the classpath in order to use them as JDBC drivers.
After doing so I can easily use DriverManager.getConnection(jdbcString); to get a connection to any database I loaded a driver bef... |
c01f324abd164561ab38c31621501581a5b79a2aeb931acc28fba8aed402466e | ['2b0e7ce362224f5c90d5c82a70a27411'] | I want to add a Blank UWP app as a reference of another Blank UWP app. For example: I want UWP app "A" to be the reference of UWP app "B" but it returns these error codes when I build B:
Payload contains two or more files with the same destination path 'App.xbf'. Source files:
…\…\B\bin\…\…\App.xbf
…\…\A\bin\…\…\App.xb... | 790488825c7b211e5d974b865898585a70b4165ca37c05bd448788608bfa460a | ['2b0e7ce362224f5c90d5c82a70a27411'] | I want to use 2 C# apps to communicate to each other by memory. For the host side I used:
int* ptr = &level;
And for the client side I want to use:
ReadProcessMemory((int)_handle, <returned result of int* ptr>, _buffer, 2, ref bytesRead);
But the ReadProcessMemory doesn't work. For example: level set to 3 but ReadPro... |
892564abafbd5239baa1fb98da54225a2a4301ba3a177ad50f21010bbba722cb | ['2b1388bd18d64233a5f3cf89563dbd65'] | Lets say that I have 2 groups of distinct points. I'm trying to find all the possible different ways to travel between these points. In one group we have P1,P2 and in the other group P3,P4. Any point can be a starting point and can only end in the opposing group. I want to find a way to formalize how to find all combin... | 6146df8ea0af8b12979a3269578734ff843d47b1ee80f5b276ea5e6ad0dee3d1 | ['2b1388bd18d64233a5f3cf89563dbd65'] | I have a server on GoDaddy and I have sshed to it to create a remote repository. On my local machine, I have cloned this repository and I have tried to commit a new file and push it to the remote repo. After typing git status on my remote repo I get this:
# On branch master
# Changes to be committed:
# (use "git rese... |
948c6e62a7cc18d6c7a848574d51fb7eb6b6e0ea54683dbb81eddd1bb9280fa0 | ['2b21af5d5a0348d8b7b9067b9ab791dd'] | I have plotted a grouped bar plot using the below code:
col1 = {
'abc': '#323233',
'xyz': '#C92735',
}
fig = px.bar(df, x="id", y="Total", color="sys_type", barmode="group",
color_discrete_map=col1)
fig.layout = go.Layout(
title=go.layout.Title(text="Total value for each i... | b281968c2c19b9e8ff089d6ad8869278b231e90724dbe8f0c7a9697e9c4860fa | ['2b21af5d5a0348d8b7b9067b9ab791dd'] | My original dataframe looks similar to the one below:
| Sales_entity | country | id |
|--------------|---------|----|
| sales B | US | 1 |
| sales C | US | 1 |
| sales C | US | 15 |
| sales B | US | 20 |
| sales D | US | 21 |
| sales C | US | 2 |
| sales D ... |
67aba9083f32198b33b9f0b82629fe0b89137f1f4a6403c06d4c2dd58ee6bb98 | ['2b2ea8e954544973a36eef3fa594c654'] | When speaking of events the observer pattern comes to mind. You can think of your game to be internally presented by several state machines (you can look this up at Wikipedia, too, I can't add 2nd link myself due to being new to SO). Each transition from one stage to another is an event that can be communicated to reg... | 26522542106bdb5dcbf9fafa717e9fb833cae1124378dff102411c45b8dc375e | ['2b2ea8e954544973a36eef3fa594c654'] | After spending some more hours on the problem I have found a way to avoid Tomcat's error message. It seems my Eclipse configuration was faulty, because it was configured to add some of Tomcat's own jars into the folder "I:\Apache Software Foundation\Tomcat 5.5\webapps\MyApp\WEB-INF\lib". After I changed Eclipse's setti... |
cc87e6344fa9d197d26177892034333dab5c6ab791d0f0fb6bd2b2168088eaec | ['2b3c8a90b9594b9bad3024f877df61b9'] | I have faced an issue with qml which is that when I use anchors to layout items their coordinates are not being set and are equal to zero. Please see code snippets below.
Is this behavior regular for QML anchors or it's just me doing something wrong?
How this can be circumvented?
Rectangle
{
id: background
ob... | a58889e9a12a05529ce1fe02af94881f1a73310a65825b96bef713c4580a127c | ['2b3c8a90b9594b9bad3024f877df61b9'] | I have a code as below and I don't understand why exactly compiler can't infer the constructor to be used when instance of D class is created.
I have deleted both copy and move constructor so the only alternative would be to use A(Base&)
Is there are a way to tell compiler to use A(Base&) constructor, besides casting *... |
9529a5dc6c9f67fd17b5a143e721c1c3cb6fba6dd354c9b637a26fa3098b0f47 | ['2b4f069bb7bb4b51801b2fa371813363'] | As <PERSON> said your fields doesn't contain name attributes, it should be like this:
<form action="do_register.php" method="POST">
Username: <input type="text" name="username" id="username"/><br />
Password: <input type="password" name="password" id="password"/><br />
Email: <input type="text" name="email"... | 7f40b1de4cbe963cd0bb4acec0aa85272f97a9de9994226d9e750fe7ec12688f | ['2b4f069bb7bb4b51801b2fa371813363'] | I want my form to update values in my MySQL database, how would I go on doing that with multiple values ? I think I understand how it works with single values, but not with multiple. Any help is appreciated, this is how far I got:
$queue = "UPDATE <PERSON> SET (barn, <PERSON>, voksenhelg, <PERSON>, klippekortmega, <PER... |
88d994c83319ae9ff92274f291170378644279f14a61db632e9e25b9752d4976 | ['2b57031689114ac197b98bea9fb22889'] | May be you can use std<IP_ADDRESS>thread...
#include <iostream>
#include <thread>
#include <string>
void runcmd(std<IP_ADDRESS>string param)
{
// something like system(param.c_str());
}
int main()
{
std<IP_ADDRESS>thread* threadarray[10];
for (int i=0; i<10; ++i)
threadarray[i] = new std<IP_ADDRESS>threa... | ace4209edb252a4099d259497aa56f3abc4d606c961fbd9895e860e196291944 | ['2b57031689114ac197b98bea9fb22889'] | SelectorFactory.h :
#ifndef __SELECTOR_FACTORY__H__
#define __SELECTOR_FACTORY__H__
#include <string>
#include <map>
class SelectorFactory
{
public:
static void registerCreator(std<IP_ADDRESS>string& name,int value);
static int createSelector(std<IP_ADDRESS>string selectorName);
private: // !!!!... |
460e0976b136c9c2c84d5bb3c03d0c21010d161c41bf944117c455f23dfbb5c7 | ['2b5cd09aa92c4faa9a14f4a2e0e82380'] | my code is here and my trying to signup user and if its already exits then dont insert data
Call to undefined function mysqli() in C:\wamp\www\admin\admin\sign.php on line 10
Please help
<?php
session_start();
require 'db.php';
$x=$_POST['username'];
$y=$_POST['password'];
$z=$_POST['name'];
... | 54900e7b43f148486b18ff3fb07f49def1ca8f080b789a8fdf544289aef09713 | ['2b5cd09aa92c4faa9a14f4a2e0e82380'] | i have two coulms in table one is name and lastname, and i have one input for search if i search full name with name and lastname then result is not available
here is database structure
and input code is
<form class="form-inline" action="searchfrnd.php" method="GET">
<input style="margin-top:20px;" type="s... |
32c543c6fa17305c67b2c0603a3dcb4ef074ecf032a60e1886b5ac5bab640d03 | ['2b63cdc8d83c416fb5b4a0e6ca722dac'] | I would use the DDMS shipped with ADT (also listed as Debug monitor) and choose the device and app, then click that camera icon. It creates very good looking screenshots.
I also got some rendering errors with the emulator... It's best with actual devices. You can also try if other images/emulators perform better.
| b15fb1d14dffe60e205e430f2ae9c261853cda1aa1544020b7c878bad29abc5b | ['2b63cdc8d83c416fb5b4a0e6ca722dac'] | My guess is that you have your android:name attribute hardcoded. Change it to a string resource.
Example:
android:name = "MyAppName"
to
android:name = "@string/app_name"
with strings.xml
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">MyAppName</string>
</resources>
I guessed this (you... |
9b1e642242a8b85cfcb2059cc4b7a07742f3402edd4bd98c885496eb7f94dedb | ['2b83568c5f4b41c685aea3843b3674fd'] | The closest I can think of about this is using the class [MediaDownloader](https://developers.google.com/api-client-library/dotnet/guide/media_download#sample-code), I do not know what kind of downloads, but apart from that there is nothing in official libraries. Perhaps [this blog](https://forums.asp.net/t/1218116.asp... | 1a84ea4e4906e906a20ec47d50a18e172d1d8151f54bf817798617e26bf9d4f4 | ['2b83568c5f4b41c685aea3843b3674fd'] | Check a few things:
Did you enable Datastore API? If not, enable it here.
Does your new project have an active application? You can activate your application by going to app Engine in your console and click on 'Create Application'. did you set your new project as active project? Use gcloud congif set project [PROJECT... |
3474223f4e13f2183e7901f6754e0f41656823332b041f395efc2066424be41d | ['2b974224add44b4ebae6aaf1acf390a8'] | This is quite a complicated command you have here!
Let's break it down section by section.
export
This means that we are setting a variable to be used in other programs.
PS1=
The name of the variable is PS1.
\e
This is an escaped character. In bash (and most programming languages), Everything with a backslash befor... | c3f4353a11ae200f4ecf7d208a0b3a014f33a3da0aea904c3ad23ae36d41d232 | ['2b974224add44b4ebae6aaf1acf390a8'] | I have dictionaries nested in a list. The dictionaries are set up as follows:
{'ID': 123, 'Balance': 45, 'Comments': None}
I have multiple of these dictionaries in a list, so the list looks like this:
[{'ID': 123, 'Balance': 45, 'Comments': None}, {'ID': 456, 'Balance': 78, 'Comments': None}]
What I'm trying to do, is... |
109477097b1d6c1305b96a65ea6ae0fed37868e836a23084c3a2382f5d1baba8 | ['2b97a9812d084b02b4f2657f0a5c4411'] | From Wikipedia: https://en.wikipedia.org/wiki/RAID
RAID 0 consists of striping, without mirroring or parity. The capacity of a RAID 0 volume is the sum of the capacities of the disks
in the set, the same as with a spanned volume. There is no added
redundancy for handling disk failures, just as with a spanned volum... | 2622fef6604d5ba4bacea44bb8e628f9ebf9cff120ead528a17a1b66c983c3e9 | ['2b97a9812d084b02b4f2657f0a5c4411'] | This answer depends on Windows 10 being it's "factory fresh" self, and first login being done. I wouldn't recommend doing this on a machine that's already been in use for any significant amount of time and hasn't just been wiped.
In the case of a new/freshly wiped machine, it would be a good idea to have something like... |
942691335a2ada9db3c0444b8ddf1fe38fa6d37c8111bf409460245bd6d37f28 | ['2bae342c72cd4ac397b9d1648a974241'] | $_SESSION['user'] must be set to your user's name/id so that when you try to read it the next time, you'd be able to identify that user. For example:
login:
$_SESSION['user'] = some_user_id;
user area:
$user = $_SESSION['user'];
// extract the user from database, based on the $user variable
// do something
| 861dbefb5631df5be10f75656ce67da1d572321f43b85160c4f0aec90ba5e033 | ['2bae342c72cd4ac397b9d1648a974241'] | I have previously had apache2 installed, I upgraded to php5.5 and this broke my install so i tried to fix a few files. But that didnt work, I autoremoved apache but I still get this error when I try to install:
/etc/init.d/apache2: 64: .: Can't open /etc/apache2/envvars
/etc/init.d/apache2: 76: .: Can't open /etc/apach... |
65b5fb20a443cfee01f7cd604bef464fd277817ba40ffda3f5dd35ecc2112ee7 | ['2baf9b7bb6f94065967f1a40803e4b36'] | yeeeee ncdu is alright... but doesn't script in too well... It's fine for me, being on my end, but I am trying to break it down dummy style for a customer that literally doesn't want to do anything. lol
so my goal is to get the breakdown to look pretty and send it to the customer in a pretty pink bow | df165d16165e67f8b7af9e35a11fd2a3823fe2b06b2787a6d6d7ce2bd96b6522 | ['2baf9b7bb6f94065967f1a40803e4b36'] | I need to generate random undirected graphs with the following characteristics:
24 nodes
mean degree ranging between 1 and 23
mean edge weight ranging between 1 and 5 (weights must be integers)
I have tried using the python module networkx's expected_degree_graph, but I am not getting anything near the desired result... |
45a09b1ea272b2d1debd0527194fcdcb9ef2200436f377d76b3241ea28a94217 | ['2bbbee2639b6436b8115b1a751d3e3de'] | The 'why' is that in Microsoft Windows 2003 they extended their directory implementation to include forcing workstations to reset their passwords every 30 days or so. I know it well, it broke a lot of SAMBA installs I was maintaining at the time.
Normally this password reset is all automatic, but I've seen many, many ... | 0c4040deb88b2241b0bbdb60e0bb9bb5862a5856e496b33256491971ac0f660c | ['2bbbee2639b6436b8115b1a751d3e3de'] | I was using "/usr/bin/konsole". The $TERM variable was set to "Linux" for this.
htop did not work in this case.
When htop was invoked from "/usr/bin/gnome-terminal", it worked fine, the $TERM variable was set to "xterm" in this case.
So when I changed the $TERM to "xterm" from "Linux" for "konsole", it worked.
Runnin... |
5ac4d4cc04aaaca972b7852bf4f503e70071defdef95e40fa56fb7581642ffa9 | ['2bc71135fbd74d149fa5417671df3b18'] | Let $X_1,...,X_n$ be a sample from a distribution having as a p.d.f: $f(x) = \frac1{\theta} e^{-x/\theta}, x,\theta > 0$ and $0$ elsewhere.
The maximum likelihood estimator of $\theta$ is $\bar{X}=\sum_{i=1}^n X_i /n$. Why isn't the maximum likelihood estimator of $\theta^2$ just $\bar{X} ^2$? Why does it have to be t... | 3b92618117666a781cef2e22ae106c31883523a9c5b781106fb7963a8b307a7c | ['2bc71135fbd74d149fa5417671df3b18'] | Let's suppose that we have two normal distributions, and a sample is taken from each (of sizes $n_X$ and $n_Y$ respectively).
$X \rightarrow N(\mu_X, \sigma_X ^2), Y \rightarrow N(\mu_Y, \sigma_Y ^2)$.
We want to test: $H_0$: "$\sigma_X ^2= \sigma_Y ^2$" against $H_1$: "$\sigma_X ^2 \neq \sigma_Y ^2$".
Depending on whe... |
71fbc5d3ffc250d1d27c59533e09996df3fe62d77efe8f0419f15293494b40d4 | ['2bd20c6abe6e4625a55442fa129173dc'] | I am trying to install pygobject for python 2.7 in pycharm for the purpose of using gstreamer. However I am having problems installing it. While in the virtual environment, if I use
pip install pygobject
Then the build fails and gives me this error
gi/gimodule.c:25:10: fatal error: 'glib-object.h' file not found
#in... | 0e6fe970acbe2e23243ded512c737a88cedf76ec1112b11cd210e442e42cced6 | ['2bd20c6abe6e4625a55442fa129173dc'] | I am trying to add curl into my project on codeblocks (windows 10). I have linked the .a files from libcurl in my linker settings, and I added the include file in my search directories. However, when I try to run the sample code
#include <stdio.h>
#include <iostream>
#include <json.hpp>
#include <curl/curl.h>
using na... |
f22a1a375212e4d48826638ccf48c860e2cb54ce206715326b15044933317625 | ['2bdb0df2614848f8b8d113fc1fe77ea3'] | I want to boot a cd from my mac on startup. I believe this is done by holding down "c" with the CD in the drive. However, my trackpad is broken. The mouse button is permanently pushed down. This ejects the CD on startup. I tried plugging in an external mouse, but that didn't help.
| 38b958d52dca96a4c6e2c0461e54b8c11818dfc999d964b0f7dbf32f77540cfe | ['2bdb0df2614848f8b8d113fc1fe77ea3'] | I am using IEEE bare_conf latex template and I want to write particular variable names or values such as the word "eqnarray" in figure below in the middle of a paragraph.
Are there standardized fonts, commands for this? I see that the IEEEtran_HOWTO guide itself is using different font for these kind of stuff but I ca... |
3f2c8cbd2635cd89af90a57ed925921349bd1244093d3ac8517aafd4a71beca6 | ['2bdde3e1e310469c91032874b2853343'] | I had similar problem, I solved creating a function that returns an SSL context using a keystore coming from and input stream.
protected SSLContext getSslCtx(InputStream is, String password) {
try {
// Load keystore
KeyStore keystore = KeyStore.getInstance("JKS");
keystore.load(is, passwo... | 9fcce23d4fd7f5ed766bcfa5e9a544e67f42a45a04d3eaa9cf69b8095a3d75a9 | ['2bdde3e1e310469c91032874b2853343'] | I'm trying to use Freemarker GAE on Android without success (same code runs on a PC). I found this 4 years old thread:
use-freemarker-library-in-android
As described on the thread the problem relies on the fact that Android misses java.beans implementation. Did somebody manage to run it on Android? How?
What is the pur... |
e5de0bbd441b3b841a7d096411f6159c4a09403cb811cc5ad4bbd20b04fa37c5 | ['2be094479f54414bb10c448ef39aad30'] | I know this question has been asked before but I really couldn't find anything that would suit my needs..So I want develop a 2d game that is something like Draw Something. the game is not really heavy on graphics or anything like that so what is the best Development enviroment for my game
thanks
| 1b511eda82ec7162b22f8415d71ebe474df7fefe89960eaf93bb2ac1eb552a59 | ['2be094479f54414bb10c448ef39aad30'] | I am developing a game for the iOS devices where the application will fetch data from a database (messages). I want the application to update to just to notify the user when there is a new message (and only when the user is in the application or when it is running). What is the best approach to this problem? I was thin... |
c66a89909660f2deaec444190676defcec3966ceacc3302291ebacb3ab289a34 | ['2bea7ac360b548b583951c1f55ca5f48'] | it could be a token provision issue: dappTokenSale contract address doesn't have any DAPP token being provisioned yet, which results to this following line of code failed in DappTokenSale.sol file
require(tokenContract.balanceOf(this) >= _numberOfTokens);
you can go to truffle console to check if this is the case:
... | 5fa9871379cf27767144e1dd03beb2af289e3ca68bcedf506fdf5df5aec25716 | ['2bea7ac360b548b583951c1f55ca5f48'] | Your experiment should look something like this: The effect of temperature on photosynthetic rate of Elodea (pondweed). I assume you used Elodea canadensis for your test. Maybe the plant is already a bit "exhausted" - try to take a different branch. Or maybe it needs more time to get used to the new temperature.
|
79ebbb25c8504cb987ad94c5a0beed8b673eef5efba5286086b600db6bb72257 | ['2bf265f9bd4a43ea9097c384a40169c5'] | I am trying access a variable defined in a C++ header file in Objective-C.Its always returning 0. I do not have any ways to alter the CPP header since its a third party library.
I would like to know how I can access the methods and variables in the header file.
Any sample or reference will be helpful.
| 4d97ffb3971730529467ed2898c5326553b5aae46477132740bf3efa76f0b13f | ['2bf265f9bd4a43ea9097c384a40169c5'] | I would like to set the content offset in the scrollview so that it doesn't scroll beyond the last button in the scrollview. Now its scroll even beyond that and thats not a good UI. I would like to know how we can limit the content offset based on the elements in the screen.
|
d394044a06ea814d9aa4420d3b1b844d9438ea5eb2e657ea3e562282f77e6d35 | ['2c074f38cb9b46c68d3476adef8fdbf6'] | I know "omnibus" to be a term describing multiple novels put into a single book, but I've never really heard or read the term anywhere else. Because of this, I'm curious: how widely used is the term "omnibus?"
Context: I am writing a piece where I am considering the use of the word, but am unsure of whether I should us... | 1c5d520170205171bdcd5e72f7891c0a6576d74849dd2f0f7e882ee5480dc1b8 | ['2c074f38cb9b46c68d3476adef8fdbf6'] | Thanks for the reply <PERSON>. I've found over the months that it's pretty sporadic, but tends to happen with plugins that use EDD's Software Licensing, which I believe use WP's normal techniques for updates. It's happened everywhere I've used WP-CLI (local dev, a few different servers). |
8e41168289eb5f86190012b50a7b629937726bf1cc70fd01afd389238fd7e942 | ['2c0ca0578c874494be48569a8dbe4563'] | Before asking this question, I assure you I spent 2 days researching this topic on the Internet. As I failed to find a concrete answer, I am taking this question here.
I am new to data science, and I am working on my first class imbalance project. I am trying to build models that do well at predicting which customers a... | c7f0b0e42b77e4cf37817a1ad0ef8bc1e230c9dd2c5b3ebbd603795b4d37f28e | ['2c0ca0578c874494be48569a8dbe4563'] | As an aspiring data scientist, I am currently learning to work with time series and just finished learning window functions. It is clear to me that rolling window functions help compute a moving metric, such as average or sum, of time series data. However, I am struggling to understand the computational logic behind ro... |
fa29194f4e541d6887ba50129db389e9d71120af37b456909c53a9909fb10eb0 | ['2c0db01450204ea68690bf3f9c9c62dc'] | I had some logic in the mounted() method before I started using <keep-alive>. For instance: document.title = this.title. Now the title changes upon the first load only.
I could listen for route changes, but it won't work when you land on the page.
What is the proper way to detect loading of another component in <keep-a... | 0ae46163579e8b1cdcf17f88f1df49b1f725fd9e2a8ddb06ef8babd963ae88ca | ['2c0db01450204ea68690bf3f9c9c62dc'] | It's working properly on local server, but when I upload it to the shared host, instead of displaying relative date it shows raw string.
code:
Yii<IP_ADDRESS>$app->formatter->asRelativeTime($timestamp, 'now');
local host:
in 6 days
shared host:
in {delta, plural, =1{a day} other{# days}}
Locale is set and timestamp... |
d956f996de6a7d120c121600685003924a1b42bb6d251ba7167066ed41435df5 | ['2c2a27bf70e0415c9f3185a7dfb14be2'] | My requirement might be very basic, but i'm new to DNN technology. google search doesn't help me.
I have millions of users in sql server with all details like password firstname, lastname, ....
I just want to move these users to DNN database. What is the best way for that ? It can be any stored procedure calling or I ... | a462938931a768efe114fee492e9908c47a6166d832563b6d83fd13311af6d7d | ['2c2a27bf70e0415c9f3185a7dfb14be2'] | I am following this article.
http://www.codeproject.com/Articles/23768/Load-and-Display-Page-Contents-Asynchronously-with
I have a usercontrol with some javascript codes. Lets say there is a method called alertMe(msg) in javascript. And i am calling this from c#. It is not calling. i am using this.page.clientscript.re... |
79490c8889f78c6fffd1d34aa96e0a2cd2486361f95167bc26161e083c957e1b | ['2c6697e5f5da4aadb212c8b7d50ab008'] | I'm new to Sqlite3. I'm using the C++ interface, specifically the amalgamation. The database is being created in a tmp folder with rw permissions, specifically 0x644. When I go to write the table, I get the error SQLITE_IOERR_LOCK (3850). I'm running on QNX os. What can I do to resolve this?
Thanks!
bool myApp<IP_ADDRE... | 4b2ad123a07c9484dd86c6e113043d0bb8c860fa689d30057ad6d1ccdbba119d | ['2c6697e5f5da4aadb212c8b7d50ab008'] | I'm on ubuntu 16.04. I'm running git version 2.26.2 and curl version 7.47.0. I keep getting the error the the cert file is gone, but I go to that directory and the file is there. Also I've tried updating my certificates, but it won't download anything new.
I'm trying to pull the latest hyperledger Fabric code using th... |
81458569768c4af52552ffb1bb1d4959d1aad58709e799b49a4ef258e7bf08e8 | ['2c75c3c5d9914f588e8359c4e7ac5442'] | Neither answer directly addresses the question posed: What is wrong with the reasoning proposed?
Here it is: In order to apply the "ratio" formula (nr. of favorable possibilities divided by total nr. of possibilities), those possibilities need to be equally likely, but this is not the case. Each of the 2C(2n-k, n) pos... | 9b992b776035cc51cce6cc7be0ef8360d5be9b84d775ce5d93c56c236c7d23b1 | ['2c75c3c5d9914f588e8359c4e7ac5442'] | <PERSON> a better question is: how much calories can I get from using the land required to grow the grain and to raise the cow that eats the grain. Because, if you are not going to feed it to the cow, why are you growing forage in the first place? |
5905be2293352141d41158cd9d1645064be69be7de64f552c6e66055d43df661 | ['2c798c077d3142efbed27a80811f98b3'] | Most of these overlays/walkthroughs can be accomplished by adding a subview to the main window of your app. There are some edge cases to take into account, but for the most part, you need to simply grab a reference to the key window with
UIWindow* keyWindow;
keyWindow = [UIApplication sharedApplication].keyWindow;
Yo... | 48972ae55278c4e03a3a1631b2d83fde0af58e5516c22e8072b93b77eb88fce4 | ['2c798c077d3142efbed27a80811f98b3'] | A UITabBarController inherits from UIViewController so by that, as your code shows, it is possible to push one onto a navigation stack, however Apple does not typically recommend it. From the Apple iOS Human Interface Guidelines:
In general, use a tab bar to organize information at the application level. A tab bar is... |
de09c93815bfc538992e99fb89d7ea82d4d2bba82782386485cd02b0ecd598cb | ['2c8799c24cd04d968c0875d11875491a'] | <PERSON>, thanks again for your help. So, per the above, how much hill-climbing ability "loss" might I feel on the Treadway? Meaning going from a 28/28 low gear to 38/32, will I struggle a great deal more? This is considering I don't get in better cycling shape, which I plan to do! I might add that because I have such... | f6a1da9b5319535976e2a3a397ef8edb7fda5d29abeadc069225b90eaf3f6b96 | ['2c8799c24cd04d968c0875d11875491a'] | I sometimes encounter this message when I input some commands in the terminal.
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 14: reading configurations from ~/.fonts.conf is deprecated. please move it to /home/ethiojob/.config/fontconfig/fonts.conf manually
What's the message about, and how do I fix it so... |
c6d1480126ed2409add6dba6476d3c009f3435df0fdea8ad7da1e8e4ecc9f421 | ['2c8a406997434ec09cc3ec0129b4e0ed'] | I'm trying to plot a graph that has two-line labels on its xticks. I cannot reduce the font anymore because it becomes unreadable (the plot is part of a 2x2 multiplot).
The problem is that the separation between the two lines in a label is too big, so that they become too close to the labels of the next columns.
I woul... | 11cbabbe022f256e485f00993062a3d6227fbc91c2a66c6a30c319486eaf4893 | ['2c8a406997434ec09cc3ec0129b4e0ed'] | I'm evaluating to port a device driver I wrote several years ago from 32 to 64 bits. The physical device is a 32-bit PCI card. That is, the device is 32 bits but I need to access it from Win7x64. The device presents some registers to the Windows world and then performs heavy bus master data transferring into a chunk of... |
f7f7c2147c516bb49475896f9e0bfddfdef49b519843b96f3c83fb6358f9c0ef | ['2c8c928b7e7748d9b91bc7d4bce0fad4'] | I got an error when I downloaded the fabric samples.
The command I used to download the latest fabric samples.
The error is
pathspec 'v2.0.0' did not match any file(s) known to git
I am not familar with git and I've searched on the internet but didn't get the idea. Hope you guys give me a help. Thanks!!!
| 23e8705c248e3c0ee601430ddfe9bb705f2a2d7f6b8f6b97566dc0ff5d6c677b | ['2c8c928b7e7748d9b91bc7d4bce0fad4'] | Hi~ I am playing with the first-network sample. But when I try to run the command ./byfn.sh up -l node, I always get the error returned from logs as below.
Instantiating chaincode on peer0.org2...
+ peer chaincode instantiate -o orderer.example.com:7050 --tls true --cafile /opt/gopath/src/github.com/hyperledger/fabric/... |
6fb84db7ba8c82b45b1a3f6d740d67b4c02b20ee80d64f30fdd80f3ea7610be2 | ['2c91fdc1911341b198641056af396a77'] | As explained by tim4dev, you havent logged in using any specific user. If you havent created a user, go to the firebase console and allow a signup type. They are like email and password auth, phone number auth, anonymous, etc. Once you have enabled one of the options, you can sign up using the auth class and sign in / ... | b014d656bd0db6dcd41a598cd99d19574cfb5d4753a398b5d167d6bb8b81f5d4 | ['2c91fdc1911341b198641056af396a77'] | I am getting a null pointer exception whenever i am trying to process two images for color difference. The code is
MarvinImageIO.saveImage(currentFrame, "check1.jpg");
MarvinImageIO.saveImage(template, "check2.jpg");
currentFrame=MarvinImageIO.loadImage("check1.jpg");
t... |
7e6bec701da8b2c27426b86ee154efbac85f1863c0e4f3f3efa835f8a97ea6e1 | ['2c95e2070e4d4911bbe2d90a0400778f'] | I recently had this kind of issue,
I figured it out that result I was checking was with UpperCase.
So, ex: auth.isLoggedIn returns True, and when *ngIf="auth.isLoggedIn" equals it, it goes like this *ngIf="!auth.isLoggedIn === true" and this never return expected result.
Check if auth.isLoggedIn returns lowercase tru... | b56957e97b44a6ec7775cdf7f038a79b6d6ceadcfa16054aae40a6e700df2bb0 | ['2c95e2070e4d4911bbe2d90a0400778f'] | I just messed around with this kind of crash/error on production/deployed app with event error "Faulting module name: Windows.UI.Xaml.dll in UWP application".
As a solution for my case I had to use default "ContentDialog" Style rather then my custom made style!
So if you have used any custom style for any control on th... |
8aed5f351017cc3d65e3441f2fc4e473f81a78ed4edf3a9a9ca3e139c6da699c | ['2c99cda31b1a4f5e83c3768a033013c8'] | Reason for the above problem, because at the time you have appended two DataFrames, you forgot to set 'sid' as the dataframe index. So, basically the two DataFrames has different structure when you append it. Make sure to set the index of both dataframes same before you append them.
data = [ [30,11], [56, 5], [73, 25]]... | b0c450148cf0c2981aa8d6e9fe1d366366b9e8346e526c0d64904ced15ba7060 | ['2c99cda31b1a4f5e83c3768a033013c8'] | Definitly python. it has readily available lots of tools and libraries for us. For these type of projects i highly recommend python. Here are some tools and libraries might help you.
wikipedia - Get information from wikipedia or to perform wikipedia search
pip install wikipedia
Request - Making GET and POST requests.
... |
531b639770e4d3a025639142fd808053230cdb0a3eba3d099ef339c731fcfd0b | ['2c9c164ad74f48d7ba98c671879d8762'] | Thank you! I tried adjusting for the number of rows, but now I am getting a different error: **Error in pivot_wider(., names_from = coord, values_from = coordinates) : could not find function "pivot_wider"**. I am using all the libraries you listed in your original response: might I need one last R package to execute t... | a8af4e4c80ccd9cdf774ed3b834702a881eb098b9c8680fc774414110cf2213a | ['2c9c164ad74f48d7ba98c671879d8762'] | I am working with the Hansen Global Forest Change loss year layer. This raster tells us the year a 30m pixel transitioned to zero forest cover (2000-2014), if relevant (otherwise zero).
I am producing zonal statistics over tiles and am trying to get the within-tile count of pixels that transitioned in 2001, 2002, 2003,... |
64153655371313d43d092dd354b621cac6a419672624cbe84ec10e8657c458ad | ['2ca13c852b724649904152bdeeaae184'] | How do I track the memory used by OpenGL textures in Android?
I understand the texture memory is on the Video RAM, but do they get swapped in with the RAM? If I call glGenTextures and do not call glDeleteTextures, how does it impact the memory usage of my current process?
| ace39b656fa1449ae6bf3e7de4aaed61b8527961b9f02dab8afcf00462712c07 | ['2ca13c852b724649904152bdeeaae184'] | Is there a way to find out the final location of my animated "object" after the animation? Let's say I am animating an ImageView with location in parent as (0,0 - 20,20) using TranslateAnimation and ScaleAnimation over 1 second with setFillAfter(true).
How to I find the final location of this "object" (since the View l... |
5eb23a4aeddd79a39beed9efb3c919bebe8faf4b020e760419a0a2c8c0e727cd | ['2ca26ce8d9c04e0cb778409f09392d9c'] | I bet you're using the wrong LayoutParams class.
Look at your imports at the top of your file. You must be importing a specific static LayoutParams type (e.g. import android.view.ViewGroup.LayoutParams;) Not all LayoutParams classes are equal, and the class you're trying to instantiate may not have the constructor yo... | 6167f2439d0c1bf4625741eb5ee972ae8ae05006695ea03d5113d8a24249ce05 | ['2ca26ce8d9c04e0cb778409f09392d9c'] | I'm working on a reusable library for Android. The library will include an Activity that developers can use in their apps.
The plan is to distribute the library as a JAR. Consequently, I'm laying out views at runtime in my Activity onCreate(), as I can't use XML resources.
However, I'm noticing this weird behavior wh... |
840840b1898841668bd49fbbb42c75b309312092e7425a24ba71b5386498620a | ['2ca8ac332875417e91c650d4802b5ac2'] | so lets say i have the following data
data: [
{ key: 1, id: 1, uri: "", image:false },
{ key: 2, id: 2, uri: "", image:false },
{ key: 3, id: 3, uri: "", image:false },
{ key: 4, id: 4, uri: "", image:false }
]
I want to update the uri using setState()and so far I have come up wi... | 66144d9ecca4a762ba0bf5f1779d02b4b8fe6e95b6b995679734fa8e183ce7b5 | ['2ca8ac332875417e91c650d4802b5ac2'] | So I am trying to retrieve images from my expressjs API and I cannot seem to actually retrieve anything, not locally or even remotely.
Here is the written code below :)
app.use(express.static(path.join(__dirname,'/public/')));
app.use(bodyParser.urlencoded({ extended: true }));
app.use(bodyParser.json());
app.get('/ge... |
0e3ec83eb00a4f95bb59e7f288e012cb02523a038836e0036867ea61ad72e6c7 | ['2cae67176d194dd38543d5a48d4257d6'] | @KAGG Design Хорошо, приведу я пример: есть сервер с будущем интернет-магазином на woocommerce (или, возможно, другой CMS), который будет продавать товары разного формата. Для некоторых отдельных категорий товаров нужно сделать отдельные приложения, для которых будет проводиться рекламная кампания и т.д. Они планируютс... | 116dd67d138204f61092eedcc5b79f5879c9cc0e02969d07517dc6e1600f15e3 | ['2cae67176d194dd38543d5a48d4257d6'] | Например есть магазин http://baby-comf.ru/collection/frontpage/product/kolyaska-2-v-1-mima-xari-flair-2g-black-shassi там есть галлерея http://prntscr.com/gklt4v , которая меняется с помощью селектора модификаций http://prntscr.com/gkltap сейчас работает с помощью апишки, но вылетают баги, должно нормально работать при... |
ea33d93400447694705aa65eade4c19bbd79088852c06c3e01b74e4cbf6908e4 | ['2cc0c411b5a44d518e35459da15d8e7a'] | I've been working on a file reader in python where I expect to read ascii files ~100MB. There is a bunch of header information at the top and then just tab delimited columns. Some columns contain non numeric data (which I don't care about right now). I have a matlab implementation that reads a 30MB sample file in le... | 8ce17214c39812807f639760ea3a0772933b2d5ce21e1ea564f702735541cb99 | ['2cc0c411b5a44d518e35459da15d8e7a'] | Try using PyYAML to parse it. Worked from me on your example. https://pypi.python.org/pypi/PyYAML. Then you can avoid the regex headache.
import yaml
yaml.load('{day_id: 275, cookout_id: 71, description: "Sample text, that, is,driving , me, crazy"}')
{'cookout_id': 71,
'day_id': 275,
'description': 'Sample text, ... |
bead0d1e0a90f737bfaaa7a69d10a6e0c5695186e8b3b49e2068a95d3a9beba5 | ['2ccd47c304e14339ab8bc455e09932a1'] | I've created a new custom JSON codec for OpenRasta which works fine.
I need to pass arguments to the codec's write method when the handler is executed but cannot find any documentation on how to do it.
I notice in the implemented WriteTo method, there is a string[] codecParameters parameter, however no idea how to pass... | 010aa4467e26270a2cf213d43c5bbe82638d9e7d983ae0f6ba34194a640c84c9 | ['2ccd47c304e14339ab8bc455e09932a1'] | Скажу, одно это глупо и ненужно делать, так как если будет закрываться много тегов, то будут закрываться и теги самого плагина и все поломается.
Кому будет нужен вот код:
\admin\assets\components\ckeditor\ckeditor\config.js //путь к файлу
CKEDITOR.editorConfig = function( config ) {
config.allowedContent =... |
61fec382f0a77717ea416d6c761a84516e622836bb87732f7669725087e3948c | ['2ccda8059d534ac58e9b022bd31b1826'] | I have been using android studio 2.2.3 I have got problem when checking the google play service apk is enabled on my physical device and i have got this exception i have also include multiDexEnabled true this in gradle(app) but still i can't get a toast message which i have include in java code to check whether i have ... | fac183434210628777b2e0fcf7d111fd9633c6dea65386360d6501a6a6b4b267 | ['2ccda8059d534ac58e9b022bd31b1826'] | Here is the following structure of database in firebase
Code
I am getting the current user and then checking the whether the id is null or not and get reference of child and getting key of child. Further more i am getting null in string variable where i tried to get values.
private void Check_data() {
final Firebas... |
ea8a49168331516b48e1de85573c0dfb32f34891628d2325faf3851f62ffe410 | ['2cd2c88b457b4269b3096108718d252a'] | I have PNG file that contains a grid of tiles. There is a two pixel wide transparent space between each tile but I would like to remove that. I'd like their edges to be flush without a space.
Aside from manually selecting each tile and re-positioning it, is there an easier way to remove this gap in Photoshop?
Thank yo... | 7a98a58ae9d8ac3d449120b83e976664a47fe4a1bea1346cb528f11107949a33 | ['2cd2c88b457b4269b3096108718d252a'] | @bwall: Both machines are Windows 7, but I *think* (though I'm not sure) I've tried with XP on both as well, with the same results. I'm measuring WLAN speed by copying a 4-GB file around, and it averages around 300 KB/s or so, according to the file copy dialog. On the other hand, Free Download Manager can download Chro... |
e41eda9ff6edb21a64008c3804158cd7f2459a428cac1ab6652bd40a342089b0 | ['2cd425d3fd6f4ec2b2cc222ce6503040'] | For those of you out there that come across this thread, because you are having similar problems with RNDIS and windows code 10 errors, using the built in configfs libcomposite device, after tons of googling, and going over code on the internet, code in the libcomposite module..... I found that instead of patching the ... | bf31b6c031f317504ae43b31c8cda71d6b750a72dc7c00a3335e178b364c2ce2 | ['2cd425d3fd6f4ec2b2cc222ce6503040'] | Ok, Thank you for the help, it didnt quite do it, but the direction was the answer I needed. :)
Code Fixes.
C++ Header:
__declspec(dllexport) int __cdecl S9xLoadCheatFile (const char *);
__declspec(dllexport) int __cdecl S9xSaveCheatFile (const char *);
__declspec(dllexport) SCheatData* __cdecl GetData();
struct SChea... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.