How can I align my text and images to look like the reference image shown,...
I'm trying to align the text and images to look like this:but instead it looks like this:Here's the html and css that I used::root { font-size: 10px;}*,*::before,*::after { box-sizing: border-box;}body...
View Articleim trying to call the method i made in function.php but undefined. i write it...
Fatal error: Uncaught Error: Call to undefined functionis_admin_login() in D:\xamapp\htdocs\LMS\header.php:47 Stack trace: #0D:\xamapp\htdocs\LMS\index.php(5): include() #1 {main} thrown...
View ArticleTrying to get python to print out corect birth year in this form
I am very new to python, have asked one other question here that worked well so thank you everybody for that,This issue, I know what I am doing wrong just not sure how to fix it...the code:# import...
View ArticleVScode terminal not displaying output
I'm trying to display "hello" into terminal on vscode, it compiles but nothing is shown, any idea why?C:\Users\massi\OneDrive\Desktop\C++> .\main.exeC:\Users\massi\OneDrive\Desktop\C++> simple...
View ArticleInternally, is asyncio run_forever() basically a while True loop?
python asyncio run_forever or while True is similar but it is a "should I do this..." question.I am more trying to understand if the internals of python asyncio is basically awhile True: ......
View ArticleDagger-2 cannot provide a dependency from another module
I've run into the fact that I can't inject a repository into my view model. I have two modules app and data. In I build all dependencies through Application Component@Component( dependencies =...
View ArticleMySQL and Sql Server Performance
I have been working with tpch and i have been executing the powertest which consists in 22 queries beng executed in a database of a factor choosen by you which is used to create the database.I have...
View ArticleHow to use React cloudinary with typescript?
I am working on a project with TypeScript and React.trying to use react cloudinary to upload an image and get the url for the image.Since the example code is in js, an error occurs if I create a file...
View ArticleIs resteasy-core removed/missing in keycloak 24.0.X?
I try to follow the tutorial by baeldung to setup a keycloak server app. But when I update the version for keycloak to 24.0.X the jboss resteasy-core lib is missing and so I can't use the...
View Article"Address already in use" error when binding a socket in Python
I have a question regarding client socket on TCP/IP network. Let's say I usetry: comSocket = socket.socket(socket.AF_INET, socket.SOCK_STREAM) comSocket.setsockopt(socket.SOL_SOCKET,...
View ArticleHow to get output of command line to python [duplicate]
I run windows command line programm from python, the command line programm return strings, for example: I run that line subprocess.call("RPiHubCMDTool.exe dev", shell=True)and I see in cmd window the...
View ArticleWhen should the "Natural Language" PyPI classifier be used?
There is a list of classifiers that we can define to categorize our Python package in PyPI. Among those there are Natural Language classifiers for a few languages. When should those classifiers be...
View ArticleDrawing a bar chart and coloring it
I am trying to write a program to keep track of the number of pizzas sold for each type every day with a stacked bar chart. I want to use the turtle module to draw the bar chart with the following...
View ArticleHow to enable to select culture with both url and cookie in asp.net core...
I have applied Localization in my asp.net core mvc project.It includes blazor pages for Identity.I want to enable to change the culture by changing the site url's culture...
View ArticleC++ idiom for a map of template argument to value of template-instance type?
I have an enum class, sayenum class color { Red, Green, Blue, /* etc. */};and I have class template,template <color Color> class foo;Now, I want to declare a data type which holds, for some (or...
View ArticleCreate new Column in Dataframe with Modulo of other Column
I would like to create a new column "Day2" which takes the second digit of column named "Days", so if we have Days equal to 35, we would take the number 5 to be in "Day2", I tried this but it's not...
View ArticleWhy does copy_rates_range() return only 1 or 0 bar most of the time in...
I am using MetaTrader 5 for python and regardless of the specified range, symbol and timeframe, copy_rates_range() almost always returns 0 or 1 bars. In the docs they say it's normal for the first call...
View ArticleWhy is disk usage reported by the OpsCenter storage capacity widget different...
DataStax OpsCenter for Cassandra - why is disk usage reported by storage capacity widget different than "Data Size" metric?The Storage Capacity widget shows 38.96 TB used but a graph of the "Data Size"...
View ArticleObtaining code line count per contributor in git
I've been working on a group project for classes and we use git as our collaboration tool.I need to find out how many lines of code can be attributed to each collaborator in one of the subfolder of the...
View ArticleUse buffer overflow to reach another function
I have an assignment to use buffer overflow to reach another function:int func1() { printf("1"); return;}int func2() { char buf[10]; scanf("%s",buf); return;}int main() { func2(); return 0;}I got the...
View Article