Questions: page 2

1 votes
0 replies
How to fix an HRESULT: 0x8150002E Exception
Background: I'm running a $ie = New-Object -ComObject InternetExplorer.Application within Powershell 5.1.17134.590, but getting a "Cre...
asked 4 months ago
0 votes
1 replies
Loop Through Files - File not found
So, I have this code that I found here: https://stackoverflow.com/a/10382861 And when I first found it, I modified it to actually open the files...
asked 4 months ago
1 votes
1 replies
Is there a way to add multiple columns to a dataframe calculated from moving averages from different columns and/or over different duration
I have a dataframe with time-series data and I am trying to add a lot of moving average columns to it with different windows of various ranges. W...
asked 4 months ago
0 votes
1 replies
Typescript Enum Object.values() return value
Why does Object.values() and Object.keys() always give both the keys and the values? Consider the following code: enum Enum { FOO, BAR...
asked 4 months ago
0 votes
1 replies
PG::SyntaxError at /bookmarks - I'm unable to work out why the SQL query is wrong
When running my application using sinatra, I get the error message PG::SyntaxError at /bookmarks ERROR: syntax error at or near "{" LINE 1: SELEC...
asked 4 months ago
0 votes
0 replies
Add fit_params in scikit-learn pipeline step
I would like not to have to specify one of the fit_params of a scikit-learn pipeline when calling .fit() on the pipeline but to have one of the p...
asked 4 months ago
-1 votes
0 replies
approx every 15 days XMPP connection to Firebase Cloud Messaging (FCM) is closed, what is the correct way to reconnect?
why i receive negative votes? FCM server are disconnecting and i dont know why and i try reconnect but again it is disconnected i would want a e...
asked 4 months ago
0 votes
1 replies
Jcenter inclsuion: The version control <url> returns 404, worked before
I have these two packages: https://bintray.com/beta/#/stoyicker/test-accessors/annotations?tab=overview https://bintray.com/beta/#/stoyicker/tes...
asked 4 months ago
0 votes
1 replies
Ruby on Rails test and console both exit with cache_control error
I'm stumped. rails test and rails console suddenly stopped working for my project and I can't find any recent changes I've made to cause the prob...
asked 4 months ago
-1 votes
5 replies
i+ =1 generating a Syntax error in for loop
eg. name = 'python' length = len(name) i = 0 for n in range(-1,(-length-1), -1): print( name[i], '\t', name[n]) i+ = 1 I remove the i+...
asked 4 months ago
-5 votes
1 replies
Browser is not displaying images
For some reason any of the programs is displaying any images, <img src="" width="" height="" alt="" > I was working a couple days ago,...
asked 4 months ago
0 votes
1 replies
Set white background with plot that includes marginals (ggExtra + ggplot2)
I want to generate a PDF with many plots, one per page. These plots contain marginal distributions on the sides, generated with ggExtra: library...
asked 4 months ago
-1 votes
2 replies
My program works but is very slow, it also slows down as it runs
I am pulling data from the Microsoft Academic Knowledge API and then using the json responses as dictionaries to extract the information I need....
asked 4 months ago
0 votes
0 replies
How to install different GitHub packages to my website
I want to install a jQuery photo album package from GitHub, but there are so many files, and I do not know which ones to use. It's getting kind o...
asked 4 months ago
1 votes
1 replies
Cloudformation: Error: Member must have length less than or equal to 20
I'm using this CloudFormation template to create a Cognito User Pool: { "AWSTemplateFormatVersion": "2010-09-09", "Description": "Templa...
0 votes
1 replies
Why would authorization logic on OpenCart Admin Panel design like this (weired)?
We have lots of authentication and authorization methods to use (OAuth, 2FA, etc.) to ensure the security of our account on e-commerce platform....
1 votes
1 replies
How to extract data from salesforce ordereddict hierarchy using Python & Pandas
Summary In short, I need to extract data from a pandas series containing individual OrderedDicts. So far progress has been good but I have now h...
0 votes
0 replies
How to inject different environment variable in dev, test, prod in Python
I used to work with Flask which offers an easy way to configure the application running in different modes. (dev, test, prod, ...) class BaseCon...
asked 4 months ago
-1 votes
0 replies
How to model a genetic algorithm to select 5 pixel with which to distinguish between 26 16x16 pixel images? [closed]
I am trying to implement a genetic algorithm, which takes a dataset of images (16x16 pixels, each either white or black) of the English alphabet...
-3 votes
0 replies
How can I bind double-click on item ListView (mvvm, no code behind)? [closed]
I have following code: <GridView> <GridViewColumn DisplayMemberBinding="{Binding Author, Mode=TwoWay}"...
asked 4 months ago
2 votes
1 replies
How do I change the column names using dcast?
I'm transforming my data from long to wide. Part of the data are dates. My problem is that I would like to have other colnames. It is formed li...
asked 4 months ago
0 votes
0 replies
Migrating pmp-check-aws-rds from boto2 to boto3
I'm looking to use pmp-check-aws-rds to monitor my RDS instances using Nagios. The plugin is currently using Python2.7 and boto library. I was ab...
asked 4 months ago
0 votes
0 replies
How to cache pictures depending not on source file name, but on other data?
I am developing address book list. For contacts which don't have profile picture I generate bitmap with first characters of first and last name....
1 votes
2 replies
How is it possible to extract sub-strings using keywords and index?
I'm trying to get certain sub-string following a keyword from a data string. These colleceted sub-strings are then joined together. Is there a...
asked 4 months ago
5 votes
1 replies
Why does the Chrome V8 JavaScript engine recognize “TG-1” through “TG-12” as valid dates/times?
I implemented a CSV parser that guesses the type formats for each column but I have found that the JavaScript Date class believes "TG-1" is a val...