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,634,327 | 1 | null | null | -1 | 14 | I am using wordpress with the "avadanta consulting" theme (inherits elements from parent theme "avadanda"). I wanna use the featured image as a header, but can't find where to paste the code snippet:`<?php
```
if ( ( is_single() || ( is_page() ) ) && has_post_thumbnail( get_queried_object_id() ) ) :
echo '<div clas... | Use featured image as banner picture in wordpress theme | CC BY-SA 4.0 | null | 2023-03-04T07:45:34.303 | 2023-03-04T07:45:34.303 | null | null | 17,064,064 | [
"wordpress",
"wordpress-theming"
] |
75,634,322 | 1 | 75,634,377 | null | 0 | 31 | In the Angular 14 project, I am implementing Search Filter Pipe
I have this code:
```
import { Pipe, PipeTransform } from '@angular/core';
@Pipe({
name: 'transferFilter'
})
export class TransferFilterPipe implements PipeTransform {
transform(row: any, f1: Date, f2?: Date): any {
f1.toString().length == 0 ? f1 =... | Angular 14 - Get error: Argument of type 'Date | undefined' is not assignable to parameter of type 'string | number | Date' | CC BY-SA 4.0 | null | 2023-03-04T07:43:50.050 | 2023-03-04T09:02:38.283 | 2023-03-04T08:51:23.490 | 8,017,690 | 8,507,236 | [
"angular",
"typescript",
"angular14"
] |
75,634,331 | 1 | null | null | -1 | 22 | Comment utiliser la fonction abc_ci de r? j'ai lu la documentation de r sur cette fonction mais je n'y arrive pas
voici ce que j'ai essayé mais ça ne marche pas:
```
b <- boot(mydata,statistic = function(x,i) median(x[i]),1000)
ci<-boot.ci(b)
```
| Comment utiliser la fonction abc_ci de r? | CC BY-SA 4.0 | null | 2023-03-04T07:45:58.727 | 2023-03-04T08:09:03.123 | 2023-03-04T08:09:03.123 | 5,221,626 | 21,314,762 | [
"r"
] |
75,634,333 | 2 | null | 39,259,528 | 0 | null | Solution using grep:
```
if grep -qe ^$MY_STR$ myfile; then \
echo "success"; \
fi
```
| null | CC BY-SA 4.0 | null | 2023-03-04T07:46:51.233 | 2023-03-04T08:41:15.393 | 2023-03-04T08:41:15.393 | 14,553,660 | 14,553,660 | null |
75,634,330 | 1 | null | null | 1 | 23 | I am trybing to call userService class in usercontroller class:
UserService
```
class UserService {
public findAll(){
return await UserRepository.find({})
}
}
export default UserService;
```
UserController:
```
import { UserRepository } from "../repositories/userRepository"
imp... | TypeError: Cannot read properties of undefined (reading 'userService') in typescript project | CC BY-SA 4.0 | null | 2023-03-04T07:45:54.610 | 2023-03-04T09:35:50.790 | 2023-03-04T08:10:17.327 | 15,428,870 | 15,428,870 | [
"node.js",
"typescript",
"typeorm"
] |
75,634,334 | 2 | null | 69,126,060 | 0 | null | Unit Test section in gnome-builder shows tests described in meson.build files.
Example from gnome application template:
```
desktop_utils = find_program('desktop-file-validate', required: false)
if desktop_utils.found()
test('Validate desktop file', desktop_utils, args: [desktop_file])
endif
```
Meson Unit tests doc... | null | CC BY-SA 4.0 | null | 2023-03-04T07:47:03.270 | 2023-03-04T07:47:03.270 | null | null | 6,625,927 | null |
75,634,332 | 1 | null | null | -1 | 27 | I want to save my result into csv file. This is my code:
```
import itertools
import csv
letters = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
combinations = list(itertools.permutations(letters, 4))
print(len(combinations))
with open('result.csv', 'w', newline='') as myfile:
wr = csv.writer(myfile, quoting=csv.QUOTE_ALL)
f... | Cannot join chars into string in csv writer | CC BY-SA 4.0 | null | 2023-03-04T07:46:19.977 | 2023-03-04T07:54:45.543 | null | null | 11,554,475 | [
"python",
"python-3.x",
"list",
"csvwriter"
] |
75,634,335 | 1 | null | null | -3 | 21 | For my c++ windows project I need to build apache arrow 11 creating dll or .lib to read parquet files.
What are the steps to build the arrow source code on windows?
I went through the site [https://arrow.apache.org/docs/developers/cpp/building.html](https://arrow.apache.org/docs/developers/cpp/building.html)
but it doe... | Building apache arrow 11 library for c++ windows | CC BY-SA 4.0 | null | 2023-03-04T07:47:03.307 | 2023-03-04T08:16:52.720 | 2023-03-04T08:16:52.720 | 1,273,923 | 1,273,923 | [
"c++",
"apache-arrow"
] |
75,634,338 | 2 | null | 54,139,072 | 0 | null | There was space in the name of the folder name, which cause the folder to appear in wordpress dashboard
| null | CC BY-SA 4.0 | null | 2023-03-04T07:47:43.727 | 2023-03-04T07:48:56.927 | 2023-03-04T07:48:56.927 | 20,754,981 | 20,754,981 | null |
75,634,321 | 1 | null | null | -1 | 16 | I try to make register but when i put all information the app close in the post i have the error.
i wanna make this
this my code.
```
package com.example.aprendosiosi;
import androidx.annotation.NonNull;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.os.Bundle;
import a... | I try to make register but when i put all information the app close in the post i have the error | CC BY-SA 4.0 | null | 2023-03-04T07:43:41.770 | 2023-03-04T07:55:53.153 | null | null | 21,330,308 | [
"java",
"android-studio"
] |
75,634,339 | 2 | null | 75,634,186 | 1 | null | You could use a `foreach` loop to iteratate over an array of values:
```
foreach (var i in new[] { 20,25,27,33 })
{
// ....
}
```
| null | CC BY-SA 4.0 | null | 2023-03-04T07:47:44.497 | 2023-03-04T07:47:44.497 | null | null | 2,142,950 | null |
75,634,341 | 2 | null | 75,633,812 | 0 | null | That's just your idea of how browser's JavaScript should work.
But in reality, unless it's a sub frame, your script is only allowed to operate on the page which loaded said script.
If you need that script on another page, move it to that other page.
| null | CC BY-SA 4.0 | null | 2023-03-04T07:48:51.677 | 2023-03-04T07:48:51.677 | null | null | 8,740,349 | null |
75,634,340 | 2 | null | 75,634,180 | 0 | null | You can use the `priority` dictionary to map the numeric values, then use [get()](https://docs.python.org/3.12/library/stdtypes.html#dict.get)
method to access values and pass the key as an argument, like so:
```
{% for maj in maji %}
<tr>
<td style="border: 1px solid #ddd; padding: 8px;">{{ maj.u_brandprodsvc_af... | null | CC BY-SA 4.0 | null | 2023-03-04T07:47:55.903 | 2023-03-04T11:48:13.427 | 2023-03-04T11:48:13.427 | 17,562,044 | 17,562,044 | null |
75,634,329 | 1 | null | null | 1 | 8 | I am building a basic blogging website using NextJS. All of the blog data is stored as JSON in the public directory under a folder called `blogdata`. To get the contents of the blodtata folder, I have created in API route to read the `blogdata` folder then send the data back. here is how it looks:
```
// pages/api/blog... | Unable to read directory after deploying to vercel | CC BY-SA 4.0 | null | 2023-03-04T07:45:45.313 | 2023-03-04T07:45:45.313 | null | null | 17,408,627 | [
"node.js",
"next.js",
"vercel"
] |
75,634,326 | 1 | null | null | 0 | 26 | I have a file containing a lot of rows of information about exons. Using `Example.bed` as the example:
```
chr10 20284306 20284479 1 174 + 5703 ENSGALE00010000132 1 TP53BP1 ENSGALP00010000035
chr10 20284549 20284700 175 326 + 5703 ENSGALE000... | Return the largest value of multiple variables of a column | CC BY-SA 4.0 | null | 2023-03-04T07:45:21.717 | 2023-03-05T05:04:29.590 | null | null | 20,377,593 | [
"linux",
"loops",
"max"
] |
75,634,345 | 2 | null | 75,319,228 | 0 | null | Navigate to the `..windows/runner` folder within your project directory, as shown below:
[](https://i.stack.imgur.com/sC2OT.jpg)
Open up the `main.cpp` file and scroll down until you find the last conditional, like so:
[](https://i.stack.imgur.com/Jj6sz.jpg)
You can see from my current project that I've got a string sa... | null | CC BY-SA 4.0 | null | 2023-03-04T07:49:33.520 | 2023-03-04T07:49:33.520 | null | null | 12,468,539 | null |
75,634,344 | 1 | null | null | 0 | 16 | I am using JakartaMail API to send email. The `Transport.send` method takes 11 to 13 seconds to send an email with an attachment of 3.26MB.
Below is the code,
```
Multipart multipart = new MimeMultipart();
for (MultipartFile part : file) {
System.out.println(part.getOriginalFilename());
BodyPart messageBodyPar... | Transport.send takes more time in java mail api while sending email | CC BY-SA 4.0 | null | 2023-03-04T07:49:18.583 | 2023-03-04T08:20:17.717 | 2023-03-04T08:20:17.717 | 466,862 | 20,916,403 | [
"java",
"spring-boot",
"jakarta-mail",
"sendmail",
"send"
] |
75,634,304 | 2 | null | 75,625,523 | 1 | null |
1. According to this:
> [3](https://timsong-cpp.github.io/cppwp/n4868/atomics#order-3) An atomic operation on some atomic object is another atomic operation on if
— is a modification, and reads the value stored by , or
— precedes in the modification order of , or
— and are not the same atomic read-modi... | null | CC BY-SA 4.0 | null | 2023-03-04T07:37:21.190 | 2023-03-04T07:37:21.190 | null | null | 21,330,309 | null |
75,634,348 | 1 | null | null | -2 | 15 | [enter image description here](https://i.stack.imgur.com/mPjkK.png)
I tried use composer but i see these errors. How do i solve them?
| How do i solve these problems with php composer? | CC BY-SA 4.0 | null | 2023-03-04T07:50:34.657 | 2023-03-04T07:50:34.657 | null | null | 21,330,274 | [
"php",
"composer-php"
] |
75,634,350 | 1 | null | null | 0 | 13 | When I use the input function to attempt and get user input, it shows that the code is still running. I'm unable to give input. What will the cause be?
| Python's input function is not functioning in Visual Studio Code | CC BY-SA 4.0 | null | 2023-03-04T07:50:43.470 | 2023-03-04T07:51:08.350 | 2023-03-04T07:51:08.350 | 19,402,704 | 19,402,704 | [
"python"
] |
75,634,337 | 2 | null | 68,463,559 | 0 | null | I realized that I inserted my script in _document.tsx and it should be in _app.tsx.. Also it should be outside Head component. ([Next 11 and adding Script tags not working. No scripts are rendered](https://stackoverflow.com/questions/68058814/next-11-and-adding-script-tags-not-working-no-scripts-are-rendered)) What wor... | null | CC BY-SA 4.0 | null | 2023-03-04T07:47:34.270 | 2023-03-04T07:47:34.270 | null | null | 10,317,710 | null |
75,634,351 | 2 | null | 75,568,875 | 0 | null | expo-crypto is a dependency of expo-auth-session, I tried following the error to the requireNativeModule.js
Kindle check the code init and see if you comment it out
| null | CC BY-SA 4.0 | null | 2023-03-04T07:50:54.030 | 2023-03-04T07:50:54.030 | null | null | 15,252,529 | null |
75,634,349 | 1 | null | null | -3 | 28 | I am trying to animate my Cube(dice) when user presses the button and execute dice case. My Code works perfect but animation does not work. I am using timeout but it's not working.
HTML
Cube is dice, Side is sides of the cube
```
<div class="cube">
<div class="side top"></div>
<div class="side bottom"><... | Why My CSS animation is not working in Javascript | CC BY-SA 4.0 | null | 2023-03-04T07:50:39.490 | 2023-03-04T17:56:09.410 | 2023-03-04T17:56:09.410 | 17,318,529 | 18,877,231 | [
"javascript",
"html",
"css",
"web",
"css-animations"
] |
75,634,356 | 1 | null | null | 0 | 8 | I installed vue3-infinite-scroll-good package on my vuejs3 application. After that i use it like this:
```
import type { TraderRouter } from '@/router/traderRouter';
import type { VueModule } from 'vue-modules';
import type { Pinia } from 'pinia';
import infiniteScroll from 'vue3-infinite-scroll-good';
export class ... | error TS7016: Could not find a declaration file for module 'vue3-infinite-scroll-good' | CC BY-SA 4.0 | null | 2023-03-04T07:52:25.093 | 2023-03-04T07:52:25.093 | null | null | 10,025,862 | [
"javascript",
"vuejs3",
"infinite-scroll"
] |
75,634,358 | 1 | null | null | 1 | 22 | Get-azdisk -disk diskname -resourcegroup RG is providing tier for premium but not showing the tier of standard HDD drives Any idea why?
Thanks,
| Get-azdisk is giving Tier only premium disks? | CC BY-SA 4.0 | null | 2023-03-04T07:52:36.957 | 2023-03-04T09:28:39.553 | 2023-03-04T09:28:39.553 | 16,630,138 | 7,747,401 | [
"azure",
"azure-powershell",
"azure-virtual-machine"
] |
75,634,359 | 2 | null | 75,615,114 | 0 | null | [https://docwiki.embarcadero.com/Libraries/Alexandria/en/ToolsAPI](https://docwiki.embarcadero.com/Libraries/Alexandria/en/ToolsAPI)
Alexandria 11.3 online documentation ;)
Embarcedor with this release also provides classes/interface to operate with the code editor
| null | CC BY-SA 4.0 | null | 2023-03-04T07:52:38.837 | 2023-03-04T07:52:38.837 | null | null | 2,355,423 | null |
75,634,353 | 1 | null | null | 0 | 35 | I'm trying to install PDCurses for Windows using MinGW and CodeBlocks. I'm using [this tutorial](https://www.google.com/search?q=how+to+install+pdcurses+code+blocks&oq=how+to+install+pdcurses+code&aqs=chrome.0.69i59j69i57j69i60.4871j0j4&sourceid=chrome&ie=UTF-8#fpstate=ive&vld=cid:fbabb919,vid:mYnfix8ruAo) as I'm hopel... | mingw32-make cannot find standard C libraries | CC BY-SA 4.0 | null | 2023-03-04T07:51:15.637 | 2023-03-04T13:20:14.797 | 2023-03-04T13:20:14.797 | 17,587,798 | 17,587,798 | [
"c",
"windows",
"makefile",
"mingw",
"pdcurses"
] |
75,634,357 | 1 | null | null | 4 | 75 | I have a `classmethod` that I want to be called automatically before or when any child of the class it belongs to gets created. How can I achieve that?
Since I understand this can be an XY problem, here is why I (think I) need it, and my basic implementation.
I have a class that gets inherited, and the children of that... | Dynamically modifying a class upon creation | CC BY-SA 4.0 | null | 2023-03-04T07:52:31.033 | 2023-03-04T14:54:55.737 | 2023-03-04T14:36:35.260 | 2,954,547 | 3,368,201 | [
"python"
] |
75,634,354 | 1 | null | null | -1 | 15 | My target is to display the p99/p95 metices of an API.
Here is my code:
```
@Bean
Summary getSummary(){
return Summary.build()
.name("requests_latency_seconds")
.help("Request latency in seconds.")
// 0.5 quantile (median) with 0.01 allowed error
.quantile(0.5, 0.01)... | Calculating p99/p95 of an API | CC BY-SA 4.0 | null | 2023-03-04T07:51:42.800 | 2023-03-04T11:47:23.877 | 2023-03-04T11:47:23.877 | 20,330,517 | 20,330,517 | [
"prometheus",
"grafana",
"promql"
] |
75,634,360 | 2 | null | 63,398,105 | 0 | null | You need to Import warnings package/library.
Check below
```
%matplotlib inline
import matplotlib.pyplot as plt
import numpy as np
import pandas as pd
import warnings
warnings.filterwarnings('ignore')
```
| null | CC BY-SA 4.0 | null | 2023-03-04T07:52:45.407 | 2023-03-04T07:53:52.197 | 2023-03-04T07:53:52.197 | 21,330,351 | 21,330,351 | null |
75,634,347 | 1 | null | null | 0 | 9 | ```
mCallbacks = new PhoneAuthProvider.OnVerificationStateChangedCallbacks() {
@Override
public void onVerificationCompleted(@NonNull PhoneAuthCredential credential) {
// This callback will be invoked in two situations:
// 1 - Instant verification. In some cases ... | Firebase OnVerificationComplete is not working: android studio | CC BY-SA 4.0 | null | 2023-03-04T07:50:22.080 | 2023-03-04T07:50:22.080 | null | null | 17,716,493 | [
"java",
"android"
] |
75,634,363 | 1 | null | null | 0 | 9 | Can someone help me by sharing the list of Inventor versions supported by APS?
I'm using Design Automation API and Visualization API.
I tried this API [https://aps.autodesk.com/en/docs/design-automation/v3/reference/http/engines-GET/](https://aps.autodesk.com/en/docs/design-automation/v3/reference/http/engines-GET/).
I... | List of Inventor versions supported by Autodesk Platform Services | CC BY-SA 4.0 | null | 2023-03-04T07:53:13.473 | 2023-03-04T07:53:13.473 | null | null | 21,330,330 | [
"forge",
"autodesk-designautomation",
"autodesk-inventor",
"aps"
] |
75,634,365 | 1 | null | null | -3 | 14 | I have a service which is on Lambda and uses Dagger as Dependency Injection. I need to create a new ECS service package (which uses guice as DI by default) which will be mostly similar to Lambda package.
Can we include Fargate code in Lambda package?
| What Dependency Injection framework should we use for ECS Service packages. Guice vs Dagger | CC BY-SA 4.0 | null | 2023-03-04T07:53:32.523 | 2023-03-04T17:48:55.810 | 2023-03-04T17:48:55.810 | 13,210,719 | 13,210,719 | [
"aws-lambda",
"dependency-injection",
"guice",
"aws-fargate",
"dagger"
] |
75,634,346 | 1 | null | null | 1 | 37 | I want to be able to create a product and in the package I of that product I wan to be able to put an id of one of the skus that I have in my storage model and when I GET the product I want it to show the info about that sku I have search for an answer for this for days and I can not find a solution
```
const ProductSc... | ref and Populate in mongoose to a specific field | CC BY-SA 4.0 | null | 2023-03-04T07:49:55.670 | 2023-03-04T16:36:37.720 | null | null | 14,343,167 | [
"node.js",
"mongodb",
"mongoose",
"next.js"
] |
75,634,362 | 1 | null | null | 0 | 22 | I working on a webpage.where i have number of links on the menu.When i clicked on the menu link it opens the page in a new tab.
My requirement is that i have to prevent the new tab when i click on the link second time.
1. When i clicked on the link first time it opens the page URL in new tab.
2. When i clicked on the ... | How to restrict new tab more than once on a particular link in javascript | CC BY-SA 4.0 | null | 2023-03-04T07:53:13.303 | 2023-03-04T08:08:29.260 | 2023-03-04T08:08:29.260 | 5,449,599 | 5,449,599 | [
"javascript",
"html",
"jquery"
] |
75,634,367 | 2 | null | 68,256,069 | 0 | null | Update:
now mounted property as been added in the Build Context
```
if (context.mounted) {
...
}
```
| null | CC BY-SA 4.0 | null | 2023-03-04T07:53:47.790 | 2023-03-04T07:53:47.790 | null | null | 13,455,566 | null |
75,634,369 | 2 | null | 75,634,332 | 0 | null | writerow() interprets the string you pass as a sequence of characters. This causes the function to write each character as a separate field. Instead of passing `"".join(item)` you can pass `["".join(item)]` to treat them as a single field
```
import itertools
import csv
letters = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
combinat... | null | CC BY-SA 4.0 | null | 2023-03-04T07:54:45.543 | 2023-03-04T07:54:45.543 | null | null | 10,513,148 | null |
75,634,366 | 2 | null | 45,004,725 | 0 | null | `|``Union`
This is going to be the way forward in the future, so clean:
```
def f(i: int | str) -> int | str:
if type(i) is str:
return int(i) + 1
else:
return str(i)
```
Also is also already fully supported by Sphinx:
[](https://i.stack.imgur.com/EJDNY.png)
More details at: [How to express mul... | null | CC BY-SA 4.0 | null | 2023-03-04T07:53:38.600 | 2023-03-04T07:53:38.600 | null | null | 895,245 | null |
75,634,364 | 1 | null | null | 0 | 16 | I am trying to create a html table with the column having placed in different places of the table. A table with 10 record having 15 td columns in different places.I am looking for the help to bring this layout in my code.[](https://i.stack.imgur.com/nuKsm.png). I have attached my layout as png format. Here is my code
`... | How to create a scattered td columns in different positions on the table | CC BY-SA 4.0 | null | 2023-03-04T07:53:30.350 | 2023-03-04T12:21:29.167 | 2023-03-04T12:21:29.167 | 18,765,477 | 18,765,477 | [
"html",
"asp.net-core"
] |
75,634,370 | 1 | null | null | -1 | 49 | What's the difference between
```
char string[3] = "ABC";
char* pString = string;
printf("%s", pString);
```
and
```
char* pString = "ABC";
printf("%s", pString);
```
First code prints ABC with 2 random ascii words at the end while second one only prints ABC.
| C Pointer Variable with Characters | CC BY-SA 4.0 | null | 2023-03-04T07:54:45.547 | 2023-03-04T12:41:55.187 | 2023-03-04T08:13:02.807 | 2,877,241 | 17,825,005 | [
"arrays",
"c",
"initialization",
"printf",
"string-literals"
] |
75,634,372 | 1 | null | null | -2 | 19 | how to add sass in vs code
I cannot add sass in my vs code. please can anyone help me ! because aim a beginner [i wrote "sass- init" by looking at a youtube video](https://i.stack.imgur.com/xZiqP.png)
| what is functions to add sass in visual studio code | CC BY-SA 4.0 | null | 2023-03-04T07:55:40.333 | 2023-03-04T07:55:40.333 | null | null | 21,313,946 | [
"javascript",
"html",
"css"
] |
75,634,368 | 1 | null | null | 0 | 12 | In solidity, I have a mapping of balances:
```
mapping(address => uint256) public balances;
```
I need to go through each entry for each address (each key) of this mapping. Something like:
```
for (address i = -1; i < maxAddress ; i++) {
if (balances[i] > 0) {
uint256 dividendOwing = _totalDividend... | Solidity, iterate over `mapping(address => unit256)` | CC BY-SA 4.0 | null | 2023-03-04T07:53:56.480 | 2023-03-04T10:03:47.353 | null | null | 3,049,865 | [
"for-loop",
"mapping",
"solidity"
] |
75,634,361 | 2 | null | 24,454,137 | 0 | null | I go then authentication token using a package. You can get this token following other ways also. Install a npm package for your google login. Check this [npm package](https://www.npmjs.com/package/@react-oauth/google?activeTab=readme).
Add scope and flow in the GoogleLogin function to get the authentication code.
```
... | null | CC BY-SA 4.0 | null | 2023-03-04T07:53:09.997 | 2023-03-04T11:22:47.787 | 2023-03-04T11:22:47.787 | 12,948,011 | 12,948,011 | null |
75,634,373 | 2 | null | 75,634,321 | 0 | null | I think the problem is at this line
```
String id = mAuth.getCurrentUser().getUid();
```
the getCurrentUser() method may return a Null object and then the getUid() will give you the NullPointerException , you should write this instead
```
FirebaseUser mFirebaseUser = mAuth.getCurrentUser();
if(mFirebaseUser != null) {... | null | CC BY-SA 4.0 | null | 2023-03-04T07:55:53.153 | 2023-03-04T07:55:53.153 | null | null | 21,330,326 | null |
75,634,376 | 1 | null | null | 0 | 10 | I have been looking into Redis and NCache as a cached storage to around 10.000 objects that a client need to have access to pretty frequently.
Is it possible use EF Core and with NCache and use a where clause that filter the data based on a Regex? Just as it was data based on a memory structure that was filtered with a... | Is it possible to use EF Core to filter NCache data with a Regex? | CC BY-SA 4.0 | null | 2023-03-04T07:56:42.417 | 2023-03-04T07:56:42.417 | null | null | 1,754,132 | [
"c#",
"redis",
"ncache"
] |
75,634,375 | 1 | null | null | 0 | 17 | I want to use gst-plugins-rs (in particular rtpav1depay) in Android app.
I am using either the standard binaries provided by gstreamer website (1.22) and a cerbero compiled version (1.23 with RUST variant enabled).
The tutorials (from 1 to 5) are all working well without issues in Android 11 and 13 (Android API 33) arm... | Using Gstreamer Rust plugins from Android app | CC BY-SA 4.0 | null | 2023-03-04T07:56:31.723 | 2023-03-04T07:56:31.723 | null | null | 21,320,227 | [
"android",
"rust",
"gstreamer",
"rtp"
] |
75,634,379 | 2 | null | 75,634,172 | 0 | null | You should never call prepateMainLooper, in any version of Android. It should never have been a public function. It sets up the looper for the main thread. The framework does that for you, so it was never useful to call, and could even have caused damage. If you want to set up your own looper on your own thread, yo... | null | CC BY-SA 4.0 | null | 2023-03-04T07:57:29.153 | 2023-03-04T07:57:29.153 | null | null | 1,631,193 | null |
75,634,377 | 2 | null | 75,634,322 | 1 | null | Assign a fallback date while defining the parameter itself, e.g.
```
transform(row: any, f1: Date, f2 = new Date()): any {...}
```
As you have made `f2` an optional argument, typescript infers the type as `Date | undefined`
```
f2: Date | undefined
```
and Date constructor only expects either of `number | string | D... | null | CC BY-SA 4.0 | null | 2023-03-04T07:56:54.097 | 2023-03-04T08:02:02.957 | 2023-03-04T08:02:02.957 | 11,719,787 | 11,719,787 | null |
75,634,374 | 2 | null | 75,633,737 | 1 | null | Use [child_process.exec()](https://nodejs.org/api/child_process.html#child_processexeccommand-options-callback) in Node.js to run arbitrary commands.
```
const { exec } = require('node:child_process');
exec('"/path/to/test file/test.sh" arg1 arg2');
// Double quotes are used so that the space in the path is not interp... | null | CC BY-SA 4.0 | null | 2023-03-04T07:55:56.443 | 2023-03-04T07:55:56.443 | null | null | 2,104,665 | null |
75,634,385 | 2 | null | 62,280,155 | 0 | null | To append a path to the PATH env var, you can do this:
```
SetEnv PATH "${PATH}:/my/nifty/path/bin"
```
| null | CC BY-SA 4.0 | null | 2023-03-04T07:59:28.263 | 2023-03-04T07:59:28.263 | null | null | 454,246 | null |
75,634,381 | 1 | null | null | 0 | 13 | I have following data (dataframe) to plot multi-circle network, but I don't know how to plot with R or Python I have gone through motifr package [https://marioangst.github.io/motifr/index.html]
and py3plex [https://py3plex.readthedocs.io/en/latest/visualization.html], but didn't understood
[Data](https://i.stack.imgur.... | Temporal/multi-level network visualization | CC BY-SA 4.0 | null | 2023-03-04T07:57:53.483 | 2023-03-04T08:07:30.487 | 2023-03-04T08:07:30.487 | 21,330,313 | 21,330,313 | [
"python",
"r",
"networkx",
"cytoscape",
"pyvis"
] |
75,634,383 | 2 | null | 75,634,280 | 2 | null | The below are called [Index Signatures](https://www.typescriptlang.org/docs/handbook/2/objects.html#index-signatures).
```
{ [key: string]: string }[]
```
They are used when you do not know the names of all the keys that an object type will have. So you tell Typescript that although the name of the key is not known ab... | null | CC BY-SA 4.0 | null | 2023-03-04T07:59:24.407 | 2023-03-04T07:59:24.407 | null | null | 10,140,124 | null |
75,634,378 | 2 | null | 75,634,322 | 2 | null |
It is due to f2 is `Date | undefined` type from here:
```
transform(row: any, f1: Date, f2?: Date)
```
With the below line it only assigns with the value when it is `null`, but it won't change the type
```
f2 == null ? f2 = new Date() : f2;
```
---
To solve it, you can cast `f2` to `Date` type:
```
new Date(f2 a... | null | CC BY-SA 4.0 | null | 2023-03-04T07:57:28.707 | 2023-03-04T09:02:38.283 | 2023-03-04T09:02:38.283 | 8,017,690 | 8,017,690 | null |
75,634,386 | 2 | null | 75,634,134 | 1 | null | You can count with condition.
```
df.groupBy('Language') \
.agg(
f.count(f.when(f.col('Gender') == 'Male', True)).alias('Male'),
f.count(f.when(f.col('Gender') == 'Female', True)).alias('Female')
) \
.show(truncate=False)
+-------------+----+------+
|Language |Male|Female|
+-------------+----+------+... | null | CC BY-SA 4.0 | null | 2023-03-04T07:59:33.423 | 2023-03-04T07:59:33.423 | null | null | 11,841,571 | null |
75,634,319 | 1 | null | null | 1 | 31 | The official JMESPATH reference states the following:
[List and Slice Projections](https://jmespath.org/tutorial.html#list-and-slice-projections)
> Projections are evaluated as two steps. The left hand side (LHS) creates a JSON array of initial values. The right hand side (RHS) of a projection is the expression to proj... | What is the behavior of JMESPATH's Projections and MultiSelect? | CC BY-SA 4.0 | null | 2023-03-04T07:41:41.447 | 2023-03-04T23:21:08.127 | 2023-03-04T23:21:08.127 | 19,530,641 | 19,530,641 | [
"jmespath"
] |
75,634,382 | 1 | null | null | -2 | 21 | os : ubuntu 22.04
VGA : Radeon RX 570 Series
I have sound with mother board sound output.
I have no sound with HDMI output. The HDMI is hooked up with my graphic card which RX 570
i have no sound at HDMI output
lspci shows that the audio card has been detected
[lspci image](https://i.stack.imgur.com/1Vp06.png)
but at t... | why my sound card is not detected by alsa? | CC BY-SA 4.0 | null | 2023-03-04T07:58:00.100 | 2023-03-04T08:01:21.473 | 2023-03-04T08:01:21.473 | 20,519,182 | 20,519,182 | [
"audio",
"amd",
"alsa",
"ubuntu-22.04",
"hdmi"
] |
75,634,380 | 2 | null | 65,646,149 | 0 | null | I know that this question was asked 2 years ago, but...
If you want to open an FXML file that uses a custom component in SceneBuilder first you must load the JAR file of the custom component using the option `JAR/FXML Manager > Add Library/FXML from file system`. Then browse your file system to locate the jar.
[](https... | null | CC BY-SA 4.0 | null | 2023-03-04T07:57:29.627 | 2023-03-04T07:57:29.627 | null | null | 243,532 | null |
75,634,371 | 2 | null | 75,634,223 | 2 | null | In Java, Generics[1,](https://docs.oracle.com/javase/tutorial/java/generics/index.html)[2,](https://docs.oracle.com/javase/tutorial/extra/generics/index.html)[3](https://docs.oracle.com/javase/8/docs/technotes/guides/language/generics.html) uses type parameters. The code in your question uses type arguments and not typ... | null | CC BY-SA 4.0 | null | 2023-03-04T07:55:09.173 | 2023-03-04T08:07:52.133 | 2023-03-04T08:07:52.133 | 2,164,365 | 2,164,365 | null |
75,634,388 | 2 | null | 75,576,866 | 0 | null | In nextjs you have to export the schema like this this will fix your issue
```
import mongoose from "mongoose";
const Schema = mongoose.Schema;
const ProductSchema = new mongoose.Schema({
name:{type:String, required:true, unique:true},
image:{type:String, required:true},
},{timestamps : true})
export default... | null | CC BY-SA 4.0 | null | 2023-03-04T07:59:55.003 | 2023-03-04T07:59:55.003 | null | null | 14,343,167 | null |
75,634,395 | 2 | null | 72,850,510 | 0 | null | To recover the assets from your compromised wallet you need to take three processes (Claim-Unstakes-Transfer) in one single transaction. That's can be done with Flashbots scripts but you need good javascript and EVM knowledge.
| null | CC BY-SA 4.0 | null | 2023-03-04T08:02:00.713 | 2023-03-04T08:02:00.713 | null | null | 11,042,460 | null |
75,634,391 | 2 | null | 75,631,256 | 0 | null | My advice will be very specific to your flat input array. It seems that you would like the output from `var_export ()` but without the old skool array syntax and without the multiline formatting.
The following will use modern brace syntax and replace the newlines with single spaces. My snippet is not designed for mul... | null | CC BY-SA 4.0 | null | 2023-03-04T08:01:35.237 | 2023-03-04T08:01:35.237 | null | null | 2,943,403 | null |
75,634,396 | 2 | null | 75,634,128 | 0 | null | This is something you generally do NOT want to do. Instead, you'd probably want to migrate/update the user's data. Just deleting it is going to lead to a lot of pissed off customers/users.
But the way to do either of these things is fairly easy. When the app starts, have it look for a shared preference named "dataVe... | null | CC BY-SA 4.0 | null | 2023-03-04T08:02:19.417 | 2023-03-04T08:02:19.417 | null | null | 1,631,193 | null |
75,634,389 | 1 | null | null | 0 | 8 | I'm currently working on adding the final piece of the puzzle to my personal strategy and I'm a little stuck.
I'm wanting to pass the entry and exit conditions into a function to check its profit factor:
```
hasProfitableStrategy(entrySignal, exitSignal) =>
if time>timestamp(2023, 02, 14, 05, 00) and time<timestamp... | Tradingview pine script - strategy testing function | CC BY-SA 4.0 | null | 2023-03-04T08:01:04.243 | 2023-03-04T08:01:04.243 | null | null | 1,238,403 | [
"tradingview-api"
] |
75,634,387 | 2 | null | 75,633,573 | 1 | null | a tree based approach might be suitable for very large texts and wordlists
We can basically create a dict of dicts that represents all the `TERMS` in a much more compressed manner, and then we can search through that more easily for every index in the main description.
```
TERMS = ['apple', 'apple banana']
terms_tree ... | null | CC BY-SA 4.0 | null | 2023-03-04T07:59:41.587 | 2023-03-04T08:17:47.993 | 2023-03-04T08:17:47.993 | 21,192,065 | 21,192,065 | null |
75,634,392 | 2 | null | 75,634,370 | 2 | null | The first example creates an array with three elements. It's equivalent to
```
char string[3] = { 'A', 'B', 'C' };
```
The second example uses the string literal `"ABC"` which is an array of characters, and then make the pointer `pString` point to the first character. It's equivalent to
```
char compiler_internal_str... | null | CC BY-SA 4.0 | null | 2023-03-04T08:01:35.533 | 2023-03-04T08:01:35.533 | null | null | 440,558 | null |
75,634,394 | 1 | null | null | 0 | 8 | run project got a error
but my tensorflow version is 2.9 and tensorflow-gpu version is 2.6
why??
i don't know how to slove
chatgpt can't answer
```
x_train shape: (50000, 32, 32, 3) - y_train shape: (50000, 100)
x_test shape: (10000, 32, 32, 3) - y_test shape: (10000, 100)
Patch size: 2 X 2 = 4
Patches per image: 256... | `adapt` is only supported in tensorflow v2 | CC BY-SA 4.0 | null | 2023-03-04T08:01:55.103 | 2023-03-04T08:01:55.103 | null | null | 21,329,654 | [
"python-3.x"
] |
75,634,399 | 1 | null | null | 0 | 23 | I am using plotly to visualize dataset using bar chart but the chart is not visible clearly.
Here is my code:
`fig = px.bar(data, x="Month", y="AQI",color="AQI Category", barmode='group') fig.show()`
Here is the output:
[Barchart in Plotly](https://i.stack.imgur.com/qqRCB.png)
Can anyone please explain why the bar char... | Plotly bar chart is not visible clearly? | CC BY-SA 4.0 | null | 2023-03-04T08:02:44.457 | 2023-03-04T09:11:17.473 | null | null | 14,891,890 | [
"python",
"plotly",
"bar-chart"
] |
75,634,398 | 2 | null | 75,634,370 | 1 | null | In your first snippet the variable `string` is a mutable character array. It is not actually a string as it's missing the terminating '\0'. As `printf("%s", ...)` expects a string your program will have undefined behavior. Either use a bigger array, most often by not specifying a size, so the compiler can derive the... | null | CC BY-SA 4.0 | null | 2023-03-04T08:02:39.000 | 2023-03-04T08:13:13.823 | 2023-03-04T08:13:13.823 | 9,706 | 9,706 | null |
75,634,393 | 2 | null | 75,319,291 | 0 | null | I worked on this function that Kilian Aziz wrote, but it doesn't work
I use the following function with a little modification, but the number of visits increases by one each time the page is refreshed, and the function does not work correctly.
Thank you, friends, for making a correction to my function so that I can put... | null | CC BY-SA 4.0 | null | 2023-03-04T08:01:48.450 | 2023-03-04T08:01:48.450 | null | null | 19,430,201 | null |
75,634,397 | 2 | null | 10,576,386 | 0 | null |
Replace the essential values (code, client_id, client_secret) inside payload.
```
let payload = {
grant_type: 'authorization_code',
code:'********FDLJli-DFJNLDLfKJ',
client_id: '******.googleusercontent.com',
client_secret: 'GOCS*******m5Qzg',
redirect_uri: 'http://localhost:3000',
};
axios
.post(`https:/... | null | CC BY-SA 4.0 | null | 2023-03-04T08:02:34.830 | 2023-03-04T08:02:34.830 | null | null | 12,948,011 | null |
75,634,400 | 1 | null | null | 0 | 6 | I want to merge video in mp4 and audio in preferably PCM other m4A using MediaMuxer while recording that mp4 file using MediaProjection and audio using PlaybackcaptureApi. So, when user stop recording he gets the final result immediately
I am trying to make an screen recorder app to capture screen and internal audio.
F... | How can I merge mp4 video file and PCM or m4A audio file in real time while they are being recording with MediaMixer in android kotlin/java | CC BY-SA 4.0 | null | 2023-03-04T08:02:58.600 | 2023-03-04T08:02:58.600 | null | null | 19,145,616 | [
"java",
"android",
"kotlin",
"screen-recording",
"mediamuxer"
] |
75,634,404 | 2 | null | 75,627,837 | 0 | null | Using something like this:
```
@Query("select a from AdvertSearch a where (?1 is null or a.city.id = ?1) and (?2 is null or a.type = ?2)")
Page<AdvertSearch> find(Integer cityId, OfficeType type, Pageable pageable);
```
| null | CC BY-SA 4.0 | null | 2023-03-04T08:03:46.767 | 2023-03-04T08:03:46.767 | null | null | 5,845,487 | null |
75,634,402 | 1 | null | null | -1 | 15 | I'm trying to create a Project with Multiple views and found this tutorial at Youtube [https://www.youtube.com/watch?v=xUwk2-_tRzo](https://www.youtube.com/watch?v=xUwk2-_tRzo). This works so fare fine but i face a problem by trying to change the DataContent out of a second view.
I create a Button on the blueview.xaml ... | How to Change the DataContext between multiple views from sideView | CC BY-SA 4.0 | null | 2023-03-04T08:03:23.413 | 2023-03-04T11:33:01.670 | null | null | 12,582,462 | [
"c#",
"wpf"
] |
75,634,405 | 2 | null | 75,631,083 | -1 | null | if the count over all rows is the same as the count of 6,8,9 then exclude for example
```
DROP TABLE IF EXISTS T;
CREATE TABLE T
(PlotID VARCHAR(20), ObsYear INT, TreeID INT, Vigor INT);
INSERT INTO T VALUES
('MACFI0407' ,2020, 1 , 8),
('MACFI0407' ,2021, 1 , 8),
('MACFI0407' ,2022, 1 , 8),
('MA... | null | CC BY-SA 4.0 | null | 2023-03-04T08:04:03.257 | 2023-03-04T08:04:03.257 | null | null | 6,152,400 | null |
75,634,406 | 2 | null | 75,634,349 | 0 | null | you can use this code.
css code
```
.cube {
position: relative;
width: 100px;
height: 100px;
transform-style: preserve-3d;
background-color: red;
}
.anim {
animation: rolling 3s;
}
@keyframes rolling {
50% {
transform: rotateX(455deg) rotateY(455deg);
}
}
```
javaScript code
```
document.getElem... | null | CC BY-SA 4.0 | null | 2023-03-04T08:04:21.093 | 2023-03-04T08:04:21.093 | null | null | 21,044,311 | null |
75,634,408 | 1 | null | null | 0 | 11 | I have a pdf file with tables in it and would like to read it as a dataframe using tabula. But only the first PDF page has column header.
I am using following code to solve the above issue which I got from old thread solution given by
kathan-thakkar
```
# extract all pages of the PDF bank statement using tabula
pdf_t... | reading pdf using tabula | CC BY-SA 4.0 | null | 2023-03-04T08:05:15.113 | 2023-03-04T11:32:09.173 | 2023-03-04T11:32:09.173 | 3,440,745 | 21,330,328 | [
"python",
"dataframe",
"pdf"
] |
75,634,409 | 1 | null | null | -4 | 30 | i want to know if intel arc gpu has a good support like can it be use as replacement of cuda for wide range of models and tools is it viable for me to use a 3060 or arc a770 as for now i cannot find details online in regards to my problem . i am mainly looking for a gpu that can help me get started in learning what i w... | Would you people recommend me buying intel arc cards | CC BY-SA 4.0 | null | 2023-03-04T08:05:31.857 | 2023-03-04T08:10:56.313 | 2023-03-04T08:10:56.313 | 21,329,701 | 21,329,701 | [
"machine-learning",
"pytorch",
"intel"
] |
75,634,401 | 1 | null | null | 0 | 29 | Can someone help to find problem following code snnipet?
In AndroidManifest.xml I added.
```
<uses-permission
android:name="android.permission.READ_EXTERNAL_STORAGE"
android:maxSdkVersion="28" />
```
then I tried in mainactivity.kt
```
val fileName = "temp.txt"
val dcimDir = File(
Environment.getExternalStorag... | How can I read a text file from DCIM folder( named as temp.txt) using Kotlin Android studio? | CC BY-SA 4.0 | null | 2023-03-04T08:03:22.633 | 2023-03-04T17:01:25.053 | 2023-03-04T17:01:25.053 | 3,505,172 | 3,505,172 | [
"android",
"kotlin",
"file"
] |
75,634,403 | 2 | null | 75,634,370 | 1 | null | In this declaration
```
char string[3] = "ABC";
```
the string literal `"ABC"` used as an initializer has the type `char[4]` (in C++ it has the type `const char[4]`) that is it is represented in memory like
```
{ 'A', 'B', 'C', '\0' }
```
However the initialized array has only `3` elements. So the terminating zero ch... | null | CC BY-SA 4.0 | null | 2023-03-04T08:03:24.260 | 2023-03-04T12:41:55.187 | 2023-03-04T12:41:55.187 | 472,495 | 2,877,241 | null |
75,634,410 | 1 | null | null | -1 | 10 | [This is screenshot](https://i.stack.imgur.com/HfDVy.png)
I tried to create a voice assistant,
It's an error I got from code.
###### This is the code.
```
import speech_recognition as sr
import pyaudio
import time
lesen = sr.Recognizer()
isL = True
inti = 0
try:
with sr.Microphone as source:
print("...... | Can't read microphone using Python speech_recognition in VSCode | CC BY-SA 4.0 | null | 2023-03-04T08:06:04.777 | 2023-03-04T08:06:04.777 | null | null | 16,018,108 | [
"python",
"visual-studio",
"microphone"
] |
75,634,413 | 2 | null | 68,768,781 | 0 | null | I had a similar issue as I'm new to React and Js, trying to spread an object, using `useState` to set the new value of the object using it's previous value.
```
const onChange = ({name, value}: OnChangeFormType) => {
setForm(prev => {...prev, [name]: value});
};
```
However I didn't account for the fact that it's a ... | null | CC BY-SA 4.0 | null | 2023-03-04T08:07:30.877 | 2023-03-04T08:07:30.877 | null | null | 19,501,192 | null |
75,634,415 | 1 | null | null | -3 | 17 | I've tried some codes that I searched but it's not working. Can you please help me?
| What formula/code should I put when solving two binary operands using arithmetic operations? (in Windows Form App // C#) | CC BY-SA 4.0 | null | 2023-03-04T08:07:55.250 | 2023-03-04T08:11:17.317 | 2023-03-04T08:11:17.317 | 16,583,655 | 16,583,655 | [
"c#"
] |
75,634,407 | 1 | null | null | 0 | 22 | I'm trying to get it the values from my database, I'm using a new model to add two models on one view, more specifically in a `@foreach`.
This is my new model:
```
public class ViewModel
{
public IEnumerable<Preparacion_lavadores> Lavadores { get; set; }
public IEnumerable<Preparacion_paletos> Paletos { get; se... | How to return the values of two models from my database in one view? | CC BY-SA 4.0 | null | 2023-03-04T08:04:59.317 | 2023-03-04T08:11:22.683 | 2023-03-04T08:11:22.683 | 6,630,084 | 21,330,301 | [
"c#",
"asp.net",
"asp.net-mvc",
"web",
"web-site-project"
] |
75,634,412 | 1 | null | null | 0 | 8 | i'm trying to open the Browser (FireFox) via webbot python library. But idk, where i'm mistaking.
My code:
```
from webbot import Browser
web = Browser()
```
output:
```
Traceback (most recent call last):
File "/home/herzeg/Desktop/OLV/OLV/virus.py", line 3, in <module>
web = Browser()
File "/home/herzeg/.loca... | opening FireFox via webbot python library | CC BY-SA 4.0 | null | 2023-03-04T08:07:29.020 | 2023-03-04T08:07:29.020 | null | null | 20,300,759 | [
"python",
"webbot"
] |
75,634,417 | 2 | null | 75,634,152 | 0 | null | It's not necessary to use provide/inject syntax, because you have ordinary parent-child reltionship between components.
I suppose you to read [component basics](https://vuejs.org/guide/essentials/component-basics.html) once again and use [props](https://vuejs.org/guide/essentials/component-basics.html#passing-props) in... | null | CC BY-SA 4.0 | null | 2023-03-04T08:08:28.863 | 2023-03-04T08:08:28.863 | null | null | 15,753,167 | null |
75,634,414 | 1 | null | null | -1 | 10 | how to fix SQLSTATE[HY000]: General error: 1364 Field 'phone_verify' doesn't have a default valueSorry , Query could no execute...
Database
```
CREATE TABLE `account` (
`id` int(10) NOT NULL,
`acc_no` varchar(20) NOT NULL,
`uname` varchar(100) NOT NULL,
`upass` varchar(100) NOT NULL,
`email` varchar(100) NOT ... | how to fix SQLSTATE[HY000]: General error: 1364 Field 'phone_verify' doesn't have a default valueSorry , Query could no execute | CC BY-SA 4.0 | null | 2023-03-04T08:07:42.697 | 2023-03-04T08:07:42.697 | null | null | 8,436,619 | [
"php",
"mysql",
"database"
] |
75,634,411 | 1 | null | null | 0 | 12 | I have a query in relation to required rsyslog fields not getting displayed in the log messages.
There are multiple microservices which are sending logs to another application named Log Transformer. Log transformer application is enriching fields present in those log messages and then sending all the logs to rsyslog s... | Required rsyslog fields not getting printed in the logs | CC BY-SA 4.0 | null | 2023-03-04T08:06:06.433 | 2023-03-04T08:06:06.433 | null | null | 4,398,100 | [
"logging",
"syslog",
"rsyslog"
] |
75,634,421 | 2 | null | 75,634,294 | 1 | null | You can set `headers` to false to get rid of the top row. And `index` to false to get rid of the first column.
```
df1.to_html("upload.html", header=False, index=False)
```
You're left with the right column, which you can add styles to make it bold and centred like the left column.
[Documentation](https://pandas.pydat... | null | CC BY-SA 4.0 | null | 2023-03-04T08:09:08.213 | 2023-03-04T08:09:08.213 | null | null | 17,793,354 | null |
75,634,418 | 2 | null | 75,634,235 | 1 | null | With the update to Flutter 3.7.6, there were some changes made to the default Material Design color scheme. In particular, the property may not be reflected as expected if the property is set to true.
When useMaterial3 is set to true, the Material Design 3 color scheme is used instead of the default Material Design 2... | null | CC BY-SA 4.0 | null | 2023-03-04T08:08:36.797 | 2023-03-04T08:08:36.797 | null | null | 4,667,109 | null |
75,634,420 | 1 | null | null | 1 | 53 | Good morning
Thank you for your help
Here is my new code. I don't know if I incorporated the code you suggest correctly.
Here is my code:
```
import requests, json
from bs4 import BeautifulSoup as bs
page = requests.get("https://www.boulanger.com/ref/1176193")
if page.status_code == 200:
parsedPage = bs(page.co... | How to scrape all product relevant images from product detail page? | CC BY-SA 4.0 | null | 2023-03-04T08:09:01.297 | 2023-03-04T22:20:04.167 | 2023-03-04T22:20:04.167 | 21,330,380 | 21,330,380 | [
"python",
"web-scraping",
"beautifulsoup",
"python-requests"
] |
75,634,424 | 2 | null | 64,840,172 | 0 | null | Make sure your LocalDataSource extends and implement these classes.
```
LocalDataSource extends GetxController implements GetxService
```
| null | CC BY-SA 4.0 | null | 2023-03-04T08:09:41.653 | 2023-03-04T08:10:01.470 | 2023-03-04T08:10:01.470 | 5,779,100 | 5,779,100 | null |
75,634,426 | 1 | null | null | -1 | 14 | I'm trying to translate words with google trans on jupyter notebook. but it takes a lot of time even though I'm getting it piece by piece. Do you know any other method?
Twitter data I do language translation
| Python googletrans for twitter data | CC BY-SA 4.0 | null | 2023-03-04T08:09:57.057 | 2023-03-04T08:09:57.057 | null | null | 20,835,429 | [
"python",
"data-science",
"googletrans"
] |
75,634,427 | 2 | null | 75,634,313 | 0 | null | I checked the properties the `useHelper` hook takes in and found out that the color comes after the size arguement. So doing a few changes to the code made a square appear on the canvas, much similar to what the `DirectionLightHelper` function gives in vanilla three.js.
```
useHelper(dirLight, DirectionalLightHelper, 1... | null | CC BY-SA 4.0 | null | 2023-03-04T08:10:23.333 | 2023-03-04T08:10:23.333 | null | null | 18,320,654 | null |
75,634,428 | 1 | null | null | 0 | 7 | I coded a Trading Strategy but I would like to backtesting several times, is there a way to do it?
For example, I want to run a Donchian Channel strategy but I would like to run the strategy 100x times trying different settings to see how they perform.
Is Pine Script able to do this? or what's the right approach?
Thank... | How to run a Pine Script (Trading Strategy) X times with different settings? | CC BY-SA 4.0 | null | 2023-03-04T08:10:25.623 | 2023-03-04T08:10:25.623 | null | null | 21,321,381 | [
"pine-script-v5"
] |
75,634,419 | 1 | null | null | 0 | 9 | i am getting this error in my code and i don't know what to do please help me out.
(the stacks i am using for this project are Next js, Redux, Redux toolkit and Rapid API)
```
`TypeError: data.map is not a function
Source
pages\Discover.jsx (32:17) @ map
30 | <div className="flex flex-wrap sm:justify-start justify-... | TypeError: data.map is not a function (next Js, Redux, Rapid APi) | CC BY-SA 4.0 | null | 2023-03-04T08:08:50.343 | 2023-03-04T09:26:24.307 | 2023-03-04T09:26:24.307 | 17,346,841 | 17,346,841 | [
"next.js",
"react-redux",
"redux-toolkit",
"rapidapi",
"shazam"
] |
75,634,416 | 1 | null | null | 0 | 23 | I have following flink sql code (Flink 1.12) that does `over window` computing.
The StockSource provides following records, each Stock record consists of 3 fields: `id,price and create_date`
```
id1,1,2020-09-16T12:50:15
id1,2,2020-09-16T12:50:12
id1,3,2020-09-16T12:50:11
id1,4,2020-09-16T12:50:18
id1,5,2020-09-16T12:5... | How to understand order by rowtime in over window | CC BY-SA 4.0 | null | 2023-03-04T08:08:27.813 | 2023-03-05T05:51:39.073 | 2023-03-05T02:13:19.183 | 4,443,784 | 4,443,784 | [
"apache-flink"
] |
75,634,430 | 2 | null | 64,987,677 | 0 | null | As the official documentation suggests, you can use `suppressFillHandle` on a specific cell to disable fill handle
doc link:
[https://www.ag-grid.com/angular-data-grid/range-selection-fill-handle/](https://www.ag-grid.com/angular-data-grid/range-selection-fill-handle/)
| null | CC BY-SA 4.0 | null | 2023-03-04T08:11:12.067 | 2023-03-04T08:11:12.067 | null | null | 11,212,072 | null |
75,634,423 | 1 | null | null | -7 | 32 | So I am trying to make it so when you put a text into a input box and press submit if it's the right text it will show the text "you are correct!" And if you are wrong it shows "you are wrong!"
I tried this:
```
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-w... | If statement and h1 statement | CC BY-SA 4.0 | null | 2023-03-04T08:09:37.137 | 2023-03-04T08:16:13.193 | 2023-03-04T08:16:13.193 | 476 | 18,063,650 | [
"javascript",
"html",
"if-statement",
"text",
"inputbox"
] |
75,634,431 | 1 | null | null | -3 | 30 | I want to generate square crossword
Given 2*N words which consists of N symbols.
Example Input
```
3
ALB
ARM
MBS
RIA
LIB
BAS
```
Output
```
ARM
LIB
BAS
```
I tried to sort by level of character but its not helped
| Hot to generate square crossword by given word list in c++? | CC BY-SA 4.0 | null | 2023-03-04T08:11:50.893 | 2023-03-04T08:25:43.360 | 2023-03-04T08:25:43.360 | 168,986 | 21,330,387 | [
"c++"
] |
75,634,422 | 1 | null | null | 0 | 21 | I have been working on compiling from source on my linux debian computer and I can't seem to get past this one last error. I am slightly confused by how to find out where the path is looking and if anyone knows how to help I would greatly appreciate it cmake error is as follows:
```
cmake ../obs-streamfx
-- [StreamFX] ... | OBS Studio StreamFX cmake build missing OBS::libobs how do I connect it to this library? | CC BY-SA 4.0 | null | 2023-03-04T08:09:08.787 | 2023-03-04T08:38:57.893 | 2023-03-04T08:38:57.893 | 11,107,541 | 21,330,320 | [
"linux",
"github",
"cmake",
"libraries",
"obs"
] |