All Questions

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

For Altair (python) visualizations, is there a way to create color scheme that combines a manual range and an existing Vega-specified scheme?

For any given chart, I'd like to specify the first n colors for alt.Scale(range=), and then if there are _n+1_ data values, for Altair to fallback on color scheme, e.g. 'category10'`. In the following ...
0
votes
0answers
3 views

AttributeError: module 'firebase.firebase' has no attribute 'get'

i am trying to get data from a firebase DB to a python app so i tried with this code from firebase import firebase from firebase.firebase import FirebaseApplication from firebase import * ...
0
votes
0answers
2 views

Change selection without id

how I can change the selection? No ID or somthing in select tag. <label class="Select__select__3sjwOXNYT2 EventList__pageSize__YFgjEw1xbV">Einträge: 25 <select> <option value=&...
0
votes
0answers
5 views

Python: count characters in user input, if not divisible by three, then trim excess characters

Just getting started learning Python and have a question. Given a user input of a DNA sequence that can be any number of characters long, how would I go about printing a result that trims excess ...
0
votes
0answers
4 views

Finding web element of dynamic websites using selenium python

I want to scrap text of few fields on the basis of their web elements (xpath, classes etc). <div class = myOnlyElement> <div> ...... <div class = afafasf> ......</div>...
-1
votes
0answers
6 views

Why cannot get all html elements from website c#

Im starting this project where I'm trying to get all messages on Nimo.TV streaming, precisely on chat. I've tried using HTML Agility pack and Webclient too, but when I download all html website (for ...
0
votes
0answers
5 views

Provide name of Build in GitHub Actions

Is it possible to provide name of build in the following format in GitHub Actions: $(major).$(minor).$(Date:yyMM).$(Rev:r) variables: "major": '2' "minor": '0'
-2
votes
0answers
18 views

Basic Python list and function [duplicate]

I was doing a simple python exercise on list and function, but I can't understand why my solution is incorrect. The exercise is Given a list of racers, set the first place racer (at the front of the ...
0
votes
0answers
5 views

Can't Access Web (Flask) Application from Google Cloud Platform's VM SSH Link

My goal is to run a docker-compose cluster on a VM from Google Cloud Platform. I have successfully installed docker and docker-compose: $ uname -a Linux instance-6 4.15.0-1083-gcp #94~16.04.1-Ubuntu ...
0
votes
0answers
20 views

Variable Declaration in Enumeration

I am new to Java so can someone please explain why are we declaring the variable in such way for Enumeration. I get that some sort of Unboxing is happening here but I am having kind of difficulty ...
0
votes
0answers
13 views

Why to use secondary index (`on`) in data.table, unless for joining?

I'm a big fan of data.table, but have this confusion about use of on Is this flights["JFK", on = "origin"] not the same as flights["JFK" == origin]; # Or flights["...
0
votes
0answers
5 views

Using Material design bootstrap - I am seeing a weird dropdown menu issue using a form button

When using Material Design Bootstrap, I am seeing a weird issue with regard to using dropdowns. When I do not use Material design, the dropdown menu appears as normal size: but when using material ...
0
votes
0answers
8 views

MUI Datatable responsive issue

can anyone help me to fix the issue below. The corporate ID is overlapping the nav bar. but rows are still fine. Sample column: { name: "userName", label: "Corporate ID&...
1
vote
0answers
7 views

Decode Javascript packed binary data at server PHP side

I have HTML form with 2 controls - file input control #resume and submit button #action_cv. Most of files I can (and want) upload to server are binary. There is reading and packing (encoding) this ...
0
votes
1answer
12 views

Getting results from a javascript function to display in html element. I can get it to work with console.log(golfScore(4, 3)); but not user input

Getting results from a javascript function to display in html element. I can get it to work with console.log(golfScore(4, 3)); but not user input. I'm pretty sure the problem is in this line ...

15 30 50 per page