All Questions

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

Hhow to save a print preview page as pdf in C#

I have this code for PrintPreview and print. Bitmap memoryImg; public void getprintarea(Panel pnl) { memoryImg = new Bitmap(pnl.Width,pnl.Height); pnl....
0
votes
0answers
10 views

Why do I get this strange error in installing git in ubuntu 20

I am new in Git philosophy and I want to install it on my ubuntu 20 laptop. Following the guide at the url http://git-scm.com/book/en/v2/Getting-Started-Installing-Git, when I give the command make ...
0
votes
0answers
3 views

Write a LISP function called f6 that returns the list containing every other element of a list

I want to write a Lisp function called f6 that returns the list containing every other element of a list. Example : (f6 '(c (a b) d (x y)(a) b)) returns (c d (a))
0
votes
0answers
4 views

Create candlesticks with lower timeframe data

In TradingView, I'd like to create a candlestick in the 1 hour chart with the opening price being the VWAP of the first 30 minutes and the closing price being the VMAP of the latter 30 min. If I use ...
0
votes
0answers
6 views

TypeError: int() argument must be a string, a bytes-like object or a number, not 'method'?

I tried converting an object to an integer and I got this error df['col_name'] = df['col_name'].astype(int) who can help
0
votes
0answers
3 views

In what table of the ttf font is the actual size of the symbol?

Question: Which font table contains data about the actual size of a lowercase character. I.e., the size that we actually see on the screen when this character is displayed. Please tell me the name of ...
0
votes
0answers
4 views

Knex esta substituindo ` por ' nas minhas query where alguém pode me ajudar?

knex await connection('al_available_times') .where('fk_days_control',1) .whereNotExists ( connection('schedule') .where('schedule.fk_professional',1) .andWhere('all_available_times....
0
votes
0answers
5 views

Avoid Google Analytics Sampling (Date Handling Functions, Query Partitioning & Automation)

I'm able to successfully connect to Google Analytics API using Python on Jupyter Notebook, however. If I select too wide a date range I will most definitely get sampled data. If I select too narrow a ...
0
votes
0answers
5 views

loading one table from RDS / postgres into Redshift

We have a Redshift cluster that needs one table from one of our RDS / postgres databases. I'm not quite sure the best way to export that data and bring it in, what the exact steps should be. In ...
0
votes
0answers
12 views

Assign variable to Animated.timing toValue

I want to rotate a picture using Animated.timing but assigning a variable containing a number doesnt animate anything. Putting in int like 50, works. toValue: degree does nothing, toValue:50 does what ...
0
votes
0answers
6 views

“conditionalZip” operator in Akka Streams

Assume that I have two sources: val first = Source(1 :: 2 :: 4 :: 6 :: Nil) val second = Source(1 :: 2 :: 3 :: 4 :: 5 :: 6 :: 7 :: Nil) Is it possible to create a zip that will pair only elements ...
0
votes
0answers
8 views

Cannot load saved model in Google Colab

I know that this question was already asked here a few times, but so far nothing helped me. I'm trying to load the model that was saved with model.save() in Google Colab where Google Drive was mounted ...
1
vote
0answers
13 views

NodeJS: Promise.all doesn't wait for all promises to finish

Consider this example code, in which I have an express server logging requests, and a client that sends a few requests. I'd like the client to wait for all requests to be processed and then do ...
0
votes
0answers
13 views

Getting my page to Route properly with ReactJS

Have a pretty basic app through ReactJS but having trouble with routing to a new page and can't figure out why. When I click on the box that should route me to the Quiz page, the contents on that page ...
0
votes
0answers
19 views

how to call an instance method inside a static method?

I know how we can usually call a regular method of the class or static method of a class but I just realized I have no idea how to call a regular method of the class inside a static method :| ...

15 30 50 per page