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,614,008 | 1 | 75,615,687 | null | 0 | 34 | using an API that give me the list of projects by RID, i want to know if it's possible to know the name of each project.
for example this rid 'ri.compass.main.folder.*****' related to 'Mehdi' folder name
is there a method to do that in code repository ?
I don't found an API to do that !
Thanks in advance
| Is there a function to give the name of repo/object/table/project by RID (Ressource Identifier) | CC BY-SA 4.0 | null | 2023-03-02T10:13:39.227 | 2023-03-02T12:54:11.643 | null | null | 21,273,807 | [
"palantir-foundry",
"foundry-code-repositories",
"palantir-foundry-api"
] |
75,613,992 | 1 | 75,617,892 | null | 1 | 35 | I'm trying to get a ListView to stretch horizontally to fill its parent (a Grid). I defined the ListView.ItemsPanel to be of type StackPanel, with Horizontal orientation.
I searched around and found that the trick to get the ListViewItems to stretch horizontally would be to set the "HorizontalContentAlignment" property... | How to get an horizontal oriented listview to stretch horizontally? | CC BY-SA 4.0 | null | 2023-03-02T10:12:08.173 | 2023-03-02T16:11:19.077 | 2023-03-02T15:23:06.173 | 6,006,916 | 6,006,916 | [
"c#",
"xaml",
"winui-3",
"windows-app-sdk"
] |
75,613,999 | 1 | null | null | 0 | 20 | I am trying to implement simple sorting in my project where memory of the application is kept in Redis Stack. So far, most features work without too many complications. However, I have found one that might break some logic eventually:
When a property is marked as sortable in the main object, OrderBy works without a hit... | Redis OM .NET not indexing embedded model's property as sortable | CC BY-SA 4.0 | null | 2023-03-02T10:12:47.977 | 2023-03-02T10:12:47.977 | null | null | 9,119,391 | [
"c#",
".net",
"redis",
"redis-stack-server"
] |
75,614,005 | 1 | null | null | 0 | 13 | I am working on a mac machine running `macOS 13` and using `PHP 7.3`. When the error_log is using, along with that so many `NUL` showing in the log file in red background. The file size getting enormously big and I am not getting why this is coming. Adding a screenshot below
[](https://i.stack.imgur.com/ong3O.png)
Any ... | PHP error.log file showing so many NUL lines in Mac | CC BY-SA 4.0 | null | 2023-03-02T10:13:20.833 | 2023-03-02T10:27:25.833 | 2023-03-02T10:27:25.833 | 2,310,830 | 3,378,245 | [
"php",
"error-logging",
"error-log"
] |
75,614,002 | 1 | null | null | 1 | 17 | Below is my code to mock my connection unit test:
```
var connection = new Mock<IDatabaseConnectionFactory>();
var conn = new Mock<IDbConnection>();
connection.Setup(c => c.GetConnection()).Returns(conn.Object);
_productRepository = new ProductRepository(connection.Object, _httpContex... | Mocking Dynamic QueryAsync | CC BY-SA 4.0 | null | 2023-03-02T10:12:53.047 | 2023-03-02T14:09:51.897 | 2023-03-02T14:09:51.897 | 1,960,948 | 1,960,948 | [
"unit-testing",
"mocking",
"xunit",
"dapper",
"dbconnection"
] |
75,614,003 | 1 | null | null | 0 | 15 | I have tested my PayPal app in the sandbox and I am happy with it.
I would like now to move my app to production.
I am reading this: [https://developer.paypal.com/reference/production/](https://developer.paypal.com/reference/production/)
But it's not clear what to do for me.
Do I have to create another app or just move... | Moving my PayPal app from sandbox to live | CC BY-SA 4.0 | null | 2023-03-02T10:12:59.187 | 2023-03-02T15:05:42.733 | null | null | 1,907,647 | [
"paypal",
"paypal-sandbox"
] |
75,614,007 | 1 | 75,614,395 | null | 1 | 313 | I have a comma separated string that I would like to convert into a class. My class definition is like so:
```
public class Data
{
public string Event {get;set;}
public string TagId {get;set;}
public string Type {get;set;}
public string Frequency {get;set;}
public string Rssi {get;set;}
public ... | How to create a class from a comma separated strings in C# | CC BY-SA 4.0 | null | 2023-03-02T10:13:32.120 | 2023-03-03T03:52:22.740 | 2023-03-02T10:29:58.397 | 3,825,246 | 3,825,246 | [
"c#"
] |
75,614,014 | 2 | null | 75,613,247 | 1 | null | I would advise you to use Model events for this scenario and not overwriting the `store()` function.
You can add in your `setupCreateOperation()` or in `setup()`:
```
$this->crud->model::saving(function($entry) {
$entry->author_id = backpack_user()->id;
});
```
Cheers
| null | CC BY-SA 4.0 | null | 2023-03-02T10:14:23.843 | 2023-03-02T10:14:23.843 | null | null | 5,622,309 | null |
75,614,013 | 1 | null | null | 0 | 23 | Currently, I am using MonetDB Database Server Toolkit v11.43.21 (Jan2022-SP4)
Issue:
we are running more then 100 query concurrently by user in Monetdb and sys.queue in Monetdb is showing 50 tuples only at a same time.
is there any setting by which i can modify execution /firing limit on Monetdb so that it can execute... | Modify Max number of Query Execution at same time on monetdb | CC BY-SA 4.0 | null | 2023-03-02T10:14:17.487 | 2023-03-03T09:12:32.567 | 2023-03-02T10:16:52.867 | 1,727,835 | 1,727,835 | [
"monetdb"
] |
75,614,009 | 1 | null | null | -1 | 20 | In this case, the goal is to create an API using PHP that can be used to hold an ongoing call in the Asterisk Manager Interface. This means that the call will be put on hold, allowing the caller to wait until they can be connected to the appropriate party. I have created call originate and hangup API and those are work... | How to create an ongoing call holding API using PHP for Asterisk Manager Interface? | CC BY-SA 4.0 | null | 2023-03-02T10:13:45.987 | 2023-03-02T11:27:47.417 | 2023-03-02T11:27:47.417 | 3,795,691 | 9,607,939 | [
"php",
"api",
"asterisk",
"asteriskami",
"asterisk-ari"
] |
75,614,011 | 1 | null | null | 0 | 13 | new to Julia.
Problem:
I know how to set Python and R env in Conda and add those to Jupyter Lab.
It seems that Conda does not work smooth together with Julia like it does with Python.
The environments are listed then in the Jupyter Lab launcher by adding IPython.
I also know how to set up Julia on the machine and insta... | How can I add a Julia project to the Jupyter Lab launcher? | CC BY-SA 4.0 | null | 2023-03-02T10:13:57.440 | 2023-03-02T10:17:07.503 | 2023-03-02T10:17:07.503 | 3,795,691 | 12,058,154 | [
"jupyter-notebook",
"julia",
"jupyter-lab"
] |
75,614,016 | 2 | null | 75,174,656 | 0 | null | The Unity SDK told in the document you shared is obsolute and has a different repository than you shaerd.
The repository you shared is new Unity SDK, you can download and use it without following the document you sent.
For the issue you sent, I have just tried to publish an RTMP stream and I could play with Unity.
Can ... | null | CC BY-SA 4.0 | null | 2023-03-02T10:14:30.680 | 2023-03-02T10:14:30.680 | null | null | 4,906,903 | null |
75,614,010 | 1 | null | null | 0 | 24 | Let's imagine the following class hierarchy:
```
interface Weapon {
}
interface BladedWeapon extends Weapon {
}
class Katana implements BladedWeapon {
}
class Stick implements Weapon {
}
```
Current bindings are following:
```
container.bind<Weapon>('Weapon').to(Stick).whenTargetNamed('stick');
container.bind<Weapo... | How to inject multiple named dependencies using InversifyJS? | CC BY-SA 4.0 | null | 2023-03-02T10:13:49.220 | 2023-03-03T09:41:04.067 | null | null | 2,623,021 | [
"typescript",
"inversifyjs"
] |
75,614,018 | 1 | null | null | 1 | 11 | I am working on observability and want to extract metrics related to gin. How can I extract metrics for gin (golang) in opentelemetry standard?
I went through opentelemetry-go-contrib, but it seems gin metrics is not supported, need help to implement metrics for gin.
| How to extract metrics for gin (golang) in opentelemetry standard? | CC BY-SA 4.0 | null | 2023-03-02T10:14:31.340 | 2023-03-02T10:14:31.340 | null | null | 18,097,050 | [
"go",
"newrelic",
"go-gin",
"open-telemetry"
] |
75,614,019 | 2 | null | 75,602,007 | 0 | null | In this line
```
c.execute(
"SELECT suburb FROM wifi WHERE EXISTS (SELECT suburb FROM library WHERE library.suburb =wifi.suburb)",
(wifi,)
)
```
you are passing a value `(wifi,)`, but there is no placeholder (`?`) in the query text. The error message is alerting you to the mismatch. To fix the error, remove t... | null | CC BY-SA 4.0 | null | 2023-03-02T10:14:33.697 | 2023-03-02T10:14:33.697 | null | null | 5,320,906 | null |
75,614,012 | 1 | null | null | 0 | 31 | I am trying to create a approval stage at very beginning of my pipeline, on the basis of that input, rest of the stages will either be executed or skipped.
in my case, i am not able to use them on other stages. what could be the reason . I need to check value as Approved. please suggest
```
pipeline {
agent any
... | Jenkins Approval as Input and its usage in other stages | CC BY-SA 4.0 | null | 2023-03-02T10:14:17.410 | 2023-03-03T12:48:12.660 | 2023-03-02T11:10:08.730 | 19,692,198 | 19,692,198 | [
"jenkins",
"jenkins-pipeline"
] |
75,614,021 | 1 | 75,614,113 | null | 0 | 25 | I am trying to understand the inticacies of using `loc` on a dataframe. Suppose we have the following:
```
df = pd.DataFrame({'a':[1,2,3], 'b':[4,5,6]})
df2 = df.loc[:,'a']
df2.loc[0] = 10
print(df)
print(df2)
a b
0 10 4
1 2 5
2 3 6
0 10
1 2
2 3
Name: a, dtype: int64
df = pd.DataFrame({'a':[1... | Pandas dataframe mutability with loc method | CC BY-SA 4.0 | null | 2023-03-02T10:14:53.200 | 2023-03-02T10:31:17.797 | null | null | 9,021,547 | [
"python",
"pandas",
"mutable"
] |
75,614,023 | 1 | null | null | -1 | 7 | I have created 5 tabs. The content of each tab is a saved elementor template that each includes a product carousel.
In the first tab (the default active tab), the carousel is working well, but for the other tabs the carousels do not work.
What I can do to solve the problem?
you can find the live problem on:
[https://ra... | The elementor Tabs problem to load carousel widget | CC BY-SA 4.0 | null | 2023-03-02T10:15:21.250 | 2023-03-02T10:15:21.250 | null | null | 21,317,938 | [
"wordpress",
"elementor"
] |
75,614,026 | 2 | null | 75,612,504 | 2 | null | After getting the link for your site I found the problem:
[](https://i.stack.imgur.com/CePQw.png)
There is an empty A tag rendered in the html file. If you remove this the pictures will be centered
| null | CC BY-SA 4.0 | null | 2023-03-02T10:15:35.547 | 2023-03-02T10:15:35.547 | null | null | 18,428,659 | null |
75,614,024 | 2 | null | 75,605,015 | 0 | null | If you are using storyboard your info.plist should have the key like in the image and your storyboard should be named as in the key which is in this case called and in your SceneDelegate file the function scene(_:willconnect:) should be like in the second image[](https://i.stack.imgur.com/ecwvu.png)
[](https://i.stac... | null | CC BY-SA 4.0 | null | 2023-03-02T10:15:22.433 | 2023-03-02T10:15:22.433 | null | null | 10,701,774 | null |
75,614,017 | 1 | null | null | 0 | 21 | I'm trying to make Python bindings for some C++ code that I created using an existing C++ library. I'm using PyBind11 and CMake to build the bindings and convert them into a shared library (.so) that I can import directly into my Python script. After creating the bindings and building the library, importing into my scr... | Creating Python bindings for CPP code and then importing it into a Python script | CC BY-SA 4.0 | null | 2023-03-02T10:14:31.040 | 2023-03-02T10:14:31.040 | null | null | 15,414,018 | [
"c++",
"python-3.x",
"cmake",
"pybind11",
"python-bindings"
] |
75,614,029 | 1 | null | null | -1 | 22 | is it possible to run Python code in the background of my web/html pages, directly on internet?
Suppose I made a code with shuffle words (mix words), and I want to make an html page that have that python code in the background, to run that page as an application. Everytime someone will access that page, Python code wil... | How to run Python code in the background of my web/html pages, directly on internet? | CC BY-SA 4.0 | null | 2023-03-02T10:15:51.900 | 2023-03-02T21:21:59.630 | null | null | 2,036,464 | [
"python",
"html",
"python-3.x",
"web"
] |
75,614,022 | 1 | null | null | 0 | 16 | Let me first introduce the cluster :
- - - - - - -
: from PHPFPM we can trigger some scripts who dispatch dozens of thousands of messages. The messages are sent to rabbitmq and then handled by the consumers. Each consumer insert data in posgres and elasticsearch.
**The goal **: increase dynamically (HPA + autoscaling... | Symfony messenger + RabbitMQ on a Kubernetes cluster : performance issue | CC BY-SA 4.0 | null | 2023-03-02T10:14:59.080 | 2023-03-02T10:14:59.080 | null | null | 20,836,867 | [
"performance",
"kubernetes",
"rabbitmq",
"symfony-messenger"
] |
75,614,030 | 2 | null | 75,613,145 | 0 | null | Use `e.__class__.__name__` instead of `text` to get the reason.
```
>>> {'error_msg': 'Line No. 6\nText: \n\n', 'error_script': 'Error.py'}
```
I hope this helps.
| null | CC BY-SA 4.0 | null | 2023-03-02T10:15:54.023 | 2023-03-02T10:15:54.023 | null | null | 20,197,902 | null |
75,614,015 | 1 | null | null | 0 | 35 | I am running below query in ADX and connecting to PowerBI with this query. But, it seems very heavy query and if I exceed 8 days filter (like 10 days) query is breaking with memory issue.
Can you check my query and advise how can I optimize my query? So that I can run more than 8 days - like 14 days?
1 day contains app... | Optimizing Kusto Query (KQL) | CC BY-SA 4.0 | null | 2023-03-02T10:14:26.617 | 2023-03-02T19:23:23.603 | 2023-03-02T19:23:23.603 | 13,302 | 20,984,635 | [
"azure-data-explorer",
"kql"
] |
75,614,025 | 1 | 75,614,079 | null | 1 | 16 | I have a data frame with a column containing both '#' and '*' characters:
```
import pandas as pd
data = {'id': [0, 1, 2, 3],
'foo': ["1#", "2*", "3#", "4*"]
}
df = pd.DataFrame(data)
print(df)
```
```
id foo
0 0 1#
1 1 2*
2 2 3#
3 3 4*
```
If I search for '#' using hex digits \x23 from... | Why does a string search for hex digits \x42 not find asterisk characters? | CC BY-SA 4.0 | null | 2023-03-02T10:15:28.673 | 2023-03-02T10:29:02.677 | null | null | 15,260,458 | [
"pandas",
"string",
"hex",
"contains"
] |
75,614,028 | 1 | null | null | 0 | 44 | I'm able to access our `gerrit` application from bare metal based `Kubernetes cluster` through an independent `HAProxy`(LB).
Currently i have below `HAproxy`configurations in `/etc/haproxy/haproxy.cfg` file to access cluster gerrit service.
```
frontend http-in
bind *:80
mode http
option forwardfor
defa... | How do i connect gerrit web & ssh through HAproxy(LB)? | CC BY-SA 4.0 | null | 2023-03-02T10:15:46.010 | 2023-03-03T16:32:30.160 | 2023-03-03T16:32:30.160 | 4,948,798 | 4,948,798 | [
"kubernetes",
"haproxy",
"gerrit"
] |
75,614,031 | 1 | null | null | 0 | 19 | I would like to have articles from subcategories posted under a parent category. The problem is, when I try to do this, the parent category title in h1, changes automatically and displays the subcategory to the latest post that I have published. How can I solve this problem, so the parent category always maintains and ... | Problem when Wordpress parent category archive displays subcategory title in relation to latest post | CC BY-SA 4.0 | null | 2023-03-02T10:15:58.217 | 2023-03-02T11:49:09.767 | 2023-03-02T10:50:34.397 | 20,676,069 | 20,676,069 | [
"php",
"wordpress",
"post",
"parent-child",
"categories"
] |
75,614,032 | 1 | 75,616,435 | null | 1 | 34 | Is it possible to order tests the way, that test A will go first, then test B go second and then test A will go again as third?
I am using [pytest-order](https://pypi.org/project/pytest-order/) lib.
Tech stack: , ,
Here is the code used:
```
import logging
import pytest
@pytest.mark.order(2)
def test_a():
loggin... | Pytest order test A, then test B and then test A again | CC BY-SA 4.0 | null | 2023-03-02T10:16:01.347 | 2023-03-03T15:41:41.490 | 2023-03-02T10:35:46.897 | 12,490,568 | 12,490,568 | [
"python-3.x",
"pytest",
"pytest-order"
] |
75,614,035 | 2 | null | 75,612,015 | 0 | null | You need to update `allowed_domains`. It should be `books.toscrape.com` instead of `tosrape.com`.
```
from scrapy.spiders import CrawlSpider, Rule
from scrapy.linkextractors import LinkExtractor
class MySpider(CrawlSpider):
name = 'myspider'
allowed_domains = ["books.toscrape.com"]
start_urls = ["https:/... | null | CC BY-SA 4.0 | null | 2023-03-02T10:16:14.317 | 2023-03-02T10:16:14.317 | null | null | 9,961,622 | null |
75,614,036 | 2 | null | 15,780,817 | 0 | null | I found an example to solve this problem. There is a _Unparsing class in [ast](https://github.com/python/cpython/blob/main/Lib/ast.py#L684) library of python to unparse AST tree.
There is a require_parens function in the library to check parentheses.
Example:
```
~% python3.11
>>> import ast
>>> ast.unparse(ast.parse("... | null | CC BY-SA 4.0 | null | 2023-03-02T10:16:18.933 | 2023-03-02T10:16:18.933 | null | null | 3,042,989 | null |
75,614,040 | 1 | null | null | -1 | 9 | I want to integrate money transfer service into my spring boot application and it works with soap services. As much as I know swagger doesn't work for soap. Which specification tool can I use in my project for soap services?
Can you advise any alternative of swagger working for soap?
| Is there any alternative of swagger? | CC BY-SA 4.0 | null | 2023-03-02T10:16:35.477 | 2023-03-02T10:16:59.927 | 2023-03-02T10:16:59.927 | 15,611,115 | 15,611,115 | [
"soap"
] |
75,614,038 | 1 | 75,615,134 | null | -2 | 29 | My Code for Map is here:
when i click on Span text then it shows the map but not full.
```
var latitude = document.querySelector('#lati').value;//$('#lati').val();
var longitude = document.querySelector('#longi').value;//$('#longi').val();
var open_address = document.querySelector('#open_address').value;//$('#open_addr... | openstreetmap is not showing complete map inside div | CC BY-SA 4.0 | null | 2023-03-02T10:16:23.607 | 2023-03-02T12:05:32.597 | 2023-03-02T10:21:35.977 | 16,531,663 | 16,531,663 | [
"javascript",
"php",
"html",
"laravel-blade"
] |
75,614,037 | 1 | 75,614,392 | null | 0 | 30 | I have a table with data. I need to add two new columns `author` and `time_ct`. I ran this query for adding the data. My expectation is to add `0000-00-00 00:00:00.0000000` and `not_set` to existing rows.
```
ALTER TABLE [tpsone].[ss_auth]
ADD [time_ct] DATETIME2 (7) NOT NULL
CONSTRAINT DF_ss_authi DEFAULT... | How add defaults values to existing rows while using GETDATE() and SUSER_SNAME() for newly added data in SQL Server 2019 | CC BY-SA 4.0 | null | 2023-03-02T10:16:21.463 | 2023-03-02T10:48:52.507 | 2023-03-02T10:32:45.130 | 13,302 | 14,564,221 | [
"sql-server",
"sql-server-2019"
] |
75,614,039 | 1 | null | null | 0 | 19 | I have .ipynb script which create 3 variables which i try to use for SQL function already created on MS SQL server. Structure of function is like this:
`[YS_Cheque_check] (@createddate date, @FILID int, @SUMCHEQ float)`
So i created code for this task which look like this:
```
# import lib
import pandas as pd
import p... | what is correct way to add python variables to sql query? int is incompatible with date (206) | CC BY-SA 4.0 | null | 2023-03-02T10:16:29.120 | 2023-03-02T10:16:29.120 | null | null | 12,867,815 | [
"python",
"sql-server",
"database-connection",
"sql-server-2019"
] |
75,614,044 | 2 | null | 71,628,044 | 0 | null | If you can use the cobertura reporting format, you can use the `cobertura-merge` library to create a single test coverage report that merges results from each project's individual test coverage report into one for the whole monorepo.
First run your tests with coverage reporting for all projects, then run `cobertura-mer... | null | CC BY-SA 4.0 | null | 2023-03-02T10:16:48.473 | 2023-03-02T12:30:46.160 | 2023-03-02T12:30:46.160 | 18,727,037 | 18,727,037 | null |
75,614,047 | 2 | null | 75,613,896 | 0 | null | I figured out the issue is that the bias of the output neuron does not contribute to the loss and therefore it is not used in the graph. Hence, we have to eliminate this bias parameter by passing `bias=False` to the last layer.
```
# Define network to predict y(x)
network = torch.nn.Sequential(
torch.nn.Linear(1, 5... | null | CC BY-SA 4.0 | null | 2023-03-02T10:17:07.783 | 2023-03-02T10:17:07.783 | null | null | 4,576,519 | null |
75,614,045 | 2 | null | 75,613,783 | 0 | null | You need `SUMPRODUCT()`. Try-
```
=SUMPRODUCT(($C$2:$J$25)*($A$2:$A$25=L11)*($B$2:$B$25=M11)*($C$1:$J$1>=20233)*($C$1:$J$1<=20236))
```
[](https://i.stack.imgur.com/SczVX.png)
| null | CC BY-SA 4.0 | null | 2023-03-02T10:17:00.433 | 2023-03-02T10:17:00.433 | null | null | 5,514,747 | null |
75,614,000 | 1 | null | null | 0 | 21 | I've been trying to upload my app to the store for a day now, but it always comes up with the error "You uploaded an APK or Android App Bundle that contains an activity, activity alias, service or broadcast receiver with intent filtering, but without the "android:exported" property set. You cannot install this file on ... | Android pubblication problem with android 12 | CC BY-SA 4.0 | null | 2023-03-02T10:12:49.657 | 2023-03-02T10:13:13.043 | 2023-03-02T10:13:13.043 | 21,318,023 | 21,318,023 | [
"android",
"apk",
"android-manifest",
"android-12"
] |
75,614,042 | 2 | null | 75,558,174 | 0 | null | There's a few methods, not all of which seem to be created equal.
#### 1. Mapped Type
My preferred method is this:
```
myMethod(form: MyForm) {
const id = form.controls.id //works.
}
interface MyForm extends FormGroup<{id: FormControl}> {
[key: string]: any;
}
```
It's nice, simple, readable, and works well fo... | null | CC BY-SA 4.0 | null | 2023-03-02T10:16:41.633 | 2023-03-03T15:11:50.737 | 2023-03-03T15:11:50.737 | 1,657,465 | 5,243,309 | null |
75,614,049 | 2 | null | 75,613,525 | 0 | null | Regarding how to get the internal id of vertices:
The internal id of vertices can be queried by types and pk: getVertexIdByPK;
After calling the method of inserting a vertex, the return value also contains the internal id of the vertex.
Regarding how to get the internal id of edges:
1. the internal id of the edge can ... | null | CC BY-SA 4.0 | null | 2023-03-02T10:17:14.693 | 2023-03-02T10:17:14.693 | null | null | 19,247,339 | null |
75,614,052 | 1 | null | null | -1 | 26 | Since it is a multi-person development, in mac environment, it is required to set chmod + x.usky /pre-commit for projects, but many people may deliberately leave it unset in an attempt to submit the wrong code to the repository
I know you can do this, but this command does not exist on windows. How can I do this comman... | How do I automatically set chmod + x.husky /pre-commit for projects husky | CC BY-SA 4.0 | null | 2023-03-02T10:17:17.257 | 2023-03-02T10:17:17.257 | null | null | 16,927,902 | [
"node.js",
"git",
"npm",
"husky",
"git-husky"
] |
75,614,043 | 1 | null | null | 0 | 22 | ```
import { z } from "zod";
const Schema = z
.object({
name: z.string(),
description: z.string(),
startDate: z.coerce.date().refine((date) => date > new Date(), {
message: "Start date must be in the future",
}),
endDate: z.coerce.date(),
address: z.object({
detail: z.string().min... | Is there anyway to get ZodError from refine when we have invalid_type? | CC BY-SA 4.0 | null | 2023-03-02T10:16:42.823 | 2023-03-02T10:17:45.357 | 2023-03-02T10:17:45.357 | 21,318,060 | 21,318,060 | [
"typescript",
"react-hook-form",
"zod"
] |
75,614,048 | 1 | null | null | 0 | 15 | I am trying to use `awswrangler.s3.merge_datasets()` using a glob source string but it isn't working for me.
[https://aws-sdk-pandas.readthedocs.io/en/stable/stubs/awswrangler.s3.merge_datasets.html](https://aws-sdk-pandas.readthedocs.io/en/stable/stubs/awswrangler.s3.merge_datasets.html)
```
import glob
import awswran... | How do I merge several parquet files into one using awswrangler? | CC BY-SA 4.0 | null | 2023-03-02T10:17:13.763 | 2023-03-02T11:15:49.513 | 2023-03-02T11:15:49.513 | 1,021,819 | 1,021,819 | [
"python",
"amazon-web-services",
"glob",
"aws-data-wrangler"
] |
75,614,054 | 1 | null | null | -1 | 9 | The following code fails with an `UnboundLocalError`. Does anyone know why? Shouldn't the interpreter know that `os` already exists?
```
import os
def fun():
a = os
if False:
import os
fun()
```
| Unbounded local error for imported modules | CC BY-SA 4.0 | null | 2023-03-02T10:17:22.357 | 2023-03-02T10:19:16.833 | 2023-03-02T10:19:16.833 | 7,046,421 | 7,046,421 | [
"python"
] |
75,614,051 | 1 | null | null | 0 | 15 | I have problem with a jQuery-script inside a WordPress website. I am using this script to expand and close sub-menu items in my desktop and mobile menues and it produces irrational behaviour. The script has a responsive part added so that it changes it's behaviour from "on hover" to "on click" below a resolution of 800... | Mobile menu with irrational behaviour (jQuery) | CC BY-SA 4.0 | null | 2023-03-02T10:17:17.063 | 2023-03-02T10:17:17.063 | null | null | 7,410,855 | [
"jquery",
"wordpress",
"responsive-design",
"submenu",
"slidetoggle"
] |
75,614,055 | 1 | null | null | 0 | 7 | I have successfully Implemented SSO and SLO using Spring Security 5.7.5. SiteMinder is my Identity Provider. I am getting SMSESSION after authenticating successfully. When I send SAML2 LogoutRequest after 90 seconds of Login my Service Provider (Spring Boot) is not sending the SMSESSION in the Request cookies.
SessionN... | SAML2 Logout Request not sending SMSESSION after 90 seconds | CC BY-SA 4.0 | null | 2023-03-02T10:17:45.417 | 2023-03-02T10:17:45.417 | null | null | 1,834,978 | [
"spring-security",
"siteminder",
"spring-security-saml2"
] |
75,614,050 | 2 | null | 75,446,548 | 0 | null | Here is a sample from SPA authentication documentation using the angular to acquire a token:
```
import { BrowserModule } from '@angular/platform-browser';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { NgModule } from '@angular/core';
import { HTTP_INTERCEPTORS, HttpClientModu... | null | CC BY-SA 4.0 | null | 2023-03-02T10:17:14.913 | 2023-03-02T10:17:14.913 | null | null | 17,982,436 | null |
75,614,033 | 1 | null | null | 0 | 16 | I have `CoordinatorLayout` parent and inside this parent is layout `bottomSheetContainer` which will contain `BottomSheet` which has `BottomSheetBehaviour` attached to it. And then above it there are anchored 2 buttons which are basically hovering over top of `BottomSheet`.
What I want to achieve is that if I swipe `Bo... | CoordinatorLayout - how to animate anchored views | CC BY-SA 4.0 | null | 2023-03-02T10:16:04.170 | 2023-03-03T10:10:34.827 | 2023-03-03T10:10:34.827 | 9,046,350 | 9,046,350 | [
"android",
"android-layout",
"android-coordinatorlayout"
] |
75,614,057 | 1 | 75,617,094 | null | 0 | 39 | I need a service account for a python script to authenticate to my firebase project. This service account should only have the right to write to a specific branch but not read, update or even delete anything else. The predefined roles (editor, owner) have too many permissions so I read the google IAM documentation and ... | Firebase Realtime Database write only permission | CC BY-SA 4.0 | null | 2023-03-02T10:17:50.233 | 2023-03-02T14:51:57.520 | null | null | 7,127,513 | [
"firebase",
"google-cloud-platform",
"firebase-realtime-database",
"firebase-authentication",
"google-iam"
] |
75,614,058 | 2 | null | 75,594,058 | 0 | null | When you spawn the actor on your client, set the Owner field to your Player Controller.
With the Owner set to the local Player Controller, you can use the “Owner No See” and “Only Owner See” checkmarks on any Primitive Component (Static Mesh, Skeletal Mesh, etc.) that you need.
These settings can also be changed in Blu... | null | CC BY-SA 4.0 | null | 2023-03-02T10:17:55.637 | 2023-03-02T10:17:55.637 | null | null | 17,685,806 | null |
75,614,053 | 1 | null | null | 1 | 27 | I'm writing my own boot loader for i386 in NASM for education purposes. But when I'm running qemu with this it starts blinking and do anything but what I want. Here's my code:
```
; defs.asm
%define STACK_SEGMENT_REAL_MODE 0x9000
%define STACK_SEGMENT_PROT_MODE 0xFFFFFFFE
```
```
; head.asm
[bits 16]
[org 0x7C00]
%in... | QEMU starts blinking with custom boot loader in x86 | CC BY-SA 4.0 | null | 2023-03-02T10:17:19.653 | 2023-03-02T11:39:16.113 | 2023-03-02T11:39:16.113 | 3,857,942 | 19,760,971 | [
"x86",
"nasm",
"bootloader",
"osdev",
"protected-mode"
] |
75,614,064 | 2 | null | 43,534,347 | 0 | null | I noticed that in the disabled button there is no option at all to do the operator & there is only an option to do || (or) and it works like && Exactly the same.
| null | CC BY-SA 4.0 | null | 2023-03-02T10:18:11.573 | 2023-03-02T10:18:11.573 | null | null | 19,344,062 | null |
75,614,062 | 2 | null | 75,613,988 | 2 | null | ```
@Value(value = "${com.abc.pvc.path}")
private Path path;
// one level works fine
@Value(value = "${com.abc.pvc.ftp.path:${com.abc.pvc.path}/ftp}")
private Path ftpPath;
// two levels do not work
@Value(value = "${com.abc.pvc.etc.path:${com.abc.pvc.ftp.path:${com.abc.pvc.path}}/etc}")
private Path etcPath;
```
yo... | null | CC BY-SA 4.0 | null | 2023-03-02T10:18:08.130 | 2023-03-02T11:30:38.777 | 2023-03-02T11:30:38.777 | 17,010,647 | 17,010,647 | null |
75,614,066 | 2 | null | 75,613,924 | 1 | null | You can use `add` function to add more interceptors with `..` continuation.
```
Provider(create: (BuildContext context) =>
Dio(BaseOptions(baseUrl: ApiEndPoints.baseURL))
..interceptors.add(InterceptorsWrapper(
onRequest: (options, handler) {
final accessToken = accessTokenChangeNotifier.value;
if (accessToke... | null | CC BY-SA 4.0 | null | 2023-03-02T10:18:22.297 | 2023-03-02T10:58:01.160 | 2023-03-02T10:58:01.160 | 11,992,780 | 11,992,780 | null |
75,614,067 | 1 | 75,618,022 | null | -1 | 34 | I'm generating large text files that can have up to ~50 MB. Zipping them cuts the size by half, 50 MB becomes ~25 MB. Instead of uploading text files I would like to upload a zip and let S3 unzip it. Does S3 support such thing (auto unzip)?
| Automatically unzip uploaded zip to S3 | CC BY-SA 4.0 | null | 2023-03-02T10:18:33.360 | 2023-03-02T16:39:59.713 | null | null | 6,372,449 | [
"amazon-web-services",
"amazon-s3",
"zip"
] |
75,614,070 | 1 | null | null | -3 | 27 | I have data in a csv file in 1st row 1st column which is in XML format
test1@abc.comtest2@xyz.com
[](https://i.stack.imgur.com/3xHx6.png)
I want my XML output to be in the below format:
[](https://i.stack.imgur.com/7kwdA.png)
I am using Python to achieve this. Can you please help me in resolving this issue. Thank you !... | Interpret XML data written in a CSV file (1st row 1st column) and covert that into a .xml file | CC BY-SA 4.0 | null | 2023-03-02T10:18:51.693 | 2023-03-02T10:26:40.753 | 2023-03-02T10:26:40.753 | 134,204 | 21,318,000 | [
"python",
"pandas",
"xml",
"csv",
"elementtree"
] |
75,614,068 | 1 | null | null | 0 | 24 | ```
strQuery = "SELECT tblAppointments.AppID, tblAppointments.ReservedDate, tblAppointments.AppointDate, tblAppointments.AppointTime, Left([tblSchedule].[DoctorsName],5) AS Doctor, tblSchedule.DoctorsName" _
& " FROM tblSchedule INNER JOIN tblAppointments ON tblSchedule.DoctorsID = tblAppointments.DoctorsID " & "WHERE ... | Please take a look at this code. it works fine on Access table but after linked to SQL Database table is produced error | CC BY-SA 4.0 | null | 2023-03-02T10:18:35.287 | 2023-03-03T14:12:23.347 | 2023-03-02T10:25:11.707 | 3,706,016 | 4,243,620 | [
"sql",
"syntax"
] |
75,614,063 | 2 | null | 75,613,943 | 0 | null | You are using the model class which has null value either you may change your data type to var or use the null check operator. I had update your model class, just replace & check it.
```
ProductModel productModelFromJson(String str) =>
ProductModel.fromJson(json.decode(str));
String productModelToJson(ProductModel dat... | null | CC BY-SA 4.0 | null | 2023-03-02T10:18:08.947 | 2023-03-02T10:18:08.947 | null | null | 2,042,002 | null |
75,614,034 | 1 | null | null | 0 | 13 | When I click on the submit button in the login form in Angular 15, the submit button is not enabled with username, password and CAPTCHA validation. If I remove Google reCAPTCHA validation, then this button is enabled. How can I solve this problem?
```
<section class="vh-100" style="background-color: #9A616D;">
<div... | in angular 15 submit button not enabled with captcha validation | CC BY-SA 4.0 | null | 2023-03-02T10:16:05.943 | 2023-03-03T10:48:04.643 | 2023-03-03T10:48:04.643 | 466,862 | 21,317,903 | [
"forms",
"validation",
"button",
"recaptcha",
"angular-ng-if"
] |
75,614,060 | 2 | null | 75,612,920 | 0 | null | By implementing the , it solved this problem. Here is an example
```
<?php
namespace App\Imports;
use Illuminate\Support\Collection;
use Maatwebsite\Excel\Concerns\ToCollection;
use DB;
use Maatwebsite\Excel\Concerns\WithCalculatedFormulas;
class SummaryImport implements ToCollection,WithCalculatedFormulas
{
/**... | null | CC BY-SA 4.0 | null | 2023-03-02T10:17:59.883 | 2023-03-02T10:17:59.883 | null | null | 12,049,123 | null |
75,614,071 | 1 | null | null | 1 | 17 | in my package [dmdScheme](https://github.com/UZH-PEG/dmdScheme/blob/7441e6fbc8807aa6343a982c22b80dfae7d079bd/R/aaa.R#L24) on CRAN in the line highlighted, I call a function with `message(...)`. This causes a warning on CRAN: [https://www.r-project.org/nosvn/R.check/r-devel-linux-x86_64-fedora-clang/dmdScheme-00check.ht... | function with `message()` called during package startup - must use `packageStartupMessage()` for CRAN - but how? | CC BY-SA 4.0 | null | 2023-03-02T10:18:52.833 | 2023-03-02T10:18:52.833 | null | null | 632,423 | [
"r",
"message",
"startup"
] |
75,614,076 | 1 | null | null | -2 | 23 | What are the meaning or purpose of these words in the python?
global , raise , assert, except, exec finally
These words are keywords in Python but I don't know when or where we can use them.
| When we can use keywords? | CC BY-SA 4.0 | null | 2023-03-02T10:19:23.443 | 2023-03-02T10:25:28.510 | 2023-03-02T10:25:28.510 | 7,329,832 | 21,317,886 | [
"python"
] |
75,614,075 | 1 | 75,628,524 | null | -1 | 19 | Since it is a multi-person development, in mac environment, it is required to set chmod + x.usky /pre-commit for projects, but many people may deliberately leave it unset in an attempt to submit the wrong code to the repository
I know you can do this, but this command does not exist on windows. How can I do this comman... | When using npm scripts, how can I tell if I am currently running windwos or mac | CC BY-SA 4.0 | null | 2023-03-02T10:19:22.583 | 2023-03-03T14:46:47.967 | null | null | 16,927,902 | [
"node.js",
"git",
"npm",
"githooks",
"husky"
] |
75,614,078 | 2 | null | 2,279,760 | 0 | null | I used
```
jQuery('my_selector_of_checkboxes').prop('checked', false).trigger()
```
| null | CC BY-SA 4.0 | null | 2023-03-02T10:19:31.113 | 2023-03-02T10:19:31.113 | null | null | 18,579,783 | null |
75,614,077 | 2 | null | 75,550,433 | 0 | null | You do not need to enable the scroller manually, it will appear automatically when the Gantt chart timeline exceeds the width of the container. To deal with the size of the day period, you could use the zoomTo() method and then the fitAll() method to return to the full picture.
```
// add functions to scale your chart ... | null | CC BY-SA 4.0 | null | 2023-03-02T10:19:28.970 | 2023-03-02T10:19:28.970 | null | null | 3,951,036 | null |
75,614,065 | 1 | null | null | 0 | 19 | I am trying to observe a change between observation points `before` and `after` and compare the result within two groups, that is the variable `condition`. I tried this code:
```
Data %>% select(condition, before, after) %>%
tbl_summary(by=condition) %>%
add_p(test=everything()~"paired.wilcox.test")
```
Appears, I... | Trying to produce a table using gtsummary | CC BY-SA 4.0 | null | 2023-03-02T10:18:18.977 | 2023-03-02T10:19:12.253 | 2023-03-02T10:19:12.253 | 1,968 | 14,336,726 | [
"r",
"gtsummary"
] |
75,614,072 | 1 | null | null | 0 | 48 | I'm trying to center multiple overlapping divs inside a container div horizontally and vertically. They all have different sizes and should be displayed in the middle of the screen (no matter the size of the window)
above each other.
I tried to do it with margins per child div, so that "child-width/height" + "child-mar... | Centering multiple overlapping divs in flexbox | CC BY-SA 4.0 | null | 2023-03-02T10:18:53.543 | 2023-03-02T13:31:12.093 | 2023-03-02T10:27:28.850 | 12,571,484 | 21,318,014 | [
"html",
"css"
] |
75,614,079 | 2 | null | 75,614,025 | 1 | null | Because `*` in hex is `x2a`:
```
print (hex(ord('*')))
0x2a
print(df.loc[ df['foo'].str.contains(r'\x2a') ])
id foo
1 1 2*
3 3 4*
```
And `hex` `42` is `B`:
```
data = {'id': [0, 1, 2, 3],
'foo': ["1#", "2*", "3B", "4*"]
}
df = pd.DataFrame(data)
print(df.loc[ df['foo'].str.contains('\x42'... | null | CC BY-SA 4.0 | null | 2023-03-02T10:19:41.030 | 2023-03-02T10:29:02.677 | 2023-03-02T10:29:02.677 | 2,901,002 | 2,901,002 | null |
75,614,085 | 2 | null | 40,408,219 | 0 | null | With asynchronous routes:
From api, return your error message like this :
```
return res.status(400).json({ message: error.message});
```
On client side:
```
catch(error) {
if(error?.response) {
const jsonError = await error.response.json(); // must await for response
const message = jsonError.message;
... | null | CC BY-SA 4.0 | null | 2023-03-02T10:20:23.470 | 2023-03-02T10:20:23.470 | null | null | 16,795,034 | null |
75,614,083 | 2 | null | 75,558,036 | 0 | null | This is simply that Python 2.7 missing in Ventura OSX. I installed 2.7.11 via the official pkg installer here ([https://www.python.org/downloads/macos/](https://www.python.org/downloads/macos/)) then installed Workbench 8.0.19 (macos) from the archives page and it works :) Woooo.
Peter, Liverpool
| null | CC BY-SA 4.0 | null | 2023-03-02T10:20:09.043 | 2023-03-02T10:20:09.043 | null | null | 1,576,264 | null |
75,614,080 | 1 | 75,614,111 | null | 0 | 25 | This is a slight variation on a question I asked previously, which I have not been able to adapt the answer for.
When there are repeated measurements I would like to replace the associated BP/BP2 with the mean for the first three measurements (if >=3), or the mean of two measurements (if == 2).
This is my data:
```
ID... | How to replace repeated measurements with the mean of the first three or two measurements in R | CC BY-SA 4.0 | null | 2023-03-02T10:19:48.693 | 2023-03-02T10:28:07.890 | null | null | 19,389,199 | [
"r",
"dplyr"
] |
75,614,082 | 2 | null | 75,606,797 | 0 | null | Based on the stacktrace of the error, it doesn't seems to come from the downloading of the blob, but from your endpoint when it tries to serialize the response to json.
I think the mistake is on the line
```
return Results.Ok(new FileStreamResult(newMemoryStream, "application/octet-stream") { FileDownloadName = blobNam... | null | CC BY-SA 4.0 | null | 2023-03-02T10:20:04.457 | 2023-03-02T10:20:04.457 | null | null | 9,428,912 | null |
75,614,073 | 1 | null | null | 0 | 14 | Problem: Created a yolo4 photo processing chatbot. The chatbot accepts the photo, but does not process it and does not send it back to the chatbot. I work for googlecolab.
```
@bot.message_handler(content_types=['photo'])
def photographio(message):
print(message)
file = bot.get_file(message.photo[-1].file_id)
bot... | Image processing in yolov4 chatbot | CC BY-SA 4.0 | null | 2023-03-02T10:19:01.343 | 2023-03-02T17:26:09.777 | 2023-03-02T17:26:09.777 | 10,606,962 | 20,645,079 | [
"python-3.x",
"telegram-bot",
"chatbot",
"py-telegram-bot-api"
] |
75,614,087 | 2 | null | 75,610,870 | 0 | null | With DPDK rte_flow, of course you can direct flows to specific queues.
[https://doc.dpdk.org/guides/prog_guide/rte_flow.html](https://doc.dpdk.org/guides/prog_guide/rte_flow.html)
See Queue action, RSS action. Also isolate mode could help you leave other flow to the kernel.
But if you already knew DPDK, it would not bo... | null | CC BY-SA 4.0 | null | 2023-03-02T10:20:48.467 | 2023-03-02T10:20:48.467 | null | null | 14,876,868 | null |
75,614,090 | 2 | null | 75,584,749 | 0 | null | the code was moved to the Zip4j library. the problem has disappeared
| null | CC BY-SA 4.0 | null | 2023-03-02T10:20:57.367 | 2023-03-02T10:20:57.367 | null | null | 18,337,295 | null |
75,614,089 | 1 | null | null | -3 | 16 | I just want to know which is cheaper running statefulset on EKS or DB on AWS RDS?
I am thinking to migrate all my EC2 instances to EKS.
| DB ON AWS EKS v/s AWS RDS | CC BY-SA 4.0 | null | 2023-03-02T10:20:54.417 | 2023-03-02T10:39:25.007 | 2023-03-02T10:39:25.007 | 174,777 | 21,042,781 | [
"amazon-web-services",
"amazon-rds",
"amazon-eks"
] |
75,614,092 | 1 | null | null | 0 | 14 | I am working on a token classification problem using m-bert model. I am using default tokenizer using the following piece of code :
tokenizer = AutoTokenizer.from_pretrained(model_checkpoint)
With the above piece of code, the default subword based tokenizer is loaded but I want to switch to normal word based tokenizer.... | How can we switch to normal tokenizer instead of subword tokenizer in Huggingface? | CC BY-SA 4.0 | null | 2023-03-02T10:21:04.817 | 2023-03-02T10:21:04.817 | null | null | 6,655,286 | [
"huggingface-transformers",
"bert-language-model",
"huggingface-tokenizers"
] |
75,614,091 | 1 | null | null | -1 | 5 | Can Traffic Manager be used to load Balance(Active-Active or Active-Passive) Non-HTTP(S) Layer 4 traffic between On Premises and Azure Virtual Machines.
| Traffic Manager to Load balance Layer 4 traffic between On Prem Physical machines and Azure VM | CC BY-SA 4.0 | null | 2023-03-02T10:20:59.450 | 2023-03-02T10:20:59.450 | null | null | 13,773,202 | [
"azure",
"azure-load-balancer",
"azure-traffic-manager",
"azure-hybrid-connections"
] |
75,614,086 | 1 | null | null | -4 | 21 | Here I created two variables a & b having the same input i.e 3 lists within a list. The way of writing is different for both. For a, I wrote as a=[[]]*3 and for b, I wrote as b = [[],[],[]], but both are in the end same, I believe. When I appended a no 5 at 1 index for both by doing a[1].append(5) & b[1].append(5). Why... | Can someone explain me why am I getting two different outputs for the same input here? | CC BY-SA 4.0 | null | 2023-03-02T10:20:28.867 | 2023-03-02T10:20:28.867 | null | null | 21,188,768 | [
"python",
"list"
] |
75,614,081 | 2 | null | 75,504,362 | 0 | null | So after long time of googling I have finally find my answer.
The solutions is to use Specification and Example.of.
First you have to defined a repository to use JPA Specifications:
```
public interface MyExperiment extends JpaRepository<Yourentity, UUID> , JpaSpecificationExecutor<AdrSbj> {
@Override
List<AdrS... | null | CC BY-SA 4.0 | null | 2023-03-02T10:19:54.790 | 2023-03-02T10:19:54.790 | null | null | 21,247,181 | null |
75,614,094 | 1 | null | null | 0 | 30 | I'm using testcafe for automation in my product, right now we have flow to retry to update the contact in 5 times in each time will be 1 minuted.
I have idea that will create white loop for this to wait refresh page until the contact is updated to expected status
```
while(!statusExpect.existed){
await refresh... | While loop to wait contact is updated status | CC BY-SA 4.0 | null | 2023-03-02T10:21:11.047 | 2023-03-02T11:15:54.953 | null | null | 20,703,838 | [
"javascript",
"automation",
"testcafe"
] |
75,614,088 | 1 | null | null | 0 | 23 | This is a piece of code from docs:
```
const express = require('express');
const app = express();
const http = require('http');
const server = http.createServer(app);
const { Server } = require("socket.io");
const io = new Server(server);
```
almost the same code as for :
```
const express = require("express");
const... | Why do I have to create a server with http.createServer when using websockets? | CC BY-SA 4.0 | null | 2023-03-02T10:20:49.030 | 2023-03-02T10:46:42.983 | 2023-03-02T10:27:54.930 | 21,236,703 | 21,236,703 | [
"node.js",
"express",
"sockets",
"websocket",
"socket.io"
] |
75,614,098 | 1 | null | null | 0 | 14 | I want to list a particular groups user only in UI because in my case each user can not list all user.
In my case, user will have list of only those connections whose parent entities are connected.
| Strophe.js: Fetch group wise users from roster instead of fetching all together and local filter | CC BY-SA 4.0 | null | 2023-03-02T10:21:29.303 | 2023-03-02T12:47:46.973 | null | null | 4,972,288 | [
"xmpp",
"chat",
"ejabberd",
"group",
"rosters"
] |
75,614,093 | 2 | null | 32,293,962 | 0 | null |
1. manifest.mf file is available in a jar.
2. check the program's or application's classpath by using below code.
3.
```
String classpath = System.getProperty("java.class.path");
System.out.println("classpath:"+classpath);
```
1. if above lines of code print jar path(-classpath: D:\ABC\target\ABC.jar) then ... | null | CC BY-SA 4.0 | null | 2023-03-02T10:21:06.590 | 2023-03-02T10:21:06.590 | null | null | 11,920,673 | null |
75,614,099 | 1 | null | null | -3 | 21 | I'm currently using this regexp
```
(.*) \((.*)\)(.*) to \1 - \2\3
```
to basically change: `[Genre] Title (subtitle).ext` into `[Genre] Title - subtitle.ext`
Problem is, it also changes: `[Genre] Title (31.09.2023).ext` into `[Genre] Title - 31.09.2023.ext`
While I would like to keep those instances with dates as the... | Replace parentheses with a single dash only if the parentheses contain alpha chars | CC BY-SA 4.0 | null | 2023-03-02T10:21:31.033 | 2023-03-02T12:17:20.700 | 2023-03-02T12:17:20.700 | 13,518,210 | 13,518,210 | [
"regex",
"filenames"
] |
75,614,102 | 2 | null | 75,614,067 | 1 | null | S3 can't automatically unzip a file, but you can use [S3 Event Notifications](https://docs.amazonaws.cn/en_us/lambda/latest/dg/with-s3-example.html) to invoke a Lambda that unzip the file (and then delete the zipped archive, if you want).
| null | CC BY-SA 4.0 | null | 2023-03-02T10:22:09.653 | 2023-03-02T10:22:09.653 | null | null | 21,250,520 | null |
75,614,101 | 2 | null | 75,612,961 | 1 | null | A solution using :
```
.hits.hits[] | with_entries(select(.key == "_score" or .key == "_id"))
```
though the _score and _id keys may not appear in the order you want (eg you may want the _score at the top of the JSON). If this doesn't matter, this is another possible solution.
| null | CC BY-SA 4.0 | null | 2023-03-02T10:21:55.747 | 2023-03-02T10:27:11.893 | 2023-03-02T10:27:11.893 | 17,520,438 | 17,520,438 | null |
75,614,095 | 2 | null | 75,329,059 | 0 | null | > The Access-Control-Expose-Headers header is used by browsers to expose response headers that are not allowed by default in a cross-origin request.
It allows the browser to access additional information from the server response. If you want to remove this header from your Azure Web App, you can follow these steps:
1.... | null | CC BY-SA 4.0 | null | 2023-03-02T10:21:13.507 | 2023-03-02T10:21:13.507 | null | null | 20,466,646 | null |
75,614,100 | 1 | null | null | -2 | 22 | I'm not expert in PHP, my host claims a CPU usage problem on my web site.
I see on error_log a lot of these errors:
> 2023-03-02 11:16:46 Warning 114.119.159.129 mod_fcgid: stderr: PHP Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /data/vhosts/e-compa.com/httpdoc... | Problem: mod_fcgid: stderr: PHP Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in | CC BY-SA 4.0 | null | 2023-03-02T10:21:43.870 | 2023-03-02T18:49:48.640 | 2023-03-02T10:23:35.900 | 2,310,830 | 4,266,588 | [
"php"
] |
75,614,059 | 2 | null | 72,171,182 | 0 | null |
# Tldr;
I believe you are close to the solution.
There are indeed a few way to set the `@metadata._id`
Which are [documented](https://www.elastic.co/guide/en/beats/filebeat/8.6/filebeat-deduplication.html#_how_can_i_avoid_duplicates)
# Solution
## Set up:
I have this document:
`data.ndjson`
```
{"content":"IM:... | null | CC BY-SA 4.0 | null | 2023-03-02T10:17:57.580 | 2023-03-02T10:17:57.580 | null | null | 4,534,923 | null |
75,614,105 | 2 | null | 75,613,886 | 0 | null | Use `grid-template-columns: repeat(4, 1fr);` css property to your `footer` break it into column
P.S
You can use any number instead 4
| null | CC BY-SA 4.0 | null | 2023-03-02T10:22:23.257 | 2023-03-02T10:22:23.257 | null | null | 17,657,057 | null |
75,614,103 | 2 | null | 75,610,667 | 0 | null | In this case I recommend you to launch the second part in a separate process : other `Dataflow` job for example and use a pipeline orchestrator like `Airflow/Composer` to sequence the 2 jobs :
```
DAG -> Launch Dataflow job 1 -> Launch Dataflow job 2
```
In this case the synchronization would be perfect.
I think it's ... | null | CC BY-SA 4.0 | null | 2023-03-02T10:22:12.217 | 2023-03-02T10:22:12.217 | null | null | 9,261,558 | null |
75,614,096 | 2 | null | 75,613,822 | 1 | null | Not withstanding the semantic errors in your html as pointed out by others, the first-child selector cannot filter out other tags, quite literally the p tag has to be the first child of the parent . See [here](https://stackoverflow.com/a/4505716/12571484) as to why. Try :first-of-type instead as per the code below. Hop... | null | CC BY-SA 4.0 | null | 2023-03-02T10:21:18.127 | 2023-03-02T10:21:18.127 | null | null | 12,571,484 | null |
75,614,107 | 2 | null | 75,612,327 | 0 | null | I believe this
```
if len(request.form.get("password")) < 9:
return apology("must provide at least 8 digit long password", 400)
```
is what is causing the first problem with check50. I know that conflicts with one of the Personal Touch suggestions; if memory serves the test password is 7 lower-case charac... | null | CC BY-SA 4.0 | null | 2023-03-02T10:22:39.320 | 2023-03-02T10:22:39.320 | null | null | 5,577,076 | null |
75,614,111 | 2 | null | 75,614,080 | 2 | null | You can use `head`, which will automatically compute the mean on the first 3 values, or less if there are no three values:
```
DF1 %>%
group_by(ID, Measurement) %>%
summarise(across(BP:BP2, ~ mean(head(.x, 3))))
ID Measurement BP BP2
<dbl> <dbl> <dbl> <dbl>
1 3 2 14.3 7.33
2 ... | null | CC BY-SA 4.0 | null | 2023-03-02T10:23:11.227 | 2023-03-02T10:23:11.227 | null | null | 13,460,602 | null |
75,614,110 | 1 | null | null | -3 | 46 | I have to write a python script in which I have given a list of element like this
```
array = [414943, 12156, 119722, 138216, 43022, 20420, 153, 3124, 116222, 158488, 127, 306, 347871, 24723, 81097, 83145, 938, 14575, 44493, 89278, 93499, 65, 2096, 443, 111890, 137407, 1149, 589, 31272, 51393, 159, 256, 72997, 148250, ... | sum of subset of array using python | CC BY-SA 4.0 | null | 2023-03-02T10:22:52.187 | 2023-03-02T10:26:10.557 | 2023-03-02T10:26:10.557 | 9,868,785 | 12,026,756 | [
"python",
"data-structures"
] |
75,614,104 | 1 | null | null | 0 | 20 | I'm trying to pull all available bonds in an exchange(NYSE) from the Blomberg terminal via Python. I want to retrieve the various bond data fields like say(Option Adjusted Spread ,S&P Rating, Yield to Maturity, Sector).
How can I be able to achieve this either using `xbbg or blpapi`?
In both of them from their docs you... | How to pull all available bonds listed on a particular exchange(NYSE) using Xbbg or blpapi Python? | CC BY-SA 4.0 | null | 2023-03-02T10:22:14.320 | 2023-03-02T10:22:14.320 | null | null | 13,115,575 | [
"python-3.x",
"bloomberg",
"blpapi"
] |
75,614,112 | 1 | 75,614,252 | null | 0 | 25 | In my reactjs project, when I onchange the toggleswitch, I am getting the error as
```
Warning: Failed prop type: The prop `checked` is marked as required in `ToggleSwitch`, but its value is `undefined`.
```
I have an array which contains some values in which I need to map and to show the toggleswitch. my code is:
```... | The prop `checked` is marked as required in `ToggleSwitch`, but its value is `undefined` | CC BY-SA 4.0 | null | 2023-03-02T10:23:31.600 | 2023-03-02T10:34:52.623 | 2023-03-02T10:25:29.477 | 21,318,040 | 21,318,040 | [
"reactjs",
"toggleswitch"
] |
75,614,113 | 2 | null | 75,614,021 | 1 | null | Because in your first code, `df2` is a view of `df`:
```
df = pd.DataFrame({'a':[1,2,3], 'b':[4,5,6]})
df2 = df.loc[:,'a']
df2._is_view
# True
```
Use `copy` to ensure having a copy:
```
df = pd.DataFrame({'a':[1,2,3], 'b':[4,5,6]})
df2 = df.loc[:,'a'].copy()
df2._is_view
# False
```
#### why?
Because in the fir... | null | CC BY-SA 4.0 | null | 2023-03-02T10:23:32.933 | 2023-03-02T10:31:17.797 | 2023-03-02T10:31:17.797 | 16,343,464 | 16,343,464 | null |