text stringlengths 15 59.8k | meta dict |
|---|---|
Q: Reading from a .pts file that has no header into a point cloud I have a file with .pts ending which contains 6 columns of number. it is practically a text file since it has no defined header or anything else. A snipit for example:
497074.93 5419772.04 266.04 12 1 1
497074.93 5419772.08 266.02 15 1 1
497074.93 5419... | {
"language": "en",
"url": "https://stackoverflow.com/questions/45166024",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to fix text overflow from a flex box I am working with table. height of the row and width of column can be changed (configurable). every time If height/width changes , text within the cell should be vertically/horizontally centered every time .
I have a working code with css for a cell:
{
display: flex,
alig... | {
"language": "en",
"url": "https://stackoverflow.com/questions/63002183",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to dynamically set and modify CSS in JavaScript? I have some JavaScript code that creates some div elements and it sets their CSS properties.
Because I would like to decouple CSS logic from my JavaScript code and because CSS is easier to read in its own .css file, I would like to set the CSS className of my elem... | {
"language": "en",
"url": "https://stackoverflow.com/questions/10420606",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Parse Login self.logInViewController ambiguous reference to member ' logInViewController' I am using parse's provided login code for their latest ParseUI. I am confused why I am getting this error every single time I use self.logInViewController and self.signUpViewController, the error being:
Ambiguous reference t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/34375935",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: OpenCV Ubuntu installation undefined symbol After installing OpenCV on Ubuntu I run the python code import cv2 and I get the following error:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: /usr/local/lib/python2.7/dist-packages/cv2.so: undefined symbol: _ZTIN2cv12_OutputArrayE
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/33197995",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Convert internal web application to public web application I have been tasked with setting up an internal web application to become public facing. The web site was written in ASP.Net and I am just looking for some advice about how I should go about this procedure.
Apart from hosting the site on a public facing serv... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7075732",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Extracting Specific text string from PDF First post here, and i'm a near total newbie so please be kind.
I am trying to implement a piece of code that will allow a user to import a pdf, search for specific text strings and export them all into a PDF.
I have looked at similar answers, but they often seem to be based ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69014606",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: VueJS: watching two properties Suppose I have two data properties:
data() {
return {
a: false,
b: false,
}
}
When a and b become true at the same time, I want to carry out a related task.
How can I use a watch method in Vue to achieve this?
A: Watch a computed value.
computed:{
combined(){
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/44073206",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: No Messagebox showing I have a script that connects itself with a mysql server and makes an sql query if I press a button.
My code:
try
{
MySqlConnection c = new MySqlConnection("Server=****;Database=*****;Uid=****;Pwd=y u no want to know ma pw;");
MySqlCommand cmd = new MySqlCommand("DELETE FROM users WHERE... | {
"language": "en",
"url": "https://stackoverflow.com/questions/26536907",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Unable to record video with RPi-Cam-Web-Interface with USB mounted I am trying to record a video using RPi-Cam-Web-Interface on my raspberry pi model 3b+ and saving it on my thumb-drive.
However, when trying to record a video with my thumb-drive mounted to /var/www/html/media it gives me an error mmal: mmal_port_dis... | {
"language": "en",
"url": "https://stackoverflow.com/questions/73009232",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to convert webpage table data to json object or dict in python I am trying to fetch data from webpage which contains table and then compare values in table with other table values.
Can I convert webpage into json data or dictionary in python?
e.g. I have url www.yahoo.com how can I covert html data into json?
I... | {
"language": "en",
"url": "https://stackoverflow.com/questions/34936208",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Accessing database with sqlite in Java I am trying to access a database to then insert new data, but the code below gives me this output:
Opened database successfully
java.sql.SQLException: [SQLITE_ERROR] SQL error or missing database ()
The database is created in a different class, I still get this error whether t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/25214353",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Prism Shared Viewmodel
*
*Platform: Xamarin forms
*Prism version: 6.3.0
*Xamarin version (if applicable): 2.3.4
hello I'm using prism. I have a Tabbedpage how can i share a single viewmodel for all daughters views?
my xaml:
<TabbedPage xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://sch... | {
"language": "en",
"url": "https://stackoverflow.com/questions/47423633",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to do variadic template for even position in c++? I have to write a variadic template function that returns true if the value of every even position is lower than the value of the parameter on the next position.
Example:
f(4, 5, 7, 9, 2, 4) -> true (4 < 5, 7 < 9, 2 < 4)
i tried this :
template<typename T>
T chec... | {
"language": "en",
"url": "https://stackoverflow.com/questions/63875748",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: eclipse c++ unit test shortcut I'm using Eclipse Kepler CDT with Google Test. Unit testing is working fine, but I can't find a way to get a shortcut to run all unit testing. Everytime I need to run test, I have to click the little arrow near the run button and select the unit test icon.
I can't find c++ unit test in... | {
"language": "en",
"url": "https://stackoverflow.com/questions/25997602",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Angular 2 npm test - Can not load "webpack" I'm seeing an error when I try to run npm test
08 09 2017 16:50:50.240:ERROR [preprocess]: Can not load "webpack"!
TypeError: Cannot read property 'plugin' of undefined
at PathsPlugin.apply (/Users/m/Sites/budget-angular2/node_modules/@ngtools/webpack/src/paths-plugi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46120486",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Silverstripe prevent load data when submitting a form I need a clean solution to set data after submit a page from being populated by :
$form->loadDataFrom( $Page );
There is my code :
public function FormUpdate() {
$error="Required";
$fields = new FieldList(
TextField::create('Title', 'Title')->s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/43851117",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Modeling Database Relationship Where Certain Rows Cannot be Deleted Ok, sorry for the weird wording.
I have a situation where I have a set number of database rows that cannot be removed. Let's call them ingredients. I have many ingredients that belong to recipes. However, these recipes use the same ingredients. And ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/41536673",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I change different UINavigationBar Style in a UINavigationController? I want to change the color and translucent of the UINavigationBar in one viewController without influence on other viewControllers. It seems impossible because they share a common UINavigationBar. Some similar questions tell me to change t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/37981276",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Shutdown ExecutorService gracefully in library code This questions is related to: Shutdown ExecutorService gracefully in webapp?
I have a library that is used by multiple clients. One client is a plain "java -jar ..." invocation, one is a Tomcat server, and one a Spring container.
This library publishes messages to... | {
"language": "en",
"url": "https://stackoverflow.com/questions/28078917",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Parameter values with '+' sign and no spaces between characters is getting 404 Not Found in the Response URL I have a 'getCustomerDetails' function in my API that accepts one parameter 'customerName'. This 'customerName' parameter accepts the value from the selected value in a dropdown (ui). Some values from that dr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/67224503",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Linux, Find > zcat > wc a have many zip files on my system. I need to calculate quantity of symbol all of them. But my command doesn't work:
[[email protected] ~]$ find /RAID/s.korea/onlyzip/ -name *.zip -type f -exec zcat {} \; |wc -c
gzip: /RAID/s.korea/onlyzip/00/node/2015-03.compare15.zip has more than one entry--re... | {
"language": "en",
"url": "https://stackoverflow.com/questions/29368067",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Parsing JSON in Python: how do I get has_key() working again after a change of format? I have the following block of Python code:
data = json.loads(line)
if data.has_key('derivedFrom'):
dFin = data['derivedFrom']
if dFin.has_key('derivedIds'):
This used to work fine on a block of JSON like this:
"derivedF... | {
"language": "en",
"url": "https://stackoverflow.com/questions/13976060",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to get the URL without the Query String or the Id part? Let's say my urls are:
https://www.mywebsite.com/app/company/employees/5
https://www.mywebsite.com/app/company/employees?id=5&name=jack
https://www.mywebsite.com/app/company/employees/5?clockId=1
I'm looking for a way to get the "base" path, or whatever it... | {
"language": "en",
"url": "https://stackoverflow.com/questions/55857721",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to expand environment variables in python as bash does? With os.path.expandvars I can expand environment variables in a string, but with the caveat: "Malformed variable names and references to non-existing variables are left unchanged" (emphasis mine). And besides, os.path.expandvars expands escaped \$ too.
I wo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30734967",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: Java Runtime String Parsing I am using Java to execute a Python command, i.e.
ctool run <cluster_name> <nodes> <command>
So basically this runs the <command> in given nodes of the cluster. For example:
ctool run my_cluster all 'rm -rf /home/tester/folder'
This runs 'rm -rf /home/tester/folder' on 'all' the nodes o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/31546790",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Can ASP.NET session live longer than Application This could be a silly/lame question, especially after working so long with ASP.NET :), but I need to be sure.
Is it possible to have session (that is ASP.NET session) outlive the Application (app instance/app domain/Application variable)?
In other words, if Applicati... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7341397",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Getting Null pointer Exception when trying to populate listview from fragment C to fragment B I am newbie to android development. I need to populate ListView in fragment B from the value selected by user in the spinner from fragment C.
So far what I tried is bundle method but its throwing null pointer exception.
Rea... | {
"language": "en",
"url": "https://stackoverflow.com/questions/33751248",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Reading from a URLConnection I have a php page in my server that accepts a couple of POST requests and process them. Lets say it's a simple page and the output is simply an echoed statement. With the URLConnection I established from a Java program to send the POST request, I tried to get the input using the input st... | {
"language": "en",
"url": "https://stackoverflow.com/questions/12651343",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: PHP: HTTP Basic - Log off I would to set it up where if someone sends in a request "logout" it will automatically take them to a page saying "successful log out". If the customer tries to press the back button or go to the restricted area, it will ask for HTTP auth again.
What I have so far is this:
example.com/rest... | {
"language": "en",
"url": "https://stackoverflow.com/questions/3490637",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: I am trying to define some methods for my User schema but all of them are throwing that the method is not a function This is my first ever question on SO , so please forgive me incase of question format :)
in Schema
UserSchema.pre('save' , async function (next){
this.password = await bcrypt.hash( this.password ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72019935",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: array schema store empty values I want store values in mongodb using node controller but it will store an empty array inside mongodb
1).This is node controller using to accept the req parameter
this.childQuestionId = function(req, res, next){
try{
var userObj = {
'child.quiz.questionId' : req... | {
"language": "en",
"url": "https://stackoverflow.com/questions/38783590",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Android SDK: how to solve setPasswordVisibilityToggleEnabled(boolean) is deprecated? I am facing issues with update of android Version.
setPasswordVisibilityToggleEnabled(boolean)' is deprecated
I want my login view to switch between hide and show password toggle icon in TextInputLayout.
But, how do I use instead of... | {
"language": "en",
"url": "https://stackoverflow.com/questions/60632382",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: PL/pgSQL - Pass Dynamic Column Name to PREPARE Postgres version: 14
I have a script that does a number of small repetitive dynamic queries. This works, but it is slow, so I am converting them to prepared statements. This also works until I try to pass a column name as an argument at which point everything seems to b... | {
"language": "en",
"url": "https://stackoverflow.com/questions/74234198",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What is the meaning of (/ ... /) in Fortran I don't know Fortran but have to inspect a part of a code written in this language. This code is full of lines similar to this:
matmul(recVecs2p, real((/ i1, i2, i3 /), dp))
I can't find semantics of (/ ... /) on Google, so I hope I will get an answer here.
A: This appea... | {
"language": "en",
"url": "https://stackoverflow.com/questions/40576365",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Data overwriting at same-time request using Mongoose and Node.js I've got a following problem with my MEAN.js application. I'm trying to make some web-browser game. Players are planning attacks on barbarians castles, the attacks must be evaluated, so I've made a method for AttackSchema, which is responsible for that... | {
"language": "en",
"url": "https://stackoverflow.com/questions/33814617",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to prevent another app from moving (MS Excel 2010) in C# I need my app to open Excel 2010 and position it in a specific area of my application.
I also need Excel to be unresizable, unmovable and eliminate all menu interactions (Close, maximize, minimize)
I've found a solution for almost everything, APART from ma... | {
"language": "en",
"url": "https://stackoverflow.com/questions/16216660",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: sharing html widget to other andoid apps in flutter we have Html() widget that renders html content. We also have Share.share() that shares given content to other apps. Currently Share.share() requires a string as parameter not a widget. So how can i share the well interpreted html content to other applications?
A:... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69965173",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: VB.NET - Problem with transparent background PNG and ImageSharp quantizer I am trying to make a WinForms app in VB.NET (Framework 4.7.2) that optimizes an electronic signature using ImageSharp, and I am running into a problem. When I try to use the OctreeQuantizer to decrease the number of colors in the PNG, I get ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/74735320",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Kotlin / Native c interop with reduced visibility Is it possible to generate c stabs with internal visibility?
When using c interop with Kotlin/Native the generated stabs for c functions and structures have public visibility. As far as I understand, that means that if someone would use this Kotlin code as a library,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/57939049",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: TypeError: Tag.find_all() missing 1 required positional argument: 'self' from bs4 import BeautifulSoup as soup
import numpy as np
import pandas as pd
import requests
import random
headers = {
'authority': 'www.zillow.com',
'accept': '*/*',
'accept-language': 'en-US,en;q=0.9',
'sec-ch-ua': '"Not_A Br... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75516199",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I suppress viewing / listing all file types EXCEPT html files using .htaccess? Basically I want to go beyond simple "Options +Indexes" display on a server, set using the .htaccess file.
I ONLY want to see .html files in a given directory, and suppress display of ALL OTHER file types.
Why? I am happy to show ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46637067",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: search and count specific phrases with special characters in text files I have a list of search phrases where some are single words, some are multiple words, some have a hyphen in between them, and others may have both parentheses and hyphens. I'm trying to process a directory of text files and search for 100+ of th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46932542",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Building an app made with Intel-xdk with Cordova Cli I'm evaluating Intel-xdk, the idea is using this tool in my IT classes (people from 15 to 18 y.o.), I'm on Ubuntu 16.04 and installed XDK 3759 Linux 32.
A couple of days ago, as I installed an update I also installed nodejs, npm and cordova because as far as june ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/43067104",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Setting NGINX TLS with certificate/key loaded by initContainer I've found several pages describing how to set NGINX to use HTTPS/TLS.
However, all suggest setting a secret tls with the key & cert.
We want to be able to use TLS but ask NGINX to load the key/cert via init-container which in this case implemented by ac... | {
"language": "en",
"url": "https://stackoverflow.com/questions/57803964",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: SQL Syntax error in CREATE TABLE statement in MS Access VBA subroutine I am working on a subroutine in Microsoft Access VBA. The intended purpose of my program is to create a new table called newTableName and then perform a join on the two tables tableName1 and tableName2. The result of this join should be stored ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/38508544",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I 'expect' a chain of methods using Rspec where the first method takes a parameter? I have a method call in a ruby model that looks like the following:
Contentful::PartnerCampaign.find_by(vanityUrl: referral_source).load.first
Within the models spec.rb file, I'm trying to mock that call and get a value by pa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/51921964",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Continuously checking connection to MySQL Database Is there an effective way to continuously check if a connection to the database is established? For example, if the network drops or the server computer is turned off, then there is no obvious database available. My idea was to create a Timer that would poll every 1... | {
"language": "en",
"url": "https://stackoverflow.com/questions/24620091",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: QProcess, Cannot Create Pipe I am running a QProcess in a timer slot at 1 Hz. The process is designed to evoke a Linux command and parse it's output.
The problem is this: after the program runs for about 20 minutes, I get this error:
QProcessPrivate::createPipe: Cannot create pipe 0x104c0a8: Too many open files
QSo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/16237117",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: No default constructor exists for the class I know this question has already been ask, but I couldn't figure it out.
I have two classes Point and Line, and 2 Points are members of Line. However in the Line constructor I get "no default constructor exists for the class" error. How can I fix this problem?
#include <cs... | {
"language": "en",
"url": "https://stackoverflow.com/questions/61579664",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Many of metrics are empty when setting up istio 1.2.1 - what did i do wrong? I’m getting started with Istio (1.2.1) on k8s v1.15.0 - and everything looks good except many of the attributes are empty or “unknown”. Using the bookinfo sample app fields like destinationName, destinationApp, destinationWorkload, sourceNa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/57188605",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: htaccess mod_rewrite good in IE, but downloads web page in other browsers (Chrome, Firefox) I am trying to modify an .htaccess file so that file extensions are omitted-- mainly .html It seems to be working fine in IE written like this:
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FI... | {
"language": "en",
"url": "https://stackoverflow.com/questions/40313848",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Play Console Unable To Click Create New Release Button My Application is published in the play store but I want to update my app but I am unable to update my app in Google Play Console
| {
"language": "en",
"url": "https://stackoverflow.com/questions/65001446",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Change Image Button in Adapter Listview Can Anyone help me. Where is my fault?
I have an adapter listview is:
db = Database.getReadableDatabase();
String queryString = "SELECT * from TBL_CHECKIN WHERE FLAG='1' and NOCUST='" + ListViewCallplan.get(position).gettxid() + "'";
Cursor c = db.rawQu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/44153134",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: SharePoint Approval I need to add sharepoint approval to a list... and I was hoping to use the default approval process... but... I need to run some code once an item is approved. Do I have to then use VS to create a custom workflow?
I need to run some code that currently runs in an event reciever. I need to move... | {
"language": "en",
"url": "https://stackoverflow.com/questions/1295104",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Unable to cast object of type 'OpenQA.Selenium.Chrome.ChromeDriver' to type 'OpenQA.Selenium.Remote.RemoteWebDriver' I am trying to use WebDriverManager Package for .Net for automatically managing the chromedriver.exe version while executing a test case. But when ever I try to type cast ChromeDriver object to Remote... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72380341",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: move up and down a treeview I'm populating a tkinter treeview in python using Os.walk() but after populating it I want to be able to reorder the tree leaves using buttons.
The command for moving up the tree works just fine (I want to be able to move multiple leaves at once)
def moveUp():
leaves = Tree.selection(... | {
"language": "en",
"url": "https://stackoverflow.com/questions/38884133",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Slow SQL: Select count of Table1 values missing from Table2 I am trying to return a count of the number of values from Table1 WHERE NOT EXISTS in Table2, I've got a query that seems correct but it's extremely slow to run:
SELECT count(container_no)
FROM pier_data
WHERE NOT EXISTS(
SELECT 1
FROM Iron_mounta... | {
"language": "en",
"url": "https://stackoverflow.com/questions/58977296",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to test the appearance of a child component within an ngIf Statement in Angular 8 I have a parent component where one of two child components are displayed, depending on the value of a variable (workHistoryState.ViewType):
<div class="work-history-wrapper">
<div class='jobList' *ngIf="workHistoryState.ViewTy... | {
"language": "en",
"url": "https://stackoverflow.com/questions/61140530",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: I'm trying to add a List-Unsubscribe header to my e-mail header using php-mailer I want to show unsubscribe links beside the email headers of email providers like Gmail, yahoo, and outlook.
This is how its called in PHP-mailer:(I have tried by following ways)
1st way:
$mail->AddCustomHeader("List-Unsubscribe:<mailto... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71308364",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Run Celery tasks on Railway I deployed a Django project in Railway, and it uses Celery and Redis to perform an scheduled task. The project is successfully online, but the Celery tasks are not performed.
If I execute the Celery worker from my computer's terminal using the Railway CLI, the tasks are performed as expec... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75085016",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: while changing SDK 33 XML autocompletion is not working I hv version bubble bee Android after changing SDK 33 XML auto complete is not working plz help. when I change version 33 then Android application execute but XML auto complete doesn't work
I have tried all possible ways but i unable to find and solution
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75631868",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: AJAX POST JSON Array Javascript NOT JQUERY
In this screenshot, a JSON array is being passed to PHP via AJAX without a POST body. I am using this code to implement it:
with(x=new XMLHttpRequest()) open("POST", "http://myweb/api/mobile/v1/jobeventadd?key=cfff"), setRequestHeader("Content-Type", "application/x-www-for... | {
"language": "en",
"url": "https://stackoverflow.com/questions/10724573",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: django: generic views + custom template tags or custom views + generic/normal template tags This is more of a best-practices question, and given that I'm quite tired it mightn't make much sense.
I've been putting together a blog app as a learning experience and as an actual part of a website I am developing.
I've ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/3884586",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How do I set up a Jenkins CI server to run automated BDD selenium tests using a remote webdriver? I'm new to Jenkins and am trying to set up a server to run selenium tests from a GitHub repo. I'm sure that I'm doing something wrong, likely several things, but haven't been able to figure it out.
I have configured the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/44012819",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Spark Session Error: java.lang.IllegalArgumentException: requirement failed: Can only call getServletHandlers on a running MetricsSystem I am unable to build a SparkSession in Scala without an error. I am using Maven as my build tool. I have Spark 3.3.0 installed locally. I also have an Azure Databricks 3.3.0 cluste... | {
"language": "en",
"url": "https://stackoverflow.com/questions/73535699",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Angular: get request i have an issue with displaying data in console. I am trying to retrieve log data in the console but i am getting null without knowing what the problem is. This is my code:
Service.ts
getItemById(id:number): Observable<any> {
return this.http.get<any>(`${this.API}/${id}`).pipe(catchError(th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72162818",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Elastic Search missing some documents while creating index from another index I have created one index in elastic search name as documents_local and load data from Oracle Database via logstash. This index containing following values.
"FilePath" : "Path of the file",
"FileName" : "filename.pdf",
"Language" : "Languag... | {
"language": "en",
"url": "https://stackoverflow.com/questions/51090440",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Purge hidden storage on Github Desktop OSX? I have several folders of jpg files on my OSX laptop, cloned from a GitHub repository. The files I can see total less than 20GB, but my system tells me that they occupy 65+GB.
Where are these hidden files? How can I purge them?
I should mention that there is only one bran... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46612723",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Auto Generate Patient ID Using Two Columns In the table Screening i have StudyID. The StudyID is a combination of two numbers StudyType( For Cases = KNH-01, For Controls = KNH-02) and Serealized 5 digit number (00001,00002). So the screening table looks like this;
ID StudyID Age
1 KNH-01/00001 22
2 K... | {
"language": "en",
"url": "https://stackoverflow.com/questions/44756525",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: uploaded files - database vs filesystem, when using Grails and MySQL I know this is something of a "classic question", but does the mysql/grails (deployed on Tomcat) put a new spin on considering how to approach storage of user's uploaded files.
I like using the database for everything (simpler architecture, scali... | {
"language": "en",
"url": "https://stackoverflow.com/questions/491944",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Serverless Web App Architecture I am currently designing a simple Serverless Web App using Serverless.
My current expected stack is;
*
*API Gateway
*Lambda
*DynamoDB
*Static Single Page App
I have followed a few tutorials for building the Serverless API, Lambda and DynamoDB using the Serverless Framework and... | {
"language": "en",
"url": "https://stackoverflow.com/questions/48304178",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: cannot import name 'PackageFinder' from 'pip._internal.index' pip3 On my mac, pip3 exists in /usr/bin. When I try to install any package using pip3, it is failing. Even simple 'pip3' also failing with below error.
Traceback (most recent call last):
File "/Library/Developer/CommandLineTools/usr/bin/pip3", line 6, i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69623926",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: jquery: Callback not received on clicking of button I need to send a request on click of button but callback is not received on firing of click event of the button.
Following is code snippet:
$(document).ready(function () {
var counter = 0;
$("#trail").click(function () {
$("#dialog").dialog();
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/17132898",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is there a method to setup flink memory dynamically? When using Apache Flink we can configure values in flink-conf.yaml. But here using CLI commands we can assign some values Dynamically when starting or submitting a job or a task in flink.
eg:- bin/taskmanager.sh start-foreground -Dtaskmanager.numberOfSlots=12
But... | {
"language": "en",
"url": "https://stackoverflow.com/questions/73101551",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Fetching npm module from GitHub brings ".git" folder I recently forked an npm package and updated it for my needs. Then, I changed the dependency on packages.json to point to my GitHub repo, and it worked fine. But, when npm installed the module, it brought also the git folder (.git). Because of that, when I try to ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/47634465",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Linux: access i2c device within board_init function (iMX6 SOC running Linux 3.0)
I need to run a few I2C transactions in my board_init function. I tried calling i2c_get_adapter, then i2c_transfer, those being available in kernel mode, but i2c_get_adapter returns NULL. It's already called imx6q_add_imx_i2c, which is ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/40542078",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Calling methods from objects which implement an interface I am trying to wrap my head around interfaces, and I was hoping they were the answer to my question.
I have made plugins and mods for different games, and sometimes classes have onUpdate or onTick or other methods that are overridable.
If I make an interface ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/18240947",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Why does multiprocessing use only a single core after I import numpy? I am not sure whether this counts more as an OS issue, but I thought I would ask here in case anyone has some insight from the Python end of things.
I've been trying to parallelise a CPU-heavy for loop using joblib, but I find that instead of each... | {
"language": "en",
"url": "https://stackoverflow.com/questions/15639779",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "138"
} |
Q: Can't uninstall npm module on OSX I have installed cordova on my mac and want to uninstall it.
I've tried the following:
npm uninstall cordova -g
but I get the following error:
npm WARN uninstall not installed in /usr/local/Cellar/node/0.10.32/lib/node_modules: "cordova"
Any ideas?
A: There are know issues with ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/33015001",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Sum of arrays between specific positions in the array I have two arrays of doubles. For example: {1,2,3} {4,5,6} We are using (x,y) coordinates as (1,4),(2,5) and (3,6) for example. So there are 3 data points in this example. We need to calculate the slope between all of the points and store the slope with the maxim... | {
"language": "en",
"url": "https://stackoverflow.com/questions/34009055",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Firebase hosting using Old webpack bundle when deployed via GitHub Actions I'm trying to create a GitHub-Action that first uses Webpack to create a bundle.js file and then deploy my index.html and newly created bundle.js to Firebase hosting.
First I just pushed my bundle.js in my GitHub repository, but I since remov... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71632892",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Javascript: List Files in Directory on Server Is there a way to list all files in a particular directory on the server using Javascript? If so, how? I am not allowed to use platforms which require server side installation. I mean platforms like node.js and such.
A: Well how would you list the server side files if ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/27876180",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: How do I remove duplicate values in a v-for array? I coded like this to remove duplicate values.
vue
<div class="col-md-6" style="float: left">
<ul class="list-group">
<li class="list-group-item"
:class="{ active: index1 == currentIndex1 }"
v-for="(member, index1) in uniqueMemName"
v-bin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/67817634",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do you reference a C# class library from a Win8 Javascript metro application? When I try the standard way it complains of an unsupported reference and I can't seem to use any of my classes.
A: You need to create a Windows Runtime component by creating a class library from the "Visual C#" -> "Windows Metro Style... | {
"language": "en",
"url": "https://stackoverflow.com/questions/9650654",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: How do I reference the Toggle Button Circle and override vertical alignment of the Aero theme Expander? Currently, I am referencing the Aero theme in my App.xml file.
In the main.xml file, I am using expanders to display the content in a resizable width app.
(For this example, I limited the width to 500)
The expande... | {
"language": "en",
"url": "https://stackoverflow.com/questions/1331142",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to ensure the exception "The calling thread cannot access this object because a different thread owns it"? In C# WPF application, if in the following button click event habdler:
private void start_Click(object sender, RoutedEventArgs e)
{
for (int i = 2; i < 20; i++)
{
var t = Task.Factory.StartNew
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/15765147",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Morphia aggregation query to get size of list I am trying to count the number of elements in a list of each document in a collection, similar to below example. (https://docs.mongodb.com/manual/reference/operator/aggregation/size/#exp._S_size)
db.inventory.aggregate(
[
{
$project: {
item... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46704786",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: distinct value of one column based on another column mysql Table structure
Column1 | Column2 | Column 3 | Column 4 . . .. . Column N
Col1Val1 | Col2Val2 | . . . . .
Col1Val1 | Col2Val2 | . . . ..
Col1Val1 | Col2Val3 | . . . .
Col1Val2 | Col2Val4 | . . .
Col1Val3 | Col2Val5 | . .
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/44516851",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Prolog: How to find and remove minimum list element? I am new to Prolog.
I need help writing a predicate which finds and deletes the minimum element in a list.
Thank you very much!
A: If all list items are integers, we can use clpfd!
:- use_module(library(clpfd)).
We define zmin_deleted/2 using maplist/2, (#=<)/2,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/14339993",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Compare two NSDate by .Day in swift is giving wrong results Im trying to compare two NSDate by .Day doing this (both on gmt timezone):
var order = NSCalendar.currentCalendar().compareDate(event.startDate!, toDate: cell.date!,
toUnitGranularity: .Day)
if (order == .OrderedSame... | {
"language": "en",
"url": "https://stackoverflow.com/questions/36204879",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: iFrame disappears on Internet Explorer A friend of mine created a simple web site using iWeb and added an iFrame to one of the pages. iWeb seems to be loading iFrames through a series of Javascript libraries and CSS files (quite strange). But whenever I look at this page on IE, the iFrame disappears after a few seco... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4929477",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: LibGDX 3d mesh transformation my intention is to make the "liquid" 3d structure, which is dynamically changing. The idea is to make it as the array of meshes and then change the elevation of the points of meshes.
So, my question is how to transform the mesh by setting the vertices Y variable? And is it even possible... | {
"language": "en",
"url": "https://stackoverflow.com/questions/34175756",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Catch throw error from node module I am using a module which throws an error in case something is wrong. The error is not being returned as part of the callback and the run is being stopped when is thrown.
I am calling it like this:
co(function*(){
try{
for (let item of items){
item.newValue = yield myF... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46081201",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Can't run jar file of JavaFx application on Linux I created JavaFx application on Windows.Then created jar file which works normal on windows.But when i try run this jar on Linux Mint i get this log:
нояб. 07, 2022 3:15:00 PM com.sun.javafx.application.PlatformImpl startup
WARNING: Unsupported JavaFX configuration: ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/74348523",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Flask SQLAlchemy pagination error I have this code and the all() method and every other method works on this and I have looked all over and I could that the method paginate() works on BaseQuery which is also Query
@app.route('/')
@app.route('/index')
@app.route('/blog')
@app.route('/index/<int:page>')
def index(page... | {
"language": "en",
"url": "https://stackoverflow.com/questions/18468887",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: Field Dao in DaoImpl required a bean named 'entityManagerFactory' that could not be found I have error message as follows:
***************************
APPLICATION FAILED TO START
***************************
Description:
Field visitorDao in com.ahmed.service.VisitorDaoImpl required a bean named 'entityManagerFactor... | {
"language": "en",
"url": "https://stackoverflow.com/questions/50925605",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why did jupyter server fail in VS code? I had this problem for a while now. I am trying to work on Jupyter Notebooks on VS code, but the jupyter server doesn't connect when I open VS code directly, but it works when I open VS code from Anaconda. Here is the error message:
Activating Python 3.7.4 64-bit ('base': cond... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62459632",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Identifying Windows Active Directory Connection - Windows 8 Is there a way from within a Windows 8 store app (C#) to either identify that the OS is Windows 8 Pro or Enterprise edition? Can you also check to see if the OS has the capability to connect to an AD domain?
I have found other posts saying that it isn't po... | {
"language": "en",
"url": "https://stackoverflow.com/questions/14821296",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Python assert -- Best way to report non-existing files in a list with one line Background
I use assert statement to check if certain files in a list exist in my computer, then I would like to do further work if these files are all there.
I've referenced to this thread, so I do something like this:
from pathlib impo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/56847249",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.