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,622,877 | 1 | null | null | 0 | 15 | Hi I want to rsync data but not including some files. There are some security files in the root folder .name.cfg.lXrMLc, name.cfg.FT3uKg, name.cfg.pQ82bS, etc that I don't need, seem like the pattern start with name.cfg. following by different id. I tried rsync `--exclude=.*name.cfg`, `--exclude=.*name.cfg.*` `--exclud... | Exclude file pattern | CC BY-SA 4.0 | null | 2023-03-03T03:20:46.300 | 2023-03-03T05:09:14.287 | 2023-03-03T03:22:39.723 | 23,528 | 17,180,696 | [
"linux",
"command",
"rsync"
] |
75,622,875 | 2 | null | 75,611,036 | 0 | null | On GroovyScriptEngine you'd just do this:
```
CompilerConfiguration cfg = new CompilerConfiguration()
cfg.setScriptBaseClass(CustomScript.class.getName())
GroovyScriptEngine engine = new GroovyScriptEngine(...)
engine.setConfig( cfg )
```
JSR-223 doesn't really have an equivalent of that. You could bind your Java ob... | null | CC BY-SA 4.0 | null | 2023-03-03T03:20:34.780 | 2023-03-03T03:20:34.780 | null | null | 155,020 | null |
75,622,870 | 1 | 75,623,545 | null | 1 | 26 | I want to bundle a file along with my Kotlin Multiplatform library. The library supports both JVM and linuxX64 targets.
On the JVM, I am able to access a bundled file using `MyClass::class.java.getResourceAsStream()` and friends.
But on linuxX64, how can we do this? We just need to get a path to the bundled resource. A... | How to bundle and access resources in Kotlin Multiplatform for native targets like linuxX64? | CC BY-SA 4.0 | null | 2023-03-03T03:19:25.967 | 2023-03-03T05:57:01.397 | 2023-03-03T03:28:45.353 | 16,928,120 | 16,928,120 | [
"kotlin",
"resources",
"kotlin-multiplatform",
"kotlin-native"
] |
75,622,867 | 1 | null | null | 0 | 9 | I have two relation tables
1. Categories
2. Task
and i want to search data task's title based on categories relation(categories->task->title)
this is my Categories model :
```
class Category extends Model
{
use HasFactory;
protected $guarded = ['id'];
public function tasks(){
return $this->hasMa... | Laravel Searching Data based on relation table | CC BY-SA 4.0 | null | 2023-03-03T03:18:09.017 | 2023-03-03T03:18:09.017 | null | null | 16,503,301 | [
"php",
"html",
"laravel-8"
] |
75,622,881 | 2 | null | 75,622,077 | 0 | null | You were close.
```
library(stringr)
my_urls <- database$URL
save_here <- paste0(database$Year,"_", str_sub(database$Name,1,2), ".pdf")
mapply(download.file, my_urls, save_here)
```
Note that this will save in whatever directory you're currently working in. If you want a different directory, you need to include path ... | null | CC BY-SA 4.0 | null | 2023-03-03T03:21:03.317 | 2023-03-03T03:21:03.317 | null | null | 5,063,086 | null |
75,622,883 | 2 | null | 74,734,211 | 0 | null | The commands you are using seem to be correct, and when you run a migration, a record of it should be added to your database and the tables and data in your database should be created as expected. The issue may be with the migrations parameter in your data source configuration. If you are having the same problem as I d... | null | CC BY-SA 4.0 | null | 2023-03-03T03:21:27.353 | 2023-03-03T03:21:27.353 | null | null | 21,323,188 | null |
75,622,878 | 1 | null | null | -1 | 33 | -MY GOAL is to display the html tags "My page and TESTING on the page" on the same page.
-If I remove the html tags. It give me the XML.[](https://i.stack.imgur.com/oODnH.png)
-If I removed the header('Content-type: text/xml'); I get only the html and not the xml.
[](https://i.stack.imgur.com/PGXcW.png)
HOW CAN I HAVE ... | How to display both XML and HTML in php? | CC BY-SA 4.0 | null | 2023-03-03T03:20:59.560 | 2023-03-03T08:19:53.357 | null | null | 20,275,135 | [
"php",
"html",
"json",
"xml"
] |
75,622,880 | 1 | null | null | 0 | 4 | when I use videoCompositionWithAsset:applyingCIFiltersWithHandler to construct the VideoComposition, the animationTool is not working
```
let videoComposition = AVMutableVideoComposition(asset: asset) { request in
request.finish(with: resultImage, context: self.context)
}
videoComposition.renderSize = renderSize
v... | animationTool not works for videoCompositionWithAsset:applyingCIFiltersWithHandler | CC BY-SA 4.0 | null | 2023-03-03T03:21:01.977 | 2023-03-03T03:21:01.977 | null | null | 2,398,844 | [
"avfoundation",
"avvideocomposition"
] |
75,622,884 | 1 | null | null | 0 | 5 | I am using @pnp/sp 3.7.0 version
I had a function that is not working.
Thanks for your help.
I've tried this function but never got it working
```
public async shareLinkWithPassword(fileUrl: string, password: string): Promise<string> {
const file = await this._sp.web.getFileByServerRelativePath("<file-url>");
... | How can i share a file with a password in spfx using @pnp/sp/sharing | CC BY-SA 4.0 | null | 2023-03-03T03:22:19.453 | 2023-03-03T03:22:19.453 | null | null | 21,295,720 | [
"sharepoint-online",
"spfx",
"sharelink"
] |
75,622,879 | 1 | null | null | 1 | 22 | I have an Intel i5-1235U. The CPUID reports that it is not Hardware P-States (HWP) capable. According to Intel, all of the Alder Lake CPUs support HWP. The CPUID is reporting no HWP on both Windows and Linux. Here is the relevant output of `cpuid` in Linux (kernel 6.1):
```
Thermal and Power Management Features (6):
... | Why is my Alder Lake CPUID reporting it is not Hardware P-States capable? | CC BY-SA 4.0 | null | 2023-03-03T03:21:01.510 | 2023-03-03T03:21:01.510 | null | null | 1,427,450 | [
"x86",
"x86-64",
"intel",
"cpuid"
] |
75,622,887 | 1 | null | null | 0 | 10 | I'm working on Spring-boot app I want it to connect to the local's database from the insider docker containers. I'm using Ubuntu 18 and 1.28 for docker-compose.
I have found several solutions but no luck on me,
Below are the solutions I've found on the Stackoverflow but it's not working,
1. network_mode: "host"
:
``... | How to connect to local's database from docker containers using docker-compose? | CC BY-SA 4.0 | null | 2023-03-03T03:22:27.130 | 2023-03-03T03:22:27.130 | null | null | 4,120,583 | [
"docker",
"docker-compose"
] |
75,622,889 | 1 | null | null | 0 | 22 | I have a repo with multiple workflows with pull request trigger.
```
on:
pull_request:
branches:
- develop
```
Paths are also defined so that the workflow is only triggered when files within certain directories have changed, e.g.
```
paths:
- '/project1/**'
```
```
paths:
- '/project2/**'
```
```
p... | GitHub re-triggering all checks on push irrespective of path | CC BY-SA 4.0 | null | 2023-03-03T03:23:02.863 | 2023-03-03T08:47:45.773 | 2023-03-03T08:47:45.773 | 1,728,372 | 1,728,372 | [
"github",
"github-actions"
] |
75,622,866 | 1 | null | null | 0 | 66 | I am trying to load a json file from google cloud storage to bigquery and am hitting an error that I am not fully understanding. I want to load the json without getting autodetected. Basically, the complete json from test.json should show up as a row in the table.
```
from google.cloud import bigquery
from google.api... | bigquery load from json fails | CC BY-SA 4.0 | null | 2023-03-03T03:17:52.240 | 2023-03-04T00:34:42.887 | 2023-03-03T17:39:12.797 | 11,810,350 | 11,810,350 | [
"json",
"python-3.x",
"google-bigquery"
] |
75,622,868 | 1 | null | null | 0 | 29 | I need help debugging my project because it's not running correctly- in particular the JQuery/Ajax calls is where I think I have an error. The project essentially reads in a CSV file with artist, title, and a value of 0/1 on each line. Then when a user types into either of the two fields, artist or title, and clicks se... | how to Use jQuery to make a "get" Ajax call to the "/search" path on the server | CC BY-SA 4.0 | null | 2023-03-03T03:18:25.660 | 2023-03-03T03:18:25.660 | null | null | 21,176,171 | [
"javascript",
"html",
"jquery",
"css",
"ajax"
] |
75,622,885 | 1 | null | null | 0 | 23 | My script to validate the SSL certificate for Google APIs does not work in WebGL. I have tried several approaches, including using the JSON format, but I have not been able to get it to work. Currently, I am using the p12 format. All tests in desktop or in the editor have worked except in WebGL. I am attaching the code... | Unity WebGL with Google API does not validate the certificate | CC BY-SA 4.0 | null | 2023-03-03T03:22:21.687 | 2023-03-03T05:12:18.663 | 2023-03-03T05:12:18.663 | 21,323,180 | 21,323,180 | [
"c#",
"google-cloud-platform",
"unity-webgl"
] |
75,622,886 | 1 | null | null | 0 | 13 | In Azure DevOps , I am trying to migrate a repository from one project to another. I was able to do 15 repositories migrated successfully using
```
git clone --mirror https://<Org>@dev.azure.com/<src_Org>/<src_Project>/_git/<src_Repo_Name>
git push --mirror https://<PAT>@dev.azure.com/<tgt_Org>/<tgt_Project>/_git/<tgt_... | Azure DevOps - git push --mirror errors with HTTP 503 curl 22 The requested URL returned error: 503 | CC BY-SA 4.0 | null | 2023-03-03T03:22:26.460 | 2023-03-03T03:22:26.460 | null | null | 7,841,330 | [
"git",
"azure-devops"
] |
75,622,890 | 2 | null | 75,618,598 | 1 | null | I can reproduce your issue on my side. To fix the issue, please follow the solution below:
1. In the MAUI .NET project, install the Plugin.Fingerprint NuGet package. You will need version 3.0.0-beta.1, which is currently in preview, so remember to check Include Preview.
2. Since version 2, the plugin uses Android X. T... | null | CC BY-SA 4.0 | null | 2023-03-03T03:23:14.120 | 2023-03-03T09:23:45.093 | 2023-03-03T09:23:45.093 | 9,644,964 | 9,644,964 | null |
75,622,900 | 1 | null | null | -2 | 13 | Excuse me, I want to ask what is the use of the PHP programming language?
Excuse me, I want to ask what is the use of the PHP programming language?
| Excuse me, I want to ask what is the use of the PHP programming language? | CC BY-SA 4.0 | null | 2023-03-03T03:26:24.100 | 2023-03-03T03:26:24.100 | null | null | 21,323,224 | [
"php"
] |
75,622,897 | 1 | null | null | 0 | 6 | i have
ou_demo_h1 = 'OU=demo_H1,OU=ODOOTEST,OU=Testing,OU=ILAVietnam2,DC=ilavietnam,DC=com'.
ou_demo_h2 = 'OU=demo_H2,OU=ODOOTEST,OU=Testing,OU=ILAVietnam2,DC=ilavietnam,DC=com'.
user_test = 'cn=test.long1,OU=demo_H1,OU=ODOOTEST,OU=Testing,OU=ILAVietnam2,DC=ilavietnam,DC=com'
I have thoroughly searched the internet. se... | python-ldap: move User to other OU | CC BY-SA 4.0 | null | 2023-03-03T03:24:27.117 | 2023-03-03T03:25:49.653 | 2023-03-03T03:25:49.653 | 6,544,171 | 6,544,171 | [
"ldap",
"python-ldap"
] |
75,622,899 | 1 | null | null | 0 | 28 | Its a simple Todo react app. I want to fetch the user input on the console. but i am not getting any as i type in the input box.
Its a simple Todo react app. I want to fetch the user input on the console. but i am not getting any as i type in the input box.
```
import { useState } from "react";
const Todo = () => {
... | Not getting value on console in react | CC BY-SA 4.0 | null | 2023-03-03T03:26:16.363 | 2023-03-03T03:42:26.727 | 2023-03-03T03:31:28.000 | 9,153,448 | 19,928,051 | [
"reactjs",
"todo"
] |
75,622,893 | 1 | null | null | 0 | 13 | I need some guidance on how to set up the ingress for the kubernetes dashboard. I have a wildcard acm cert that is valid. The setup is on a VPC that is not publically available. my yaml is:
```
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: kubernetes-dashboard
namespace: kubernetes-dashboard
anno... | how to use aws alb ingress for kubernetes dashboard | CC BY-SA 4.0 | null | 2023-03-03T03:23:38.640 | 2023-03-03T03:23:38.640 | null | null | 19,258,587 | [
"kubernetes",
"kubernetes-ingress",
"aws-application-load-balancer"
] |
75,622,891 | 2 | null | 75,612,313 | 0 | null | So far there has not been an answer to create a 12 digit identifier that would be random, unique, "light", and unrelated to the user id.
However both the options on the question and the option shared by are perfectly viable, and after running some tests my conclusion was that I was overthinking things.
At the end of t... | null | CC BY-SA 4.0 | null | 2023-03-03T03:23:16.090 | 2023-03-03T03:35:35.043 | 2023-03-03T03:35:35.043 | 16,306,754 | 16,306,754 | null |
75,622,903 | 2 | null | 75,622,823 | -2 | null | Build once and deploy everywhere is prone to errors only related to runtime configuration as the application is built only once. This is preferred as it takes advantage of build that is tested in lower environment before deployed in production.
Building a new docker image for production has the risk of application code... | null | CC BY-SA 4.0 | null | 2023-03-03T03:27:21.857 | 2023-03-03T03:27:21.857 | null | null | 3,002,377 | null |
75,622,896 | 1 | null | null | 0 | 42 | I am looking to cascade the dependent State and City list from drop-down on selecting Country.
So, I select India => Maharashtra => Cities from Maharastra should cascade.
In the Controller I am able to see city list, but same is not returns to ajax success call in jquery.
Data is viewed in controller but not going to ... | Controller not returning ajax response ASP.NET MVC | CC BY-SA 4.0 | null | 2023-03-03T03:24:22.843 | 2023-03-04T11:53:19.623 | 2023-03-03T03:35:42.883 | 13,474,084 | 13,474,084 | [
"jquery",
"ajax",
"asp.net-mvc"
] |
75,622,906 | 1 | null | null | 0 | 13 | I have a trouble that when I enter the Setting/Repository in the menu bar on the left side of the page, I will get a 500 web page, shown here.
[enter image description here](https://i.stack.imgur.com/VVPg8.png)
[enter image description here](https://i.stack.imgur.com/NlWlU.png)
I was trying mirror this repository from ... | Gitlab Error 500 Whoops, something went wrong on our end | CC BY-SA 4.0 | null | 2023-03-03T03:27:33.813 | 2023-03-03T03:27:33.813 | null | null | 18,524,538 | [
"gitlab"
] |
75,622,907 | 2 | null | 20,235,386 | -1 | null | Seems like you forgot to add () after, if form.is_valid:
replace your code with:
```
def update_details(request):
if request.method == "POST":
form = UpdateDetailsForm(request.POST)
if form.is_valid():
asset_code=form.cleaned_data['asset_code1']
fd=form... | null | CC BY-SA 4.0 | null | 2023-03-03T03:27:40.117 | 2023-03-03T03:27:40.117 | null | null | 20,822,899 | null |
75,622,905 | 1 | null | null | 0 | 9 | The next-i18next is using HEAD request method when matching the previous translation file if its still the same or it still match
My code look like this:
```
import { serverSideTranslations } from 'next-i18next/serverSideTranslations'
import { GetStaticPropsContext } from 'next'
export async function getStaticProps({ ... | How to disable triggering HEAD request method when fetching the translation files with next-i18next | CC BY-SA 4.0 | null | 2023-03-03T03:27:31.450 | 2023-03-03T03:27:31.450 | null | null | 21,323,210 | [
"reactjs",
"typescript",
"web",
"next",
"i18next"
] |
75,622,895 | 1 | null | null | -1 | 35 | I need to create a ec2 instance and sg group in existing vpc and subnet I have created ec2.tf, we have used local function to get vpc_id and CIDR block
```
resource "aws_security_group" "test_automation_ec2_instance_and_sg_group" {
count = local.test_automation_ec2_instance_and_sg_group
name = ... | How to call subnet id from data source , when i am creating ec2 instance and sg in existing vpc via terraform | CC BY-SA 4.0 | null | 2023-03-03T03:24:05.770 | 2023-03-03T04:27:30.123 | 2023-03-03T04:27:30.123 | 19,533,919 | 19,533,919 | [
"amazon-web-services",
"amazon-ec2",
"terraform",
"datasource",
"private-subnet"
] |
75,622,904 | 1 | null | null | 0 | 43 | According to abseil.io/tips/177, it said
> Specifically, if your class has const members, it cannot be assigned to (whether by copy-assignment or move-assignment). The language understands this: if your type has a const member, copy-assignment and move-assignment operators will not be synthesized.
I created a short sni... | Can class with const members be assigned or copied | CC BY-SA 4.0 | null | 2023-03-03T03:27:25.670 | 2023-03-03T04:12:46.520 | 2023-03-03T04:12:46.520 | 12,002,570 | 21,107,521 | [
"c++",
"copy-constructor",
"member",
"move-constructor"
] |
75,622,908 | 1 | null | null | -2 | 37 | For example, here is a list:
```
['1','a', '2', 'b', '3', 'c', '4', 'd', 'e', '6', '7']
```
How to insert ' ' into the list where '5' and 'f' are missing and separate them into two lists?
I would like to have the following ouput.
Expected output:
```
list 1 : ['1','2','3','4',' ','6','7']
list 2 : ['a','b','c','d','e'... | How to insert nothing or a blankinto the list if it is not alternately in python? | CC BY-SA 4.0 | null | 2023-03-03T03:27:50.807 | 2023-03-03T04:14:53.010 | null | null | 7,989,839 | [
"python",
"list"
] |
75,622,909 | 2 | null | 75,611,523 | 0 | null | @HansPassant
1. I added this to note the current position of the scrollbar from my Mainform: Point point = this.AutoScrollPosition;
2. And put this code in the events which might make the mainform's scrollbar move: this.AutoScrollPosition = new Point(Math.Abs(point.X), Math.Abs(point.Y));
3. Then it's solved now~ Than... | null | CC BY-SA 4.0 | null | 2023-03-03T03:27:54.530 | 2023-03-03T03:45:45.140 | 2023-03-03T03:45:45.140 | 1,127,924 | 13,779,258 | null |
75,622,912 | 2 | null | 44,807,269 | 0 | null | There are two primary ways to export values with JavaScript: default exports and named exports. But you can use one or both of them in the same file. A file can have no more than one default export, but it can have as many named exports as you like.
| null | CC BY-SA 4.0 | null | 2023-03-03T03:28:25.783 | 2023-03-03T09:07:44.127 | 2023-03-03T09:07:44.127 | 2,227,743 | 20,828,706 | null |
75,622,901 | 1 | null | null | 1 | 9 | ```
from dogpile.cache import make_region
TIMEOUT_SECONDS = 10 * 60
def my_key_generator(namespace, fn):
fname = fn.__name__
def generate_key(*arg):
key_template = fname + "_" + "_".join(str(s) for s in arg)
return key_template
return generate_key
region = make_region(function_key_gen... | Return the value in case of pickle serialization exception instead of failing the whole call | CC BY-SA 4.0 | null | 2023-03-03T03:26:26.663 | 2023-03-03T03:26:26.663 | null | null | 512,251 | [
"python",
"pickle",
"dogpile.cache"
] |
75,622,914 | 1 | null | null | -1 | 16 | I recently installed Kali Linux on Hyper-V,
but upon rebooting, I encountered a black screen issue after the Kali Linux logo appeared. Despite my efforts to troubleshoot and resolve the issue, I was unsuccessful. I tested Ubuntu, and it worked without any complications. However, the black screen problem persists with K... | Kali Linux Black Screen Hyper-V | CC BY-SA 4.0 | null | 2023-03-03T03:28:31.167 | 2023-03-03T03:28:31.167 | null | null | 20,340,665 | [
"linux",
"operating-system",
"kali-linux",
"facial-landmark-alignment"
] |
75,622,910 | 1 | null | null | 0 | 14 | I have an index.html and a stylesheet CSS file which I want to use with the index.html.
The index.html references the stylesheet with:
```
<link rel="stylesheet" href="stylesheet.css">
```
However this only works for the URL that includes index.html in it:
```
HTTP://server/system/webdev/proj/index.html
```
When I tr... | How can I reference a CSS stylesheet in the default index.html file to work with both the default url and the url with index.html? | CC BY-SA 4.0 | null | 2023-03-03T03:27:59.217 | 2023-03-03T09:27:04.457 | null | null | 1,733,467 | [
"html",
"css"
] |
75,622,919 | 1 | null | null | 0 | 11 | I am trying to convert bit large file 34GB fixed width file into structural format using pySpark, But my job taking too long to complete (Almost 10 hr+), File having large line almost 50K characters which I am trying to split using substring into around 5k columns, and storing it into parquet format table. if anyone fa... | PySpark Performance slow in Reading large fixed width file with long lines to convert to structural | CC BY-SA 4.0 | null | 2023-03-03T03:29:34.387 | 2023-03-03T03:29:34.387 | null | null | 2,074,492 | [
"apache-spark",
"pyspark",
"fixed-width",
"google-spark-operator",
"apache-spark-sql-repartition"
] |
75,622,913 | 1 | 75,623,108 | null | 0 | 23 | I have a Network Load Balancer resource ->
```
resource "network_load_balancer_network_load_balancer" "nlb" {
count = 2
.
.
}
```
and a data source for the same ->
```
data "network_load_balancer_network_load_balancer" "nlb" {
depends_on = [network_load_balancer_network_load_balancer.nlb]
count ... | Terraform : Data source retrieves only from one source | CC BY-SA 4.0 | null | 2023-03-03T03:28:29.583 | 2023-03-03T04:14:53.327 | null | null | 3,820,753 | [
"terraform",
"datasource",
"terraform0.12+"
] |
75,622,902 | 1 | null | null | 0 | 32 | I am trying to use javascript to complete my project, I found a problem that I have a data type between 1 - 10 for the input data comparison variable. This might make more sense looking at the example. Example input might be:
databased material:
| name | material_std |
| ---- | ------------ |
| material_xyz | 30 - 4... | Javascript comparation array | CC BY-SA 4.0 | null | 2023-03-03T03:26:30.760 | 2023-03-03T03:40:50.370 | 2023-03-03T03:40:50.370 | 15,890,809 | 15,890,809 | [
"javascript",
"arrays",
"multidimensional-array"
] |
75,622,915 | 1 | null | null | 0 | 21 | I want to display a vertical dashed line when I hover over a line chart's y-axis, and increase the point radius. I did this with custom plugin, [](https://i.stack.imgur.com/4zUEg.png)
so , this is i actually need , but the custom plugin runs infinitely.
However, this plugin is causing the chart to slow down and isn't w... | How can I create a dashed line in the background and increase the point radius when hovering over a chart using Chart.js? | CC BY-SA 4.0 | null | 2023-03-03T03:28:41.940 | 2023-03-03T03:28:41.940 | null | null | 15,702,044 | [
"reactjs",
"chart.js"
] |
75,622,917 | 1 | null | null | 0 | 19 | I have data questionResponse and questionMaster, I need to find the questionResponse using master questionMaster
| id | A1 | B1 | A2 |
| -- | -- | -- | -- |
| 1 | 123 | Yes | 547 |
| 2 | 326 | No | 81 |
| Qcode | question |
| ----- | -------- |
| A1 | question 1 |
| A2 | question 2 |
| B1 | question 3 | ... | How to find column alternative name from master table(row) in postgres | CC BY-SA 4.0 | null | 2023-03-03T03:28:45.440 | 2023-03-03T03:28:45.440 | null | null | 19,044,043 | [
"postgresql"
] |
75,622,911 | 2 | null | 75,622,224 | 0 | null | :
This is happening because your `async` function `initSharedPreferences()`is not `awaited` before using it in `SharedPreferences.getInstance().then((value) => prefs = value);`
```
late SharedPreferences prefs;
@override
void initState() {
super.initState();
initSharedPreferences(); // await is not used ... | null | CC BY-SA 4.0 | null | 2023-03-03T03:28:23.567 | 2023-03-03T03:28:23.567 | null | null | 13,431,819 | null |
75,622,922 | 2 | null | 75,622,839 | 0 | null | Python is not Mathematica, and you cannot omit operators. You need to add asterisks back to the expression.
```
amt=loan_amount*(i/100*(1+i/100)**n)/(((1+i/100)**n)-1)
```
Moreover, an object directly followed by a pair of brackets indicates a . For example, `print()`, `sqrt()`, `str()` and so on. In your code, Python... | null | CC BY-SA 4.0 | null | 2023-03-03T03:29:45.397 | 2023-03-03T03:29:45.397 | null | null | 16,388,942 | null |
75,622,916 | 1 | 75,622,994 | null | 0 | 30 |
# The problem
We use a Google stylesheet in order to track the hours used on projects.
The process of creating a new project is:
01 Insert a new row
02 Copy-paste the formula that sums project hours, from a any previous project, to a cell of the newly inserted project-row.
[](https://i.stack.imgur.com/3cXNG.png)
- ... | How to add automatically add a formula to a cell of a newly inserted row? | CC BY-SA 4.0 | null | 2023-03-03T03:28:42.580 | 2023-03-03T03:50:35.323 | 2023-03-03T03:39:59.800 | 12,018,855 | 12,018,855 | [
"javascript",
"google-apps-script",
"google-sheets"
] |
75,622,923 | 1 | null | null | 0 | 15 |
1. i start one session on login page.
2. after successfully login user redirected to dashboard.
3. so in session default time is 24 min so after that time if user is active then also session destroy or not?
| In php session is default for 1440second (24 min) so if user is active then also it's destroy by self? | CC BY-SA 4.0 | null | 2023-03-03T03:29:50.823 | 2023-03-03T08:00:19.523 | 2023-03-03T06:43:00.757 | 21,262,843 | 21,262,843 | [
"php",
"session",
"timeout"
] |
75,622,925 | 1 | null | null | 1 | 21 | From the description, I found that it Calculates the 128-bit MD5 message digest, interprets it as a signed 128-bit big endian number, and returns the upper/lower 64 bits of the number as an unsigned integer.
But what exactly is upper and lower 64 bits.
| What is difference between MD5_NUMBER_LOWER64 and MD5_NUMBER_UPPER64 | CC BY-SA 4.0 | null | 2023-03-03T03:29:54.637 | 2023-03-04T01:18:01.433 | null | null | 2,771,327 | [
"snowflake-cloud-data-platform",
"64-bit",
"md5"
] |
75,622,924 | 2 | null | 75,446,844 | 0 | null | There is a [whole tensorflow module](https://www.tensorflow.org/ranking) devoted to ranking problems that you might draw inspiration from. For your examples, perhaps look at:
1. Mean Squared Loss
2. Sigmoid Cross Entropy Loss
(there doesn't seem to be an analogous loss for your cosine similarity metric)
| null | CC BY-SA 4.0 | null | 2023-03-03T03:29:54.367 | 2023-03-03T03:29:54.367 | null | null | 3,826,315 | null |
75,622,920 | 1 | 75,622,998 | null | 0 | 14 | I am running a Bayesian latent variable model in `Stan`. Here is my code for the model:
```
# run the Stan model
mod.dyn <- stan(file="DynamicLVMmin.stan",
data=stan.data, seed=570175513, thin = 5,
iter=10000)
```
The model runs with no issue. I then go to save the `mod.dyn` as follows... | Trouble loading Stan model output using readRDS | CC BY-SA 4.0 | null | 2023-03-03T03:29:38.320 | 2023-03-03T03:46:40.113 | 2023-03-03T03:46:40.113 | 2,372,064 | 14,482,089 | [
"r",
"bayesian",
"stan",
"rstan"
] |
75,622,926 | 1 | null | null | -2 | 9 | I wrote to a MQTT client with own SSL in python and it worked well for at least one week. However, it suddenly causes a "TLS/SSL connection has been closed (EOF) (_ssl.c:2341)" problem. I do not understand why it happened suddenly. As I restarted it, it worked well.
Is it possible to avoid this problem happening again?... | MQTT cause TLS/SSL connection problem suddenly in python | CC BY-SA 4.0 | null | 2023-03-03T03:30:06.333 | 2023-03-03T03:30:06.333 | null | null | 19,314,484 | [
"python",
"mqtt"
] |
75,622,930 | 2 | null | 75,611,431 | 0 | null | My interface file was missing the `.php` extension. ♂️
| null | CC BY-SA 4.0 | null | 2023-03-03T03:31:07.057 | 2023-03-03T03:31:07.057 | null | null | 1,262,994 | null |
75,622,921 | 1 | null | null | 0 | 14 | I made a React component, Pointer, which is a thin SVG rectangle.
When the spacebar is pressed for the first time, the Pointer starts rotating around its top-left corner. Every subsequent press of the spacebar should reverse the rotation direction.
The Pointer correctly starts rotating after the first press and reverse... | Rotating SVG shape does not start from last position when rotation direction is reversed | CC BY-SA 4.0 | null | 2023-03-03T03:29:39.960 | 2023-03-03T04:37:37.777 | 2023-03-03T04:37:37.777 | 2,395,282 | 21,323,131 | [
"javascript",
"reactjs",
"svg"
] |
75,622,928 | 2 | null | 75,608,159 | 0 | null | Reading on the docs: [https://docs.aws.amazon.com/amplify/latest/userguide/environment-variables.html](https://docs.aws.amazon.com/amplify/latest/userguide/environment-variables.html), I found that I did not have `AMPLIFY_FACEBOOK_CLIENT_ID`, `AMPLIFY_FACEBOOK_CLIENT_SECRET`, `AMPLIFY_GOOGLE_CLIENT_ID`, and `AMPLIFY_GO... | null | CC BY-SA 4.0 | null | 2023-03-03T03:30:34.360 | 2023-03-03T03:30:34.360 | null | null | 9,554,172 | null |
75,622,931 | 1 | null | null | -1 | 15 | My data would looks like these:
```
const cfg = {
type: 'root',
chidlren: [
{
type: 'image',
data: bitmap
}
]
}
```
when i try to passing the cfg with `postMessage(JSON.parse(JSON.stringify(cfg)))` api, I got the following:
```
const cfg = {
type: 'root',
chidlren: [
... | How do I pass a bitmap or an object to a web worker | CC BY-SA 4.0 | null | 2023-03-03T03:31:19.780 | 2023-03-03T03:31:19.780 | null | null | 21,323,229 | [
"javascript",
"node.js",
"web",
"web-worker",
"rollup"
] |
75,622,927 | 1 | null | null | -1 | 14 | [](https://i.stack.imgur.com/cQR39.png)
```
from fastapi import FastAPI, Body, Depends
from pydantic import BaseModel
app = FastAPI()
class ReqBody(BaseModel):
name: str
email: str
def format_body(body: ReqBody = Body()):
body.email += "@xx.com"
@app.post("/")
async def post(f_body = Depends(format_body... | fastapi Sub-dependencies cache value? | CC BY-SA 4.0 | null | 2023-03-03T03:30:12.540 | 2023-03-03T08:45:25.207 | null | null | 8,955,805 | [
"python",
"fastapi"
] |
75,622,936 | 2 | null | 75,619,598 | 0 | null | You can try
```
String text = value.moviesList.data?.movies?[index].title ?? " I am null fix me"
return Card(child: ListTile(
title: Text(text)),
);
```
| null | CC BY-SA 4.0 | null | 2023-03-03T03:32:40.027 | 2023-03-03T03:32:40.027 | null | null | 13,431,819 | null |
75,622,932 | 2 | null | 72,510,786 | 0 | null | I used prettier too, but couldn't make it work with the ".prettierrc" file when writing JSX, but if you go to your extension settings and scroll down a bit you will find with a checkbox, just turn that one on and it will work. Also at the very bottom of the setting is a second checkbox for
I still had some issues wi... | null | CC BY-SA 4.0 | null | 2023-03-03T03:31:20.290 | 2023-03-04T23:48:15.557 | 2023-03-04T23:48:15.557 | 10,485,863 | 10,485,863 | null |
75,622,937 | 2 | null | 75,595,679 | 0 | null | PostCss with [postcss-prefix-selector](https://www.npmjs.com/package/postcss-prefix-selector) is a good choice for your case, and yes, you should change your webpack config. But it is quite simple too, [here it is.](https://github.com/RadValentin/postcss-prefix-selector#usage-with-webpack)
| null | CC BY-SA 4.0 | null | 2023-03-03T03:33:04.453 | 2023-03-03T04:07:04.267 | 2023-03-03T04:07:04.267 | 10,031,834 | 10,031,834 | null |
75,622,934 | 1 | null | null | 0 | 6 | I am trying to use the library optapy with a conda environment created locally. I have installed all of the libraries I needes to, also installed Java JDK-17.0.6.10 and created a JAVA-HOME variable. But when I try to run and try to use optapy it doesn't let me and all I get is a big error where it says the OSError: cou... | Optapy error with getting the rigth JAVA version and couldn't get source code in a ipynb | CC BY-SA 4.0 | null | 2023-03-03T03:31:38.393 | 2023-03-03T03:31:38.393 | null | null | 21,323,198 | [
"python",
"java",
"windows",
"optapy"
] |
75,622,938 | 2 | null | 75,622,855 | 2 | null | I would actually ask why did numpy choose `ddof=0` for the default. The `n-1` in the denominator is called the Bessel correction and is generally used for 1D sample variance. I was actually surprised that Numpy has is as `n`.
There is a good discussion on it here: [https://stats.stackexchange.com/questions/406327/deg... | null | CC BY-SA 4.0 | null | 2023-03-03T03:33:15.483 | 2023-03-03T03:33:15.483 | null | null | 5,003,756 | null |
75,622,935 | 2 | null | 75,619,330 | 1 | null | It seems that you are not bothering to retain the numeric keys in the payload, so my untested suggestion is to build a nested set of iterators using two `array_map()` calls, then `$spaces` should be ready for you to insert in your database.
The `walls` element in the result array's rows will either be an empty or popul... | null | CC BY-SA 4.0 | null | 2023-03-03T03:32:37.713 | 2023-03-03T03:32:37.713 | null | null | 2,943,403 | null |
75,622,941 | 1 | null | null | 0 | 19 | I need to have 2 routers one for the main view and one for the sidebar.
(sidebar is not a child of main view)
Sidebar router should be independent from the main router.
When we navigate one router the other do not react and vice versa.
And they both should have separted history `createMemoryHistory`
is it possible?
| vue3 router - 2 routers with different history | CC BY-SA 4.0 | null | 2023-03-03T03:33:44.923 | 2023-03-03T03:39:13.533 | 2023-03-03T03:39:13.533 | 160,059 | 160,059 | [
"vue.js",
"vuejs3",
"vue-router"
] |
75,622,939 | 1 | null | null | 0 | 33 | i have a problem when I running read_excel, running `library(dplyr)`, the output will be error, like this
[](https://i.stack.imgur.com/hfir0.png)
[](https://i.stack.imgur.com/u4kvG.png)
I have download package "lifecycle" but this is the output
[](https://i.stack.imgur.com/EWQkO.png)
[](https://i.stack.imgur.com/Le0Gy.... | How to fix "there is no package called lifecycle" error? | CC BY-SA 4.0 | null | 2023-03-03T03:33:30.650 | 2023-03-03T03:59:11.517 | 2023-03-03T03:59:11.517 | 18,458,537 | 18,458,537 | [
"r"
] |
75,622,945 | 1 | null | null | 0 | 9 | How to get all edited value from Rating rows and save to database? this scenario is to save all record after updated rating.
[](https://i.stack.imgur.com/jXECa.png)
[https://mui.com/x/react-data-grid/editing-legacy/](https://mui.com/x/react-data-grid/editing-legacy/)
Thanks for your help.
| How to get all edited value Rating Column in Mui Datagrid | CC BY-SA 4.0 | null | 2023-03-03T03:35:15.960 | 2023-03-03T04:52:12.213 | null | null | 1,153,250 | [
"reactjs",
"mui-datagrid"
] |
75,622,946 | 1 | null | null | 0 | 8 | I am using spring's WebServiceTemplate class for invoking a third party SOAP service. In response, the third party service is sending 'set-cookie' header which is supposed to be used for some internal purpose. Now, 'set-cookie' header sets the cookie in the user agent, which in this case is my WebServiceTemplate object... | Spring WebServiceTemplate storing cookie due to 'set-cookie' header in response | CC BY-SA 4.0 | null | 2023-03-03T03:35:26.473 | 2023-03-03T03:35:26.473 | null | null | 18,274,086 | [
"spring",
"soap",
"spring-ws"
] |
75,622,940 | 1 | null | null | 0 | 26 | I am writing an application on AWS Lambda in Python that expects to receive information that gets placed in the event dictionary.
```
def lambda_handler(event, context):
# TODO implement
try:
task = event["task"]
except:
return {
'statusCode': 500,
'body': json.dumps... | Why can AWS Lambda not read a test event sent to it via the API Gateway test? | CC BY-SA 4.0 | null | 2023-03-03T03:33:36.833 | 2023-03-03T13:41:09.520 | null | null | 21,323,153 | [
"python",
"amazon-web-services",
"post",
"aws-lambda",
"api-gateway"
] |
75,622,947 | 2 | null | 14,036,859 | 0 | null | Your Computer or mobile should be connected with same wifi
`http://192.168.137.18:8283/servlet-student-crud-operation/studentRegister`
| null | CC BY-SA 4.0 | null | 2023-03-03T03:35:50.230 | 2023-03-03T06:10:13.497 | 2023-03-03T06:10:13.497 | 7,733,418 | 14,002,558 | null |
75,622,933 | 1 | null | null | 0 | 14 | The caron `ˇ` character in the screenshot is rotated due to it not being recognized as Chinese character, just like the word `Prologue` in the screenshot is rotated too
`ˇ` is rotated, hence it looks like `<` character
Can `writing-mode: horizontal-tb;` be applied on per character basis?
I just want it to be applied on... | Can `writing-mode: horizontal-tb;` be used per character? | CC BY-SA 4.0 | null | 2023-03-03T03:31:31.103 | 2023-03-03T04:21:32.667 | null | null | 11,432 | [
"css",
"cjk",
"chinese-locale"
] |
75,622,944 | 1 | null | null | 0 | 13 | I am trying to use a very simple setup to log my Asp.Net core application events into Azure Analytics. I am using Windows App Service with NetCore 6.0.
Everything is working fine, I can see my logs in the AppService Log Stream and Log(Analytics) AppServiceAppLogs table but when I use Scopes for logging like below code,... | How to use Azure Web App and Microsoft Extension Logging to log Scopes in to Azure Analytics? | CC BY-SA 4.0 | null | 2023-03-03T03:35:05.773 | 2023-03-03T03:35:05.773 | null | null | 5,860,959 | [
"asp.net-core",
"logging",
"azure-web-app-service",
"azure-analytics"
] |
75,622,943 | 1 | null | null | 0 | 51 | Among these codes written in -
```
#define N 1000
typedef struct
{
int x[3];
int y[3];
} arr;
arr A[N];
```
>
```
#Program_1
int i, j;
for(i = 0; i < N; i++)
{
for(j = 0; j < 3; j++)
{
A[i].x[j] = 0;
A[i].y[j] = 0;
}
}
```
>
```
#Program_2
int i, j;
for(i = 0; i... | speed as per spatial locality in a loop | CC BY-SA 4.0 | null | 2023-03-03T03:35:05.573 | 2023-03-03T03:46:28.960 | 2023-03-03T03:46:28.960 | 8,977,557 | 8,977,557 | [
"c"
] |
75,622,950 | 2 | null | 75,622,394 | 0 | null | Playing around with `facet_grid` I realized it was the only option to do so. I now have a new version for the plot as well as a much more concise code. The only thing I cannot figure out is how to change the color for the second facet on the y-axis; I would like to set blue, red and violet for my three samples.
See bel... | null | CC BY-SA 4.0 | null | 2023-03-03T03:36:09.567 | 2023-03-03T03:36:09.567 | null | null | 17,040,989 | null |
75,622,949 | 1 | null | null | 1 | 11 | Having issues with getting the js working correctly here.
Click Function is conflicting with the following mute/unmute function. "Play Video" works on second click? Unmute function is also not working?
I can work through some basic js problem solving, but I am very much a beginner still.
This is based on [Fullscreen ba... | Youtube embedded iframe multiple events conflicting with onClick - play / mute function not working correctly | CC BY-SA 4.0 | null | 2023-03-03T03:36:09.237 | 2023-03-03T03:36:09.237 | null | null | 7,811,754 | [
"jquery",
"youtube-api",
"autoplay",
"mute"
] |
75,622,956 | 2 | null | 75,622,910 | -1 | null | ./ add this.
./ in the href attribute specifies the current directory, which means the browser will look for the stylesheet in the same directory as the index.html file
| null | CC BY-SA 4.0 | null | 2023-03-03T03:37:12.297 | 2023-03-03T03:37:12.297 | null | null | 20,340,665 | null |
75,622,954 | 1 | null | null | 0 | 10 | According to my knowledge, Google Payments will create an "Unavailable Subscription" error when trying to buy it again if the subscription is still in its active period.
But currently, I was able to bypass it by clicking buy" a few times, and my new OrderID is different from the old one.
My question is, "Is my understa... | Is my google subscription implement correct? | CC BY-SA 4.0 | null | 2023-03-03T03:36:46.887 | 2023-03-03T03:36:46.887 | null | null | 11,646,445 | [
"android",
"subscription",
"google-play-developer-api"
] |
75,622,955 | 2 | null | 75,621,593 | 1 | null | You can try with REDUCE too. You won't need any splitting and empty rows won't affect the result. In my example I've tried adding 10000 in the second column and the rows were automatically added:
```
=REDUCE("Header",A2:A,LAMBDA(a,v,SI(v="",a,{a;INDEX(v&TEXT(SEQUENCE(OFFSET(v,0,1)),"0000"))})))
```
[](https://i.stack.... | null | CC BY-SA 4.0 | null | 2023-03-03T03:37:09.090 | 2023-03-03T03:37:09.090 | null | null | 20,363,318 | null |
75,622,948 | 1 | null | null | -1 | 9 |
```
export const userQuery = (userId) => {
const query = `*[_type == "user" && _id == '${userId}']`;
return query;
}
export const searchQuery = (searchTerm) => {
const query = `*[_type == "pin" && title match '${searchTerm}*' || category match '${searchTerm}*' || about match '${searchTerm}*']{
im... | I am using Sanity.io and came across this error in the database...Encountered a field that is not defined in the schema | CC BY-SA 4.0 | null | 2023-03-03T03:35:53.327 | 2023-03-03T19:16:24.630 | null | null | 19,792,224 | [
"reactjs",
"sanity"
] |
75,622,951 | 2 | null | 75,622,945 | 0 | null | This is the code. [https://codesandbox.io/s/9wgkcu?file=/demo.js](https://codesandbox.io/s/9wgkcu?file=/demo.js)
```
import * as React from 'react';
import PropTypes from 'prop-types';
import Box from '@mui/material/Box';
import Rating from '@mui/material/Rating';
import { DataGrid, useGridApiContext } from '@mui/x-dat... | null | CC BY-SA 4.0 | null | 2023-03-03T03:36:18.147 | 2023-03-03T04:52:12.213 | 2023-03-03T04:52:12.213 | 1,153,250 | 1,153,250 | null |
75,622,957 | 1 | null | null | -1 | 15 | I'd like to relplace the main menu function below with a user interface that has clickable buttons to select the desired function and labeled textboxes for the necessary inputs. If possible I'd like to do this without changing the rest of the code. Maybe using tkinter? Or whatever else you recommend.
```
def main_menu(... | Can I create a replacement for the following UI that has buttons to select a function and textbooks for inputs without changing the rest of the code? | CC BY-SA 4.0 | null | 2023-03-03T03:37:21.433 | 2023-03-03T03:37:21.433 | null | null | 21,208,323 | [
"python-3.x",
"user-interface",
"tkinter",
"cryptography",
"rsa"
] |
75,622,953 | 1 | null | null | 0 | 35 | I have a .Net 6 ASP.NET Web API project, built into a Windows docker image and running in an Azure App Service (as a docker container). The logs show everything is correct. However, when I attempt to visit the swagger page of this Azure Web App (using the "default domain"), I get a 404. Example addresses I've tried:
... | ASP.NET Core Docker image deploys/runs successfully, but gets 404 | CC BY-SA 4.0 | null | 2023-03-03T03:36:35.520 | 2023-03-03T09:55:23.473 | null | null | 284,758 | [
"c#",
"docker",
"asp.net-web-api",
"azure-web-app-service"
] |
75,622,958 | 1 | null | null | 0 | 17 | working with Laravel 8 and Vue Js 3 and installed following Vue Editor js package [https://github.com/ChangJoo-Park/vue-editor-js](https://github.com/ChangJoo-Park/vue-editor-js) and import detalis in app.js file as following app.js
```
require('./bootstrap');
import router from './router'
import { createApp } from 'vu... | Model not found error when install Vue editor js in Vue Js 3 | CC BY-SA 4.0 | null | 2023-03-03T03:37:52.060 | 2023-03-03T05:51:29.097 | 2023-03-03T05:51:29.097 | 20,952,344 | 20,952,344 | [
"javascript",
"laravel",
"vuejs3"
] |
75,622,964 | 1 | null | null | -2 | 15 | [](https://i.stack.imgur.com/DuyIw.png)
I want to package a software package myself. The above problem arises.
| build vscode. Why packaging software date error. Why 1980 | CC BY-SA 4.0 | null | 2023-03-03T03:39:27.567 | 2023-03-03T04:12:28.033 | 2023-03-03T04:12:28.033 | 4,518,341 | 21,319,842 | [
"visual-studio-code"
] |
75,622,960 | 2 | null | 48,135,348 | 0 | null | [I wrote a small gist](https://gist.github.com/CallumJHays/0841c5fdb7b2774d2a0b9b8233689761) that implements the required functionality without the performance penalty from using batches.
Usage is as follows:
```
def work(inp: In) -> Out: ...
with ProcessPoolExecutor() as ex:
# also works with ThreadPoolExecutor
... | null | CC BY-SA 4.0 | null | 2023-03-03T03:38:36.173 | 2023-03-03T03:38:36.173 | null | null | 1,266,662 | null |
75,622,963 | 1 | null | null | -2 | 22 | Longtime listener, first time caller.
New to swift, can't find this addressed:
When I use the NavigationLink feature in SwiftUI, it auto populates a back button, which is great, until I use the NavigationLink function inside the page I navigated to, at which point the "Back" Buttons double up.
To illustrate: You have P... | Double Back Buttons in Swift Nav View | CC BY-SA 4.0 | null | 2023-03-03T03:39:08.870 | 2023-03-03T13:04:12.683 | 2023-03-03T13:04:12.683 | 1,015,258 | 21,323,238 | [
"swift",
"swiftui",
"swiftui-navigationlink"
] |
75,622,965 | 1 | 75,623,297 | null | 0 | 22 | I have a list of fields, and I want to take that list and dynamically create an Ecto query from it.
I think I can use `Enum.reduce`, but I'm not sure how to get the pieces to work together.
Each field in the list would use an `ilike` and be cast to a text, something like:
```
def lookup(search_term) do
fields = [:id,... | Dynamic Elixir Ecto Query | CC BY-SA 4.0 | null | 2023-03-03T03:39:31.180 | 2023-03-03T04:53:35.840 | null | null | 15,108,984 | [
"sql",
"elixir",
"ecto"
] |
75,622,967 | 1 | null | null | -1 | 13 | how do i group by in python if i want find the peak hours transcation if i have this format date :
| TXN_DATE_TIME |
| ------------- |
| 12/31/2022 11:23:34.000000 PM |
| 12/31/2022 11:23:22.000000 PM |
| 12/31/2022 11:17:22.000000 PM |
| how to find peak hours transcation using group by in python | CC BY-SA 4.0 | null | 2023-03-03T03:39:34.277 | 2023-03-03T03:39:34.277 | null | null | 15,078,021 | [
"python",
"data-analysis"
] |
75,622,892 | 1 | null | null | -1 | 40 | My problem is similar to this post but I followed the advice and I still get a stack overflow and broken pipe error [Getting Segmentation Fault in C when using sleep with Pthreads](https://stackoverflow.com/questions/53217908/getting-segmentation-fault-in-c-when-using-sleep-with-pthreads)
I am modifying a simple webser... | Broken pipe error in threadpool backend after a lot of requests | CC BY-SA 4.0 | null | 2023-03-03T03:23:18.090 | 2023-03-03T17:59:15.797 | 2023-03-03T17:59:15.797 | 16,217,248 | 21,077,192 | [
"c",
"pthreads"
] |
75,622,970 | 1 | null | null | 0 | 7 | We can create nodejs scripts with puppeteer for aws canary. It is possible to have the same approach for mabl?
| There is a way to import nodejs scripts into Mabl with puppeteer? | CC BY-SA 4.0 | null | 2023-03-03T03:40:50.470 | 2023-03-03T03:40:50.470 | null | null | 11,232,218 | [
"node.js",
"puppeteer"
] |
75,622,968 | 1 | 75,624,070 | null | 0 | 15 | I'm new to ionic and Angular. I don't know where I went wrong here. The compiler error is:
```
node_modules_ionic_core_dist_esm_ion-app_8_entry_js.js:2 TypeError: Cannot destructure property 'month' of '(0 , _data_cb72448c_js__WEBPACK_IMPORTED_MODULE_9__.P)(...)' as it is undefined.
at Datetime.processValue (ion-da... | why does console show error when I declare datetime in ionic | CC BY-SA 4.0 | null | 2023-03-03T03:39:56.423 | 2023-03-03T07:05:01.950 | null | null | 16,188,928 | [
"angular",
"typescript",
"ionic-framework"
] |
75,622,966 | 2 | null | 75,616,311 | 0 | null | When data other than the xy axis is to be displayed in the hover data, it can be specified using the custom data function. I can't find your similar sample data, and the [sample data](https://plotly.com/python/choropleth-maps/#indexing-by-geojson-properties) in plolty clearly shows the election results for a region wit... | null | CC BY-SA 4.0 | null | 2023-03-03T03:39:32.540 | 2023-03-03T03:39:32.540 | null | null | 13,107,804 | null |
75,622,952 | 1 | null | null | 0 | 15 | I try pull image in K8s from my private registry
But the container describe show
```
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal Scheduled 14s default-scheduler Successfully assigned default/k8m-... | failed to unpack image on snapshotter overlayfs: unexpected media type text/html | CC BY-SA 4.0 | null | 2023-03-03T03:36:28.737 | 2023-03-03T06:29:36.197 | 2023-03-03T06:29:36.197 | 18,077,825 | 18,077,825 | [
"kubernetes",
"containers",
"containerd",
"harbor"
] |
75,622,969 | 2 | null | 74,239,007 | 0 | null | You need to customize the workspace image as the documentation says [https://www.gitpod.io/docs/configure/workspaces/workspace-image#use-a-custom-dockerfile](https://www.gitpod.io/docs/configure/workspaces/workspace-image#use-a-custom-dockerfile)
Here's the `.gitpod.Dockerfile` I use, it's a modified version of the one... | null | CC BY-SA 4.0 | null | 2023-03-03T03:40:07.537 | 2023-03-03T04:05:59.700 | 2023-03-03T04:05:59.700 | 4,501,383 | 4,501,383 | null |
75,622,975 | 2 | null | 75,618,213 | 1 | null | To prevent the text in links from splitting into multiple lines, set `width: max-content` on `menu__link` class. That should fix the logo as well, if not then remove `width: 100%` on `header__logo` or change it to `auto`. Usually with images, when you are setting an explicit width or height, you should let the other on... | null | CC BY-SA 4.0 | null | 2023-03-03T03:41:15.313 | 2023-03-03T03:41:15.313 | null | null | 15,393,728 | null |
75,622,973 | 2 | null | 75,622,561 | 0 | null | `case_match()` could be a slightly shorter alternative:
```
df <- structure(df, class = c("sf", "data.frame"))
x <- df$forestsite %>% unique()
df %>% mutate(code = case_match(
forestsite, "NDUFR" ~ 1,
x[grepl("UMNP", x) & !grepl("UMNP-hondohondo|UMNP-Sanje|UMNP-campsite3", x)] ~ 2,
"UMNP-campsite3" ~ 3,
x[grepl... | null | CC BY-SA 4.0 | null | 2023-03-03T03:40:59.820 | 2023-03-03T06:16:11.863 | 2023-03-03T06:16:11.863 | 11,741,943 | 11,741,943 | null |
75,622,979 | 2 | null | 73,852,273 | 0 | null | Explicitly importing the module does the trick. It can be imported from the command line, or by modifying the .spec file to import.
Command line mode:
`pyinstaller main.py --hidden-import openpyxl.cell._writer`
Note: The module name does not need to be wrapped in quotes
Modify the .spec way:
```
a = Analysis(
...
h... | null | CC BY-SA 4.0 | null | 2023-03-03T03:42:05.483 | 2023-03-03T09:07:02.990 | 2023-03-03T09:07:02.990 | 2,227,743 | 589,102 | null |
75,622,977 | 1 | null | null | 0 | 32 | ```
Route::prefix('/admin/post')->middleware('admin')->name('admin.')->group(function(){
Route::get('/all', [AdminPostController::class, 'index'])->name('post');
Route::name('post.')->group(function(){
Route::get('/create', [AdminPostController::class, 'create'])->name('create');
Route::post('/s... | how to group route by name in laravel | CC BY-SA 4.0 | null | 2023-03-03T03:41:27.403 | 2023-03-03T04:16:53.790 | 2023-03-03T04:00:44.017 | 19,594,303 | 19,594,303 | [
"php",
"laravel-8"
] |
75,622,980 | 2 | null | 70,544,129 | 0 | null | ```
tokenizer = T5Tokenizer.from_pretrained('t5-base')
tokenizer.pad_token = tokenizer.eos_token`
```
source: [https://github.com/huggingface/transformers/issues/2648#issuecomment-616177044](https://github.com/huggingface/transformers/issues/2648#issuecomment-616177044)
| null | CC BY-SA 4.0 | null | 2023-03-03T03:42:17.350 | 2023-03-03T03:42:17.350 | null | null | 429,476 | null |
75,622,982 | 2 | null | 75,622,354 | 0 | null | The listview builder should solve your problem. Change ListView to this one
```
ListView.builder(
itemCount: taskList.length,
itemBuilder: (context, index) {
return taskList[index];
}
)
```
| null | CC BY-SA 4.0 | null | 2023-03-03T03:42:53.503 | 2023-03-03T03:42:53.503 | null | null | 11,986,571 | null |
75,622,981 | 2 | null | 75,622,899 | 0 | null | if i understand you correctly
```
import "./styles.css";
import { useState } from 'react'
export default function App() {
const [Items, setItems] = useState("");
const onChange = (e) => {
console.log(e.target.value)
setItems(e.target.value)
}
return (
<div>
<div>
<input
ty... | null | CC BY-SA 4.0 | null | 2023-03-03T03:42:26.727 | 2023-03-03T03:42:26.727 | null | null | 20,199,506 | null |
75,622,978 | 1 | 75,623,425 | null | 1 | 54 | I am trying to read my file "text.txt", and then count how many times my string has been found in that file. I am then trying to write the results into the file "results.txt".
```
#include <stdio.h>
#include<stdlib.h>
#include<string.h>
//Our main function
int main(int argc, char const *argv[])
{
int num = 0;
... | Searching a txt file for a string and then counting how many times it appears | CC BY-SA 4.0 | null | 2023-03-03T03:41:52.623 | 2023-03-03T09:46:16.213 | 2023-03-03T09:46:16.213 | 9,938,317 | 15,088,447 | [
"c"
] |
75,622,971 | 1 | null | null | 0 | 9 | {"Id":11911618,"LatestAsAtYear":2022,"ParentGroupId":22022,"NoOfBorrowingEntities":4,"NoOfNonBorrowingEntities":1,"SensitivityAccessibility":false,"CustomerGroupTotalLimit":104500001.00,"OPEXPerGroup":165760.00,"OverrideReason":null,"GroupStatusId":0,"GroupSimStatus":"Baseline","CreatedDateTime":"/Date(1675945044793)/"... | Is it possible to correlate specific ID using Loadrunner? | CC BY-SA 4.0 | null | 2023-03-03T03:40:55.543 | 2023-03-03T03:57:56.780 | 2023-03-03T03:57:56.780 | 18,760,894 | 18,760,894 | [
"performance",
"testing",
"automation",
"correlation",
"loadrunner"
] |
75,622,961 | 1 | null | null | 0 | 35 | I have the below php from my website which pulls data from an xml object to output a list of adoptable dogs. For some reason though, when updating my site from php 7.4 to 8.0, the foreach loop gives the following error "Warning: foreach() argument must be of type array|object, null given on line 54"
In my troubleshooti... | Why did php 8 break my foreach loop which works fine in php 7.4 and before? | CC BY-SA 4.0 | null | 2023-03-03T03:38:37.530 | 2023-03-03T17:57:27.127 | null | null | 21,323,099 | [
"php",
"xml",
"php-8"
] |
75,622,985 | 1 | null | null | -2 | 10 | I'm writing (or attempting to write) a monitor for an api endpoint which returns data in a json array. The intended functionality is to pull new data every minute and compare against the last pull. I'm storing the older version of data locally & the latest pull within a variable.
As of right now, the script Is checking... | setInterval not looping properly | CC BY-SA 4.0 | null | 2023-03-03T03:43:46.283 | 2023-03-03T03:43:46.283 | null | null | 16,042,764 | [
"node.js",
"loops",
"axios",
"monitor"
] |