text stringlengths 15 59.8k | meta dict |
|---|---|
Q: java servlet compile error 1.i added the path C:\Program Files (x86)\Java\jdk1.6.0_01\bin for java and C:\TOMCAT\apache-tomcat-7.0.55\lib for tomcat.
2.i have started startup.bat in C:\TOMCAT\apache-tomcat-7.0.55\bin and it works fine.
3.it displays in 8084 port(localhost:8084/).
4.i created a MyServlet.java file in... | {
"language": "en",
"url": "https://stackoverflow.com/questions/25172750",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Formatting text using PDFsharp I want to apply style to
string "Helloword"
and have style properties
like fontFamily='Verdana', fontStyle='bold', FontSize='12', textDecoration='underline', textAlign='center', fontColor='#FF0000', x=100 and y=100.
I want to display this string in PDF using PDFsharp. can anyone sugge... | {
"language": "en",
"url": "https://stackoverflow.com/questions/17759711",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Ruby on Rails routing by resources with many-to-many relationship Ok, this gives me some headaches!
I have a many-to-many relationship with a link table that has a few attributes on its on:
user linked to items through ownings
The active-record part is clear to me. But what are my resources here? Clearly there are u... | {
"language": "en",
"url": "https://stackoverflow.com/questions/9093408",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: setState update a mounted or mounting component Here is my code:
import React, { Component } from 'react';
import styled from 'styled-components';
const BtnBox = styled.ul`
display:flex;
width:50vw;
align-items:center;
justify-content:flex-start;
font-weight:900;
font-size:5vw;
letter-spacing:-0.5vw;
`;
const MyBtn... | {
"language": "en",
"url": "https://stackoverflow.com/questions/47205436",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Behaviour of "containsAll" with duplicates The official documentation (archive) of containsAll only says "Returns true if this list contains all of the elements of the specified collection.". However, I just tested this:
List<Integer> list1 = new ArrayList<>();
list1.add(1);
list1.add(2);
list1.add(1);
List<Integer>... | {
"language": "en",
"url": "https://stackoverflow.com/questions/48230146",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Xcode 14.1 'SQLite3' build error : xFilter' from module 'SQLite3' is not present in definition provided earlier /Users/username/Downloads/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS16.2.sdk/usr/include/sqlite3.h:7054:9 'sqlite3_module::xFilter' from module 'SQLite3' is not presen... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75244438",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: OAuth with Verification in .NET I'm trying to create a .NET-based client app (in WPF - although for the time being I'm just doing it as a console app) to integrate with an OAuth-enabled application, specifically Mendeley (http://dev.mendeley.com), which apparently uses 3-legged OAuth.
This is my first time using OAu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4002847",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "109"
} |
Q: Combined solidcolor brush Is there a way to create a kind of "solidcolorbrush" that is a mixture of 2 solidcolor brushes?
For the back color, i would like to be able to use a DynamicReference to some other brush. While the other color (in the front) could be a static color with opacity.
Feel free to ask for clarific... | {
"language": "en",
"url": "https://stackoverflow.com/questions/906045",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: How to assign color to GVIS timeline chart based on group? I have a dataset that looks like:
Start End GroupingVariable1 GroupingVariable2 Title
1/2/18 1/5/18 Team1 Project Goal
I'm able to use the gvistimeline function in the gvis package to create the timeline chart that functions... | {
"language": "en",
"url": "https://stackoverflow.com/questions/48736871",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Check equal values in two different Columns on Google Scripts I was wondering how can I get the following result:
var X = [ex1, ex2, ex3, ex4];
var Y = [ex3, ex8, ex1, ex5];
Each one of the variables (X and Y) are in different sheets (Let's say, 'sheet' and 'sheet4'), at the column B of the respective sheet.
The ou... | {
"language": "en",
"url": "https://stackoverflow.com/questions/51811085",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: React Modal only close when I click background or close icon? Here is a codepen https://codesandbox.io/s/amazing-morning-ukxp2?file=/src/App.js
So I created this modal and I wrapped it with a Background styled component, but I can't figure out how to get the close function to only work if I only click the background... | {
"language": "en",
"url": "https://stackoverflow.com/questions/64421474",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: multiple layout in a single xml file I just want to use multiple layout in a single xml file.I have attached my code below. In that there will be an absolute layout that should be under Horizontal scroll. As a beginner I don't know how to implement it
need your help friends..
xmlns:ads="http://schemas.android.com/a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/31738374",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Method was expected to be of type virtual I've tried to initialize AWSMobileClient.defaultMobileClient() from my AWS Mobile Hub sample project into my test project using this code:
if (AWSMobileClient.defaultMobileClient() == null) {
Log.e("MainActivity", "Initializing AWS Mobile Client...");
final C... | {
"language": "en",
"url": "https://stackoverflow.com/questions/39613580",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What is the difference between Calling a method by one of the three methods? What is the difference between Calling a method by one of the three methods ?
*
*via Creating a new thread
*Synchronous call through Invoke
*Asynchronous call through BeginInvoke and alternatively EndInvoke
I am assuming all the cal... | {
"language": "en",
"url": "https://stackoverflow.com/questions/10033589",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Importing to IntelliJ - Error package org.springframework.boot does not exist Dear Stackoverflow Community, I have the following problem with my spring boot starter application. I imported the starter project as a new maven project into IntelliJ. But IntelliJ does not find the dependencies I specified in the pom.
Im... | {
"language": "en",
"url": "https://stackoverflow.com/questions/53869118",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: Using a wrapper class to hide functions A colleague of mine preferes to encapsulate all of the PHP functions behind classes. His justification seems to be that if its in a class its going to be easier to change if they ever update the code. My concern after looking at his code is I have no clue what might be happeni... | {
"language": "en",
"url": "https://stackoverflow.com/questions/9508235",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Android wear app with Line App Integration I would like to know more about the weather android wear will support the Line app or not. I've an requirement that sign-In with Line app. When I pair with the device and watch, where I could not able to see the my line app in android watch. Please suggest me the best possi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/43703202",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to get velocity vector for a point of a fixture? (Box2d) I have a top-down view tank project written in C++(QT). The tank consists of a "base" which is connected through a revjoint to the "turret" which can rotate and shoot. Turret is a circle shape and a rectangle attached to it as the barrel. Quite basic.
Whe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/27398392",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Running Java program with custom directory structure as Windows service I am using YAJSW to install (and uninstall) my program as Windows service (win 32 and win 64) with the following directory structure.
How do I go about it ?
apps - user works with this dir
log - user works with this dir
core - core of my prog... | {
"language": "en",
"url": "https://stackoverflow.com/questions/22522721",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Regex match last occurrence of a string from multiple lines I'm trying to match the last occurrences of a string from a log file.
[03/03/2019 09:16:36] Moving message 123456789 from NEW to PENDING
[03/03/2019 09:16:36] Retrieving file(s) of type DATAWAREHOUSE for 123456
[03/03/2019 09:16:36] collecting warehouse ver... | {
"language": "en",
"url": "https://stackoverflow.com/questions/55001166",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: FirebaseAnimatedList doesn't return anything I'm trying to write an app that will detect Barcode ID. Once detected, it will fetch value in my Firebase Database and display them inside my Widget. I want my widget to be dynamic since i don't know how many items could be inside each ID. So i tried using FirebaseAnimate... | {
"language": "en",
"url": "https://stackoverflow.com/questions/73795760",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: EAS build development for IOS fails on Pods install I hope someone can help me, when i try to build an app using expo with the command eas build --profile development --platform ios, it gives me the error below "The following Swift pods cannot yet be integrated as static libraries: ...". This happens only on IOS, a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/73489662",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: API & app for sending notifications to iPhone? In a project I'm working on, I want to send notifications to my user's iPhone from my Chrome extension. The notifications will mostly be about their accounts on my site, and I would like them to be able to reply with the type of action they want taken concerning the ale... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5220742",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Run-time 438 on searching and pasting gender I am running the following code that takes a value from column A, searches it on the URL: https://gender-api.com and returns the gender of the person and pastes it in column B.
I get a
run-time error 438
when running the code. Please help.
Sub URL_Get_Gender_Query()
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46315340",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: Polymorphic queries with NHibernate Search I have multiple entities stored in a single NHibernate Search index, in the hope that I'd be able to query over all of them at once. The use case is a simple search page which returns mixed results. So, for example, the code could look like this:
public interface ISearchabl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/9176624",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Zookeeper install via Ambari Performing install via Ambari 1.7 and would like to get some clarification regarding the Zookeeper installation. The setup involves (3) Zookeeper and (3) Kafka instances.
Ambari UI asks to specify Zookeeper master(s) and Zookeeper clients/slaves. Should I choose all three Zookeeper node... | {
"language": "en",
"url": "https://stackoverflow.com/questions/27555286",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Qt signal/slots - consume signal in one of many slots? Is there a way to consume future slots (and stop them from executing) in one of many slots connected to the same signal?
My goal here is to emit a signal with a message to many QObjects and consume (stopping iteration to future slots) when the QObject in which t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/31592972",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to integrate role based access token authentication for API methods generated using node-restful package? I am using the node-restful package for automatic API generation.
But I am not sure how to integrate role based access token validation for each of the automatically generated API methods GET, POST, PUT and ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/57509368",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Syntax errors in the verilog code I want to convert this c code to verilog module but I am having some difficulty
void window_averaging(void) {
register unsigned int i, k;
for (i = 0; i < 128; i++) {
// Copying first 128 output samples to the Window 0 and so on till Window 7.
W[count][i] = O[i];
}
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/26378440",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to do scroll control in flutter by passing the data fetched from api as pageno How to make scroll control by sending the next page parameter as pageno in url. I have url where I am sending the pageno as pageno='', and to get the next page I need to pass the data which is returned from the future fetchpost. For e... | {
"language": "en",
"url": "https://stackoverflow.com/questions/59499627",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: WPF white screen rendering issue I am taking over a legacy WPF app.
What I have noticed that occasionally it will display with a white screen when launched. This does not happen all the time. Only when I move the mouse over the screen do I start seeing sections of the UI drawn. I never get the whole UI drawn and hav... | {
"language": "en",
"url": "https://stackoverflow.com/questions/40310645",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: RTCDataChannel's ReadyState is not 'open' I'm trying to send text over an RTCPeerConnection with RTCDataChannel using WebRTC's adapter.js, but I'm getting the following error:
Uncaught InvalidStateError:
Failed to execute 'send' on 'RTCDataChannel':
RTCDataChannel.readyState is not 'open'
My code is available via t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/22470291",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: IIS 7 how to customize the security model using c# We have migrated a legacy streaming server to Wowza. As well as streaming on that server we need to have some mobile handsets have their delivery of mp4 files to be handled by IIS (7) HTTP straight download.
I need to replicate the security model that we had before ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/29364915",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: can sessions variables be altered by the user in their browser I'm trying to learn more on sessions and I was wondering if checking if a specific session is set is enough to prevent a user from accessing a webpage without having logged in first
example:
if(!isset($_SESSION['jfn7^j3#$jnj;7gs!~']))
{
header('location:... | {
"language": "en",
"url": "https://stackoverflow.com/questions/63624450",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Reading Json with C# via HTTP Request I have a problem reading json from our local API.
This is a well known public json side which I also used for testing: https://jsonplaceholder.typicode.com/todos
This is my Json on my local API:
In C# I tried this:
HttpClient client = new HttpClient();
string h... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69850517",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Adding the combo box drop down list value to the new rows Hi i know it might sound easy but since i am new to VBA thus i need some help in adjusting the user form vba codes below for the combo box drop down list value to be inserted in the new rows. Currently i have an add command button that will add all the input ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/33008742",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Can someone explain how this works please? JLabel label = new JLabel("Underlined Label");
Font font = label.getFont();
Map attributes = font.getAttributes();
attributes.put(TextAttribute.UNDERLINE, TextAttribute.UNDERLINE_ON);
label.setFont(font.deriveFont(attributes));
I have seen this code at least 100+ times tod... | {
"language": "en",
"url": "https://stackoverflow.com/questions/36525106",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Processing Payment with PayPay after authorizing with Apple Pay I have a shopping cart that currently uses a PayPal NVP to accept credit cards as well as checkout with PayPal accounts.
I've integrated Apple Pay, and am now on to actually processing the payment after Apple has validated the transaction. How do I use ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/45601644",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I stop my program from generating the same key? I writing a password generator and I ran into this annoying issue, and it is the repeating a a number or letter on the same line. The user gives the program a format on how they want their password to be generated ex "C@@d%%%"
where @ is only letters and where ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/38639395",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Find user location with mapbox and Nativescript To be honest I still have some difficulty to understand how to call the native IOS api with Nativescript. I've read some brief tutorials on how to build a plugin for Nativescript, but I guess a bit of knowledge with Objective-C or Android is required.
I would like to c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/38763178",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: the Default 'List' constructor isn't available when null safety enabled i have an error when i write the code
heres the code i wrote
class ProgressHUD extends StatelessWidget {
final Widget child;
final bool inAsyncCall;
final double opacity;
final Color color;
final Animation<Color> valueColor;
Pr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/68341630",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: what is the procedure of registering the webhook for twitter? I am trying to register url as webhook on twitter through the curl command given in the twitter documentation. I think twitter documentation is a bit outdated or incorrect.
curl --request POST --url "https://api.twitter.com/1.1/account_activity/all/prod... | {
"language": "en",
"url": "https://stackoverflow.com/questions/57953470",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Postgres 9.0 File System level backup on Debian Jessie I'm on Debian 8.2.0 and trying to run a postgres server from a folder I received. Version is 9.0.18. Here is the command I issue:
./postgres -D /home/swapps/project/PostgreSQL/9.0/data/
but the cursor keeps blinking in the terminal. I'm not sure what is happeni... | {
"language": "en",
"url": "https://stackoverflow.com/questions/33613648",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Djongo search error string with parentheses I'm working on a website using Django template and MongoDB.
I implemented a search but some items have parentheses in their fields. When I use contains or icontains function to search in the database, it throw me an error or doesnt find the item.
For example, if I search
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62713346",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Rails - Change Image Directory? I've developed a simple app to display images in a series of subdirectories based on querystring input. (I more or less built my own Rails version of 360Works SuperContainer, for FileMaker.) I have copied a few test directories into public/images and everything seems to be working jus... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5979200",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: ASP.Net Website Routing I have an ASP.NET website in framework 4.0
This website contains a subvirtual directory say directory1.
I want to add routing like when I type in browser
www.mydomain.com/funds it will get contents from www.mydomain.com/directory1
Example 2
**www.mydomain.com/funds/page1**
it will get conte... | {
"language": "en",
"url": "https://stackoverflow.com/questions/41114149",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Accessing Websphere MQ from a Notes Java agent I want to access (Websphere) MQ via a Notes Java agent. The inspiration for my initial code I got from this article: https://www.ibm.com/developerworks/lotus/library/domino-jms/
If I run my agent I get the 2009 message: "MQ queue manager closed channel immediately durin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/44301845",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to call API SignalR service from MVC application? How to call API SignalR service from MVC application?
client code : $.connection.hub.url = "http://localhost:PortNumber/signalr"
| {
"language": "en",
"url": "https://stackoverflow.com/questions/50268221",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How does log axis plot in python works? What formula does matplotlib.pyplot.yscale('log') use when plotting in log scale? For e.g. with
x=[1,2, 3]
y=[0.0088 , 0.0283 , 0.121 ]
plt.yscale('log')
plt.plot(x,y,linewidth=3, marker ='p', markersize=7)
plots the graph with y-axis values in the positive range of 0.001... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72757161",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to use a tab widget in Android? Can anyone show me how to make a tab widget in Android?
A: There is a developer guide showing how to implement tabbed activities/fragments http://developer.android.com/guide/topics/ui/actionbar.html
It's very important to follow new solution, because the method using TabActivity ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/1117641",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Cheerio returns undefined when I try to retrieve JSON data I am trying to make a webscraber, and have succeded in downloading the html. With this code I now try to find the title of my html:
fs.readFile(__filename.json , function (err, data) {
if(err) throw err;
const $ = cheerio.load(data);
const urlElemt = $('ar... | {
"language": "en",
"url": "https://stackoverflow.com/questions/55089487",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: SQL query taking longer time to execute I'm trying to execute the query. It take 32 min to execute. I have tried NOLOCK but only optimized it with 3 min.
the query is given below:-
SELECT PO.payday, PO.facility, PO.department, PO.workcenter, PO.shift, PO.team, PO.orderno, PO.fg_productno,
PO.sf... | {
"language": "en",
"url": "https://stackoverflow.com/questions/56343179",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Conditional formatting in Tableau connected to Cube data Could someone help me to color these measures on 3 variations - less than 0, equal to 0 and greater than 0. I tried with a calculation
IF [Margin 1] > 0 THEN 1 ELSEIF [Margin 1] < 0 THEN 2 ELSEIF [Margin 1] = 0 THEN 3 END
The reason I have assigned numbers in... | {
"language": "en",
"url": "https://stackoverflow.com/questions/50496210",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: masking the built-in variable with its magic behavior? I am not able to follow this statement in python tutorials:
This variable should be treated as read-only by the user. Don’t explicitly assign a value to it — you would create an independent local variable with the same name masking the built-in variable with it... | {
"language": "en",
"url": "https://stackoverflow.com/questions/31662713",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How does one prevent MS Access from concatenating the schema and table names thereby taking them over the 64 character limit? I have been trying to get around this for several day's now with no luck. I loaded Libre Office to see how that would handle it, and its native support for PostgeSQL works wonderfully and I ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/38999346",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: NextTick() does not working [Interleaving CPU-intensive task with other events] I was reading http://howtonode.org/understanding-process-next-tick
However, the code it come with does not implement CPU-intensive task.
I tried to write my version. But it is wrong.
None of the IO is serving after compute() get executed... | {
"language": "en",
"url": "https://stackoverflow.com/questions/27263071",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How would you add a dialog that alerts user of which page he is staying on after pressing Cancel? - JavaScript This function asks a user if he is sure he wants to exit a page or not. My question is... If the user pressed cancel (if he wanted to stay on the page) how would you make it so the alert says "Staying on 'p... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72163581",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: FFmpeg WebM AV1 Support With FFmpeg how can I use AV1 codec in a webm container?
I get the error:
Only VP8 or VP9 video and Vorbis or Opus audio and WebVTT subtitles are supported for WebM.
Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument
Error initializing output stream 0:0... | {
"language": "en",
"url": "https://stackoverflow.com/questions/51316811",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: How To Send Email Via Python With CSV File Attached I am able to send emails with attachments such as images but unable to do so with csv files. I am pretty new to Python and unsure what to do next.
import os
from email.mime.multipart import MIMEMultipart
from email.mime.text import MIMEText
from email.mime.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75299660",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How clone source repository in /tmp/ space of cloud function I want clone source repository into /tmp/ space of cloud function.I have explored the subprocess module.But No success.I have also explored gitpython.But how to clone repo in git python.See below code.But it is not working in cloud function.But when am ru... | {
"language": "en",
"url": "https://stackoverflow.com/questions/58709227",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Get a signed URL of google storage object via Terraform I am trying to get an object (ex. abc.png) signed URL from google bucket via a Terraform .tf script. But I am not getting any output on the console.
I have installed terraform on my local Linux machine, I am providing service account JSON key as credentials but... | {
"language": "en",
"url": "https://stackoverflow.com/questions/55186365",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Pandas dataframe drop duplicates based in another column value I have a dataframe with duplicates:
timestamp id ch is_eval. c
12. 1. 1. False. 2
13. 1. 0. False. 1
12. 1. 1. True. 4
13. 1 0. False. 3
When there are duplicated, it is always when
I want to drop_duplicates with the ke... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72457859",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Lambda function not able to read from S3 S3 bucket in account A has below policy
sid:whitelistIp
Effect: Deny
Principal: *
Resource :
arn:aws:s3:::my-s3
arn:aws:s3:::my-s3/*
Condition
NotIpaddress
awsSourceIP
[ list of Ips ]
StringsNotEqual
awsourcevpce
[ List of VpceId... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69475110",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: entity framework query and performance I have a Project Like social Network
I have to write a query to get some posts and last comment of post that my followers (not blocked) liked That
my code
public List<PostProject> GetFavoritePosts(string userId, int currentPage, int noOfRecords)
{
var skipPosts ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/44622904",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: boost asio timer hangs the second time I read async I have a RS485 communication that I talk over with boost::asio::serial_port. I'm testing what happens when there is no connection. The first time the timer cancels the operation. The second time the program just hangs on io.run(). I'm confused, because I create a n... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75259810",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to access txt file using relative path I'm currently trying to open a file using
io.open(file_name, "r")
My directory structure is
parent_dir
-src
-main.lua
-tests
-test.txt
I'm currently trying to open the txt file from the tests folder in the main.lua using
io.open(file_name, "r") bu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/55701371",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: From iPhone 4 to iPhone 5 - UIMageView I am working on my existing app to customize the screen to make compatible to iPhone 5 screen.
However as you could see in the following figures, my imageview is not properly placed. I dont know what I am doing wrong. Any help is appreciated! unlockView represent the arrow. loc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/16432238",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Safe PDO mySQL SELECT statement with for loop I was told to use PDO to safely retrieve data from a database. Now I'm wondering if this would be safe or work at all:
$dbtype = "sqlite";
$dbhost = "localhost";
$dbname = "test";
$dbuser = "root";
$dbpass = "admin";
$conn = new PDO("mysql:host=$dbh... | {
"language": "en",
"url": "https://stackoverflow.com/questions/26188688",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I make one line of a bash script into multiple lines? Im tying to make some of my bash scripts a bit easier on the eyes. Lets says I have this script and its working fine.
if [ "$PASSWDCHECK" = "<title>401 Authorization Required</title>" ]
then echo "The Subsubscription password is wrong" ; exit
else mkdir /... | {
"language": "en",
"url": "https://stackoverflow.com/questions/22024838",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Hide blue box around code during slideshow of a Jupyter Notebook I am preparing a presentation in Jupyter Notebook (version 6.1.4, not Lab)
(not the final notebook, just an example)
I also hide the code through a nbextension.
When I go into the slideshow (RISE), though, and arrive to the code cells, there is always... | {
"language": "en",
"url": "https://stackoverflow.com/questions/68345251",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to count real total number of chars in a string? Sorry if the question is silly. I need to count real number of chars in a string. For example I have the following string:
हा य
With .length I have the following result:
let chars = "हा य";
console.log(chars.length);
for(var i = 0; i < chars.length; i++){
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62455293",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to change timestamp column size in DB2? Any idea how to change timestamp column size in DB2?
I tried altering table, drop and then create table. Both didn't work.
Here are the queries I've tried:
alter table clnt_notes alter column lupd_ts set data type timestamp(26)
create table CLNT_NOTES
(NOTE_ID int not... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30298796",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: PHP date format variable I would like to change the date format in the following code:
#search for all event start dates
$starts = $sxml->xpath('//event/startdate');
#get the unique start dates of these event
$dates = array_unique($starts);
foreach($dates as $date) {
echo "<li class='header'><h1>{$date}</h... | {
"language": "en",
"url": "https://stackoverflow.com/questions/70114958",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Unexpected line wrap A very simple html:
<div style="width:200px">
<p>f 22222222222222222222222222</p>
</div>
will be rendered as:
f
22222222222222222222222222
and what I was expected is:
f 222222222222222
22222222222
is it possible to fix this?
Fiddle: http://jsfiddle.net/8yL6j/
A: Use word-wrap: bre... | {
"language": "en",
"url": "https://stackoverflow.com/questions/13320634",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to do a conditional write in dynamodb transactions using boto3 python library I have two documents in dynamodb with Id as hash key (no range key)
one document looks like this
{
'Id': 'x',
'ExpiresAt': 1634889543
}
another document looks like below
{
'Id': 'y',
'counter': 1
}
If the document with id x d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69673443",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to set context of provided module through ProvidePlugin? I have wrapper module over promise-polyfill -
/* jshint node: true */
/* global Promise: false */
"use strict";
if ( typeof Promise === "undefined" ) {
module.exports = require('promise-polyfill');
} else {
module.exports = Promise;
}
Then i inj... | {
"language": "en",
"url": "https://stackoverflow.com/questions/39788534",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Filling fields in Word using c# and Microsoft Word Interop I tried to Fill out Form Fields in Microsoft Word using C# Interop Assemblies with the following Code
string filename = @"N:\mehler\Vorlage2.dotx";
Microsoft.Office.Interop.Word.Application word = new Microsoft.Office.Interop.Word.Application();
Microsoft.O... | {
"language": "en",
"url": "https://stackoverflow.com/questions/18533198",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: Using couchbase as a single node Can couchbase be used as only one node for development purposes, or benchmarking inserts, updates and reads?
And can couchbase run in a computer with 1vCPU and 512 MB of RAM?
A: This page covers the minimum recommended specification for running Couchbase Server.
The minimum hardw... | {
"language": "en",
"url": "https://stackoverflow.com/questions/41673429",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Minimal amount of swaps Assume we have got sequence (of length n) of ones and zeroes, eg. 10100100. We want to rearrange them, so 1 follows every 0, and 0 follows every 1 - but in the end there can be some 0s or 1s left - so our sequence will become 10101000. Let's say there is k amount of 1 and n-k amount of 0, so ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/48753323",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: 'TypeErroe: cannot read property NAME of undefined' after trying to retrieve key/ value from nested object I am trying to fetch some data in react-native where I store the fetched data in a state variable so I can access them anywhere in the component. This is the code:
export default class Result extends Component ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/54876875",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: JQuery UI Tooltip on span with disabled child link I'm working on a project that frequently requires the use of tooltips on disabled links. The project includes a draft/publish system, so I like to inform the user why a certain action is not available through the use of a tooltip.
The way I've been adding these tool... | {
"language": "en",
"url": "https://stackoverflow.com/questions/58457638",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Rails: Get checked radio-button value with html input tags I have a simple structure of contest:
*
*The contest has multiple questions
*Each question has multiple answers
possible
For this I feel like what I've created is a good structure:
I am trying to get the answers of a user for each question from the fo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/61597545",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Optimize a function over a set of values I'm fairly new to python, and I'm trying to minimize a function over a given dataset. That is, I have a set of values for a vector x, and I'm trying to minimize a function f(x) for x in my data.
For clarity, I have data X=np.array([[1,-1], [2,2], [-1,0]]) and I want to minimi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/58379183",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: .net Interop in windows 7 with VB6 I've got a legacy VB6 DLL that I've modified to take advantage of DirectShow when on Windows 7, due to WIA not working well in Win7 for cam capture.
I've incorporated a .NET DLL into the vb6 DLL that has functions to provide information and one function to display forms for the Dir... | {
"language": "en",
"url": "https://stackoverflow.com/questions/8085611",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Gzip response from soapUI in PHP I m trying to get gzip response and for that I'm sending this node in body.
$body['TPA_Extensions']['IntelliSellTransaction']['CompressResponse']['Value'] = "true";
It returned successful response but didn't show it in var_dump. In var_dump it shows Null. In below image it shows suc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46928586",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why messages from en.json are not translated in vue 3 + i18n I have created a default vue2 + i18n project. in en.json (in lacales folder) I have
{
"message": "hello i18n !!"
}
HelloWorld component code is
<template>
<p>{{ $t("message") }}</p>
</template>
<script>
export default {
name: "HelloWorld",
moun... | {
"language": "en",
"url": "https://stackoverflow.com/questions/67865108",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Showing view controller from AppDelegate when notification arrived I am tring to show UIViewController which is inside the UIStoryboard. There isn't any problem about poping up the view. But the navigation is not working in the popup viewcontroller; such as when I touch back button
[self.navigationController popVi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/31677600",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to change the number of components in a UIPickerView? I have a UITableView for different datas. When the user select one row, then I will popup a UIPickerView to let the user select some values. And I have implemented the numberOfComponentsInPickerView DataSource method to return the number of components for dif... | {
"language": "en",
"url": "https://stackoverflow.com/questions/6909324",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to track function calls in MATLAB? I would like a way to track all function calls that have operated on a specific workspace variable -- for instance, a sound waveform that will be transformed by various signal processing functions.
One cumbersome and fragile way is to do this:
>> cfg = [];
>> curr_call = 'data_... | {
"language": "en",
"url": "https://stackoverflow.com/questions/24065992",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How can I directly use url to access my spring boot web application without any port? I have deployed my spring boot application which using spring security for security in a ubuntu server.So, I have an problem.I can only access my application with using url like:https://example.com:8443. As for, why do I use the po... | {
"language": "en",
"url": "https://stackoverflow.com/questions/66184618",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: how to change take photo text to retake photo text when there is image I am working on one camera app. There is one button called Take Photo where user can take photo and it will show in below of that button.
What i need is. Once i took picture n=and when photo is show under take photo button. I want to change the t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/42975220",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Find Predecessor in a BST I want to search recursively and efficiently a predecessor in a binary search tree without using parent pointer.
I give the root of the tree and a certain data (that can be contained or not in the BST) as parameter of the function.
I'm having troubles because if the BST does not contain the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/56082214",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Pycharm cant run WSL 2 interpreter because Source Root is marked as a windows dir instead of WSL dir When using the WSL python interpreter, Pycharm attempts to cd to the project Source root folder.
However it is using the full windows path: \\wsl$\Ubuntu-18.04\home\ubuntu\code\my-repo
Instead of the needed WSL path... | {
"language": "en",
"url": "https://stackoverflow.com/questions/63246025",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How does static work inside a function? I came across something I haven't seen before. I have the following recursive function that only works when i is static
void printNthFromLast(Node* head, int n) {
static int i = 0;
if(head == nullptr)
return;
printNthFromLast(head->next, n);
if(++i ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/18099236",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to play audio in codenameone I am developing an application based on codenameone. Now I try to play sounds in the background. Unfortunatly I didn't found a code sample for that.
The only thing I have I the following, which didn't work:
InputStream uri = getClass().getResourceAsStream("startsound.mp3");
try {... | {
"language": "en",
"url": "https://stackoverflow.com/questions/41608212",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Merge 2 lists with linq where at least one property has changed var usersOld = new List<User>();
var userOld1 = new User { IsDisabled = true, IsLicenced = false, Id = 1 };
var userOld2 = new User { IsDisabled = true, IsLicenced = false, Id = 2 };
var userOld3 = new User { IsDisabled = true, IsLicenced = false, Id = ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/25506528",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: R Shiny dynamic tab number and input generation I've got an issue with my current shiny code.
I have to generate a dynamic number of tabs depending on the results of a given function (that part works fine). Then, I want to generate the input of these tabs in other loops of for example renderText. However, the final ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/42535038",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: [JavaScript]Is there a way to use Cloudinary without terminal my development environment(chat bot app) doesnt offer terminal.(uses Rhino)
but what I can do is putting module(.js) files in it.
Would there be a way to use Cloudinary upload and etc codes?
It would be nice if there is a .js format of Cloudinary module.
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/70003700",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to convert FileOpenDialog's return value into array in autoit? This is the code :-
Local $var = FileOpenDialog($message, @WindowsDir & "\", "Images (*.jpg;*.bmp)", 1 + 4)
If @error Then
MsgBox(4096, "", "No File(s) chosen")
Else
$var = StringReplace($var, "|", @CRLF)
MsgBox(4096, "", "You chose " & ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/17715180",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: DataError in datagridview when you see the row I have strange problem. I have datagridview fill from XML file and a button that add a new row at the end to that datagridview.
I have scrollbar so I can't see all the rows at once. When I add new row and if I don't see the new created row everything is OK.
The row is... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23110027",
"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.