Justin

1

votes
2

answer
203

views

Is there a way to specify a default option for merging a pull request in GitHub?

I'm working on a project where 'squash and merge' is the preferred approach for merging pull requests. Is there a way to make this the default option in GitHub, either for my own user, or for the project? As it stands, it's entirely too easy to select the default option (Create a merge commit). Th...
M. Justin
1

votes
2

answer
1.3k

views

Could not connect to sql server: SQL server Instance failure. (System.Data)

I get this error message when I try to connect to Sql Server =================================== Cannot connect to **SQL_ServerName**. =================================== Instance failure. (System.Data) ------------------------------ Program Location: at System.Data.SqlClient.TdsParser.Connect(Serve...
Justin Lessard
1

votes
1

answer
1.2k

views

Swift 4 Alamofire multipart upload not working

I am using alamofire 4.7 and swift 4 I need to upload image and json to server. I am using the following code below for uploading bu I am getting result failure but data is inserting in server but not getting response, showing some serialization error as something like this ▿ result : FAILURE: re...
Justin Mathews
1

votes
1

answer
11

views

How to remove margin to left of ul positioned with grid

I have a very simple grid: #grid{ display: grid; grid-template-columns: 1fr 1fr 1fr; list-style-type: none; } to style ten list items: 1 2 3 4 5 6 7 8 9 10 The above code outputs a grid that has a margin on the left side, how can I remove this (https://jsfiddle.net/0z9xuyc4/2/)?
justin
1

votes
1

answer
36

views

In Twilio, can you <Play> a random audio file from a list of provided URLs for incoming calls?

Using Twilio for an interactive art exhibition where you call the number and listen to the audio in the gallery. I'd like for incoming callers to not always hear the same 20-30 seconds of audio at the beginning of the audio file. Is it possible to provide 3-4 different audio files and one of them is...
Justin Levesque
0

votes
0

answer
3

views

How to fix error in accessing Objects method from another project when you publish a library?

I receive java.lang.NoClassDefFoundError: Could not initialize class com.mycompany.projectA.util Please see the details below I have project A with these classes. all in package com.mycompany.projectA Object Util { def foo()} import com.mycompany.projectA.util class class1 {def m1() { foo()} } i...
justin
1

votes
2

answer
44

views

Take character and return the Keypad equivalant

So I am writing code that will take a character and return its alpha-numeric keypad equivalent as a character. The problem is, I am getting a question mark in a box as a return. I have checked that the input is correct. For example, with a char 'h' input, i should get a char '4' return. Hoping some...
Justin Hayden
1

votes
0

answer
326

views

Trouble with sending a left click

I have a series of clicks and cursor movements I have in a macro. Everything works fine until the end. All the clicks work until the last click. I have tried to put various amounts of sleeps in between the clicks and before the clicks. Whats odd is that when i click for real it works! ahh Whats also...
Justin Captain Wypij
0

votes
0

answer
4

views

Would there be any way to download a mailing listserv archive on Freelists.org as an mbox format using Python or other techniques?

I am attempting to find a way to download the following listserv archive in an mbox format using Python: https://www.freelists.org/archive/program-java/ Would there be any easy way to achieve this goal? I am trying to employ text mining techniques for one of my intrest groups. However, although the...
Justin
1

votes
0

answer
164

views

Xamarin MvvmCross Fluent Binding on UWP

I am making a Windows UWP app and I'm trying to do Fluent Binding on the View, MvxWindowsPage. When I declare the MvxFluentBindingDescriptionSet var set = this.CreateBindingSet(); it gives a build time error of: The type 'FirstView' cannot be used as type parameter 'TTarget' in the generic type or m...
Justin Neff
1

votes
1

answer
181

views

reload table datatables with fragment

i m trying to reload a fragment by ajax, but when i reload my event select does not work neither the row count, it means the default config is not working as i want: @PostMapping('/admin/add') public String add(@ModelAttribute(name = 'client') Client client,Model model){ client.setPassword('sdfsdf'...
1

votes
0

answer
206

views

Sometimes allow <html> in TinyMCE

How can I configure TinyMCE so that it allows tags such as , , and but does not force them to be present? Sometimes I would like to enter the full page of HTML and sometimes I only want to enter HTML that exists inside a body. By default, TinyMCE expects content in the editor to be within a tag an...
Justin J Stark
1

votes
1

answer
123

views

Highcharts - Redundant Y Axis Point Markers (Any insight welcome!)

Having an issue with a dynamic multiple Y axes. Occasionally the spline lines register two data points and botch the spline up. This code is within programable logic controller that employs a 'widget adapter' in which the HTML is handled separately. I am admittedly a hack at this and have managed t...
Justin Lindstrom
1

votes
1

answer
368

views

AWS Nested Stacks - Referencing a Parent Stack's Resource

I'm trying to pass resources (ApiGatewayRestApi and a custom authorizer) to a nested stack through stack parameters, however, they continually fail with Embedded stack was not successfully created: The following resource(s) failed to create. Here's my set up in Serverless: Parent Stack { ... 'Neste...
Justin Kruse
1

votes
1

answer
266

views

Elasticsearch delete a list of indices with the Javascript client failing with “No Living connections”

I am using the official Elasticsearch Javascript client with version 6.0 and trying to delete a list of indices. The code is: const client = new elasticsearch.Client({ 'hosts': [ 'https://the-es-host-here.us-west-2.es.amazonaws.com' ], 'apiVersion': '6.0', 'sniffOnStart': true }); const indices = [...
Justin
1

votes
3

answer
57

views

DocuSign API - Reset/Unlock RecipientAuthenticationStatus

I'm using the DocuSign API to electronically sign documents within my app. I'm using the access code authentication feature, for some additional security; however, I am trying to 'Unlock' a signer (via the API) that has input the wrong access code too many times, without voided and creating a new e...
Justin Jones
1

votes
0

answer
284

views

How to dynamically assign throttle category to a build job in jenkinsfile

In the build environment I am working with I have X number of client build jobs that need to be kicked by a master jenkinsfile. In addition, I have Y number of branches. Out of those Y branches, some subset of those are available to be used with those client build jobs. So what I am trying to do...
Justin H
1

votes
1

answer
289

views

Openpyxl: How to troubleshoot opening a workbook

tl;dr: What are some good first steps for figuring out what is hanging up openpyxl when it is trying to load a workbook? Long version: So, I've come across a few 'why doesn't it work' like questions on SO for openpyxl but haven't seen much in the way of actual attempts to discover/fix the problem. I...
Justin Frahm
1

votes
2

answer
303

views

Google Sheets Node.JS API v4 thinks I do not pass valueInputOption to the request when it is clearly there

I am currently trying to modify a row of a given spreadsheet using the Google Sheets API v4. Part of the standard for the update request is passing in a 'valueInputOption' as part of the request. Currently, I am working with the Node.JS version of the API. My request so far looks like this: var req...
Justin Telmo
1

votes
0

answer
712

views

EF Core with Postgres - Poor performance compared to same query as raw SQL

I'm trying to diagnose the exact issue with a query that I wrote in C# against a Postgres DB that I've generated a context for in a .NET Core WebAPI project with Scaffold-DbContext. I'm expecting similar speeds for both queries, but when I use the Postgres ODBC driver or PgAdmin to run a query tha...
Justin Capalbo
1

votes
1

answer
48

views

Excel VSTO ribbon DropDownItem index to -1

I have a few VSTO ribbon combo boxes in a custom Exel ribbon. The two combo boxes that I am having difficulty with are CBO.Division and CBO.Category. I have the Division_ItemsLoading method doing a database query and filling the division combo box with the results. The CBO_Division_TextChanged has...
Justin
1

votes
1

answer
28

views

overcoming a break in a span in python

I use the below code to scrape a website. the 'phone' is a challenge. To make it functional I had to use a find all but would much prefer to use just a find. When I look for it specifically it returns this as a result(I removed the phone number): (###) ###-#### As a result, I can only get and it re...
Justin Guy
1

votes
0

answer
133

views

C# error Win32Exception was unhandled - Logon failure: unknown user name or bad password

I am attempting to launch a .exe file using different user credentials. It keeps returning an 'unknown user name or bad password' error but I have verified that these are correct. Is there any way to debug this further or anything wrong with my code? using System.Diagnostics; using System.Security;...
Justin Glass
1

votes
0

answer
40

views

Multilevel / Nested ANOVA for six lakes and parasitized / non parasitized fish

I have six lakes sampled (A1, A6, A8, B2, B7, D7) with fish measurements for parasitized (1=P) and non-parasitized fish (0=NP). I want to compare similarities or differences between each lake for three different variables (Condition Factor K, Heptosomatic Index HSI, and Gonadosomatic Index GSI) I am...
Justin SlingerVanland
1

votes
1

answer
19

views

Query equivalent to two group by's without a subquery?

I'm trying to run a report on User ACL's. We use MYSQL and my we're prohibited from using subqueries for performance reasons. The goal is to turn this: -------------------------------- | userName | folderID | roleID | -------------------------------- | gronk | 1 | 1 | | gronk |...
Just Another Justin
1

votes
1

answer
167

views

DB Collation different to Analysis Services Collation

I'm installing SQL Server 2016 and I need my DB collation to be backward compatible with previous Database setups. Therefore, I have selected SQL_Latin1_General_CP1_CI_AS. This is fine as there is an option to allow this (See below): However, when selecting Analysis Services, the option is not avail...
Justin
1

votes
1

answer
232

views

VSTS Private Agent Git Setup Ubuntu 16.04

I have successfully installed a private agent on an Ubuntu 16.04 machine using a Personal Access Token. I have also set it as a service and can see it online in the agent pool view. I have a simple build process that gets the sources from the VSTS git repo and runs npm install. The issue I am runnin...
Justin Time
1

votes
0

answer
169

views

Visual Studio randomly scrambles my markup code (designer)

I don't know if anyone has seen this behavior or found a work-around. Googling has not turned up anything yet. From time to time, when I execute my code, Visual Studio 2017 will pick a spot in my code, delete what was there, and insert a bunch of 'garbage'. It looks like: #ExternalSource ('.aspx',...
Justin Tolchin
1

votes
0

answer
284

views

Testing scrollintoview while unit testing angular

When unit testing a scrollintoview() method in Angular 2+, I receive an error -> 'Failed: Cannot read property 'scrollIntoView' of undefined' in Angular 2+ Here is my scrollintoview code: document.getElementsByClassName('class')[0].scrollIntoView(); Any ideas on how to resolve this trough an execute...
Justin Degonda
1

votes
0

answer
20

views

How can I make it so that the ball dropped only has a collision with the circle if it isn’t the same color as the section?

I am creating an app where different color balls are falling and you have to catch them with a multicolored circle by rotating the circle so that the color of that part of the circle matches the ball. One issue I am having is that I do not know how to make a physics body for only part of a circle ra...
Justin
1

votes
0

answer
71

views

What is the maximum outbound connections I can create from AWS Lambda?

I am looking at the documentation on Lamba Limits which says: Number of file descriptors 1,024 I am wondering if this is per invoking lambda or total across all lambdas? I am processing a very large number of items from a kinesis stream and I am calling a web endpoint and it I seem to be hitting...
justin.m.chase
1

votes
1

answer
412

views

NoClassDefFoundError on org/apache/cxf/jaxb/JAXBToStringStyle

Good day, I am using apache cxf and spring boot to build a web service but when I try to call the endpoint, it gives me this error: WARN 15936 --- [nio-8080-exec-4] o.a.cxf.phase.PhaseInterceptorChain : Application { endpointMethod has thrown exception, unwinding now org.apache.cxf.interceptor....
Justin
1

votes
1

answer
89

views

Azure AD Grant Permissions to Custom-Developed Application with Headless Login

I have a headless login for an AAD Authorized application that takes user credentials and passes them to Microsoft for Authorization/Authentication. I followed this applications design Microsoft provided on GitHub. I am attempting to perform Admin Consent for my application so the users do not get...
Justin Neff
1

votes
0

answer
681

views

Blob data type return Blob in vuejs

I have a challenge in getting the value of blob in my app. When I console log the file has value but in the data section, it shows Blob import { Datetime } from 'vue-datetime'; export default { components: { Datetime }, data() { return { //messages: [], text: '', imageUrl: '', imageBlob: null, // re...
Justin
1

votes
0

answer
140

views

Issue with SSL, nginx, gunicorn, and Django in production

I'm having an issue getting nginx to pass over control of routing to my django server. By default it checks '/' path and if the user isn't logged in redirects to '/login' and then upon login passes it back to '/'. The login page works fine until you submit then it throws an 'Internal server error'...
Justin Snyder
0

votes
0

answer
22

views

How can I fix “System does not contain a definition for 'Text” error

Revisiting some code that I haven't touched in a few weeks and now when I go to build it I get a few errors, one of them being: Code CS0117 'myNamespace.System' does not contain a definition for 'Text' when trying the line: string aFieldTitle = System.Text.RegularExpressions.Regex.Replace((string)af...
Justin
1

votes
0

answer
43

views

How to improve this loop so that the result will appear when the data sets are large?

The following code belongs to part of the project I am working on, the issue is that it will only run for small sets of data, but does not return result when the data set is large (due do complexity and work). How can I improve my code so that it will be more efficient? if((systemToUse == 'Preferenc...
Justin Kong
1

votes
2

answer
85

views

Why am I getting a null pointer exception during run-time? [duplicate]

This question already has an answer here: What is a NullPointerException, and how do I fix it? 12 answers I'm trying to implement a priority queue heap using an array. I'm getting a null-pointer exception error during run-time but I'm not sure why..? public class PQHeap implements PriorityQueue {...
Justin Berry
1

votes
0

answer
228

views

React-native Undefined is not an object(this.props.navigation.navigate)

I'm attempting to navigate from the login page to the welcome page upon successful login using firebase using a method called submit (located within loginForm). Everything is working with the exception of the navigation, using StackNavigation, to the Welcome page. I've looked through every post on t...
Justin Paul
1

votes
0

answer
31

views

Data not updated on using eventbus

I have eventbus that is fired when a button is clicked, the challenge is that the code inside the callback is not working but the console logging inside same callback works. This is how I'm firing the event. editCampaign (campaign) { eventBus.$emit('editCampaign', campaign); this.$router.push('/camp...
Justin

View additional