Eddie Eddie Eddie

1

votes
4

answer
110

views

Best way to match list of words with a list of job descriptions python

Here is my problem (I'm working on python) : I have a Dataframe with columns: Index(['job_title', 'company', 'job_label', 'description'], dtype='object') And I have a list of words that contains 300 skills: keywords = ['C++','Data Analytics','python','R', ............ 'Django'] I need to match tho...
Eddie A.
1

votes
2

answer
186

views

java jdbc check if value exists before inserting into table

I'm working on a Java project and I've hit a wall regarding inserting values into my table. I wanted to have a check before inserting into this table to see if there were any duplicates. I've tried an executeUpdate with a resultset for executequery afterwards, but I'm getting 'java.sql.SQLException:...
Eddie
1

votes
3

answer
113

views

How to output each word in a char array backwards

I have to make a function which reverses words that have been written in an char array. char reverse(char m[50]) { for (int i = 0; i = m[0]; j--) { m[i] = m[j]; } } } This is the code I have in mind which would output something like this: Input: I am new Output: wen ma I What I need is: Input: I am...
Eddie
1

votes
0

answer
74

views

Tried both ng-repeat and ng-options for select dropdown; query results keep coming back empty

First, let me make a couple of disclaimers: This is my very first time posting a question here. I only do so because I've tried numerous possible solutions to similar questions over the past 24 hours and gotten nowhere. I'm also a complete newbie to AngularJS (using 1.5.6). I'm starting to understan...
Eddie
1

votes
0

answer
91

views

getting any overlaps even when rotated

I have been learning about konva and html canvas and with the help of the community here I have a canvas with draggable shapes which stay in the bounds of the stage even when rotated. Also, my konva code is detecting intersections in dragboundfunc and setting strokeEnabled to true if a intersection...
Eddie
1

votes
0

answer
54

views

Google app script import CSVs

Okay. Multiple people use the scanpet app to create csv files of 3 columns [uniformly structured, no headers in csv]. I'd like them to email the created file to a gmail account, then go to a google form. I realize for this to work it's have to be done after each email submitted and that is okay......
Eddie Freeman
1

votes
1

answer
269

views

Querying a json object in typescript

recently i stumbled upon a problem, while getting some json data from a url. My problem is that Datarows contains 5 rows, each row containing 47 cells. Of the 47 cells in each row i am only interested in two of them namely: Cell with Key = 'Title' Cell with Key = 'Path' So my question is: How do i q...
Eddie
1

votes
2

answer
315

views

jQuery DataTables: comparing two columns

I'm running the latest version of the jQuery DataTables and using the server side option. I'm running into a problem when trying to complete a simple compare of two columns of data. This DOCS_VER value in column 5 below will contain a 0 or a 1: { 'data': 'DOCS_VER' }, And the DOCS_WAIT database valu...
Eddie B
1

votes
1

answer
260

views

tkinter: dynamically create and delete entry

I am using tkinter to create a small GUI for some Python scripts. For this GUI I need a Combobox named combo with three options: 'none' (the user wants to hand in no data) 'constant' (the user wants to hand in only one value) 'adjustable' (the user wants to hand in more than one value) Depending on...
eDDie
1

votes
0

answer
220

views

Firebase Cloud Message appears only if iOS app is in background

I'm integrating Firebase Cloud Messaging into a React Native app and have a nifty problem on iOS: If the app is in the background, the notification shows as expected, but if the app is in the foreground then nothing happens. I have added the AppDelegate.m code from the RNFirebase documentation, incl...
1

votes
0

answer
70

views

Access Outlook Android app events locally from custom app

My intent is to have ability to see newly added events to Outlook android app in aggregator application without network connection. What I tried: 1) ActiveSync does not sync the calendars/events locally (considering the source code), and it does not access the content providers of local Outlook app...
Eddie Jamsession
1

votes
1

answer
67

views

Changing values of the points attribute on hover - SVG - polyline

So I have this svg element, which is basically a cube: #rect1 {fill: url(#Gradient1)} .stop1 {stop-color: black} .stop2 {stop-color: #5961FF} #cube { transform-origin: 50% 30%; transform: scale(0.5); transform: translate(-220px, 0); } #cube-text { font-size: 2.5em; fill: red; transform: r...
Eddie Taliaferro
1

votes
0

answer
281

views

Flask SqlAlchemy/Alembic migration sends invalid charset to PyMysql

I've spent a 3+ hours on this for 18 of the last 21 days. Please, someone, tell me what I'm misunderstanding! TL;DR: My code is repeatedly sending the db charset as a string to PyMysql, while it expects an object with an attribute called 'encoding' Background This is Python code running on a docker...
Eddie Knight
1

votes
0

answer
104

views

Attempt to invoke interface method 'org.chromium.ui.base.EventForwarder

