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,638,114 | 2 | null | 43,707,076 | 0 | null | Imagine that you want to maintain the `overflow: hidden` for your ancestor and have all the goodies from the `position: sticky`, then use [contain](https://developer.mozilla.org/en-US/docs/Web/CSS/contain) in replacement of `overflow`:
```
contain: paint;
```
And `position: sticky` should still work as expected
| null | CC BY-SA 4.0 | null | 2023-03-04T19:18:03.313 | 2023-03-04T19:18:03.313 | null | null | 6,622,233 | null |
75,638,122 | 2 | null | 75,637,939 | 0 | null | I am not sure how to fetch the data of details object in redux
But you should need to invoke the function to refetch the data of detail object
| null | CC BY-SA 4.0 | null | 2023-03-04T19:20:09.683 | 2023-03-04T19:20:09.683 | null | null | 21,333,120 | null |
75,638,113 | 1 | null | null | 1 | 56 | I have this data frame
```
test <- data.frame( a = c(1, "two", "na", 4),
b = c(1, 2, 3, 4),
c = c(1, "nA", 3, 4),
d = c("na", NA, TRUE, "5*"),
e = c(3, 4, 0.02, 1.5))
```
I created a list of functions using
```
add.filters <- func... | Apply a list of functions to a data frame | CC BY-SA 4.0 | null | 2023-03-04T19:17:43.200 | 2023-03-05T05:00:57.997 | 2023-03-05T05:00:57.997 | 5,221,626 | 21,020,516 | [
"r",
"purrr",
"rlang"
] |
75,638,125 | 1 | null | null | 0 | 17 | In Sympy, one can declare multiple symbols in one line using:
```
import sympy as sym
x,y,t = sym.symbols('x y t')
```
Is there a way to declare multiple functions in one line? The only way I see to declare them is line by line, using, for example:
```
x = sym.Function('x')(t)
y = sym.Function('y')(t)
```
| Is there an easy way to declare multiple sympy functions? | CC BY-SA 4.0 | null | 2023-03-04T19:21:34.980 | 2023-03-04T21:17:26.490 | null | null | 17,442,376 | [
"sympy"
] |
75,638,124 | 1 | null | null | -2 | 47 | I have the problem:
Write a function
def sum_without_smallest(values)
that computes the sum of a list of values, except for the smallest one in a single loop without using the sum() function nor the min() function.
I am struggling to understand how to do this. I've tried putting multiple searches on here for different ... | Sum w/o Smallest Values w/o using sum() or min() | CC BY-SA 4.0 | null | 2023-03-04T19:21:26.707 | 2023-03-04T20:00:00.597 | null | null | 21,323,277 | [
"python",
"computer-science"
] |
75,638,123 | 1 | null | null | -1 | 6 | We use Google calendar at work. I have four team members. On the web, I can choose whose calendar I want to see for scheduling purposes, then click off when I no longer need the info. The challenge is that my MAC desktop, phone & iPad send me notifications of team meetings and I can't seem to find a way to unsubscribe ... | unsubscribe to calendar updates | CC BY-SA 4.0 | null | 2023-03-04T19:20:43.167 | 2023-03-04T19:20:43.167 | null | null | 21,333,128 | [
"macos",
"google-calendar-api"
] |
75,638,121 | 1 | null | null | 0 | 11 | I am trying to translate a function that interleaves the data of a Wav file from Python to JavaScript using the Wavefile library in JavaScript. My translation of the function interleaves the files but does not output the correct Wav file.
Here is my code:
```
function load_to_buffer_arrays(list_of_files) {
const outp... | Why Won't My Function Interleave Multiple Wave Files Correctly? | CC BY-SA 4.0 | null | 2023-03-04T19:19:04.077 | 2023-03-04T19:47:33.020 | null | null | 18,263,230 | [
"numpy",
"wave",
"interleave"
] |
75,638,129 | 1 | null | null | 1 | 21 | My eslint is complaining about `react-hooks/exhaustive-deps`. I am not doing anything wrong here right, the function should only run if the `pathname` changes:
```
const pathname = usePathname();
useEffect(() => {
setNavigation(
navigation.map((item) => ({
...item,
current:
item.h... | Getting "React Hook useEffect has a missing dependency" error for a state that doesn't need to be in the dependency array | CC BY-SA 4.0 | null | 2023-03-04T19:22:07.747 | 2023-03-04T20:51:51.130 | 2023-03-04T20:34:19.933 | 15,288,641 | 9,735,599 | [
"javascript",
"reactjs",
"next.js",
"eslint"
] |
75,638,128 | 1 | null | null | 0 | 21 | I changed my github account. I am now facing issues with respect to push.
I am able to clone a repo though. (I am a beginner to git)
When I change a file and do:
`git push origin master`, I get the following error:
`ERROR: Permission to AeroCouncillor/demo-repo2.git denied to atharvaaalok.`
atharvaaalok was my previous... | Git permission to Username2/demo-repo2 denied to Username1 | CC BY-SA 4.0 | null | 2023-03-04T19:22:02.530 | 2023-03-05T05:06:59.193 | 2023-03-04T19:25:20.423 | 12,842,649 | 12,842,649 | [
"git",
"github"
] |
75,638,120 | 2 | null | 75,637,882 | 1 | null | Try this:
```
class EditForm(ModelForm):
class Meta:
model = Cast
fields = [
'startdate',
'enddate'
]
def clean(self):
cleaned_data = super().clean()
start_date = cleaned_data.get('startdate')
end_date = cleaned_data.get('enddat... | null | CC BY-SA 4.0 | null | 2023-03-04T19:18:47.060 | 2023-03-04T20:49:02.847 | 2023-03-04T20:49:02.847 | 17,562,044 | 17,562,044 | null |
75,638,134 | 2 | null | 75,637,861 | -1 | null | Try using the [LISTAGG](https://docs.snowflake.com/en/sql-reference/functions/listagg) function
| null | CC BY-SA 4.0 | null | 2023-03-04T19:22:30.283 | 2023-03-04T19:22:30.283 | null | null | 13,658,399 | null |
75,638,116 | 2 | null | 75,637,373 | 1 | null | You need to track the current translation of your canvas, in addition to the new delta. Right now, what's happening is that everything you mousedown, you set pos.x=e.offsetX, pos.y=e.offsetY, mouse.x=e.offsetX, and mouse.y = e.offsetY. Then in your next tick() method, you do `ctx.translate(mouse.x - pos.x, mouse.y - ... | null | CC BY-SA 4.0 | null | 2023-03-04T19:18:20.023 | 2023-03-04T19:45:59.503 | 2023-03-04T19:45:59.503 | 9,659,759 | 9,659,759 | null |
75,638,130 | 1 | null | null | 0 | 3 | User can generate a report, "user_overview.txt", to output the following information:
- - - - - - - -
I am able struggling with the questions in bold.
I decided to create a list of users and then cross reference that with the lines in the task file, "task.txt".
Example of the file user.txt is as follows (username, pas... | Create user specific information from external files to generate report | CC BY-SA 4.0 | null | 2023-03-04T19:22:14.453 | 2023-03-04T19:22:14.453 | null | null | 21,333,040 | [
"cross-reference"
] |
75,638,133 | 1 | null | null | 0 | 11 | Basically, I was in charge of changing the domain of a WordPress site. While doing some testing, I ended up changing the domain in mydomain/wp-admin and now I'm getting the following error whenever I try to access the site:
[enter image description here](https://i.stack.imgur.com/Syx2X.png)
Also, I can't access the wp-... | Can't access my WordPress website after changing the domain name at domain/ WP-admin | CC BY-SA 4.0 | null | 2023-03-04T19:22:28.587 | 2023-03-04T20:18:14.217 | null | null | 21,332,958 | [
"wordpress",
"docker",
"ubuntu",
"amazon-ec2",
"domain-name"
] |
75,638,126 | 1 | 75,638,499 | null | 0 | 25 | I coded the following (I used data=lung)
```
library(ggsurvfit)
library(ggplot2)
p <- survfit2(Surv(time, status)~sex, data=lung)
ggsurvfit(p,
type = "survival"
)
add_censor_mark() %>%
add_confidence_interval() %>%
add_risktable()
```
I have two problems:
1. R says... | Survival analysis in ggplot in R | CC BY-SA 4.0 | null | 2023-03-04T19:21:47.203 | 2023-03-04T20:34:51.403 | null | null | 19,745,561 | [
"r",
"ggplot2",
"graph",
"survival-analysis",
"survival"
] |
75,638,139 | 1 | null | null | 0 | 9 | I have a OpenVZ vps in some provider and several docker-compose projects on it.
My VPS have a 8Tb per month traffic limit.
The problem is that the network traffic of docker containers is taken into the total vps traffic.
For example: mysql container have a 3Tb traffic per month and have a only local connection with bac... | How exclude docker containers network traffic from total vps bandwidth? | CC BY-SA 4.0 | null | 2023-03-04T19:23:19.840 | 2023-03-04T19:23:19.840 | null | null | 5,284,523 | [
"docker",
"openvz"
] |
75,638,141 | 2 | null | 75,638,035 | 0 | null | You can probably use rayon's [scope](https://docs.rs/rayon/latest/rayon/fn.scope.html):
> Those tasks may run asynchronously with respect to the closure; they may themselves spawn additional tasks into `s`.
Since rayon's spawn functions don't allow you to return values or join the tasks, the regular `rayon::spawn` woul... | null | CC BY-SA 4.0 | null | 2023-03-04T19:23:24.393 | 2023-03-04T19:23:24.393 | null | null | 6,274,355 | null |
75,638,135 | 2 | null | 75,603,536 | 0 | null | I had this same issue and fixed it with two solutions:
1. Downgrade your Mongoose. The latest versions stopped accepting callbacks. I personally downgraded to v6.10.0
```
npm uninstall mongoose
npm install mongoose@6.10.0
```
1. Change the callback function to a then/catch methods or use async/await. So for exampl... | null | CC BY-SA 4.0 | null | 2023-03-04T19:22:34.310 | 2023-03-04T19:22:34.310 | null | null | 21,194,453 | null |
75,638,131 | 1 | null | null | 0 | 8 | I have a dataset like this,
| Emp Code | Name | Competency | Practice |
| -------- | ---- | ---------- | -------- |
| 1 | Matt | Data | AI |
| 2 | Avery | Data | AI |
| 3 | Aryub | Data | Analytics |
| 4 | Jacob | Cloud | AWS |
| 5 | Zara | Data | Engineering |
| 6 | Ali | Cloud | DevOps |
| 7 | John | Cloud ... | How to change between pie-charts with the change in user selection in Power BI? | CC BY-SA 4.0 | null | 2023-03-04T19:22:17.303 | 2023-03-04T19:22:17.303 | null | null | 11,454,905 | [
"powerbi",
"dax"
] |
75,638,132 | 1 | null | null | 0 | 27 | I made a React component that works like Mac/Windows top menu bar. Everything works great, except for one thing - on touch screens, when a user selects an option from the menu, the click is being registered underneath, which causes a big problem.
I have prepared a [sandbox](https://codesandbox.io/s/nifty-brattain-bymwu... | React: How to avoid clicking under an element that just disappeared? | CC BY-SA 4.0 | null | 2023-03-04T19:22:18.617 | 2023-03-04T23:52:39.030 | 2023-03-04T23:52:39.030 | 4,403,732 | 4,403,732 | [
"javascript",
"reactjs",
"onclick",
"touch"
] |
75,638,138 | 1 | null | null | 0 | 5 | I am really new to coding and am currently trying to make a few beginner games. The one i'm working on now is a multiple choice game, so theres a lot of text. I wanted to add a streak element to it where if you get 3 consecutively right then you gain a life. I don't want to look at a tutorial because I find that restri... | Keeping track of streaks with If statements in a while loop | CC BY-SA 4.0 | null | 2023-03-04T19:23:15.990 | 2023-03-04T19:23:15.990 | null | null | 21,333,074 | [
"while-loop"
] |
75,638,142 | 2 | null | 75,637,932 | 1 | null | Positive lookahead assertions `(?=...)` and local options `(?i:...)` can be used:
```
^(?=.*[A-Z])(?i:foobar)$
```
Tests: [https://regex101.com/r/JdQlaQ/1](https://regex101.com/r/JdQlaQ/1)
| null | CC BY-SA 4.0 | null | 2023-03-04T19:23:30.097 | 2023-03-04T20:45:35.573 | 2023-03-04T20:45:35.573 | 4,035,845 | 77,567 | null |
75,638,127 | 1 | null | null | -2 | 29 | I have a fastapi app running in a docker container. I would think that all dependencies are installed during the build run. After a successful build, i SSH into the backend docker service to access the database in order to migrate and seed the development database with the following commands:
```
docker-compose exec ba... | After a successful docker build, why do i still get the error; ModuleNotFoundError: No module named 'sqlalchemy' | CC BY-SA 4.0 | null | 2023-03-04T19:21:52.170 | 2023-03-04T22:33:30.457 | 2023-03-04T22:33:30.457 | 8,201,621 | 8,201,621 | [
"python",
"docker"
] |
75,638,148 | 2 | null | 74,979,561 | 0 | null | Pin 19 should have been left floating.
| null | CC BY-SA 4.0 | null | 2023-03-04T19:24:25.110 | 2023-03-04T19:24:25.110 | null | null | 465,941 | null |
75,638,149 | 2 | null | 60,732,477 | 0 | null | Here is a function that can do this:
```
library(stringr)
matching_words_count <- Vectorize(function(column1,column2){
return(sum(str_split_1(column1," ") %in% str_split_1(column2," ")))
})
# use
df$new_column <- matching_words_count(df$a,df$b)
```
| null | CC BY-SA 4.0 | null | 2023-03-04T19:24:36.513 | 2023-03-04T19:24:36.513 | null | null | 1,141,536 | null |
75,638,140 | 2 | null | 75,574,604 | 0 | null | As others have said, the issue is fundamentally that you're sorting copies of the sublists without reassigning them. This isn't very efficient, but to make it work the way you have it, you also need to make sure to change the return statement at the beginning, or alternatively use one return statement and put the rest ... | null | CC BY-SA 4.0 | null | 2023-03-04T19:23:23.573 | 2023-03-04T19:23:23.573 | null | null | 1,234,478 | null |
75,638,143 | 1 | null | null | 0 | 5 | i have written a nestjs server with swagger configuration. in one of my controllers, i want to get a queryParam with nested object, so the code looks like that:
in my controller:
```
@Query('setting') @Optional() swaggerSetting?: SettingApi,e
```
and in the swagger classes i have written:
how can i do to achieve that?... | convert all boolean fields in nestjs swagger query nested object | CC BY-SA 4.0 | null | 2023-03-04T19:23:33.163 | 2023-03-04T19:23:33.163 | null | null | 16,590,861 | [
"boolean",
"swagger",
"nestjs"
] |
75,638,151 | 1 | 75,638,231 | null | 0 | 35 | I have a very simple ifelse() statement. With the mtcars dataset, I want to define a parameter for the vs column. If the user says "all", then it should give all unique values (0 and 1, here). However, if they specify an actual value, it should give that value. Though the false condition works, the TRUE condition does ... | Why does ifelse in R not give the TRUE output? | CC BY-SA 4.0 | null | 2023-03-04T19:24:38.947 | 2023-03-04T21:34:29.790 | 2023-03-04T19:36:38.797 | 9,877,445 | 9,877,445 | [
"r",
"if-statement"
] |
75,638,146 | 2 | null | 75,533,173 | 0 | null | Are you using SharePoint GUI to open this Excel file? That seems like a bad idea. Please familiarize yourself with this page: [https://support.microsoft.com/en-us/topic/considerations-for-server-side-automation-of-office-48bcfe93-8a89-47f1-0bce-017433ad79e2](https://support.microsoft.com/en-us/topic/considerations-for-... | null | CC BY-SA 4.0 | null | 2023-03-04T19:23:42.753 | 2023-03-04T19:23:42.753 | null | null | 20,212,685 | null |
75,638,144 | 1 | null | null | 0 | 7 | I am trying to execute a SOAP Request inside NodeJS using the easy-soap-request npm package. I am getting a 400 error "Bad request" and can not figure out why. I am utilizing documentation from [https://api.sandbox.tipalti.com/v13/PayerFunctions.asmx?op=TestPayments](https://api.sandbox.tipalti.com/v13/PayerFunctions.a... | SOAP Request failing with 400 ERROR within NodeJS | CC BY-SA 4.0 | null | 2023-03-04T19:23:42.257 | 2023-03-04T19:23:42.257 | null | null | 12,234,833 | [
"node.js",
"xml",
"soap",
"protocols"
] |
75,638,136 | 2 | null | 75,637,403 | 0 | null | > `dwarfs.sort(key=lambda x:-x.physics)``self.physics``color`
Change the `key` argument in `dwarfs.sort(key=lambda x:-x.physics)` to
- `dwarfs.sort(key=lambda x:(-x.physics, -colors[x.hat_color]))``colors``colors`- `dwarfs.sort(key=lambda x:(-x.physics, x.hat_color))`- `dwarfs.sort(key=lambda x:(-x.physics, x.hat_color... | null | CC BY-SA 4.0 | null | 2023-03-04T19:22:42.827 | 2023-03-04T21:19:36.383 | 2023-03-04T21:19:36.383 | 6,146,136 | 6,146,136 | null |
75,638,153 | 2 | null | 75,638,124 | 1 | null | Iterate over the list once to get the sum of all elements, while keeping track of the smallest element so far. After the loop, the answer is the smallest element subtracted from the total.
```
def sum_without_smallest(values):
m = values[0]
tot = 0
for v in values:
tot += v
if v < m: m = v
... | null | CC BY-SA 4.0 | null | 2023-03-04T19:25:13.540 | 2023-03-04T19:25:13.540 | null | null | 9,513,184 | null |
75,638,150 | 1 | null | null | 1 | 15 | Having issues w/release pipeline (Azure CLI) that has me scratching my head...
Scenario:
- - - - -
```
az account
az container create --resource-group myRG --file myContainerInstance.yml
```
The YML file specifies the Azure Container Instance - which FYI is a Docker image, previously published TO AZ cloud Container R... | Azure DevOps - release pipeline, task=Azure CLI invalid role-perms or scope mis-match | CC BY-SA 4.0 | null | 2023-03-04T19:24:37.937 | 2023-03-04T20:24:48.583 | 2023-03-04T20:24:48.583 | 556,705 | 556,705 | [
"azure",
"command-line-interface",
"devops",
"pipeline",
"release"
] |
75,638,154 | 2 | null | 75,638,111 | 1 | null | You are searching for either reactive model or observer pattern.
Observer pattern (from OO-age) requires that the object has some kind of `observe()` method which takes a function (or, in full OO, implementation of a virtual function of an abstract base class), which are collected into some collection (per object!) and... | null | CC BY-SA 4.0 | null | 2023-03-04T19:25:24.760 | 2023-03-04T19:25:24.760 | null | null | 6,292,621 | null |
75,638,157 | 2 | null | 75,638,124 | 1 | null | Iterate over the values, keeping track of the smallest value and the running total (start with the first value as a special case). At the end, return the total minus the smallest element.
```
>>> def sum_without_smallest(values):
... total = smallest = values[0]
... for v in values[1:]:
... total += v
... | null | CC BY-SA 4.0 | null | 2023-03-04T19:26:13.510 | 2023-03-04T19:26:13.510 | null | null | 3,799,759 | null |
75,638,160 | 2 | null | 17,237,812 | 0 | null | When the Bootstrap tables is rendered first, you should use the [event](https://datatables.net/reference/event/draw), and then execute columns.adjust():
```
table.on( 'draw', function () {
table.columns.adjust();
} );
```
The draw event is executed when the jquery datatable is already rendered.
`columns.adjust()`... | null | CC BY-SA 4.0 | null | 2023-03-04T19:26:20.260 | 2023-03-04T19:26:20.260 | null | null | 9,292,207 | null |
75,638,156 | 2 | null | 75,637,972 | 0 | null | You can change 2 way HTML5 `input placeholder` color
> For example, below our HTML5 code:
```
<input type="text" class="withOut" placeholder="Without placeholder color">
<input type="text" class="withColor" placeholder="With placeholder color">
```
1. Step one with only CSS
As you can see I have added ID to change ... | null | CC BY-SA 4.0 | null | 2023-03-04T19:26:07.500 | 2023-03-04T19:26:07.500 | null | null | 15,756,459 | null |
75,638,163 | 1 | null | null | 0 | 7 | I get this error:
[!] The Podfile does not contain any dependencies.
it's just after launching the 'pod install' command in a 'flutter' project
what to do???
i am using vscode on ubuntu
I don't use an iOS simulator but an android phone (samsung)
I tried deleting the Podfile and Podfile.lock files, and reinstalling them... | how to manually add dependencies to my podfile to flutter because I get a message after running the 'pod install' | CC BY-SA 4.0 | null | 2023-03-04T19:26:40.927 | 2023-03-04T19:26:40.927 | null | null | 20,816,641 | [
"podfile"
] |
75,638,159 | 2 | null | 64,032,219 | 0 | null | A fix is being worked on. Details are tracked here:
[https://github.com/Azure/azure-functions-core-tools/issues/3294](https://github.com/Azure/azure-functions-core-tools/issues/3294)
Setting JAVA_HOME in localsettings.host.json is recommended over altering worker.config.json (which is still technically valid).
The tri... | null | CC BY-SA 4.0 | null | 2023-03-04T19:26:15.740 | 2023-03-04T19:26:15.740 | null | null | 1,893,093 | null |
75,638,162 | 1 | 75,638,204 | null | 0 | 15 | First I hope you're fine all of you.
Here what I have :
[enter image description here](https://i.stack.imgur.com/dOsyI.png)
And here what I want to have :
[enter image description here](https://i.stack.imgur.com/dTsOd.png)
The real list is dynamic and so long (more than 1500 usally) so I tried to do it cell by cell but... | Repeat matrice title in other column in google sheet | CC BY-SA 4.0 | null | 2023-03-04T19:26:34.367 | 2023-03-04T20:54:13.540 | null | null | 21,332,807 | [
"google-sheets"
] |
75,638,164 | 2 | null | 75,637,688 | 0 | null | Your yaxis doesn't make sense, as a log scale has `0` at minus infinity. You can set a tick position at `0.01` via `ax.set_ylim(ymin=0.01)`. This would have the same distance to `0.1` as the distance between `0.1` and `1`.
```
import matplotlib.pyplot as plt
import numpy as np
fig, ax = plt.subplots()
ax.set_yscale('... | null | CC BY-SA 4.0 | null | 2023-03-04T19:26:59.143 | 2023-03-04T19:26:59.143 | null | null | 12,046,409 | null |
75,638,152 | 1 | null | null | 1 | 76 | So I am trying to write a simple program that call a simple method from machine code in C++, and the target platform is Windows x86-64. Here is the reproducible code:
```
#include <windows.h>
#include <iostream>
#include <cstring>
void test(long long int val) {
std::cout << "Calling test function:" << val << std::... | Calling a simple method in C++ from machine code result in segmentation fault | CC BY-SA 4.0 | null | 2023-03-04T19:24:45.020 | 2023-03-05T01:44:57.880 | 2023-03-04T19:37:20.667 | 5,381,023 | 15,117,694 | [
"c++",
"assembly",
"machine-code"
] |
75,638,165 | 2 | null | 75,638,106 | 1 | null | You can perform [conditional type inference](https://www.typescriptlang.org/docs/handbook/2/conditional-types.html#inferring-within-conditional-types) on a similarly-shaped [user-defined type guard function](https://www.typescriptlang.org/docs/handbook/2/narrowing.html#using-type-predicates) type:
```
type GuardType<T>... | null | CC BY-SA 4.0 | null | 2023-03-04T19:27:08.410 | 2023-03-04T19:27:08.410 | null | null | 2,887,218 | null |
75,638,166 | 2 | null | 75,633,693 | 0 | null | Here is how you can do that with "terra" (the replacement of "raster").
First create some example data (when asking questions, do not include files, except for files that ship with R for use in the examples).
```
library(terra)
set.seed(1)
r <- rast(nrow=10, ncol=10, nlyr=8, vals=runif(800))
```
Get the global mean an... | null | CC BY-SA 4.0 | null | 2023-03-04T19:27:21.227 | 2023-03-04T19:27:21.227 | null | null | 635,245 | null |
75,638,147 | 1 | null | null | -4 | 24 | Well, I went from the documentation to Chat GPT to Youtube videos but none of them worked for me despite having several devices with Bluetooth enabled on each one ...
My project is to scan all the Bluetooth devices so that I get the name as well as the MAC address of each, but my program simply does not output anything... | Why is my Bluetooth devices scanning code not working even though everything is working properly? | CC BY-SA 4.0 | null | 2023-03-04T19:23:43.670 | 2023-03-04T19:48:34.480 | 2023-03-04T19:48:34.480 | 19,097,532 | 19,097,532 | [
"java",
"bluetooth"
] |
75,638,172 | 2 | null | 75,637,033 | 0 | null | Problem solved using both `tsc-alias` and `tsconfig-paths` packages.
`"build": "npx tsc && tsc-alias -p tsconfig.json"`
`"dev": "nodemon -r tsconfig-paths/register index.ts"`
more info: [Typescript paths not working in an Express project](https://stackoverflow.com/questions/58187115/typescript-paths-not-working-in-an-e... | null | CC BY-SA 4.0 | null | 2023-03-04T19:29:35.653 | 2023-03-04T19:29:35.653 | null | null | 9,079,735 | null |
75,638,158 | 1 | null | null | -1 | 12 | how to read data form json dict inside list in flask with tinyDB and datatables.net ?
i think tinyDB dont work very well with this json format
Do you know simple alternative or give help to how to build query tool for this json format in python.
```
[
{
"actionnaire": [
{
"Nom": "... | how to read data form json dict inside list in flask with tinyDB and datatables.net | CC BY-SA 4.0 | null | 2023-03-04T19:26:14.970 | 2023-03-04T19:26:14.970 | null | null | 5,399,506 | [
"python",
"tinydb"
] |
75,638,167 | 1 | null | null | 0 | 11 | Why is Sage Maker Auto ML marks my Categorical features in dataset with prediction Power as Zero.
During Auto ML setup, I marked the features: AgeGroup,MaritalStatus,Day,Gender,City as categorical and Auto ML also detected the number of unique entries correctly as shown .
[](https://i.stack.imgur.com/atoEH.jpg)
Then w... | Why is Sage Maker Auto ML marks my Categorical features in dataset with prediction Power as Zero? | CC BY-SA 4.0 | null | 2023-03-04T19:27:52.220 | 2023-03-04T21:14:02.960 | 2023-03-04T21:14:02.960 | 1,407,560 | 1,407,560 | [
"machine-learning",
"amazon-sagemaker",
"one-hot-encoding",
"automl"
] |
75,638,174 | 1 | null | null | 0 | 6 | In Power BI there is a connection called Dynamics 365 (online) which allows me to access data entities in d365 Finance and operation.
Is it possible to access or use the same connection in Power Automate?
| Dynamics 365 (online) in Power Automate | CC BY-SA 4.0 | null | 2023-03-04T19:29:55.223 | 2023-03-04T19:29:55.223 | null | null | 8,596,107 | [
"microsoft-dynamics",
"power-automate"
] |
75,638,170 | 2 | null | 47,953,440 | 0 | null | Using Ubuntu 22.04, getting TLS 1.0/1.1 to work is a massive pain, as it appears that Ubuntu's openssl 3.0 build doesn't include TLS 1.0/1.1 support at all.
I was able to get it to work by:
1. Building openssl 1.1.1 branch from source
2. Building nginx from source after uninstalling libssl-dev so it finds the local bu... | null | CC BY-SA 4.0 | null | 2023-03-04T19:28:28.827 | 2023-03-04T19:28:28.827 | null | null | 2,112,909 | null |
75,638,168 | 1 | null | null | 0 | 7 | I was trying to run a sensitivity analysis using the `nlrx` r package. All the system requirements seem to be satisfied:
```
$ java -version
java version "16.0.1" 2021-04-20
Java(TM) SE Runtime Environment (build 16.0.1+9-24)
Java HotSpot(TM) 64-Bit Server VM (build 16.0.1+9-24, mixed mode, sharing)
$ javac -version
j... | nlrx/netlogo can't find the gis extension | CC BY-SA 4.0 | null | 2023-03-04T19:28:00.313 | 2023-03-04T19:28:00.313 | null | null | 16,648,811 | [
"r",
"netlogo"
] |
75,638,169 | 1 | null | null | -5 | 30 | I was trying to solve a hackerrank question link here: [https://www.hackerrank.com/challenges/abstract-classes-polymorphism/problem?isFullScreen=true](https://www.hackerrank.com/challenges/abstract-classes-polymorphism/problem?isFullScreen=true) . Details in the link. Not explaining it here as it might make question a ... | Designing LRU cache | CC BY-SA 4.0 | null | 2023-03-04T19:28:15.473 | 2023-03-04T19:28:15.473 | null | null | 1,103,956 | [
"c++",
"algorithm"
] |
75,638,181 | 2 | null | 69,512,414 | 0 | null | Assuming someone with a Wordpress Contributor role is the bad actor here, Monzur Alam is right - you have to sanitize the attributes.
```
function wp_test_shortcode($atts){
$atts = shortcode_atts(array(
'id' => 'TESTTEST',
'thumb' => ''
),$atts);
// Sanitize Inputs
$id = sanitize_text_field($atts['id']);... | null | CC BY-SA 4.0 | null | 2023-03-04T19:31:09.500 | 2023-03-04T19:31:09.500 | null | null | 2,933,083 | null |
75,638,171 | 1 | null | null | 0 | 13 | I am using Ant Design to create a button, and when I click on it or press CMD + K a Modal opens. Here is my current code in Typescript:
```
import { useState, useEffect } from 'react';
import { useNavigate } from 'react-router-dom';
import { SearchOutlined } from '@ant-design/icons';
import { Button, Modal, Input, Auto... | Creating a modal with Ant Design that updates a list as content and always has an active Input form | CC BY-SA 4.0 | null | 2023-03-04T19:29:12.930 | 2023-03-04T22:15:24.647 | 2023-03-04T22:15:24.647 | 2,386,605 | 2,386,605 | [
"javascript",
"typescript",
"antd"
] |
75,638,178 | 2 | null | 75,636,412 | 1 | null | From the link HansPassant sent me, I developed a code and now it works perfect.
```
string instanceName = "F:";
string query = $"SELECT * FROM Win32_PerfFormattedData_PerfDisk_LogicalDisk WHERE Name = '{instanceName}'";
foreach (ManagementBaseObject result in new ManagementObjectSearcher(query).Get())
... | null | CC BY-SA 4.0 | null | 2023-03-04T19:30:33.130 | 2023-03-04T19:30:33.130 | null | null | 3,294,088 | null |
75,638,182 | 2 | null | 75,637,935 | 1 | null | I've changed your code slightly:
```
locals {
resources = ["s3", "sns"]
envs = ["prd", "dev"]
}
output "hashed" {
value = {
for resource in local.resources : resource => {
for env in local.envs :
env => join("-", compact(["var1", "var2", resource, env]))
}
}
}
```
Output:
```
hashed = {
... | null | CC BY-SA 4.0 | null | 2023-03-04T19:31:28.777 | 2023-03-04T19:31:28.777 | null | null | 10,369,131 | null |
75,638,179 | 1 | null | null | 0 | 10 | I have two services. Both are spring boot applications.
Service 1
Below is the groupId and Artifact Id of Service 1
```
<groupId>com.example</groupId>
<artifactId>service-1</artifactId>
<version>0.0.1-SNAPSHOT</version>
```
Inside this i have some classes
```
--com
|
example
|
util
|
UtilClass... | maven using dependency from local with same group id | CC BY-SA 4.0 | null | 2023-03-04T19:30:35.717 | 2023-03-04T19:30:35.717 | null | null | 13,680,284 | [
"spring",
"spring-boot",
"maven"
] |
75,638,180 | 1 | null | null | 0 | 19 | I want to transfer the in an Access form to previous and next records in same form, while I am still in the current record.
For example, a worker has several different records in a form specific to himself in a database. If his working hours changed in a record, the working hours stored in a field must be transferre... | Update a field in other records based on the value of same field in a record | CC BY-SA 4.0 | null | 2023-03-04T19:30:49.130 | 2023-03-04T23:16:27.157 | 2023-03-04T23:16:27.157 | 6,329,908 | 6,329,908 | [
"vba",
"ms-access"
] |
75,638,185 | 1 | null | null | 0 | 9 | I need to download files from remote shared drive in my local system,
and for that I'm using `pysmb` library to make a connection.
The code is as follows:
```
import pysmb
conn = SMBConnection(username, password, client_machine_name, server_name,
use_ntlm_v2=True)
conn.connect(host, 139)
with open("local_file.txt", "... | Download file from windows shared drive faster | CC BY-SA 4.0 | null | 2023-03-04T19:31:59.013 | 2023-03-04T19:55:46.890 | null | null | 17,804,077 | [
"python",
"smb",
"shared-drive",
"pysmb"
] |
75,638,188 | 2 | null | 75,633,698 | -1 | null | I recognize that I put in so I remove it then I add `npm cache clean --force` before `npm install` of the frontend and it works fine. Thanks a lot for @Top-Master
| null | CC BY-SA 4.0 | null | 2023-03-04T19:32:41.300 | 2023-03-04T19:32:41.300 | null | null | 21,176,603 | null |
75,638,186 | 2 | null | 75,637,694 | 0 | null | @Alain Puron
- `cpanle`- `cpanel``Database`-
hope this will help you or be precise with your question where you are hosting (the server you are uploading you project via filezilla)
| null | CC BY-SA 4.0 | null | 2023-03-04T19:32:20.820 | 2023-03-04T19:32:20.820 | null | null | 11,016,748 | null |
75,638,187 | 1 | null | null | 0 | 5 | I am using this code to initialize wp editor with javascript:
```
<textarea id="popup_content"></textarea>
wp.editor.initialize('popup_content', {
tinymce: {
wpautop: false,
toolbar1: 'formatselect bold italic | bullist numlist | blockquote | alignleft aligncenter alignright | lin... | wp.editor initiliaze with javascript and p tags | CC BY-SA 4.0 | null | 2023-03-04T19:32:37.550 | 2023-03-04T19:32:37.550 | null | null | 1,009,466 | [
"wordpress",
"wp-editor"
] |
75,638,190 | 2 | null | 75,633,722 | 0 | null | In your class `Card`, the private attribute is `_phones`, not `phones`.
Same applies for the other private attributes.
## New code to adapt:
```
buildContactsCollection(primaryContact: Card) {
if (primaryContact._phones === undefined){
primaryContact._phones = []
}
let primaryPhone = this.forma... | null | CC BY-SA 4.0 | null | 2023-03-04T19:33:08.563 | 2023-03-04T19:33:08.563 | null | null | 20,576,394 | null |
75,638,193 | 2 | null | 75,636,995 | 0 | null | Try this :
```
#!/usr/bin/ env bash
json_array='[
"key1",
"key2",
"key3",
"key4"
]'
while read -r key; do
echo -n "What is the value for $key? > " > /dev/tty
read -r value < /dev/tty
echo "$key=$value"
done < <(jq -r '.[]' <<< "$json_array") > userInput.txt
```
| null | CC BY-SA 4.0 | null | 2023-03-04T19:33:48.293 | 2023-03-04T22:20:51.857 | 2023-03-04T22:20:51.857 | 2,125,671 | 2,125,671 | null |
75,638,191 | 1 | null | null | 0 | 14 | I'm moving to Gatsby large news website (over 60.000 pages). Some migrated pages have errors in HTML, for example:
```
lorem <b, ipsum dolor sit
```
it leads to error on build:
```
failed Building static HTML for pages - 3.384s
ERROR #95313 HTML.COMPILATION
Building static HTML failed for path "/lorem-ipsum/"
See... | Gatsby build fails on not valid HTML tags (WebpackError) | CC BY-SA 4.0 | null | 2023-03-04T19:33:23.870 | 2023-03-04T21:29:01.153 | 2023-03-04T21:26:25.183 | 229,077 | 229,077 | [
"javascript",
"html",
"reactjs",
"webpack",
"gatsby"
] |
75,638,189 | 2 | null | 75,637,980 | 1 | null | You can use [union()](https://docs.djangoproject.com/en/dev/ref/models/querysets/#union) and by looking at your queryset example, it also seems you want unique values, so try the following:
```
q1 = Model.objects.filter(name__in=['a', 'b', 'c'])
q2 = Model.objects.filter(name__in=['a', 'd', 'e'])
combined_qs = q1.union... | null | CC BY-SA 4.0 | null | 2023-03-04T19:32:58.940 | 2023-03-05T03:10:54.440 | 2023-03-05T03:10:54.440 | 17,562,044 | 17,562,044 | null |
75,638,195 | 2 | null | 75,637,796 | 1 | null | You have to use tuple to slice your dataframe and you have to specify both index and columns indexes to allow Pandas to slice correctly your dataframes:
```
# A B v-- all columns
>>> df.loc[([0, 1, 2], -1), :]
D E
A B C
0 -1 20 30 40
1 -1 21 31 41
2 -1 22 32 42
# ... | null | CC BY-SA 4.0 | null | 2023-03-04T19:34:32.143 | 2023-03-04T19:34:32.143 | null | null | 15,239,951 | null |
75,638,196 | 2 | null | 75,632,085 | 0 | null | The issue was that the `engines` key was incorrect. `yo code` auto-generated this part, and used the latest VS Code version (1.76), even though I'm still on VS Code 1.75. Changing the version fixed the problem.
| null | CC BY-SA 4.0 | null | 2023-03-04T19:35:01.587 | 2023-03-04T19:35:01.587 | null | null | 3,393,058 | null |
75,638,194 | 1 | null | null | 0 | 31 | I have this api that does server-side filters and it works well. I tested it using postman. I am new to angular and I would like to add a search box and do the filter from the UI.
This is the api:
```
http://localhost:8080/tetype/all/{keyword}
```
I have this in my component's TypeScript file:
```
onSubmit() {
con... | How to write angular search box and attach to an api? | CC BY-SA 4.0 | null | 2023-03-04T19:34:14.687 | 2023-03-04T21:44:55.877 | 2023-03-04T21:44:55.877 | 10,401,186 | 10,401,186 | [
"javascript",
"angular",
"spring-boot",
"filter"
] |
75,638,197 | 2 | null | 75,636,552 | 0 | null | For the 1st one where you are specifying OData filter, you would need to convert your `dateDataStarts` variable to string. So your code would be something like:
```
var filter =
TableClient.CreateQueryFilter($"PartitionKey eq {symbol.ToUpper()} and RowKey gt {dateDataStarts.ToString("yyyy-MM-dd")}");
```
For the 2... | null | CC BY-SA 4.0 | null | 2023-03-04T19:35:06.620 | 2023-03-04T19:35:06.620 | null | null | 188,096 | null |
75,638,199 | 1 | 75,638,247 | null | 0 | 22 | I'm required to run some code repeatedly to train a model. I found that using pickle for saving my object after one iteration of the code was useful, and I could load it and use it in my second iteration.
But as pickle has the security issue, I wanted to use the [restricted_loads](https://docs.python.org/3/library/pick... | Why is unpickling a custom class with a restricted Unpickler forbidden although it is allowed in find_class? | CC BY-SA 4.0 | null | 2023-03-04T19:35:23.327 | 2023-03-04T19:50:06.460 | 2023-03-04T19:50:06.460 | 4,621,513 | 13,639,008 | [
"python",
"python-3.x",
"pickle"
] |
75,638,202 | 1 | null | null | -2 | 11 | do you know how to eliminate the following syntax error from VS Code? I am using Flask Framework, specifically I had this problem when I want to call Jinja variables in tags.
[Screenshot of VS Code](https://i.stack.imgur.com/3p6lR.png)
The code runs fine, the only inconvinient is that VS Code marks it as a problem.
Th... | Jinja variables generates a syntax error in VS Code if called in <script> tag | CC BY-SA 4.0 | null | 2023-03-04T19:35:45.233 | 2023-03-04T19:42:02.673 | 2023-03-04T19:42:02.673 | 400,617 | 19,178,322 | [
"python",
"visual-studio-code",
"jinja2"
] |
75,638,200 | 1 | 75,638,272 | null | 1 | 29 | I've looked at answers to similar questions, but none seem to work.
In my current code, the first column in all three rows are all different widths. I want the entire first column in all three rows to be the same width and only as wide as the longest text.
I have tried to no avail:
`grid-template-columns: auto 1fr;`
`g... | I have a grid with 3 rows and 2 columns. How do I make the entire first column only as wide as the longest text? | CC BY-SA 4.0 | null | 2023-03-04T19:35:34.750 | 2023-03-04T20:51:22.280 | null | null | 6,149,941 | [
"html",
"css",
"css-grid",
"max-content"
] |
75,638,204 | 2 | null | 75,638,162 | 0 | null | You may try:
```
=scan(,B2:index(B:B,match(2,1/(B:B<>""))),lambda(a,c,if(istext(c)*istext(offset(c,1,))*isdate(offset(c,2,0)),c,a)))
```
[](https://i.stack.imgur.com/Q5jcz.png)
| null | CC BY-SA 4.0 | null | 2023-03-04T19:36:04.747 | 2023-03-04T20:54:13.540 | 2023-03-04T20:54:13.540 | 5,479,575 | 5,479,575 | null |
75,638,198 | 2 | null | 75,636,254 | 1 | null | OK, I have to confess something: I misread your title. I though you mean that text inside a `<p></p>` tag was [wrapping](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Text/Wrapping_Text), and you didn't want this. Instead you meant that the text was literally wrapped within a `<p></p>` tag.
Since you never attem... | null | CC BY-SA 4.0 | null | 2023-03-04T19:35:16.840 | 2023-03-04T19:35:16.840 | null | null | 3,986,005 | null |
75,638,203 | 1 | null | null | 1 | 34 | I have a MSSQL Database with 286.536.323 rows. This is more of an aggregation of multiple databases. No indices or keys defined. Now I need to import this database to an existing MYSQL database.
Currently i am bulk inserting the data, by fetching data from the MSSQL database in chunks of 1000 (limit + offset) and inser... | Importing a database table with > 250 Mio. rows using Laravel | CC BY-SA 4.0 | null | 2023-03-04T19:35:53.853 | 2023-03-04T23:09:47.247 | 2023-03-04T20:21:36.867 | 20,860 | 3,122,782 | [
"sql-server",
"laravel",
"eloquent"
] |
75,638,192 | 1 | null | null | 0 | 8 | I would like put node at specific position with simulation forceX/Y, I expected strength 0 means no any strength to X and Y, then nodes should be put at the position defined by nodes.
What's proper way to put nodes at specific position with simulation?
```
drag_nodes()
function add_grids(g,width,height) {
var m = ... | put simulation nodes at specific position | CC BY-SA 4.0 | null | 2023-03-04T19:33:45.893 | 2023-03-04T19:33:45.893 | null | null | 1,914,781 | [
"d3.js"
] |
75,638,201 | 1 | null | null | 0 | 18 | I have created a Custom Normalizer in my API Platform 3 application. The goal of the normalizer is to modify and add some data to the response before returning it to the user (`GET` collection request).
This is the code :
```
namespace App\Serializer;
use Symfony\Component\Serializer\Normalizer\NormalizerInterface;
c... | Symfony API Platform - Custom Normalizer issue | CC BY-SA 4.0 | null | 2023-03-04T19:35:34.917 | 2023-03-04T21:13:12.897 | 2023-03-04T21:13:12.897 | 13,665,462 | 13,665,462 | [
"api",
"rest",
"symfony"
] |
75,638,206 | 2 | null | 75,637,338 | 0 | null | Just use `tf.ragged.boolean_mask` instead of `tf.boolean_mask`
```
tf.ragged.boolean_mask(rt, mask)
# <tf.RaggedTensor [[1, 2, 3], [4, 5, 6], [7, 8], [9, 10, 11, 12]]>
```
Python and TensorFlow are not designed for polymorphism.
| null | CC BY-SA 4.0 | null | 2023-03-04T19:36:11.707 | 2023-03-04T19:36:11.707 | null | null | 8,270,312 | null |
75,638,207 | 2 | null | 75,635,848 | 1 | null | I don't think SwiftUI natively supports custom transition between Views when using `NavigationStack` / `NavigationSplitView`.
There is a package called [NavigationTransitions](https://github.com/davdroman/swiftui-navigation-transitions) which supports `NavigationStack` on iOS 16.
How to use:
Add package to you project ... | null | CC BY-SA 4.0 | null | 2023-03-04T19:36:17.077 | 2023-03-04T19:36:17.077 | null | null | 16,855,023 | null |
75,638,184 | 1 | null | null | -2 | 39 | I tried different solution from Google but couldn't find any. Can anyone help me with the SQL select query for the below scenarios.
1. Scenario 1
| MasterData | Usage | CreatedDate | Action Flag |
| ---------- | ----- | ----------- | ----------- |
| Peter | Not Used | 2020-03-04 | Delete |
| Peter | Not Used | 2... | Set action flag based on different scenarios in SQL Server | CC BY-SA 4.0 | null | 2023-03-04T19:31:56.673 | 2023-03-05T02:17:38.313 | 2023-03-04T21:35:31.457 | 3,706,016 | 6,043,224 | [
"sql",
"sql-server",
"multiple-conditions",
"scenarios"
] |
75,638,209 | 1 | null | null | 0 | 6 | I need to parse the Fortigate config to find and change some commands by python, but I have not found good solution. Maybe someone has experience parsing the Fortigate configuration and can recommend a good tool for this task.
I have experience with the [ciscoconfparse](https://github.com/mpenning/ciscoconfparse) libra... | How to parse Fortigate config by python | CC BY-SA 4.0 | null | 2023-03-04T19:36:33.237 | 2023-03-04T19:36:33.237 | null | null | 15,222,211 | [
"python",
"parsing",
"fortigate",
"ciscoconfparse"
] |
75,638,210 | 2 | null | 75,638,191 | -1 | null | it is not recommended to force Gatsby and Webpack to ignore HTML errors as this can lead to unpredictable results and potentially create security vulnerabilities on the website. It is always best to fix the HTML errors before building the website.
However, if you must proceed with building the website with HTML errors,... | null | CC BY-SA 4.0 | null | 2023-03-04T19:36:44.833 | 2023-03-04T19:36:44.833 | null | null | 4,817,557 | null |
75,638,208 | 1 | null | null | 0 | 11 | I am attempting to use keras autotuner to find the best value for my NN's dense layer. While the tuner is running , it gives me the proper output, shown below:
[enter image description here](https://i.stack.imgur.com/3xdE9.png)
however, immediately after the last epoch, it returns the following shown below:
[enter imag... | Keras Autotuner how to spit out best value at the end of run | CC BY-SA 4.0 | null | 2023-03-04T19:36:25.843 | 2023-03-04T20:43:44.243 | null | null | 21,333,178 | [
"tensorflow",
"keras"
] |
75,638,212 | 1 | null | null | 0 | 25 | I'm just trying to figure out why I'm getting 2 extra lines in my output. Can someone figure this out for me please?
#open, write, and read text file (e.g., "WordTextFile1.txt") using open(), write(), read()
```
file_name = (input())#store name of the file
with open(file_name,'r') as f:
word1 = str(f.read())
... | 34.12.1: PRACTICE: Manipulate text files | CC BY-SA 4.0 | null | 2023-03-04T19:37:05.077 | 2023-03-04T19:45:02.073 | 2023-03-04T19:45:02.073 | 21,333,177 | 21,333,177 | [
"python",
"file"
] |
75,638,173 | 1 | null | null | 0 | 15 | I have an App which has some dropdown menus which update depending on what the user select (which location)
[](https://i.stack.imgur.com/YqMGe.png)
However, when one of the levels has an `NA` value, nothing gets displayed in the table.
[](https://i.stack.imgur.com/GaDto.png)
I am trying to do 2 things:
1. Populate the... | "dynamic" dropdowns in R Shiny only updating when clicked | CC BY-SA 4.0 | null | 2023-03-04T19:29:42.433 | 2023-03-05T02:01:59.237 | null | null | 6,447,399 | [
"r",
"shiny"
] |
75,638,211 | 1 | null | null | 0 | 16 | Maybe there is a similar question or solution in stackoverflow or google, but I tried several methods, provided in the Interne, but it didn't help for me. Because I started to learn CI/CD only today, I am asking for a help with my CI/CD issue.
python-publish.yml (pipeline):
```
name: Python Package
on:
push:
bra... | NodeJS 12 alarm in Github Workflow and Unexpected input(s) 'username', 'password', valid inputs are [dublicate] | CC BY-SA 4.0 | null | 2023-03-04T19:37:00.527 | 2023-03-04T19:54:50.620 | null | null | 19,561,083 | [
"python",
"dockerfile",
"continuous-integration",
"github-actions"
] |
75,638,205 | 2 | null | 75,637,030 | 0 | null | The problem is, that what you are trying is not possible, in this specific way [check the documentation](https://photonstorm.github.io/phaser3-docs/Phaser.GameObjects.Container.html#setScrollFactor__anchor). You might be able to do it like that, but it would be very complicated.
The easy solution is to use two `scene`... | null | CC BY-SA 4.0 | null | 2023-03-04T19:36:11.127 | 2023-03-04T22:41:26.350 | 2023-03-04T22:41:26.350 | 1,679,286 | 1,679,286 | null |
75,638,176 | 1 | null | null | 4 | 80 | Context: I was reading multiple articles about making my golang app FIPS compliant (in other words, making my app use boringcrypto instead of the native golang crypto):
- [https://kupczynski.info/posts/fips-golang/](https://kupczynski.info/posts/fips-golang/)- [https://developers.redhat.com/articles/2022/05/31/your-go-... | How can I check whether my golang app uses boringcrypto instead of the native golang crypto? | CC BY-SA 4.0 | null | 2023-03-04T19:30:03.000 | 2023-03-05T02:06:10.133 | 2023-03-05T02:06:10.133 | 21,322,014 | 21,322,014 | [
"go",
"cgo",
"fips"
] |
75,638,213 | 1 | null | null | -2 | 8 | Imports System.IO
Module MainModule
```
Sub Main()
Dim sourcePath As String = "D:\GE"
Dim targetPath As String = "C:\lstwhite"
Dim logFile As String = "C:\lstwhite\Log.txt"
Dim dataFiles() As String = Directory.GetFiles(sourcePath, "DA*.PAQ")
Dim ptrinFiles() As String = Directory.GetFiles(sourcePa... | File.AppendAllText n est pas un membre string | CC BY-SA 4.0 | null | 2023-03-04T19:37:13.510 | 2023-03-04T19:37:13.510 | null | null | 14,713,176 | [
"vbscript"
] |
75,638,218 | 2 | null | 75,637,813 | 0 | null | Using `Map<String,dynamic>` should be right way (if you don't want to create a class).
Like this:
```
final question = <String, dynamic>{
'title': '',
'description': '',
'questionTitle': '',
'option1Text': '',
'option2Text': '',
'option3Text': '',
'option1Correctness': false,
... | null | CC BY-SA 4.0 | null | 2023-03-04T19:38:05.467 | 2023-03-04T19:38:05.467 | null | null | 666,221 | null |
75,638,215 | 1 | null | null | 0 | 6 | I am getting this error when creating a MediaConvert job
This is my ContainerSettings:
```
ContainerSettings mp4ContainerSettings = new ContainerSettings()
{
Container = ContainerType.MP4,
Mp4Settings = new Mp4Settings()
{
CslgAtom = Mp4Cs... | AWS-SDK-NET MediaConvert - When using container type MP4 fails with validation message | CC BY-SA 4.0 | null | 2023-03-04T19:37:27.090 | 2023-03-04T19:37:27.090 | null | null | 5,977,155 | [
".net-core",
"aws-sdk-net",
"aws-media-convert"
] |
75,638,217 | 1 | null | null | 0 | 18 | I've recently switched to a windows machine from a Mac and wanted to test out a couple of things, mainly with Docker. Normally, I don't have to install anything on my Mac and it just works as long as I have Docker installed.
With Windows, I downloaded Docker and got it to work. When trying out commands, it seems like i... | alpine/git clone not working on windows with docker | CC BY-SA 4.0 | null | 2023-03-04T19:37:47.047 | 2023-03-04T19:37:47.047 | null | null | 1,615,451 | [
"git",
"docker"
] |
75,638,224 | 2 | null | 71,282,307 | 0 | null | You must enter the date in solar form (11-17-1400) then it will be automatically stored in the database based on Gregorian calendar.
| null | CC BY-SA 4.0 | null | 2023-03-04T19:40:29.073 | 2023-03-04T19:40:29.073 | null | null | 14,524,349 | null |
75,638,221 | 1 | null | null | 2 | 32 | I have setup an example on [Compiler Explorer](https://godbolt.org/z/Wb179bvoP):
```
int global;
static inline int return3()
{
int ret;
__asm__("mov %0, 3"
: "=g" (ret));
return ret;
}
void f(int x)
{
global = return3();
}
```
The compiler (GCC 12.2) outputs this:
```
f:
mov eax, ... | GCC doesn't optimize inline assembly "=g" outputs to be memory operands when you use a temporary which is later assigned to a global? | CC BY-SA 4.0 | null | 2023-03-04T19:39:37.313 | 2023-03-04T20:50:19.103 | 2023-03-04T20:20:43.707 | 224,132 | 10,505,778 | [
"c",
"assembly",
"gcc",
"x86",
"inline-assembly"
] |
75,638,225 | 2 | null | 75,631,625 | 0 | null | In SharePoint there is concept of permissions inheriting. So in default state child inherits permission from its parent.
Site -> List or Library -> Folder (if any) -> Sub folder (if any) -> Item or File
But it is possible to break inheritance in every interface. For list you have to go to list settings and in click on... | null | CC BY-SA 4.0 | null | 2023-03-04T19:40:36.920 | 2023-03-04T19:40:36.920 | null | null | 10,226,548 | null |
75,638,214 | 1 | null | null | 0 | 13 | I Am triyng to autocomplete and also want pass category as parameter in url. I have two table
`1. First table name product_search_history and it has column id,catuid, search_term, search_date,status`
`2. Second table name products and it has column id,catuid, tags, pd_title, status`
now I want join both table and searc... | Trie class method is not working in search auto complete | CC BY-SA 4.0 | null | 2023-03-04T19:37:22.517 | 2023-03-04T19:37:22.517 | null | null | 20,910,640 | [
"php",
"trie"
] |
75,638,230 | 1 | null | null | -3 | 14 | I want to change my GPU . I am using bottleneck calculator for choosing. I have 16 gb ram 1600 mhz and i5 4440. İn calculator ı am using,for GeForce rtx 2060 it says %0 bottleneck. İs this true? And what are the best GPU for these hardware?
I want to choose best GPU according to hardware which ı have
| Best GPU for i5 4440 | CC BY-SA 4.0 | null | 2023-03-04T19:41:37.913 | 2023-03-04T19:41:37.913 | null | null | 21,333,203 | [
"gpu",
"cpu",
"nvidia",
"hardware",
"ram"
] |
75,638,229 | 2 | null | 75,621,159 | 0 | null | My guess that it might be because of `Bitmap` at Track class. While it looks like correct code we don't see how you generate the `Track` at `AudioRepository`, maybe it fetches the bitmap on every data changes regarding to this repository like `repeatMode`. Whether this is problem or not, I suggest considering passing ... | null | CC BY-SA 4.0 | null | 2023-03-04T19:41:28.120 | 2023-03-04T19:41:28.120 | null | null | 10,280,153 | null |
75,638,226 | 2 | null | 75,637,939 | 0 | null | Here the problem lies in how you update your redux state :
> To update a state inside a store is to dispatch an action and define a reducer function to perform tasks based on the given actions. Once dispatched, the action goes inside the reducer functions which performs the tasks and return the updated state to the sto... | null | CC BY-SA 4.0 | null | 2023-03-04T19:40:52.697 | 2023-03-04T19:40:52.697 | null | null | 13,488,990 | null |