All Questions

0
votes
0answers
2 views

I keep getting this: TypeError: Fetch argument None has invalid type <class 'NoneType'>

I am trying to get single sample gradients using tensorflow using Ian Goodfellow idea from [here] (https://github.com/tensorflow/tensorflow/issues/4897), but I get this error which i know is relate to ...
0
votes
0answers
3 views

Running anaconda command prompt with administrator privilages

I tried right clicking on anaconda command prompt to run it as admin but got no response whatsoever. I am trying to accomplish this in order to solve "Distributed 1.21.8 requires msgpack, which is not ...
0
votes
0answers
3 views

Automation of 3rd party App in IOS

as mentioned in the title. Is there any possibility to schedule or automate certain steps/tasks within a 3rd party app on the iphone? The automated app doesn't necessarily have to be run in ...
0
votes
0answers
3 views

Is it possible to use inheritance with CosmosDB collections?

I'm new to understanding NoSQL databases. Suppose I have a hierarchy like public interface MyInterface { [JsonProperty("id")] Guid Id { get; } } public class Foo : MyInterface { public ...
0
votes
0answers
3 views

Resolve error: passport.initialize() middleware not in use

I have been trying to resolve this problem for a long time. I have tried all the existing stack overflow similar question but I am still getting the error. can anyone suggest something? [TRIED THIS ...
0
votes
0answers
4 views

WebGL: Using two shaders with output of first as input to second, only see output of the second one

I suspect this is a misunderstanding on my part of the implications of binding, but I'm at a loss for what I'm doing wrong here. I've put relevant code at the end of the post. I am working on ...
0
votes
0answers
9 views

App that checkes if a certain app is in the foreground

My idea is to build an app that tracks the time a certain app (the app that the user chooses) is in the foreground and a notification or an alarm goes off if the time that the user set runs out. I ...
-1
votes
0answers
3 views

Swift url scheme app (xcode, iOS)

I'm new to swift, currently making a little app. Does anyone know a code for this: if you press the button, imovie opens, if imovie isn't installed, it wil go to the app store page of imovie. I've ...
-1
votes
0answers
6 views

Jupyter can't find file Python 3 - tried multiple different ways

I've been trying to crack this for 2 hours and have tried multiple different ways and have looked at multiple different help websites. Can you please help me locate files using Jupyter Python 3? ...
0
votes
0answers
5 views

Set a Range with Loop

Let's say I have two columns with values: A1 B1 A2 B2 A3 B3 I want to be able to loop each row (way more than this) and set a range such so that I can combine cells like so: ...
0
votes
0answers
3 views

How solve rpm non-readable error

I am making packege of some python module for ROSA(linux-based OS) so I have this error: python-dogpile-cache.noarch: E: non-readable (Badness: 1) /usr/share/doc/python-dogpile-cache/changelog.rst ...
0
votes
0answers
7 views

Android Studio Token Based authentication - Date based

So I'm tasked with a challenge to only allow users through to the next activity if their valid licenses are not past its expiry date if its past that date then to reject the user and display an error ...
0
votes
0answers
5 views

Moving S3 bucket data to another bucket in real time - AWS Lamnda?

We have a parent bucket, say "Bucket-1". Then under this Bucket-1, we have multiple folders, 1 for each customer (say cust1, cust2, cust3 and so on). We upload Gb's of data into these folders for each ...
0
votes
0answers
6 views

speed improvement in tesseract for many images

Do you have any ideas how to improve speed of tesseract for many images? I have 2 examples. First, I convert image to text that contains about 200 words. It takes 1 second. Secondly, I have a loop of ...
0
votes
0answers
7 views

Django POST using AJAX not working

I have a django backend where I have added corsheader and the middlewares. I have an html page from which I am sending AJAX XMLHttpRequest POST to my localhost hosting django application but the post ...
0
votes
0answers
8 views

Accessing class attributes mutually in composition python

Is it bad practice to access the 'parent' object's attributes when using composition? I have a class where I need to have a software that runs depending on a specific file format. At this point only ...
0
votes
0answers
6 views

leaflet javascript for loop through geojson

I have a url containing simple point feature geojson that I am displaying in my web map. {"type": "FeatureCollection", "crs": {"type": "name", "properties": {"name": "EPSG:4326"}}, "features": [{"...
1
vote
0answers
11 views

Why does this template metafunction involving std::enable_if yield undesired results?

I have a type trait template <typename T, typename Enable = void> struct is_binary_function { static constexpr auto value = false; }; and its specialization template <typename ...
-1
votes
0answers
17 views

vertical alignment but vertically

I have following problem where two things are over (in y direction) each other. Following figure should clarify what I mean: so the 1 with the circle border (as one item) and the text below (as the ...
0
votes
0answers
6 views

Appending a div in a div

I have this in a html page. It's a external script that should ad a div to the canvasdiv. <div id="canvasdiv"></div> <script type="text/javascript" src="https://pixelvaria.com/wp-...
0
votes
0answers
4 views

Reading text and storing them into dataframe time complexity

I am trying to reading data file line by line store them into pandas dataframe outputting to csv using Python. The problem is that it takes too long to execute these code. It took about 1 hour to ...
0
votes
0answers
3 views

Alexa: How to test request for access token using refresh token?

Trying to find the Signature and SignatureCertChainUrl headers within Amazon's POST request to renew the access token using the refresh token. I deliberately set the access token to expire in 3600 ...
0
votes
0answers
6 views

How to display an external website containing javascript from jsp?

I have to embed an HTML file inside a jsp . This HTML file is dynamic and has to be downloaded based on the user request. What I tried was to download the html in a directory and then display it from ...
0
votes
0answers
7 views

Puppeteer cannot click certain buttons

I started using Puppeteer today and I attempted to automate the checkout process of a website called Supreme however when I got to the checkout page page.click was unable to click any of the inputs / ...
0
votes
0answers
8 views

Android Receiver for System Service not Invoked

So, I know everything works if I run the command adb shell am broadcast -a android.intent.action.BOOT_COMPLETED com.random.blah.newservice/.StartNewService, but if I try and run that command any other ...
1
vote
2answers
40 views

Why does the array push an empty array into another?

Why is the value of array2 [[], [], [], [], []] at the end of the loop? var array1 = []; var array2 = []; for (let i = 1; i <= 10; i++) { array1.push(i); if (i % 2 === 0) { //...
0
votes
0answers
2 views

Facebook group page slug from url with group id

I'm trying to store information about a facebook group page. If a user enters a url I'd like to map it to a something in our database. Sometimes the url is in the form of a slug, sometimes it's just ...
0
votes
0answers
7 views

How to clear a PyList object that contains objects?

I am trying to clear a Python list I pass to a C function using ctypes. The calls I found at this link seem to work sometimes, but when the list I pass in contains other lists or classes as elements I ...
0
votes
0answers
2 views

How do I set domain based configuration in Symfony 3.4?

So I have set up a Symfony 3.4 application, which I downloaded following the instructions here using the Symfony Installer: https://symfony.com/download I am building this app for my employer to run ...
-3
votes
1answer
24 views

Find a pair of strings in a list in Python

I just started learning Python and was struggling with this problem (and how to describe it in title): Assume there is a list like: ['Ben', 'Benjamin', 'Jenny', 'Alice', 'Alexandra', 'Alex', ...] ...
0
votes
0answers
11 views

Google maps won't show up, it's just a blank screen with no console errors (using play framework, java)

<!DOCTYPE html> <html> <head> <title>Simple Map</title> <meta name="viewport" content="initial-scale=1.0"> <meta charset="utf-8"> <style> #map { ...
0
votes
0answers
8 views

How to make collapsing toolbar square for all devices?

I got the collapsing toolbar. The image inside it has to be square but on devices, with big the screen, it is not. How can I set it up to let image be all the time square and make image full width ...
0
votes
0answers
16 views

Finding a specific row in a table based on the value of a cell

I am currently in the process of linking my Xamarin mobile app to an Azure database. In said application, I need to be able to insert data as the user continues to progress through the sign up pages. ...
0
votes
0answers
5 views

Deploying SSDT project through Powershell Script: Version store out of memory error

Hoping someone may be able to advise what might be happening here. I am attempting to run an SSDT deployment via a Powershell script directly on the SQL Server its-self. SQL Version: 2012 (upgrade ...
0
votes
0answers
2 views

IAR postbuild batch file call

I have a question with using IAR embedded workbench IDE ARM 7.60.2 I have a batch file that I run and it generates 2 files. When I click on this sample.bat, it works fine, thus I try to implement it ...
0
votes
0answers
13 views

I have an issue with designing my Interfaces with c#

I have a problem with designing my interfaces I have these interfaces : IField IScreenField //this interface inherit from IField CustomCollection<IField> AnotherCustomCollection<...
0
votes
0answers
2 views

google tensorflow api fails with detecting libraries

I am building a model simillar to the google tensorflow API one. I just want to start training the model so I pumped in this line of code. python train.py --logtostderr --train_dir=training/ --...
0
votes
0answers
14 views

change the display of a row in a table react

I started working on react recently. In my code I have a table component and i have multiple pages. So whenever I need to show data in table, I use the same table component. Now in a certain page, ...
0
votes
0answers
15 views

Why is this cell returning “a” instead of the number entered into it?

I am trying to use the number input into the Cell (C4) but for some reason it continuously returns 'a' instead. Any advice? Image of Code and Immediate (print output) dialog Image of Spreadsheet ...
0
votes
0answers
2 views

CLI for posting process activities to Wavefront

Can anyone please help in posting process activities explicitly using curl and rest api to wavefront? I'm running a older version of redhat on which I'm not able to install telegraf and hence ...
0
votes
0answers
4 views

Qt Compilation Error qeventloop.h

i have strange compilation error in qeventloop.h header file QT_BEGIN_NAMESPACE class QEventLoopPrivate; class Q_CORE_EXPORT QEventLoop { Q_GADGET//here I'm getting /home/bs/Qt5.7.0/5.7/gcc_64/...
1
vote
2answers
8 views

Ask the path to user export txt files c#

I am trying to make a program that allows the user to export data to txt, however I want first to ask user what is the path to create the txt. However I'm not getting right the replace function, I ...
0
votes
0answers
2 views

How to format text to lowercase like ITextCharacterFormat.AllCaps in UWP?

I am trying to create a text editor option to format ranges of text in uppercase or lowercase. I'd like this property to be an attribute that can be turned on or off. ITextCharacterFormat.AllCaps ...
0
votes
0answers
3 views

text encoding when combining http-conduit and scalpel-core

{-# LANGUAGE OverloadedStrings #-} module Main where import Lib import Network.HTTP.Simple import qualified Data.ByteString.Lazy.Char8 as L8 import Text.HTML.Scalpel.Core import Data.Text.Lazy....
0
votes
0answers
3 views

Formula not returning match

I have two files File one has a sheet1 called Form Responses File two has a sheet1 called Data I am trying to match on Col4 of Form Responses to Col2 of Data and post back Col1 and Col2 of Form ...
-1
votes
0answers
10 views

Javascrypt Dynamic Text in Header Band

I have put a dynamic text header band thanks to a code I have found and adapted <marquee behavior="scroll" direction="left" scrollamount="3" scrolldelay="60" onmouseover="this.stop()" onmouseout="...
0
votes
1answer
9 views

Django 1 Models - DateTimeField()

I am very new to Django and programming in general and I am facing a challenge I have not seen before. I a looking for a bit of help with DateTimeField(). As a learning project, I am setting up a ...
0
votes
0answers
2 views

React-Native run while app is killed

I have this use case: Send geo location to the server every 3 minutes even if the android app has been killed. I have tried several different libraries (react-native-background-task, react-native-...
0
votes
1answer
11 views

TypeError: x(…).subscribe is not a function

I am trying to unit test my component that calls a service method in ngOnInit. When I try to run the test I get the error: TypeError: this.adminService.getTestString(...).subscribe is not a function ...
1
vote
1answer
8 views

VIM : go to new empty line, keep the cursor in the previous column

Let's say my cursor at Line 1 Column 5 : 1 2 3 4 [5] <- my cursor is here <- empty new line what setting do I need so when I press down, here is what i get : 1 2 3 4 5 ...

15 30 50 per page