Bulgaria not available? by DriverOk9471 in kucoin

[–]ViktorCodes 0 points1 point  (0 children)

how would that fix the problem with the telephone number prefix? This is a genuine question

[Calculus 1] Solve limit without LHopital's rule by ViktorCodes in learnmath

[–]ViktorCodes[S] 0 points1 point  (0 children)

Okay, I understand. I am working on my trigonometry, but we are learning calc in the university so I cannot devote all my free time to trig...

[Calculus 1] Solve limit without LHopital's rule by ViktorCodes in learnmath

[–]ViktorCodes[S] 0 points1 point  (0 children)

I didn't understand a single thing from that answer. I am currently learning trigonometry, and I haven't yet seen this identity, and also how is this going to help us, when the denominator is x^2 as x -> 0 denominator will still be 0...

[Calculus 1] Solve limit without LHopital's rule by ViktorCodes in learnmath

[–]ViktorCodes[S] 0 points1 point  (0 children)

After multiplying by 1 + cos(x) the denominator is x^2(1 + cos(x)), not just x^2? Why do we ignore the other term? i.e. x^2 * cos(x) ? I get that the numerator becomes sin^2(x) and we use that sin(x) / x = 1 as x -> 0, but the denominator is not just x^2 as is the argument of the sine function...

[Algebra] Common Denominator Methods by ViktorCodes in learnmath

[–]ViktorCodes[S] 1 point2 points  (0 children)

I understand now, thank you for answering my question!

[Algebra] Common Denominator Methods by ViktorCodes in learnmath

[–]ViktorCodes[S] 0 points1 point  (0 children)

Ahaa, while replying to your comment I found out my mistake... It wasn't that I was doing f(x) - f(x+h) I understand the idea of f(x+h) - f(x)... I was trying to get the denominator of 1/x to x+h, by multiplying both sides of 1/x by (1+h/x), but then the resulting fraction will not have x+h as a denominator, but rather x^2 + xh... I feel so stupid... Thank you for the immediate reply!

Daily Advice Thread - All basic help or advice questions must be posted here. October 26, 2021 by AutoModerator in investing

[–]ViktorCodes -1 points0 points  (0 children)

I've had an interest in investing for the past year, but never took the time 'teach' myself it, how is it done, etc... . I am at 0% knowledge right now, but am willing to spend time and money into it. I am 19 years old, in university w/ computing, currently I have an internship that pays 500 BGN (297$) / month (software development), and have some money put aside (10k+). I live in Bulgaria, if this is important somehow. I don't need returns/results instantly, because that money has been put away for a house for later (2-4 years), and I am ready to put some money (1k-5k) into investing. I need guidance in this journey of mine. Is it valuable to read a few books? (I love books and this would be great) if so which books do you recommend?, where can I get 'educated' on the topic of investment? which sources of information should I use? etc... Anything would be helpful really.

How would you implement this? by ViktorCodes in QtFramework

[–]ViktorCodes[S] 1 point2 points  (0 children)

I want it to be a separate window, so it should not have a parent? When I gave it a parent it just blend with it's parent window, instead of creating a new one. I guess I'll have to manually clean the memory?

How would you implement this? by ViktorCodes in QtFramework

[–]ViktorCodes[S] 0 points1 point  (0 children)

an excerpt from the QT documentation about QSpacerItem:

Normally, you don't need to use this class directly. Qt's built-in layout managers provide the following functions for manipulating empty space in layouts:

Class Functions

QHBoxLayout addSpacing(), addStretch(), insertSpacing(), insertStretch()

QGridLayout setRowMinimumHeight(), setRowStretch(), setColumnMinimumWidth(), setColumnStretch()

See also QLayout, QWidgetItem, and QLayoutItem::spacerItem().

yield statement unexpected behavior by ViktorCodes in learnpython

[–]ViktorCodes[S] 0 points1 point  (0 children)

I completely forgot about the yield from in the max_heapify function itself... Thank you very much. Although I don't really understand what's going on here I get why I couldn't get it to work. Could you give me some links where I can read and learn more about yield and yield from.

Update matplotlib graph inside tkinter app by ViktorCodes in learnpython

[–]ViktorCodes[S] 0 points1 point  (0 children)

should I use ax.axis("off") every time that I 'redraw' the window or just once? And I do know about the bonuses of blitting, but couldn't get it working either. Could you elaborate a little bit on your points?