text stringlengths 15 59.8k | meta dict |
|---|---|
Q: C# Newbie: Change Entity Framework DataBound DataGrid created with WPF drag-and-drop I'm new to C# and I created a WPF GUI using Visual Studio 2010 Ultimate (Windows 7 x64).
I used drag-and-drop technology to databind a datagrid to an SQL Server 2008 database table using Entity Framework technology.
This all works v... | {
"language": "en",
"url": "https://stackoverflow.com/questions/6556771",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Pandas maximum difference of values with day-to-day intervals Continuation of previous previous question
df
Timestamp Spot DK1 Spot DK2 Ubalance DK1 Ubalance DK2
0 2020-01-01T00:00:00+01:00 33.42 33.42 34.00 34.00
1 2020-01-01T01:00:00+01:00 31.77 31.77 ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69297420",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Generic JQuery Function? I'm using Jeditable to edit dozens of fields such as first_name, last_name, birthday, etc.
My problem is that I'm drowning in detail: I keep having to create a new selector such as $('#edit_first_name').editable or $('#edit_birthday').editable to making the field editable as well as create a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7521745",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: jQuery - Exclude an li from this function? I have a ul list of 8 li's on the last li it has the id #search - I don't want the dropdown applid to this, how can I exclude it? here's my code..
$(document).ready(function () {
$('#navigation li').hover(function () {
// Show the sub menu
$('ul', this).stop(... | {
"language": "en",
"url": "https://stackoverflow.com/questions/10010575",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Shift a column in R Suppose that I have a dataframe like the following:
library(tidyverse)
df <- tibble(x = c(1,2,3), y = c(4,5,6))
# A tibble: 3 x 2
x y
<dbl> <dbl>
1 1 4
2 2 5
3 3 6
And I would like to shift a column, adding a column like:
# A tibble: 3 x 3
x y shif... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69967450",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: BCP error "Unable to open BCP host data-file" I've just create a new table in my sqlserver name exporttable
now I'm trying to push out using cmd bcp but om getting this following error:
SQLState = S1000, NativeError = 0 Error = [Microsoft][ODBC Driver 13
for SQL Server]Unable to open BCP host data-file
Here is ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/39465354",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: Logtalk : Load a file with camelcase naming on Windows With logtalk 3.1.2, under OS X and Linux, no problem to load a file with a camelcase name, but an exception is thrown on Windows (ERROR : file does not exist).
logtalk_load(mypath(myFileNameInCameCase))
What's wrong ?
A: Some backend Prolog compilers, such as ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/33387111",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Appending javascript value to gridview hyperlink. Any ideas why my code doesn't work? We have a javascript that takes start date and end date, calculates the difference between them and stores the value in a variable called hourDiff.
Here is relevant part of the js.
To avoid a scope issue, a gobal variable called ho... | {
"language": "en",
"url": "https://stackoverflow.com/questions/28727148",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Custom legend text on ASP.NET Chart bound by DataBindCrossTable I'm binding an ASP.NET Chart control with DatabindCrossTable and everything works well, except the legend text that is applied.
My table looks like this:
Year Week Value
2015 1 530
2015 2 680
...
2016 1 887
2016... | {
"language": "en",
"url": "https://stackoverflow.com/questions/44683785",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: A function like: ng-click="alert('Clicked')" For a mockup I need a simple mechanism like
ng-click="alert('Clicked')"
but the code above is not working, can someone help me? I don't want to touch the Controller..
A: Refer to previous answer, ng-click = "alert('Hello World!')" will work only if $scope points to wind... | {
"language": "en",
"url": "https://stackoverflow.com/questions/34899173",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Powerbuilder 12 classic version Scc option Unavailable I can't perform any of the source control options in powerbuilder classic version 12. They are just greyed out. at startup i get standard message Connection to source control established. objects under pbl shows sign of out of syc. but i can't use option Get Lat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/12327749",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Windows Clipboard, Store Image Using MS Forms Data Object - VBA I want to put an image on the Windows clipboard using VBA. I currently do this for text essentially as described here using the DataObject in the MS Forms 2.0 Library.
I want to do the same thing using an image file, putting the image on the clipboard i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/42676272",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: AWS Connect - Getting permission error on Wisdom:getContent I am implementing Connect Wisdom in my CCP UI. I am able to search for content and suggestions appear for documents I had previously uploaded but when i click on a suggestion it fails to load and upon checking the api call I see the error:
{"errorCode":"Acc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72803796",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Error in Loading UITableView - (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
return self.nameList.count;
}
-(UITableViewCell *)tableview:(UITableView *)tableview cellForRowAtIndexPath:(NSIndexPath *)indexPath{
static NSString *CellIdentifier=@"Cell";
UITableV... | {
"language": "en",
"url": "https://stackoverflow.com/questions/9113263",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Android TextView width I already searched internet for the solution, but none of them works for me...
I have 3 EditText's and 2 TextViews. I can't figure out how I can trim those TextViews (space after '+' and '=').
there is my .xml file:
<TableLayout xmlns:android="http://schemas.android.com/apk/res/android"
a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/28502615",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: comparing strings to pointers? Comparing strings in C So this is my code for an assignment for school, and right now my problem is in my inputID function. Where the comment says "If the same!!!!!!!!!!!!!!!!!!!!!!!!!!!", I try to compare a string given by the user and a string stored in my array of strings "IDArray".... | {
"language": "en",
"url": "https://stackoverflow.com/questions/39822866",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Matlab filter2 and opencv sobel produce different image gradients I need to implement histogram of oriented gradients for patches in an image (one HOG feature vector per patch, not one HOG for the whole image). I have been using the Matlab code at this link and translating the code to opencv python. I have made some... | {
"language": "en",
"url": "https://stackoverflow.com/questions/41384784",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Do you have any personal visual clue in your code for other user and not the compiler? i use certain suffix in my variable name, a combination of an underscore and a property. such as :
$variable_html = variable that will be parse in html code.
$variable_str = string variable
$variable_int = integer variable
$var... | {
"language": "en",
"url": "https://stackoverflow.com/questions/3441118",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: MethodInfo.Invoke Works only in Debug Mode for Prism EventAggregator I have a extension method for Prism's EventAgregator to publish an event using reflection. The implementation is as follows:
MethodInfo raiseMethod = typeof(Extensions).GetMethod("Raise", BindingFlags.Public | BindingFlags.Static).MakeGenericMethod... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5870692",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to fix a value error when i fit my Machine learning model Hi there, I am learning how to write code for the fist time. I am following a video on Youtube which asks me to write the following code:
tf.random.set_seed(42)
model = tf.keras.Sequential([tf.keras.layers.Dense(1)])
model.compile(loss=tf.keras.losses.mae... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75506305",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to integrate cognito identity pool with another AWS account for API Gateway access I have a working project in AWS Account A which authenticates users using cognito user pool. Have successfully limited access to certain API Gateway endpoints (using AWS_IAM authorizers) by using fine grained roles, policies, and ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71812280",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: GIT: For http/https cloned repos only: git push failure shows password in clear text We are using https to clone a repo as following through Jenkins build:
git clone https://${repo_username}:${repo_password}@internalgit.com/scm/project/repo.git -b ${branch_name} $tmp
In above command: ${repo_username} & ${repo_pass... | {
"language": "en",
"url": "https://stackoverflow.com/questions/50633677",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: ReactJS apolloClient Could not find "client" in the context or passed in as an option I am not getting why it is firing me this problem, and it was worked same way before in my another application. I just tried last 3 days, i coulndt figure out this issue yet.
I found this solution on stackoverflow: React Apollo Err... | {
"language": "en",
"url": "https://stackoverflow.com/questions/65634034",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I get rid of this TypeError, and why is it occurring given that I am simply reassigning a value in a list? Code:
http://pastie.org/1961455
Trackback:
Traceback (most recent call last):
File "C:\Users\COMPAQ\Desktop\NoughtsCrosses.py", line 149, in <module>
main ()
File "C:\Users\COMPAQ\Desktop\Nought... | {
"language": "en",
"url": "https://stackoverflow.com/questions/6099215",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Why can Scala compiler not infer Stream type operations? Lets say I want to have a Stream of squares. A simple way to declare it would be:
scala> def squares(n: Int): Stream[Int] = n * n #:: squares(n + 1)
But doing so, yields an error:
<console>:8: error: overloaded method value * with alternatives:
(x: Double)D... | {
"language": "en",
"url": "https://stackoverflow.com/questions/13553020",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to create a dynamic model for days of week names in schedule? For the gym schedule, I need to create a model with which I will get a list of seven days names. The list will be updated daily, so in the first place will always be the current day of the week. Every day the list will be shifted to one day, so, for e... | {
"language": "en",
"url": "https://stackoverflow.com/questions/53304438",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Shape 1 of numpy array Consider
x = np.array([[1,2,3], [4,5,6], [7,8,9], [10, 11, 12]])
v = np.array([1, 0, 1])
In Python's view, x has shape (4, 3) and v shape (3, ). Why didn't Python view v as having shape (, 3). Also, why do v and v.T have the same shape (3, ). IMHO, I think if v has shape (3, ) then v.T should... | {
"language": "en",
"url": "https://stackoverflow.com/questions/55272504",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Error 1004 at the line d = Worksheets(A(i)).Cells(B(j), l) + d I am getting error at this command
d = Worksheets(A(i)).Cells(B(j), l) + d
Where I have stored the name of the sheets in Array A(i) Array B(j) is having integer values. I have already declared both the arrays along-with d as integer.
Thanks in advance,
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/22313901",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Calculate in dynamic created textbox How can I add values in my dynamically created texbox in another textbox ? For example I have 6 textbox named from TextBox0 to TextBox6 and I want to add the values in TextBox0 to TextBox5 then set that values in TextBox6. How can I do that?
This is my code for create dynamic tex... | {
"language": "en",
"url": "https://stackoverflow.com/questions/53389086",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How can I set Search Bar in list view using custom adapter? I want to add search bar in a list view using adapter class can anybody help me below is my code.
this is adapter class that I am using.
Cat_Headers_Home_Adapter.java
public class Cat_Headers_Home_Adapter extends SectionAdapter {
private A... | {
"language": "en",
"url": "https://stackoverflow.com/questions/36130081",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Rate limit exceeded in Face API What should I do when i encountered rate limit exceeded for face api other than using Task.Delay(1000)?
I have about 50 records and detect/identify/verify in 2 seconds. For the identifyasync, I set the confidence threshold to be 0.0f and the max number of candidates returned to be 50... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49359508",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: My form answers are not attaching to email I have wrote in scripting a simple question list, I need the responses to be returned in a txt file via email when the person hits submit. The front end of the file works, the email creates but the form does not post. Can anyone help with this scripting please?
Coding lis... | {
"language": "en",
"url": "https://stackoverflow.com/questions/37750925",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Call many Observable if operator I'm with a problem .. I have a flow that does the following:
*
*Create a file
*If there is a configuration variable set to true (for example,
weekday = true call a service on my server and sign a document
*Upload the file to a server through a service.
As I said in step 2, onl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52485367",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: MYSQL Query - When col1 has only 'Special' use that else use one of the other Following dataset
ID | Description | Type
-------------------------------
12204 | ABC | Special
12204 | DEF | Connector
12541 | GHI | Special
12541 | JKL | Special
12541 | MNO | Hybrid
13292 | ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/16077435",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to modify string to char array in C/C++? i'm writing a program called 'Zuma'. The program works like this.
Input:
ACCBA // a string make up of char from 'A' to 'Z'
5 // number of inputs
1 B // insert char 'B' to position '1' of the string
0 A // and so on...
2 B
4 C
0 A
When ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/26312273",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Logback config, puppet and application versions I am busy testing a new approach to managing a java application that uses logback on a puppet-managed host, and was wondering if anyone had some advice on the best approach for this. I am stuck with a catch 22 situation.
The java application is deployed to a host by an... | {
"language": "en",
"url": "https://stackoverflow.com/questions/17967612",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Mysql multiple select query to show total result by month I want to use select query for every month 1 to 12 like this. I searched from internet sub query format was little like this but it is not correct format according to my query. When I run this query for single month it is showing correct result. i want to sho... | {
"language": "en",
"url": "https://stackoverflow.com/questions/47489341",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to prevent and OrderedCollection from removing its elements in a #do: loop? Consider the following written code:
oc do: [:elem | self doSomethingWith: elem]
As we all know, the potential problem here is to somehow have #doSomethingWith: reach out oc (an OrderedCollection) and remove some of its elements.
The re... | {
"language": "en",
"url": "https://stackoverflow.com/questions/39708432",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to rename multiple folders in batch I have several folders with the following pattern as name:
123 - 1234 - string1 - string2
and would like to rename them all like
string1 - string2
using a batch file.
I was searching for something like:
@echo off
setlocal EnableDelayedExpansion
for /D %%f in (C:\Users\*) do... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23838751",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: having trouble accessing MySql database by power bi use unable to connect we encountered a error? While trying to access the database from POWER BI to MYSQL getting a error as
UNABLE TO CONNECT
we encountered a error while trying toconnect
Details: "An error happened while reading data from the provider: 'Could no... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71185418",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to sum a triple nested map with Java 8 Collectors I have this map
Map<LocalDate, Map<Integer, Map<EHourQuarter, Double>>>
EHourQuarter is an enum:
public enum EHourQuarter {
FIRST(0, 14, 15),
SECOND(15, 29, 30),
THIRD(30, 44, 45),
FOURTH(45, 59, 60);
private Integer start;
private Intege... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62790358",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: React - Get the ref present in child component in the parent component I'm not trying to do anything hacky using refs. I just need the ref to the element because the element is a canvas, and to draw on a canvas you need its ref.
class Parent extends Component {
clickDraw = () => {
// when button clicked, get t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/43601440",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: Live update Pie Chart I want to create very useful and easy way to live update Pie chart. For example:
import javafx.application.Application;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.event.EventHandler;
import javafx.scene.Group;
import javafx.scene.Scene;
impo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/21268973",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: The error of std::sort I created some instance of Node class and vector of Node class,then I pushed those instance into vector,
and I created function object "ListCompare" to sort vector.
But,I am getting the error "No matching function for call to object of type "ListCompare" " in sort function.
Why am I getting t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/24584946",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Issue with serializing JSON from a rest call Newbie developer here. I am trying to make a call to a public API. The API receives the name of a drink as a string and returns information and recipe for that name. The response from the API looks like this:
{
"drinks":[
{
"id": ...
"name": ...
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72551705",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Migrating from Eclipse to IntelliJ - Moving a project linked with EGit I have several projects linked to bitbucket repositories using EGit. If I use IntelliJ IDEA for development instead, is there anything I need to keep in mind when migrating the projects over, and keeping them on that repository and updated with I... | {
"language": "en",
"url": "https://stackoverflow.com/questions/18806932",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: I want to use jQuery("#location").load or .get ("file.php") but only returns document.write output not html from php file I get that the jQuery .load function does indeed return the results from a load of a php file, but I don't want to convert every line of html inside my php file to be:
echo " ... ";
Inside my ph... | {
"language": "en",
"url": "https://stackoverflow.com/questions/8964428",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to get "Anchor" cell of SelectedCells in WPF DataGrid? I'm coding WPF Program that shows DataTable by binding to DataGrid's ItemsSource property.
And I set following DataGrid's properties in order to select multiple cells.
SelectionMode="Extended"
SelectionUnit="CellOrRowHeader"
Furthermore, I want to add a ha... | {
"language": "en",
"url": "https://stackoverflow.com/questions/51847423",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Example of a simple web project using ES6 with webpack Right now I am building frontend assets for my php cms projects using gulp. I split javascript into multiple files and concatenate them with a thing called rigger, but could easily do the same with gulp-concat.
I am trying to move to webpack workflow with ES6 m... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49364248",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Refactoring Javascript code to use Transduction I have a doubt related to transduction in functional programming
If I have an operation -
arr.map(A).map(B).filter(C).filter(D).map(E).map(F)
To remove the intermediate creation of arrays, can I rewrite it as -
import _ from "lodash"
const mapReducer = (mapperFn) => (... | {
"language": "en",
"url": "https://stackoverflow.com/questions/70640327",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Read character datetimes without timezones I am trying to import in R a text file including datetimes. Times are stored in character format, without timezone information, but we know it is French time (Europe/Paris).
An issue arise for the days of timezone change: e.g. there is a time change from 2018-10-28 03:00:00... | {
"language": "en",
"url": "https://stackoverflow.com/questions/57497940",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Laravel get with polymorphic relationship after save() I have something like that:
$order = new Order();
$order->name = "lorem"
//some polymorphic relationship (hasOne)
$order->user()->save(new User());
return $order;
the problem is that I want to get order returned with user. I tried something like that and it wor... | {
"language": "en",
"url": "https://stackoverflow.com/questions/54846835",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Angular2 form reset with submitted values How can we reset an Angular2 form with submitted data, when I use this.form.reset(), the form get updated with the initial values, I want to reset it with the submitted values, to give the user a chance to modify some inputs without retyping all the values.
I'm using Angular... | {
"language": "en",
"url": "https://stackoverflow.com/questions/42012830",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Jenkins is not properly cloning git code in freestyle Jobs In Jenkins, I have multiple freestyle jobs. In these jobs I am cloning the code from git. As shown below picture:
source code management
But sometimes the code doesn't want to be properly cloned from the repository.
Is there any way to solve this problem? Ca... | {
"language": "en",
"url": "https://stackoverflow.com/questions/74427707",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: twitter typeahead with minimized dataset My end goal is to create a type-ahead (TA) that can be used in a key-value setting for follow-on operations. I am having an issue with initialization of a basic one.
I have a table of over 50M addresses. I realize this is too much for a TA, so my initial thought is to split... | {
"language": "en",
"url": "https://stackoverflow.com/questions/31777057",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What version of drupal is installed? I have a Drupal installation but no functioning website. How do I find what version of Drupal is installed through the command line?
I cannot login to the site, so the answers here:
How to find version of Drupal installed do not help. I am limited to using the command line with... | {
"language": "en",
"url": "https://stackoverflow.com/questions/35849635",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to open an R data file in R window I have some data in R that I intend to analyze. However, the file is not displaying the data. Instead, It is only showing a variable in the data. The following is the procedure I used to load the data and the output produced.
load("C:\Users\user\AppData\Local\Temp\1_29_923-Macd... | {
"language": "en",
"url": "https://stackoverflow.com/questions/43397892",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How can i make this a valid WSDL? I'm trying to generate code from this WSDL using the following command:
svcutil /noConfig /language:C# /out:ICatalog.cs http://schemas.opengis.net/csw/2.0.2/profiles/ebrim/1.0/wsdl/2.0/csw-ebrim-interface.wsdl
However svcutil cannot read it, and the xMethods WSDL validator says it'... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7417898",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Get Embedded pdf File I have looked through the forums and found many seemingly related questions, but nothing has helped thus far. I want to be able to get select pdfs from various websites. Here is a snippet that I'm using successfully for most of the documents I'm interested in.
if (!String.IsNullOrEmpty(filePath... | {
"language": "en",
"url": "https://stackoverflow.com/questions/13795184",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Looking for the easiest way to extract an unknown substring from within a string. (terms separated by slashes) The initial string:
initString = '/digital/collection/music/bunch/of/other/stuff'
What I want: music
*
*Specifically, I want any term (will never include slashes) that would come between collection/ and... | {
"language": "en",
"url": "https://stackoverflow.com/questions/58564271",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Filter strings within <...> using a Windows 10 script In the file testxml.txt, there are a series of strings enclosed within, and separated by < and >.
I want to filter in those strings 2 values: text="any character" and bounds="[number][number]".
<?xml version='1.0' encoding='UTF-8' standalone='yes' ?><hierarchy ro... | {
"language": "en",
"url": "https://stackoverflow.com/questions/73318726",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: How to notify user when someone follows? How can we notify a user when he has a new follower?
create_notification is suppose to trigger a notification, but I get different errors with different attempts.
relationship.rb
class Relationship < ActiveRecord::Base
after_create :create_notification
has_many :notificat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30906226",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to assign variable names to each for loop item - Powershell I would like to be able to iterate through an array of monitors for a computer (pulled through WMI) and then assign each one its own value, so that I can output the results to a csv, with each monitor, mfg, date,sn on its own column.
For example:
Monit... | {
"language": "en",
"url": "https://stackoverflow.com/questions/26259714",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: iPhone 5 [[UIScreen mainScreen] bounds].size.height
Possible Duplicate:
How to develop or migrate apps for iPhone 5 screen resolution?
How to deal with iPhone 5 screen size?
What to check in order to support the iPhone 5's longer screen?
With the new screen size on iPhone 5, anyone know or guess what [[UIScreen m... | {
"language": "en",
"url": "https://stackoverflow.com/questions/12398521",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Using Nginx with Wordpress to perform a non-template URLs redirections The Case
We have 2 websites, each website has a different URL structure:
*
*www.domain1.com/category/sub-category/post-id/slug
*www.domain2.net/category/sub-category/yyyy/mm/dd/slug
Each website has a separate CMS (Java-based), a separate data... | {
"language": "en",
"url": "https://stackoverflow.com/questions/54724254",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Spark re partition logic for databricks scalable cluster Databricks spark cluster can auto-scale as per load.
I am reading gzip files in spark and doing repartitoning on the rdd to get parallelism as for gzip file it will be read on signle core and generate rdd with one partition.
As per this post ideal number of pa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/59465708",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Android - Different colors in different devices I'm developing an application for Android, and the colors of drawables changes when I'm testing the app on Samsung Galaxy S2, and when I test the application on Samsung Galaxy Europe or on emulator, appears the real colors of the drawable. For exemple, the gradient whi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/9992818",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: how to get original string value from encrypted string? I am encrypting password using DigestUtils.sha256Hex("password").I get encrypted password as 5e884898da28047151d0e56f8dc6292773603d0d6aabbdd62a11ef721d1542d8
I want original password string from encrypted . How shall i get it?
Please help me.
Thanks
A: The who... | {
"language": "en",
"url": "https://stackoverflow.com/questions/26252976",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Place Graph on Kivy as a Widget with Button I want to put a graph that self updates. So when I press a Kivy button on my GUI script written with Python and it's supposed to take me to a Screen. The Screen has a graph on a part of the Screen and buttons on the rest of the screen. However, I add the graph and it opens... | {
"language": "en",
"url": "https://stackoverflow.com/questions/44477698",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Why multiple let bindings are possible inside a method in F# A colleague reviewed my code and asked why I was using the following pattern:
type MyType() =
member this.TestMethod() =
let a = 1
// do some work
let a = 2 // another value of a from the work result
()
I told him that that was a bad pat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/32051233",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Selenium Python - HTTP ERROR 405 - Method Not Allowed I am developing a Selenium Python script that submits information thru an internal system forms.
After inputting all information in the forms page and click on submit button, I get the an error message:
HTTP ERROR 405 - Method Not Allowed message
Sometimes it all... | {
"language": "en",
"url": "https://stackoverflow.com/questions/74118839",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: URL Rewriting Error With Wordpress I'm using Wordpress. But i have a problem with URL Rewriting. I'm using this scheme :
http://www.domain.com/post-title/
http://www.domain.com/another-post-title/
There isn't problem with this. This is working. But, i have a directory (zencart) on root. I'm browsing to this URL :
h... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5107336",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: using pointer * when I want to change the value of a variable #include <stdio.h>
int main(void) {
int x = 5;
int y = 10;
int* px = &x;
int* py = &y;
printf("the adress of %d is %p.\n",x,px);
printf("the adress of %d is %p.\n",y,py);
*px = 8;//change the value at the adress of px
*py = 18;
//w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69170346",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Object couldn't be converted to string I'm getting this error message when trying to make a PDO connection:
Object of class dbConnection could not be converted to string in (line)
This is my code:
class dbConnection
{
protected $db_conn;
public $db_name = "todo";
public $db_user = "root";
public $d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/38243373",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: How can I render a simple constructor in react app? /src/App.js
Line 22:16: Parsing error: Unexpected token, expected ";"
20 |
21 | const App = () => {
> 22 | constructor() {
| ^
23 | super()
24 | this.state = {
25 | input:
A: You can't add a constructor to a ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/59319939",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Isolate part of url with php and then print it in html element I am building a gallery in WordPress and I'm trying to grab a specific part of my URL to echo into the id of a div.
This is my URL:
http://www.url.com/gallery/truck-gallery-1
I want to isolate the id of the gallery which will always be a number(in this ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/6499659",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Is this a nasty global hash? I heard that certain practices such as global variables are often frowned upon. I would like to find out if it is generally also frowned upon to place a hash at the level shown below. If so, how should it be done so that it is smiled upon?
class Dictionary
@@dictionary_hash = {"Apple"=... | {
"language": "en",
"url": "https://stackoverflow.com/questions/34089878",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: SSPI Schannel API - Can credential handles be re-used? I am currently adding SSPI Schannel API support to libcurl in order to make it possible to use SSL enabled protocols on Windows without any external dependency, such as OpenSSL.
I already have a working SSL/TLS implementation, but I have a very specific questio... | {
"language": "en",
"url": "https://stackoverflow.com/questions/10084257",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: A/libc﹕ Fatal signal 11 (SIGSEGV) at 0xdeadd00d (code=1) I am trying to run telegram. In my LogCat this error appears:
A/libc﹕ Fatal signal 11 (SIGSEGV) at 0xdeadd00d (code=1), thread 1768 (m.telegram.beta
My logcat:
I/dalvikvm﹕ | schedstat=( 181904898 336868213 182 ) utm=10 stm=8 core=0
I/dalvikvm﹕ #00 pc 0008f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/36261342",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: My code ends at certain line I am practicing my net Java skills and I have created a server Java class that connects to the specified by the user port number:
import java.net.*;
import java.util.*;
import java.io.*;
public class WebServerMain {
public WebServerMain(int port){
try{
String con... | {
"language": "en",
"url": "https://stackoverflow.com/questions/47014657",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: For-loop with string possible? I need something like this. Is it possible in Java?
for(String i = "A"; i < "Z"; i++) {
System.out.println(i);
}
A: You can do it by:
for (char alphabet = 'A'; alphabet <= 'Z'; alphabet++) {
System.out.println(alphabet);
}
| {
"language": "en",
"url": "https://stackoverflow.com/questions/47293626",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: DAG, Scala/Akka I was wondering the best implementation of a DAG (Directed Acyclic Graph) using Scala/Akka where each node can be potentially on different VMs, different computers.
Think of each node as a Scala actor who would only act on its direct parents (in graph terms), how would you implement this at a high le... | {
"language": "en",
"url": "https://stackoverflow.com/questions/10500532",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Query to json firebase object or redux state I'm building my first web app with React, Redux and Firebase, it's about registering the assistance of students (alumnos) to lessons (clases). I've the following database structure (the same in Redux state, this.props).
"clases" : {
"-LpQkLyGXEd-Up8hExTx" : {
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/58066663",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to create a Lock in 2 timer tasks Java reliably (So will wait when other is running) I am running 2 timer tasks. it's something like
@Autowired
private Insertion insertion;
@Autowired
private Updation updation;
*
*insert some data in DB
timer.schedule(insertion,1000,5000)
public run() {
if(!Updationha... | {
"language": "en",
"url": "https://stackoverflow.com/questions/39412105",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: GCC: "__unused__" vs just "unused" in variable attributes According to GCC's own documentation on variable attributes, the correct syntax for declaring an attribute unused is __attribute__((unused)).
However, in many examples and other code online, I frequently see __attribute__((__unused__)) instead, and they appea... | {
"language": "en",
"url": "https://stackoverflow.com/questions/27139518",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: JUnit 5 tests are executed in parallel inside IntelliJ and locally with Maven, but not inside Maven Docker container on Google Cloud Build I am using JUnit 5 in my Maven project.
My junit-platform.properties looks like this:
junit.jupiter.execution.parallel.enabled=true
junit.jupiter.execution.parallel.mode.default=... | {
"language": "en",
"url": "https://stackoverflow.com/questions/58336937",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Scalar subquery cannot have more than one column unless using SELECT AS STRUCT to build STRUCT values I'm trying to write a query in BigQuery that select some rows based on row number and sum the columns.
In details, I have two tables: in table1 there are for each id the number of rows of table2 that I want to sum. ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72041517",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Automapper Map Property as Collection I need to map ICustomerAddresses to my own custom object Address, or List < Address >. How can I use automapper to indicate that the property Customer.ICustomerAddresses maps to my custom Address?
To, illustrate, I have a an interface that has its properties listed like this:
pu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/9058632",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how to exclude image files within public folder In the public folder, I have two folder hk and sg, they have different image files.
What I want is if I build hk package, I only copy images from hk folder.
How to exclude the sg folder in ember-cli?
A: Ember uses Broccoli.js for it's build pipeline. Broccoli is build... | {
"language": "en",
"url": "https://stackoverflow.com/questions/60181923",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Why multiple JADE GUI appear on refreshing JSP page I want to run JADE middleware GUI from JSP, for that I created a "Dynamic Web Project" and made right click on WebContent folder and select New .. Other ..type JsP file and gave the name e.g. runJADE.jsp. Now add the following details inside runJADE.jsp
<%@ page im... | {
"language": "en",
"url": "https://stackoverflow.com/questions/18076898",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Do indexes persist on derived tables? Say I have a large table containing genomic positions from various files as follows:
CREATE TABLE chromosomal_positions (
file_id INT,
chromosome_id INT,
position INT
)
I want to compare the contents of 1 file to the contents of everything all the other files, for... | {
"language": "en",
"url": "https://stackoverflow.com/questions/21932119",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Im trying to understand subversion / git I am trying to understand and learn how to use subversion or git. Which do you recommend?
It seem so complicated and confusing.
I do a lot of PHP web development projects. I have a habit backing up project folders like project_name_version_date
What is the best way to learn f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5826237",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How can I get a URL entered into WinForms OpenFileDialog? If a user enters a URL into a Windows Forms OpenFileDialog then the dialog box (on more modern versions) of Windows will download the file and open it from a temporary directory. Is there any way to get at the entered URL? Could the new-fangled IFileDialog ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/32686429",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Angular.js Authentication with Node.js I'm unable to login with front-end might be problem with Angular-ui-Router. When I click on login button first I got an error as 'Possibly unhandled rejection' then I injected '$qProvider' in config file after adding $qProvider I don't see any error in console but the page is n... | {
"language": "en",
"url": "https://stackoverflow.com/questions/43290498",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to save information in multiple text boxes with save and load buttons I'm trying to create a simple Android program that has text boxes for name, address, phone number, etc. When the user puts this information in and hits save it clears the text boxes, and when they hit the load button it retrieves the info. I k... | {
"language": "en",
"url": "https://stackoverflow.com/questions/26452742",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to parse the array from one activity to fragment in android? I am bulding an android application where an user select There
favorite stuff.
The name of stuff is added in an array by clicking on Image of this
stuff.
Now I need is that how can I parse the value of that array to any
fragment and show in my spin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/26858821",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Number of pairs that create a real number when placed in the exponent of complex number i In my intro Python class, we're exploring the use of complex numbers. I'm asked to use for loops to find the number of pairs of variables x and y that, for a given value of N, satisfy the conditions
a) 0 <= x < y <= N and
b) ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/39583390",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Django creates Static Folder When uploading my statics with `collectstatic' on Google Cloud Storage, it does upload the files into the main root of the bucket, instead in a folder called "/static/", so the web on production can't read the statics. How can I create the folder "/static/" and upload the files there on... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69622200",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: C# FileInfo Name foreach I have this code:
FileInfo finfo = new FileInfo(Path.Combine(Directory.GetCurrentDirectory(), "cleo", file.Key));
DialogResult modifiedcleofiles = MessageBox.Show("error", "error title", MessageBoxButtons.OKCancel, MessageBoxIcon.Warning);
if(modifiedcleofiles == DialogResult.OK)
{
Mes... | {
"language": "en",
"url": "https://stackoverflow.com/questions/31586039",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I build a dictionary of members with children from mysql in python? I am developing a unilevel Multi Level Marketing (MLM) application which stores data with mysql columns id, parent_id
with each item having one parent. each item can have up to 50 children. Given a particular id, how do I get all its childre... | {
"language": "en",
"url": "https://stackoverflow.com/questions/66650326",
"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.