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,637,797
2
null
75,637,543
1
null
I am not sure what kind of layout you are going for but I believe this line: ``` [sg.Text('???', sg.Button('???'))], ``` should be ``` [sg.Text('???'), sg.Button('???')], ```
null
CC BY-SA 4.0
null
2023-03-04T18:33:18.783
2023-03-04T18:33:18.783
null
null
14,015,126
null
75,637,796
1
75,638,195
null
1
17
In pandas, I'm familiar with how to slice a Multi-Index with a list to get multiple values, like such: ``` (Pdb) df = pd.DataFrame({"A": range(0,10), "B": -1, "C": range(20,30), "D": range(30,40), "E":range(40,50)}).set_index(["A", "B", "C"]) (Pdb) df D E A B C 0 -1 20 30 40 1 -1 21 31 41 2 -1...
In pandas, how do I get multiple slices of a MultiIndexed-dataframe at a time?
CC BY-SA 4.0
null
2023-03-04T18:32:56.273
2023-03-04T19:34:32.143
null
null
54,873
[ "python", "pandas" ]
75,637,798
1
null
null
-1
14
I am trying to run an app that has a metronome playing a sound even when the user app puts the app into the background. This metronome will sound off as frequently as every 1 second and will not utilize the audio player so that the user can play other audio simultaneously. I have recently downloaded an app off of the A...
How to play a metronome sound in the background of React Native iOS app, without using the audio player?
CC BY-SA 4.0
null
2023-03-04T18:33:49.127
2023-03-04T18:33:49.127
null
null
17,679,802
[ "ios", "react-native", "background-task" ]
75,637,795
1
75,637,864
null
0
19
- ``` Product { variations [ { color, size } ] } ``` - ``` { variations [ { color: "Verde", size: "xxs" }, { color: "Blu", size: "m" }, ] } ``` EXAMPLES: - - - -
get only exact matches in every object inside an array of objects with aggregation in mongodb
CC BY-SA 4.0
null
2023-03-04T18:32:52.027
2023-03-04T18:49:57.313
2023-03-04T18:44:00.757
15,613,264
15,613,264
[ "mongodb", "mongoose", "search", "aggregation" ]
75,637,800
2
null
75,637,774
2
null
Use list comprehension with check for `None` values: ``` res = [(x or 0) + (y or 0) for x, y in zip(array_1, array_2[::-1])] ``` --- ``` [1, 4, 10, 17, 8, 4, 7] ```
null
CC BY-SA 4.0
null
2023-03-04T18:34:04.230
2023-03-04T18:34:04.230
null
null
3,185,459
null
75,637,799
1
null
null
0
9
I am trying to implement a simple SAT>IP viewer using Microsoft Media Foundation. Getting the raw MPEG2-TS from the SAT>IP server works but now I have to feed this to the Media Foundation API in order to play it. I implemented the CDPlayer expample program ( [https://learn.microsoft.com/en-us/windows/win32/medfound/how...
Microsoft Media Foundation: Feed media data to source resolver manually
CC BY-SA 4.0
null
2023-03-04T18:34:02.993
2023-03-04T18:34:02.993
null
null
10,908,683
[ "c++", "com", "video-streaming", "ms-media-foundation" ]
75,637,789
1
null
null
-2
24
im try to make it so that every time this repeats the amount of ks increases by 1 but this considers the oks as undefined i have tried putting add(ks, 1) but it returns that ks is undefined and if i put ks or oks as zero it returns the same number each time how do i do this if there is a way? it is for a text based gam...
I am having trouble with a variable definition
CC BY-SA 4.0
null
2023-03-04T18:31:57.180
2023-03-04T19:43:30.583
2023-03-04T19:43:30.583
21,332,882
21,332,882
[ "python", "variables" ]
75,637,794
2
null
75,637,170
2
null
The escape sequence is [ESC ] 9 ; 4 ; st ; pr ST](https://github.com/microsoft/terminal/pull/8055). `pr` is the current progress. `st` can be one of the following: | Value | Purpose | | ----- | ------- | | 0 | Clear the progress indicator | | 1 | Set the progress to pr % | | 2 | Set the progress to pr % in error s...
null
CC BY-SA 4.0
null
2023-03-04T18:32:51.480
2023-03-04T18:32:51.480
null
null
5,747,548
null
75,637,803
2
null
75,607,372
0
null
Try the below sample function snippet, be sure to test it from your side... Somehow i am not able to format the code in this editor, so pasting it image format. Hoping this may help somewhat.... [](https://i.stack.imgur.com/YAxjf.png)
null
CC BY-SA 4.0
null
2023-03-04T18:34:10.553
2023-03-04T18:34:10.553
null
null
13,174,899
null
75,637,802
2
null
51,854,891
0
null
In my case this one is work perfectly ``` setState(() { var decodedResponse = data['data']['goods']; decodedResponse.forEach((e) { goodsModelData.add(Good.fromJson(e)); }); print("stateModelData[0].name $goodsModelData"); }); ```
null
CC BY-SA 4.0
null
2023-03-04T18:34:04.963
2023-03-04T18:34:04.963
null
null
5,247,430
null
75,637,791
1
null
null
0
18
Working with a dataframe of the type: ``` df = pl.DataFrame({ 'order': [38681.0, 38692.0, 38680.0, 38693.0], 'shipto': ["471433", "239269", "471433","239269"], 'value': [10,20,30,None] }) ``` Need to Groupby the 'Shipto' column, sum the 'values' and aggregate the 'order' to a list. Have tried a few things but can't ge...
Python Polars unable to convert f64 column to str and aggregate to list
CC BY-SA 4.0
null
2023-03-04T18:32:14.940
2023-03-04T23:38:23.180
null
null
20,256,664
[ "python", "python-polars" ]
75,637,804
1
null
null
-1
9
I have a problem that I can't solve for days. I'm trying to create a Select that depends on another, but it's not working. Need help. I'm using Select2 with Livewire [enter image description here](https://i.stack.imgur.com/FBKQQ.png) [And here](https://i.stack.imgur.com/XvjCu.png) [And here](https://i.stack.imgur.com/L...
How do I create a select that depends on the other with Livewire and Select2?
CC BY-SA 4.0
null
2023-03-04T18:34:15.757
2023-03-04T19:09:20.483
2023-03-04T19:09:20.483
2,310,830
21,332,917
[ "php", "laravel", "drop-down-menu", "jquery-select2", "laravel-livewire" ]
75,637,807
1
null
null
-3
10
Set up a Springboot application and trying to use JPA annotations to get tables created in a postgres database. Looked everywhere but nothing is working [Dependencies](https://i.stack.imgur.com/Cr9Wo.png) [application.properties](https://i.stack.imgur.com/Gt2US.png) [Entity Class](https://i.stack.imgur.com/haTzi.png) [...
Databse tables not getting created by Spring in PostgreSql
CC BY-SA 4.0
null
2023-03-04T18:34:33.103
2023-03-04T18:45:28.753
2023-03-04T18:45:28.753
21,332,956
21,332,956
[ "postgresql", "spring-boot" ]
75,637,809
2
null
75,637,696
0
null
OP confirmed that it isn't Kubernetes but a VM. is the VM. Have you tried upping the may heap size `-Xmx3000m` ?
null
CC BY-SA 4.0
null
2023-03-04T18:34:51.677
2023-03-04T19:10:27.733
2023-03-04T19:10:27.733
12,881,733
12,881,733
null
75,637,801
1
null
null
0
16
I have a small project in mind for a mobile app that I am making in Flutter. At the moment I used HuggingFace to add a model ([https://huggingface.co/facebook/blenderbot-400M-distill](https://huggingface.co/facebook/blenderbot-400M-distill)) to my app using the Inference API. And everything is working fine. I would al...
Adding a Hugging Face model in a mobile app
CC BY-SA 4.0
null
2023-03-04T18:34:04.497
2023-03-04T18:34:04.497
null
null
15,277,591
[ "flutter", "machine-learning", "artificial-intelligence", "huggingface-transformers", "huggingface" ]
75,637,805
2
null
75,637,585
1
null
You did not return the `dict` data to client. This code will works ``` from fastapi import FastAPI, Request from pydantic import BaseModel app = FastAPI() dict = {"name": "","description": ""} class Item(BaseModel): name: str description: str @app.post("/item") async def create_item(request: Request, item: ...
null
CC BY-SA 4.0
null
2023-03-04T18:34:17.590
2023-03-04T18:34:17.590
null
null
8,054,998
null
75,637,811
2
null
71,080,468
0
null
Here's how it goes: 1. We iterate through the problems list, and just like you did we split the string to 3 parts: 2 operands and the operator. 2. We use the rjust(width) function which takes the column number to justify the output to the right. 3. The line length variable is just the length of the longest operand + 2...
null
CC BY-SA 4.0
null
2023-03-04T18:35:09.743
2023-03-04T21:00:55.770
2023-03-04T21:00:55.770
5,446,749
20,816,310
null
75,637,808
1
75,638,086
null
1
23
I have a document that looks something like this in CosmosDb: ``` { "id": "some-value", "cost": 20.5, "isAvailable": false } ``` When I run this query in data explorer on the portal, I get the following error: ``` SELECT VALUE c.isAvailable FROM c WHERE c.id = "some-value" ``` The error reads: > Cannot set p...
Trying to return bool value returns error on CosmosDb
CC BY-SA 4.0
null
2023-03-04T18:34:49.890
2023-03-04T19:35:22.790
2023-03-04T18:42:30.750
1,705,266
1,705,266
[ "azure-cosmosdb", "azure-cosmosdb-sqlapi" ]
75,637,812
2
null
75,630,785
0
null
The crate [device_query](https://crates.io/crates/device_query) can solve the problem. It doesn't even need a window to function, as the input is queried on demand by calling `DeviceState::get_keys()` and `DeviceState::mouse()` on a DeviceState instance for keyboard and mouse respectively. ``` use device_query::{Device...
null
CC BY-SA 4.0
null
2023-03-04T18:35:29.703
2023-03-04T18:35:29.703
null
null
21,168,597
null
75,637,806
2
null
75,630,079
0
null
Resolved. According to [this blog](https://blogs.windows.com/windowsdeveloper/2017/08/01/configure-app-start-log/), we are supposed to write `package.appxmanifest` in this form: ``` <Extensions> <uap5:Extension Category="windows.startupTask" Executable="SingleInstancedError.exe" EntryPoint="SingleInstan...
null
CC BY-SA 4.0
null
2023-03-04T18:34:24.297
2023-03-04T18:34:24.297
null
null
13,483,275
null
75,637,813
1
null
null
0
22
What I am trying to do is creating a variable that can hold the following data: ``` questiion = { 'title': '', 'description': '', 'questionTitle': '', 'option1Text': '', 'option2Text': '', 'option3Text': '', 'option1Correctness': false, ...
How can I define a variable like JSON object in Flutter?
CC BY-SA 4.0
null
2023-03-04T18:35:56.187
2023-03-04T19:38:05.467
null
null
20,706,987
[ "json", "flutter", "forms", "save", "fluttermap" ]
75,637,815
2
null
75,553,461
0
null
I see 2 solutions: 1. Navigate to the right folder using the command prompt and then launch jupyter notebook 2. Use VScode, like some other commenters/answers have suggested. After you download and install it from this link, click on the gear icon in the lower right hand corner and click on extensions. Then search for...
null
CC BY-SA 4.0
null
2023-03-04T18:36:00.633
2023-03-04T18:36:00.633
null
null
4,383,073
null
75,637,819
1
null
null
-1
24
I've been working on a school project where I am designing a webpage for school, and I've been trying to create a box that contains a paragraph of text. How do I do that? I've tried looking online, but I am still having a hard time creating one. Here is the information from the band.css style sheet for the paragraph bo...
How to create a box that holds a paragraph of text in HTML5
CC BY-SA 4.0
null
2023-03-04T18:36:15.480
2023-03-04T20:20:59.300
null
null
18,695,480
[ "html", "css", "notepad++", "xhtml" ]
75,637,816
2
null
40,987,309
0
null
This is how I do it, ``` <!DOCTYPE html> <html lang="en"> <head> <title>React App</title> <style> #loader-wrapper { top: 0; left: 0; right: 0; bottom: 0; position: fixed; background-color: white; z-index: 1000; } #loader-wrapper>img {...
null
CC BY-SA 4.0
null
2023-03-04T18:36:06.647
2023-03-04T18:36:58.540
2023-03-04T18:36:58.540
20,229,572
20,229,572
null
75,637,814
1
null
null
0
9
Not sure what the right words are but, I'm using Python to edit a 3d object in Blender. I can change the position by using: ``` some_3d_variable.obj.location = (0,1,0) ``` This moves the object to location (0, 1, 0) in meters i.e 100 centimeters: [](https://i.stack.imgur.com/tKgIS.png) I would like location to be in c...
Overwrite Blender python class method?
CC BY-SA 4.0
null
2023-03-04T18:35:58.390
2023-03-04T18:35:58.390
null
null
3,747,724
[ "python", "blender" ]
75,637,817
1
null
null
0
8
I'm building a react app with the route `/login` to be redirect to an external SSO site. The login flow is as following: - `a`- - - `/api/login/callback`- - the process works perfectly fine on Chrome, Edge and Safari but in Firefox, the redirection won't be triggered, instead it fires up a refresh action to refresh th...
Firefox - Link to external SSO website does not trigger redirect
CC BY-SA 4.0
null
2023-03-04T18:36:12.323
2023-03-04T18:36:12.323
null
null
21,332,932
[ "reactjs", "spring-boot", "firefox", "single-sign-on" ]
75,637,822
2
null
75,637,774
1
null
You can reverse the second list, then `zip()` them together, change `None`s to `0`s, then sum. If you don't fancy list comprehensions, you can do it like this: ``` def backsum(lst_1, lst_2): out = [] for a, b in zip(lst_1, reversed(lst_2)): if a is None: a = 0 elif b is None: ...
null
CC BY-SA 4.0
null
2023-03-04T18:36:44.187
2023-03-04T18:36:44.187
null
null
13,376,511
null
75,637,824
2
null
17,578,115
0
null
You can define simple lambda function ``` my_quant = lambda _q: lambda _data:_data.quantile(_q) ``` the use it with the required quantiles ``` df.aggregate([my_quant(0.1),my_quant(0.3),'median',my_quant(0.7)] ``` --- ** If you want to keep the aggregations name without renaming the indexes you can create lambda cr...
null
CC BY-SA 4.0
null
2023-03-04T18:37:01.300
2023-03-04T19:16:14.033
2023-03-04T19:16:14.033
8,986,943
8,986,943
null
75,637,826
2
null
50,893,435
0
null
If you don't want random filenames (in my project, I expect less than 100 total uploads and I want to be able to tell what they are in S3), here's @ZazOufUmI's answer adjusted for keeping original filenames plus a bit of randomness: ``` Rails.configuration.to_prepare do ActiveStorage::Blob.class_eval do before_cr...
null
CC BY-SA 4.0
null
2023-03-04T18:37:13.873
2023-03-04T18:37:13.873
null
null
776,109
null
75,637,827
2
null
75,637,605
0
null
You can align [vertically and horizontally](https://getbootstrap.com/docs/4.0/layout/grid/#vertical-alignment) the content of a column. Maybe the class `align-self-end` could solve your problem: ``` <div class="col-md-auto align-self-end"> <div class="row"> <button class="btn btn-outline-success "> Excel ...
null
CC BY-SA 4.0
null
2023-03-04T18:37:32.293
2023-03-04T18:37:32.293
null
null
21,241,330
null
75,637,825
1
null
null
-3
70
I'm super new to C++, and lets say I input this numbers in `N,M,B 10,20,15` I think that the output should be `1 15`, but for some reason the output is `1 150 15`, but wherever I remove the last `cout<<c" "<<e;` then it gives me `1 15`. I mean, `else if` will do his job if the first `if` is not true, right? Or, it will...
I don't understand mistake can someone point it out
CC BY-SA 4.0
null
2023-03-04T18:37:03.887
2023-03-05T00:36:20.730
2023-03-04T21:44:57.603
65,863
20,321,112
[ "c++" ]
75,637,823
2
null
75,637,774
0
null
You would not want to do a nested for loop for this problem as for every index of the first array, you will iterated over all indexes of the second array. Instead you want to use one for loop that represents both the first element of the first array and the last element of the second array (you can think of reversing t...
null
CC BY-SA 4.0
null
2023-03-04T18:36:51.893
2023-03-04T18:48:03.233
2023-03-04T18:48:03.233
16,507,310
16,507,310
null
75,637,832
1
null
null
-3
11
I have 9 tables on webpage and all tables have same class, which table i want every time page refresh and table has other index number, Can anyone tell the python selenium code how to fix that table I tried to fix the table and it works for 2 to 3 times but everytime when refresh the page and tables index number automa...
How to fix same class table in selenium python
CC BY-SA 4.0
null
2023-03-04T18:38:09.923
2023-03-04T18:38:09.923
null
null
17,665,322
[ "python", "selenium-webdriver", "automation", "datatable", "webdriver" ]
75,637,829
1
null
null
0
48
The code below outputs: ``` x x x x x 1 Uncaught TypeError: func is not a function ``` I conclude that the reason why the second function call results in an error is due to function signature mismatch, but if it is so why does it print out the first `1`, and then the error message? Isn't it supposed to print out nothi...
calling a function with a function as a parameter
CC BY-SA 4.0
null
2023-03-04T18:37:50.660
2023-03-04T19:05:42.977
2023-03-04T18:49:16.277
6,214,210
5,279,623
[ "javascript" ]
75,637,820
1
null
null
1
23
I made a text-along path outside a circle, and when I clicked the `next` button, the circle changes size randomly. I already made the circle transition smoothly. But I also want the text/textPath element also animating smoothly. As far as I know, SVG text can't be transitioned(?), are there any work around? code in sve...
Animating textPath element
CC BY-SA 4.0
null
2023-03-04T18:36:17.767
2023-03-04T20:37:07.197
null
null
5,490,316
[ "animation", "svg", "svelte", "transition" ]
75,637,831
2
null
71,285,726
0
null
Set 'attachment_absolute_uri' to `True` to return attachment paths in absolute URIs. update SUMMERNOTE_CONFIG into your settings file. In settings.py, ``` SUMMERNOTE_CONFIG = { 'attachment_absolute_uri': True } ``` This flag allows Django Summernote to build an absolute URL for the uploaded media file instate of usi...
null
CC BY-SA 4.0
null
2023-03-04T18:38:09.570
2023-03-04T18:38:09.570
null
null
12,038,063
null
75,637,834
2
null
75,531,317
0
null
So in the end after 2 days of research, I found out, that the nullability of the Locale was possible for older flutter versions, but to make debugging more comfortable, they changed that. If you want to set the Locale to null, you have to use a ? after Locale like so: ``` class LocaleProvider extends ChangeNotifier { ...
null
CC BY-SA 4.0
null
2023-03-04T18:38:40.113
2023-03-04T18:38:40.113
null
null
20,663,283
null
75,637,830
2
null
75,637,774
1
null
You could do: ``` array_1 = [1, 4, 5, 8, None, None, None] array_2 = [7, 4, 8, 9, 5, None, None] # replace None with 0 array_1 = [0 if i is None else i for i in array_1] array_2 = [0 if i is None else i for i in array_2] # reverse array_2 array_2.reverse() output_array = [array_1[i] + array_2[i] for i in range(len(a...
null
CC BY-SA 4.0
null
2023-03-04T18:37:54.847
2023-03-04T18:44:25.887
2023-03-04T18:44:25.887
20,078,696
20,078,696
null
75,637,833
2
null
75,616,895
0
null
I figure it out! I just forgot to add the `DirectMessages` intent on my `index.js` file. The correct code is: ``` const { Guilds, GuildMembers, GuildMessages, MessageContent, **DirectMessages** } = GatewayIntentBits; const client = new Client({ intents: [Guilds, GuildMembers, GuildMessages, MessageContent, **Direc...
null
CC BY-SA 4.0
null
2023-03-04T18:38:27.280
2023-03-04T18:38:27.280
null
null
21,159,775
null
75,637,836
2
null
75,637,247
0
null
Consider using the `box` package available on CRAN. You can find the [GitHub here](https://github.com/klmr/box) or view the author's website documentation [here](https://klmr.me/box/index.html) It allows you to turn basic R scripts into modules - effectively namespacing the code. It sounds like this is what you may wan...
null
CC BY-SA 4.0
null
2023-03-04T18:38:47.993
2023-03-04T18:38:47.993
null
null
9,834,962
null
75,637,838
1
null
null
-2
10
I need a way to apply specific properties based on the whole document direction I'm using SCSS (in nested classes) ``` .main-menu { width: 0; position: fixed; top: 0; bottom: 0; box-shadow: 2px 0 8px 0 $shadow-color; padding: 17px 0 30px; z-index: 906; overflow: hidden; [dir="ltr"] {...
I need a way to apply specific properties based on the whole document direction
CC BY-SA 4.0
null
2023-03-04T18:39:11.180
2023-03-04T18:39:11.180
null
null
18,354,744
[ "css", "sass", "css-selectors" ]
75,637,835
1
null
null
0
12
I have this code, everything works fine until the last `else if`, the `vector` variable works fine and gots the expected data in it, but when I try to push it to `vectorvalores` it gives me this error `TypeError: Cannot read properties of undefined (reading '0')`. I need to create a new row in vectorvalores if the exp...
Multidimensional array push(array) not working ERROR: undefined reading ('0') - Google App Script
CC BY-SA 4.0
null
2023-03-04T18:38:45.570
2023-03-04T18:38:45.570
null
null
21,331,426
[ "google-apps-script" ]
75,637,841
2
null
75,630,173
1
null
You can take a look at the tutorial on mapping points to a map: "Map data to a HEALPix grid." at [https://healpy.readthedocs.io/en/latest/other_tutorials.html](https://healpy.readthedocs.io/en/latest/other_tutorials.html) But instead of `hp.ang2pix`, you can use `hp.vec2pix`. Once you have a map, you can take histogram...
null
CC BY-SA 4.0
null
2023-03-04T18:39:55.240
2023-03-04T18:39:55.240
null
null
597,609
null
75,637,839
2
null
75,637,775
3
null
The function `error()` does not return anything returnable. It, in fact, [returns an exception](https://kit.svelte.dev/docs/modules#sveltejs-kit-error) that you must throw so, changing line ``` return error(400, 'Missing username or password.') ``` To this ``` throw error(400, 'Missing username or password.') ``` Wil...
null
CC BY-SA 4.0
null
2023-03-04T18:39:41.040
2023-03-04T18:50:04.227
2023-03-04T18:50:04.227
4,461,605
4,461,605
null
75,637,842
2
null
75,636,512
1
null
I think the issue here is the way you add and remove the `markers`. we must remove the marker from the markers list when click on it. if not, the removed markers will appear again because we haven't filtered them out of the markers list. ``` const listener = gmarker.addListener('click', ({ domEvent, latLng }) => { ...
null
CC BY-SA 4.0
null
2023-03-04T18:39:58.357
2023-03-04T18:39:58.357
null
null
13,187,796
null
75,637,843
2
null
75,637,813
0
null
Yes, you can go for a nested key-value map, or you can also keep everything in an object. This ans might help you: [Json parsing in dart (flutter)](https://stackoverflow.com/questions/59736381/json-parsing-in-dart-flutter)
null
CC BY-SA 4.0
null
2023-03-04T18:40:03.710
2023-03-04T18:40:03.710
null
null
8,414,124
null
75,637,840
1
null
null
0
8
I tried to connect my headphone with using bluetooth. I used pybluez2 module and I got this error: `OSError: [WinError 10051] A socket operation was attempted to an unreachable network` Here is my connect_to_device function: ``` if target_address is not None: print("Device found: ", target_address) port = 1 ...
OSError: [WinError 10051] A socket operation was attempted to an unreachable network
CC BY-SA 4.0
null
2023-03-04T18:39:54.740
2023-03-04T18:39:54.740
null
null
17,278,362
[ "python", "sockets", "bluetooth", "pybluez" ]
75,637,828
2
null
75,635,729
0
null
Your use of `axes[int(i/3)][0]` supposes that the list of columns comes in nice groups of 3, which is not the case. Given how your columns are named, you could: - `'Var1_phase2'``'Var1_phase2_Avg'`- - `nrows=len(filas)`- - - Optionally, you could share the x and/or y axes of the plots, which makes them easier to compa...
null
CC BY-SA 4.0
null
2023-03-04T18:37:46.453
2023-03-04T18:37:46.453
null
null
12,046,409
null
75,637,837
1
null
null
0
17
I have 3 excel files (.xlsx) that I want to merge into one dataframe. Each file is for one clinic site- columns signify week of clinic activity (these weeks are standardized). However, sites started running at different weeks, so not all sites have data for each week. The rows are diagnoses- each site has a core group ...
Merge and join multiple excel files in R
CC BY-SA 4.0
null
2023-03-04T18:38:50.780
2023-03-04T18:52:03.757
null
null
18,937,647
[ "r" ]
75,637,844
2
null
75,420,808
0
null
You can use send `request.query_params` back as it is already a dict. There is another alternative to django_filters which is [dj-rest-filters](https://dj-rest-filters.readthedocs.io/) which uses serialized backend and provides all the functionalities of django_filters. You can use that as well and can serialize filter...
null
CC BY-SA 4.0
null
2023-03-04T18:40:06.487
2023-03-04T18:40:06.487
null
null
5,532,516
null
75,637,845
2
null
75,637,224
1
null
IIUC, you were very close: ``` df1 = df.value_counts([ 'ID', df['INCIDENT_DATE'].dt.to_period('M').rename('Year_Month'), 'Type', ]).unstack('Type', fill_value=0).rename_axis(None, axis=1) df1 = df1.assign(Total=df1.sum(axis=1)).reset_index() ``` On your sample data: ``` >>> df1 ID Year_Month Property Vi...
null
CC BY-SA 4.0
null
2023-03-04T18:40:21.677
2023-03-04T18:40:21.677
null
null
758,174
null
75,637,847
1
null
null
-1
19
I have below code where `driver` instance is passed to constructor. The debug window confirms the same. However `this.driver` is not set with the value passed to it. It seems to be trivial. What am I missing out? ``` public class SearchForCustomerPage { private WindowsDriver<WindowsElement> driver; public SearchF...
Why isn't the value of parameter is set in the constructor in Java?
CC BY-SA 4.0
null
2023-03-04T18:40:38.667
2023-03-04T19:23:15.077
2023-03-04T19:23:15.077
2,074,804
2,074,804
[ "java-8", "constructor" ]
75,637,846
1
null
null
0
12
I need to rebuild a certificate chain based on the end certificate and then export all the certificates in the chain. For this I use the method `X509Chain.Build(endCertificate)`. My idea is that this way I can find all certificates as far as possible (from different sources, like folders (via `ChainPolicy.ExtraStore`) ...
X509Chain.Build() seems to ignore certificates in LocalComputer/My
CC BY-SA 4.0
null
2023-03-04T18:40:34.670
2023-03-04T22:26:00.310
null
null
8,697,391
[ "c#", ".net", "windows", ".net-6.0", "x509certificate2" ]
75,637,848
2
null
46,024,584
0
null
One checkbox only at a time means that you are looking for a radio selection, i.e. use `RadioSelect` in the widget field. ``` class Myform(forms.Form): colors = forms.MultipleChoiceField(widget=forms.RadioSelect, choices=COLORS) ``` (untested) I came across the same question while making a form with a many-to-many...
null
CC BY-SA 4.0
null
2023-03-04T18:40:44.810
2023-03-04T19:58:34.090
2023-03-04T19:58:34.090
10,966,677
10,966,677
null
75,637,851
1
75,637,884
null
-3
26
I'm trying to turn an alphanumeric string into a hexadecimal number. The following code works as intended... ``` A = "f8g9dsf9s7ff7s9dfg98d9fg97s06s6df5" B = int(A, 16) ``` When I try create the alphanumeric dynamically it breaks and doesn't get converted to hexadecimal number... ``` A = ''.join(random.choices(string....
random alphanumeric string into hexadecimal in Python
CC BY-SA 4.0
null
2023-03-04T18:41:13.793
2023-03-04T19:17:16.100
null
null
1,432,290
[ "python", "string", "random", "alphanumeric" ]
75,637,855
2
null
46,116,947
0
null
If you're getting the error message "the import org.springframework.data.annotation.id cannot be resolved" it means that the spring-data-commons library is not available in your project's classpath. To fix this issue, you need to make sure that the spring-data-commons library is included in your project's dependencies....
null
CC BY-SA 4.0
null
2023-03-04T18:41:43.680
2023-03-04T18:41:43.680
null
null
11,523,563
null
75,637,850
1
75,638,406
null
1
19
I am writing a computer application in golang using fyne, and when I try to compile the application, it throws an error: "[✗] engine binary not found in PATH". I'm trying to compile the project with the command: "fyne-cross windows -arch=*". version: gcc-12.2.2 version go1.20.1 windows/amd64 lvwm: 15.07 ``` set GO111MO...
which path it requires when compiling the project on fyne golang
CC BY-SA 4.0
null
2023-03-04T18:41:09.250
2023-03-04T20:15:39.287
null
null
21,319,222
[ "windows", "go", "binary", "desktop-application", "fyne" ]
75,637,757
1
75,639,323
null
0
23
I'm trying to compare 2 datasets with a histogram. I have a pandas dataframe which contains 3 columns: username (cleaned for anonymity), a series of lists of time frequency data, and a type column. My goal is to make a grouped histogram with the goal of comparing the 2 different types against one another in each histog...
Matplotlib stacked and grouped histogram
CC BY-SA 4.0
null
2023-03-04T18:25:35.263
2023-03-04T23:29:59.333
2023-03-04T18:50:11.480
7,758,804
4,383,073
[ "python", "pandas", "matplotlib", "histogram" ]
75,637,853
1
75,638,650
null
2
36
I am attempting to use Seaborn to plot a bivariate (joint) KDE on a polar projection. There is no support for this in Seaborn, and no direct support for an angular (von Mises) KDE in Scipy. [scipy gaussian_kde and circular data](https://stackoverflow.com/a/44783738) solves a related but different case. Similarities are...
Adapt von Mises KDE to Seaborn
CC BY-SA 4.0
null
2023-03-04T18:41:20.127
2023-03-05T01:06:58.963
2023-03-04T18:52:29.697
313,768
313,768
[ "python", "numpy", "scipy", "seaborn", "kernel-density" ]
75,637,860
2
null
59,035,409
-1
null
rename the file name and try some times it may work
null
CC BY-SA 4.0
null
2023-03-04T18:42:32.270
2023-03-04T18:42:32.270
null
null
21,333,011
null
75,637,857
1
null
null
0
4
I am trying to build a navGraph programmatically and link it to a bottomNavigationView. I have to do it programmatically because I received the order of items and if they are visible from server. If i create a navGraph using xml, it works, but when i try to build the navGraph programmatically it fails, this is the navG...
create NavGraph programmatically that only includes other navGraphs
CC BY-SA 4.0
null
2023-03-04T18:41:48.873
2023-03-04T18:41:48.873
null
null
3,646,392
[ "navigation", "bottomnavigationview", "navgraph", "navcontroller" ]
75,637,856
1
null
null
0
9
``` [ { "word": "keyboard", "phonetic": "/ˈkiːbɔːd/", "phonetics": [ { "text": "/ˈkiːbɔːd/", "audio": "" }, { "text": "/ˈkiːbɔːd/", "audio": "" }, { "te...
how can i get the definition part from the Api
CC BY-SA 4.0
null
2023-03-04T18:41:45.607
2023-03-04T18:48:49.193
2023-03-04T18:48:49.193
661,872
21,024,914
[ "node.js", "api" ]
75,637,859
2
null
57,530,575
0
null
You can also try simply adding to your `Service` (of the `spec.type: LoadBalancer` type) the so-called (see [k8s docs](https://kubernetes.io/docs/concepts/services-networking/service/#external-ips) and [OCP docs](https://docs.openshift.com/container-platform/4.12/networking/configuring_ingress_cluster_traffic/configur...
null
CC BY-SA 4.0
null
2023-03-04T18:42:24.203
2023-03-04T18:57:48.200
2023-03-04T18:57:48.200
9,962,007
9,962,007
null
75,637,852
1
null
null
0
10
I am adding spring-data-jpa dependency in my pom.xml . even though i am unable to to use javax.presistence.* this package which will helps in creating entity,table like that . i have done updates mulitple times the project also deleted and readded the depency i had gone through lot of online pages but i dont get the ex...
Spring-data-jpa dependency is not working
CC BY-SA 4.0
null
2023-03-04T18:41:19.423
2023-03-05T00:41:17.220
null
null
20,110,573
[ "spring", "dependency-injection", "spring-data-jpa", "dependencies", "spring-tool-suite" ]
75,637,865
2
null
73,129,993
0
null
I found the list of changes and there is such an item: > What's new in 1.25.1:When support is enabled (on by default), it is given higher priority over the legacy code formatting options. If you would like to have the code formatting options respected, disable support by setting
null
CC BY-SA 4.0
null
2023-03-04T18:44:03.233
2023-03-04T18:44:03.233
null
null
15,446,809
null
75,637,858
2
null
75,637,490
0
null
You can provide a custom pattern to `IntlDateFormatter` that is used for both formatting and parsing dates as the 6th argument. However, the abbreviation you provided for March, мар, does not appear to be correct. Every translation site shows it as март. Using мар will not work with the INTL library either. It must be ...
null
CC BY-SA 4.0
null
2023-03-04T18:42:06.810
2023-03-04T18:42:06.810
null
null
1,456,201
null
75,637,863
1
null
null
1
15
It would be nice to have one place where I have credentials, that I pass to virtual enviroments of my django app on self-hosted server. I think Github Secrets is good place. But I found that I have to define them few times. First time is in Github Secrets and after to Action like `SECRET_KEY: ${{ secrets.SECRET_KEY }}`...
How to extract all Github Secrets to server virtual enviroments?
CC BY-SA 4.0
null
2023-03-04T18:43:36.760
2023-03-04T19:43:49.527
2023-03-04T19:35:26.123
8,450,098
8,450,098
[ "github", "github-actions", "github-api" ]
75,637,867
2
null
40,963,659
0
null
Simply use math.dist(x, y). RMS is basically Euclidian distance in N dimensions.
null
CC BY-SA 4.0
null
2023-03-04T18:44:19.500
2023-03-04T18:44:19.500
null
null
21,333,008
null
75,637,861
1
null
null
0
33
I'm joining together two tables which I'm using for employment records. I need to combine into one row employees which have multiple positions and only a few columns which specify those other positions. For example: | Employee Name | Job | Building | ID | | ------------- | --- | -------- | -- | | Suzy Q | Baker | ...
Combine multiple rows into single row for csv
CC BY-SA 4.0
null
2023-03-04T18:42:43.363
2023-03-04T20:24:46.830
2023-03-04T19:20:24.887
13,658,399
21,332,914
[ "sql", "csv", "snowflake-cloud-data-platform" ]
75,637,866
2
null
75,637,667
0
null
You are not asking Java to limit anything with regards to your check. ``` if (doc.indexOf(phrase) != -1) { ``` You are currently only asking it there is a simple match for the sting, substring or not, "aus" is even in p'aus'e. You also have to check for it being at the end of the line or being followed by a delimiter ...
null
CC BY-SA 4.0
null
2023-03-04T18:44:12.480
2023-03-04T18:44:12.480
null
null
12,881,733
null
75,637,868
1
null
null
0
7
PART02-RECTANGLE LAB PROBLEM 2. Write an express node application that prompts the user to enter the length and width of a rectangle via a form. And when the user clicks on the Compute button its Area and Perimeter values are displayed. Make sure to have a RESET link back to the rectangle form in the output. (30 pts) `...
Rectangle form processing
CC BY-SA 4.0
null
2023-03-04T18:44:20.740
2023-03-04T18:53:53.883
2023-03-04T18:53:53.883
438,992
20,877,734
[ "node.js" ]
75,637,854
1
null
null
0
11
The record functionality works fine using device's built-in mic but when i connect Bluetooth headset device it still uses the device's built-in. I want it to use Bluetooth headset mic.I'm using flutter_sound and audio_session package Here the opensession method for configuration. ``` Future<void> openSession() async { ...
How can i use bluetooth mic in flutter
CC BY-SA 4.0
null
2023-03-04T18:41:28.237
2023-03-04T18:41:28.237
null
null
13,920,810
[ "flutter", "audio", "flutter-dependencies", "android-bluetooth", "dart-pub" ]
75,637,870
1
null
null
0
13
I have an issue where repo.untracked_files : ``` def job(): with Repo("path\\\to\\repo") as repo: if repo.is_dirty(): with open(f'cmd-{datetime.now().strftime("%d%m%y")}.log', 'a') as log: print(repo.untracked_files) log.write(f'Ran Command Job At {datetime.now()....
GitPython Repo.untracked_files returns an empty list
CC BY-SA 4.0
null
2023-03-04T18:44:34.687
2023-03-04T18:44:34.687
null
null
8,276,994
[ "python", "git", "gitpython" ]
75,637,864
2
null
75,637,795
0
null
Welcome to stackoverflow ! There is in general two options to achieve what you need in mongoDB and best suitable is to use the [$elemMatch](https://www.mongodb.com/docs/manual/reference/operator/query/elemMatch/) operation: ``` db.collection.find({ variations: { "$elemMatch": { "color": "Verde", "lots.size": "xxs...
null
CC BY-SA 4.0
null
2023-03-04T18:43:54.780
2023-03-04T18:49:57.313
2023-03-04T18:49:57.313
10,415,047
10,415,047
null
75,637,869
1
null
null
0
12
I have a problem with obtaining the TCL Librarys for SQLite3 for 32 bit. The problem is not the DLLs from SQLite itself. They're still offered, but what I'm missing is a wrapper to it for TCL. I need to handle both the 64 bit and the 32 bit Versions of ActiveTCL. Under 64 bit there is no problem, runs like a breeze. Un...
TCL - SQLite how to obtain the 32bit Libs (the TCL part, not the sqlite dll itself)
CC BY-SA 4.0
null
2023-03-04T18:44:21.963
2023-03-04T18:44:21.963
null
null
8,404,258
[ "sqlite", "tcl", "32-bit" ]
75,637,862
1
null
null
0
16
I have several stored procedures, doing a simple insert or update, that runs almost instantly when ran from Oracle SQLdeveloper, but when calling the same stored procedures from a Spring Boot application, it can take about 2 seconds or more. What could my issue be within my Spring Boot application, causing it to run so...
Stored Procedure Fast in Oracle SQLdeveloper, But Slow in Java Spring Boot
CC BY-SA 4.0
null
2023-03-04T18:43:24.513
2023-03-04T18:43:24.513
null
null
3,576,813
[ "java", "oracle", "spring-boot", "stored-procedures" ]
75,637,871
1
null
null
-1
31
I am a noobie to c++ and I'm recently learning trie data structure. As I was implementing the header file for the Trie, I've encountered segmentation fault that I cannot resolve. I used the typical print out method to find the location of the error and it turns out that this line `temp->isEmpty = true;` is problematic ...
c++: segmentation fault for Trie data structure
CC BY-SA 4.0
null
2023-03-04T18:44:35.643
2023-03-04T19:54:41.040
2023-03-04T19:54:41.040
21,332,960
21,332,960
[ "c++", "c++11", "trie" ]
75,637,876
1
null
null
0
3
I want a share option on each post in my wordpress site and the user who logs in, if share the post then his detials should also be posted along with the post !! for suppose there is a person who logged in with name John and his mobile number +91xxxxxxxxx, if he share a post in the site then his details such as name an...
Can i get a plugin in which the share button should share the details of the logged in person?
CC BY-SA 4.0
null
2023-03-04T18:45:23.457
2023-03-04T18:45:23.457
null
null
15,576,233
[ "wordpress", "plugins", "wordpress-theming" ]
75,637,873
2
null
75,635,049
0
null
you should also do this as well ``` INSTALLED_APPS = [ # other django apps… 'django.contrib.admin', # other 3rd party apps… 'django_select2', ] from django.urls import include, path urlpatterns = [ # other patterns… path("select2/", include("django_select2.urls")), # other patterns… ] CACH...
null
CC BY-SA 4.0
null
2023-03-04T18:45:03.973
2023-03-04T18:45:03.973
null
null
4,480,910
null
75,637,880
1
null
null
-1
10
I try to use categorical_embedder import categorical_embedder as ce . I get the error cannot import name 'BatchNormalization' from 'keras.layers.normalization' keras-2.11.0 tensorflow-2.11.0 Thanks encode categorical variables
cetegorical_embedder cannot be imported
CC BY-SA 4.0
null
2023-03-04T18:45:56.853
2023-03-04T18:48:01.490
2023-03-04T18:48:01.490
6,083,675
21,332,998
[ "tensorflow", "keras", "categorical-data" ]
75,637,878
2
null
75,637,829
1
null
The issue is that `functionWithAParameter(1)` won't return a new function that can be called by `runTheFunctionNTimes`. You'll want to wrap it in an anonymous function (or arrow function) that wraps your function call. This way, `runTheFunctionNTimes` will call the arrow function which then calls your function with par...
null
CC BY-SA 4.0
null
2023-03-04T18:45:48.110
2023-03-04T18:56:11.430
2023-03-04T18:56:11.430
13,376,511
13,376,511
null
75,637,874
1
null
null
0
7
I have a problem with keycloak.protect(), I can't access my "/secured" route. Indeed, when I try to access it from my frontend, I have the CORS blocking me. However, I made sure with app.use(cors()) to allow everything. I also tested if I can get my token id from my frontend (I get it fine.) Do you have any idea what c...
keycloak.protect() node js probleme CORS
CC BY-SA 4.0
null
2023-03-04T18:45:09.723
2023-03-04T18:45:09.723
null
null
21,332,967
[ "node.js", "express", "keycloak", "keycloak-nodejs-connect" ]
75,637,877
1
null
null
0
6
In our private GitHub repository, if I approve a PR, 90% of the time the text "Approved" does not show up in the main PR list. I say 90% because sometimes it does appear! But most of the time I have to open the pull request details to see if it was approved. This makes it difficult to manage a large list of PRs. Strang...
GitHub filtering not showing approved reviews
CC BY-SA 4.0
null
2023-03-04T18:45:31.540
2023-03-04T18:45:31.540
null
null
695,318
[ "github", "pull-request" ]
75,637,884
2
null
75,637,851
3
null
`string.ascii_lowercase` is a string composed of the whole alphabet composed from 'a' to 'z' but only A..F are valid for hexadecimal which is base-16. Calling `int()` with non-A..F characters will raise a ValueError. Use string "abcdef" for the letters. ``` import random import string A = ''.join(random.choices("abcdef...
null
CC BY-SA 4.0
null
2023-03-04T18:46:37.917
2023-03-04T19:17:16.100
2023-03-04T19:17:16.100
543,969
543,969
null
75,637,872
1
null
null
-2
12
I am showing the textinput field in dynamic way like m showing in array. i want to reset all TextInput value as empty/blank on Button click. 10 textinput need to show on screen. on the click of add button, value will be pushed in an array on the click of reset button, all textinput value should be blank/empty which is ...
how to reset textInput (array) value in react native
CC BY-SA 4.0
null
2023-03-04T18:44:45.640
2023-03-04T21:03:29.300
2023-03-04T21:03:29.300
8,690,857
8,373,949
[ "javascript", "reactjs", "react-native" ]
75,637,888
1
null
null
-4
35
I have been tasked to create a programme where the user can enter information about a car (e.g. make, model, milage etc) which will form a database. I have chosen to do this as an array list where each new car is an object with attributes such as milage, model etc. The issue I face is that how do I get the user to crea...
Creating a new object from scanner input
CC BY-SA 4.0
null
2023-03-04T18:47:03.900
2023-03-04T19:04:59.677
null
null
21,332,975
[ "java", "object", "arraylist" ]
75,637,885
2
null
75,637,871
1
null
The array `children` is uninitialized, so assigning one of its element to `temp` and then dereferencing `temp` means to dereference indeterminate pointer. Instead of that, it looks like you should initialize the array to `nullptr`. ``` Node(){ this->isEmpty = false; this->val = ""; for(int i = 0...
null
CC BY-SA 4.0
null
2023-03-04T18:46:40.910
2023-03-04T19:03:12.297
2023-03-04T19:03:12.297
4,062,354
4,062,354
null
75,637,886
1
null
null
0
6
WSL2 Debian on Windows Server 2022 Standard 21H2 that has its own static public IP address. There is an Apache Tomcat installed on WSL2, serving GeoServer app. I can access GeoServer locally as , but cant manage to make it accessible from external network as Tried different workarounds that use `netsh interface portpr...
How to make WSL2 web server port accessible through static public IP
CC BY-SA 4.0
null
2023-03-04T18:46:50.523
2023-03-04T18:49:22.753
2023-03-04T18:49:22.753
8,438,286
8,438,286
[ "windows-subsystem-for-linux", "wsl-2", "windows-server", "windows-server-2022" ]
75,637,890
1
null
null
0
47
Code: ``` def x(): return 1 x.y = 2 print(x()) print(x.y) ``` Output: ``` 1 2 ``` My question is how can I add the y attribute from the function body? And why is the y variable not suggested when I want to use it (for example, in the printing function)
Adding attributes to functions from outside the functions
CC BY-SA 4.0
null
2023-03-04T18:47:15.007
2023-03-05T02:34:38.073
2023-03-05T02:34:38.073
10,379,728
17,668,128
[ "python" ]
75,637,879
2
null
39,199,448
0
null
If you are using `manifest_version` of 3 then something like below your manifest.json should look like to open the popup using a keyboard shortcut. So what is actually happening here is the keyboard shortcut gets mapped to the `_execute_action` and this `_execute_action` invokes the `action` which is by default opening...
null
CC BY-SA 4.0
null
2023-03-04T18:45:54.023
2023-03-04T18:45:54.023
null
null
9,355,359
null
75,637,881
1
null
null
0
6
I have the simplest app/animation set up (below). When I setup a listener on `val`, it appears to be properly changing from 1 to 0. However on the screen, none of this is reflected. "Hello World" does not disappear, ever. If I force a re-render (by adding and updating a state variable), then it will reflect the current...
Animated component not working with react-native-web
CC BY-SA 4.0
null
2023-03-04T18:46:02.847
2023-03-04T20:03:36.030
null
null
3,750,050
[ "react-native", "react-native-web" ]
75,637,893
2
null
75,637,829
0
null
When you pass `functionWithoutParameters` into `runTheFunctionNTimes`, you are passing the actual function object in, which you can later invoke with your `func()` call. However, when you pass `functionWithAParameter(1)` into runTheFunctionNTimes, you are first invoking `functionWithAParameter` with an argument of 1, a...
null
CC BY-SA 4.0
null
2023-03-04T18:47:37.017
2023-03-04T18:47:37.017
null
null
9,659,759
null
75,637,882
1
null
null
2
37
I am trying to validate that the end date is greater than the start date. This is a form editing an entry submitted in a previous form. The startdate field has already been populated. This function was written based on [Django documentation](https://docs.djangoproject.com/en/4.1/ref/forms/validation/) When I submit t...
Django form start date and date validation
CC BY-SA 4.0
null
2023-03-04T18:46:19.537
2023-03-04T20:49:02.847
2023-03-04T20:10:28.370
19,310,425
19,310,425
[ "python", "django", "django-models", "django-forms" ]
75,637,896
2
null
26,830,431
0
null
They are totally different in semantics. - - -
null
CC BY-SA 4.0
null
2023-03-04T18:47:53.103
2023-03-04T18:47:53.103
null
null
8,578,634
null
75,637,891
2
null
75,636,623
1
null
As I understand it, your question is about changing the color of list box items based on their `MTBF` property for a recordset returned by a SQL query. For purposes of a minimal example, let's say your record class is named `Product` and for testing purposes it will generate a random `MTBF` that is one of {0, 29, 30, o...
null
CC BY-SA 4.0
null
2023-03-04T18:47:17.883
2023-03-04T19:12:43.957
2023-03-04T19:12:43.957
5,438,626
5,438,626
null
75,637,895
1
null
null
-1
18
I am trying the `gtsummary` function to create ready to publish tables. I am following an example from here - [https://jaspertjaden.github.io/course-intro2r/week5.html](https://jaspertjaden.github.io/course-intro2r/week5.html) I am looking for a way to summarize my data. I am looking to summarize the count of all peopl...
gt summary in R
CC BY-SA 4.0
null
2023-03-04T18:47:42.727
2023-03-04T18:47:42.727
null
null
6,119,375
[ "r", "gtsummary" ]
75,637,892
1
null
null
0
11
My project is created using [vitejs](https://vitejs.dev) However, > My problem is when I build my vite app and host to my server () then it's shows bellow issue. ``` ReferenceError: require is not defined at index-a4df310d.js:682:57318 at Hu (index-a4df310d.js:345:20340) at Tg (index-a4df310d.js:345:20798) at Object.us...
ReferenceError: require is not defined (for the ViteJS)
CC BY-SA 4.0
null
2023-03-04T18:47:28.943
2023-03-04T18:47:28.943
null
null
15,756,459
[ "javascript", "reactjs", "vite" ]
75,637,894
1
null
null
0
6
I was reviewing a PR for a Web Service Contract and I observed that Engineer used a data type string with "Y" and "N" as codes instead of "true" or "false" as boolean values. Additionally, the third value needed to be supported which is Unknown, that a Nullable Boolean can support. Also the name of property is naturall...
Choosing Correct Data Types for Data Contract Properties in SOAP and REST Services - looking for Official Guidelines
CC BY-SA 4.0
null
2023-03-04T18:47:41.813
2023-03-04T18:47:41.813
null
null
13,054,846
[ "rest", "web-services", "wcf", "soap", "soa" ]
75,637,900
1
null
null
0
9
I'm trying to expose an API for my registred app when I add the API : I get this error message: > Failed to update Application ID URI application property. Error detail: Values of IdentifierUris property must use a verified domain of the organization or its subdomain: summarizxxxx.z28.web.core.windows.net I suppose tha...
Not able to map a custom domain to a hosted app in azure storage
CC BY-SA 4.0
null
2023-03-04T18:48:34.053
2023-03-04T19:08:29.547
null
null
8,107,464
[ "azure", "azure-storage", "azure-appservice" ]
75,637,898
1
null
null
-1
24
I tried to grab some data from a url. But when i use `curl`, i am getting `403` response code. But when i use `stream`, i am getting `200` response code. Stream Code: ``` $url = 'https://chaturbate.com/auth/login/'; $options = array( 'http' => array( 'header' => "User-Agent: Mozilla/5.0 (Windows NT 6....
PHP - different behavior for CURL and Stream
CC BY-SA 4.0
null
2023-03-04T18:48:28.237
2023-03-04T19:08:40.233
2023-03-04T19:08:40.233
10,830,288
10,830,288
[ "php", "curl", "libcurl" ]