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,619,153
1
75,623,311
null
0
19
I am trying to ingest a simple Hello World example into a Data Stream using the Bulk call as shown in documemtation [https://elasticsearch-py.readthedocs.io/en/v8.6.2/helpers.html#bulk-helpers](https://elasticsearch-py.readthedocs.io/en/v8.6.2/helpers.html#bulk-helpers) ``` Traceback (most recent call last): File "C:...
Bulk Indexing Error in Elastic search Python
CC BY-SA 4.0
null
2023-03-02T17:53:03.123
2023-03-03T04:56:00.257
null
null
21,313,539
[ "python", "elasticsearch", "indexing", "kibana", "bulkinsert" ]
75,619,157
1
75,636,897
null
0
29
I have a REST API (implemented in Python) which is currently running on Google Cloud Run. I've configured it to: - - and it currently it is working fine for me because I can log in (in the browser) with my google account (which has all required permissions). The problem which I am having is that I do not know (and can...
Best Practice of securing Google Cloud Run REST API
CC BY-SA 4.0
null
2023-03-02T17:53:13.527
2023-03-04T16:08:30.097
null
null
5,944,880
[ "oauth-2.0", "google-cloud-run" ]
75,619,080
1
null
null
0
25
So, I've created a button to collapse the navbar (literally just the .collapsed div) except when I try to move it with the navbar, nothing happens. I've tried using some DOM with timeout function (to match with the animation timing), used class combination properties (in CSS), adding classes manually using JS (properti...
Change top attribute while using an animation
CC BY-SA 4.0
null
2023-03-02T17:46:43.680
2023-03-02T17:52:46.313
2023-03-02T17:52:46.313
20,273,807
20,273,807
[ "javascript", "html", "jquery", "css" ]
75,619,161
1
null
null
0
7
Our team page modals are working fine. They open and close with the 'X' button. There has been no problem thus far. But the problem is when you click on a another place on the screen, the model closes, but there is a black/gray screen left behind, and you can't click anything anymore. What can I do? Here is the URL for...
Model Not Closing Properly (Black/Grey Screen On Modal Close)
CC BY-SA 4.0
null
2023-03-02T17:53:21.973
2023-03-02T17:53:21.973
null
null
20,076,616
[ "php", "html", "css" ]
75,619,163
2
null
75,619,091
4
null
Use C++20 concept [std::same_as](https://en.cppreference.com/w/cpp/concepts/same_as) to constrain `Arg` to be `moveonly` only: ``` #include <concepts> template<std::same_as<moveonly>... Arg> void multi(const Arg&... in) {} // Alternative ways to apply the same constraint: // void multi(const std::same_as<moveonly> a...
null
CC BY-SA 4.0
null
2023-03-02T17:53:39.660
2023-03-02T18:05:42.917
2023-03-02T18:05:42.917
11,638,718
11,638,718
null
75,619,132
1
null
null
1
41
I'm trying to make an app that gets data from TMDB API with retrofit. I use Paging Source and Flow to get the movies from the api. `MoviesViewModel.kt` ``` class MoviesViewModel: ViewModel() { val isLoading: MutableLiveData<Boolean> = MutableLiveData() val hasError: MutableLiveData<Boolean> = MutableLiveData() ...
Kotlin - Show error message when data is null
CC BY-SA 4.0
null
2023-03-02T17:51:21.620
2023-03-02T19:55:34.193
2023-03-02T19:55:34.193
15,516,882
15,516,882
[ "kotlin", "android-view", "android-paging" ]
75,619,165
1
null
null
0
19
i'm trying to cast a simple raw html string (coming from an ajax call) to HtmlDivision instance using [HtmlUnit](https://htmlunit.sourceforge.io/) library ``` String div = "<div ... /div>" HtmlDivision div = (HtmlDivision) div; ``` i tried a default cast in java and also looked in oficial documentation but until now ...
Parse raw string html to HtmlDivision instance (HtmlUnit)
CC BY-SA 4.0
null
2023-03-02T17:53:55.483
2023-03-03T07:58:52.460
null
null
3,693,223
[ "java", "htmlunit" ]
75,619,160
2
null
75,614,404
0
null
Q: A: Create the dictionary with the defaults. Use the filter [product](https://docs.ansible.com/ansible/latest/playbook_guide/playbooks_filters.html#products) to combine the keys and the defaults. Then [combine](https://docs.ansible.com/ansible/latest/playbook_guide/playbooks_filters.html#combining-hashes-dictionarie...
null
CC BY-SA 4.0
null
2023-03-02T17:53:16.393
2023-03-02T21:52:05.467
2023-03-02T21:52:05.467
6,482,561
6,482,561
null
75,619,162
1
null
null
1
47
I have a dataset that has a date column every 1 minute. I wanted to group the information to have the data "organized" every 5 minutes and average the SellCount column. For example, I have 5 records, 1 for minute 1, another for minute 2, another for minute 3, another for minute 4 and finally another for minute 5. I wan...
SQL - Grouping SQL output in 5 minute intervals
CC BY-SA 4.0
null
2023-03-02T17:53:34.977
2023-03-03T09:49:03.987
2023-03-03T09:49:03.987
4,473,648
3,303,981
[ "sql" ]
75,619,170
2
null
52,691,931
0
null
if you need to disable cert verification, you can do this: ``` #!/usr/bin/env python3 import asyncio import ssl import websockets def test_url(url, data=""): async def inner(): ctx = ssl.create_default_context() ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE async wi...
null
CC BY-SA 4.0
null
2023-03-02T17:54:05.633
2023-03-02T17:54:05.633
null
null
4,363,187
null
75,619,167
1
null
null
0
9
I am working with Radzen and Bootstrap 5 on a Blazor project. However I don't want the default colors that come with it. I want to change Radzen primary colors so that my app has a different color theme. So I added this to my `app.css`: ``` :root { --rz-primary: #3e5b87; } ``` I also changed the order which `app.css...
How to change Radzen primary color in Blazor Web Assembly?
CC BY-SA 4.0
null
2023-03-02T17:53:57.200
2023-03-02T17:53:57.200
null
null
16,364,109
[ "css", "themes", "blazor-webassembly", "radzen" ]
75,619,171
1
null
null
0
24
I want to execute my tests under an automation framework (selenium + cucumber BDD) built with maven. I have a test stage for this and other stages in my pipeline. Test stage is shown below: ``` test_regression_suite: stage: test_regression_suite tags: - ci script: - Start-Process powershell.exe "-Command ...
Executing mvn tests using gitlab yml
CC BY-SA 4.0
null
2023-03-02T17:54:11.663
2023-03-02T17:54:11.663
null
null
13,519,244
[ "maven", "selenium-webdriver", "gitlab", "gitlab-ci-runner", "cicd" ]
75,619,158
1
null
null
0
22
I've got a factory that I need to just generate the data I want it to - having it create an 'id' attribute. I have a couple factories that look like this: ``` class RatedPersonalityFactory(PersonalityFactory): person__end_year = get_end_year() rating_information__create_rating = False rating_information__s...
FactoryBoy factory that does NOT generate an 'id' for an unmanaged Django model?
CC BY-SA 4.0
null
2023-03-02T17:53:14.007
2023-03-04T14:59:03.043
null
null
20,304,038
[ "python", "django", "pyodbc", "factory-boy" ]
75,619,169
2
null
75,611,960
0
null
I'm not sure that I have completely understood your question, but I think the behavior you are desiring can be achieved by updating the `$('#Table_2 tbody tr').each` handler within the `input` event handler. ``` $('#Table_2 tbody tr').each(function() { var row = $(this); var quantity = $(row).find('input[data-...
null
CC BY-SA 4.0
null
2023-03-02T17:54:04.573
2023-03-02T17:54:04.573
null
null
3,397,771
null
75,619,168
2
null
75,619,101
1
null
Make yourself a helper row that is the multiplier. So in the new `B2` you have a `2`. Make `C2` be `=B2+1`. Then copy that over your row. So that you have the multiplier sitting in a row. then change your formula ``` =IF(AND($B3+D3>2023,$B3+D3<=2122),($B3xB$2)+$A3,0) ``` The `$` in front of a column or row says hold t...
null
CC BY-SA 4.0
null
2023-03-02T17:54:02.967
2023-03-02T17:54:02.967
null
null
6,636,350
null
75,619,174
2
null
75,617,200
0
null
There are massive ways to solve your problem. But ... the easiest way is: - Risky way (no backup at all)rman> crosscheck backup; rman> crosscheck copy; rman> delete noprompt expired backup; rman> delete noprompt expired copy; rman> delete noprompt backup; rman> delete noprompt copy; rman> delete noprompt archivelog all...
null
CC BY-SA 4.0
null
2023-03-02T17:54:36.593
2023-03-02T17:54:36.593
null
null
5,401,889
null
75,619,155
2
null
75,614,574
0
null
If all you want to do is to pass some data when navigating you can do that with the `Link` component using the [to](https://github.com/remix-run/react-router/blob/v4.0.0/packages/react-router-dom/docs/api/Link.md#to-object) prop object. ``` <Link to={{ pathname: "/page", state: { // data that you want t...
null
CC BY-SA 4.0
null
2023-03-02T17:53:04.970
2023-03-02T17:53:04.970
null
null
8,690,857
null
75,619,172
2
null
75,606,333
0
null
As alternative: [https://learn.microsoft.com/en-us/dotnet/maui/user-interface/controls/webview?view=net-maui-7.0&pivots=devices-android](https://learn.microsoft.com/en-us/dotnet/maui/user-interface/controls/webview?view=net-maui-7.0&pivots=devices-android) (Some people may disagree, because the Map class answer is the ...
null
CC BY-SA 4.0
null
2023-03-02T17:54:18.127
2023-03-02T17:54:18.127
null
null
6,643,940
null
75,619,173
2
null
75,619,125
1
null
You should try this instead ``` var i = j; new Thread(() => SimulateBS(bs, i)).Start(); ``` Ultimately `j` is a captured ; it is the , not the , that is captured - so currently all the delegates are sharing the same . By declaring `i` at a scope , each loop iteration gets a different variable (via compiler voodoo).
null
CC BY-SA 4.0
null
2023-03-02T17:54:18.660
2023-03-02T17:56:10.227
2023-03-02T17:56:10.227
23,354
10,753,712
null
75,619,180
2
null
75,519,097
0
null
I had this same problem, and resolved it by simply using the correct gsutil path. From the docs, > If you try to authenticate gsutil using the gcloud init command, but are still not able to access the expected buckets or objects, your system might have both the legacy, stand-alone version of gsutil and the Google Cloud...
null
CC BY-SA 4.0
null
2023-03-02T17:54:52.727
2023-03-02T17:54:52.727
null
null
16,735,983
null
75,619,176
1
null
null
0
7
I'm wanting to use acorn parser so that I can use paper.js with paperscript but still have access to ES6(+) language features. This works, however I get a warning that acorn now requires setting options.ecmaVersion explicitly, and that future versions will break without this. However, every doc I can google explains ho...
How can I pass options to acorn parser when loading from a CDN?
CC BY-SA 4.0
null
2023-03-02T17:54:41.747
2023-03-02T17:54:41.747
null
null
864,490
[ "javascript", "node-modules", "es6-modules", "acorn" ]
75,619,179
1
null
null
-1
43
I need to validate inputs and am unsure as to how to do that correctly in my code, I need to make sure that the teamSize is between 9 and 15, and that the players is greater than 1 ``` import java.util.Scanner; public class SoccerTeam { public static void main(String[] args) { Scanner scan = new Scanner(Sy...
Validating inputs
CC BY-SA 4.0
null
2023-03-02T17:54:51.803
2023-03-02T18:18:56.087
2023-03-02T17:58:11.350
15,870,118
21,321,038
[ "java" ]
75,619,177
1
null
null
0
16
``` `<script type="text/plain" data-cookiecategory="cookie"> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,docum...
Issue with cookie and this google analitics
CC BY-SA 4.0
null
2023-03-02T17:54:41.903
2023-03-03T15:37:02.373
null
null
21,320,989
[ "javascript", "google-analytics" ]
75,619,181
1
null
null
0
8
I just recently migrated my wordpress site from an amazon linux server with php7 to a fresh ubuntu server with php8. Most things are functionally working except for a couple plugins(that are now deactivated). My main issue is there are a lot of errors in the debug.log most of which are deprecated php in wp-includes. Ho...
WordPress Migration PhP Errors
CC BY-SA 4.0
null
2023-03-02T17:54:53.233
2023-03-02T17:54:53.233
null
null
21,135,809
[ "php", "wordpress" ]
75,619,182
2
null
75,618,919
1
null
You can stack the two matrices horizontally using `Matrix.hstack` into a 2x4 matrix, and then reshape to a 4x2 matrix. Since reshaping gathers entries by scanning across the rows, this will produce the row-alternating behavior you're looking for: ``` >>> Matrix.hstack(x, y).reshape(4, 2) Matrix([ [1, 2], [5, 6], [3, 4]...
null
CC BY-SA 4.0
null
2023-03-02T17:54:55.750
2023-03-02T18:04:48.023
2023-03-02T18:04:48.023
11,082,165
11,082,165
null
75,619,175
2
null
75,618,546
2
null
### The Short Story Unfortunately, unless `etcdctl` is extended to explicitly support accepting escaped contents, and unescaping that content to get the key name to use (or to accept key names passed via a means other than the command line), passing a key name containing a literal NUL is not possible. Consider writi...
null
CC BY-SA 4.0
null
2023-03-02T17:54:37.207
2023-03-02T17:54:37.207
null
null
14,122
null
75,619,185
1
null
null
0
21
I want to code a UDP server and I want to use my IP address as the address of the server without putting the code the address in raw. myIP="192.168.1.38"; is there any way to get the IP of the host machine ? i know that QHostAddress::LocalHost is equivalent to 127.0.0.1. is there any method that works the same to get m...
how to bind my ip address to a udp server in qt creator
CC BY-SA 4.0
null
2023-03-02T17:55:19.890
2023-03-02T17:55:19.890
null
null
18,002,475
[ "c++", "networking", "udp", "qt5", "qudpsocket" ]
75,619,184
2
null
69,630,789
0
null
I had the same issue, and it was driving me crazy. In the end this fixed it. In my project directory I ran: npm install -g expo-cli npx expo-cli upgrade I got "You are currently using SDK 47.0.0. Would you like to update to the latest version, 48.0.0?" and answered yes. After the update it worked!
null
CC BY-SA 4.0
null
2023-03-02T17:55:09.643
2023-03-02T17:55:09.643
null
null
10,330,077
null
75,619,189
1
null
null
0
9
I know how to develop mobile app with ionic, native mobile app using java and flutter. But what I need to know is how to build sdk using Angular which have api calls and integrate in mobile app with java or flutter. I find I can convert Web app to mobile app with angular using ionic. I expected I could integrate th...
Sdk with angular for integrating in android app
CC BY-SA 4.0
null
2023-03-02T17:55:44.167
2023-03-02T17:55:44.167
null
null
21,321,005
[ "android", "angular", "flutter", "api", "sdk" ]
75,619,190
2
null
75,619,104
0
null
As the comment says, you need to use the assignment operator `<-` to save it as a new variable. The pipe operator just feeds the dataset through without saving the modified result. ``` data <- data %>% mutate(motivation = case_when(DRG_WHY_TRY == 1 ~ 'experimentation' ,DRG_WHY_SLP == 1 ~ 'cope' ,DRG_WHY_RLX == 1 ~ 'cop...
null
CC BY-SA 4.0
null
2023-03-02T17:55:46.273
2023-03-02T17:55:46.273
null
null
17,816,353
null
75,619,192
2
null
75,614,346
0
null
The good query is : `SELECT value FROM table WHERE ((start > end AND '2' <= end) OR ('2' >= start AND '2'<= end));` Thanks @P.Salmon
null
CC BY-SA 4.0
null
2023-03-02T17:55:55.817
2023-03-02T17:55:55.817
null
null
7,801,415
null
75,619,183
2
null
75,618,426
0
null
To call a JavaScript function within the view of an ASP.NET MVC application, you can use the following approach: Define the JavaScript function in a script tag in the View: ``` <script> function JavascriptFunction(str) { alert(str); return str.replace(/(?:^\w|[A-Z]|\b\w)/g, (word, index) => { ...
null
CC BY-SA 4.0
null
2023-03-02T17:54:57.987
2023-03-02T17:54:57.987
null
null
19,806,614
null
75,619,193
2
null
21,860,659
0
null
This also works for me on the command line. ``` composer require some/lib:!=1.7.3 ``` Quotes may be needed for complex expressions.
null
CC BY-SA 4.0
null
2023-03-02T17:55:56.503
2023-03-02T17:55:56.503
null
null
5,993,926
null
75,619,164
1
75,620,689
null
0
12
I have set up my security rules, and verified that they operate correctly when using `get` requests, but fail with `list` requests. Below is the basic structure of my database: ``` /parent_collection /parent_doc ...data, [status]: Enum /sub_collection1 /sub_doc1 ...data ...
Can a Firestore Rules wildcard match statement support a list query snapshot listener
CC BY-SA 4.0
null
2023-03-02T17:53:45.377
2023-03-02T20:50:48.757
null
null
5,569,399
[ "typescript", "firebase", "google-cloud-firestore", "google-cloud-functions", "firebase-security" ]
75,619,194
2
null
75,618,927
6
null
I would use a simple `if let` here: ``` if let Err(err) = run_command(&command) { eprintln!("Command: {}", command); eprintln!("Error: \n{}", err); } ``` There is no need to use `map_*` functions if you don't use their result.
null
CC BY-SA 4.0
null
2023-03-02T17:56:00.143
2023-03-02T17:56:00.143
null
null
21,313,424
null
75,619,191
1
null
null
-1
44
I have a large (~75GB) database running in MariaDB 10.1.48 (running natively on an Ubuntu server). I want to migrate this to MySQL 8. I was aiming to do this by taking a backup on the same server using [xtrabackup 2.4](https://docs.percona.com/percona-xtrabackup/2.4/index.html) and then restoring this into a Docker ins...
Migrating large database from MariaDB 10.1 to MySQL 8
CC BY-SA 4.0
null
2023-03-02T17:55:46.513
2023-03-02T20:19:20.593
null
null
19,232
[ "mysql", "docker", "mariadb", "amazon-rds" ]
75,619,188
2
null
53,721,894
0
null
## For SQL Server running in docker: Since I am using an SQL server in docker I have to get inside the docker using `docker exec -it <CONTAINER ID> bash` and delete `mdf` file from the`/var/opt/mssql/data` directory. Steps: 1. docker ps -> Copy CONTAINER ID of the docker container running SQL Server 2. docker exec ...
null
CC BY-SA 4.0
null
2023-03-02T17:55:32.410
2023-03-02T17:55:32.410
null
null
4,653,631
null
75,619,198
1
null
null
0
15
I have a page that is showing a dropdown with only two options as of now. For both options, I am rendering only one component with different props. There is a submit button as well in the component which calls different APIs based on the option we selected. Now, I can easily call different APIs using some conditions on...
Using Dependency Inversion in React
CC BY-SA 4.0
null
2023-03-02T17:56:24.347
2023-03-02T17:56:24.347
null
null
14,833,974
[ "reactjs", "typescript", "next.js" ]
75,619,201
1
null
null
0
13
I'm working on a Django project, and I'd like to use Django Simple History to track changes to records. However, I'm facing an issue: I want to track the user who made the change (I'm not using Django's auth app). When I try to perform the migrations, I receive this error message: ``` SystemCheckError: System check id...
Django Simple History: Don't want to track User
CC BY-SA 4.0
null
2023-03-02T17:56:48.667
2023-03-02T21:51:11.940
null
null
355,931
[ "django", "django-simple-history" ]
75,619,197
1
null
null
0
25
I would like to set different y axis limit for different groups (different lines) on the . I understand that I can use `facet_grid` to plot each line on a different plot, but I would like to plot them on the same plot for a more clear overview. I don't care about the y axis values, only care about the trend (increase o...
How to use free y axis for different groups on the same plot with ggplot2?
CC BY-SA 4.0
null
2023-03-02T17:56:19.013
2023-03-02T22:18:51.207
2023-03-02T22:18:51.207
10,431,603
10,431,603
[ "r", "ggplot2", "visualization" ]
75,619,196
1
null
null
-1
12
I'm using gtag.js con (Apache/Php/) to track users on my website. Depending(GRPD) on the existence of a cookie and its value, "custom_function(cookie_value)" is called with the cookie value as a parameter. In this way, if the user allows it, the tracking cookies _ga, _gid, etc. are created. By default, if the cookie do...
Google Analitics cookieless
CC BY-SA 4.0
null
2023-03-02T17:56:17.203
2023-03-02T17:56:17.203
null
null
5,418,818
[ "php", "cookies", "gtag.js" ]
75,619,202
2
null
75,619,101
1
null
Just use COLUMN() which returns a Long of the column index number: ``` ($B2*COLUMN(B2)) ``` so in the first cell put: ``` =IF(AND($B2+D2>2023,$B2+D2<=2122),($B2*COLUMN(B2))+$A2,0) ``` and drag it over. The COLUMN reference will change and the multiplier will change as it is drug. And no helper row is needed.
null
CC BY-SA 4.0
null
2023-03-02T17:56:53.943
2023-03-02T18:11:13.867
2023-03-02T18:11:13.867
4,851,590
4,851,590
null
75,619,203
2
null
75,617,651
1
null
Complete Solution is: ``` repositories { mavenCentral() maven { setUrl("https://maven.vaadin.com/vaadin-prereleases") } maven { url "https://plugins.gradle.org/m2/" } maven { url "https://maven.vaadin.com/vaadin-addons" } } ......... dependencies { implementation enforcedPlatform("com.vaadin:vaadi...
null
CC BY-SA 4.0
null
2023-03-02T17:56:54.933
2023-03-02T17:56:54.933
null
null
21,179,038
null
75,619,208
2
null
75,619,074
0
null
You might consider using this while creating product, change the '' to 0 , if the parameter is of type int ``` _editedProduct = Product( id: _editedProduct.id ?? '', title: newValue.toString() ?? '', description: _editedProduct.description ?? '', ...
null
CC BY-SA 4.0
null
2023-03-02T17:57:19.037
2023-03-02T17:57:19.037
null
null
13,431,819
null
75,619,200
2
null
75,612,700
0
null
When I encounter the type of error you have I first process the directory to ensure all the image files are proper images files with extensions that work with the ImageDataGenerator.. If I find a bad file I exclude it from the dataset. I create a dataframe of the form filepaths, labels where the filepaths columns conta...
null
CC BY-SA 4.0
null
2023-03-02T17:56:42.983
2023-03-02T18:01:48.073
2023-03-02T18:01:48.073
10,798,917
10,798,917
null
75,619,199
1
null
null
0
14
I've got a redis engine in AWS - with a series of functions outside of the main scope. But for some reason, part of my code is not being implemented when I run a CDK deploy. Just for reference, within the main scope, I have a ``` cache.node.addDependency(userGroup); ``` line that ensures that code defined outside of t...
How do I use Typescript CDK to create an Elasticache user?
CC BY-SA 4.0
null
2023-03-02T17:56:39.217
2023-03-02T17:56:39.217
null
null
20,995,979
[ "typescript", "aws-cdk", "amazon-elasticache", "aws-cdk-typescript" ]
75,619,205
1
null
null
1
38
Given the following SQL statement for MySQL ``` var sql = @"INSERT INTO MyTable (Key1, Field1, Field2, Field3) VALUES (@key, @field1, @field2, @field3) ON DUPLICATE UPDATE Field3 = @existing"; ``` I would normally build up the values list like this : ``` var values = new List<Object> { { key = "xxx", field1 = "xxx", ...
How to mix a list and regular params in same query using Dapper
CC BY-SA 4.0
null
2023-03-02T17:57:01.863
2023-03-04T01:42:21.443
null
null
1,326,766
[ "c#", "mysql", "sql", "parameters", "dapper" ]
75,619,210
2
null
75,618,670
0
null
You could do the following if you have a reference to the sequence ``` s = list(range(10)) result = [*s,s[0]] ``` Or if you are always going to append "0" ``` result = [*range(10),0] ```
null
CC BY-SA 4.0
null
2023-03-02T17:57:23.703
2023-03-02T17:57:23.703
null
null
13,965,252
null
75,619,212
1
null
null
0
19
I am trying to create a Sitecore 9 user role that allows users to create content but not have the ability to publish it. How can this be done without programming? I create a new role, limited the content areas that the users of that role would have access to. Even without assigning Sitecore Client Publishing role, the ...
Sitecore 9 - restricting role from publishing without approval
CC BY-SA 4.0
null
2023-03-02T17:57:47.740
2023-03-03T06:47:24.783
null
null
21,320,730
[ "sitecore", "sitecore9" ]
75,619,211
1
null
null
0
11
I have a screen where i call for two different queries ``` const { data: { user = {} } = {}, } = useQuery(GET_USER_BY_ID, { variables: { userId }, }); const { data: { userPracticeTest = {} } = {}, } = useQuery(GET_PRACTICE_TEST_BY_USER, { variables: { userId }, }); ``` but despite in the bro...
React Apollo Client concurrency graphlql query error
CC BY-SA 4.0
null
2023-03-02T17:57:24.100
2023-03-02T17:57:24.100
null
null
19,926,057
[ "reactjs", "graphql", "apollo-client" ]
75,619,216
2
null
75,614,875
0
null
This error message indicates that there is a problem with your seed file. I think the error is caused by an attempt to access the 'users' table in your SQLite database, but there is no 'users' table
null
CC BY-SA 4.0
null
2023-03-02T17:58:12.467
2023-03-02T17:58:12.467
null
null
17,786,527
null
75,619,213
2
null
74,428,820
0
null
Your need to enable the new map renderer to draw gradient polylines. The use the new map renderer create an application class: [https://developers.google.com/maps/documentation/android-sdk/renderer?_ga=2.28370680.-55268474.1677776288](https://developers.google.com/maps/documentation/android-sdk/renderer?_ga=2.28370680....
null
CC BY-SA 4.0
null
2023-03-02T17:58:01.783
2023-03-02T18:04:19.543
2023-03-02T18:04:19.543
13,404,130
13,404,130
null
75,619,207
1
null
null
0
12
React-Native documentation mentions 2 method of sharing the data from native bridge to JS: - ``` const onSubmit = async () => { try { const eventId = await CalendarModule.createCalendarEvent // ... ``` - ``` let eventEmitter = new NativeEventEmitter(NativeModules.MyBridgeEventEmitter) eventEmitter.addListene...
Objective guidelines on when to use `Promise` vs `NativeEventEmitter` in react-native bridge
CC BY-SA 4.0
null
2023-03-02T17:57:08.850
2023-03-02T17:57:08.850
null
null
5,318,223
[ "react-native" ]
75,619,218
1
null
null
0
10
We have `Microsoft Purview` configured in our Azure Cloud network. When doing Purview scanning of data assets in our Azure subscription, Purview successfully classifiesdata assets (based on the scan rule sets). But we noticed that when we import data into our Azure SQL Managed Instance using `Notebooks` (inside Azure ...
Purview - capturing data lineage of data import process
CC BY-SA 4.0
null
2023-03-02T17:58:47.740
2023-03-02T17:58:47.740
null
null
1,232,087
[ "azure", "azure-purview", "data-lineage" ]
75,619,215
1
null
null
-1
18
I am trying to initialize an AVL tree. For some reason it says that I have a segmentation fault. This is the type of info in the tree: ``` typedef struct patientType { int id; string name; dateptr birthDate; appointmentLLL_manager appointment_manager; } patient, *patientPtr; ``` This is the tree: ``` t...
Segmentation Fault when initializing an AVL tree
CC BY-SA 4.0
null
2023-03-02T17:58:08.793
2023-03-02T18:08:24.407
2023-03-02T18:08:24.407
898,348
21,320,955
[ "c", "pointers", "initialization", "avl-tree" ]
75,619,204
1
75,619,431
null
0
35
I am new to Spring boot and trying to learn some REST api. I am trying to create a controller where it returns Hello World. I have tried multiple tutorials and a lot of StackOverflow questions but it still doesn't work I have checked this [Spring Boot Controller not mapping](https://stackoverflow.com/questions/45183875...
Simple Spring Rest Controller not working
CC BY-SA 4.0
null
2023-03-02T17:56:54.937
2023-03-02T18:57:13.763
2023-03-02T18:34:00.067
11,538,927
11,538,927
[ "spring", "rest" ]
75,619,220
2
null
75,618,860
0
null
You can find minimum from `2`s and maximum from `4`s and then use `coalesce`: ``` -- sample data WITH dataset(value, fee) AS ( values ('val_1', 2001), ('val_1', 4003), ('val_1', 4002), ('val_2', 4512), ('val_2', 4186), ('val_3', 4125), ('val_4', 2058), ('val_5...
null
CC BY-SA 4.0
null
2023-03-02T17:58:54.023
2023-03-02T17:58:54.023
null
null
2,501,279
null
75,619,217
2
null
68,803,095
0
null
Laravel [uses](https://laravel.com/docs/10.x/configuration#environment-configuration) [vlucas/phpdotenv](https://github.com/vlucas/phpdotenv) to manage environment variables. phpdotenv stores/retrieves variables from `$_ENV`, `$_SERVER` and optionally php 's `getenv()` and `putenv()`. The use of `getenv()` and `putenv...
null
CC BY-SA 4.0
null
2023-03-02T17:58:38.403
2023-03-02T17:58:38.403
null
null
21,321,100
null
75,619,221
1
null
null
0
41
I am updating some old python scripts from 2.7 to 3.10 and can't figure out the behavior of one function. ``` def export_from_source(self): self.dt_start = datetime.now() p = subprocess.Popen(self.esbadmin_cmd, stdin=subprocess.PIPE, stdout=self.logs.export_log, stderr=subprocess.STDOUT...
Python 3.10 Popen behavior after update from 2.7
CC BY-SA 4.0
null
2023-03-02T17:58:56.357
2023-03-02T19:15:02.967
2023-03-02T18:05:19.443
4,518,341
3,404,525
[ "python", "python-3.x", "subprocess", "python-2.x" ]
75,619,223
2
null
75,576,455
0
null
It supports the client/server subscription mechanism, but it does not support PubSub as defined by [OPC UA Part 14](https://reference.opcfoundation.org/Core/Part14/v105/docs/).
null
CC BY-SA 4.0
null
2023-03-02T17:59:01.227
2023-03-02T17:59:01.227
null
null
85,927
null
75,619,222
1
null
null
-1
33
I have a local package `B` which depends on another local package `A`. They both are stored in a company repository: `https://mycompany.com/api/pypi/pypi-bld/simple`. Therefore, tests of `B` requires `A`. I need to use pre-commit which uses both the company repository and the default one. I use this `.pre-commit-confi...
How to specify path to a local reposiory in .pre-commit-config.yaml?
CC BY-SA 4.0
null
2023-03-02T17:58:58.330
2023-03-03T07:39:43.890
2023-03-03T07:39:43.890
7,200,745
7,200,745
[ "python", "pip", "virtualenv", "pre-commit", "pre-commit.com" ]
75,619,224
1
null
null
-1
13
i have a whatsapp bot, but if i run it on VS Code, he can't online 24/7. so i searching for how to make it online 24/7, and the answer is VPS. so i make an AWS, where the instance is UBUNTU. and i copying the file's to the ubuntu using powershell, then i zip it and install all the dependency that need for running my wh...
How to Keep a WhatsApp Bot Online 24/7 on AWS Ubuntu Instance: Issues with Running on VS Code and Solutions Tried
CC BY-SA 4.0
null
2023-03-02T17:59:10.153
2023-03-02T17:59:10.153
null
null
21,321,004
[ "node.js", "ubuntu", "amazon-ec2", "cloud", "whatsapp" ]
75,619,219
1
null
null
-4
48
Well I don't know what to say, I simply copied the entire code to a new file and the errors are gone. They do persist in the old file, though, so I'll just get rid of it. Thanks, everyone. --- I have 3 matrices defined in the main function. The size of the matrices is based on user input, but they're square matrice...
Passing a pointer of a 2D array to a function in C
CC BY-SA 4.0
null
2023-03-02T17:58:48.090
2023-03-02T21:14:20.410
2023-03-02T21:14:20.410
8,369,992
8,369,992
[ "arrays", "c" ]
75,619,186
1
null
null
-2
28
I have looked at an answer that was given but I need to know how to fix it. I'm sorry for being so difficult but "How to fix a NullReferenceException" article wasn't really helpful. In the below class file I have created a base class with a nested base class under it. As you can see, the OutboundEasiDocument class has...
How Do I Bind a Sub-class to an inherited Sub Class
CC BY-SA 4.0
null
2023-03-02T17:55:27.260
2023-03-02T21:59:08.680
2023-03-02T21:59:08.680
14,208,366
14,208,366
[ "c#", "object", "nested", "nullreferenceexception" ]
75,619,214
2
null
75,615,698
1
null
You can not use a `for` command to process the `%LIST%` elements because each element must pass to the next one based on (`if` command). You have not specified what happens if there are more replacements than LIST elements. This is the way I would do it: ``` @echo off setlocal EnableDelayedExpansion set "infile=test....
null
CC BY-SA 4.0
null
2023-03-02T17:58:08.377
2023-03-02T18:40:56.670
2023-03-02T18:40:56.670
778,560
778,560
null
75,619,226
1
null
null
0
20
``` FutureEither<UserModel> signInWithGoogle() async { try { final GoogleSignInAccount? googleUser = await _googleSignIn.signIn(); final GoogleSignInAuthentication? googleAuth = await googleUser?.authentication; final credential = GoogleAuthProvider.credential( accessToken: googl...
non-nullable local variable userModel must be assigned
CC BY-SA 4.0
null
2023-03-02T17:59:26.827
2023-03-02T18:06:04.607
2023-03-02T18:03:40.173
179,715
21,321,094
[ "flutter", "dart" ]
75,619,209
2
null
75,619,083
2
null
The problem is that each instance of `Increase` uses the `handleClick` that was created for the call where that `Increase` was created, and that `handleClick` closes over the `counter` as of when it was created. So the first one always closes over `counter = 0`, for example. So if you add three nodes without clicking a...
null
CC BY-SA 4.0
null
2023-03-02T17:57:22.437
2023-03-02T17:57:22.437
null
null
157,247
null
75,619,225
2
null
75,604,715
0
null
I know this is a frustrating answer, but unfortunately I don't think anything else is actually going to be good advice in the end. The bottom line is that logging over a network share is simply a bad idea - it's subject to network interference etc. Expecting multiple writes from multiple machines to coordinate well is ...
null
CC BY-SA 4.0
null
2023-03-02T17:59:20.997
2023-03-02T17:59:20.997
null
null
11,635
null
75,619,234
2
null
75,549,636
0
null
What I've found to work was inspired by a technique called ray marching, where you find the closest object (in my case a point minus it's radius), get the distance between the ray's point and this object, and move that much forward, then repeat.
null
CC BY-SA 4.0
null
2023-03-02T18:00:17.820
2023-03-02T18:00:17.820
null
null
13,104,877
null
75,619,233
2
null
65,514,142
1
null
This is possible to do both memory safe and without creating intermediate buffers. You can have go slices that have a C "backing". See [here](https://github.com/golang/go/wiki/cgo#turning-c-arrays-into-go-slices). ``` // export read function to C func read(descriptorId int, buf *C.char, size C.size_t) C.int { strea...
null
CC BY-SA 4.0
null
2023-03-02T18:00:09.927
2023-03-02T18:00:09.927
null
null
1,445,842
null
75,619,231
2
null
75,618,353
0
null
Use the [ReplaceToken](https://marketplace.visualstudio.com/items?itemName=qetza.replacetokens) task before the `docker-compose` script to replace the variables with their values, a very basic sample is below: ``` - task: replacetokens@3 displayName: 'Replace tokens in docker-compose' inputs: targetFiles: | ...
null
CC BY-SA 4.0
null
2023-03-02T17:59:59.123
2023-03-02T20:00:15.387
2023-03-02T20:00:15.387
3,537,880
3,537,880
null
75,619,230
2
null
75,613,016
1
null
just correction and opinion: its a bit confused to use `await` and `then` in the same time. `then` its already promise. and please check the conditional `if (data == null || data == 0 || data == false) {` . use `if(data)` instead. following your description, you just need to use `findAndUpdate`, reff [findOneAndUpdate]...
null
CC BY-SA 4.0
null
2023-03-02T17:59:54.220
2023-03-02T17:59:54.220
null
null
9,267,467
null
75,619,227
1
null
null
0
20
I have a tree growth database containing the number of living cells in different growth stages called 'enlarging' and 'thickening' for every DOY (Day of the year) I went to the forest to take samples, for every tree I took samples of, and every year (in this example: 2 different trees per year, 2 years). I went to the ...
Use a linear model to predict onset of growth
CC BY-SA 4.0
null
2023-03-02T17:59:32.343
2023-03-02T18:07:59.333
2023-03-02T18:07:59.333
21,068,409
21,068,409
[ "r", "dplyr", "prediction", "lm", "predict" ]
75,619,229
1
null
null
1
10
I am trying to install libpqcrypto for Python implementation. I am following the details described on the official page here: [https://libpqcrypto.org/install.html](https://libpqcrypto.org/install.html) For convenience I have copied the commands below: cc and other compiler tools: ``` apt install build-essential ``` O...
libpqcrypto installation failure
CC BY-SA 4.0
null
2023-03-02T17:59:53.743
2023-03-02T17:59:53.743
null
null
21,282,016
[ "python-3.x", "ubuntu", "cryptography" ]
75,619,240
1
75,619,346
null
0
21
It's an e-commerce project using MERN stack. I'm trying to filter by category but it's the only one that doesnt'matches. For example, if I use find() to search by name it works, but white category says that the object doesn't have that property. # # this is the route: ``` router.get("/category/:category", async ...
can`t filter by category in mongoDB in a MERN app
CC BY-SA 4.0
null
2023-03-02T18:00:37.390
2023-03-02T18:20:02.957
2023-03-02T18:10:25.113
9,180,837
21,321,023
[ "javascript", "mongodb", "find", "mern" ]
75,619,232
2
null
75,618,692
0
null
Instead of removing the `ScrollView` from the view hierarchy, use the `opacity` modifier to hide the `ScrollView` when there is a selection. Keeping the `ScrollView` always present means you have to use set the `isSource` of the selected item's `matchedGeometryEffect` to false in the `ScrollView`. Otherwise, SwiftUI ca...
null
CC BY-SA 4.0
null
2023-03-02T18:00:04.167
2023-03-02T18:00:04.167
null
null
77,567
null
75,619,235
1
null
null
0
28
``` function doGet(e){ var p = e.parameters; try { if ("username" in p) { // user info get let id = p.ID; let username = p.username; let time = p.time; let email = p.email; let roles = p.roles; let value = [id,username,time,email,roles]; userSheet.appendRow(value); ...
Google Apps Script: appendRow() getting values like [Ljava.lang.Object;@66e6c522
CC BY-SA 4.0
null
2023-03-02T18:00:19.153
2023-03-03T18:28:29.473
null
null
2,302,661
[ "google-apps-script", "google-apps-script-api" ]
75,619,242
2
null
75,618,712
2
null
Implement a scoped `CircuitHandler`. In the `OnCircuitOpenedAsync` override, store the Circuit in app state. In the component, fetch the circuit from your app state. Here's a basic minimal example: ## CircuitHandler ``` using Microsoft.AspNetCore.Components.Server.Circuits; internal class MyCircuitHandler : Circuit...
null
CC BY-SA 4.0
null
2023-03-02T18:01:30.227
2023-03-02T18:01:30.227
null
null
2,658,697
null
75,619,241
1
75,619,594
null
0
27
I have a SwiftUI class that receives data as an object-array (swipeStackThemes) and a part of the data should be inserted in another array (indicesThemes). the input-array contains up to 100 elements, but i want to view to load only 5 at a point. I want to do this, because the data is supposed to be shown in a ZStack a...
How to synchronise SwiftUI View and initializer?
CC BY-SA 4.0
null
2023-03-02T18:01:02.260
2023-03-02T19:50:22.290
null
null
8,641,440
[ "swift", "swiftui" ]
75,619,236
2
null
75,614,853
0
null
You are doing a lot of work here manually which you don't need to be doing! ``` dispatch(updateUser.fulfilled(result2.payload)); ``` You don't need to individually dispatch the `updateUser.fulfilled` or `updateUser.rejected` actions. The thunk will handle that internally. ``` export const updateUser = createAsyncThun...
null
CC BY-SA 4.0
null
2023-03-02T18:00:20.853
2023-03-02T18:16:21.137
2023-03-02T18:16:21.137
10,431,574
10,431,574
null
75,619,237
1
null
null
2
56
Consider this code, wrote with the only purpose of an exercise: ``` class Param { private: struct Foo{ int bar; }; public: Foo foo; }; int main() { Param p; p.foo.bar = 5; } ``` Generate this intermediate code with [cppInsight](https://cppinsights.io/lnk?code=I2luY2x1ZGUgPGNzdGRpbz4KCmNsYXNzIFBhcm...
Deduction of auto make the compiler generate defaults constructors
CC BY-SA 4.0
null
2023-03-02T18:00:25.420
2023-03-02T18:23:57.393
null
null
8,805,095
[ "c++" ]
75,619,245
1
null
null
0
12
I see different connectors to connect AWS functionalities, but I do not see one for event bridge. [https://blogs.mulesoft.com/api-integration/cloud/getting-the-most-of-mulesoft-and-aws/](https://blogs.mulesoft.com/api-integration/cloud/getting-the-most-of-mulesoft-and-aws/). How can I connect to bridge?
Mulesoft connectors for AWS
CC BY-SA 4.0
null
2023-03-02T18:01:35.393
2023-03-02T18:01:35.393
null
null
17,507,794
[ "mulesoft" ]
75,619,244
2
null
75,607,788
0
null
Removed the semicolon from the query. Afterthat, it started working Working code: ``` { "name": "mysql-jdbc", "config": { "connector.class" : "io.confluent.connect.jdbc.JdbcSourceConnector", "connection.url" : "jdbc:mysql://mysqldb:3306/silicon", "connection.user" : "root", "connection.password" : ...
null
CC BY-SA 4.0
null
2023-03-02T18:01:34.323
2023-03-02T18:01:34.323
null
null
6,280,135
null
75,619,243
1
75,619,284
null
0
20
I was trying to make a select appear whenever the value of the variable isDisabled is set to false, however no change to the html is made, I have tried to change the html dynamically in several ways this was the last and least messy attempt, but no it worked anyway. What I expect is that whenever I select some type of ...
How to change html using React event listeners?
CC BY-SA 4.0
null
2023-03-02T18:01:32.920
2023-03-02T18:05:47.953
null
null
19,612,959
[ "javascript", "html", "reactjs" ]
75,619,228
1
null
null
0
32
Title pretty much. I tried following another post on here of a similar question from 2016 and a few other solutions from some half hour of browsing, but I couldn't get any of the solutions to work (likely due to my own incompetence). The burger menu shows properly on mobile or small devices, but on click it does nothin...
How to get Bulma burger in navbar to actually work? It shows up, but on click does nothing
CC BY-SA 4.0
null
2023-03-02T17:59:46.287
2023-03-02T18:20:27.967
2023-03-02T18:15:44.590
399,637
21,270,064
[ "javascript", "html", "bulma" ]
75,619,249
2
null
67,213,892
0
null
First, make sure you installed Node types: ``` $ npm install @types/node --save ``` Now add this line at the top of your file: ``` /// <reference types="node" /> ``` But this is what you'll get in the end: [](https://i.stack.imgur.com/zxvD5.png) So don't :)
null
CC BY-SA 4.0
null
2023-03-02T18:02:10.610
2023-03-02T18:02:10.610
null
null
134,904
null
75,619,248
2
null
75,618,376
0
null
Hi thanks for your reply. I tried something like that. Let's say the total width of the windows is 800 so I considered 400 as the turtle is starting in the middle of the window. I thought , before it moves let's check if the xcor plus the maximum distance I can get randomly which is 100, should not go over 400. Am I ri...
null
CC BY-SA 4.0
null
2023-03-02T18:02:05.983
2023-03-02T18:02:05.983
null
null
9,071,739
null
75,619,252
1
null
null
1
12
In the k8s.io/client-go package, we have a workqueue that is used for adding items to whenever informers detect changes to resources. I'm trying to figure out if there is a way, in the case we have multiple pods running the controllers, that the workqueue could be shared across the pods. Is there someway to achieve thi...
How to make a workqueue consistent across replicas in kubernetes custom controllers?
CC BY-SA 4.0
null
2023-03-02T18:02:22.680
2023-03-02T18:02:22.680
null
null
19,017,972
[ "go", "kubernetes", "controller", "client-go" ]
75,619,247
2
null
75,619,103
2
null
I don't believe this is possible with S3. AWS does not support S3 objects filtering by suffix. But you can do this with two steps. ``` s3_client = boto3.client('s3') bucket = 'my-bucket' prefix = 'my-prefix/foo/bar' paginator = s3_client.get_paginator('list_objects_v2') response_iterator = paginator.paginate(Bucket=buc...
null
CC BY-SA 4.0
null
2023-03-02T18:01:40.343
2023-03-02T18:01:40.343
null
null
5,589,820
null
75,619,246
2
null
75,619,076
2
null
To expand on the comment, most database engines don't implement the that the SQL Standard defines. In theory you wouldn't need to aggregate non-pk columns when grouping by the PK. The exception, of course, is PostgreSQL that adheres to functional dependency. Isn't PostgreSQL great? (I'm not affiliatted in any shape or...
null
CC BY-SA 4.0
null
2023-03-02T18:01:38.243
2023-03-02T18:08:03.220
2023-03-02T18:08:03.220
6,436,191
6,436,191
null
75,619,239
1
null
null
0
17
The problem is that the "Submit" button on a form, generated using the <sx:submit> tag, appears to do absolutely nothing when clicked on in the Chrome browser. The jsp page source looks something like this: ``` <%@taglib uri="/struts-tags" prefix="s" %> <%@taglib uri="/struts-dojo-tags" prefix="sx" %> <div> <table> ...
<sx:submit> Button works in IE, but does nothing in Chrome
CC BY-SA 4.0
null
2023-03-02T18:00:36.437
2023-03-03T16:18:35.433
2023-03-03T16:18:35.433
438,992
21,320,885
[ "google-chrome", "internet-explorer", "dojo", "struts" ]
75,619,258
2
null
48,047,810
0
null
Running WSL2 and WSL 2 based engine (not Hyper-V) For some reason this toggle button under "Resources" -> "WSL Integration" was turned off. The moment I turned it on again everything worked as expected. Make sure it is turned on for you before digging any deeper. I assume I haven't set my Ubuntu distro as my default di...
null
CC BY-SA 4.0
null
2023-03-02T18:03:14.603
2023-03-02T18:03:14.603
null
null
11,028,737
null
75,619,254
1
null
null
-1
32
I am bulding rather simple Tkinter application but I would like to stick to OOP. Therefore whole application is splitted into different classes. One of the class is Mathematical Calculations which is making different calculations based on Pandas's dataframe (DF). One of methods of this class is average which returns av...
Tkinter - binded lamba function to return value
CC BY-SA 4.0
null
2023-03-02T18:02:47.177
2023-03-02T19:16:55.947
2023-03-02T18:14:52.843
16,117,340
16,117,340
[ "python", "pandas", "dataframe", "oop", "tkinter" ]
75,619,250
1
null
null
0
29
When I want to extract all songs from a spotify playlist, I get only the first 100 songs even when using the "offset" and "limit" parameters in my get request. I'm using no libraries like spotipy and I'm working in Python 3.9. Can someone please help me with what I'm doing wrong? Thanks in advance! I use a function whe...
Python Spotify API - Unable to get full playlist with "get_playlist_items" method
CC BY-SA 4.0
null
2023-03-02T18:02:17.753
2023-03-03T19:23:41.883
2023-03-02T18:02:57.440
21,313,902
21,313,902
[ "json", "python-3.x", "python-requests" ]
75,619,256
1
75,620,486
null
0
31
In the following picture it is clear: the resizing area overlaps with the arrows to sort the grid. [](https://i.stack.imgur.com/fZk3l.png) I tried a number of things: like setting a margin on the inputfield or a padding on the cell or add a style to the grid. In the browser, using the developer tools I can add padding ...
Vaadin: resizing area is too big
CC BY-SA 4.0
null
2023-03-02T18:02:49.080
2023-03-02T20:27:01.990
null
null
12,969,843
[ "css", "vaadin" ]
75,619,260
1
null
null
0
6
I am trying to find the # of days since last modified (Claimant: Last Modified Date column) from current date. Appreciate everyone's help! [Screenshot of Salesforce Report](https://i.stack.imgur.com/b05El.png) Tried playing around the custom formulas but I only get a syntax error.
Salesforce Custom Formula in Report
CC BY-SA 4.0
null
2023-03-02T18:03:30.140
2023-03-02T18:03:30.140
null
null
21,321,087
[ "salesforce", "formula" ]
75,619,263
2
null
75,610,658
0
null
Issue was with redux-persist. On android it was eating an enormous amount of memory as large chunks of data were persisted. The only way I could get this to stop happening was adding a throttle of 10000 ms to my config for it.
null
CC BY-SA 4.0
null
2023-03-02T18:03:42.997
2023-03-02T18:03:42.997
null
null
1,347,915
null
75,619,261
1
null
null
0
4
We are facing an issue when executing retries on a or HTTP client. We are setting the correlationId in the headers of the HTTP request (using an interceptor with Feign or a filter with Spring reactive WebClient), and everything works fine (we keep and get the correlationId from the SLF4J's MDC, but when the retry mec...
Resilence4j: Losing MDC Context and correlationId HTTP headers when retries are executed
CC BY-SA 4.0
null
2023-03-02T18:03:33.047
2023-03-02T18:03:33.047
null
null
5,827,856
[ "spring-boot", "resilience4j-retry" ]
75,619,251
1
75,619,480
null
0
18
I'm new in machine learning and deep learning. I'm working on a project to create saliency map for some testing images. I have loaded some cats and dogs images and preprocessed them. I've created my model. after running this code snippet I faced this error: **Input 0 of layer "sequential" is incompatible with the layer...
Input 0 of layer "sequential" is incompatible with the layer: expected shape=(None, 300, 300, 3), found shape=(300, 300, 3)
CC BY-SA 4.0
null
2023-03-02T18:02:22.053
2023-03-03T14:51:32.650
null
null
21,321,032
[ "deep-learning", "computer-vision", "conv-neural-network", "artificial-intelligence" ]
75,619,267
1
75,619,553
null
0
16
How do I copy and paste my GitHub Repo URL into my hyper terminal in Windows? > ``` when I press ctrl+V it shows ^V ``` It should have the link pasted into the hyper terminal
Copy Paste in Hyper Terminal in Windows
CC BY-SA 4.0
null
2023-03-02T18:04:06.870
2023-03-03T07:34:20.743
2023-03-03T07:34:20.743
18,623,288
20,637,165
[ "hyperterminal" ]