Josh......

1

votes
1

answer
114

views

Firestore Import - no error, but no changes

I'm attempting to use the instructions here: https://firebase.google.com/docs/firestore/manage-data/export-import to a) do periodic backups of data from my production instance, and b) copy data between production/staging/dev instances. For what it's worth, each instance is in a separate Firebase pro...
Josh
1

votes
2

answer
43

views

Trapezoid Sections, Clipping Background Images

I am trying to create a web layout with trapezoid shapes like in the image attached. With the addition that each section has a background-image that fills the background with cover or a like result. The first section (dark blue) I have achieved simply using skew and two divs as demonstrated below. H...
Josh Kahane
1

votes
3

answer
38

views

How to change the placeholder text if user selects an options

I currently have 2 option value in my asp form group where one represents country and the other is for the state/province. Is there any way to interchange the text? For example when user selects canada the placeholder text will be province where when U.S is selected the placeholder will be State. Ca...
Josh
0

votes
0

answer
2

views

Read data from a file, print the database using the class, and then search the database using the rest of the data from the file

I am needing to create a class that reads data from the file 'cars.txt'. Each line of the data gets stored into a database until it reaches the stop point in the file. Same goes for searching the database, the search tells the information of each car from the file that it searches, and if its not in...
Josh S
0

votes
0

answer
7

views

Access environment variables in handlebar template

I need to access environment variables from a handlebar template. I can use my environment variable elsewhere so I know it's set properly. But after I run browserify my index.html page just shows 'g.src = process.env.MTM;' instead of 'g.src = myEnvironmentVariable' This is the relevant code within m...
Josh
1

votes
1

answer
68

views

Firebase Database - Share Data When UID Unknown?

In Firebase Database; If user_a has data they can access and they want to share this data with user_b, what is the best practice and database structure for securely sharing this data between specific users? Important: user_a doesn't have any information about user_b account, e.g. uid. Detailed Examp...
Josh Kahane
1

votes
6

answer
34

views

Removing patterns in list

I have a list as following: list=[80,'error',100,74,72,71,'error',39,38,63,'error',82,'error',62,75,23,77,87,'error',36] and I want to remove 'error' from the list : llist=len(list) for i in range(llist): if list[i]=='error': del list[i] llist-=1 print(list) but the compiler still display,'if list[i...
Josh
0

votes
0

answer
15

views

SetSize() not working properly : selenium + java

i'm trying to set my browser size through the following code by setting it to (411,850) but its setting it to (513,850) for windows only.: width is 513 instead of 411 ,only for windows. public void setSize(int width, int height) { try { System.out.println('Before setSize : '+driver.manage().window()...
josh
1

votes
1

answer
355

views

Filtering Event Messages using Microsoft Graph REST API

I would like to query only Event Messages from Outlook Mail using the Microsoft GRAPH API. I could not find any information on this in the documentation for Microsoft Graph. I have tried the following queries on the Graph Explorers, but none worked. It seems like Microsoft Graph does not support th...
Josh Pham
1

votes
0

answer
134

views

`aws apigateway put-integration`: “Lambda function ARN must be in same account”

I am trying to follow this otherwise excellent post to deploy a Java-based AWS lambda app. I'm scripting it out as instructed in that post. I receive the following error when calling aws apigateway put-integration: An error occurred (BadRequestException) when calling the PutIntegration operation: La...
Josh Long
1

votes
1

answer
119

views

GridMvc not filtering all Fields

I'm using GridMvc with asp.net mvc 4.5. All of the filters are working except a few strings. I can't see any difference between these strings and the strings that are working. What am I missing? View @model Infotech.Coverpools.Portal.Tintaglia.Web.Models.AccountHistoryVM @using GridMvc.Html Account...
Josh McGee
1

votes
0

answer
75

views

Manage contact list using Microsoft Graph

I would like to create/read/edit and delete contact lists (similar to Exchange category, where you can group multiple contacts) of Office 365 Outlook using the Microsoft API. I have went through the documentation and attempted to perform the actions above using Microsoft Graft Explorer. It seems lik...
Josh Pham
1

votes
0

answer
930

views

Spring SimpleJdbcCall Oracle sql/pl - Unable to determine the correct call signature - multiple procedures/functions/signatures

I have a stored procedure in a package which has it defined with three different method signatures in the same package. They vary by only a few parameters (each calls the next with a few default values). I've over-simplified the list of columns for the sake of brevity here. I have about 55 fields...
Josh Hull
1

votes
1

answer
286

views

What are the properties in an ARM template for a Dynamics 365 CRM logic app connector?

