text stringlengths 15 59.8k | meta dict |
|---|---|
Q: Integrated Windows Authentication with IIS, Firefox and SQL Server I have a web site running on IIS on my localhost. This web site has directory security set to only allow Integrated Windows Authentication. It is part of an intranet and needs to authenticate by our domain accounts.
I then connect to SQL Server with ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/733237",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "16"
} |
Q: Is it possible to use the Twitter API to get replies older than 7 days? I've seen this question, but the answers are a bit of a mess: outdated, focused on various libraries' capabilities, and/or not clear about whether they apply to old tweets.
I'm trying to look up replies to historical tweets (months or years old)... | {
"language": "en",
"url": "https://stackoverflow.com/questions/68339789",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Best way to write onClick multiline function? I have this onClick function that shows the details of the user and then sets another state back to true. Would it be better to declare this function outside of the return as it is multiline? and if so how should I write it?
<Button onClick ={() => {setSelectedUser(user... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69776517",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Issue with retrieving some values out of my Database <?php
include 'session.php';
?>
<html>
<head>
<link href="css/adminOpmaak.css" rel="stylesheet" type="text/css"/>
<?php
mysql_connect("localhost", "admin", "") or die(mysql_error());
mysql_select_db("test") or die(mysql_error());
?>
</head>
<bod... | {
"language": "en",
"url": "https://stackoverflow.com/questions/18405940",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Delete the entire row of selected item in listbox, VBA Excel I'm trying to delete the entire row of the item(s) selected in my listbox, but the problem is the code deletes the very first row. Here is the code.
Private Sub Mature_Click()
Dim I As Long
With ListBox1
For I = .ListCount - 1 To 0 Step -1
If .Sele... | {
"language": "en",
"url": "https://stackoverflow.com/questions/31917780",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why is TryParse in C#7 syntax (empty out parameter) emitting a warning if you compile it? In C#7, you are allowed to do
if (int.TryParse("123", out int result))
Console.WriteLine($"Parsed: {result}");
or - if you don't use the result and just want to check if the parsing succeeds, disca... | {
"language": "en",
"url": "https://stackoverflow.com/questions/43736660",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "18"
} |
Q: How to create dynamic table in sqlite-3 using python when user give your email address Sql = "CREATE TABLE IF NOT EXISTS ℅s (℅s text, ℅s text)" ℅ (Username, "first", " Second ")
con. execute(sql)
#Error- sqlite3.OperationError:near "@gmail": syntax error
#help me sir
A: Though I must admit that it seems strange to ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/64465078",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Javascript: Not picking up my "src" <input class="textBox" id="userWebsite" type="text" />
<input type="button" id="button" value="Store" onclick="submit();"/>
<!-- Storage START -->
<select id="webLinks">
<option id="webPageOne">Web Page One</option>
<option id="webPageTwo">http://www.example.com</option>
<... | {
"language": "en",
"url": "https://stackoverflow.com/questions/24001988",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Add observable to existing Subject I have an observable (Angular Subject) called event$. When screens are loaded I want to add DOM controls as emitters to this observable. The observable will already have subscribers. I'm achieving this by subscribing to an observable based on the control with the existing event$ as... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72939807",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to use MySql with ruby I have learned MySql in my school, but on CMD Prompt. Since i want to use that knowledge and want to create a GUI program in ruby (NOT A RUBY-ON-RAILS PROJECT) which use MySql commands like:
SHOW DATABASES;
USE DATABASE ruby;
SELECT * FROM TABLE staff;
CREATE TABLE STUDENT(Rollno integer, ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/47890589",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Bootstrap multi-select: Adding images instead of text firstly here's the link: http://liveweave.com/We9Qg8
I want to add images to a dropdown with multi-select, I am using bootstrap multi-select plugin, I've figured out how to add text to the dropdown after the main text of each dropdown. I can't seem to find how to... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30305504",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Custom provider within angular .config I saw a couple of examples how to insert custom providers into angular's .config, but I fail to do it properly.
I have a provider:
(function() {
var app = angular.module('application.providers', ['application.services'])
app.provider('accessProvider', function() {
thi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/25594487",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I obtain the rows that contain a specific minimum value? I have a table with 3 rows and 3 columns. For all the rows with the same name, I want to retrieve the one that has the minimum value in the position column. in this example here. The result should be (apple, red, 3) and (melon, big, null).
null value in... | {
"language": "en",
"url": "https://stackoverflow.com/questions/45415733",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How do I get my webpage to load quickly when I need lots of sound files? I'm pretty new to web design and I'm building a webpage for learning the Cherokee syllabary. The main page is a table of 85 characters that plays the sound for the character when you click on one. Currently I have all of the sound files stored ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/38296622",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Facing flash of images when my page loads When two stylesheets have classes with same names, how does the style apply on the elements? Does it apply both the styles linearly and then render the final output or it applies the first style and the one with higher specificity replaces the first one (showing both outputs... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30435751",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Fadeout on hover effect in iPad I tried to use the fadeIn and fadeOut effect as you can see in this page:
http://www.lifetime-watches.com/gal-w.html
var titleString = $(this).find('a').attr("title");
$("#title").html(titleString).fadeIn(100);
;
So when they run the script the title of the image would fade in in a ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7543306",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Python - Connect AS400 Collection using ibm_db I am able to connect to our database given the following connection string (OLEDB).
"Provider=IBMDA400;Data Source=10.33.xx.x;User Id=user;Password=pass;Default Collection=mm370lib;";
Then tried (Python ibm_db)
import ibm_db, ibm_db_dbi
ibm_db_conn = ibm_db.connect("... | {
"language": "en",
"url": "https://stackoverflow.com/questions/28980698",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: char* have internal linkage so it can't not be a none-type template argument Some code that I don't understand:
template<const char *T>
class A
{
};
const char *arr="hello world";
int main()
{
A<arr> obj;
}
This snippet won't compile.
Error message from visual studio compiler is :
Invalid template argument f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/34788138",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: LINQ to SQL - Database Design issue I'm quite new to working on Databases in general, and hope to get your guidance as to what went wrong.
I have 4 tables at hand, currently set-up in this way:
Company - Just an ordinary Company table with certain data in it
Company_GoodsPackaging - A reference table for Company, ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/13658449",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Split strings by commas only if substrings are elements of another vector I have a set of survey responses where respondents could select zero or more options to answer the question "What types of fruit do you like?". There was also a space for a write-in answer. In the results spreadsheet, each person's response is... | {
"language": "en",
"url": "https://stackoverflow.com/questions/25098280",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Git commit of cordova package.json project with sensitive data I'm working on a Ionic/Cordova project which some plugins that need sensitive data:
*
*cordova-background-geolocation require a license;
*cordova-plugin-googlemaps require api keys.
When adding those plugins to the project, they get saved in my con... | {
"language": "en",
"url": "https://stackoverflow.com/questions/50656942",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: RxJS Observables: Creating with values I don't yet have the service to call for the values, so I am doing some boiler plate code with aysnc ngFors.
I am trying to create an obserable that can be consumed by an ngFor. I try:
statuses$ = Observable.create((o) => {
o.next(new NameValue('Open', 'OPEN'));
o.next... | {
"language": "en",
"url": "https://stackoverflow.com/questions/63620920",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Leaflet+Vue+Vuetify / Leaflet map hide vuetify popup dialog On my Vuetify + Lealflet project the map hides all popup dialogs and I don't know why. I use Vue2Leaflet library. I am a beginner with web development. Here is a pic of the problem:
<l-map
:center="center"
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/53929421",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: C++ cin.ignore causing a seg fault? int client::add_user(item & item_in)
{
char temp[ASIZE];
cout << "\n\nEnter the name of your item: ";
cin.get(temp, 100, '\n');
cin.ignore(100, '\n');
get_upper(temp);
item_in.name = temp;
cout << "\n\nEnter in effect one: ";
cin.get(temp, 100, '\n... | {
"language": "en",
"url": "https://stackoverflow.com/questions/10749836",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to change the value of a global varibale in javascript? I have been working on some code for a game which I have tried to add states to. I set a global variable "gameState", and I want to change the value of that global variable once a certain thing is selected by the player. For some reason, my global variable ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/27372182",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Keeping controls in the visible area I've got a grid with several TextBoxes in it. I want to keep this grid fixed at the bottom of my main window. So if the user scrolls down the grid should basically stay in it's place.
One way I thought of doing this was to get some sort of value from the ScrollViewer and add it ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/8388640",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How I check that an api call to an appengine instance came from a Google Compute Engine instance? We are using a Google Compute Engine instance to generate convert datastore tables into large downloadable csv files. We want this instance to log errors to an app engine front end instance by calling:
/api/log
But we ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/22229434",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Fabric8 unable to start on windows 10 I'm trying to run gofabric8 start on windows 10 i've the minikube and kubectl running perfectly but when I tried to run gofabric8 start it is giving me an error like Cannot connect to API server i tried setting no_proxy and everything but it is still giving me this error. please... | {
"language": "en",
"url": "https://stackoverflow.com/questions/48762098",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Find min/max x,y in each vector> I found contours in the image and I store their coordinates in vector < vector < Point >> like below: vector of vector(Point)
I want to find xmax,xmin,ymax and ymin in each vector.
Min/Max coordinates
I have to write it down somewhere, so I could use these values in further part of... | {
"language": "en",
"url": "https://stackoverflow.com/questions/45622203",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: socket.io multiplayer game player's view I'm very new to nodejs and socket.io. I'm trying to create a simple multiplayer card game in real time. my problem right now is I can't get the player's view to display on the correct div from player's perspective. example is.. I want my playing area to display at the bottom ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/38493574",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Typescript CRA Jest import TypeErrors - undefined imports? I'm experiencing a set of errors in my React project:
TypeError: (0 , date_1.formatDate) is not a function
13 |
14 | const DATE = new Date();
> 15 | const DATE_VIEW = formatDate(
| ^
...
at ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/74011131",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Trying to play a animation on scrolling down and rewind on scrolling up I am trying to play an MP4 video while scrolling down and then rewind it while scrolling up.
I currently have the video (of an animation) working with HTML CSS and JS.
Any help would be appreciated thank you.
A: I have made a small example to d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/73007720",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: PHPStan inheritance & property types I have trouble passing PHPStan tests because of parent/child classes (besides, code runs well).
These two kind of errors always show up:
*
*Parameter #1 $a of method xxx expects ConcreteChildClass, AbstractParentClass given
*Property ClassName::$a (ConcreteChildClass) does not... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72971016",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: IOS Segue- detecting table cell and opening a viewController i am new to ios programming. i have a static tableViewController in which i have 3 cells. i have another view controller where there is a label and description. what i am trying to do is detect the cell which user clicks and then change the label which is... | {
"language": "en",
"url": "https://stackoverflow.com/questions/20881479",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how to know which view has current focus I am putting focus on a view but when I change orientation the focus is lost from that view .
does onConfigurationChanged() handles focus?
or i need to explicitly set it and if yes then how can I set focus ?
I need to keep track of current focusing view .how to do that?
A: O... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7858760",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to get a fixed size SIFT feature vector? I am trying to obtain feature vectors for N =~ 1300 images in my data set, one of the features I have to implement is shape. So I plan to use SIFT descriptors. However, each image returns different number of keypoints, so I run
[F,D] = vl_sift(image);
F is of size 4 x N... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23159828",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: How bad is *RECURSION*? I want to create an App object which contains objects for my database, sanitizer, and user. This way, I can simply use a single App object rather than seperately called all of these different objects, as most of my other objects will require most if not all of these objects for the methods wi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/34149444",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Capturing URL params in Django Rest I need to capture the url params in the following url
"/portal/{pk}/portalProject/{pk}"
the following url is not leading to the view function below . What is wrong here?
urls.py
router = routers.DefaultRouter()
router.register(r'movies', MoviesViewSet)
router.register(r'project',... | {
"language": "en",
"url": "https://stackoverflow.com/questions/34985407",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Rails Modify Request Route As luck would have it, I am creating a Rails application (2.3.8) in which I need to change where a request is dispatched based on some criteria. Basically, I need a custom dispatcher.
I have looked at using Rack to modify the request, and in certain instances, re-route the request to a di... | {
"language": "en",
"url": "https://stackoverflow.com/questions/3597700",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: JavaFX: Blank rows in FXML TableView I've been trying to add a row of information from my Product class to this tableView:
When I hit the add button and run:
productTableView.getItems().add(new Product(...)
It adds a blank row to my table:
Controller.java
import javafx.scene.control.TableView;
public class Contr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/55269899",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: how to find available functions/properties of a dll I want to use functions/properties from 2-3 dlls. I could not find relevant details on the software because of which they get installed.
Could you please let me know how can i find these details? I am using Excel VBA to use these dlls.
A: If you're adding a refere... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4933484",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: trying to centre a div within in a div I am trying to centre a div but having difficulty. Beneath the chart in my fiddle I have a table which I want to centre under the chart.
I have tried the class below, I also set the width but it doesn't seem to work. It looks to me like the right hand side of the table is centr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/51501857",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Android studio error: java version not found In Android Studio I got the following error
Gradle snyc failed
Error: no java version found.
I tried removing / renaming gradle but all in vain.
I am using linux mint cinnamon. Can anyone help?
A: Go to CMD and check whether Java is installed, just type java in cmd an... | {
"language": "en",
"url": "https://stackoverflow.com/questions/32541696",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Rails - How to avoid repeating same i18n attributes translations I am building a Rails application using I18n translations.
I have two models (Blog and Event), sharing same attributes (title, content).
In my I18n yml files, how can I avoid repeating same keys for each attributes models and share them ?
Extract of my... | {
"language": "en",
"url": "https://stackoverflow.com/questions/40088600",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Passing in results of a query to a CLR SqlFunction I have a stored procedure that needs to pass a result set from another stored procedure into a UDF, that in turn calls a CLR SqlFunction. What I can't figure out how to do is how to pass the result set into my CLR SqlFunction. I don't see a table SqlType nor can I f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7040715",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: NgIf and click on same button on dialog I want make a form with error message if the name already exist or group not exist.
I have the error message from the server when I click on submit .
Now I close the dialog box with the on Close Confirm function.
<button mat-raised-button class="createUserBtn" color="pri... | {
"language": "en",
"url": "https://stackoverflow.com/questions/58210894",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Render a Wordpress page as a variable Is it possible to get Wordpress to render a page and return it as HTML ?
I'm thinking about a function that'd look like this :
$html = render_page($id);
echo $html; // prints the page
My goal is to have all my sections' HTML and my corresponding logic in different files and, in... | {
"language": "en",
"url": "https://stackoverflow.com/questions/28032289",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Are there easy ways to sort mongodb collection by reference document in mongoose I'm struggling with handling mongodb in nodejs.
Are there any easy ways to sort mongodb collection by reference document in mongoose?
When I need to sort mongodb documents by reference document, it is not easy.
Querying all documents an... | {
"language": "en",
"url": "https://stackoverflow.com/questions/50621270",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: I am stuck with regexp only returning the match while I want to get the followup followed by the match TCL/TK:
Problem: I want to be able to get the post-match string data, but even though I provide
regexp with more than a variable for the match itself the secutive variables either turn out empty, or I got the same ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/19258670",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: i updated my project from dotnet 2.1 to 6 and some base repository function return 500 error in debugger
im trying to do sothing like this but need help with how
upgrate my project from dotnet 2.1 to 6
my base function now return 500
using vscode
i need to check if IsActive property is exist in that model from base ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75082403",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to start, stop and reset the chronometer in android? How to set start , stop , reset in chronometer ?
I'm implementing chronometer in my app. I created three buttons
start, stop , reset..
start : starts timer from the 00:00.
stop: completely stops timer showing the time runned.
reset: resets the timer to 00:00.
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/54677595",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: C/C++, NTFS. Multiple reparse points MSDN says "There is a limit of 31 reparse points on any given path."
(http://msdn.microsoft.com/en-us/library/windows/desktop/aa365503%28v=vs.85%29.aspx)
So, a single file can have max. 31 reparse points (?)
To check if a file has "a" reparse point, GetFileAttributes can be used
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/20776663",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Is There a Bookmarklet That Can Change Tab Favacon Is there a bookmarklet that can change a tab favicon? I have tried google, and github. I know this may be really complicated, but is there a bookmarklet that can do that?
A: Her is the final result of my research based on this question:Changing website favicon dy... | {
"language": "en",
"url": "https://stackoverflow.com/questions/66446635",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Tinyfilemanager upload from URL permissions I have a problem after upload image from URL:
*
*Preview thumbnail doesn't work
*Direct Link doesn't work, I get Forbidden error
But image file exists in my storage...
Upload from URL was set to permission 0600 and upload image from file is set 0644, it's a problem abou... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71689443",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: htaccess 301 redirect GET-Parameter and remove it I am in a need of a 301-Redirect with the following example:
The pages
*
*https://www.example.com/index.php?id=
*https://www.example.com/?id=
Should be redirected to
*
*https://www.example.com
but i really do not understand how to solve that.
What i have tried... | {
"language": "en",
"url": "https://stackoverflow.com/questions/28363349",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How can I stop getting the 'Can't resolve async_hooks' error when using npm start? I've been following a tutorial on how to connect to a mongoDB collection. The tutorial works fine but I'm trying the same code in a project I'm working on and have been getting the following error constantly:
./node_modules/raw-body/i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/73975963",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Build process template not visible when creating build definition in TFS 2010 I am trying to add a new build process template (XAML) to TFS 2010, using VS 2017.
I have committed it under the BuildProcessTemplates folder for the team project and it is shown in the Source Control Explorer, but it doesn't show up in t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/51097697",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Read Json files from Azure Data lake storage Gen2 using Active AD User account in Python I am trying to access the json files stored in Data lake storage account.
I only have reader access and want to use Active AD User account (Organization Email ID & password for Azure resources) for creating a connection and auth... | {
"language": "en",
"url": "https://stackoverflow.com/questions/73020846",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Redirecting an ip in Java For the past few weeks, I have been scouring the internet, the minds of computer programmers, and just a few random people over the situation I am looking to overcome. Basically, what I am trying to do it write a AntiJoinBot "plugin" (if you will) for the popular game Minecraft. This would ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/15775781",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: I'm trying to implement a popup calender when click on edittext that in a Tab Activity I'm trying to implement a popup calender when click on edittext that in a Tab Activity.My Tab activity as below. I need the code to post before the return V. Here the tab activity
package com.artificers.subin.inspection;
import... | {
"language": "en",
"url": "https://stackoverflow.com/questions/33519302",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Downloading file with node express js I'm trying to download a file with express js, but I'm having some trouble.
Below is the function:
var download = function(uri, filename, callback) {
request
.get(uri)
.on('response', function (response) {
var ext = response.headers['content-type'].split('/');
filename... | {
"language": "en",
"url": "https://stackoverflow.com/questions/39321358",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Pandas rolling apply to update the Series for next iteration? I have following Series s, I want to rolling apply a self-defined function "test", and immediately update the results to s so that the next iteration of "test" is based on the updated s. Let me walk you through my example:
s = pd.Series(range(5), index=pd... | {
"language": "en",
"url": "https://stackoverflow.com/questions/38732878",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: EAV Model - how to handle internationalization I have an existing spring mvc application with hibernate and mysql.
I have requirement to create dynamic form in this application and i am planning to use EAV model.
How can i handle internationalization?
currently i have the messages_en.properties file inside WebCon... | {
"language": "en",
"url": "https://stackoverflow.com/questions/35508758",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Replacing all instances of certain character in JS? I am trying to create a simple function that replaces all instances of a certain character in a string in JS. In this instance, I want to replace all a's with o's.
I am pretty sure the code is right, but the output is still the original string.
function replaceLe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/42162640",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Providing an abstract class which extends a Guice AbstractModule and has provides methods I want to provide a Guice AbstractModule which has a few providers annotated with protected annotations so that those values can only be used by the extending class.
public abstract class AssetModule extends AbstractModule {
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/38252349",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do you use a type outside of its own namespace in clojure? I have a project set up with leiningen called techne. I created a module called scrub with a type in it called Scrub and a function called foo.
techne/scrub.clj:
(ns techne.scrub)
(deftype Scrub [state]
Object
(toString [this]
(str "SCRU... | {
"language": "en",
"url": "https://stackoverflow.com/questions/3690784",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: Modulo operator with negative values Why do such operations:
std::cout << (-7 % 3) << std::endl;
std::cout << (7 % -3) << std::endl;
give different results?
-1
1
A: a % b
in c++ default:
(-7 / 3) => -2
-2 * 3 => -6
so a % b => -1
(7 / -3) => -2
-2 * -3 => 6
so a % b => 1
in python:
-7 % 3 => 2
7 % -3 => -2
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7594508",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "194"
} |
Q: c#, ADFS, sso and OAuth2 : how to? I'm working on a front-end app which is developped in C# and which is supposed to access some WS. Those WS are developped in Java.
To access those WS, user must be logged. The authentication system uses sso (ssocircle) and ADFS.
The front and back (WS) are supposed to use OAuth2;
I... | {
"language": "en",
"url": "https://stackoverflow.com/questions/34531073",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to tell if a user clicked on a confirmation email sent with user.sendEmailVerification() in jsx I have this code for send a email,
but I do not know how to wait for the answer (if confirm or not)
because no matter if it confirms or not, it registers it
handleSubmit = (e) => {
e.preventDefault()
firebaseAuth().... | {
"language": "en",
"url": "https://stackoverflow.com/questions/44912257",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Label encoding in Pandas I am working with data set which have numerical and categorical values. I find solution with numerical values, so next step is to make label encoding with categorical values. In order to do that I wrote these lines of code:
import pandas as pd
dataset_categorical = dataset.select_dtypes(incl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/67140667",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Initial Data Load With ActionBar Indeterminate ProgressBar I have a Indeterminate Progress Bar replacing my MenuItem refresh button while an AsyncTask loads data. All of this works without issue:
My create options menu:
@Override
public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {
inflater.infl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/21419531",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Docker: cd into directory using regular expressions I have to build a Docker image and in the Dockerfile I have move into a directory whose name contains a dynamic id, e.g myfolder12345, that can become myfolder56789 in another build. As I don't know which can be this id everytime I do the build, I have tried to use... | {
"language": "en",
"url": "https://stackoverflow.com/questions/44967520",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: How do I get the directory where the executable is located? I got the filename like this:
_TCHAR filename[_MAX_PATH];
GetModuleFileName(NULL,filename,sizeof(filename));
How do I remove the filename from this full path? Should I use regex?
A: Since you use VS++, you can use:
_splitpath and _wsplitpath functions to ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4292222",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Calling outer class' syncronized method from inner class I have a program that looks in essence like this
class Outer {
class Inner implements Runnable {
public void run() {
doSomething();
}
}
public synchronized void doSomething() {
//...
}
}
Which lock does Inn... | {
"language": "en",
"url": "https://stackoverflow.com/questions/37580062",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: NaN problem in Java I am converting four bytes to float and I'm getting NaN as a result, but I want the value 0.0. What am I doing wrong?
This is my code:
public class abc
{
public static void main(String[] args)
{
int[] arry = { 255, 255, 255, 255 };
int num = ((arry[0] << 24) & 0xFF000000... | {
"language": "en",
"url": "https://stackoverflow.com/questions/1807737",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Unable to set Selected List Item of RadioButtionList dynamically I have an Asp.net Radio Button List in my aspx page with two list items and values of these list items are "1","0" respectively. I am getting some values from database and performing some condition on that data to set selection of list item on the basi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/58320762",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: store a file into a ftp server using apache commons doesn't work I am trying to store a file into a ftp server using apache commons java library. I am using commons-net-3.0.1.jar. The problem is when ever i try to push the file into server, the call
StoreFile()
returns false always. It doesn't throw any exception. ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/10383302",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: REST API payment.create not creating payment I have a backend webservice (not a web page) that is attempting to create a payment from a front end client. After a couple of goes where I did not quite have the data matching between details and transaction list, where I got suitable error messages from the sandpit expl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/27260047",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Dynamically finding the path of C Binary which is invoking python I have a C binary executable called requestAudit in /apps/tools/public/requestAudit . This binary invokes a python script under /apps/tools/sf/audits/audit.py . Now I need to find the absolute path of the Binary i.e. /apps/tools/public/requestAudit i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62337220",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Dry method for webapi with multiple routing levels Is there a way to simplify when we have multiple required levels of routing fro each and every method?
I have a hypothetical WebAPI project that i'm using for a generic look at the problem. It gives us movies from some source.
public class MovieController : ApiContr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/22194558",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Grouping on a column which has multiple Groups of Duplicate data I need to group some data based on dates at locations including identifying when a range of dates has no location. I'm some of the way there in that I have managed to produce a list of ALL the dates in the range and the location.
*
*date1 locatio... | {
"language": "en",
"url": "https://stackoverflow.com/questions/12938904",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Php, bash, sshpass, scp is not working via shell_exec Issue
I have php, which run bash script via shell_exec. All is ok, but last step (scp to server) false.
sshpass -p 'PASSWORD' scp ../xlsx/"${file_pdf%.*}-$i.xlsx" USER@HOST:/var/www/html/FOLDER 2>&1
Output.
Host key verification failed.
When I run this script a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/58270070",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: I want to close my application when the user touch the notification I want to close my application when the user touch the notification, this is my code for notification code in main activity
NotificationCompat.Builder builder=new NotificationCompat.Builder(this);
builder.setSmallIcon(R.drawable.e... | {
"language": "en",
"url": "https://stackoverflow.com/questions/42021469",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to read data from database
Possible Duplicate:
Best Cocoa/Objective-C Wrapper Library for SQLite on iPhone
Can you please refer me how to read data from database in sqlite. I have an sqlite which has four tables and I want to get these four tables details in single view.
A: Please read this,
1. Download FMD... | {
"language": "en",
"url": "https://stackoverflow.com/questions/9091659",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: XElement.SetElementValue with xml string paramter and preserve xml wrapping Is that possible to set an element value by already serialized XML string?
var obj = new XElement("object");
obj.SetElementValue("InnerXml", "<testXml>Test_data</testXml>");
Result is:
<object>
<InnerXml><testXml >Test_data <... | {
"language": "en",
"url": "https://stackoverflow.com/questions/21288368",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Amazon Product Advertising API ItemSearch Signature Error in Php I tried ItemLookup like this,
http://webservices.amazon.in/onca/xml?AWSAccessKeyId=[AccessId]&AssociateTag=[AssociateId]&IdType=ISBN&ItemId=8129135728&Operation=ItemLookup&ResponseGroup=ItemAttributes%2CImages&SearchIndex=Books&Service=AWSECommerceServ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30193706",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why does dragging (drop/drag) element cause dropzone (div) to partially disappear? Using HTML5 Drag/Drop, when dragging element the dropzone partially disappears from UI, as seen in screenshot. The partial missing div in the image has a red boarder. When I remove the "hr" tag, from the code below, it works and the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/47128047",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to make my item hidden until all the the animation finishes I'm making a navigation bar and having problem hiding the button that shows the navigation until it's totally disappeared.
screen : https://i.stack.imgur.com/pv6wk.png
my code :
function show(){
var nav = document.getElementsByClassName("navigation"... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72925803",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Hibernate OGM provider for Spring configuration I created a Java application that can use SQL Server or Neo4j as a database without touching the application layer, I just modify the provider and the connection information, like follows:
<?xml version="1.0" encoding="UTF-8"?>
<persistence xmlns="http://java.sun.com/x... | {
"language": "en",
"url": "https://stackoverflow.com/questions/25341509",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Airflow parallelism the Local Executor spawns new processes while scheduling tasks. Is there a limit to the number of processes it creates. I needed to change it. I need to know what is the difference between scheduler's "max_threads" and
"parallelism" in airflow.cfg ?
A: It's 2019 and more updated docs have come ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/38200666",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "54"
} |
Q: Flume NoSuchMethodError pulling Twitter data into HDFS I can't manage to pull Twitter data using Flume into HDFS due to an error I cant't get rid of.
command :
bin/flume-ng agent --conf ./conf/ -f conf/twitter.conf -Dflume.root.logger=DEBUG,console -n TwitterAgent
console :
2020-12-14 11:38:08,662 (conf-file-polle... | {
"language": "en",
"url": "https://stackoverflow.com/questions/65295496",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Capacity scheduler in Amazon Elastic MapReduce I am totally new to Amazon Elastic MapReduce. I have a need that I want to use my custom scheduler, which is implemented based on Hadoop capacity scheduler, to schedule my jobs in Amazon Elastic MapReduce.
According to my current understanding, to achieve this, I can de... | {
"language": "en",
"url": "https://stackoverflow.com/questions/25550492",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Locked out of SSIS Package I tried to access one of my SSIS packages only to be presented with the error message (Text in square brackets is not literal):
Error 1: Error loading Package.dtsx: Failed to decrypt a package that
is encrypted with a user key. You may not be the user who encrypted
this package... | {
"language": "en",
"url": "https://stackoverflow.com/questions/20518423",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: IndexError when plotting pandas dataframe with subplots I'm working a beginner tutorial on this dataset here:
http://archive.ics.uci.edu/ml/machine-learning-databases/undocumented/connectionist-bench/sonar/sonar.all-data
I've loaded it like so:
dataset = pd.read_csv("sonar.all-data.csv", header=None)
All the number... | {
"language": "en",
"url": "https://stackoverflow.com/questions/67563612",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Plotting multiple columns, grouping by date, and adjusting scale So here I what I want, I want to plot 4 columns (Standing, Sitting, Stepping, Cycling) vs Time, and have 1 plot per date. I also want the Y scale to be scaled between 0.5 and 4.5, BUT the Y axis be invisible and a legend saying which color is which.
He... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72563268",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: RStudio project with network path When trying to make a new Rproject I get the following message:
Fatal error: Unexpected exception: rstudio_boost::filesystem::status:
Invalid function "//client/"
I have the feeling this has something to do with my working directory being a network location and the use of '\' in... | {
"language": "en",
"url": "https://stackoverflow.com/questions/59175862",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: checking for spaces with c++ So I've looked around the site for someone having a similar issue but nothing has come up and it's really been perplexing me.
#include <iostream>
#include <string>
using namespace std;
string reverse(string s)
{
int start = 0;
for(int i = 0; i < s.length(); i++)
{
if... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46693707",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Jquery validation with multi field I have a form with three select box and one hidden field. I want to validate a string that is created from three select box's value is included in hidden field.
Exampe.
<form>
<select name="s1">
<option value="1">1</option>
<option value="2">2</option>
</sel... | {
"language": "en",
"url": "https://stackoverflow.com/questions/37269990",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: git branch -d : Fatal - Couldn't look up commit object for HEAD Say I am in a bare repository (a remote), if I try to delete a branch with git branch -d <branch_name> I get the following error:
fatal: Couldn't look up commit object for HEAD
Why? Is there a reason why I should be unable to delete branches from a ba... | {
"language": "en",
"url": "https://stackoverflow.com/questions/16651506",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "13"
} |
Q: WSO2 P.PaaS : Access APIM Am new to WSO2. I have installed P.PaaS. How do I access APIM? Can you show me an example, please?
using phone. Pardon brevity.
A: You do not have to install WSO2 Private PaaS to have API Manager. From WSO2 site, you can download stand-alone API Manager or use the hosted version - WSO2 API... | {
"language": "en",
"url": "https://stackoverflow.com/questions/31742042",
"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.