The following is from a Crashlytics report. I have no clue what any of these words mean or how they relate to my app. The phone is samsung SM-G955U (OS version 7.0). Fatal Exception: java.lang.NullPointerException Attempt to invoke interface method 'org.chromium.ui.base.EventForwarder org.chromium.c...
Eddie
1

votes
0

answer
58

views

Is it possible to modify browser page DOM using classic C code injection, without writing an extension?

On my local home computer, I want to be able to change my Chrome web browser page content dynamically, without using google extension API. For example, when I surf here on Stackoverflow.com, I want to be able to replace every picture on the web page, with a picture of mine. Or alternatively, add a...
Edd Eddie
1

votes
2

answer
23

views

SQL Select to return one line multiple times based on a number within the dataset

So I've tried many other attempts at answers around this topic from here and so far everything has either outright failed or not given me the result I'm after: I have a select statement to use for a report that brings through delivery information. The result set is from a main table that only has on...
eddie_head01
1

votes
1

answer
66

views

Nginx is downloading PHP files when trying to remove the extension

So, basically my current configuration is like below. Whenever I try and request the URL without the PHP extension it downloads it instead? server { listen [::]:80; root myDirectory; index index.php index.html; server_name myDomain; location / { try_files $uri $uri/ $uri.php $uri.php$is_args$query_s...
Eddie Jibson
1

votes
0

answer
45

views

AdMob refresh causing onDragEvent crashes?

My app occasionally gets this onDragEvent error causing it to crash: java.lang.NullPointerException: at org.chromium.android_webview.AwContents$AwViewMethodsImpl.onDragEvent (AwContents.java:3122) at com.android.webview.chromium.WebViewChromium.onDragEvent (WebViewChromium.java:32969) at android.we...
Eddie
1

votes
2

answer
39

views

VBA - Call Excel Object in Function from Add-in

I have a Excel Object named ThisWorkbook and a Module named Module1. In Module1, I have a function called function1. ThisWorkbook has a private sub called sub1. When user call this function, I want Excel to do sub1 first and if it has no error, perform the rest of the function. However, I am unable...
Eddie
1

votes
1

answer
694

views

Service worker not activating

Web site with service worker, hosted https://121eddie.github.io/ and run in Chrome 66.0.3359.181 /index.html correctly traces the following registration on every load window.addEventListener('load', async function(){ if ( 'serviceWorker' in navigator ) { try{ var registration=await navigator.service...
eddie
1

votes
0

answer
315

views

Prometheus bulk import

I live in a B2B world where I do not have direct access to my production systems, as they typically reside in some locked down customer lab. I am able to get diagnostics and such, via the customer, when they are needed. What I'd like is to be able to analyse my node statistics in prometheus/grapha...
Eddie
1

votes
0

answer
249

views

Caddy forward-proxy configuration and usage request syntax

I have an old app that was working fine using cURL to make a request to a server, but now cannot connect due to upgraded requirements for TLS2.1 or newer on the server end. I'm trying to use Caddy as a forward-proxy to upgrade the connection from http to the latest https standards. The downloaded Ca...
Eddie
1

votes
1

answer
80

views

Osmosis throws strange Java error

I have been attempting to import a north-america-latest.osm.pbf (from Geofabrik) into a Postgres database for some time. After reviewing the wiki detailed usage page thoroughly, I set the database to include all necessary tables (pgSnapshot) via the included sql scripts. I also made sure that osmosi...
eddie
1

votes
0

answer
97

views

How to add runtime openId configuration in .net core

After a research, I got t know we can use SchemeProvider to use AddScheme at runtime from below links Adding new authentication schemes dynamically https://github.com/aspnet/AuthSamples/tree/master/samples/DynamicSchemes My concern is how to add OpenIdConnectOptions at run time where all values of O...
Eddie Gahan
1

votes
1

answer
222

views

React native events fail to emit when called from IntentService

For some reason when emitting an event via an IntentService nothing happens on the Javascript side. Here's what I'm doing: Create an IntentService with an onHandleIntent method like so: @Override protected void onHandleIntent(@Nullable final Intent intent) { if (intent != null) { logger.info('Broadc...
Eddie Owens
1

votes
1

answer
79

views

Snakemake and pandas syntax

I have a input file as follow SampleName Run Read1 Read2 A run1 test/true_data/4k_R1.fq test/true_data/4k_R2.fq A run2 test/samples/A.fastq test/samples/A2.fastq B run1 test/samples/B.fastq test/samples/B2.fastq C run1 test/samples/C.fastq test/samples/C5.fastq D So I am getting all indexs in an ar...
Eddie
1

votes
1

answer
566

views

Injecting configuration values in ASP .NET Core 2.1

As with others, I disagree with injecting IOptions into every service that may need it, and looked for other options. My goal was to inject the values needed by the service, and nothing more. I came up with the following, which is working and functional, but is it SOLID and maintainable? Seems to...
Eddie T
1

votes
1

answer
99

views

merge multiple YAML files under a new field

I have several YAML files representing the pieces of a whole. I want to merge them under a new field ('guests') that declares the whole. file1.yml name: johnny age: 23 file2.yml name: sally age: 21 output.yml guests: - name: johnny age: 23 - name: sally age: 21 tools like yq make merging/overwritin...
Eddie
1

votes
2

answer
84

views

How to check if a data from an API is in an elasticsearch index using python, and, if it isn't, insert it

I would to retrive some data from the Open Weather Map API and insert them into an Elasticsearch index with Python. Then I would take some new ones and check if they are already in the index. If they are not, I would add them in the index. If they are already in it, they should be ignored. import da...
Eddie
1

votes
2

answer
35

views

How can I populate a select field based on the choice of it's foreign key in Django?

Basically I have this situation. Models - Employer, EmployerContact EmployerContact is a foreignkey to Employer. In my form, I want to choose the employer, then dynamically populate the select field of EmployerContact with only contacts for the chosen Employer ONLY. Right now it shows all EmployerCo...
Eddie Sherman
1

votes
1

answer
41

views

C# (WPF) - Data Context results in View not Sub-Data

I'm new to WPF MVVM and I've been working my way to an almost complete application. There's only one issue, and I can't seem to figure out what I'm doing wrong. Let me add that I've only got a Winforms background and Databinding is something I've never needed to do, so if the solution seems obvious,...
Proton Eddie
1

votes
1

answer
33

views

Extending existing RESTful API using Node.js

I am currently running a web service on an Apache Tomcat servlet container. The web service has a base URL and exposes my applications data using the following structure: http://[hostname]:[port]/path/to/root/[db_table_name]/[primary_key]?fields=name,... An HTTP GET call to a URL like the one above...
Eddie
1

votes
1

answer
174

views

Connect to Azure Postgres database using Knex.js and Objection.js

I've been trying to connect to my azure postgres database remotely with a node API. I'm using the latest version of node, objection.js, knex.js and pg. My host address is (databasePath) : project-name.database.windows.net I've setup a wrapper to help with the SQL connection. My connection parameter...
Eddie D
1

votes
1

answer
41

views

Android toolbar gets hidden when I select a tab in a coordinator layout

I have a TabLayout with 4 tabs inside a Coordinator Layout and everytime I select the 4th tab, the toolbar gets hidden. That doesn't happen with the other tabs though. Similar issue occurs when I select an item from a dropdown menu inside the 3rd tab. How can I avoid that and allow the toolbar to ge...
Eddie
2

votes
1

answer
12

views

I am trying to pass multiple checkboxs to a $_POST page and save data to a database

I have multiple checkbox entry that need to be passed to a $_POST page separate out the multiple selections in each checkbox and pass those answers to a database. I have been able grab data from the checkbox and separate out the data, place, but only the last checkbox that is selected gets recorded...
Eddie
1

votes
0

answer
67

views

Can't seem to get three.js to rotate correctly when using react and three.js

I am using react on typescript, and trying to figure out how three.js works but have stumbled on a few problems regarding camera rotation, and in general camera movement OnComponentDidMount loads my fake data and begins to draw. I manage to draw the image (not correctly but i draw it none the less)...
Eddie
1

votes
1

answer
546

views

I am getting the cannot find module '@angular/compiler-cli'

I have created a new project but it is not allowing me to ng serve it. It is giving me the 'cannot find module @angular/compiler-cli' error. I've tried clearing the cache, deleting the node_modules folder from within my project but I am still getting the error. I had previously run npm install -g @a...
Eddie
1

votes
1

answer
45

views

Python 3.6: Why does pickle.dumps(nparray) permanently increase refcount?

An np.ndarray, when pickled, increments reference counter from the dumps function, however the ref count is never decremented. Python 3.6.4 Anaconda Ubuntu 16.04.5 LTS numpy 1.16.0 I have already tried converting to a list using numpy.array.tolist() however this method is far too slow. import numpy...
Eddie Callahan
1

votes
0

answer
20

views

Is it possible to add CID TTF Names using python script with fontforge library?

I really need to add/change the 'Preferred Family' and 'Preferred Styles' to the TTF Names table into the CID font info meta data. The following code successfully edits both the standard font info and cid font info, but the name table remains unchanged. I suspect the appendSFNTName() method tries to...
Eddie Cheng
1

votes
1

answer
31

views

JAVA Sorting a vector with .compareTo and by filling another vector

I am having some trouble sorting a vector by comparing the elements finding the minimum and putting it in another vector that will be the sorted one using two cycles, in particular i keep having ArrayIndexOutOfBoundsException. Vector myList = new Vector(); //this is the vector with all the unsorted...
eddie felson

View additional