text stringlengths 15 59.8k | meta dict |
|---|---|
Q: Conditional renaming with batch file i'd like to rename two files in a specific directory on my computer with a batch file.
The problem is that i'd like, if it's possible doing so with standard batch commands, to rename the files conditionally. To be more specific, my example is as follows:
I've got two "hosts" file... | {
"language": "en",
"url": "https://stackoverflow.com/questions/33441253",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Is this list-initialization of an array of unknown size valid in C++0x? Is this list-initialization of an array of unknown size valid in C++0x?
int main() { int x[]{0, 1,2,3,4}; return x[0]; }
I believe it is valid, but would appreciate some confirmation.
If anyone could quote from the C++0x-FCD to support their... | {
"language": "en",
"url": "https://stackoverflow.com/questions/2613562",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: array_map w/ null value I use the following to take an array called $list and turn it into URLs:
function genIMG($sValue) {
return 'http://asite.com/'.$sValue.'?&fmt=jpg';
}
$IMGurls = array_map("genIMG", array_unique($list));
foreach($IMGurls as $imgLink) {
echo "<a href='". $imgLink ."'>". $imgLink ."</a><br />";
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/12694896",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: search function not working - Ruby on rails I'm new to Ruby on Rails and trying to implement a search function with simple form to filter out availabilities results. After I press search button, it still stays on the same page and not running the search function in the controller. The permitted is false. I'm wonderi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/60853791",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to create auto email response when the receiver opens the mail? Hi
My boss wants me to create auto email response when the receiver opens the mail. Most of our clients use gmail but they can use any kinds of mail system. How can I create it ?
Thanks
A: It's not going to be the answer your boss wants to hear, b... | {
"language": "en",
"url": "https://stackoverflow.com/questions/6067942",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Session_Start firing multiple times I have a base web ui project, I also have other 'plugin' projects which are just other mvc web applications.
I take the dll's and views from them and toss them into my main web ui's bin and views folder so they can just be added or removed at any time which does work.
each 'plugin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/38276276",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Trying to render a full page video background in Next.js but getting blank page I'm trying to have a full page video background in the homepage of my Nextjs application but am just getting blank white space where the content should be.
I'm fairly new to Nextjs and am probably making a silly mistake here, if anyone c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/67993350",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why rewritten dynamic routs don't work with basePath and locales in Next.js? For example I have project structure like this:
.
└── pages
├── news
│ ├── [slug].tsx
│ └── index.tsx
└── reviews.tsx
All pages are static generated
My next.config.js has following rules
const BASE_PATH = process.env.AP... | {
"language": "en",
"url": "https://stackoverflow.com/questions/74211683",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: sql query to find the value exist in source I have the following query,
select Vendor_ID, Descr, source, Name, Parent_Vendor_ID from VENDOR;
Data:
VendorID Descr Source name Parent Vendor ID
1234 ONLINE ABC JACK 6666
5689 OFFSHORE XYZ SAM 5555
9999 SHOP... | {
"language": "en",
"url": "https://stackoverflow.com/questions/40890523",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why is this method reference failing at runtime but not the corresponding lambda call? I have these two interfaces. One is public (A), the other one is package private (AA). A extends AA.
package pkg.a;
@FunctionalInterface
public interface A extends AA {
}
.
package pkg.a;
interface AA {
default void defau... | {
"language": "en",
"url": "https://stackoverflow.com/questions/57755303",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "13"
} |
Q: Malfunction of a jQuery slideToggle() implementation I've got a problem with the following setup:
I have a button that is inside a nav element.
<nav id="navbuttons">
<button type = "button" id="projectsMenu" onclick="slideProjects()">Projects</button>
</nav>
which should slide in/out the following nav element w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23622261",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: JQuery Ajax call returns "Error: Not enough storage is available to complete this operation." So I am getting the above error when I am trying to pass the result.target of an OnLoad event in the FileReader.readAsArrayBuffer call using an jQuery Ajax POST call. The POST call is not actually being made (as monitored b... | {
"language": "en",
"url": "https://stackoverflow.com/questions/31988570",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to detect fling on TextView without cancelling scroll? Trying to detect a fling on a TextView using simpleGestureDetector:
public void onCreate(Bundle savedInstanceState) {
...
textContent.setOnTouchListener(new View.OnTouchListener() {
public boolean onTouch(View v, MotionEvent ev) {
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/12894785",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Underlay same histogram in each panel This is a followup to this, this, and this question.
Currently, I have a twelve-panel lattice in which the same dark histogram outline is superimposed on twelve different solid gray histograms:
This makes it easy to compare the new data in each panel with the same set of other ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/39005140",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to use subprocess Popen? I'm trying to execute a command using Popen.
The command uses some PostGIS/Postgresql utility programs to upload a raster file to a database and works when executed from the command line. It uses unix style pipes to chain 2 commands and looks like this:
"C:\\Program Files\\PostgreSQL\\9.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/22090626",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: how to combine a variable and a special character into a regular expression I need to do something like this:
st = 'abcdef'
wr = 'ab'
if re.search(^wr,st):
print 'OK'
the problem is I cannot combine special character with a variable (i.e. ^wr). Is there a way to do that?
| {
"language": "en",
"url": "https://stackoverflow.com/questions/43430096",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to find which key is pressed, not which character it will be? I need to find out which key was pressed, not what character it would be.
For example, I want after pressing 'a' a number such (1) create so I can map it to other languages. In common way we can find it is 'a' or we can have it's hash code, but is it ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30749703",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Remove an item from a UICollectionView I have a set of images showing in a UICollectionView. When the user taps on an image, it spawns a UIActionSheet with a few options for that image. One of them id removing the photo from the UICollectionView. When the user selects remove button in the UIActionSheet, it pops up a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/16080322",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Horizontal lookup using unstructured lookup keys I need to find the rate for a given location and weight, using a lookup table that lists rates per location and weight. The problem is that the weights in the table are formatted like Up to 2 kg, 2.01-3 kg, 3.01-5 kg and so on, while the weights I am looking for are p... | {
"language": "en",
"url": "https://stackoverflow.com/questions/73217736",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Cordova iOs Google Maps map Blank on Appstore i have created an iPhone App with cordova and the google maps Plugin for Cordova (https://github.com/wf9a5m75/phonegap-googlemaps-plugin). I entered the API Key for Ios and on the Emulator it works great. Also when i test it on my iPhone it works. So i submitted the app ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/26461109",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Python: Compare files with similar names (recursively) With the help of these guys, I was able to produce the following code, which reads in two files, (i.e., SA1.WRD and SA1.PHN), merges them, and compares the results against a sub-list of words excised from a dictionary:
import sys
import os
import re... | {
"language": "en",
"url": "https://stackoverflow.com/questions/10713131",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Error with gem install sqlite3 on MacOS Monterey with Ruby 3.0.2 on Apple Silicon M1 I’m getting errors when I try to gem install sqlite3 under a fresh rbenv installation of Ruby 3.0.2. The sqlite3 gem installs successfully under Ruby 2.7.4. What is the fix for this?
I’m using MacOS Monterey on an Apple Silicon M1 m... | {
"language": "en",
"url": "https://stackoverflow.com/questions/70040049",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: D3.js Brush controls with Ordinal Crossfilter Scales I'm aiming to subset my choropleth like this wonderful example. I've reviewed the API documentation and Mike's Ordinal Brushing example.
Unfortunately, I'm still not getting my thick head around how brushes are supposed to work.
The examples are sophisticated an... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30330821",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: HazelCast - How to insert records through a Map to a table with auto sequence field as PK I am using HazelCast to do read/write operations on MS SQL server database.
I have a database table whose primary key is an auto increment column.
I read existing data in this table to a Map when my application starts.
The Ma... | {
"language": "en",
"url": "https://stackoverflow.com/questions/40425286",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Please explain '%' usage in python I'm learning multithreading in python and I was reading through this answer. I understand most of the code however there is this one line which I simply don't understand and I don't know how to search for it on Google as the '%' sign keeps returning modulo.
req.headers['Range'] = '... | {
"language": "en",
"url": "https://stackoverflow.com/questions/53946697",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Latitude and Longitude are null I'm working on an app getting user's current location and showing it on map, as well as Latitude and Longitude on the screen, so far everything is going fine, the map's showing my current location as well as displaying latitude and longitude on the screen using this code
@Override
p... | {
"language": "en",
"url": "https://stackoverflow.com/questions/34597831",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Merge multiple mutually exclusive factor columns into a single column Say I have three columns in a data frame. I want to merge these into a single column. Each of the three columns is a binary attribute such as green/yellow, red/blue, black/white, etc.
I want to merge all of these into a single column with multip... | {
"language": "en",
"url": "https://stackoverflow.com/questions/25839962",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why doesn't the ttf fonts work with Vue CLI? I am working with Vue CLI, and I want to use a font downloaded from the Internet. I think I have configured everything but it just doesn't work.
The structure of the project is like this:
+--node_modules
+--public
| +--index.html
+--src
| +--assets
| | +--css
| | +-... | {
"language": "en",
"url": "https://stackoverflow.com/questions/55667026",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Cannot upload chunked video to twitter I have been trying to upload video chunks to twitter using twurl as in the example on the page: https://blog.twitter.com/2015/rest-api-now-supports-native-video-upload
However, I get the "unsupported video" error. I am able to upload smaller sized videos without breaking them i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30599580",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Android Studio, on Windows: ADB not responding. If you'd like to retry, then please manually kill "adb.exe" and click 'Restart' I downloaded Android Studio on windows, and I am trying to run the default HelloWorld application. However, when I run that app, I get a dialog box with the following:
ADB not responding. I... | {
"language": "en",
"url": "https://stackoverflow.com/questions/28189336",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Query regarding looping a response data array using async await I am working with an existing class components based React application and was dumbfounded when I spent almost 3 hours to figure out the root cause of the following code snippet.
In componentDidMount which is async btw, I am calling backend API designed... | {
"language": "en",
"url": "https://stackoverflow.com/questions/68756064",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Adding new variables to existing data that correlate with one or two existing ones How can I add two more variables with the following conditions?
*
*Variable "c" that has a 0.7 correlation with variable "a".
*If possible, variable "d" that correlates simultaneously with "a" and "b".
Simulated data
n = 100
d = ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71450770",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: 'in' operator with boost::python I have a class which .defines the __getitem__, __setitem__ methods (and keys and items as well), and behaves like a dictionary, where keys are strings.
However, the in operator does not behave as expected:
>>> myObject=MyClass()
>>> 'abc' in myObject.keys()
False
>>> 'abc' in myObjec... | {
"language": "en",
"url": "https://stackoverflow.com/questions/10978814",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Uncaught TypeError: Cannot read property 'getElementsByClassName' of null | HTML |JS I have an Html page with cards for my memory card game, The user is supposed to match a pair of cards and win an offer mentioned in the card. The offers are for an online grocery shopping application. I get the following error when ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/65731615",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to set the value of the SelectedItem property in devexpress combobox BarItem? It is example Combobox in which everything is working good and selected value varies depending on changes CurrentPlanSet.
<dxe:ComboBoxEdit ItemsSource="{Binding PlanSets, Mode=TwoWay}"
DisplayMem... | {
"language": "en",
"url": "https://stackoverflow.com/questions/39016433",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Coroutines: Can't return value after finish work In my android app I need after executed some long network operation to return result (e.g. after 10 seconds)
here snippet:
import kotlinx.coroutines.Deferred
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.GlobalScope
import kotlinx.coroutines.launch
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/56564066",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How do I do a Quicksearch or autocomplete on a selectbox populated from a database? I have a select box populated a from a database and would like to do a quicksearch or a autocomplete to search the elements inside the select box. Below is my code:
<?
print("<table>");
print("<tr>");
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/13140803",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to export summary statistics of a regression from R studio to Excel I have ran a lm function and produced summary results which I wish to export onto a excel document.
Is there a specific package/code that allows me to do this? If so which is best for report presenting?
A: Let's assume we have model called "mod... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69714490",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Heroku Dataclip, How to export date column into XLS When a column contains a Date field, the dataclip displays it. When the "Export/Share" link is clicked and XLS selected, the resulting Date column is treated like a TEXT column in XLS.
Changing the Format in XLS does not seem to have an effect on it.
Is there a pr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/48591034",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: WordPress: External call to wp-load.php causes CPU and memory spikes One of my websites on my server is causing big CPU and memory spikes. I've been looking for the cause, and I believe that I've found it.
I've been digging in the access logs and every time a peak occurs, there is an external call to wp-load.php. Th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52849035",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: count in div after drop event I have 5 pieces of a image in a div sortable1 which i have to drag and drop in another div sortable2to complete the image. After the image is dropped in another container it will stick to the previous image present in this container.http://jsfiddle.net/binit/JnYB9/
After every drop eve... | {
"language": "en",
"url": "https://stackoverflow.com/questions/21377271",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Functions work even when headers have not been included - Visual Studio I routinely notice while working in Visual C++ that some functions work even when their headers have not been included. For example, tolower() works even when ctype.h is not included.
This behaviour causes problems for me when I participate in o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/15659302",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: WPF control similar to ObjectListView I'm writing an application using WPF, and I need to make something that looks like this (see image):
What control should I use for this?
A: If you don’t need the groupings (the “Hire as chef” and “Seek dinner invitation” headings), then DataGrid should get you close. You can b... | {
"language": "en",
"url": "https://stackoverflow.com/questions/10057929",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: React Hook "React.useEffect" is called in function "selectmenu" which is neither a React function component or a custom React Hook function Problem: React Hook "React.useEffect" is called in function "selectmenu" which is neither a React function component or a custom React Hook function.
Target: I want to Mount Com... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62866063",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Remove UIBarButtonItem from master view controller when detail view controller is visible I am converting my view controllers into a split view controller with a Universal Storyboard to show two views on screen at the same time, which will only appear on iPad - only one will be visible on iPhone. I have a situation ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/25192180",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Is it possible to define a scoped callback function in a C struct? The C struct AvCodecContext in libav (ffmpeg) has a callback function called get_format. I have a class where each instance has its own AvCodecContext instance, so each one will have an specific callback.
Is it possible to create different callbacks ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/57228864",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to print value of a Variable using its memory address? Suppose 0xfe2200 is the memory address of a variable var2 and I want to display the value stored in it, E.g
cout<< "Value stored in the given address is : " << 0xfe2200 << " ";
I tried following but all in vain
cout << "Value is : " << *0xfee2200 << " ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/31580616",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Publish applet with maker webhook I want to publish my applet with a maker webhook to my raspberry pi. For some reason it doesn't allow me to publish the app when I use a maker webhook in it.I'm not sure why it doesn't allow me or if it's even possible at all.
There isn't any error in the applet either as it works ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/44330206",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: I am getting error as unrecognized rule in this lex program %{
#include<stdio.h>
int vowel=0;
%}
%%
[aeiouAEIOU]
{
vowel++;
}
%%
int main()
{
char str[200];
gets(str);
yylex();
printf("Vowels:",vowel);
}
A: If that is the way you wrote the program, then the error is correct. In Flex, the action for... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46393181",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Registering Entity in Objectify having issue during test cases We have an project developed with Objectify4 and Spring3.1 and deployed and running on GAE and we are using IDE as STS.
When I do project build locally using Maven(cmd mvn install) the test cases are failing and throwing the following exception.
From the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/26753094",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Segmentation Fault using double pointers I'm getting segmentation fault while handling with double pointer in the below code. I've spent way too much time and couldn't find what the error was.
#include<iostream>
using namespace std;
int main(){
int *p,**pp,n=2;
p=new int;
pp=&p;
for(int i=0;i<n;i++)... | {
"language": "en",
"url": "https://stackoverflow.com/questions/53594437",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: NSURLConnectionDownloadDelegate methods not getting called when downloading files over 50 MB via cellular Supposing I have a snippet of code like this:
[assetDownload downloadWithDelegate:self];
All the three delegate methods are implemented:
– connection:didWriteData:totalBytesWritten:expectedTotalBytes:
– connect... | {
"language": "en",
"url": "https://stackoverflow.com/questions/21047794",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: peculiar Java 7 Web Start failure I maintain a legacy application that was written with the Java 6 JDK. We deploy it as a stand alone application downloaded from the web as a JNLP. The application talks to a servlet that serves up data from a database, and since the data involved can get lengthy, the JNLP app prov... | {
"language": "en",
"url": "https://stackoverflow.com/questions/13143967",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: python create an arbitrary score based off certain criteria I want to create a formula that will create an arbitrary score based on certain variables. For example, given a dataframe with the following columns:
import pandas as pd
import numpy as np
df = pd.DataFrame({'Name': ['Joe', 'Bob'], 'Score': [0.75, 0.8], 'L... | {
"language": "en",
"url": "https://stackoverflow.com/questions/73072701",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: R - How to pass encrypted password in a GET request I am pulling data from a server using this API. In order to get an authToken I need to pass my username and password. The password input description says "Hashed password. May be passed as clear text, or as RSA-encrypted hash
(see above for RSA public key)."
To en... | {
"language": "en",
"url": "https://stackoverflow.com/questions/50144544",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: "Msiexec REINSTALL=ALL REINSTALLMODE=vamus" is not cleaning old entries I created an installer "test.msi" . It is version-1. test.msi contains 2 components "comp1", "comp2"
comp1 contains 2 files "comp1_file1", "comp1_file2"
In version 2 of test.msi ,
--> a new component added "comp3". It contains 1 file "comp3_f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4710997",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Import big xls file into mysql database I want to import big xlsx ( spreadsheet file ) into mysql database.
I did it before by phpmyadmin , but this file is too big ( 205000 rows ).
so when I wanna do it by phpmyadmin,it has taken a long time and wasn't done.
what is best and fast way to import it to mysql database?... | {
"language": "en",
"url": "https://stackoverflow.com/questions/10283535",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How to return a collection of strings from C# to C++ via COM interop I hav created a com componet for some Display method in C# it returns a String List
as shown below. In v++ i hav used std::lst to catch the return value from Disp() but it
gives compiler error that Disp is not a member of class. I i make return ty... | {
"language": "en",
"url": "https://stackoverflow.com/questions/1032060",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: If, g , h are functions such that f(n) = O(g(n)) and g(n) = O(h(n)) prove f(n) = O(h(n)) I'm currently taking my first discrete math class and I'm having a bit of trouble. This is my first encounter with big Oh and I'm having a bit of trouble understanding this particular problem.
I understand proofing that n <= O(n... | {
"language": "en",
"url": "https://stackoverflow.com/questions/14426989",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: .htaccess 301 redirect only work for 1 new link I have .htaccess file with redirect 301 on it and placed right under the rewriteengine
<IfModule mod_rewrite.c>
RewriteEngine On
#now this is the redirect
Redirect 301 /blog.php?slug=konsolidasi-tanah-frequently-asked-questions https://jpi.or.id/blog/2021/02/11/penger... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71411212",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: XAML designer: 'FileNotFoundException' I'm working on an extensible WPF application using C#. For the extensibility, I use MEF (Managed Extensibility Framework). But since today, the XAML designer doesn't work for the MainWindow.xaml anymore. It throws a FileNotFoundException with this message:
Could not load file ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/22258937",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: React with Webpack-huge bundle sizes I've got an app which is pretty basic, but the bundle size is 6.7MB in dev and 1.8MB in production. The lion's share (94%) is Node Modules. Is there a straightforward way to only bundle those modules which are required? I tried Webpack Node Externals, but that broke everything-th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/48361250",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Compiling mod_auth_token for windows I have access to both Windows machine ( Win 7 ) & Linux ( Ubuntu 10.04 ), I would like to know how can I compile mod_auth_token on my Linux machine and get it working on Windows.
If I take the .so file from the Linux machine will it work on windows??
Can any one help me out, If y... | {
"language": "en",
"url": "https://stackoverflow.com/questions/10499701",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: WP REST API v2 give a mixed up output for custom taxonomies on custom posts I used a theme (with included plugins) that created custom taxonomies and post_types on WP.
Both are exposed on REST endpoints with show_in_rest => true.
All were doing great until I realized the output of custom taxonomies are mixed up.
Exa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72585390",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Disk filter driver on Windows Phone 8 We are using Disk filter driver developed for Windows 8 OS.
Please let me know whether it is possible to use same driver on Windows 8 Phone OS.
Please let me know the forum, if this forum is not the right place to discuss Windows 8 Phone drivers.
Thanks,
Raphel
A: No you can no... | {
"language": "en",
"url": "https://stackoverflow.com/questions/16521265",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: List Comprehensions in Python : efficient selection in a list Let's suppose that I have a list of elements, and I want to select only some of them, according to a certain function (for example a distance to an other element).
I want to have as a result a list of tuple, with the distance and the element. So, I wrote ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/1222677",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: SQL Server - copy all data from all tables from one server to another server with identical structure I want to copy all data from all tables from one SQL server database to another existing SQL server database of the same structure. I have a script to initially delete all contents of all tables in my output databas... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46903214",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: PHP image gallery and items in row My images gallery has a xhtml like below:
<div class="row">
<ul class="ul">
<li><a href="#"><img src=....></a></li>
<li><a href="#"><img src=....></a></li>
<li><a href="#"><img src=....></a></li>
</ul>
</div>
<div class="row">
<ul class="ul">
<li><a href="#"><img... | {
"language": "en",
"url": "https://stackoverflow.com/questions/3156244",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: SNMP v1 - Agent IP I'm sending SNMP traps using Net-SNMP utils (5.3). I'm setting the agent to a valid server IP but the NMS is receiving the trap as if it was a trap for the server generating it and not for the other server that I'm using in the agent field . I'm totally confused as to why this would be happening, ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/1007978",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I mutate all columns in a data set to keep only distinct values? Considering the data mtcars
something like
mtcars %>% select(mpg,cyl,disp,hp) %>% mutate_all(distinct())
I want to have all the distinct values only, I understand this will make the length of data- frame column unequal, so I wanted to also know... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71742710",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Dependency Injection Error in Worker Service Some services are not able to be constructed (Error while validating the service descriptor 'ServiceType:
Microsoft.Extensions.Hosting.IHostedService Lifetime: Singleton ImplementationType: ProjectName.WS.Worker':
Cannot consume scoped service 'ProjectName.Service.IServic... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72529792",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Delete row from a huge csv file in python I have a huge(240mb) csv file in which the top 2 rows are junk data.I want to remove this junk data and use the data starting after that.
I would like to know what the best options are .Since its a large file creating a copy of the file and editing it would be a time taking ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/36588336",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: TypeError: b is undefined when appending I know I have issue in referring value to this after seeing some similar questions on this site, but not able to solve this in my context.
any one could help me to solve this , how do I refer value of splitInput to this as when I replace this with splitInput it is giving erro... | {
"language": "en",
"url": "https://stackoverflow.com/questions/43917785",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Dash Live Streaming on Nginx 404 Not Found on Cross Origin Request I want to set up a Dash Live Streaming nginx server to stream to a node.js app. I am new to nginx so tried finding the solution a lot, but no luck. I have all the required modules installed and I want to display the dash stream via Shaka Player.
My n... | {
"language": "en",
"url": "https://stackoverflow.com/questions/53796523",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: markov chains stationary distribution's condition about the init state As a property of the markov chain, the stationary distribution has been widely used in many fields like page_rank etc.
However, since the distribution is just a property about the transition matrix and has nothing to do with the init state of th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/16749280",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Inside ListView multiple toggleButton is getting on ,on clicking one toggleButton I have an ExpandableListView and inside each Parent Row .
I am having a ToggleButton ,when I switch on one toggle button ,on scrolling below i am getting multiple toggleButton switched on. Why is this happening, I am getting groupPosit... | {
"language": "en",
"url": "https://stackoverflow.com/questions/18013409",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: TextInputLayout - Cursor doesn't follow user typing at the end of the view Description:
User starts to type a long text and when the cursor "hits" the end of the view, the EditText not scroll horizontally and all the letters typed by user after that is not shown. To see the text typed, user needs to scroll the EditT... | {
"language": "en",
"url": "https://stackoverflow.com/questions/58141329",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is it possible send HTTP/2 GET request with socket? I need to use HTTP/2 protocol in Python but all libs which support it can't send request with HTTPS proxy. Only HTTP.
How can I send it with socket and HTTPS proxy?
| {
"language": "en",
"url": "https://stackoverflow.com/questions/64407276",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: querySelectorAll ":not" doesn't work in IE8, does jQuery's version? Unfortunately I have to support IE8 and need to select inputs using the :not modifier. I know that IE8 doesn't support this in querySelectorAll but does jQuery's version support IE8 for this?
querySelectorAll:
domElement.querySelectorAll( "input:not... | {
"language": "en",
"url": "https://stackoverflow.com/questions/32466245",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Copy XML file structure (incl.) directories with XSLT (2.0) Meta
*
*XSLT 2.0
*XML (with nested links to other XML files)
*Saxon XSLT processor
*Oxygen Editor
I want to write a stylesheet (XSLT 2.0) that simply copies a whole file structure (I use a XML root file with linked other files in it) and places the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/34059344",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: ASP.Net Media Suite - Review Does anyone have a review of ASP.Net Media Suite located on
http://www.aspnetmedia.com/
The tool seems pretty nice, but i've never heard of the company. I'm hesitant to purchase and install something from an unknown source.
Can anyone vouch for the product?
A: well,
i have sent many e... | {
"language": "en",
"url": "https://stackoverflow.com/questions/680104",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to Data Binding RibbonComboBox? I am using wpf 4 and the Microsoft Ribbon. My binding shows the names of each user in the Users list but the selection is not showing in the RibbonComboBox after the drop down closes.
Thanks
A: This worked for me:
XAML:
...
<r:RibbonComboBox IsEditable="True">
<r:Rib... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5237319",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How to set the description of a local group to blank Consider the following code:
# create test group
New-LocalGroup -Name 'Group1' -Description 'xxx'
# update test group description to blank
Set-LocalGroup -Name 'Group1' -Description '' # fails
Set-LocalGroup -Name 'Group1' -Description $null # fails
On the contr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69041644",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Data mining with postgres in production environment - is there a better way? There is a web application which is running for a years and during its life time the application has gathered a lot of user data. Data is stored in relational DB (postgres). Not all of this data is needed to run application (to do the busin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/29593171",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Advantage of var keyword in C# 3.0 Duplicate:
What to use var or object name type
I couldn't understand the need of var keyword in C# 3.0 What is the advantage in using it.
i saw this question but did not understand the real purpose of using it
A: The primary reason for its existence is the introduction of anonym... | {
"language": "en",
"url": "https://stackoverflow.com/questions/884555",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Getting constraint error on updating the constraint in cellforRow I have a UITableViewCell with collectionView inside it. constraint are pretty simple leading 0 , trailing 0 , top 10 and bottom 10 and height constraint of UICollection view is 160 . Connected an IBOutlet to height constraint. In cell for row I am upd... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49851611",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to detect circular dependency in mysql I have a table which stores a parent reference. The parent reference is the another entry in same table.
Table structure is something like
CREATE TABLE `mytable` (
`Id` int(11) NOT NULL,
`ParentId` int(11) NOT NULL,
PRIMARY KEY (`Id`),
KEY `ParentId` (`ParentId`),
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/67514642",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Automatic ID generation with create! block in model I'm trying to use the following inside my model:
create!(
:title => entry.title,
:link => entry.url,
:published_date => entry.published,
:entry_id => entry.id,
:category => thing,
:author => entry.author,
:user_id => user.id
)... | {
"language": "en",
"url": "https://stackoverflow.com/questions/16533930",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: sh shell double if statement Can anyone see what I did wrong here? I keep getting the following error message: [[: not found
read INPUT
if [[ "$INPUT" -ge 1 ]] && [[ "$INPUT" -le 10 ]]; then
Do something
else
printf "Please enter a value between 1 and 10"
fi
A: [[ is not available in scripts which start with #... | {
"language": "en",
"url": "https://stackoverflow.com/questions/24897321",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Ajax with set Interval OR SignalR I have a scenario, where i need check if my Database has received new orders (restaurant).
Signalr seems to be the best option.
But I can wait 2-3 minutes to update with AJAX.
Given this long range I can expect, and thinking of a large scale, would not ajax be better?
A: Although t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52795123",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: instanceof in SpEL i have a class with the method:
Code:
List<Entity> getData() {...}
and some classes which extends Entity: Project, Phase, Invoice, Payment.
and i would like to do something like this:
@PostFilter("filterObject instanseof Project ? filterObject.manager == principal : filterObject instanceof Phase ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7628437",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: RecyclerViews inside NestesScrollView I want to place two RecyclerViews inside a NestedScrollView where all items of each RecyclerView should be displayed:
Desired: Current:
--------------------- ---------------------
Fixed Header content Fixed Header content
--------------------- ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/41920184",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Lost connection to the debugger on iPhone simulator running Big sur11.4 I have face the issue while running my app on Big sur 11.4.While run the app I got "Build succeeded" message but after app is automatically stops then showing a popup message like
Lost connection to the debugger on “iPhone 12”.
Domain: IDEDebugS... | {
"language": "en",
"url": "https://stackoverflow.com/questions/67937309",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to open new tab on Chrome browser using Selenium I've tried the following solutions but it didn't work, I am using Selenium 3.9.1 and Chrome v66.0.3, do we have any other alternate solutions:
Solution 1:
driver.findElement(By.cssSelector("body")).sendKeys(Keys.CONTROL + "/t");
ArrayList<String> tabs = ne... | {
"language": "en",
"url": "https://stackoverflow.com/questions/50168773",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Directive for loading forms into a single page app lost controller binding I'm creating a single page app using AngularJS. I have created a main page with a custom directive for loading a form URL. I want to change the the forms based on a variable in my controller. However, I lost my bindings once I compiled and li... | {
"language": "en",
"url": "https://stackoverflow.com/questions/39031135",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Setter Property Required primitive dependency is not explicitly defined I have Asp.Net MVC Application and I have used structuremap,
I use custom ThrottleAttribute ActionFilter.
follow rate limiting in asp.net mvc
public enum TimeUnit
{
Minute = 60,
Hour = 3600,
Day = 86400
}
[AttributeUsage(AttributeT... | {
"language": "en",
"url": "https://stackoverflow.com/questions/40404444",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Making Test(s) Fail if the `application-context` Encounters an Exception When running mvn clean install against my Maven project, Build Success showed up.
However, running an individual test in IntelliJ showed that a test had failed since my test-application-context had encountered a RuntimeException.
Since this app... | {
"language": "en",
"url": "https://stackoverflow.com/questions/25431757",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Stepper on tableview cell (swift) I put stepper both outlets and action into tableview cell and using protocol delegate to connect it to tableview. When i tapped stepper in first row, stepper value appear normaly in first row but its also appear in some random row. how to fix this?
TableViewCell
protocol ReviewCellD... | {
"language": "en",
"url": "https://stackoverflow.com/questions/34872540",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: How to fix a database login issue? I'm a beginner, and I want to ask about a problem I've got with my app. I try to log with the data I put into the database but it recognizes nothing.
Here's the code of the DatabaseHelper Java file. I think the problem is with my checkData_pseudo_pass function.
Thanks in advance fo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/59705029",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: QT Compile on Linux: Cross Compilation failed with mxe / mingw / Linux, Debian I cannot compile the Windows Wallet, it shows me everytime this Error:
What have I missed here?
I am Using Debian.
Source Code: https://github.com/rat4/blackcoin
Content of compile-gtc.sh:
#!/bin/bash
MXE_INCLUDE_PATH=/mnt/mxe/usr/i686-w6... | {
"language": "en",
"url": "https://stackoverflow.com/questions/41485979",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.