Learncado
Learncado

Learncado brings together a vast collection of questions and answers. Expand your knowledge, learn new skills, and find solutions to your queries effortlessly. Enhance your learning experience and save valuable time by exploring our website today.

Resources

  • Questions
  • Question By Tags

Help and support

  • Contact
  • About

  • Geniecourse
  • Jetsodeals
  • Rentcado
  • Dealcado
© 2021-2023 Learncado All Rights Reserved.

Search Results (5000)

Results for What are the advantages of using GraphQL over traditional REST APIs

December 10th, 2023
gt_summary::tbl_stack() issue: tables are shifted when using gtreg's tbl_listing()

This is a follow up question to this Consider this example: library(gtsummary) library(gtreg) library(dplyr) library(tidyr) df id = c("patient1", "pa...

rgtsummarygtreg
Read more
December 10th, 2023
Display the exit code of previous command only when it's non-zero, without using commands?

Inspired by this answer implementing command execution time display with only substitutions, I'm trying to rewrite my exit code display with the same ...

bashps1parameter-expansion
Read more
December 10th, 2023
Using With template tag in django

I have this code : {% for group in grouped_fields %} tr> {% if forloop.counter0|divisibleby:2 %} ...

djangodjango-templates
Read more
December 10th, 2023
Finding unique powers using prime factorization

I'm a beginner trying to solve 1 problem and I can't wrap my head around this. When I use prime factorization, it outputs different results for powers...

c++
Read more
December 10th, 2023
Why does this bash regex using variables passed through a function work in one case but not the other?

Using the following bash script: #!/bin/bash export SSLPROTOCOL="-all +TLSv1.2" export SSLCIPHERSUITE="HIGH:!aNULL:!MD5:!3DES:!CAMELLIA:!AES128" # S...

regexbash
Read more
December 10th, 2023
import excel data into ms access using python

i am trying to import a excel data in to ms access file using python. below my code; import pandas as pd import urllib.parse import sqlalchemy from sq...

pythonpandasms-accesssqlalchemypyodbc
Read more
December 10th, 2023
Angular 16+ conditionally render one of several templates using ngTemplateOutlet

I have 3 templates inside tempaltes.component. Inside item.component I need to pick one of the templates conditionally, and pass it down to the header...

angularng-templateng-containerngtemplateoutlet
Read more
December 10th, 2023
Does C++20 support declaring an explicit function template instantiation using constraints after the template has been referenced in another template?

Context In C++, we seem to be able to declare/define explicit function template instantiations after the function template has been referenced in anot...

c++-conceptsc++20explicit-instantiationtemplate-instantiationimplicit-instantiation
Read more
December 10th, 2023
Using mutate (dplyr) to modify values of a column, while preserving groups order

I use this dataset and code to create a nested boxplot in which the groups are reordered, following the method suggested on [https://stackoverflow.com...

rggplot2ggh4x
Read more
December 9th, 2023
Using input in a function and using variables

I am trying to make a calculator as homework and using functions in it is necessary. I wrote multiple functions for dividing, multiplying etc. The pro...

pythonfunction
Read more
December 9th, 2023
2 columns, one fixed, using Tailwind flexbox

I simply want to put two divs side by side. The one on the left should be 40px width. If the text does not overflow, there is no problem. But when it ...

csshtmltailwind-css
Read more
December 10th, 2023
How to avoid using harcoded SQL credentials

I have a SQL database, and I am currently using hard-coded credentials in the PHP files. How can I ensure people cannot see these credentials? I have ...

sqlphpmysql
Read more
December 9th, 2023
How to compile code using `__declspec(dllexport)` for Linux

There are a few questions out there about __declspec(dllexport), but none seem to fit my use case: Source code was originally written for Windows and...

gccc++
Read more
December 9th, 2023
"Wrapping" heatmap columns in R using ggplot

I'm working on creating a heatmap of objects in a shelving unit using RStudio. The way the shelving is configured IRL is one column is shelves #1-8 fr...

rggplot2heatmap
Read more
December 9th, 2023
Generate HTML Page with Specific Tags from Another Page using BeautifulSoup

I'm exploring BeautifulSoup and aiming to retain only specific tags in an HTML file to create a new one. I can successfully achieve this with the foll...

pythonbeautifulsoup
Read more
December 9th, 2023
Flask REST API 404 Error When Trying to Access Endpoint

I am currently working on a Flask REST API that interacts with a Dockerized MySQL database. I have encountered a 404 error when trying to access the /...

pythondocker
Read more
December 9th, 2023
How to bypass basic authentication pop-up using Selenium

I am currently facing a challenge while attempting to automate the handling of an alert generated by a specific link using Selenium WebDriver. Upon cl...

selenium-webdriverautomationwebautomationautomation-testing
Read more
December 9th, 2023
How to Animate cards using HTML , CSS & Javascript

I'm diving into the world of CSS animation and attempting to replicate the card shuffling animation seen: https://go.topcreditcardfinder.com/ Here's a...

javascriptcsshtmlfrontend
Read more
December 10th, 2023
Why do I get Unable to unmarshall exception response using the AWS SDK for Java?

I have a Java 17 project, which interacts with DynamoDB Local and configures and deploys it while running tests. Here is some of the code I have in my...

javaamazon-web-servicesamazon-dynamodbaws-sdk-java-2.0
Read more
December 9th, 2023
c stack (using dynamic array) realloc memory leak problem

#include #include int LENGTH = 1; int TOP = -1; void push(char**, char); char pop(char*); char peek(char*); int isEmpty(); int isFull(); void con...

cstackdata-structuresdynamic-memory-allocationrealloc
Read more
December 10th, 2023
How to solve type mismatch error in Java when using generics with subclass mapping?

I couldn't figure out why this code doesn't compile. import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map...

javagenerics
Read more
December 10th, 2023
Web scraping from dynamic content table on Powershell using PowerHTML module

I'm getting an error when I try to read contents form a table on the web page described in the script. Can anyone please help me with a solution to fi...

powershellweb-scrapinghtml-agility-pack
Read more
December 9th, 2023
How to find previous and the previous minus one element of a file in C using fseek and file stream pointers

For my class, I have to take all of the texts of Sherlock Holmes and find all dialogue. Dialogue is supposed to happen within two quote marks " Everyt...

cfilepointersfile-iofile-pointer
Read more
December 9th, 2023
MongoServerError: Invalid Namespace in Node.js App Using Mongoose with MongoDB Atlas

I'm developing a Node.js twitter-like application where I use Mongoose (version 8.0.2) to interact with a MongoDB Atlas database. However, I've encoun...

javascriptnode.jsmongodb
Read more
December 10th, 2023
How to check if a button was pressed using the keyboard module?

I made an auto-jump program and I want it to stop when I press "q". For some reason the program just stops when it reaches the "if" line. import keybo...

pythonkeyboard
Read more

Hot Topic

  • 25881

    How do I undo the most recent local commits in Git?

  • 11618

    How can I remove a specific item from an array in JavaScript?

  • 20343

    How do I delete a Git branch locally and remotely?

  • 7387

    How can I find all files containing a specific text (string) on Linux?

  • 7330

    How to find all files containing specific text (string) on Linux?

  • 7611

    How do I revert a Git repository to a previous commit?

  • 2671

    How do I create an HTML button that acts like a link?

  • 8481

    How do I check out a remote Git branch?