All Questions

Filter by
Sorted by
Tagged with
0
votes
0answers
6 views

Graphing the Mandelbrot set using the C curses library

I am having trouble drawing the Mandelbrot set with Curses. I am looking mainly at this tutorial: http://www.codingame.com/playgrounds/2358/how-to-plot-the-mandelbrot-set/mandelbrot-set. My screen ...
0
votes
0answers
2 views

Add a prop label dinamically to a UI component

I am trying to add a prop label invalid dynamically based if the user has entered a character or not. But jsx doesn't recognize it as a prop once the if statement is executed. This is what I try to do:...
0
votes
0answers
3 views

Elasticsearch: match a pattern using regexp with a specific order

I would like to know if it is possible to use regexp in Elasticsearch to match a pattern with different strings in a specific order. For example for the string: still_adv be_aux pick_verb up_adp ...
0
votes
0answers
3 views

Why do i have to create my thread in another class, to avoid freezing my Tkinter UI?

I have a Tkinter application, in which I have a button, calling a function. To avoid freezing the UI, while this function processes, I'm starting it within its own thread. If I spawn the thread within ...
0
votes
0answers
6 views

Creating a for loop that adds / removes its conditions based on a variable inside

Context for this problem i am rendering a html table that is in short a price ladder. I only want to render 100 prices up and down from this centre price. So far i have achieved this but the ladder of ...
0
votes
0answers
2 views

Address sanitizer not working with particular output

I am solving this problem http://codeforces.com/problemset/problem/158/A and I am getting no error with address sanitizer but when the input is n = 1, k = 1 address sanitizer gives error of "...
0
votes
0answers
4 views

Golang regular expression: why does word boundary work with English but not Greek? [duplicate]

I want to find whole words in Greek text using Golang. Using \b as the word boundary for the regular expression pattern works when I use English, but not Greek. When I run the following, one ...
0
votes
0answers
4 views

Failed to get hosted service instance (Manually start hosted service .net core 3.1)

I have created integrated testing project in .net core 3.1 (previously it was working in .net core 2.2). Problem is HostedService can not be get. GetService always return null. var service = ...
0
votes
0answers
2 views

Is there a way to use conditional formatting in a jTable?

I am programming a statistics based program (for school). I have the database being displayed in a jTable, with buttons to display the table according to the SQL of the button. I'm wondering is there ...
0
votes
0answers
3 views

OpenGL 3.2 core profile with GLUT on Mac

I'm doing GLSL programming on Mac with GLUT now, but I have trouble setting up the environment. I got "ERROR: 0:1: '' : version '330' is not supported" with the shader creating function at ...
0
votes
0answers
4 views

Redis Queue Kill Job using JOB-ID

I used Python Flask+Redis and I queued the jobs at redis queue using the below code: with Connection(redis.from_url("redis://localhost:6379")): queue = Queue() task =...
0
votes
0answers
4 views

Platform to have students create objects for Google Cardboard VR

Does anyone know of a way/platform to have students age 9-14 build objects that they could then view in VR using their Google Cardboard viewer? Like a VR version of Scratch? Something like Google ...
0
votes
0answers
3 views

Font color changes to gray instead of Black in React Native Release APK

I'm having a weird problem with my app. The app font color is perfectly fine in the debug version but when I build a release version APK, the font color changes to gray Release version Debug version
0
votes
0answers
4 views

How does the provide_session decorator work? What happens when you don't pass the session object to a function that also uses a session?

I have a function funcA() which creates a session, queries the database for a list of objects and then calls funcB() which also creates a session and does some work. Because I did not pass my original ...
0
votes
0answers
3 views

#Linkeded Following Company Code displaying on web page instead of graphic

I am trying to place a Linkedin "Following Company" counter on the company web page. The graphics for the counter do not display - only the code for the graphic. I copied and pasted the ...
0
votes
0answers
3 views

Appending streaming PySpark dataframe to Cassandra doesn't write anything

I'm running Kafka, Spark and Cassandra locally on the same machine. At 1-minute intervals I'm streaming some data into a Kafka topic and reading the latest offset into a PySpark streaming DataFrame. ...
0
votes
0answers
3 views

How to pinpoint redirect loops causing lighthouse to fail NO_FCP

I've seen some instances where Google's Lighthouse tool to measure page speed can't render the page or generate reports. I'm thinking it's a redirect issue, how can I investigate this to find the ...
0
votes
0answers
3 views

Problem signing in via Google Drive API in Android

Within my app I use the Google Drive API to access the files of the selected account. Everything works correctly with different accounts that I use, but now if I create a new google account and log in ...
-2
votes
0answers
6 views

Failed to compile ./src/App.js Attempted import error: './components/header/header.js' does not contain a default export (imported as 'Header')

I browsed many answers related to tis error but I can't seem to remove this error. Please help. This is my App.js file This is my Header.js file And this is my file directory
0
votes
0answers
3 views

Android Paging 3.0

Trying to upgrade to version 3 of paging and i am starting to have difficulties since importing the library ... seems like it is having conflicts to work side to side of coroutines Duplicate class ...
0
votes
0answers
12 views

Is it legal to convert a pointer/reference to a fixed array size to a smaller size

Is it legal as per the C++ standard to convert a pointer or reference to a fixed array size (e.g. T(*)[N] or T(&)[N]) to a pointer or reference of a smaller fixed array size of the same type and ...
1
vote
0answers
11 views

C++ no operator matches these operands

I am trying to solve this error for 2 hours. Any ideas how to solve this spaghetti? I am pretty new to c++ any help would be great. auto snapshot = CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0); ...
0
votes
0answers
3 views

Request timeout for icmp_seq error upon sending pings from the sender to a destination machine within the same network

I am sending pings from my mac machine to a PC and both of them are on the network, but I keep seeing timeout errors: Request timeout for icmp_seq I even tried to delete the destination IP from the ...
0
votes
0answers
5 views

Allocate multiple parameters based on similar queries

In a stored procedure, I need to populate a number of parameters. The value of each parameter is based on a very similar query, identical except for the right hand operand of the where clause: SELECT @...
0
votes
0answers
4 views

LTI1.3 tool provider implementation with Zend 2

How to implement LTI1.3 as a tool provider in my learning app. I have tried php LTI1.3 library available in GitHub but not succeeded.
0
votes
0answers
3 views

Apache localhost redirecting to site

I have a local Magento 2 instance running on Apache (installed on Mac with Homebrew), but I have some weird redirect happening that when I type localhost in my browser, it doesn't go to the index.html ...
0
votes
0answers
7 views

dependency injection in net framework 4.8

I need to create dependency injection in an apicontroller developed with net framework 4.8. I know that if I use net core I can do it in the StartUp.cs class. Unfortunately for a time issue I can not ...
0
votes
0answers
5 views

Can you pass an instance of a class from inside a class in Android?

I'm implementing a fragment, and on the edit of a text (using TextWatcher), I'm passing data to the parent activity using an interface. I'm wondering though if it's possible to pass the instance of ...
0
votes
0answers
3 views

How to add fixture image to element in Cypress?

I have a react application that requires the URL of an image as text input, then after submitting the URL, the image from the URL gets displayed in an <img> by setting it's src attribute. I'm ...
0
votes
0answers
4 views

XML validation against XSD with xmllint

I am trying to validate my XML String against an XSD using xmllint but I keep getting this error. "file_0.xml:6: element No: Schemas validity error : Element '{http://www.mrq.gouv.qc.ca/T5}No': [...

15 30 50 per page
1
2 3 4 5
677708