Id int64 4 8.51M | PostTypeId int64 1 7 | AcceptedAnswerId int64 7 75.5M ⌀ | ParentId int64 4 41.8M ⌀ | Score int64 -208 27.7k | ViewCount int64 11 12.4M ⌀ | Body stringlengths 0 45k | Title stringlengths 2 150 ⌀ | ContentLicense stringclasses 3
values | FavoriteCount int64 0 225 ⌀ | CreationDate stringdate 2008-07-31 21:42:52 2011-12-14 18:48:47 | LastActivityDate stringdate 2008-08-01 12:19:17 2023-03-05 04:40:26 | LastEditDate stringdate 2008-08-01 13:54:25 2023-03-05 03:12:45 ⌀ | LastEditorUserId int64 -1 21.3M ⌀ | OwnerUserId int64 -1 21.1M ⌀ | Tags listlengths 1 6 ⌀ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
75,633,649 | 1 | null | null | 0 | 15 | I have a problem installing PySat.
I have tried reinstalling Microsoft Visual C++, but that did not help. Has anyone else encountered this problem?[enter image description here](https://i.stack.imgur.com/MrTmZ.png)
| How to resulw problem with install PySat? | CC BY-SA 4.0 | null | 2023-03-04T04:27:52.480 | 2023-03-04T10:55:33.447 | 2023-03-04T10:45:52.807 | 11,138,259 | 21,329,728 | [
"pysat"
] |
75,633,645 | 1 | null | null | 0 | 10 | I want to export a variable that holds the redux store after it's initialized. However, I'm getting an error that is saying I can't do `store.getState()` because state is null. How do I make sure the files only get the store after it's been initialized?
/store.ts
```
let store = null
export const initializeStore = (re... | How to export a Redux store variable in React only after it has been initialized? | CC BY-SA 4.0 | null | 2023-03-04T04:27:14.280 | 2023-03-04T04:27:14.280 | null | null | 16,682,845 | [
"javascript",
"reactjs",
"typescript",
"redux"
] |
75,633,650 | 1 | null | null | 1 | 19 | Here is my code to download the excel file
```
try {
const response = await Axios(config);
const outputFilename =
"treasury_LOC_" + new Date().toJSON().slice(0, 10) + ".xlsx";
const url = URL.createObjectURL(new Blob([response.data]));
const link = document.createElement("a");
link.href = url;... | How to add data type any column while downloading excel file in react.js using xlsx | CC BY-SA 4.0 | null | 2023-03-04T04:28:01.920 | 2023-03-04T08:25:55.700 | 2023-03-04T08:25:55.700 | 4,442,606 | 21,328,329 | [
"javascript",
"reactjs",
"xlsx"
] |
75,633,639 | 1 | null | null | 0 | 7 | When I create jhipster gateway by jhipster version 7.9.3 and then I start it, I saw a log status `Saw local status change event StatusChangeEvent [timestamp=1677903081146, current=DOWN, previous=UP]`
```
2023-03-04T11:11:20.872+07:00 INFO 48843 --- [ main] com.netflix.discovery.DiscoveryClient : The respo... | Jhipster gateway status is down when register to jhipster registry v 7.9.3 | CC BY-SA 4.0 | null | 2023-03-04T04:26:28.447 | 2023-03-04T04:26:28.447 | null | null | 10,397,121 | [
"jhipster",
"jhipster-gateway"
] |
75,633,656 | 2 | null | 75,632,478 | 0 | null | I don't think `defineParameterType` can do much for you here. The "name" parameter seems to correspond to one parameter name only, I can't see it resolving two parameters.
The error looks due to `When something "second parameter"` having just one parameter, and there is no matching pattern in `steps.ts`.
So, you could ... | null | CC BY-SA 4.0 | null | 2023-03-04T04:31:47.357 | 2023-03-04T04:31:47.357 | null | null | 19,708,872 | null |
75,633,642 | 1 | 75,633,660 | null | 0 | 37 | I am using a SQL Server database and have a table `MYTABLE` which has data as shown below. I am trying to fetch the data from my stored procedure that accepts `@AllowedUser` as parameter. The stored procedure is currently just simple select query
```
SELECT *
FROM MYTABLE
```
[](https://i.stack.imgur.com/hmdnc.png)
H... | Filter rows on basis of parameter provided by stored procedure | CC BY-SA 4.0 | null | 2023-03-04T04:26:53.233 | 2023-03-04T06:10:48.467 | 2023-03-04T06:10:48.467 | 13,302 | 5,581,429 | [
"sql",
"sql-server",
"stored-procedures",
"case"
] |
75,633,653 | 2 | null | 75,633,564 | 2 | null | It is a `MAP`, `QUERY` pivot combination that you can use
```
=MAP(QUERY(A131:B149,"Select B,count(B) where A<>''
group by B pivot A",1),
LAMBDA(toZero, IF(toZero="", 0, toZero)))
```
[](https://i.stack.imgur.com/MoUZq.png)
| null | CC BY-SA 4.0 | null | 2023-03-04T04:30:57.177 | 2023-03-04T13:39:23.393 | 2023-03-04T13:39:23.393 | 1,527,780 | 1,527,780 | null |
75,633,655 | 1 | null | null | 0 | 10 | I am reading a dataframe, df_uci. Following are list of columns I have.
name of Column,Total 4085 Cols and First Col is Transaction_ID
.
When I am applying the ECLAT algorithm:
```
from pyECLAT import ECLAT
# create an instance of eclat
my_eclat = ECLAT(data=df_uci)
```
It is s... | Showing KeyError 0 When Using Eclat Algorithm through Pandas | CC BY-SA 4.0 | null | 2023-03-04T04:31:35.737 | 2023-03-04T08:54:13.860 | 2023-03-04T08:54:13.860 | 2,395,282 | 20,878,299 | [
"python",
"pandas",
"data-mining"
] |
75,633,657 | 2 | null | 75,633,115 | 1 | null | This error should be resolved in [this commit](https://github.com/ServiceStack/servicestack-client/commit/3090abafe7a8cc505069d3e6534fb823f7c04220) which is available from the latest v2.0.8 of [@servicestack/client](https://docs.servicestack.net/javascript-client).
| null | CC BY-SA 4.0 | null | 2023-03-04T04:32:17.267 | 2023-03-04T04:32:17.267 | null | null | 85,785 | null |
75,633,658 | 1 | 75,633,800 | null | 1 | 16 | I currently have a rectangular on the screen, which has the position of from to
What I want is to in this region as fast as I can, and each click has 20 pixel in difference with the old one
How can I implement that, thanks in advance!
| Click all positions in a given region | CC BY-SA 4.0 | null | 2023-03-04T04:32:37.697 | 2023-03-04T05:27:15.357 | null | null | 19,915,661 | [
"python",
"click"
] |
75,633,652 | 1 | null | null | 0 | 23 | I have a `Transaction` model and a `Pallet` model,
```
class Transaction(models.Model):
transaction_type = models.CharField(max_length=10, choices=transaction_type_CHOICES)
palletnumber = models.ForeignKey(Pallet, on_delete=models.CASCADE)`
class Pallet(models.Model):
nama_pallet = models.CharField(max_len... | Django - Foreign key filter in forms | CC BY-SA 4.0 | null | 2023-03-04T04:29:37.180 | 2023-03-04T14:23:19.230 | 2023-03-04T05:18:59.877 | 7,306,868 | 16,551,636 | [
"python",
"django",
"forms",
"django-forms"
] |
75,633,654 | 1 | null | null | 0 | 15 | I am trying to create a simple code pipeline to deploy a SAM template.
In the codedeploy I am getting the following error
> User: arn:aws:iam::{account_id}:user/iamadmin is not authorized to
perform: iam:PassRole on resource: AWSCodeDeployRoleForECS
My understanding of this error is that the user is not having permiss... | Codedeploy setup error: is not authorized to perform: iam:PassRole on resource: AWSCodeDeployRoleForECS | CC BY-SA 4.0 | null | 2023-03-04T04:31:10.937 | 2023-03-04T04:31:10.937 | null | null | 2,032,189 | [
"amazon-web-services",
"aws-cloudformation",
"aws-codepipeline",
"aws-code-deploy"
] |
75,633,665 | 1 | null | null | 2 | 31 | Sorry if this turns out to be a noob question, but I tried google and it didn't help. Say I have two classes, A and B. I want A to take an instance of B as argument. Similarly, I want B to take an instance of A. If I define my classes in different modules and want my classes to be type checked, I would have to import B... | Type checking for mutually-referencing classes | CC BY-SA 4.0 | null | 2023-03-04T04:34:39.800 | 2023-03-04T04:56:54.830 | null | null | 13,558,781 | [
"python"
] |
75,633,666 | 1 | null | null | 0 | 8 | when I was to upgrade my kali
show me this error
how can I fix it ?
apt --fix-broken install
I use the above code to fix it but it doesn't work
Errors were encountered while processing:
/var/cache/apt/archives/kali-themes_2023.1.6_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
in wbs in windows 11
| a problem in kali linux in windows sub system for linux | CC BY-SA 4.0 | null | 2023-03-04T04:34:39.473 | 2023-03-04T04:34:39.473 | null | null | 20,196,993 | [
"linux"
] |
75,633,651 | 1 | null | null | -2 | 41 | There seem to be a ton of questions about inverse functions, but they're not what I'm after (neither are many of the results in the `matrix-inverse` tag). I'm trying to use a function that gets the inverse of a matrix. As an example, this is the matrix I am using:
```
#### Create Matrix ####
mat <- matrix(
c(4,2,7,6)... | Solve function in R doesn't match inverse calculation | CC BY-SA 4.0 | null | 2023-03-04T04:28:23.320 | 2023-03-04T06:00:31.147 | 2023-03-04T05:34:51.010 | 16,631,565 | 16,631,565 | [
"r",
"matrix",
"matrix-inverse",
"determinants"
] |
75,633,668 | 1 | null | null | 0 | 21 | Me and a friend are currently working on a new project together, and we would like it to be cross-platform, and look native on all platforms. I was looking for a cross-platform framework to use, and Flutter seemed like a really good option to use, because you can use a single codebase, and have a native UI across all p... | Single codebase or multiple codebases for an application with lots of conditionals | CC BY-SA 4.0 | null | 2023-03-04T04:35:05.450 | 2023-03-04T08:55:43.783 | 2023-03-04T04:37:43.293 | 21,329,744 | 21,329,744 | [
"flutter",
"cross-platform",
"desktop-application",
"codebase"
] |
75,633,659 | 2 | null | 75,633,572 | 0 | null |
# 1. First question:
In general, it's good practice in C/C++ to set any pointer to `nullptr`, because when you dereference a `nullptr` you'll get an error so you can more easily trace where the problem is, than when the pointer has some garbage value (any empty pointer has some garbage value except if you assign i... | null | CC BY-SA 4.0 | null | 2023-03-04T04:32:42.307 | 2023-03-04T14:33:50.800 | 2023-03-04T14:33:50.800 | 21,146,921 | 21,146,921 | null |
75,633,660 | 2 | null | 75,633,642 | 2 | null | As best I can understand your requirements I think you just need a simple `OR` condition - but you still need to query the table twice to determine whether a user has an encryption row.
However since you are concerned about performance I have show a way to do it * appears to only need to access the table a single time.... | null | CC BY-SA 4.0 | null | 2023-03-04T04:33:00.050 | 2023-03-04T04:59:53.807 | 2023-03-04T04:59:53.807 | 1,127,428 | 1,127,428 | null |
75,633,667 | 1 | null | null | 0 | 16 | I only get all the source from xpath but I don't know how to get the date from table. Can anyone support ? below is the codes
from selenium import webdriver
from selenium.webdriver.common.by import By
from webdriver_manager.chrome import ChromeDriverManager
import time
url = 'https://www.morningstar.hk/hk/report/fund/p... | Web Scraping from HTML Table | CC BY-SA 4.0 | null | 2023-03-04T04:34:58.560 | 2023-03-04T04:34:58.560 | null | null | 19,629,405 | [
"html",
"web-scraping",
"xpath",
"html-table"
] |
75,633,671 | 2 | null | 75,633,624 | 2 | null | What I would do is [create a library](https://angular.io/guide/creating-libraries).
Create your library of components/services/etc, then import it into your various projects. I wouldn't set up routing in this shared library. Instead, let your other projects simply import your shared module and use the components where ... | null | CC BY-SA 4.0 | null | 2023-03-04T04:36:19.530 | 2023-03-04T04:36:19.530 | null | null | 821,918 | null |
75,633,670 | 1 | null | null | -2 | 23 | I was reading `{tidymodels}` and got confused about `mlp()` function's description from help section. it says from R help file,
"`mlp()` defines a multilayer perceptron model (a.k.a. a single layer, feed-forward neural network). This function can fit classification and regression models."
I am confused how a becomes ?... | confused about tidymodels "mlp()" description | CC BY-SA 4.0 | null | 2023-03-04T04:35:57.587 | 2023-03-04T05:58:07.443 | 2023-03-04T05:58:07.443 | 10,858,321 | 1,350,219 | [
"r",
"tidymodels"
] |
75,633,669 | 2 | null | 63,680,160 | 0 | null | The icon element is a container.
```
<span class="icon is-small has-text-link has-background-grey-lighter">
<!-- Font Awesome 6 -->
<i class="fa-sharp fa-regular fa-chevron-right"></i>
<!-- Font Awesome 5 -->
<i class="far fa-chevron-right"></i>
<!-- Material Design Icons -->
<span class="mdi mdi-chevron-... | null | CC BY-SA 4.0 | null | 2023-03-04T04:35:16.047 | 2023-03-04T04:35:16.047 | null | null | 1,616,646 | null |
75,633,672 | 2 | null | 75,607,846 | 0 | null | It looks like you have created a recurring loop / Cycle.
The `tools:layout` should not be referring to the file you are in.
So remove `tools` in both of your activity XML files from `androidx.fragment.app.FragmentContainerView`
| null | CC BY-SA 4.0 | null | 2023-03-04T04:36:38.607 | 2023-03-04T04:36:38.607 | null | null | 12,153,321 | null |
75,633,675 | 1 | null | null | 0 | 10 | To specify, I have 3 Ubuntu 20.04 Servers, 1 has Elasticsearch and Kibana 1 has FluentD and the third will have Taegis. I need to get the indices from Elasticsearch and send them to the Taegis server, so basically to connect Elasticsearch and Taegis. Is there anyone that has done similar project? It will be greatly app... | Hello, I have a problem connecting FluentD and ElasticSearch | CC BY-SA 4.0 | null | 2023-03-04T04:36:47.527 | 2023-03-04T04:36:47.527 | null | null | 21,329,741 | [
"linux",
"ubuntu",
"elasticsearch",
"fluentd",
"elasticsearch-indices"
] |
75,633,673 | 1 | null | null | -2 | 17 | [enter image description here](https://i.stack.imgur.com/YBntG.png)Why my warp perspective function is giving me a black image but it is working perfectly for some initial images that is stored if i change the image path it returns a black image
I don't know how to proceed further and i am stucked is this only problem ... | Why my warp perspective function is giving me a black image | CC BY-SA 4.0 | null | 2023-03-04T04:36:46.520 | 2023-03-04T04:38:03.283 | 2023-03-04T04:38:03.283 | 19,811,550 | 19,811,550 | [
"opencv",
"google-colaboratory",
"perspective",
"warp"
] |
75,633,674 | 1 | null | null | 0 | 8 | I use an IDE on my phone called Spck Editor and sometimes I get this error when I push code to Github.
[Here's the error](https://i.stack.imgur.com/4h6JD.jpg)
Sorry if the question is too stupid and because my English is not good, please don't be angry :C
Help me, when I got this error I had to manually copy the code a... | How to fix this: push rejected because it was not a simple fast- forward. use "force: true" to override | CC BY-SA 4.0 | null | 2023-03-04T04:36:47.100 | 2023-03-04T05:43:56.347 | null | null | 21,155,145 | [
"git",
"github",
"ide",
"git-commit",
"git-push"
] |
75,633,664 | 1 | null | null | 0 | 28 | I am about to check if the IDs in an array do not exceed the total occurrence from another field.
Example db records
#### sponsorship_items table
| id | title | spots |
| -- | ----- | ----- |
| 1 | sponsor1 | 2 |
| 2 | sponsor2 | 5 |
#### user_sponsorships table
| id | sponsorship_id |
| -- | ------------... | How to check if an id in array exceeds the number of occurrence | CC BY-SA 4.0 | null | 2023-03-04T04:34:27.293 | 2023-03-04T15:01:22.270 | 2023-03-04T04:54:51.840 | 1,998,801 | 7,067,321 | [
"laravel"
] |
75,633,681 | 1 | null | null | -3 | 11 | I am programming in python in visual studio and I need to transfer the program to EV3.
How can I do it?
Thanks
I can debug and start the program grom the laptop but the program isn’t in the EV3.
| Trasfer program from visual studio to EV3 | CC BY-SA 4.0 | null | 2023-03-04T04:38:24.523 | 2023-03-04T04:38:24.523 | null | null | 21,329,759 | [
"python",
"lego-mindstorms-ev3"
] |
75,633,680 | 1 | null | null | -1 | 13 | I am trying to use `ssh` to connect to a remote server using X11 Forwarding, so I can run a resource intensive machine learning framework, on the server and have the graphics display sent back on my windows computer. Following the relevant tutorial, I created a conda virtual environment and ran one of the scripts.
This... | X Error of Failed Request with GLX on Windows | CC BY-SA 4.0 | null | 2023-03-04T04:38:14.097 | 2023-03-04T05:03:54.157 | 2023-03-04T05:03:54.157 | 44,729 | 7,056,591 | [
"opengl",
"x11",
"glx",
"xming"
] |
75,633,678 | 1 | null | null | 0 | 37 | I am attempting to split an image across its RGB channels and place them onto a canvas three times the width of the original image so I can place the split RGB channels side-by-side. Putting the original image onto this canvas works as expected but when I try to place the channels onto the canvas it does not work. When... | Cannot Copy After Splitting Image into Channels in OpenCV C++ | CC BY-SA 4.0 | null | 2023-03-04T04:37:37.157 | 2023-03-04T22:10:45.177 | 2023-03-04T22:10:45.177 | 21,329,727 | 21,329,727 | [
"c++",
"image",
"opencv",
"image-processing"
] |
75,633,685 | 1 | null | null | 0 | 30 | I have created a HTML Canvas and everywhere I have checked it has some width and height but I want my canvas to be of some shape for e.g. a Star or any other png image that can be converted into a canvas. I have tried few things like
```
<canvas class="question" id="canvas"></canvas>
<img src="img/11.png" id="scream">
... | DIfferent shaped HTML Canvas | CC BY-SA 4.0 | null | 2023-03-04T04:39:26.167 | 2023-03-04T12:19:51.143 | null | null | 8,625,462 | [
"html",
"canvas",
"html5-canvas",
"html2canvas",
"canvasjs"
] |
75,633,683 | 2 | null | 70,700,188 | 0 | null | I've been banging my head against this for a while until I saw in the documentation that RTK Query expects the `data` not as a full object but [as a property](https://redux-toolkit.js.org/rtk-query/usage/customizing-queries#queryfn-function-return-value).
So the above code example needs to change the return value like ... | null | CC BY-SA 4.0 | null | 2023-03-04T04:39:04.510 | 2023-03-04T04:39:04.510 | null | null | 567,114 | null |
75,633,686 | 2 | null | 41,153,853 | 0 | null | Maybe the answer is late, but i will write an answer for anyone having similar problem.
The problem can be solved temporarily by changing the mode to single line of text without searching pages and paragraphs.
```
using var engine= new TesseractEngine("LanguageDataFolder", "eng", EngineMode.Default);
engine.DefaultPage... | null | CC BY-SA 4.0 | null | 2023-03-04T04:39:36.473 | 2023-03-04T04:39:36.473 | null | null | 12,354,701 | null |
75,633,684 | 2 | null | 75,633,423 | 0 | null | > there should be a space between 54 and 26
The issue is in your `UnorderedList.__str__` method:
```
def __str__(self):
result = " "
n = self.head
if n != None:
result += str(n.data)
n = n.next
while n:
result += (str(n.data) + " ")
... | null | CC BY-SA 4.0 | null | 2023-03-04T04:39:19.150 | 2023-03-04T04:39:19.150 | null | null | 10,987,432 | null |
75,633,682 | 1 | null | null | 0 | 9 |
I've built my app using primsic with nextjs.
On landing page, I want to display only 3 aritcles of my page
and then If user click next page button, I want to display next 3 aritcles page
I have `index` page which includes following props. How can I fetch data for my next 3 aritcles using following response data.
`next... | How can I fetch data in prismic app built with nextjs? | CC BY-SA 4.0 | null | 2023-03-04T04:38:59.993 | 2023-03-04T04:38:59.993 | null | null | 6,429,008 | [
"next.js",
"fetch",
"prismic.io"
] |
75,633,689 | 1 | null | null | 0 | 42 | ```
df.datetime.head()
0 03 Mar 2023 00:00 ## Its a 24 hr format
1 03 Mar 2023 00:00
2 03 Mar 2023 00:00
3 03 Mar 2023 00:00
5 03 Mar 2023 00:00
6 2020-02-07 00:00:00
7 2020-02-02 22:00:00
8 2020-02-02 00:00:00
9 2020-02-02 22:00:00
```
How do i convert this column to a standard datetime fo... | Converting multiple datetime formats in single column to standard datetime | CC BY-SA 4.0 | null | 2023-03-04T04:40:34.960 | 2023-03-04T09:16:34.833 | 2023-03-04T06:12:38.707 | 19,267,166 | 19,267,166 | [
"python",
"pandas",
"datetime"
] |
75,633,687 | 1 | 75,633,767 | null | 0 | 17 | I am writing todo app in Yii2 using optimistic Locking.
I need to write update action now.
I tried to write model, controller and also view for this purpose.
I use this documentation link :[https://www.yiiframework.com/doc/guide/2.0/en/db-active-record#optimistic-locks](https://www.yiiframework.com/doc/guide/2.0/en/db-... | How to write update action using Optimistic Locking in Yii2? | CC BY-SA 4.0 | null | 2023-03-04T04:39:54.273 | 2023-03-04T09:32:53.373 | 2023-03-04T04:48:26.193 | 21,310,443 | 21,310,443 | [
"yii",
"yii2",
"optimistic-locking"
] |
75,633,677 | 1 | null | null | 0 | 34 | Let me preface by saying I am an art student who was tasked with modifying the code of an auto generated poem [Taroko Gorge](https://nickm.com/taroko_gorge/) and turn it into something else.
Naturally I wanted to make it a visually interesting piece and opted to only using the characters "□" and "■" instead of words li... | I need a JavaScript Function to make each character of my randomly generator text show up in a different color | CC BY-SA 4.0 | null | 2023-03-04T04:37:28.627 | 2023-03-04T04:37:28.627 | null | null | 21,329,076 | [
"javascript"
] |
75,633,662 | 1 | null | null | 0 | 26 | I came up with this code but it's resulting in never ending bugs:
```
def get_device_via_env_variables(deterministic: bool = False, verbose: bool = True) -> torch.device:
device: torch.device = torch.device("cpu")
if torch.cuda.is_available():
if 'CUDA_VISIBLE_DEVICES' not in os.environ:
dev... | How do you load a specific GPU from CUDA_AVAILABLE_DEVICES in PyTorch? | CC BY-SA 4.0 | null | 2023-03-04T04:33:57.530 | 2023-03-04T21:59:07.760 | 2023-03-04T21:58:04.603 | 1,601,580 | 1,601,580 | [
"python",
"machine-learning",
"deep-learning",
"pytorch"
] |
75,633,692 | 2 | null | 58,253,044 | 0 | null | Try this way, I wrote the answer [here](https://stackoverflow.com/a/75633686/12354701).
The problem can be solved temporarily by changing the mode to single line of text without searching pages and paragraphs.
```
using var engine= new TesseractEngine("LanguageDataFolder", "eng", EngineMode.Default);
engine.DefaultPage... | null | CC BY-SA 4.0 | null | 2023-03-04T04:42:14.420 | 2023-03-04T04:42:14.420 | null | null | 12,354,701 | null |
75,633,694 | 1 | null | null | 1 | 16 | I'm working on a Django project using Oracle database. I'm going to migrate all of data from Oracle database to Postgres database. My database has many tables with too many ForeignKeys, ManyToMany and OneToOne relations together.
I can migrate drips and drapes in the first solution, which requires too much resources. I... | Manage dependency of django model relations for migrating database | CC BY-SA 4.0 | null | 2023-03-04T04:43:15.627 | 2023-03-04T04:43:15.627 | null | null | 16,220,304 | [
"django",
"postgresql",
"oracle"
] |
75,633,695 | 2 | null | 75,633,389 | 1 | null | There could be an issue with the basepath property in the next.config. Js, so if you have it in there, you must remove before you deploy your app on the particular server. This is recommended because, if you have that, it may results in some issues relating to routing when running behind a reverse proxy.
| null | CC BY-SA 4.0 | null | 2023-03-04T04:43:19.883 | 2023-03-04T04:43:19.883 | null | null | 21,205,821 | null |
75,633,679 | 1 | null | null | 0 | 28 | I have an audio file with .m4a extension I want it to be converted into .caf file. I have a function ready and working. It works fine but when editing the audio through code (changing the speed, pitch, echo and reverb) it returns an eroor stating:
> "failed Optional(Error Domain=AVFoundationErrorDomain Code=-11800 "The... | How to properly convert a .m4a file into .caf file in swift | CC BY-SA 4.0 | null | 2023-03-04T04:38:00.570 | 2023-03-04T04:53:38.067 | 2023-03-04T04:53:38.067 | 21,286,046 | 21,286,046 | [
"ios",
"swift",
"core-audio",
"file-conversion",
"avaudiofile"
] |
75,633,691 | 2 | null | 75,633,665 | 1 | null | To break the forward reference in a file, you can either quote the name or use [__future__.annotations](https://docs.python.org/3/library/__future__.html).
```
def example(a: 'A'):
...
class A:
pass
```
or
```
from __future__ import annotations
def example(a: A):
...
class A:
pass
```
To break the... | null | CC BY-SA 4.0 | null | 2023-03-04T04:41:53.933 | 2023-03-04T04:41:53.933 | null | null | 2,288,659 | null |
75,633,696 | 1 | null | null | -4 | 14 | I'm building a script that will extract constant information from a program to take actions. however, when this program opens the export window, it does not let me carry out other functions in its other windows without first closing the export window, is there any way to disregard this? several programs have this funct... | Window block action | CC BY-SA 4.0 | null | 2023-03-04T04:44:05.723 | 2023-03-04T04:44:05.723 | null | null | 21,329,767 | [
"python",
"window",
"controls",
"autohotkey"
] |
75,633,693 | 1 | null | null | 0 | 29 | I have a rasterBrick/stack named as 'wnt', which has 8 layers. I want to reclassify each layer based on the mean (mn) and standard deviation (sd) of corresponding layer. The classification scheme is like (if the layer's cell values = x) then
x>mn + sd = 1, mn +0.5sd < x < mn+ sd = 2, mn- 0.5sd < x < mn + 0.5sd = 3, mn-... | Raster reclassification of each layer from a rasterBrick/stack using customized condition | CC BY-SA 4.0 | null | 2023-03-04T04:43:04.247 | 2023-03-04T19:27:21.227 | 2023-03-04T06:17:25.180 | 21,323,987 | 21,323,987 | [
"r",
"r-raster"
] |
75,633,701 | 2 | null | 29,009,030 | 0 | null | In my scope, in this file `/etc/apache2/apache2.conf`
This was the default:
```
<Directory /var/www/>
Options Indexes FollowSymLinks
AllowOverride None
Require all granted
</Directory>
```
I changed it to:
```
<Directory /var/www/>
Options Indexes FollowSymLinks
AllowOverride All
Require all gr... | null | CC BY-SA 4.0 | null | 2023-03-04T04:45:08.647 | 2023-03-04T04:45:08.647 | null | null | 5,864,034 | null |
75,633,697 | 1 | null | null | 0 | 14 | I have a custom helm chart that I wrote which has a `deployment.yaml`, `service.yaml` and other yamls. Now, I want to included a sealed-secret.yaml template file such as following in it:
```
{{- if .Values.sealedSecrets -}}
apiVersion: bitnami.com/v1alpha1
kind: SealedSecret
metadata:
creationTimestamp: null
name:... | How to add a sealed-secret.yaml file in a Helm chart? | CC BY-SA 4.0 | null | 2023-03-04T04:44:26.437 | 2023-03-04T04:44:26.437 | null | null | 4,611,186 | [
"kubernetes",
"kubernetes-helm",
"secrets",
"sealedsecret"
] |
75,633,699 | 1 | null | null | -1 | 19 | I am using CrisisLexT26 dataset for my research project.
The dataframe looks something like this:
```
Tweet Text | Informativeness
local assistance neighbour boulder flood | Related
tourism singapore suffers haze blow | Related
estate chat con hiya wendy queen vive costa | Related
```
Column 1 contains a tweet text an... | Segregate English and Non English Sentences from a Dataframe using Python / Pandas / NLTK | CC BY-SA 4.0 | null | 2023-03-04T04:44:58.740 | 2023-03-04T05:44:31.203 | 2023-03-04T04:45:23.297 | 21,329,760 | 21,329,760 | [
"python",
"python-3.x",
"pandas",
"nltk"
] |
75,633,700 | 2 | null | 75,630,536 | -1 | null | I found a solution that works with UserDefaults. We can ask the user to use something like "/n/" to indicate a line break when entering the text in the textField and then we can save the string to UserDefaults. Then, when loading the string from UserDefaults to display in a textView, we can separate it by that "/n/" ch... | null | CC BY-SA 4.0 | null | 2023-03-04T04:45:05.847 | 2023-03-04T04:59:59.663 | 2023-03-04T04:59:59.663 | 20,675,850 | 20,675,850 | null |
75,633,704 | 2 | null | 43,008,666 | -1 | null | I had the same problem in Visual Studio Code, it was decided that it was necessary to choose a project in which an error with the help of Omnisharp:Select Project through the ctrl + shift + p
| null | CC BY-SA 4.0 | null | 2023-03-04T04:45:19.133 | 2023-03-04T04:45:19.133 | null | null | 10,600,911 | null |
75,633,698 | 1 | null | null | 1 | 35 | I have an AWS S3 bucket to host an angular app.
The S3 bucket works fine with AWS CLI. But the build app job in CircleCI fails!
NOTE: .
S3 has public access, the bucket policy for public read access, and has been enabled to host an `index.html`.
in CircleCI to build the angular app:
[](https://i.stack.imgur.com/2Ae0h.... | CircleCI AWS: Angular build fails with ELIFECYCLE | CC BY-SA 4.0 | null | 2023-03-04T04:44:26.707 | 2023-03-04T21:23:46.210 | 2023-03-04T07:18:17.867 | 8,740,349 | 21,176,603 | [
"angular",
"amazon-web-services",
"amazon-s3",
"build",
"circleci"
] |
75,633,703 | 1 | null | null | -1 | 27 | I am trying to compare two stacks and returns true if they are same, and if they are false return false. But this function always returns false.
```
public bool Check_Winner()
{
int[] tower3Array = ui.tower3.ToArray();
int[] tower4Array = ui.tower4.ToArray();
if (tower3Array.Length != tower4Array.Length)
... | Always returning true if the stack contains different values | CC BY-SA 4.0 | null | 2023-03-04T04:45:15.720 | 2023-03-04T19:17:42.170 | 2023-03-04T19:17:42.170 | 20,287,183 | 17,455,145 | [
"c#",
"arrays",
"stack",
"c#-code-model"
] |
75,633,705 | 2 | null | 75,597,131 | 0 | null | ```
instruction = "this one is best this one work as you want try it "
documentatio = "http://wavesurfer-js.org/docs/"
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">... | null | CC BY-SA 4.0 | null | 2023-03-04T04:45:55.523 | 2023-03-04T04:45:55.523 | null | null | 17,198,549 | null |
75,633,708 | 1 | 75,634,048 | null | 1 | 17 | I am writing a script to download images from a certain website. The website contains `jpg` and `png` images.
I was expecting the code to run normally. But the `png` images are taking a while to download (very slow) while the `jpg` images are quick.
```
img_data = requests.get(image_url, headers=headers).content
imagen... | In Python, Downloading Png and Jpg images | CC BY-SA 4.0 | null | 2023-03-04T04:47:27.290 | 2023-03-04T06:26:59.233 | 2023-03-04T05:24:14.747 | 7,306,868 | 21,245,970 | [
"python",
"python-3.x",
"web-scraping",
"web-crawler"
] |
75,633,706 | 2 | null | 75,632,815 | 0 | null | You can use third-party libraries to load and display images from `URL` ([Glide](https://github.com/bumptech/glide), [Landscapist](https://github.com/skydoves/landscapist), [Coil](https://github.com/coil-kt/coil)). They are easy to use and supports caching image out of the box.
If you are using jetpack compose, I would... | null | CC BY-SA 4.0 | null | 2023-03-04T04:46:19.177 | 2023-03-04T05:00:02.943 | 2023-03-04T05:00:02.943 | 12,153,321 | 12,153,321 | null |
75,633,711 | 1 | null | null | -1 | 9 | I have a database client that is going to connect with a firebird database on a server. I also have a client application that will make query requests to the database client. I am unsure of how to connect the database client with the client app. This will all be going on over a local network. Should I make some like a ... | How does client app communicate with app installed on server | CC BY-SA 4.0 | null | 2023-03-04T04:47:54.993 | 2023-03-04T04:47:54.993 | null | null | 16,998,520 | [
"server",
"network-programming"
] |
75,633,709 | 2 | null | 75,629,735 | 1 | null | Just use [from_json](https://spark.apache.org/docs/3.1.1/api/python/reference/api/pyspark.sql.functions.from_json.html) and expand the column
This would work:
```
sch=ArrayType(StructType([
StructField("num", IntegerType()),
StructField("cor", IntegerType())
]))
df1.withColumn("asArray", F.from_jso... | null | CC BY-SA 4.0 | null | 2023-03-04T04:47:36.877 | 2023-03-04T04:47:36.877 | null | null | 2,718,939 | null |
75,633,710 | 1 | 75,634,238 | null | 0 | 18 | I'm trying to fetch data from database using sqlalchemy in but i get the following error
> sqlalchemy.exc.ArgumentError: Column expression, FROM clause, or other columns clause element expected, got [Table('params', MetaData(), Column('paramID', Integer(), table=, primary_key=True, nullable=False), Column('item', Strin... | "Argument error" in Python using sqlalchemy | CC BY-SA 4.0 | null | 2023-03-04T04:47:49.607 | 2023-03-04T07:21:18.050 | null | null | 11,003,939 | [
"python",
"postgresql",
"sqlalchemy"
] |
75,633,712 | 1 | null | null | -2 | 11 | I'm experiencing long loading times for an iFrame on my website. It takes several seconds to fully load, which is negatively impacting the user experience. I've tried optimizing the iFrame code and reducing its size, but I'm still not seeing any significant improvements.
For further checking, Here is my Site: [http://f... | Please help me inprove Iframe Loading Time on my Website | CC BY-SA 4.0 | null | 2023-03-04T04:48:06.847 | 2023-03-04T04:50:20.240 | 2023-03-04T04:50:20.240 | 21,329,778 | 21,329,778 | [
"wordpress",
"google-cloud-platform",
"iframe",
"seo"
] |
75,633,717 | 1 | null | null | -1 | 7 | I am using vladmandic/face-api in React applicaiton for face detection. As part of intializing the face-api, have to load modal "ssd_mobilenetv1_model.bin" which is of around 5MB.
Looking to reduce the applicaiton loading time which increased becaseud of modal "ssd_mobilenetv1_model.bin" size, some time it takes more ... | React using vladmandic/face-api but reduce file size of modal ssd_mobilenetv1_model.bin | CC BY-SA 4.0 | null | 2023-03-04T04:49:37.040 | 2023-03-04T04:49:37.040 | null | null | 19,355,927 | [
"reactjs",
"face-api"
] |
75,633,718 | 2 | null | 75,633,665 | 1 | null | Say you have `main1.py` and `main2.py` modules with `class A` and `class B` respectively.
main1.py
```
from main2 import Main2
class Main1:
def method(self, main: Main2):
...
```
In "main2.py" you can't import `Main1` directly, so you can use this pattern
main2.py
```
from typing import TYPE_CHECKING
if TYPE... | null | CC BY-SA 4.0 | null | 2023-03-04T04:49:46.473 | 2023-03-04T04:49:46.473 | null | null | 16,728,255 | null |
75,633,720 | 1 | null | null | 0 | 11 | Using Report Builder/Paginated Reports. I have a main report and drillthru report. I want to pass parameter values from the main report to the drillthru report using url. If I hardcode values in the url, it all works. Is it possible to pass the main report's parameter information in the url without hardcoding values?... | Report Builder - Pass parameter variables (not hardcoded values) in url to a drillthru report | CC BY-SA 4.0 | null | 2023-03-04T04:51:47.437 | 2023-03-04T04:51:47.437 | null | null | 19,210,181 | [
"url",
"drillthrough",
"powerbi-paginated-reports"
] |
75,633,719 | 2 | null | 75,633,507 | 0 | null | This is not how Nextjs works!
NextJS uses file/directory based routing, and has a default entry point.
by default it renders `app/page.tsx`, this is effectively your `/` route
So if you want to create a route with the path `/about`
then you have to create `app/about/page.tsx` file
> New app Directory (Beta)
Today, we... | null | CC BY-SA 4.0 | null | 2023-03-04T04:51:36.987 | 2023-03-04T04:51:36.987 | null | null | 13,488,990 | null |
75,633,707 | 2 | null | 75,631,703 | 0 | null | As @jqurious points out in the comments, this may well be a bug if there's a difference in behaviour between lazy and eager.
However, there is a hint at what may be going on in the documentation of [arr.to_struct()](https://pola-rs.github.io/polars/py-polars/html/reference/expressions/api/polars.Expr.arr.to_struct.html... | null | CC BY-SA 4.0 | null | 2023-03-04T04:46:24.080 | 2023-03-04T04:46:24.080 | null | null | 7,483,211 | null |
75,633,713 | 2 | null | 75,513,081 | 0 | null | Actually the problem isn't in your code; it's working exactly as expected on Google pixel 3; and probably all Google devices would have the same result.
But, when tried that on a Samsung device, this empty `TextInputEditText` behavior starts to jump in.
[This answer](https://stackoverflow.com/a/16184550/9851608) proves... | null | CC BY-SA 4.0 | null | 2023-03-04T04:48:35.187 | 2023-03-04T13:09:54.763 | 2023-03-04T13:09:54.763 | 9,851,608 | 9,851,608 | null |
75,633,722 | 1 | null | null | -1 | 35 | i am trying to push a new element to an array and to my surprise it does not work. I have no idea what is wrong here. Below is the code:
```
buildContactsCollection(primaryContact: Card){
if(primaryContact.phones === undefined){
primaryContact.phones = []
}
let primaryPhone = this.formatPhoneNumber(p... | Pushing data to array does not work using javascript | CC BY-SA 4.0 | null | 2023-03-04T04:53:04.127 | 2023-03-04T19:33:08.563 | null | null | 10,758,175 | [
"javascript",
"arrays"
] |
75,633,725 | 1 | null | null | 0 | 23 | I've been looking at both of them and W3.CSS just looks easier to learn than bootstrap.
The latter seems that the classes are easier to learn, but for Bootstrap the framework classes look harder to memorize.
| Should I learn Bootstrap or W3.CSS? | CC BY-SA 4.0 | null | 2023-03-04T04:55:10.967 | 2023-03-04T05:29:07.800 | null | null | 21,000,008 | [
"html",
"css",
"bootstrap-5",
"w3.css"
] |
75,633,714 | 1 | null | null | 0 | 7 | I wanted to build a friend request system for my side project and I used Nestjs + TypeORM for the backend. However, every time I attempt to bind a `Friend` entity to a certain user, the `target` field of that `Friend` entity changes from the original target to the user I'm binding to. For example:
After I created the `... | TypeORM one-to-many relation changes the original entity after binding relation | CC BY-SA 4.0 | null | 2023-03-04T04:48:45.150 | 2023-03-04T04:48:45.150 | null | null | 13,266,491 | [
"typescript",
"database",
"orm",
"nestjs",
"typeorm"
] |
75,633,721 | 1 | null | null | 0 | 39 | I am very new to Xamarin/.Net Maui development. I am working on a movie app (that's initially going to be targeted to Wide Screens). I am trying to create a Scrollable vertical grid view to show the list of movies similar to the layout below
[](https://i.stack.imgur.com/uG3tZ.png)
I started with CollectionView but I a... | .Net Maui (XAML) Vertical GridView Layout | CC BY-SA 4.0 | null | 2023-03-04T04:53:02.693 | 2023-03-05T02:15:33.007 | 2023-03-05T02:15:33.007 | 17,243,625 | 17,243,625 | [
"android",
"xaml",
"maui"
] |
75,633,726 | 1 | null | null | -3 | 19 | I AM UNABLE TO INCLUDE THE OLD ENGLISH FONT IN THE HEADING OF A WEBSITE I AM CREATING, CAN SOMEONE HELP ME OUT SO THAT I CAN CHANGE THE FONT TO OLD ENGLISH FOR THE HEADING.
I TRIED TO CHANGE THE FONT BY CREATING A CSS FILE AND USING THE SELECTORS OF HEADING AND THEN CHANGING THE FONT OF THE HEADING BUT I AM UNABLE TO S... | HOW TO APPLY OLD ENGLISH FONT IN VSCODE | CC BY-SA 4.0 | null | 2023-03-04T04:55:17.383 | 2023-03-04T04:55:17.383 | null | null | 21,329,774 | [
"css",
"visual-studio-code",
"font-family"
] |
75,633,723 | 1 | null | null | 0 | 12 | I have a csv file (called "`infile`") that looks like below. if the value in the first column is "student" and the value in the second column is "good", I will write the 3rd and 4th columns of that row into a new file called "outfile", and add header for it called "points"`and "`rank".
I know how to do it in Pandas,
... | How to select rows from csv based on column value and write to another csv in Python | CC BY-SA 4.0 | null | 2023-03-04T04:53:44.693 | 2023-03-04T08:37:40.057 | 2023-03-04T05:02:05.610 | 20,977,195 | 20,977,195 | [
"python",
"csv",
"read.csv"
] |
75,633,730 | 2 | null | 8,054,377 | -1 | null |
Product Name:
Prod ID:
UPC:
List Price:
WholeSale:
Quantity:
Line Total:
DeleteOFClearLine
| null | CC BY-SA 4.0 | null | 2023-03-04T04:57:18.863 | 2023-03-04T04:57:18.863 | null | null | 21,324,736 | null |
75,633,724 | 1 | null | null | 0 | 25 | ```
.d1 {
display: flex;
justify-content: space-between;
}
.d1>div {
display: flex;
flex-direction: column-reverse;
justify-content: flex-end;
}
.d1>div>span:last-child {
color: green;
font-size: 30px;
}
.d1>div>span:nth-child(2n) {
color: red;
}
.d1>div>span:nth-child(2n+1) {
color: blue;
}
```
`... | Add color to the last-child | CC BY-SA 4.0 | null | 2023-03-04T04:54:15.087 | 2023-03-04T10:58:01.067 | 2023-03-04T10:58:01.067 | 162,698 | 4,569,926 | [
"css",
"css-selectors"
] |
75,633,729 | 2 | null | 75,633,665 | 2 | null | If possible, its best to avoid the circular nature altogether. One way to do this is use an abstract baseclass for the important functionality, or you can use Protocols for this purpose as well.
Say we have these two classes:
```
class A:
def __init__(self) -> None:
self.a_property = "a"
def action(sel... | null | CC BY-SA 4.0 | null | 2023-03-04T04:56:54.830 | 2023-03-04T04:56:54.830 | null | null | 3,280,538 | null |
75,633,727 | 2 | null | 75,633,269 | 0 | null | As of the [openai-api](https://github.com/Njerschow/openai-api) library does not yet support the chat completion functionality. So the `ChatCompletion` property that you are trying to access does not exist, hence you are getting the `Cannot read property 'create' of undefined` message.
I would instead strongly advise ... | null | CC BY-SA 4.0 | null | 2023-03-04T04:55:34.650 | 2023-03-04T04:55:34.650 | null | null | 10,311,008 | null |
75,633,731 | 2 | null | 71,550,327 | 0 | null |
## For SvelteKit developers
Add this to your `tsconfig.json`:
```
{
"include": [
"./.svelte-kit/ambient.d.ts",
"./.svelte-kit/types/**/$types.d.ts",
"./vite.config.ts",
"./src/**/*.js",
"./src/**/*.ts",
"./src/**/*.svelte",
"./tests/**/*.js",
"./tes... | null | CC BY-SA 4.0 | null | 2023-03-04T04:57:32.353 | 2023-03-04T04:57:32.353 | null | null | 10,799,492 | null |
75,633,728 | 2 | null | 75,631,927 | 0 | null | Adding multiple instances of the same CameraFollow script probably didn't work because each one would stomp on the other's change to `transform.position`, so in the end only the last script to execute `Update()` each frame would have its changes applied.
A different way to go about this is to have a single `CameraFollo... | null | CC BY-SA 4.0 | null | 2023-03-04T04:56:02.067 | 2023-03-04T17:56:32.763 | 2023-03-04T17:56:32.763 | 1,387,174 | 1,387,174 | null |
75,633,734 | 1 | null | null | 0 | 28 | Experts.
I want to create date-specific trigger in Azure Synapse Analytics.
But I don't know if I can make that.
The trigger requirements I would like to make are as follows.
Execution Date(Do not Execute on January,April,July and October.)
Feb 4/Mar 4/May 6/Jun 3/Aug 5/Sep 2/Nov 4/Dec 2
Execution Time
・10 am on all ex... | Is it possible to create date-specific triggers in Azure Synapse Analytics? | CC BY-SA 4.0 | null | 2023-03-04T04:58:48.590 | 2023-03-04T22:51:40.533 | null | null | 19,504,539 | [
"azure",
"azure-data-factory",
"azure-synapse"
] |
75,633,735 | 2 | null | 75,587,056 | 1 | null | ```
@ loop(hours=12)
async def ticket_clear():
try:
cur.execute("SELECT auth_id, chann_id from tickets")
for (auth_id, chann_id) in cur:
channel = client.get_channel(chann_id)
if (channel):
cur.execute(
f"DELETE from tickets WHERE chann_id=... | null | CC BY-SA 4.0 | null | 2023-03-04T04:59:00.693 | 2023-03-04T04:59:00.693 | null | null | 20,013,920 | null |
75,633,732 | 1 | null | null | -1 | 30 | I am trying to creating a strategy,
1. Trend should be positive
2. Entering after the daily green candle(80% green) which should be above the Moving average 21(SMA 21)
3. Also need to check 15min candle also 80% green before entering
4. Exit will be lowest of last 3 candle Daily Green candle(80% green) Next 15 min Gre... | Pine script: Entering after daily and next 15 min candle is above the moving average 21(SMA 21) | CC BY-SA 4.0 | null | 2023-03-04T04:58:23.010 | 2023-03-04T05:13:02.570 | 2023-03-04T05:13:02.570 | 16,057,888 | 16,057,888 | [
"pine-script",
"tradingview-api"
] |
75,633,736 | 1 | null | null | -1 | 16 | not working this error throwing
django.core.exceptions.ImproperlyConfigured: Creating a ModelForm without either the 'fields' attribute or the 'exclude' attribute is prohibited; form EmployeeForm needs updating.
not tried any thing else
| class EmployeeForm(ModelForm): class Meta: model = Employee Fields ='__all__' | CC BY-SA 4.0 | null | 2023-03-04T04:59:01.803 | 2023-03-04T04:59:01.803 | null | null | 3,502,716 | [
"python",
"django",
"using"
] |
75,633,688 | 1 | null | null | -1 | 21 | I can run my code without debugging. However, when I want to debug it, I get the following error message.
I uninstall julia and vs code and reinstalled them. However, nothing changed.
Thanks
Executing task: C:\Users\lunar\AppData\Local\Programs\Julia-1.8.5\bin\julia.exe --color=yes --startup-file=no --history-file=no -... | Julia & VS code - I can't debug my code although I can run it without debgging | CC BY-SA 4.0 | null | 2023-03-04T04:40:22.127 | 2023-03-04T05:04:25.177 | 2023-03-04T05:04:25.177 | 21,329,738 | 21,329,738 | [
"visual-studio-code",
"debugging",
"julia"
] |
75,633,737 | 1 | null | null | 0 | 17 | Using SvelteKit, for some user requests the server needs to make calls to the OS or other programs outside of the space which Sveltekit operates. This can be one of many tasks such as executing a bash script, calling 'ls', or executing a python script. How can this be done in SvelteKit on the server side, eg. `+serever... | How can a server side function in SvelteKit call the OS or another program (eg Python script)? | CC BY-SA 4.0 | null | 2023-03-04T04:59:27.210 | 2023-03-04T16:34:19.580 | null | null | 410,975 | [
"svelte",
"sveltekit"
] |
75,633,739 | 1 | null | null | -2 | 19 | Certification
I am going to take azure az400 certification. Can I take it directly without az104 Or az204 certification
| Can I take az 400 directly without az 104 or az 204? | CC BY-SA 4.0 | null | 2023-03-04T04:59:43.030 | 2023-03-04T04:59:43.030 | null | null | 21,329,805 | [
"azure",
"azure-devops",
"azure-functions",
"certificate",
"devops"
] |
75,633,743 | 2 | null | 75,633,615 | 2 | null | You can use [scan](https://rxjs.dev/api/operators/scan) rxjs operator to perform the accumulation for the messages.
```
import { scan } from 'rxjs';
this.messages$ = this.msgsvc
.getMsg()
.pipe(scan((acc: string[], x: string) => [...acc, x], []));
```
[Demo @ StackBlitz](https://stackblitz.com/edit/angular-yy... | null | CC BY-SA 4.0 | null | 2023-03-04T04:59:59.553 | 2023-03-04T04:59:59.553 | null | null | 8,017,690 | null |
75,633,742 | 1 | null | null | 0 | 10 | New to using VirusTotal API and figuring this out will open the door to much more. I was expecting a dhash value return. The code that follows is persistently resulting the in the following error even with "MY_API_KEY" updated to my key copied directly from my VirusTotal profile:
---
```
import requests
# Replace Y... | What is causing this basic dhash query VirusTotal API Python sample code to persistently produce 404 errors? | CC BY-SA 4.0 | null | 2023-03-04T04:59:59.473 | 2023-03-04T05:01:46.687 | 2023-03-04T05:01:46.687 | 3,298,772 | 3,298,772 | [
"python",
"api"
] |
75,633,744 | 2 | null | 75,631,219 | 1 | null | May be by reducing the font size of the table,
```
---
title: "Change size of HTML table in Quarto"
format: revealjs
engine: knitr
---
## Example slide
```{css}
#| echo: false
.reveal table {
font-size: smaller;
}
```
| Default | Left | Right | Center |
|---------|------|-------|--------|
| 12 | 12 | ... | null | CC BY-SA 4.0 | null | 2023-03-04T05:00:20.503 | 2023-03-04T05:00:20.503 | null | null | 10,858,321 | null |
75,633,740 | 1 | null | null | -1 | 39 | I am totally new in learning C. When I run the program, there is an error called segmentation fault. I am not sure which part I did wrong and how to fix it . whether dereferencing uninitialized pointer? Also, is there any tools to fix this kind of problem? I have tried gdb but this says there is not debugging at all.
... | fixing segmentation fault which part got wrong | CC BY-SA 4.0 | null | 2023-03-04T04:59:48.553 | 2023-03-04T05:09:04.257 | null | null | 21,329,789 | [
"c",
"segmentation-fault"
] |
75,633,746 | 1 | null | null | -3 | 19 | this till help converting uppercase to camelCase and Titlecase.
there are multiple ways of solving this but i found a simple way.
| How to Convert Uppercase to camelCase and Titlecase | CC BY-SA 4.0 | null | 2023-03-04T05:00:46.523 | 2023-03-04T05:24:08.710 | null | null | 21,329,819 | [
"javascript"
] |
75,633,738 | 1 | null | null | 1 | 21 | I'm trying create image form field, but it gives an error and is not creating image form field. maybe I'm doing something wrong. It gets message. With messages I have no troubles.
# models.py
```
from django.db import models
def upload_to(instance, filename):
return '{filename}'.format(filename=filename)
class... | 'ChatForm' object has no attribute 'img' | CC BY-SA 4.0 | null | 2023-03-04T04:59:40.063 | 2023-03-04T07:34:45.700 | 2023-03-04T07:21:41.677 | 17,562,044 | 19,616,200 | [
"python",
"django",
"django-views",
"django-forms",
"django-templates"
] |
75,633,741 | 2 | null | 75,633,516 | 0 | null | ```
myMillionListOfProduct = [
Product(name:soap, price: 10.00),
Product(name:butter, price: 12.00),
...
];
```
its ok if you want to write different `Key` manually, but if you want to create it , then there is some problem :
we can use `Key` like this:
```
products.map(product) => ProductWidget(key: Key(product.name)... | null | CC BY-SA 4.0 | null | 2023-03-04T04:59:58.590 | 2023-03-04T04:59:58.590 | null | null | 15,366,030 | null |
75,633,747 | 1 | null | null | -1 | 10 | I'm trying to configure sending emails through smtp, but I need to add a series of parameters in airflow.cfg, but whenever I make the insertions in the modifications tab of the airflow configuration, I always get the error below, I already have full permissions on composer environment, and there is no dag running at th... | I get an error when trying to modify airflow.cfg in composer | CC BY-SA 4.0 | null | 2023-03-04T05:01:11.157 | 2023-03-04T09:02:03.333 | 2023-03-04T09:02:03.333 | 2,395,282 | 10,205,835 | [
"google-cloud-platform",
"airflow",
"google-cloud-composer",
"airflow-webserver"
] |
75,633,748 | 1 | null | null | 0 | 7 | The drop down field width in my form seems to be shorter than the other form fields. You can see this here,
[https://marketing.polarispacific.com/l/1006272/2023-03-03/26msr](https://marketing.polarispacific.com/l/1006272/2023-03-03/26msr)
While I am dropping an iframe into my final website below is the basic code. I am... | Sales Force Pardot Form Styling-CSS | CC BY-SA 4.0 | null | 2023-03-04T05:01:29.967 | 2023-03-04T05:01:29.967 | null | null | 3,896,221 | [
"css",
"forms",
"salesforce-lightning"
] |
75,633,752 | 1 | null | null | 0 | 8 | [](https://i.stack.imgur.com/dG6SQ.gif)
When I want to switch between two videos, there is a transition effect in the middle. The picture is just one of the effects. Is there any way for konvajs to achieve it?
| How to achieve video transition by konvaJs? | CC BY-SA 4.0 | null | 2023-03-04T05:02:34.930 | 2023-03-04T05:02:34.930 | null | null | 8,283,014 | [
"konvajs"
] |
75,633,733 | 1 | null | null | 0 | 31 | I'm trying to build my first tradingview strategy, think I'm doing pretty good considering I've been learning about it for less than a week. I'm actually having fun! Of course I've run into a lot of problems figuring it out as I go (and found a lot of solutions on this site, many thanks to those who answer questions!),... | Issues with stop-losses in pinescript strategy. Probably a simple problem | CC BY-SA 4.0 | null | 2023-03-04T04:58:34.070 | 2023-03-04T05:41:36.780 | 2023-03-04T05:41:36.780 | 21,329,643 | 21,329,643 | [
"pine-script",
"pine-script-v5",
"trading",
"algorithmic-trading",
"tradingview-api"
] |
75,633,754 | 1 | null | null | 0 | 21 | I am using wprdpress and my website is running well. I have exported database via phpmyadmin. when i am trying to import for other server I am getting this error. Am i making any mistake while importing or I will have to make changes in database??
Not able to import database...getting this error as attached...[error wh... | I am getting following error while importing database | CC BY-SA 4.0 | null | 2023-03-04T05:04:04.143 | 2023-03-04T20:56:56.243 | null | null | 19,596,549 | [
"mysql",
"wordpress"
] |
75,633,749 | 1 | null | null | 0 | 18 | In a WPF applicaiton, creating a native window using User32 API, while configuring the WindowStyle with '~WindowStyles.WS_BORDER', the mouse messages can not be fired in the WndProc handler function.
How should I do so that the window has no borders and can capture mouse messages?
Some key codes are as follows:
```
usi... | Window mouse message can not fire wile configured with ~WS_BORDER | CC BY-SA 4.0 | null | 2023-03-04T05:02:20.360 | 2023-03-04T05:02:20.360 | null | null | 7,893,169 | [
"windows",
"winapi",
"user32"
] |
75,633,750 | 1 | null | null | 0 | 23 | I have written the code below to do following thing
```
import pyautogui
import time
pyautogui.locateCenterOnScreen('1.png')
pyautogui.click('1.png', duration=0.5)
time.sleep(1)
pyautogui.locateCenterOnScreen('2.png')
pyautogui.click('2.png')
```
1. Locate 1.png and click it
2. After clicking 1.png, wait for the s... | TypeError: cannot unpack non-iterable NoneType object related to opencv | CC BY-SA 4.0 | null | 2023-03-04T05:02:23.603 | 2023-03-04T08:13:42.820 | 2023-03-04T08:13:42.820 | 1,968,182 | 21,329,820 | [
"python"
] |
75,633,757 | 2 | null | 13,221,593 | -2 | null | core language means it include basic concept which include syntax and other rule related to it.
| null | CC BY-SA 4.0 | null | 2023-03-04T05:04:52.767 | 2023-03-04T05:04:52.767 | null | null | 20,912,745 | null |