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,630,921 | 1 | null | null | 0 | 9 | I am using Azure Active Directory B2C in blazor server to authenticate the users. I need to get access to the JWT token claims information in a razor component, but outside of
```
<AuthorizeView>
<Authorized>
</Authorized>
</AuthorizeView>
```
So I can use it in a method like OnAfterRenderAsync() .The way I achiev... | Safest way of handling Azure AD B2C user data in Blazor Server | CC BY-SA 4.0 | null | 2023-03-03T19:00:23.123 | 2023-03-03T19:00:23.123 | null | null | 15,011,818 | [
"c#",
"azure-active-directory",
"blazor-server-side"
] |
75,630,916 | 1 | null | null | 0 | 9 | I've been trying for hours to setup the following layout with html and css (and Bootstrap, if needed):
[](https://i.stack.imgur.com/B5GEB.png)
That is:
- -
The problem with using just float: right is that the floating element should be positioned in the html before the text, but in mobile the element will be displayed... | Element floating right in desktop and positioned at the bottom of the other in mobile | CC BY-SA 4.0 | null | 2023-03-03T19:00:10.263 | 2023-03-03T19:06:30.210 | null | null | 5,802,289 | [
"html",
"css",
"css-float",
"responsive"
] |
75,630,924 | 1 | null | null | -1 | 7 | I am starting a venture so that my future customers can have a Dashboard that shows indicators of IoT devices in the cloud. I have found Thingsboard, which has Apache 2.0 license, so, in theory, I could deploy it in a Cloud, and also change its logo and colors for my company or my clients.
Could someone give me some a... | Thingsboard deployment in a Cloud | CC BY-SA 4.0 | null | 2023-03-03T19:00:43.740 | 2023-03-03T19:00:43.740 | null | null | 13,125,833 | [
"deployment",
"iot",
"thingsboard"
] |
75,630,918 | 1 | null | null | 0 | 15 | I'm loading from S3 to Bigquery a big amount of Avro files, for that I'm using BigQuery Data Transfer service. I've created the schema on Bigquery manually, but I'm getting this issue:
```
Error while reading data, error message: The Apache Avro library failed to read data with the following error: Cannot resolve: "nul... | BigQuery Data Transfer - Null Marker as null | CC BY-SA 4.0 | null | 2023-03-03T19:00:17.173 | 2023-03-03T19:00:17.173 | null | null | 6,534,180 | [
"amazon-s3",
"google-cloud-platform",
"google-bigquery",
"avro"
] |
75,630,909 | 2 | null | 35,469,038 | 0 | null | Further: to list syscalls associated with capabilities, I searched the provided manpages for mentions (this is obviously not an exhaustive list).
With a file 'caps' listing the 38 CAPS_* identiers:
```
$ head caps
CAP_AUDIT_CONTROL
CAP_AUDIT_READ
CAP_AUDIT_WRITE
CAP_BLOCK_SUSPEND
CAP_CHOWN
...
```
I can search like th... | null | CC BY-SA 4.0 | null | 2023-03-03T18:59:32.470 | 2023-03-03T19:00:36.457 | 2023-03-03T19:00:36.457 | 537,673 | 537,673 | null |
75,630,929 | 1 | null | null | 0 | 29 | I am new to JavaScript and have a problem with changing the color of the textContent of buttons with the `nextElementSibling` property.
I thought
```
e.target.childNodes.nextElementSibling.textContent.style.color = white
```
would work but it didn't.
I am using it like this:

| Style textContent of the parentElement | CC BY-SA 4.0 | null | 2023-03-03T19:01:16.800 | 2023-03-04T11:07:39.343 | 2023-03-04T11:07:39.343 | 4,883,195 | 21,328,087 | [
"javascript",
"node.js"
] |
75,630,928 | 2 | null | 75,630,719 | 0 | null | - create a button (for example, P1_BTN_SPRITE) which submits page when pressed- create process that fires when P1_BTN_SPRITE button is pressed- process would then```
insert into bill (bill_id, item_id, price)
select :P1_BILL_ID,
i.item_id,
i.price
from items i
where i.item_id = 1234; --> presuming that 1234 is ID... | null | CC BY-SA 4.0 | null | 2023-03-03T19:01:09.113 | 2023-03-03T19:01:09.113 | null | null | 9,097,906 | null |
75,630,922 | 1 | 75,631,313 | null | 0 | 23 | If there are duplicate IDs, Diff is the next End_Date minus the previous End_Date and Diff is End_Date minus Start_Date for the last duplicate ID, otherwise Diff is also End_Date minus Start_Date.
My data set looks like the following:
```
df =
Index ID Start_Date End_Date
0 118645 2021-01-04 2021-04-28
1 1... | Compute a combined difference of two columns and a running difference in a column | CC BY-SA 4.0 | null | 2023-03-03T19:00:27.583 | 2023-03-03T20:08:49.850 | null | null | 19,719,236 | [
"python",
"pandas",
"dataframe",
"date"
] |
75,630,926 | 1 | null | null | 0 | 21 | We have two views that form part of a `dbt` pipeline.
The first looks something like this:
```
table_a (
product_id varchar,
first_flag boolean,
second_flag boolean
)
```
The second looks like this:
```
table_b (
transport_id varchar,
product_id varchar,
some_timestamp timestamp
)
```
We're try... | 'Missing data for not-null field' when attempting a join -- what could be causing this? | CC BY-SA 4.0 | null | 2023-03-03T19:01:03.003 | 2023-03-03T22:29:03.703 | 2023-03-03T22:29:03.703 | 8,663,963 | 8,663,963 | [
"sql",
"amazon-redshift",
"dbt"
] |
75,630,925 | 1 | null | null | 0 | 13 | I am working with some hmtl components and I basically want to set a `:last-child selector` on a specific class. The issue is that the class is deeply nested within the parent class that I want to use the selector on so when I use last child it is affecting the css for all of the components. One of the issues I am runn... | CSS deep :last-child selector | CC BY-SA 4.0 | null | 2023-03-03T19:00:48.383 | 2023-03-03T19:00:48.383 | null | null | 14,088,796 | [
"html",
"css"
] |
75,630,935 | 2 | null | 52,074,872 | 0 | null | The answers here already cover what the OP asked, but for completeness sake, I am adding a link here to a [Baeldung article](https://www.baeldung.com/junit-get-name-of-currently-executing-test) which covers this topic for both JUnit 5 and JUnit 4, in case someone stumbles upon this question while looking for how to get... | null | CC BY-SA 4.0 | null | 2023-03-03T19:02:49.650 | 2023-03-03T19:02:49.650 | null | null | 513,660 | null |
75,630,927 | 2 | null | 75,586,966 | 0 | null | There seem to be syntax errors in both your php and perl.
Note the quotes are plain quotes.
many will say not to use CGI but going with what you asked:
These two files can talk to each other:
```
<?php
$musician_fn = $_POST[‘musician_fn’];
echo <<<END
<form action="getPhp.pl" method="POST">
<se... | null | CC BY-SA 4.0 | null | 2023-03-03T19:01:06.350 | 2023-03-03T19:01:06.350 | null | null | 11,882,543 | null |
75,630,932 | 2 | null | 75,630,842 | 1 | null | Base R option using `apply` by selecting the first `[1]` non NA with `is.na` like this:
```
df$New <- apply(df, 1, \(x) x[!is.na(x)][1])
df
#> A B C New
#> 1 <NA> <NA> 1 1
#> 2 <NA> 3 <NA> 3
#> 3 4 4 <NA> 4
#> 4 <NA> 5 5 5
```
[reprex v2.0.2](https://reprex.tidyverse.org)
| null | CC BY-SA 4.0 | null | 2023-03-03T19:02:12.040 | 2023-03-03T19:06:17.373 | 2023-03-03T19:06:17.373 | 14,282,714 | 14,282,714 | null |
75,630,930 | 2 | null | 43,491,421 | 0 | null | The recyclerview is first laid out to a fixed height if it is wrapped lets say by a ConstraintLayout. Once that occurs it is going to use its own mechanism to recycle rows as you scroll. If you set it not to scroll, well it will do just that and remain recycling rows, so you might only see a few.
The recyclerview needs... | null | CC BY-SA 4.0 | null | 2023-03-03T19:01:16.833 | 2023-03-03T19:07:03.547 | 2023-03-03T19:07:03.547 | 2,184,088 | 2,184,088 | null |
75,630,936 | 1 | null | null | 0 | 17 | In Android Studio's logcat window it is hard to distinguish my custom log messages (Log.d, Log.e...) from the other log messages. This still happens when setting .
See the image below:
[](https://i.stack.imgur.com/Rxklv.png)
| Custom logging messages hard to distinguish from other logcat messages | CC BY-SA 4.0 | null | 2023-03-03T19:03:01.547 | 2023-03-03T19:03:01.547 | null | null | 8,392,648 | [
"android",
"logcat",
"timber-android"
] |
75,630,931 | 2 | null | 75,625,277 | 1 | null | This is solvable in time `O(n log(n))`. I'll just get you started.
The key is to find a way to, given `x`, count how many mid-values are below, at, or above `x`. You don't want to find what they are, just count them.
For this you'll need to track a lot.
```
by whether the interval is odd/even in length
by whether... | null | CC BY-SA 4.0 | null | 2023-03-03T19:01:34.820 | 2023-03-03T19:01:34.820 | null | null | 585,411 | null |
75,630,938 | 2 | null | 75,621,502 | 0 | null | Here's the correct format for IN operators in the request URL:
[https://openpaymentsdata.cms.gov/api/1/datastore/query/50fae62c-ced9-5e10-ad26-1cbc3381ac6b?keys=true&limit=100&offset=0&conditions[0][property]=covered_recipient_profile_id&conditions[0][operator]=in&conditions[0][value][1]=[ID1]&conditions[0][value][2]=[... | null | CC BY-SA 4.0 | null | 2023-03-03T19:03:14.293 | 2023-03-03T19:03:14.293 | null | null | 8,828,432 | null |
75,630,943 | 1 | null | null | 0 | 6 | I can't post the code as it's on my work computer and we are not allowed, but I will explain the best I can.
In my controller, I am checking a UserId obtained from another internal rest service. If the id is invalid/not found, a custom advice exception is thrown like this:
new UserNotFoundException("user not found erro... | CWE-501 Error adding Exception message to springboot Model object | CC BY-SA 4.0 | null | 2023-03-03T19:04:03.207 | 2023-03-03T19:04:03.207 | null | null | 2,059,576 | [
"spring-boot",
"security",
"coverity"
] |
75,630,939 | 2 | null | 75,630,607 | 0 | null | One option would be to do some data wrangling you split the shift extending over two days into two parts or observations. Note that this also requires to reset the date, so I dropped the date from the axis label:
```
library(ggplot2)
library(lubridate)
library(dplyr)
shift_info <- shift_info |>
filter(day(start_time... | null | CC BY-SA 4.0 | null | 2023-03-03T19:03:15.637 | 2023-03-03T19:03:15.637 | null | null | 12,993,861 | null |
75,630,942 | 1 | null | null | 0 | 6 | How to use AWS Glue schema registry with MongoDB sink and source connectors? I have the following config
```
connector.class=com.mongodb.kafka.connect.MongoSinkConnector
document.id.strategy.overwrite.existing=false
writemodel.strategy=com.mongodb.kafka.connect.sink.writemodel.strategy.UpdateOneTimestampsStrategy
tasks... | MongoDB Sink Connector with AWS Glue Schema Registry | CC BY-SA 4.0 | null | 2023-03-03T19:03:44.717 | 2023-03-03T19:03:44.717 | null | null | 7,218,740 | [
"mongodb",
"spring-boot",
"aws-glue",
"apache-kafka-connect",
"mongodb-kafka-connector"
] |
75,630,946 | 1 | 75,631,202 | null | 0 | 19 | In Azure I can create
- -
What are the practical consequences/differences? E.g in terms of routing, isolation...?
| 2 VNETs vs. 1 VNET with 2 subnets? | CC BY-SA 4.0 | null | 2023-03-03T19:04:12.773 | 2023-03-03T19:38:43.483 | 2023-03-03T19:38:43.483 | 932,728 | 298,288 | [
"azure",
"azure-virtual-network"
] |
75,630,945 | 2 | null | 75,630,868 | 2 | null | Using [df.groupby().agg()](https://pandas.pydata.org/docs/reference/api/pandas.DataFrame.agg.html) and assigning new column names
```
df_new = df.groupby('Num').agg({'Val': ['first', 'last', 'min', 'max']})
df_new.columns = ['Val First', 'Val Last', 'Val Min', 'Val Max']
df_new.reset_index(inplace=True)
print(df_new)
... | null | CC BY-SA 4.0 | null | 2023-03-03T19:04:10.403 | 2023-03-03T19:18:13.723 | 2023-03-03T19:18:13.723 | 19,290,081 | 19,290,081 | null |
75,630,940 | 1 | null | null | 0 | 22 | I have been using React with traditional javascript for sometime now and there has been no issue at all. But recently I'm trying to learn React + Typescript but it's not working at all. I created the React + Typescript app with `npx create-react-app my-app --template typescript`. But when I serve with `npm start`, ther... | What is the right way to install React + Typescript? | CC BY-SA 4.0 | null | 2023-03-03T19:03:37.847 | 2023-03-03T19:34:02.870 | null | null | 15,311,198 | [
"reactjs",
"typescript"
] |
75,630,937 | 2 | null | 75,630,936 | 0 | null | Best solution is to use [Timber](https://github.com/JakeWharton/timber).
In MainApplication class set up a custom class extending Timber.Tree. Then Timber.plant it like this:
```
if (BuildConfig.DEBUG) {
Timber.plant(new MyPersonalDebugTree());
} else {
Timber.plant(new CrashReportingTree());
}
```
The custom ... | null | CC BY-SA 4.0 | null | 2023-03-03T19:03:01.547 | 2023-03-03T19:03:01.547 | null | null | 8,392,648 | null |
75,630,947 | 1 | null | null | -1 | 25 | Need to remove header for each group while iterating.
I have requirement to group by few column and dataframe value for that group
```
import pandas as pd
df=pd.read_excel('D:\\Python-pandas-numpy-mat_learn\\panda-learn\\test.xlsx')
#column in dataframes are: ['col1','col2','col3','col4']
grp=df.groupby(by=['col1','col... | removing header and indexes when iterating the groups in pandas | CC BY-SA 4.0 | null | 2023-03-03T19:04:19.547 | 2023-03-03T20:53:52.603 | 2023-03-03T19:14:34.817 | 7,867,968 | 7,197,654 | [
"python",
"pandas",
"dataframe"
] |
75,630,951 | 1 | null | null | 0 | 16 | Hi I'm new to PowerShell and I am trying to use Get-ComputerInfo and split the information of the data into multiple files (for example one file with all the bios content, one with OS content, and etc).
I tried doing the following
```
$var=Get-ComputerInfo
```
and I was assuming that it may work like Get-Content where... | Saving Get-ComputerInfo into a variable | CC BY-SA 4.0 | null | 2023-03-03T19:04:40.027 | 2023-03-03T19:04:40.027 | null | null | 21,327,838 | [
"powershell",
"shell",
"scripting"
] |
75,630,950 | 2 | null | 75,586,247 | 0 | null | It appears that the answer is:
```
./configure --host=x86_64-w64-mingw32
```
See [What's the difference of "./configure" option "--build", "--host" and "--target"?](https://stackoverflow.com/questions/5139403/whats-the-difference-of-configure-option-build-host-and-target)
See also [C++ mutex in namespace std does not ... | null | CC BY-SA 4.0 | null | 2023-03-03T19:04:38.247 | 2023-03-03T19:07:23.010 | 2023-03-03T19:07:23.010 | 51,167 | 51,167 | null |
75,630,933 | 2 | null | 75,624,592 | 0 | null | The final `+` on the pattern `r'((\w+)\(\w+\))+'` causes the pattern to match the entire string, once:
```
>>> re.search(pattern, foo)
<re.Match object; span=(0, 35), match='alice(ben)charlie(dent)elise(fiona)'>
```
So, the `re.findall` result has a list with single result, `('elise(fiona)', 'elise')`, which is all th... | null | CC BY-SA 4.0 | null | 2023-03-03T19:02:29.427 | 2023-03-03T19:02:29.427 | null | null | 523,612 | null |
75,630,953 | 2 | null | 41,776,368 | 0 | null | I have had this same issue in the past as well, and I was also able to solve it by and restarting PyCharm.
Also be careful about accidentally committing the folder to your git repository (if you are using one), as this can lead to such problems when the same folder gets used across different devices and software ver... | null | CC BY-SA 4.0 | null | 2023-03-03T19:05:08.863 | 2023-03-03T19:05:08.863 | null | null | 2,620,351 | null |
75,630,956 | 1 | null | null | 0 | 29 | I have the following data-set as an example, where I want to Create column C. Columns A and B are always mutually exclusive, except for dual NAs.
```
|Unique IQ Column A Column B Column C (A+B) (The one I wish to create)
|10204050 Top10% NA Top10%
|10204051 ... | How to create a new column by combining two mutually exclusive columns within the same dataset, using R? | CC BY-SA 4.0 | null | 2023-03-03T19:05:19.903 | 2023-03-03T20:01:35.787 | 2023-03-03T19:52:44.577 | 5,221,626 | 21,037,888 | [
"r",
"dplyr"
] |
75,630,958 | 2 | null | 74,453,357 | 0 | null | In case anyone still comes to this: There was nothing wrong with my code as such. It was a security protocol issue. The problem was solved by adding the following line (e.g. in the handler of the Shown event of the main form of my application)
```
System.Net.ServicePointManager.SecurityProtocol = Net.SecurityProtocolTy... | null | CC BY-SA 4.0 | null | 2023-03-03T19:05:30.777 | 2023-03-03T19:05:30.777 | null | null | 20,514,615 | null |
75,630,964 | 2 | null | 69,380,660 | 0 | null | If This is in the server, you need to modify the privileges to the table. contact to BD team
| null | CC BY-SA 4.0 | null | 2023-03-03T19:06:01.300 | 2023-03-03T19:06:01.300 | null | null | 14,337,178 | null |
75,630,957 | 1 | null | null | 0 | 16 | I'm trying to copy a file from a local mac directory to a Linux aws server using scp and i keep getting the error: Permission denied (publickey,gssapi-keyex,gssapi-with-mic when I run the following command?
scp -i /path/to/kp/keypair.pem /Documents/to/upload/tourmaline.zip ec2-x-xxx-xxx-xxx.us-east-2.compute.amazonaws.... | Load file into AWS server using scp | CC BY-SA 4.0 | null | 2023-03-03T19:05:22.667 | 2023-03-03T20:38:00.037 | null | null | 19,686,385 | [
"linux",
"amazon-web-services",
"amazon-ec2",
"scp"
] |
75,630,962 | 2 | null | 75,630,849 | 1 | null | The error message you're seeing is likely because when you first set the state, it doesn't yet have a property. This means that is initially , and you can't access the length property of undefined.
To avoid this error, you can check if exists before trying to access its property. You can do this using the optional... | null | CC BY-SA 4.0 | null | 2023-03-03T19:05:53.307 | 2023-03-04T07:59:56.327 | 2023-03-04T07:59:56.327 | 14,912,123 | 14,912,123 | null |
75,630,967 | 1 | null | null | 0 | 8 | We are using the rate limiting support in FluentLogger and this is resulting in spurious output being included with our log messages
> messages have been saved destined for corp [CONTEXT ratelimit_period="30 SECONDS [skipped: 6]" ]
Is there a way to turn this off?
| Can Google flogger be configured to omit CONTEXT from being included in log | CC BY-SA 4.0 | null | 2023-03-03T19:06:23.863 | 2023-03-03T19:06:23.863 | null | null | 121,678 | [
"java",
"logging",
"fluent"
] |
75,630,959 | 1 | null | null | 2 | 42 | In Colab, people can quickly run random cells manually by clicking the run buttons to the left of each cell, or they can run all the cells by using the command in the drop-down menu.
But I don't know if there is a solution to run other cells by the code in one particular cell, e.g., to run a `Cell B` when users click t... | How to run another cell in Colab? | CC BY-SA 4.0 | null | 2023-03-03T19:05:35.300 | 2023-03-05T00:55:40.270 | 2023-03-05T00:55:40.270 | 21,327,925 | 21,327,925 | [
"python",
"jupyter-notebook",
"google-colaboratory"
] |
75,630,948 | 1 | 75,631,209 | null | 0 | 21 | Program is written in c# .net
```
string mySource =
@"<table>
<tr>
<th>File Name</th>
<th>Error</th>
<th>Size</th>
<th>Date</th>
<th>Testing</th>
</tr>
{{#e... | Why does Handlebars think that my list is empty? | CC BY-SA 4.0 | null | 2023-03-03T19:04:27.787 | 2023-03-03T19:36:18.140 | 2023-03-03T19:20:05.133 | 1,043,380 | 10,526,750 | [
"c#",
".net",
"handlebars.net"
] |
75,630,966 | 2 | null | 71,214,312 | 0 | null | I viewed your post a week ago and I had the same doubt. Now my problem is resolved, I hope it does yours as well.
```
#Importing Libraries
import time
import keyboard
key_toggle = False
def DoSomething(): #Function starts
global key_toggle #To call the global variable
key_toggle = not key_toggl... | null | CC BY-SA 4.0 | null | 2023-03-03T19:06:11.427 | 2023-03-03T21:50:13.630 | 2023-03-03T21:50:13.630 | 21,282,994 | 21,282,994 | null |
75,630,952 | 2 | null | 6,634,777 | 0 | null | Implementing RaiseCanExecuteChanged()
Command Class:
```
public class CommandBase : ICommand
{
Action _TargetExecuteMethod;
Func<bool> _TargetCanExecuteMethod;
public CommandBase(Action executeMethod)
{
_TargetExecuteMethod = executeMethod;
}
public CommandBase(Action executeMethod, Fu... | null | CC BY-SA 4.0 | null | 2023-03-03T19:04:58.120 | 2023-03-03T19:09:23.220 | 2023-03-03T19:09:23.220 | 9,607,242 | 9,607,242 | null |
75,630,968 | 1 | null | null | 0 | 4 | How do I set something like pythonunbuffered=1 but for numba? It works fine in terminal, lines get printed sequentially as expected, but in my ipynb it prints many lines at once always.
```
@numba.njit
def test_print():
for i in range(100000):
x = sum([j for j in range(i)])
if i % 10000 == 0:
... | numba prints do not show (until I interrupt the ipynb kernel), buffering | CC BY-SA 4.0 | null | 2023-03-03T19:06:23.867 | 2023-03-03T19:06:40.380 | 2023-03-03T19:06:40.380 | 2,947,469 | 2,947,469 | [
"jupyter-notebook",
"numba"
] |
75,630,965 | 1 | null | null | 0 | 12 | I am making a financial chart I have two charts on the same page and I have a problem with displaying markers, I need to display each marker according to the color that is saved in the database, I have a dataset with some values and char field that contains the color name (yellow, green...) I need to display markers in... | How to show different color of marker on marker chart using AnyChart library | CC BY-SA 4.0 | null | 2023-03-03T19:06:10.173 | 2023-03-03T22:16:07.577 | 2023-03-03T22:16:07.577 | 21,273,093 | 21,273,093 | [
"javascript",
"charts",
"anychart"
] |
75,630,975 | 2 | null | 74,906,034 | 0 | null | Simple, your NodeJS server is listening on port , but you are trying to kill port . use
`npx kill port 1000`
| null | CC BY-SA 4.0 | null | 2023-03-03T19:07:29.997 | 2023-03-03T19:07:29.997 | null | null | 19,258,675 | null |
75,630,970 | 1 | null | null | -1 | 26 | Hi I want the help in this parsing error for VS Code where in code i wrote
```
<?php
include"config.php";
$sql = "SELECT * FROM user ORDER BY user_id DESC";
$result = mysqli_query($conn,$sql) or die("Query Failed");
if(mysqli_num_rows($result) > 0){
?>
<table cl... | Even After using <? php } ?>but still Parse error: Unmatched '}'getting this error | CC BY-SA 4.0 | null | 2023-03-03T19:06:53.740 | 2023-03-04T05:11:18.407 | 2023-03-04T05:11:18.407 | 19,963,011 | 19,963,011 | [
"php",
"html"
] |
75,630,973 | 1 | null | null | 0 | 13 | I want to execute the migration of my source code from Java8 to Jave11 using the OpenRewrite plugin and the recipe of the following link:[https://docs.openrewrite.org/reference/recipes/java/migrate/java8tojava11](https://docs.openrewrite.org/reference/recipes/java/migrate/java8tojava11).
As the guide suggests, I have a... | OpenRewrite: The contents of a quark are unknown, so the charset is unknown | CC BY-SA 4.0 | null | 2023-03-03T19:07:25.000 | 2023-03-03T19:07:25.000 | null | null | 936,586 | [
"maven",
"java-8",
"migration",
"java-11",
"openrewrite"
] |
75,630,978 | 1 | 75,631,674 | null | 0 | 12 | I noticed that updating scss files while `sencha app watch` is running does not update the output CSS files correctly. I tried changing the parameters on the mixin I am using but the CSS output file's Modified Date in the file system is not updated. Even though I noticed that `sencha app watch` detects the changes the ... | When using ExtJS Theming System, Why do I need to run sencha app build while Running sencha app watch? | CC BY-SA 4.0 | null | 2023-03-03T19:07:33.590 | 2023-03-03T20:40:01.470 | 2023-03-03T19:09:57.633 | 4,065,407 | 4,065,407 | [
"extjs",
"sencha-cmd"
] |
75,630,977 | 1 | 75,631,366 | null | 0 | 38 | I have a data frame with 6 columns like this. You can see that the dates are duplicates. How can I merge the rows and keep the information that's in the following columns ?
```
date 1 2 3 4 5
2019-01-01 NA 1966439. NA NA NA
2019-01-01 NA NA NA 133.6 NA
2019-01-01 NA NA ... | Bind or merge rows by duplicate dates in R | CC BY-SA 4.0 | null | 2023-03-03T19:07:33.050 | 2023-03-03T21:32:13.027 | 2023-03-03T21:08:07.953 | 17,527,397 | 17,527,397 | [
"r",
"dataframe",
"date",
"aggregate"
] |
75,630,969 | 2 | null | 75,619,588 | 0 | null | I ended up not to use template, because that would require me to have another 2 yaml files. Instead, I use if else expression in pipeline variables to determine which pool that I should run based on the branch. That way I still have only one yaml file :)
```
# ASP.NET Core
# Build and test ASP.NET Core projects target... | null | CC BY-SA 4.0 | null | 2023-03-03T19:06:41.657 | 2023-03-03T19:06:41.657 | null | null | 2,383,193 | null |
75,630,979 | 2 | null | 75,630,052 | 0 | null | One way to achieve this is to use package manager like `pip` on your Python app.
To use `pip` for your app, you can create a `setup.py` file that specifies the dependencies and metadata for your app. You can also include a version number in the `setup.py` file. When you make changes to your app, you can update the vers... | null | CC BY-SA 4.0 | null | 2023-03-03T19:07:40.740 | 2023-03-03T19:07:40.740 | null | null | 12,271,495 | null |
75,630,972 | 2 | null | 75,630,288 | 0 | null | No, this wouldn't make any difference, as the exactly once semantic mainly to control the transactional behavior of the data being sent to kafka.
Due to the distributed nature of kafka, it was originally supporting at-least-once (in case retrials) and at-most-once (no retrials) semantic.
Below is the very nutshell defi... | null | CC BY-SA 4.0 | null | 2023-03-03T19:07:20.873 | 2023-03-03T19:07:20.873 | null | null | 4,257,751 | null |
75,630,976 | 1 | null | null | 0 | 5 | I am new to python and am experimenting with some tutorials on my computer (MacPowerbook M1 running Venture 13.2.1) . In one of them I am requested to connect via https to the python flask https server on localhost. This fails and I get an HTTP BAD_REQUEST (400) error. I assume the server @ localhost does not support ... | Configuring https on the localhost server on MacOS | CC BY-SA 4.0 | null | 2023-03-03T19:07:30.287 | 2023-03-03T19:07:30.287 | null | null | 21,327,995 | [
"https",
"macos-ventura"
] |
75,630,983 | 1 | null | null | -2 | 13 | I was hoping someone could make it kindergarten to me as to how to update my iOS Distribution Certificate for my mobile app hosted by a third party. I only have an old iPhone and I am clueless as to what to do. Can I update the certificate using my Windows laptop even though it's not an Apple device?
I tried getting he... | Update iOS Distribution Certificate | CC BY-SA 4.0 | null | 2023-03-03T19:07:59.083 | 2023-03-03T22:13:57.603 | 2023-03-03T22:13:57.603 | 2,166,798 | 21,328,049 | [
"ios",
"certificate"
] |
75,630,982 | 2 | null | 29,899,316 | 0 | null | If you're still looking for a solution here, try taking your subquery and turning it into a view over on the databse to which you are linking via the "dblink1" database link. Then do the left join against the view, not directly against the underlying tables.
Something like this:
On the database to which you are linkin... | null | CC BY-SA 4.0 | null | 2023-03-03T19:07:56.867 | 2023-03-03T19:07:56.867 | null | null | 21,328,138 | null |
75,630,981 | 1 | null | null | 0 | 34 | ```
### Play the game many times
win=0; tie=0; N=10^4
for(j in 1:N){
points=sum(sample(1:6, 2, replace=T))
if(points==7 | points==11){win=win+1
x = paste("natural winner",points);
} else if(points==2 | points==3 | points==12){
x = paste("natural loser",points);
} else for(i in 1:20){
newroll=sum(sam... | Trying to create a table of odds for a craps game | CC BY-SA 4.0 | null | 2023-03-03T19:07:49.900 | 2023-03-04T14:23:26.757 | 2023-03-03T19:44:43.947 | 5,221,626 | 21,328,096 | [
"r",
"statistics"
] |
75,630,949 | 1 | null | null | 0 | 13 | When running Angular Karma tests (with Jasmine) locally, the tests pass as expected. However, when I try to run the tests from within an Azure Pipeline, they're failing.
It is an Angular 14 project
My current Karma Config:
```
// Karma configuration file, see link for more information
// https://karma-runner.github.io/... | Angular 14 Unit Testing -- Karma Runner works locally, fails in Azure Pipeline. (Possible Source Map issue?) | CC BY-SA 4.0 | null | 2023-03-03T19:04:35.737 | 2023-03-03T19:04:35.737 | null | null | 11,205,203 | [
"angular",
"azure",
"unit-testing",
"karma-jasmine",
"karma-runner"
] |
75,630,984 | 1 | null | null | 0 | 19 | I have code that loops through a directory looking for new/updated files to copy and move to a destination directory. The problem is this only 'searches' 2 sub directories in and stops. Need something that is dynamic and will continue until every sub is searched for new/updated files. Can something be implemented with ... | Loop through a main directory and all subs and copy all new/updated files and folders | CC BY-SA 4.0 | null | 2023-03-03T19:08:07.313 | 2023-03-03T19:08:07.313 | null | null | 16,643,056 | [
"python-3.x",
"loops",
"directory",
"copy",
"subdirectory"
] |
75,630,987 | 2 | null | 75,630,893 | 0 | null | Try to wrap the Padding widget with another widget, constraints goes down, size goes up on flutter
```
itemBuilder: (contenxt, index) {
return Align( // you can provide alginment the one you like , it can
child: Padding(
padding: const EdgeInsets.only(bottom: 28),
```
| null | CC BY-SA 4.0 | null | 2023-03-03T19:08:31.610 | 2023-03-03T19:09:00.623 | 2023-03-03T19:09:00.623 | 10,157,127 | 10,157,127 | null |
75,630,990 | 1 | null | null | 0 | 45 | I have a dataset that look something like this:
```
groupA <- rbinom(n=50,size=1,prob=0.5)
groupB <- rbinom(n=50,size=1,prob=0.5)
groupC <- rbinom(n=50,size=1,prob=0.5)
groupD <- rbinom(n=50,size=1,prob=0.5)
dtTest <- cbind(groupA, groupB, groupC, groupD)
```
where 0 means "no" and 1 means "yes".
Now, i want to create... | convert wide table to long in R | CC BY-SA 4.0 | null | 2023-03-03T19:08:49.093 | 2023-03-03T19:26:51.567 | null | null | 6,119,375 | [
"r",
"data.table",
"melt",
"longtable"
] |
75,630,992 | 2 | null | 46,257,393 | 0 | null | I tried almost all in this thread without success. I was able to fix the issue by changing the PATH environment variable. I had "C:\Program Files (x86)\dotnet" and after "C:\Program Files\dotnet". The solution was to put "C:\Program Files (x86)\dotnet" after "C:\Program Files\dotnet". Solved!
| null | CC BY-SA 4.0 | null | 2023-03-03T19:09:07.167 | 2023-03-03T19:09:07.167 | null | null | 15,157,755 | null |
75,630,986 | 1 | 75,631,119 | null | 0 | 35 | I have project that builds with CMake.
Here is project hierarchy:
```
Project
Dependencies
glfw
Source
CMakeList.txt
main.cpp
CMakeList.txt
```
Then I try to add GLFW to my project and my CMakeList file looks like:
```
cmake_minimum_required(VERSION 3.8)
# Enable Hot Reload for MSVC compile... | When I add a new subdirectory in CMake, the bug occurs | CC BY-SA 4.0 | null | 2023-03-03T19:08:29.737 | 2023-03-03T19:25:10.567 | 2023-03-03T19:22:11.313 | 44,729 | 21,328,082 | [
"c++",
"cmake",
"glfw"
] |
75,630,985 | 1 | null | null | 0 | 27 | I've got an VBA module in Excel that uses ACEADO.DLL ("Microsoft Office 16.0 Access database engine Object Library") to dynamically pull and push data from a Microsoft Access database.
I'm aware that this is an fairly obsolete API, but the amount of coding required to replace it with a more modern architecture is prohi... | Excel VBA reference to ACEDAO.DLL no longer working after MS Office update | CC BY-SA 4.0 | null | 2023-03-03T19:08:24.477 | 2023-03-03T19:08:24.477 | null | null | 21,327,177 | [
"excel",
"vba",
"ms-access",
"dao"
] |
75,630,994 | 1 | null | null | 0 | 20 | I fairly started coding. I have a project on freeCodeCamp where I am required to add an image to my website. Normally I would add the image to project file and use its path as a link for the image. There is no room for this on my project. How do I add the image?
I have tried using image links from other websites on the... | Adding Image To freeCodeCamp Project | CC BY-SA 4.0 | null | 2023-03-03T19:09:31.070 | 2023-03-03T19:26:51.067 | null | null | 19,938,542 | [
"html",
"css",
"image",
"frontend",
"project"
] |
75,630,995 | 2 | null | 75,630,411 | 1 | null | Try this:
```
start_time = pd.to_datetime(df["start_time"])
end_time = pd.to_datetime(df["end_time"])
# Since your data does not have date, we have to assign a dummy date. A row is
# considered to be in the next day if its start_time is before the previous
# row's start_time. This requires your data to be sorted alrea... | null | CC BY-SA 4.0 | null | 2023-03-03T19:09:44.280 | 2023-03-03T19:09:44.280 | null | null | 2,538,939 | null |
75,630,980 | 1 | null | null | 0 | 13 | I am doing a course on developing creative website from scratch without using any frameworks and following the instructors code and getting the following error. The instructor is using `webpack: 4.*.*` and I am on `webpack: 5.75.*` which is the latest stable version.
`error`
```
[webpack-cli] Invalid configuration obje... | Webpack 5 Invalid configuration object. Webpack has been initialized using a configuration object that does not match the API schema | CC BY-SA 4.0 | null | 2023-03-03T19:07:46.353 | 2023-03-04T01:17:36.770 | null | null | 19,495,822 | [
"javascript",
"webpack",
"webpack-5"
] |
75,630,996 | 2 | null | 44,169,164 | 0 | null | An easy way to the desired result within the tidyverse is to put the vector into a tibble and then pull out the vector.
```
tibble(myvec = gsub(" ", "-", tolower(state.name))) %>%
filter(myvec != "alaska") %>% pull(myvec)
```
With the desired Output:
[1] "alabama" "arizona" "arkansas" "californ... | null | CC BY-SA 4.0 | null | 2023-03-03T19:09:52.780 | 2023-03-03T19:09:52.780 | null | null | 2,683,720 | null |
75,630,988 | 1 | null | null | 0 | 12 | this is my first time using fastify with typescript, sequelize as ORM and fastify-multer, when i upload an image everything is ok but i cant access the file detail from request.file because typescript tells me request.file is undefined
```
{
"name": "server",
"version": "1.0.0",
"description": "",
"main": "inde... | fastify-multer typescript , cant access request.file | CC BY-SA 4.0 | null | 2023-03-03T19:08:35.197 | 2023-03-03T19:13:40.657 | 2023-03-03T19:13:40.657 | 13,998,781 | 13,998,781 | [
"node.js",
"typescript",
"sequelize.js",
"multer",
"fastify"
] |
75,631,000 | 2 | null | 75,630,733 | 2 | null | You aren't accounting for the case when `substring` is empty.
Therefore `subProblem()` endlessly calls itself with an empty string as an argument.
| null | CC BY-SA 4.0 | null | 2023-03-03T19:10:17.703 | 2023-03-03T19:10:17.703 | null | null | 494,134 | null |
75,630,997 | 2 | null | 75,630,990 | 0 | null | We may use `stack` on the data.frame converted - `cbind` by default returns a matrix and not a data.frame. Instead, we may directly use `data.frame(groupA, groupB, ...)`
```
out <- stack(as.data.frame(dtTest))[2:1]
names(out) <- c("Group", "answer")
out$answer <- c("no", "yes")[out$answer + 1]
```
-output
```
> head(... | null | CC BY-SA 4.0 | null | 2023-03-03T19:09:55.730 | 2023-03-03T19:18:57.050 | 2023-03-03T19:18:57.050 | 3,732,271 | 3,732,271 | null |
75,631,003 | 1 | 75,631,797 | null | 0 | 25 | While `$libdir` is commonly used when creating PostgreSQL extensions, Apache Age utilizes the `MODULE_PATHNAME` variable to store and retrieve compiled C code.
```
CREATE FUNCTION ag_catalog.create_graph(graph_name name)
RETURNS void
LANGUAGE c
AS 'MODULE_PATHNAME';
```
This variable is declared in the `age.control` f... | What is the location of the MODULE_PATHNAME in Apache Age? | CC BY-SA 4.0 | null | 2023-03-03T19:10:54.510 | 2023-03-03T20:56:24.850 | 2023-03-03T19:24:14.673 | 21,221,673 | 21,221,673 | [
"postgresql",
"apache-age"
] |
75,631,004 | 2 | null | 75,630,974 | 0 | null | You are mapping to a string value using string templating, but then also fail to return a mapped value. You should map to a [RouteObject](https://github.com/remix-run/react-router/blob/main/packages/react-router/lib/context.ts#L15-L47) object instead.
Example:
```
routeList.map(({ key }) => ({
path: key,
element: L... | null | CC BY-SA 4.0 | null | 2023-03-03T19:11:00.790 | 2023-03-03T20:04:36.510 | 2023-03-03T20:04:36.510 | 8,690,857 | 8,690,857 | null |
75,631,002 | 1 | null | null | 0 | 4 | We have opened our store to become a multi-vendor marketplace.
The vendors mostly sell downloadable products
The products are uploaded in zip files so that if the zip is updated then the files can be re-downloaded and the updated contents will be received by the purchaser.
for the admin products we have done this by up... | Magento 2 - Downloadable product - Stop Versioning of file uploads | CC BY-SA 4.0 | null | 2023-03-03T19:10:46.510 | 2023-03-03T19:10:46.510 | null | null | 20,861,155 | [
"magento",
"file-upload",
"magento2",
"product",
"file-management"
] |
75,630,974 | 1 | null | null | 1 | 42 | I am planning to map the path that I got from the API. It will be set into the routeList. Then I want to map into one of the children for my `"/app"` route.
```
const [routeList, setRouteList] = useState([]);
useEffect(() => {
Promise.all([
axios.get("http://localhost:5000/rights"),
axios.get("http://localhos... | How can I map path from API into the React Router? | CC BY-SA 4.0 | null | 2023-03-03T19:07:28.953 | 2023-03-03T21:04:51.723 | 2023-03-03T21:04:51.723 | 14,101,511 | 14,101,511 | [
"javascript",
"reactjs",
"react-router",
"jsx"
] |
75,630,999 | 1 | null | null | 0 | 43 | I have the following code using the `seaborn` library in python that plots a grid of histograms from data from within the `seaborn` library:
```
import pandas as pd
import matplotlib.pyplot as plt
import seaborn as sns, numpy as np
from pylab import *
penguins = sns.load_dataset('penguins')
sns.displot(penguins, x='b... | How to make custom row and column labels in displot | CC BY-SA 4.0 | null | 2023-03-03T19:10:09.077 | 2023-03-04T18:26:56.190 | 2023-03-04T18:26:56.190 | 7,758,804 | 15,781,591 | [
"python",
"matplotlib",
"seaborn",
"facet-grid",
"displot"
] |
75,631,006 | 2 | null | 75,609,400 | 0 | null | Something about a caused this error in Hibernate 6. We verified that if we replace the Composite Key with a simple 1-column PK, the error goes away. It looks like it's a good idea to replace Composite Keys with real single ID columns to fix this issue in this release of Hibernate.
| null | CC BY-SA 4.0 | null | 2023-03-03T19:11:19.317 | 2023-03-03T19:11:19.317 | null | null | 1,005,607 | null |
75,631,007 | 2 | null | 30,532,072 | 0 | null | For later versions of ExtJS (not sure, I think 6.x or 7.x) you can run the command below to disable the web server:
```
$ sencha app watch -w=false
```
or
```
$ sencha app watch --web-server=false
```
| null | CC BY-SA 4.0 | null | 2023-03-03T19:11:24.987 | 2023-03-03T19:13:13.463 | 2023-03-03T19:13:13.463 | 4,065,407 | 4,065,407 | null |
75,631,005 | 2 | null | 75,630,479 | 4 | null | I believe you have an NSArray like this (there's no important difference here between NSArray and NSMutableArray for this question):
```
NSArray *array = @[
@"This is a string",
[NSURL URLWithString:@"https://stackoverflow.com"],
];
```
Each element may be a different type. So when fetching elements, the only ... | null | CC BY-SA 4.0 | null | 2023-03-03T19:11:12.397 | 2023-03-03T19:11:12.397 | null | null | 97,337 | null |
75,630,989 | 1 | null | null | 0 | 70 | I'm trying to categorize a certain entity, let's say, a User, with the most frequent value associated in a table to this entity, let's say, an Emotion.
Thus,a User will be categorized as "Sad" when he logs mostly the value "Sad", or "Happy" when he logs mostly the value "Happy".
An example of the origin table:
| user_... | How to select most frequent value after group by | CC BY-SA 4.0 | null | 2023-03-03T19:08:48.897 | 2023-03-04T11:59:05.743 | 2023-03-04T11:59:05.743 | 8,220,111 | 8,220,111 | [
"mysql",
"sql"
] |
75,631,008 | 1 | null | null | 0 | 8 | ```
do { //Get all the pages of comments in case the doc has more than 100
callArguments['pageToken'] = pageToken;
//This is where the magic happens!
docComments = Drive.Comments.list(fileId,callArguments);
//I've created a "getCommentsInfo" to organize the relevant info in an array
info = info.conc... | I'm getting the error Exception: The parameters (number[]) don't match the method signature for SpreadsheetApp.Range.setValues, does anyone know why? | CC BY-SA 4.0 | null | 2023-03-03T19:11:25.053 | 2023-03-03T19:19:02.547 | null | null | 17,361,711 | [
"google-apps-script",
"google-drive-api"
] |
75,631,011 | 1 | 75,631,079 | null | 0 | 25 | Why cannot I use setState in any of my buttons in flutter?
This is my code of the button:
```
TextButton(
style: TextButton.styleFrom(
fixedSize: Size(
MediaQuery.of(context).size.width / 2, 100),
... | Flutter - Unable to use setState() in TextButton | CC BY-SA 4.0 | null | 2023-03-03T19:11:34.297 | 2023-03-03T20:28:11.923 | null | null | 21,203,960 | [
"android",
"ios",
"flutter",
"dart"
] |
75,630,991 | 1 | null | null | 0 | 31 | The Java JDK used to have `src.zip` included in some distributions.
I checked my JDK 11 directory and it did not have the src.zip file.
I can't recall where I downloaded it from, or if I used `yum install jdk11` or something similar to install it.
```
java -version
openjdk version "11.0.16" 2022-07-19 LTS
OpenJDK Runt... | Where is Java Developer Kit (JDK11) source code for openjdk 11.0.16 (when there is no src.zip file)? | CC BY-SA 4.0 | null | 2023-03-03T19:08:52.013 | 2023-03-03T19:17:40.463 | 2023-03-03T19:17:40.463 | 3,281,336 | 3,281,336 | [
"java"
] |
75,631,017 | 2 | null | 51,227,687 | 0 | null | I had the same error my fix was to move this:
```
from my_app.models import ModelInApp
```
after the
```
django.setup()
```
in the main function
example:
```
if __name__ == '__main__':
django.setup()
# import AFTER setup
from MyApp.models import ModelInApp
from django.contrib.auth.models import User
`... | null | CC BY-SA 4.0 | null | 2023-03-03T19:11:59.117 | 2023-03-03T19:11:59.117 | null | null | 12,241,001 | null |
75,631,010 | 1 | null | null | 0 | 17 | I know that my question is elementary in php, but I can't find any resource to solve it.
For sake of simplicity, I brief my problem with a simple code.
I want to separate php and html files. So I creates a file named: view.php
```
<?php
global $var;
?>
<html>
<body>
<p>
Variable value is:
<?php $var ?>
</p>
</bo... | Passing value to view template in php | CC BY-SA 4.0 | null | 2023-03-03T19:11:32.420 | 2023-03-03T19:12:48.030 | 2023-03-03T19:12:48.030 | 4,847,380 | 4,847,380 | [
"php",
"model-view-controller"
] |
75,631,016 | 1 | null | null | 1 | 20 | I have set the default console host application to Windows Terminal using developers section in window settings. However, sometimes I want to run my console applications (currently using c# and dotnet 7) in other hosts, such as cmd.exe or PowerShell. How can I choose where my console applications are hosted on Windows ... | How can I change the default console host application for Windows? | CC BY-SA 4.0 | null | 2023-03-03T19:11:58.813 | 2023-03-03T21:07:39.917 | 2023-03-03T19:12:41.307 | 9,130,213 | 9,130,213 | [
"powershell",
"cmd",
"console-application",
"windows-terminal"
] |
75,631,020 | 2 | null | 75,574,144 | 0 | null | This will be implemented in the future by Kubeflow team. It's a planned feature, as seen here:
[https://github.com/kubeflow/pipelines/issues/8899#issuecomment-1452764426](https://github.com/kubeflow/pipelines/issues/8899#issuecomment-1452764426)
| null | CC BY-SA 4.0 | null | 2023-03-03T19:12:46.147 | 2023-03-03T19:12:46.147 | null | null | 6,901,690 | null |
75,631,009 | 2 | null | 75,570,288 | 2 | null | Assuming the maximum possible value is reasonably close to your average value, I suspect the answer be:
1. Precalculate all possible powers_of_10 in a static const array. (#ops ~0)
2. In your number, calculate the number of leading binary zeroes (Using clz as well) (#ops < ~10)
3. Use (max-bits - number_of_leading_ze... | null | CC BY-SA 4.0 | null | 2023-03-03T19:11:25.550 | 2023-03-03T20:03:46.550 | 2023-03-03T20:03:46.550 | 845,092 | 845,092 | null |
75,631,019 | 1 | null | null | -3 | 19 | [enter image description here]
([https://i.stack.imgur.com/MTPse.png](https://i.stack.imgur.com/MTPse.png))
Keeps me on loop even if i try to enter an integer to go to another step
| keeps me in looping in number 1 even if i gave it a number not string | CC BY-SA 4.0 | null | 2023-03-03T19:12:42.310 | 2023-03-03T19:12:42.310 | null | null | 20,703,981 | [
"python",
"loops"
] |
75,631,023 | 2 | null | 75,630,813 | 0 | null | I believe that some else with biggest knowledge about regex is able to write better pattern, but my try is:
```
\d+x+\s(\d+|\d+\.\d+)\%$
```
[Regex fiddle](https://regex101.com/r/xxiFJz/1)
| null | CC BY-SA 4.0 | null | 2023-03-03T19:12:54.150 | 2023-03-03T19:12:54.150 | null | null | 2,142,028 | null |
75,631,014 | 1 | null | null | 0 | 7 | I am practicing CI/CD and started to configure karma.conf. However, I found that Angular projects no longer have karma.conf, and the official recommendation "ng generate config karma" doesn't work and gives me the following error: "Error: Unknown argument: karma". How can I resolve this issue?
Thank any help!
Here is m... | Unable to generate karma.conf in Angular | CC BY-SA 4.0 | null | 2023-03-03T19:11:45.230 | 2023-03-03T19:57:57.553 | 2023-03-03T19:57:57.553 | 4,686,181 | 4,686,181 | [
"angular",
"unit-testing",
"karma-runner"
] |
75,631,018 | 2 | null | 75,621,807 | 0 | null | It's not completely clear what you are trying to achieve, but I assume that you want to give users rights to describe EC2 Instances. So User A can only describe EC2-Instance-A and User B can only describe EC2-Instance-B.
I also assume that you want to use AWS API directly, as you mention "describe".
The solution looks ... | null | CC BY-SA 4.0 | null | 2023-03-03T19:12:22.473 | 2023-03-03T19:16:32.127 | 2023-03-03T19:16:32.127 | 127,400 | 127,400 | null |
75,631,022 | 1 | 75,631,464 | null | 1 | 45 | I have a .csv file with many rows where the date is formatted as you see in column A. I manually copied and then changed the date to how I want it to be in column B where it's also recognised by Excel as a date (and not text).
My question is does anyone know how I can get Excel to format the date like this automaticall... | Excel: Formatting text into a recognisable date | CC BY-SA 4.0 | null | 2023-03-03T19:12:49.963 | 2023-03-04T16:59:13.563 | null | null | 3,974,829 | [
"excel",
"excel-formula",
"excel-dates"
] |
75,631,012 | 1 | null | null | 0 | 20 | EPIC FHIR serviceRequest API requires category be included in the call. They describe setting category:
"Set category to the following token construction: system | code, where:
```
system: “http://snomed.info/sct”
code: “307835004”
```
The code SCTID: 307835004 represents the ‘Referral by service’, in order to find CR... | EPIC FHIR ServiceRequest SNOMED Token Construction | CC BY-SA 4.0 | null | 2023-03-03T19:11:35.323 | 2023-03-04T08:48:27.193 | 2023-03-04T08:48:27.193 | 5,779,732 | 15,639,900 | [
"hl7-fhir",
"epic"
] |
75,631,028 | 2 | null | 75,630,994 | 0 | null | You will need to find the URL of an image that can be accessed on the internet and add it to your image element like this:
```
<img src="https://images.unsplash.com/photo-1575936123452-b67c3203c357?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1170&q=80" />
```
I tried this on... | null | CC BY-SA 4.0 | null | 2023-03-03T19:13:21.960 | 2023-03-03T19:26:51.067 | 2023-03-03T19:26:51.067 | 9,430,133 | 9,430,133 | null |
75,631,027 | 1 | 75,635,772 | null | 0 | 25 | I already searched through the Internet and read a lot of manuals but I cannot get a grip on the topic.
I want to create a VPN connection from my customer`s checkpoint to my server that is located within my AWS VPC. The connection should be between, I guess it is an Internet gateway on AWS site and my customer`s checkp... | AWS VPN connection from customer`s checkpoint to AWS | CC BY-SA 4.0 | null | 2023-03-03T19:13:15.440 | 2023-03-04T12:55:51.717 | 2023-03-03T19:28:45.730 | 2,806,315 | 2,806,315 | [
"amazon-web-services",
"aws-site-to-site"
] |
75,631,030 | 2 | null | 26,015,194 | 0 | null | There are so many answers and each of them addresses a different cause of the error message. Just want to add my solution when it happened to me.
I was using opencv2 framework, once I checked on "Copy only when installing" the error when away, and I was able to install and run my app. The particular setting is in "Buil... | null | CC BY-SA 4.0 | null | 2023-03-03T19:13:40.723 | 2023-03-03T19:13:40.723 | null | null | 2,841,538 | null |
75,631,021 | 2 | null | 75,630,685 | 0 | null | I doubt there is a way achieving what the OP is wishing for with a positive lookbehind but a [negative lookbehind](https://javascript.info/regexp-lookahead-lookbehind#lookbehind) like ...
```
/(?<!\/\*.*?):this\s*\{[^}]+\}/g
```
... which gets [explained at its playground page](https://regex101.com/r/0p8Uw2/1) does th... | null | CC BY-SA 4.0 | null | 2023-03-03T19:12:48.443 | 2023-03-03T19:20:01.607 | 2023-03-03T19:20:01.607 | 2,627,243 | 2,627,243 | null |
75,631,033 | 1 | null | null | -1 | 9 | 
Hello I have problem about this web:socialclub.rockstargames.com any other websites works normaly but this not.
It says something about proxy servers and I do not understand them well. I have been searching for answears for about 2 hours I tried almost everything that I found b... | This web is not avaible | CC BY-SA 4.0 | null | 2023-03-03T19:14:01.193 | 2023-03-04T14:25:53.123 | 2023-03-04T14:25:53.123 | 2,395,282 | 20,953,512 | [
"web",
"proxy"
] |
75,631,034 | 2 | null | 37,377,731 | 0 | null | The easiest method is to extend the type you want and add your own properties
in tsconfig.ts specify the root of local types
```
{
// compilerOptions:
"typeRoots": ["node_modules/@types", "**/@types"],
}
```
now create any .d.ts file inside @types, you can put @types in the root or anyware.
@types/express.d.ts
```... | null | CC BY-SA 4.0 | null | 2023-03-03T19:14:16.670 | 2023-03-03T19:14:16.670 | null | null | 12,577,650 | null |
75,631,031 | 2 | null | 75,624,124 | 0 | null | `List<Card>` is not a suitable type for a family identifier for RiverPod. As the docs say in [https://riverpod.dev/docs/concepts/modifiers/family#passing-multiple-parameters-to-a-family](https://riverpod.dev/docs/concepts/modifiers/family#passing-multiple-parameters-to-a-family)
> Families have no built-in support for... | null | CC BY-SA 4.0 | null | 2023-03-03T19:13:42.643 | 2023-03-03T19:15:59.453 | 2023-03-03T19:15:59.453 | 22,483 | 22,483 | null |
75,631,036 | 1 | null | null | 0 | 16 | When I try to run any AWS CLI command in our server- even with just a simple 'aws s3 ls' command - I keep getting 'segmentation fault'.
I know that our server was updated two weeks ago, but last week I was stil able to execute AWS CLI commands with no issue.
Would this be something that the server admin can help resolv... | AWS CLI Segmentation Fault | CC BY-SA 4.0 | null | 2023-03-03T19:14:33.480 | 2023-03-04T09:37:29.727 | 2023-03-03T23:16:52.883 | 174,777 | 5,109,125 | [
"amazon-web-services",
"aws-cli"
] |
75,631,026 | 1 | null | null | 0 | 24 | I'm having troubles rendering data from a fetch request. I have a `getUser` function that calls `useState(setUsers)` and I would like to map that state to render a list of the data I've fetched.
Obviously it doesn't work and I don't if it's because when I call
```
{
users.map((user,index) => {
<option key=... | Immediately render data from fetch with React | CC BY-SA 4.0 | null | 2023-03-03T19:13:10.110 | 2023-03-04T12:29:16.887 | 2023-03-03T19:48:21.907 | 13,302 | 20,658,856 | [
"reactjs",
"react-hooks"
] |
75,631,038 | 1 | null | null | 0 | 9 | i am triying to use the unity job system with marching cubes.
here is my job:
```
private struct UpdateChunksJob : IJobParallelFor
{
public NativeQueue<NativeChunk> queue;
public void Execute(int i)
{
queue.Dequeue().Chunk.UpdateChunk();
}
}
```
and the queu... | unity job system can not use classes | CC BY-SA 4.0 | null | 2023-03-03T19:14:57.407 | 2023-03-03T19:14:57.407 | null | null | 19,979,060 | [
"multithreading",
"unity3d",
"jobs",
"voxel"
] |