Logic app connectors are closed source and the 'Automation Script' option in the Azure portal strips the authentication portions of the properties node from connectors. This is what the portal hands you when you script out the ARM template for a logic app which talks to CRM. { 'comments': 'Generaliz...
Josh
1

votes
0

answer
23

views

Dynamically settings contents of iframe and resize

If I have the following iframe and I set the iframe contents using the below javascript+jquery $('#template-preview').contents().find('html').html(code); if I query the iframe's scroll height using document.getElementById('template-preview').contentWindow.document.body.scrollHeight or via $('#tem...
Josh
1

votes
1

answer
283

views

YouTube API/JSON/Swift

Needing your help on something I can't seem to figure out. I am trying to display my current Youtube Videos via API/JSON and when I go to build project and click the tab that is suppose to build the videos in my view controller I get an error at: 'Thread 1: Fatal error: Unexpectedly found nil while...
Josh Napper
1

votes
1

answer
137

views

Index Match Array: Index Range And Multiple Matches

I have a block of data in the following layout on tab Group Commissions (I'm attaching a photo as well.). On a separate tab named for the agent Paul, I'm trying to cross reference the Client Name in cell B11 and the Agent name in cell B4 with the data on Group Commissions to return a specific agent'...
Josh
1

votes
1

answer
30

views

How can I call a method at the end of every subclass declaration from a superclass?

Edit - Changed question to clarify what I need and remove any confusion I have a superclass with a class method that needs to be called in every subclass: class SuperClass def self.super_method puts 'super method was called' end end I need this method to be called at the end of every subclass (after...
Josh Hadik
1

votes
2

answer
698

views

Undefined symbols for architecture x86_64 in iOS project

I'm trying to use this Spotify SDK integration for React Native in my iOS project. I'm getting the following error: Undefined symbols for architecture x86_64: '_OBJC_CLASS_$_SPTAudioStreamingController', referenced from: objc-class-ref in libRCTSpotify.a(RCTSpotify.o) '_OBJC_CLASS_$_SPTAuth', refere...
Josh Rumbut
1

votes
2

answer
44

views

How to order by from third table (related to Max(), join)

Let me explain the question with the following example: (long but easy to understand) This is how my MySQL database looks like: table name: general_info Movie_ID movie_title 1 Iron Man 2 Superman 3 Batman table name: cast Movie_ID Cast_Name 1...
Josh Poor
1

votes
1

answer
363

views

Kotlin Synthetic: Unrecognized Variables in RecyclerView Adapter

When attempting to use Kotlin Extensions within a RecyclerView.Adapter to refer to Views in an XML layout file, Intellij cannot recognize the Views by their IDs, even with seemingly correct imports. The odd thing about this is that it will work inside of an Activity or Fragment. Is there additional...
Josh Ribeiro
1

votes
3

answer
1.4k

views

import_meta_graph fails with Data loss: not an sstable (bad magic number)

Context I came across this problem while trying to solve another error. The first error (original problem) was that when I tried to restore a meta graph I would get Cannot find KeyError: 'The name 'multi_rnn_cell_6' refers to an Operation not in the graph.'. In trying to create the MVCE for that pro...
Josh Albert
1

votes
0

answer
81

views

Node.js: indexOf returning -1 even though item is in array

I want users to have the ability to click a button that pushes their username and id into an array associated with a collection in a database, but only if they're not already in that array. My solution is: var isInGroup = function(user, arr){ var match = arr.indexOf(user); console.log('>>>>>>>' +...
Josh
4

votes
1

answer
40

views

Temporarily Stop R From Recording History

I find it very useful, in general, for my R history to be saved. I refer to it weekly, or more. Exploratory work in the console gradually gets refined and added to a file. Occasionally a command will have a secret in it like an API key or searching a dataframe with confidential info, in which case I...
Josh Rumbut
1

votes
2

answer
532

views

Can you run an Angular Universal application without a server?

There's a feature in Angular Universal that allows you to pre-render pages at build-time. Can this be used to pre-render all your pages and run Angular Universal without a server?
Josh Elias
1

votes
1

answer
553

views

BCP Export from SQL to CSV File, Metadata, Header Row

I need to export data from an SQL table to CSV format. But I also need: 1. Metadata inserted in the first row of the output. This will be static. 2. Header row after the metadata. 3. Data. BUT I need fields with multiple values (e.g. name JOHN SMITH) to be in '' and commas within the quotes to separ...
Josh
1

votes
0

answer
95

views

The Eclipse executable launcher was unable to locate its companion shared library. dual boot system

My eclipse won't open, complaining about not being able to find its companion shared library. I tried uninstalling it and reinstalling it but it doesn't help. I think it may be because I have a dual boot system and have tried to install most things to my hard drive for windows and linux to both acce...
Josh Clark
1

votes
0

answer
56

views

Parsing HTML Tables with Python

Below is the code. I've also attached a photo of the table here. The issue I am having is tr[1] has the column headers or th tags, then tr[1:40] has row headers with th tags followed by td and th tags that correspond to the numbers in the table. td are normal numbers, but th are different because th...
Josh Pilson
1

votes
0

answer
348

views

Function Aliases in R

I am trying to create aliases for functions in R. For example, to get the length of a vector in R: length(the_vector) #returns the length of the vector I want to create an alias of the function called 'len': len(the_vector) #will also return the length of the vector Is there a way to do this? Key p...
Josh
1

votes
1

answer
157

views

In react, does a finite state machine replace the role of a router?

I discovered finite state machines as an alternative to managing UI state in a react application. I think they are excellent but I am a little confused about how I should be using them. Should I be building a state machine for the entire app or do I build little machines within each route?
Josh Pittman
1

votes
0

answer
75

views

Running with Packet Capture Permissions under Stack

Not sure if this is more appropriate for Server Fault so apologies if this is the case. I am currently trying to capture packets using the Network.Pcap library and have written this wrapper function around it: getRawPacket :: IO B.ByteString getRawPacket = do deviceName = (\(_,p) -> return p) I am u...
Josh Taylor
1

votes
4

answer
525

views

Can I subscribe Azure Event Grid to Event Hub in the portal?

I'm trying to connect an Event Grid to an Event Hub such that the hub sends events to the grid but I can't figure out how to do it within the portal. Is this possible? I thought that I created the subscription but it seems like it might be going on the other direction (the hub listening to the grid)...
Josh
1

votes
0

answer
620

views

Handsontable Nested Headers - Collapsed by Default

Does anyone know how to make the nested headers plugin for Handsontable collapse a specific set of columns by default (i.e. when the table initially loads up)? Specifically I have the following appearing: And I would like the following to appear: Here is my current code: var hot = new Handsontable(c...
Josh
1

votes
0

answer
142

views

Learning Selenium and getting ImportError: cannot import name webdriver

I created a virtualenv with the required packages. Activated the env. Now I keep getting the following: ImportError: cannot import name webdriver. I've checked my env and all of my files seem to be right. Can anyone offer input? I'm including a code drop link and screenshot. https://drive.goo...
Josh Frazier
1

votes
0

answer
36

views

Peoplesoft Learning Management - First Time Pass Rate

We are working on PeopleSoft ELM 9.2 and I'm not finding what I need in any of the OOB queries so I'm attempting to build one. We need to get a 'First Time Pass Rate' score, or the average of how many people pass a learning course on their first try. Ideally we would have the data for each attempt s...
Josh White
1

votes
1

answer
85

views

Creating a factor: error using the cut() function

I am receiving this Error in mutate_impl(.data, dots) : Evaluation error: lengths of 'breaks' and 'labels' differ. error when attempting to create a new variable that indicates if the Air Quality Index is greater than 50 for over 100 days. Basically, I want to create a 'yes' or 'no' and label. I wa...
Josh
1

votes
1

answer
388

views

Build shared files with serverless typescript plugin

I'm using amazon lambda aws with serverless and the serverless-plugin-typescript to build my typescript files. I have shared code in my project, e.g. a folder structure like this: /shared: shared1.ts, shared2.ts /microservice1: microservice1.ts, serverless.yml /microservice2: microservice2.ts: serve...
josh
1

votes
1

answer
750

views

Bundle display name(CFBundleDisplayName) missing space characters in iOS 11

When I give Bundle display name with space as 'my app display name', I get the app name as ('myappdisplay...'). This happens only on the iOS 11 , in iOS 10 and below(
Sun_Josh
1

votes
0

answer
588

views

PACF and ACF graphs not showing

#I successfully converted dates to date format that is proper for time series. #Turn 'variable' column data into dates homeprice['variable'] = pd.to_datetime(homeprice['variable'], format='%Y-%m-%d') homeprice #Did some further cleaning and column name changing - not including code #This block worke...
Josh
1

votes
1

answer
71

views

Intellij Git Error

I'm new to using both IntelliJ and Git. I'm working on a Mac, if that matters. When attempting to use Git in IntelliJ I get two error messages. I've searched for fixes yesterday and today, but nothing I've tried is fixing the issue. I need some help, so I jump out the window. First, when launching a...
Josh

View additional