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,616,979 | 2 | null | 75,616,839 | 1 | null | If you do a `json_decode(yourjson, true)` with the working json, you'll see that you need to add another level inside of the `must`, so that it's an array of objects:
```
[
"query" => [
"bool" => [
"must" => [
[
"multi_match" => [
"query" => "277 Some Road",
... | null | CC BY-SA 4.0 | null | 2023-03-02T14:39:13.927 | 2023-03-02T14:39:13.927 | null | null | 1,007,220 | null |
75,616,982 | 2 | null | 75,615,260 | 0 | null | This looks wrong:
```
ref(db, `food/`), orderByChild("ShopNo"), equalTo(random) //Failed
.then(snapshot => {
...
```
You're [missing a query](https://firebase.google.com/docs/database/web/lists-of-data#sorting_and_filtering_data) here, and it should probably be:
```
query(ref(db, `food/`), orderByChild("ShopNo"), e... | null | CC BY-SA 4.0 | null | 2023-03-02T14:39:41.237 | 2023-03-02T14:39:41.237 | null | null | 209,103 | null |
75,616,985 | 2 | null | 75,613,151 | 0 | null | I finally figured out what went wrong. According to the [docs](https://moderngl.readthedocs.io/en/latest/reference/texture.html#create) the data type needs to be set explicitly when creating a texture, otherwise it is assumed float, or 'f1'. As my image consist of unsigned ints dtype needs to be 'u1':
```
in_texture ... | null | CC BY-SA 4.0 | null | 2023-03-02T14:39:54.793 | 2023-03-02T14:39:54.793 | null | null | 9,418,615 | null |
75,616,981 | 1 | null | null | 0 | 13 | In my laravel app I want to save histories of all actions (create,update,delete), to do this, I create `histories` table and I observe all `Models` and store in histories table on every event handled,
when I handle the User `updated` event. for exemple, two row was saved on histories table, also when I handel the Use... | Laravel Observer handle events twice | CC BY-SA 4.0 | null | 2023-03-02T14:39:41.057 | 2023-03-03T07:11:00.457 | 2023-03-03T06:57:53.597 | 17,505,634 | 17,505,634 | [
"laravel",
"events",
"event-handling"
] |
75,616,980 | 1 | null | null | 0 | 29 | I have a Vue 3 app using Vuetify. Inside a component I'm listening to streamed events. For each new event I want to display a notification fading out after x seconds. I think the [Snackbar](https://vuetifyjs.com/en/components/snackbars/) component is the correct one to pick.
I started with the following code
[Reproduct... | How to display multiple notifications with Vuetify? | CC BY-SA 4.0 | null | 2023-03-02T14:39:35.683 | 2023-03-02T14:39:35.683 | null | null | 19,698,303 | [
"javascript",
"vue.js",
"vuetify.js"
] |
75,616,983 | 1 | null | null | 1 | 29 | I have the following Jenkinsfile:
```
pipeline {
agent any
stages {
stage('Hello') {
steps {
script{
withCredentials([kubeconfigContent(credentialsId: 'kubernetes_config', variable: 'KUBECONFIG_CONTENT')]) {
sh 'curl -LO "https://dl.k8... | Jenkins pipeline curl: (6) Could not resolve host: dl.k8s.io | CC BY-SA 4.0 | null | 2023-03-02T14:39:41.843 | 2023-03-02T14:46:39.400 | 2023-03-02T14:46:39.400 | 6,509 | 17,058,837 | [
"shell",
"kubernetes",
"jenkins-pipeline",
"devops"
] |
75,616,987 | 2 | null | 75,614,386 | 0 | null | Spring Boot 2.7.7 has dependencies on Java EE 8 technologies. WebSphere Application Server 8.5.5 supports Java EE 6 technologies. Version 9.0.5 supports Java EE 7 technologies. Open and WebSphere Liberty support Java EE 6 Web Profile, 7, 8, and Jakarta 8 and 9. So WebSphere Liberty (which come with WebSphere Applicatio... | null | CC BY-SA 4.0 | null | 2023-03-02T14:40:06.423 | 2023-03-02T14:40:06.423 | null | null | 10,014,806 | null |
75,616,977 | 1 | null | null | -1 | 24 | I want to call a stored procedure but I'm getting an error:
> Incorrect syntax near '@P0'
This is the stored procedure:

Here is the stored procedure call:
```
{CALL sp_Insert_RiskEvent((:householdId), (:loyaltyCard), (:userId), (:deviceId), (:eventDat... | Error in a Mule application when calling a stored procedure in SQL | CC BY-SA 4.0 | null | 2023-03-02T14:39:04.513 | 2023-03-03T13:26:56.440 | 2023-03-02T16:35:19.740 | 9,758,639 | 9,758,639 | [
"mule",
"mulesoft",
"mule-connector"
] |
75,616,984 | 1 | null | null | 0 | 8 | I am having some trouble accessing the logged in user's information from their firestore collection. The ID of the collection is the same as the auth user ID, so when the user is logged in it should be a case of calling by the auth.user.uid to access this.
But my problem is that somehow I cannot find anything online to... | How to access data (e.g. name) from firestore collection when user is logged in with same doc ID as the auth ID - REACT NATIVE | CC BY-SA 4.0 | null | 2023-03-02T14:39:50.893 | 2023-03-02T14:39:50.893 | null | null | 21,312,835 | [
"firebase",
"react-native",
"google-cloud-firestore"
] |
75,616,991 | 2 | null | 75,616,281 | 3 | null | In PyTorch, users have to manually move the model, data, and others to cuda themselves. Since your model is PyTorch, you need to move both the model and the data to `"cuda"`. Don't worry, you are going in the right direction:
```
finbert = BertForSequenceClassification.from_pretrained('yiyanghkust/finbert- tone',num_la... | null | CC BY-SA 4.0 | null | 2023-03-02T14:40:46.887 | 2023-03-03T04:56:42.207 | 2023-03-03T04:56:42.207 | 11,235,205 | 11,235,205 | null |
75,616,990 | 1 | null | null | 0 | 6 | I am trying to Dockerize my Symfony project. I have cloned the [symfony-docker skeleton](https://github.com/dunglas/symfony-docker) to my project folder. I followed the procedures in the [guidelines](https://github.com/dunglas/symfony-docker/blob/main/docs/existing-project.md) until the where I have to build the contai... | symfony-docker fails building Symfony project | CC BY-SA 4.0 | null | 2023-03-02T14:40:37.377 | 2023-03-02T14:40:37.377 | null | null | 7,239,375 | [
"php",
"docker",
"symfony"
] |
75,616,988 | 1 | null | null | 0 | 32 | Below code work's perfect, but once I change the 'backupFolder' location to a network drive it stops working and it gives me a
> 'runtime 1004' error.
How can I make sure I can allow VBA to save on the network drive?
```
Sub SaveBackUp()
Dim saveDate As Date
Dim saveTime As Variant
Dim formatTime As String
Dim formatD... | How to save a back-up folder on a Network Drive? | CC BY-SA 4.0 | null | 2023-03-02T14:40:14.633 | 2023-03-02T15:01:39.220 | 2023-03-02T15:01:39.220 | 8,422,953 | 20,853,605 | [
"excel",
"vba"
] |
75,616,951 | 1 | null | null | 0 | 15 | My spring boot application run on the embedded Tomcat and if i try to reach this rest service
[](https://i.stack.imgur.com/CQtJV.png)
all it's fine.
When i try to deploy on wildfly 25 i try to reach the same service but happens this:
[](https://i.stack.imgur.com/bJJNn.png)
I tried to do a lot of thinf but still nothing... | Spring Boot 3.0.3 and wildfly 25.0.1 | CC BY-SA 4.0 | null | 2023-03-02T14:36:59.500 | 2023-03-02T14:46:59.910 | 2023-03-02T14:42:32.677 | 4,378,010 | 4,378,010 | [
"spring-boot",
"wildfly-25"
] |
75,616,992 | 2 | null | 75,616,893 | 1 | null | Deducing from what I think the ein syntax means (new package to me, so unverified whether this is the produced output you expect):
```
import numpy as np
K, M, N = 6, 4, 5
n_rows, n_cols = 3, 2
arr = np.arange(K * M * N).reshape(K, M, N)
out = (
arr # (r c) h w
.reshape(n_row... | null | CC BY-SA 4.0 | null | 2023-03-02T14:40:47.410 | 2023-03-02T14:55:43.697 | 2023-03-02T14:55:43.697 | 9,499,196 | 9,499,196 | null |
75,616,993 | 2 | null | 75,615,920 | 0 | null | Documentation for cross tenant resource access is available here [https://learn.microsoft.com/en-us/azure/active-directory/external-identities/cross-tenant-access-overview](https://learn.microsoft.com/en-us/azure/active-directory/external-identities/cross-tenant-access-overview)
| null | CC BY-SA 4.0 | null | 2023-03-02T14:40:55.050 | 2023-03-02T14:40:55.050 | null | null | 6,361,167 | null |
75,616,994 | 2 | null | 70,032,605 | 0 | null | You can use `array_chunk` function to set how many items should be displayed in each row.
```
foreach ($sections as $section) {
$arrKeyboard[] = [
[
'text' => $section->getTitle(),
'callback_data' => '....'
]
];
}
array_chunk($arrKeyboard,2); // this will show 2 items in each row of inline k... | null | CC BY-SA 4.0 | null | 2023-03-02T14:40:55.910 | 2023-03-02T14:40:55.910 | null | null | 16,570,673 | null |
75,616,997 | 2 | null | 74,620,654 | 0 | null | You need to set devStart to "nodemon server.js" instead of just the filename. Your scripts property in package.json should look like this:
```
"scripts": {
"devStart": "nodemon server.js"
},
```
Now run using $ npm run devStart
| null | CC BY-SA 4.0 | null | 2023-03-02T14:41:15.090 | 2023-03-02T14:41:15.090 | null | null | 18,521,344 | null |
75,616,996 | 1 | null | null | -1 | 12 | I'm trying to fit a sentence into a textfield. Width of the textfield is 20. the Sentence is something like "I'm going to San Francisco.". When i generate a document with my template, I see only "I'm going to San". What I'm expecting is however "I'm going to San Fra". Because this is the length of the textfield. I foun... | how to use the whole width of a textfield for a text in jasper template | CC BY-SA 4.0 | null | 2023-03-02T14:41:03.217 | 2023-03-02T16:57:26.280 | null | null | 12,216,954 | [
"jasper-reports"
] |
75,616,986 | 1 | null | null | 0 | 31 | I'm trying to to make a user send pic to firebase. The image is stored in the firestore alright. But I don't seem to get the downloaded imageUrl to the database. Anytime it happens, the field (the field name is 'Document', which is a subcollection of the collection "users")just gives me something like this (Document: "... | Flutter firebase: Upload ImageUrl to firebaseDatabase | CC BY-SA 4.0 | null | 2023-03-02T14:39:58.147 | 2023-03-02T15:01:54.347 | 2023-03-02T15:00:41.810 | 21,183,111 | 21,183,111 | [
"flutter",
"firebase",
"google-cloud-firestore",
"imageurl"
] |
75,616,998 | 2 | null | 245,192 | 0 | null | An easy way to understand is to ask: What things are not first class?
In Python, e.g. operators like `+` or `*` are not first class.
You can use the operators directly:
```
2+2
"foo"+"bar"
2*3
"bla"*3
```
But you can not assign operators to variables:
```
operator = +
operators = [+,*]
```
which means you can not pas... | null | CC BY-SA 4.0 | null | 2023-03-02T14:41:17.100 | 2023-03-02T14:41:17.100 | null | null | 2,867,993 | null |
75,616,995 | 2 | null | 71,799,481 | 0 | null | These are vendor prefixes. They are not actually targeting individual browsers.
When you prefix a property with -webkit, for example, you're targeting all browsers which use WebKit as their main rendering engine, like:
- - - - -
So, there isn't a specific Samsung Internet prefix you can use.
| null | CC BY-SA 4.0 | null | 2023-03-02T14:41:00.293 | 2023-03-02T14:41:00.293 | null | null | 588,133 | null |
75,616,989 | 1 | null | null | 0 | 27 | ```
import re
personal_pronoun = "se les" #example 1
personal_pronoun = "se le" #example 2
personal_pronoun = "se le" #example 3
personal_pronoun = "les" #example 4
personal_pronoun = "le" #example 5
#re.match() only matches at the beginning of the string
if re.match(r"se", personal_pronoun):
... | How to use re.sub(), or similar, to do replacements and generate raw strings without the metacharacters causing problems with the regex engine? | CC BY-SA 4.0 | null | 2023-03-02T14:40:17.773 | 2023-03-02T14:40:17.773 | null | null | 17,696,880 | [
"python",
"python-3.x",
"regex",
"string",
"regex-negation"
] |
75,617,001 | 2 | null | 58,694,833 | 0 | null | I know this is an older thread, but there is a pretty clean way to add and control event-based triggers to Airflow using Stonebranch.
| null | CC BY-SA 4.0 | null | 2023-03-02T14:41:25.347 | 2023-03-02T14:41:25.347 | null | null | 16,581,717 | null |
75,617,006 | 1 | null | null | -2 | 10 | It is clear that the minimum frame size of the original Ethernet (10 Mbps) is defined as 64 bytes. The FastEthernet extension (the most common PHY layer 100BASE-TX) enabled 100 Mbps speed and standardization also by IEEE under the name IEEE 802.3u. The new standard also specifies a minimum frame size of 64 bytes. But h... | How is it possible to maintain the same minimum frame size in FastEthernet as in the original 10 Mbps Ethernet? | CC BY-SA 4.0 | null | 2023-03-02T14:42:38.557 | 2023-03-02T14:42:38.557 | null | null | 18,454,461 | [
"computer-science",
"ethernet",
"ip-protocol"
] |
75,617,002 | 1 | null | null | -1 | 14 | This my code when I run it, it shows an error that operation on closed file and I don't know what's the reason...
`
```
---
with open("recorded .wav", "wb") as f:
f.write(audio-get_wav_data())
f-close()
with open("transcript.txt", "r") as fread:
lines - fread.readlines ()
line in lines:
transc... | PyValueError: I/O operation on closed file | CC BY-SA 4.0 | null | 2023-03-02T14:41:27.120 | 2023-03-02T18:18:39.170 | 2023-03-02T18:18:39.170 | 984,421 | 20,983,293 | [
"python-3.x"
] |
75,617,000 | 1 | null | null | 0 | 15 | Say my azure database on azure is Geo replicated. On the primary server, I do this in a transaction:
```
DROP SYNONYM MyProduct;
Create SYNONYM MyProduct for NewDb;
```
On the secondary server, how this will be handled?
Say I have simple query:
```
select xxxx from MyProduct
```
Will I see random error such as
```
In... | How azure sql geo replication handles transaction? | CC BY-SA 4.0 | null | 2023-03-02T14:41:20.303 | 2023-03-02T14:41:20.303 | null | null | 1,223,876 | [
"azure-sql-database"
] |
75,617,004 | 2 | null | 75,300,352 | 2 | null | So, the thing is, `map(alloc: ...)` is not about allocating memory. It works in a similar way to `map(to: ...)` and `map(from: ...)`, with the only difference that no data will be copied in any direction. The host array has to be allocated. That naming still seems a little weird to me.
Only the `omp_target_alloc()` an... | null | CC BY-SA 4.0 | null | 2023-03-02T14:41:42.753 | 2023-03-02T14:41:42.753 | null | null | 5,799,173 | null |
75,617,005 | 1 | null | null | 0 | 25 | I am trying to get access the screen recording permission on using
```
if CGRquestScreenCaptureAccess(){
print("Permission Granted")
}else{
print("Permission is not granted")
}
```
Unfortunately, this code shows only one time permission but it does not show again.
| How to show screen recording permission programmatically using SwiftUI? | CC BY-SA 4.0 | null | 2023-03-02T14:42:36.553 | 2023-03-03T13:30:27.060 | 2023-03-03T13:30:27.060 | 3,513,759 | 3,513,759 | [
"macos",
"swiftui"
] |
75,617,003 | 2 | null | 75,610,201 | 1 | null | This is because of a difference in the way the underlying Reactor implementations on Windows and Linux behave. Complete details are in ["The ACE Programmer's Guide"](https://rads.stackoverflow.com/amzn/click/com/0201699710) section 7.2.3. Windows WFMO is "edge triggered" so `handle_output` is only triggered when the so... | null | CC BY-SA 4.0 | null | 2023-03-02T14:41:27.677 | 2023-03-02T14:41:27.677 | null | null | 240,342 | null |
75,617,008 | 1 | null | null | 1 | 23 | I used the following function to create a directory based on today's date:
`os.mkdirs(time.strftime('%y%m%d'),exist_ok=True)`
how to subtract 30 days from the current date?
I am expecting the directory to be `2023/01/31` if today's date is `2023/03/03`.
| How to create a directory with the date that is 30 days older then the current date | CC BY-SA 4.0 | null | 2023-03-02T14:42:58.847 | 2023-03-02T15:01:36.950 | 2023-03-02T15:01:36.950 | 16,343,464 | 21,319,808 | [
"python",
"operating-system"
] |
75,617,013 | 2 | null | 19,277,335 | 0 | null | It worked for me: View > Quick Switch Scheme... > Keymap > Windows
My version of Pycharm: 2022.3 built on November 30, 2022
| null | CC BY-SA 4.0 | null | 2023-03-02T14:43:31.460 | 2023-03-02T14:43:31.460 | null | null | 21,319,803 | null |
75,617,007 | 1 | null | null | 1 | 18 | I'm trying to generated a spring endpoint that has a request param as an object (not annotated with `@RequestParam` annotation). The reason why I want to do this is because some endpoint consist of a large number of query params and I want to group then within models of their own.
Expected behaviour:
`@GetMapping("/foo... | How to generate request param as object in spring using habarta-typescript-generator | CC BY-SA 4.0 | null | 2023-03-02T14:42:45.027 | 2023-03-02T15:50:58.197 | null | null | 16,208,335 | [
"java",
"typescript",
"spring-boot",
"kotlin"
] |
75,617,012 | 2 | null | 75,616,607 | 0 | null | Try changning your ajax call to the following
```
$.ajax({
url: '@Url.Action("ParticipantList", "Product")',
type: 'POST',
data: JSON.stringify({"productEmployeeId": productEmployeeId}),
contentType: 'application/json',
success: function ()... | null | CC BY-SA 4.0 | null | 2023-03-02T14:43:24.493 | 2023-03-02T14:54:35.180 | 2023-03-02T14:54:35.180 | 9,177,810 | 9,177,810 | null |
75,617,014 | 2 | null | 49,945,339 | 0 | null | What I can see in your example is that it doesn't have the image extension.
```
img(src='./login_icon.svg' alt='login' style='width:100px;height:100px;')
```
Check that and also the path of it.
| null | CC BY-SA 4.0 | null | 2023-03-02T14:43:32.433 | 2023-03-02T14:43:32.433 | null | null | 18,261,313 | null |
75,617,015 | 1 | null | null | -1 | 14 | I would like to ask you about problem how to implement realtime chat application.
Is better to use push notification for receiving new message or websocket? And why?
My prefer is websocket, because I think that push notifications are only for "notification purpose" not for realtime data sync.
What is your opinion?
Than... | Should I use push notifications or websocket for realtime chat mobile app? | CC BY-SA 4.0 | null | 2023-03-02T14:43:35.047 | 2023-03-02T14:43:35.047 | null | null | 18,407,267 | [
"react-native",
"websocket",
"push-notification",
"chat"
] |
75,617,009 | 1 | null | null | 0 | 8 | I am using `spark 3.2.1` to summarise high volume data using joins. Spark's plan shows that `1` executor was tasked with `90GB` of data to process after Spark's `AEQShuffleRead` step as shown below. Also the shuffle partition of 900 was drastically brought down to 8.
[](https://i.stack.imgur.com/RrVQE.png)
I tried `spa... | Spark AQE drastically reduces number of partitions | CC BY-SA 4.0 | null | 2023-03-02T14:43:01.327 | 2023-03-02T17:40:27.400 | 2023-03-02T17:40:27.400 | 8,013,827 | 8,013,827 | [
"optimization",
"spark3"
] |
75,617,018 | 2 | null | 75,616,556 | 1 | null | The loop keeps going until it finds the smallest number greater than or equal to `n`. The `nth` number is given by the formula `n(n+1)/2`. So, what you want to do is find the smallest integer `i` such that `i(i+1)/2` is greater than or equal to `n`. Solving for i:
```
i(i+1)/2 >= n
i^2 + i >= 2n
i^2 + i - 2n >= 0
```
... | null | CC BY-SA 4.0 | null | 2023-03-02T14:43:39.943 | 2023-03-02T14:43:39.943 | null | null | 5,363,686 | null |
75,617,021 | 2 | null | 75,616,910 | 1 | null | Code snippet above modifies one `Todo` item. You need something like this.
```
[HttpGet]
public async Task<IActionResult<IEnumerable<Todo>>> GetTodoItems()
{
return Ok(await _context.Todos.Where(t => !t.IsComplete));
}
```
I would recommend you to explore differences between different REST API methods (GET, POST, ... | null | CC BY-SA 4.0 | null | 2023-03-02T14:43:52.927 | 2023-03-02T14:43:52.927 | null | null | 13,922,250 | null |
75,617,019 | 1 | null | null | 0 | 31 | I have a sea surface temperature time series, and I want to calculate the correlation coefficients among the nodes in the tropics(30.0N to 30S). In the time series, the land information is present as masked data. I do not know how to handle masked data in correlation calculation.
Please help.
The data I used here is in... | correlation calculation of masked array: | CC BY-SA 4.0 | null | 2023-03-02T14:43:41.567 | 2023-03-02T14:43:41.567 | null | null | 11,853,599 | [
"python",
"correlation",
"netcdf",
"masked-array"
] |
75,616,999 | 1 | null | null | 3 | 45 | I created a `is_specialization_of` concept based on the type traits found [here](https://stackoverflow.com/questions/31762958/check-if-class-is-a-template-specialization). The concept checks if a type is a specialization of a certain template. Those work well in all cases where I just have type template parameters. But... | Allow metafunction to take templates with non-type and type template arguments regardless | CC BY-SA 4.0 | null | 2023-03-02T14:41:18.907 | 2023-03-02T14:50:36.490 | 2023-03-02T14:50:36.490 | 11,770,390 | 11,770,390 | [
"c++",
"templates",
"c++-concepts",
"template-templates",
"non-type-template-parameter"
] |
75,617,020 | 1 | null | null | 0 | 22 | Here i am creating a second type of collection in a database using mongoose and the first collection was created in the database but the second one don't show. I have refreshed several time
but it is not showing in the database
```
const mongoose = require('mongoose');
mongoose.connect("mongodb://localhost:27017/fruits... | Mongoose don't create the second collection in the database | CC BY-SA 4.0 | null | 2023-03-02T14:43:46.893 | 2023-03-02T15:27:18.933 | null | null | 20,202,763 | [
"node.js",
"mongodb",
"mongoose",
"mongodb-query"
] |
75,617,024 | 2 | null | 2,100,448 | 0 | null | I got this error and it was because I used explorer to copy/paste a directory into Windows Subsystem For Linux. Owner of all the files was `root`, but my WSL user was `art`. When I tried moving or modifying any files in the directory as user `art` I got permission denied.
I gave it a `sudo chown -R <my user name> <pa... | null | CC BY-SA 4.0 | null | 2023-03-02T14:44:22.880 | 2023-03-02T14:44:22.880 | null | null | 1,158,478 | null |
75,617,026 | 2 | null | 633,258 | 0 | null | As others have answered, for those using ReSharper their tags should automatically be highlighted, but the place in the options to set tags is called "To-do Explorer". Unsure if it changed since the other answer but wanted to add that for any using ReSharper as of 2023.
| null | CC BY-SA 4.0 | null | 2023-03-02T14:44:25.717 | 2023-03-02T14:44:25.717 | null | null | 21,319,837 | null |
75,617,023 | 1 | 75,617,105 | null | 0 | 13 | For testing purposes, I use a script which is rather long. It basically creates a workspace for every test with as name the test together with mock data .
This is the idea of the query in python:
```
await client.query(f"""//ti
// create workspace
workspace = Workspace{{
name: "{name}",
}};
... | Large code in ThingsDB is running slow, how to increase performance? | CC BY-SA 4.0 | null | 2023-03-02T14:44:11.940 | 2023-03-02T14:48:33.787 | null | null | 21,133,897 | [
"python",
"generics"
] |
75,617,027 | 2 | null | 75,616,823 | 0 | null | Change your endpoint to `POST` (instead of `GET`):
```
app.post("/signup", (req, res) => {
// ...
});
```
| null | CC BY-SA 4.0 | null | 2023-03-02T14:44:28.100 | 2023-03-02T14:44:28.100 | null | null | 2,436,655 | null |
75,617,030 | 2 | null | 75,616,752 | -2 | null | Try in get data() putting the f.close() after data= content.strip().spli....
| null | CC BY-SA 4.0 | null | 2023-03-02T14:44:31.963 | 2023-03-02T14:55:04.033 | 2023-03-02T14:55:04.033 | 34,806 | 21,066,446 | null |
75,617,028 | 2 | null | 75,616,971 | 2 | null | My Answer:
```
const arr = [
{ name: { "id": 1 }, data: { "dataVal": "value1" } },
{ name: { "id": 2 }, data: { "dataVal": "value2" } },
{ name: { "id": 3 }, data: { "dataVal": "value3" } },
]
Object.assign(arr[0], { newArr: [] })
console.log(arr)
```
| null | CC BY-SA 4.0 | null | 2023-03-02T14:44:28.840 | 2023-03-02T15:08:20.373 | 2023-03-02T15:08:20.373 | 3,982,562 | 19,992,928 | null |
75,617,032 | 1 | null | null | -1 | 25 | Is it possible to get a sequential number to each matching lexeme in regular expression?
Actually I need to "obfuscate" some structured data by replacing each matching entry with the unique value, say to transform from
John
Paul
...
to
...
Is it possible with backreferences or anyting else?
I'm asking for a language-... | regex entry sequence number | CC BY-SA 4.0 | null | 2023-03-02T14:44:40.323 | 2023-03-03T08:25:45.317 | 2023-03-03T08:25:45.317 | 7,871,066 | 7,871,066 | [
"regex",
"regexp-replace"
] |
75,617,031 | 2 | null | 75,616,830 | 0 | null | Added formula to your [sheet here](https://docs.google.com/spreadsheets/d/1i3S1xVZocZ6PeLVCgunuGkPcwc_AhvdlMxj4GRFxCw0/edit#gid=1347025551):
```
=byrow(D4:G,lambda(z,if(counta(z)=0,,if(offset(index(z,,1),,-1)>0,{A1,+filter(D3:G3,z<>"")},{+filter(D3:G3,z<>""),A1}))))
```
[](https://i.stack.imgur.com/ONsda.png)
| null | CC BY-SA 4.0 | null | 2023-03-02T14:44:32.050 | 2023-03-02T14:44:32.050 | null | null | 5,479,575 | null |
75,617,033 | 2 | null | 75,616,660 | 0 | null | Code:
```
INPUT = int(input("Enter value:"))` #Get input
```
#count the difference between input and each c of dictionary
#mind not allowing smaller values to comes for calculation, lastly gettng min of list
```
nearst = min([data[d]['c'] for d in data if data[d]['c']>=INPUT], key=lambda x: x-INPUT)
```
#now loop ove... | null | CC BY-SA 4.0 | null | 2023-03-02T14:44:41.000 | 2023-03-02T14:54:40.907 | 2023-03-02T14:54:40.907 | 13,888,486 | 13,888,486 | null |
75,617,011 | 1 | null | null | 0 | 20 | In my application, I have various controllers that are labeled, for example, like this:
```
@RestController
@RequestMapping(path = "/rest/protected/")
@Tag(name = "AdminController")
public class AdminController {
@RestController
@RequestMapping("/rest/public/")
@Tag(name = "UserController")
public class UserControlle... | What is the difference between group and URL configuration in Spring Boot's OpenAPI 3 (Swagger UI)? | CC BY-SA 4.0 | null | 2023-03-02T14:43:23.843 | 2023-03-02T14:43:23.843 | null | null | 5,050,691 | [
"spring-boot",
"swagger",
"openapi",
"springdoc",
"springdoc-openapi-ui"
] |
75,617,036 | 1 | null | null | 0 | 18 | I have the following dataframe:
```
import pandas as pd
from datetime import datetime
cols = pd.MultiIndex.from_tuples([(datetime(2020, 5, 17), "A1", "A"),
(datetime(2020, 5, 17), "B1", "B")])
data = [[5, 10], [2, 15], [6, 14]]
df = pd.DataFrame(data, columns=cols)
lst = [5, '*', 'd... | Use the eval function on a multiindex column that contains a column level with timestamps | CC BY-SA 4.0 | null | 2023-03-02T14:44:45.293 | 2023-03-02T14:44:45.293 | null | null | 5,094,019 | [
"python-3.x",
"pandas"
] |
75,617,038 | 1 | 75,632,906 | null | 0 | 46 | I want to develope a view which open on click to floating action button. Basically i need to develope a design which i attached below.
[](https://i.stack.imgur.com/rmXk7.png)
| Circular Floating Action Button with Menu | CC BY-SA 4.0 | null | 2023-03-02T14:44:49.693 | 2023-03-04T00:28:25.560 | null | null | 13,875,707 | [
"android",
"kotlin"
] |
75,617,029 | 1 | 75,617,231 | null | 0 | 17 | Only when I remove the link, I'm able to see the div tag with the tooltip. how does these two relate? the div content is not appearing with the link.
```
.tooltip {
position: relative;
display: inline-block;
border-bottom: 1px dotted black;
}
.tooltip .tooltiptext {
visibility: hidden;
width: 120px;
backgr... | why is the tooltip working after i remove the link? | CC BY-SA 4.0 | null | 2023-03-02T14:44:31.023 | 2023-03-02T15:00:58.983 | 2023-03-02T14:48:44.940 | 82,548 | 20,104,481 | [
"html",
"css",
"bootstrap-4"
] |
75,617,039 | 1 | null | null | -1 | 23 | I'm interested in writing my own implementations of TCP CC algorithms (in C) like Reno, Vegas, Cubic, etc. I don't know how should I implement them. For example, I'm aware that when one creates a socket one can choose which CC algorithm to use, but if I want to use my own what should I do? Additionally, once I write my... | How to implement/test TCP CC algorithms? | CC BY-SA 4.0 | null | 2023-03-02T14:44:53.067 | 2023-03-02T14:45:28.500 | 2023-03-02T14:45:28.500 | 16,768,953 | 16,768,953 | [
"c",
"tcp",
"congestion-control"
] |
75,617,035 | 1 | null | null | -1 | 19 | When I try to send a post request using Axios I keep getting 405 method not allowed. I tried and debugged my code, but I couldn't find an issue.
Code:
-
```
gameDataApi.setUser(this.gameData).then((res) => {
console.log(res);
})
router.push('/game');
```
-
```
import axios from "axios"
export default {
se... | 405 Method not allowed in my Laravel Vue application using Axios | CC BY-SA 4.0 | null | 2023-03-02T14:44:44.893 | 2023-03-03T14:25:43.553 | null | null | 19,828,325 | [
"javascript",
"laravel",
"http",
"axios"
] |
75,617,022 | 1 | null | null | 0 | 52 | Here is my sample table and data
```
create table tmpLoan
(
LoanNo varchar(10),
BorNo varchar(10),
)
insert into tmpLoan values ('L1', 'B1')
insert into tmpLoan values ('L1', 'B2')
insert into tmpLoan values ('L2', 'B1')
insert into tmpLoan values ('L2', 'B2')
```
One loan can have multiple borrowers and a bo... | Getting a single combination out of a many-to-many relationship | CC BY-SA 4.0 | null | 2023-03-02T14:44:09.003 | 2023-03-02T15:32:54.077 | 2023-03-02T15:20:16.110 | 134,204 | 7,499,835 | [
"sql-server",
"tsql",
"sql-server-2019"
] |
75,617,042 | 1 | null | null | 0 | 58 | I have a function on Windows to get the address of the module in buf:
```
GetModuleFileName(0, buf, buf_size);
```
I want to do the same on Linux (which I do not know much about). I found the function `dladdr(X, &dlInfo)` which seems to do the right thing. As I understand I get the name and other details (`dli_sname`,... | Is there an equivalent of GetModuleFileName() for Linux and how would I use it? | CC BY-SA 4.0 | null | 2023-03-02T14:44:57.617 | 2023-03-02T15:16:04.443 | 2023-03-02T14:49:55.280 | 44,729 | 3,443,063 | [
"c++",
"linux",
"winapi",
"getmodulefilename",
"dladdr"
] |
75,617,044 | 2 | null | 75,616,822 | 1 | null | convert a string to an integer
```
String myString = "123";
int myInt = int.parse(myString);
print(myInt); // Output: 123
```
If you're not sure whether the string can be safely parsed as an integer, you can use the `int.tryParse()` method instead. The `int.tryParse()` method returns null if the string cannot be parse... | null | CC BY-SA 4.0 | null | 2023-03-02T14:44:59.643 | 2023-03-02T14:44:59.643 | null | null | 5,425,860 | null |
75,617,043 | 1 | null | null | -3 | 47 | I'm trying to map my data so that I can check if it's true/false and check/uncheck a checkbox. How can I do this?
I have the following JSON:
```
const allJson = {
datum: false,
naam: true,
dag: true,
tijd: true,
aangemaaktDoor: true,
absentiereden: true,
opmerkingen: true,
};
```
App.vue:... | How to map this Javascript object? | CC BY-SA 4.0 | null | 2023-03-02T14:44:57.490 | 2023-03-02T14:59:10.687 | 2023-03-02T14:52:47.673 | 34,806 | 6,803,432 | [
"javascript",
"vue.js",
"vuejs3",
"javascript-objects"
] |
75,617,047 | 2 | null | 60,431,210 | 0 | null | Pymodbus in RTU, not only allows to read 13 registers, the maximum reading length is 16 registers, including headers and crc. In this case the best option, if you are obviously using RTU is minimalmodbus.
| null | CC BY-SA 4.0 | null | 2023-03-02T14:45:08.937 | 2023-03-02T14:45:08.937 | null | null | 13,831,315 | null |
75,617,046 | 2 | null | 75,616,822 | 2 | null | You can do lazy initialization
```
var duration = TextEditingController();
late int? week = int.tryParse(duration.text);
```
Or can assign value on initState.
```
var duration = TextEditingController();
int? week;
@override
void initState() {
super.initState();
week = week = int.tryParse(duration.text... | null | CC BY-SA 4.0 | null | 2023-03-02T14:45:05.700 | 2023-03-02T14:45:05.700 | null | null | 10,157,127 | null |
75,617,045 | 2 | null | 75,616,971 | 1 | null | Object is a reference type, so you can get the target object from the `array` by `index` and then update its `newArr` property.
```
let arr = [{
name: {
"id": 1
},
data: {
"dataVal": 'value1'
}
}, {
name: {
"id": 2
},
data: {
"dataVal": 'value2'
}
}, {
name: {
"id": 3
},
data: ... | null | CC BY-SA 4.0 | null | 2023-03-02T14:45:01.217 | 2023-03-02T14:45:01.217 | null | null | 11,887,902 | null |
75,617,037 | 1 | null | null | 0 | 18 | I need to make a view that display events for a whole week but horizontaly like [here](https://i.stack.imgur.com/yiQPF.png). It was hard finding documentation and advice for making each day verticaly and the slot duration horizontaly but i found [here](https://codepen.io/acerix/pen/MWbWBJZ?editors=0011) an exemple usin... | Fullcalendar events not displaying in horizontal resource week view | CC BY-SA 4.0 | null | 2023-03-02T14:44:46.710 | 2023-03-02T14:48:15.710 | 2023-03-02T14:48:15.710 | 19,102,915 | 19,102,915 | [
"javascript",
"fullcalendar"
] |
75,617,040 | 1 | null | null | 0 | 10 | I want to connect python to a database and I get this error:
```
Error while connecting to MySQL 2013 (HY000): Lost connection to MySQL server at 'reading initial communication packet', system error: 0
```
The code is this:
```
import mysql.connector
from mysql.connector import Error
try:
connection = mysql.conn... | Error while connecting to MySQL 2013 (HY000): Lost connection to MySQL server at 'reading initial communication packet', system error: 0 | CC BY-SA 4.0 | null | 2023-03-02T14:44:53.900 | 2023-03-02T14:49:25.603 | 2023-03-02T14:49:25.603 | 330,315 | 11,016,458 | [
"mysql",
"database-connection",
"connect"
] |
75,617,050 | 2 | null | 75,614,814 | 0 | null | I refereed to this YouTube channel when I was making a chat app during my flutter training. You could refer to it to understand the fundamentals for creating a chat app.
Hope this helps!
Link: [https://youtu.be/FTju8w4zEno](https://youtu.be/FTju8w4zEno)
| null | CC BY-SA 4.0 | null | 2023-03-02T14:45:22.093 | 2023-03-02T14:45:22.093 | null | null | 21,317,676 | null |
75,617,053 | 2 | null | 75,573,777 | 1 | null | Chrome just updated to a new version and now you can't see some cookies, I recommend you to install [cookie manager](https://chrome-extension://iphcomljdfghbkdcfndaijbokpgddeno/manager.html) or some extension like that.
That was what I did.
| null | CC BY-SA 4.0 | null | 2023-03-02T14:45:24.627 | 2023-03-02T14:45:24.627 | null | null | 4,774,125 | null |
75,617,054 | 2 | null | 70,636,241 | 0 | null | @Keepps [answer](https://stackoverflow.com/a/71926972/9735874) works, but you need to set the "Picking Mode" of all the UI elements you don't want to affect the result to "Ignore".
| null | CC BY-SA 4.0 | null | 2023-03-02T14:45:24.870 | 2023-03-02T14:46:18.767 | 2023-03-02T14:46:18.767 | 9,735,874 | 9,735,874 | null |
75,617,052 | 1 | null | null | 0 | 17 | We have a project that uses Chrome Headless print to pdf to save a google search results to PDF.
Previously the generated PDF has a date and timestamp when it was created, but recently the PDF has no date and timestamp anymore.
Below is the sample command line:
chrome --headless --print-to-pdf="C:\Test\file32.pdf" [htt... | Chrome Headless Print To PDF Has No Date and Time Stamp | CC BY-SA 4.0 | null | 2023-03-02T14:45:24.477 | 2023-03-02T14:45:24.477 | null | null | 9,720,022 | [
"google-chrome-headless"
] |
75,617,048 | 1 | null | null | 0 | 44 | We have a static website stored in a public container an an Azure Storage account, which is currently serving through several CDN endpoints. We want the storage account to stop being publicly accessible and the site to be accessed ONLY through the CDN endpoints. We've done some research and there seem to be 2 main ways... | Restrict Public Access to Azure Storage - Allow only access through CDN endpoints | CC BY-SA 4.0 | null | 2023-03-02T14:45:19.547 | 2023-03-02T15:05:25.103 | 2023-03-02T15:05:25.103 | 9,393,952 | 9,393,952 | [
"azure",
"azure-blob-storage",
"azure-cdn",
"static-web-apps"
] |
75,617,049 | 1 | null | null | -1 | 36 | I tried to re-create the pseudocode for A* pathfinding ([https://en.wikipedia.org/wiki/A*_search_algorithm](https://en.wikipedia.org/wiki/A*_search_algorithm))
I keep getting stuck on openSet.remove(current) as for me it just raises a key error.
```
openSet = {start_tile}
cameFrom = dict()
gScore = dict()
fScore = dict... | Key error even though the item is in the set | CC BY-SA 4.0 | null | 2023-03-02T14:45:20.743 | 2023-03-02T15:05:10.217 | 2023-03-02T15:05:10.217 | 5,577,765 | 20,428,086 | [
"python",
"keyerror"
] |
75,617,051 | 2 | null | 75,585,544 | 0 | null | dataCollection is an array. PARAMS is also an array.
Your first IconTabbarFilter is `dataCollection/0`/.
Your first CustomListItem is `dataCollection/0/PARAMS/0`.
The problem is that you need the dataCollection index in your PARAMS array to know which element you are in. You have to modify your dataCollection with a sc... | null | CC BY-SA 4.0 | null | 2023-03-02T14:45:23.330 | 2023-03-03T10:46:09.300 | 2023-03-03T10:46:09.300 | 2,042,216 | 2,042,216 | null |
75,617,059 | 1 | null | null | 0 | 5 | I normally use `readline-sync` to get user's keyboard input via the console. But apparently this doesn't work in Coderpad. What are my other options for this task?
tried using `readline-sync`, returns `Cannot find module: 'readline-sync'`
| During Coderpad interview with JavaScript, how do I get user keyboard input? | CC BY-SA 4.0 | null | 2023-03-02T14:45:42.623 | 2023-03-02T14:45:42.623 | null | null | 17,085,755 | [
"javascript",
"io"
] |
75,617,060 | 2 | null | 75,616,283 | 0 | null | Here is my final solution, it works great.
```
document.addEventListener("keypress", function(e) {
var key = e.which || e.keyCode || 0;
if (key === 13) {
handleBalloonClick();
}
if (key === 32) {
resetState();
}
})
```
| null | CC BY-SA 4.0 | null | 2023-03-02T14:45:43.753 | 2023-03-02T14:56:34.663 | 2023-03-02T14:56:34.663 | 21,044,618 | 21,044,618 | null |
75,617,055 | 1 | null | null | 0 | 9 | Frontend developers are requesting an interface that holds all the types that are currently validatable in our system.
I have created the following interface `IValidatable`
```
public interface IValidatable
{
public AddressInput AddressInput { get; set; }
// Here are potentially more input types
}
```
I have a... | Exception when adding interface type that holds already registered types | CC BY-SA 4.0 | null | 2023-03-02T14:45:36.613 | 2023-03-02T15:43:22.883 | null | null | 7,728,361 | [
"graphql",
"hotchocolate"
] |
75,617,057 | 1 | null | null | 0 | 6 | I tried running this code from their .
```
const mailgun = new Mailgun(FormData);
const mg = mailgun.client({ username: 'api', key: MY_MAILGUN_API, url: 'https://api.eu.mailgun.net'})
mg.messages.create('sandbox-123.mailgun.org', {
from: "Excited User <mailgun@sandbox-123.mailgun.org>",
to: ["myrealemail@gm... | basic mailgun.js node setup not working in EU | CC BY-SA 4.0 | null | 2023-03-02T14:45:38.363 | 2023-03-02T14:45:38.363 | null | null | 1,751,163 | [
"node.js",
"mailgun",
"mailgun-api"
] |
75,617,061 | 1 | null | null | 0 | 13 | I am trying to see the distribution of each label in a subset that I split off from the main dataset using the
```
torch.utils.data.random_split()
```
function which returns a subset but I have no clue on how to go about doing that
I have tried using
```
print(dict(Counter(dataset.targets)))
```
but I get an error fr... | how to check the distribution of labels in a PyTorch Dataset subset? | CC BY-SA 4.0 | null | 2023-03-02T14:45:56.703 | 2023-03-03T00:26:57.997 | 2023-03-03T00:26:57.997 | 4,685,471 | 15,091,702 | [
"python",
"machine-learning",
"pytorch"
] |
75,617,062 | 1 | null | null | 0 | 12 | I'm a big fan of duping code into my JSX and letting my linter reorganise it, but in React Native it creates strings outside of Text components like this:
```
</View>{" "}
</View>
```
The expected behaviour is for eslint to remove that string altogether, as I never actually typed it nor did I intend to leave a space.
... | Stop eslint from breaking JSX code with "Text strings must be rendered within a <Text> component." | CC BY-SA 4.0 | null | 2023-03-02T14:45:59.693 | 2023-03-02T14:51:09.867 | 2023-03-02T14:51:09.867 | 15,547,098 | 15,547,098 | [
"react-native",
"eslint"
] |
75,617,064 | 1 | null | null | -2 | 25 | I've been trying to use some form of API to display a screenshot of whatever website URL I type into a basic html text input box after clicking on a button to grab the screenshot. I've tried using another company but I didn't want to pay for it so I told them I wasn't interested. I really need this function for my app.... | Show website screenshot based on text input url after button click | CC BY-SA 4.0 | null | 2023-03-02T14:46:02.397 | 2023-03-02T14:58:28.267 | null | null | 20,941,574 | [
"javascript",
"html",
"api"
] |
75,617,067 | 2 | null | 75,615,452 | 1 | null | The only useful piece of data I would add here is that DynamoDB averages your RCUs and WCUs over a 5-minute period (not sure where I read it, but somebody may correct me), so your reads and writes can spike as long as the total number of units consumed over the 5-min window is less than the provisioned capacity. (Plea... | null | CC BY-SA 4.0 | null | 2023-03-02T14:46:07.593 | 2023-03-02T14:46:07.593 | null | null | 17,464,257 | null |
75,617,056 | 2 | null | 75,616,664 | 1 | null | Please try the following solution via XSLT 1.0
It is using a so called pattern.
```
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<appSettings>
<add key="ClientName" value="WXYZ"/>
</appSettings>
<system.web>
<httpCookies requireSSL="true"/>
<authentication mode="Forms">
... | null | CC BY-SA 4.0 | null | 2023-03-02T14:45:38.357 | 2023-03-02T17:47:11.030 | 2023-03-02T17:47:11.030 | 1,932,311 | 1,932,311 | null |
75,617,058 | 1 | null | null | 0 | 16 | I have a server written in C++ using msgpack-rpc-cpp.
There is a description of a method that the client needs to call remotely on the server:
```
void SERVER_INIT(TLogicRpc_StParams stParams);
struct TLogicRpc_ServerParams
{
string destAddr;
unsigned int destPort = 0;
bool sslEnable;
MSGPACK_DEFINE_A... | How correctly compose in Python a structure described in C++ and send it using msgpack-rpc-python | CC BY-SA 4.0 | null | 2023-03-02T14:45:42.193 | 2023-03-02T15:03:59.817 | 2023-03-02T15:03:59.817 | 6,914,269 | 6,914,269 | [
"python",
"c++",
"rpc",
"msgpack"
] |
75,617,065 | 1 | 75,617,881 | null | 0 | 14 | I have started a strimzi kafka cluster with the following broker configuration from `examples/metrics/kafka-metrics.yaml` in AWS EKS environment with persistence-claim as 10G.
```
replicas: 3
...
offsets.topic.replication.factor: 3
transaction.state.log.replication.factor: 3
transaction.state.log.min.isr: 2
default.rep... | Producer failing to publish broker shows NotEnoughReplicasException | CC BY-SA 4.0 | null | 2023-03-02T14:46:02.680 | 2023-03-02T15:57:00.980 | null | null | 1,761,065 | [
"apache-kafka",
"strimzi"
] |
75,617,068 | 1 | null | null | 0 | 27 | I need to open a shared drive based on a variable. It works fine if I try open the drive without trying
to use a variable but with the variable it opens documents folder.
Pete
```
function opendirectory( nwk as string) 'here I passed the 2804544 via nwk
Dim teststr teststr3 As String
teststr = Chr(34) &... | Opening shared drive directory with variable opens default documents folder vb.net | CC BY-SA 4.0 | null | 2023-03-02T14:46:11.510 | 2023-03-02T15:31:17.217 | 2023-03-02T15:31:17.217 | 67,187 | 67,187 | [
"vb.net"
] |
75,617,069 | 2 | null | 69,753,439 | 0 | null | Thanks for pointing this out. The support suggestion using VNet seems like an overkill, because VNet is only avalaible starting with the pricey Premium tier of APIM.
However, there are other solutions.
- -
| null | CC BY-SA 4.0 | null | 2023-03-02T14:46:13.283 | 2023-03-02T14:46:13.283 | null | null | 548,655 | null |
75,617,074 | 2 | null | 73,012,646 | 0 | null | When using `-source interfaces.go` in the command, you are enabling the source mode of the generator.
You need to provide the form which imports the symbol `Doer` from the fully-qualified package name
Something like:
```
//go:generate mockgen -package worker -destination mock-interfaces.go github.com/yourhandle/worker ... | null | CC BY-SA 4.0 | null | 2023-03-02T14:46:50.700 | 2023-03-02T14:46:50.700 | null | null | 144,411 | null |
75,617,076 | 2 | null | 75,616,951 | 0 | null | Spring Boot 3 requires Jakarta EE 9 or later. WildFly 25, unless you're using the Jakarta EE 9.1 preview distribution, only supports Jakarta EE 8. If you want to use Spring Boot 3.0 and you must use Wildfly, you'll either have to use the EE 9.1 preview distribution of Wildfly 25 or upgrade to Wildfly 27 [which supports... | null | CC BY-SA 4.0 | null | 2023-03-02T14:46:59.910 | 2023-03-02T14:46:59.910 | null | null | 1,384,297 | null |
75,617,077 | 2 | null | 75,612,856 | 0 | null | Thank you JoSSte,
I've used the wizzard and followenbd the instructions. It works now.
| null | CC BY-SA 4.0 | null | 2023-03-02T14:47:03.400 | 2023-03-02T14:47:03.400 | null | null | 10,770,664 | null |
75,617,063 | 2 | null | 75,542,711 | 0 | null | Make sure your API hosted in a VM and Web app are in the same V-NET and there's a dedicated subnet created for Web App while integrating the Web app with the V-NET.


![enter image descriptio... | null | CC BY-SA 4.0 | null | 2023-03-02T14:46:01.873 | 2023-03-02T14:46:01.873 | null | null | 20,849,135 | null |
75,617,075 | 1 | null | null | 0 | 16 | In my "Cases" post type, I have a ACF relationship field called "Work" where I connect "Cases" with the post type "Work". One of the posts in "Work" is called "Branding".
This is where I'm at right now:
```
$case_args = array(
'post_type' => 'cases',
'posts_per_page' => -1,
'meta_key' => 'work',
... | WP ACF relationship query | CC BY-SA 4.0 | null | 2023-03-02T14:46:54.807 | 2023-03-03T07:39:20.437 | 2023-03-02T14:47:34.153 | 21,319,760 | 21,319,760 | [
"php",
"arrays",
"wordpress"
] |
75,616,946 | 1 | null | null | -1 | 26 | This is my email code and this looks fine in all the other email clients ( iPhone, windows outlook, browsers) except MacBook Pro which is running on . I did add all the idea suggested in Stackoverflow and no result. Please note I do not have the device and I have to forward it to my client and do the testing.
Attaching... | HTML Email issue in Outlook MacOs Devices | CC BY-SA 4.0 | null | 2023-03-02T14:36:41.827 | 2023-03-04T12:24:00.300 | 2023-03-04T12:24:00.300 | 1,603,351 | 6,139,741 | [
"html",
"css",
"macos",
"email",
"html-email"
] |
75,617,034 | 1 | null | null | 0 | 6 | I am working on a react-native project where I am generating a QR code. Dependency used is react-native-qrcode-generator. Its working fine in iOS but crashes in Android with Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x20 in tid 20188 (RenderThread.
I haave used hardwareAcceleration tag in manifest, c... | QRCode of react-native-qrcode-generator crashing in Android, working fine with ios | CC BY-SA 4.0 | null | 2023-03-02T14:44:43.707 | 2023-03-02T14:44:43.707 | null | null | 3,172,844 | [
"react-native",
"react-native-qrcode-generator"
] |
75,617,071 | 1 | null | null | 0 | 18 | Im trying to make my test more informative currently it just tells me there's three issues on this page which is great it should fail based on this. I want to extract why it's failed. I want it to be more informative so that when it's reporting it says Here's the failing test, here's the problem, here's the element cau... | Extracting DOM and node text using Cypress to provide more information for failing test | CC BY-SA 4.0 | null | 2023-03-02T14:46:34.940 | 2023-03-02T14:46:34.940 | null | null | 8,444,946 | [
"javascript",
"dom",
"cypress",
"accessibility"
] |
75,617,080 | 2 | null | 11,045,077 | 0 | null | You can set an alias for with your preferred editor.
Open shell profile
```
notepad $profile
```
Add the Set-Alias command
```
Set-Alias edit 'C:\Program Files\Sublime Text\subl.exe'
```
Then on a new shell
```
edit file.txt
```
| null | CC BY-SA 4.0 | null | 2023-03-02T14:47:11.543 | 2023-03-02T15:11:24.690 | 2023-03-02T15:11:24.690 | 8,450,665 | 8,450,665 | null |
75,617,082 | 2 | null | 8,396,685 | 0 | null | I got this problem on Windows 10, and solved it by checking the checkbox "Beta: Use Unicode UTF-8 for worldwide language support" in Windows Control Panel.
| null | CC BY-SA 4.0 | null | 2023-03-02T14:47:13.987 | 2023-03-02T14:47:13.987 | null | null | 16,869,928 | null |
75,617,081 | 1 | null | null | -3 | 12 | This is not giving me an output and also not giving me an error i dont know whats wrong
I was just learning oop
```
class Dog(object):
def __init__(self , name , age) :
self.name = name
self.age = age
def speak(self ):
print('I am ' + self.name + ' and I am ' + self.age + 'years old.')
... | why is my code in python not giving me an output? | CC BY-SA 4.0 | null | 2023-03-02T14:47:11.593 | 2023-03-03T12:45:14.670 | 2023-03-03T12:35:56.567 | 12,977,233 | 21,250,783 | [
"class",
"oop"
] |
75,617,079 | 1 | null | null | -1 | 15 | Im getting this error
> Error: TypeError: Cannot read properties of undefined (reading '0')
at Interface.parseLog
At this code somewhere i dont know where in the code.
```
const AddNewEvent = (eventFilter, provider, callback) => {
provider.removeListener(eventFilter)
provider.on(eventFilter, async (logs) => {
... | Error: TypeError: Cannot read properties of undefined (reading '0') at Interface.parseLog | CC BY-SA 4.0 | null | 2023-03-02T14:47:06.123 | 2023-03-02T14:48:36.700 | 2023-03-02T14:48:36.700 | 21,319,850 | 21,319,850 | [
"javascript",
"node.js"
] |
75,617,083 | 1 | null | null | 0 | 19 | I added the stripe payment system to my application. I'm trying in test environment. Stripe's checkout ui is presented to the user when the user presses the button. There is no problem, everything works, even I can get payment from the user. Status succes. But I'm getting a lot of content security policy errors. I don'... | Stripe checkOut method Content Security Policy Error | CC BY-SA 4.0 | null | 2023-03-02T14:47:18.043 | 2023-03-02T14:47:18.043 | null | null | 19,898,557 | [
"angular",
"google-cloud-functions",
"stripe-payments"
] |
75,617,073 | 1 | null | null | 0 | 18 | I'm currently using a macos GitHub runner from their virtual environments for CI/CD for my iOS application. This works very well.
To sign the app, the Apple certificate and provisioning profile is set on the GitHub runner with the credentials stored in GitHub secrets in a step in the workflow file:
```
- name: Install ... | Xcode CodeSigning fails on self-hosted action runner with error 'Warning: unable to build chain to self-signed root for signer...' | CC BY-SA 4.0 | null | 2023-03-02T14:46:48.627 | 2023-03-03T07:09:47.043 | null | null | 2,553,036 | [
"ios",
"xcode",
"continuous-integration",
"continuous-deployment",
"github-actions-self-hosted-runners"
] |
75,617,087 | 2 | null | 75,617,008 | 1 | null | Use the [datetime](https://docs.python.org/3/library/datetime.html) module:
```
import os, datetime
os.makedirs((datetime.datetime.now()
-datetime.timedelta(days=30)
).strftime('%y%m%d'), exist_ok=True)
```
`strftime('%Y/%m/%d')`
| null | CC BY-SA 4.0 | null | 2023-03-02T14:47:31.307 | 2023-03-02T14:58:11.460 | 2023-03-02T14:58:11.460 | 16,343,464 | 16,343,464 | null |