Id
int64
4
8.51M
PostTypeId
int64
1
7
AcceptedAnswerId
int64
7
75.5M
ParentId
int64
4
41.8M
Score
int64
-208
27.7k
ViewCount
int64
11
12.4M
Body
stringlengths
0
45k
Title
stringlengths
2
150
ContentLicense
stringclasses
3 values
FavoriteCount
int64
0
225
CreationDate
stringdate
2008-07-31 21:42:52
2011-12-14 18:48:47
LastActivityDate
stringdate
2008-08-01 12:19:17
2023-03-05 04:40:26
LastEditDate
stringdate
2008-08-01 13:54:25
2023-03-05 03:12:45
LastEditorUserId
int64
-1
21.3M
OwnerUserId
int64
-1
21.1M
Tags
listlengths
1
6
75,638,451
1
null
null
0
14
I have searched for a long time but unfortunately found nothing. It is very inconvenient that this option is not offered directly. I ask for help. Thank you! What I already did is: In the legacy Admin area, go to the "Advanced Settings" area, navigate to "Settings" | "Administration" | "System Settings" | "Formats" and...
How to change Date column format in Dataverse from MM/DD/YYYY to DD/MM/YYYY?
CC BY-SA 4.0
null
2023-03-04T20:25:16.537
2023-03-04T21:09:09.933
null
null
15,055,721
[ "powerapps", "dataverse" ]
75,638,372
2
null
75,635,827
0
null
Here are the contents of my htaccess file. This is a Joomla 3 site with AdminTools installed. ``` ##### RewriteEngine enabled - BEGIN RewriteEngine On ##### MVC updates - BEGIN RewriteRule ^OLDNAME/(.+?)(?:-2)?/?$ /NEWNAME/$1 [L,NC,R=302,NE] ##### RewriteBase set - BEGIN RewriteBase / ##### File execution order -- ...
null
CC BY-SA 4.0
null
2023-03-04T20:08:16.200
2023-03-04T20:08:16.200
null
null
7,406,917
null
75,638,438
2
null
75,636,786
0
null
, wherever you have `X extends Y`, it would mean that `X` should be [substitutable](https://en.wikipedia.org/wiki/Liskov_substitution_principle) for `Y`. So if you have `interface Foo extends Bar` then you can use a `Foo` wherever a `Bar` is needed... interface extension should imply subtyping. Or if you have `class ...
null
CC BY-SA 4.0
null
2023-03-04T20:22:00.897
2023-03-04T20:22:00.897
null
null
2,887,218
null
75,638,450
2
null
75,637,861
-1
null
While LISTAGG is a clause that could be used for this problem - this clause is only available in Oracle. The PostgreSQL equivalent for this clause is . You can try the below to generate the desired output - this works by aggregating all entries for both and into a single string. GROUP BY is then used to aggregate all...
null
CC BY-SA 4.0
null
2023-03-04T20:24:46.830
2023-03-04T20:24:46.830
null
null
7,094,244
null
75,638,454
2
null
74,282,341
0
null
As a general rule, you should declare in your package.json, the packages that your code is directly using, and only them. By "that your code is directly using", I mean that you import (or require) them in your own code. It has two advantages : - - But when you use a dependency A, which has a dependency B, if your code...
null
CC BY-SA 4.0
null
2023-03-04T20:25:50.167
2023-03-04T20:25:50.167
null
null
1,060,205
null
75,638,456
1
75,638,554
null
1
18
I have two SQLite tables: ``` CREATE TABLE T_A (year_A INT, amount_A DOUBLE); year_A | amount_A ---------------------- 2020 | 100.0 2020 | 200.0 2021 | 300.0 2021 | 400.0 CREATE TABLE T_B (year_B INT, amount_B DOUBLE); year_B | amount_B ---------------------- 2021 | ...
FULL OUTER JOIN emulation and aggregate function (e.g. SUM)
CC BY-SA 4.0
null
2023-03-04T20:26:49.210
2023-03-05T00:20:08.570
2023-03-05T00:20:08.570
3,404,097
16,283,580
[ "sqlite", "join", "group-by", "common-table-expression", "full-outer-join" ]
75,638,458
1
null
null
1
27
Suppose I have a df like this, ``` id | date | type 1 | 2023-03-01T10:00:00Z | A 1 | 2023-03-01T12:00:00Z | A 1 | 2023-03-05T09:09:00Z | D 1 | 2023-03-02T12:00:00Z | B 1 | 2023-03-02T19:00:00Z | C 1 | 2023-03-03T22:00:00Z | B 1 | 2023-03-04T12:00:00Z | C 1 | 2023-03-05T0...
How can I capture the changes of values of a column based on the combination of other columns using Pandas?
CC BY-SA 4.0
null
2023-03-04T20:27:19.063
2023-03-04T20:57:36.933
2023-03-04T20:47:34.633
11,743,516
11,743,516
[ "python", "pandas", "dataframe", "numpy" ]
75,638,459
2
null
75,637,680
0
null
you need to learn some type of backend technology. try searching for full stack development. there are several "stacks" out there. LAMP (Linux-Apache-MySQL-PHP) for example. Currently full stacks like MEAN and MERN are very popular. Essentially, you need a server, a database on that server to hold data, and something o...
null
CC BY-SA 4.0
null
2023-03-04T20:27:24.697
2023-03-04T20:27:24.697
null
null
16,569,984
null
75,638,452
1
null
null
1
12
I'm trying that if a user mention himself (using tree commands) then send a message to that user, but I can't. Code: ``` @bot.tree.command(name="bite", description="Bites a user, yum!") @app_commands.describe(user = "User") async def bite(interaction: discord.Interaction, user: discord.Member = None): if user is Non...
Why I can't make if a user mention himself with a tree command then send a message to that user? Discord.py
CC BY-SA 4.0
null
2023-03-04T20:25:25.280
2023-03-05T03:07:40.847
null
null
20,905,653
[ "python", "discord.py" ]
75,638,460
1
null
null
0
8
Excel 2016: I want to use a checkbox to copy the value from one cell to another cell. Example: I am using three cells: F36, G36, and H36. The checkbox is in F36. When checked (TRUE), I want the value in G36 ($350.00) to be copied to H36. When unchecked (FALSE), do nothing. I am already using conditional formatting for ...
Excel 2016: if checkbox is true, copy value from one cell to another cell, if false, do nothing
CC BY-SA 4.0
null
2023-03-04T20:27:32.527
2023-03-04T20:27:32.527
null
null
21,322,811
[ "checkbox", "formula", "excel-2016" ]
75,638,457
1
null
null
1
45
I am trying to convert some old 'C' code to C#, but having a problem with the syntax `t = &(*t)->next[u];` and `(*t)->end = 1;` The relevant part of original code is as follows ``` typedef struct Trie Trie; struct Trie { int end; Trie* next[26]; }; void trie_insert(Trie** t, const char* p) { while (*p) { ...
How to convert the address of a dereferenced pointer from C to C#
CC BY-SA 4.0
null
2023-03-04T20:27:07.660
2023-03-04T20:27:07.660
null
null
1,460,828
[ "c#", "c", "pointers" ]
75,638,461
2
null
75,638,309
0
null
1. It can be the backticks (`). In JS, backticks are used to define template literals, which allow for easier string interpolation and multiline strings. However, template literals are not supported in all browsers and versions of JavaScript ``` import MyIcon from `icons/${icon}.vue` // incorrect - uses backticks im...
null
CC BY-SA 4.0
null
2023-03-04T20:27:42.093
2023-03-04T20:27:42.093
null
null
11,385,320
null
75,638,449
1
null
null
0
7
When it comes to building a MacOS application from a Python project, "python3 setup.py py2app" is a popular command to use. However, as with any complex task, issues can arise that require troubleshooting. In my case, I am running into an import problem while using this command. Specifically, certain modules or package...
No module named 'pynput.keyboard._darwin' for py2app macos app
CC BY-SA 4.0
null
2023-03-04T20:24:39.073
2023-03-04T20:24:39.073
null
null
5,613,830
[ "python", "py2app" ]
75,638,463
2
null
292,357
0
null
Both git pull and git fetch are used to update a local Git repository with changes from a remote repository. However, there are some differences between the two commands: retrieves changes from the remote repository and stores them in a separate branch in the local repository. The changes are not merged with the curre...
null
CC BY-SA 4.0
null
2023-03-04T20:28:05.053
2023-03-04T20:28:05.053
null
null
5,418,530
null
75,638,468
2
null
75,637,557
2
null
My [Antsy](https://metacpan.org/pod/Antsy) module handles almost everything that iTerm2 lets me do. Even if you don't want to use it, looking inside should show you most things ANSI terminals are expected to handle (even if they don't). For example, I can specify one of 256 colors with 24-bit RGB values. Also look at [...
null
CC BY-SA 4.0
null
2023-03-04T20:28:54.440
2023-03-04T20:28:54.440
null
null
2,766,176
null
75,638,455
1
null
null
0
14
I have a problem with a docker compose configuration. I just want to create an mysql+pma config. This is my docker compose file: ``` version: '3.1' services: db: hostname: db image: mysql # NOTE: use of "mysql_native_password" is not recommended: https://dev.mysql.com/doc/refman/8.0/en/upgrading-from-pre...
docker-compose mysql - port not bound locally
CC BY-SA 4.0
null
2023-03-04T20:26:11.473
2023-03-04T20:30:42.220
2023-03-04T20:30:42.220
17,037,505
17,037,505
[ "mysql", "docker-compose" ]
75,638,437
1
null
null
0
9
I am making a web app, where the user clicks through some images while talking about them and pointing things out with the cursor. The audio, timestamps of image changes, and mouse cursor coordinates and times are sent to a php script which uses ffmpeg to make a slideshow from the images and audio. Then it runs another...
How could I add an overlay to a video based on mouse cursor coordinates?
CC BY-SA 4.0
null
2023-03-04T20:21:27.840
2023-03-04T20:21:27.840
null
null
5,821,880
[ "javascript", "ffmpeg" ]
75,638,474
2
null
52,608,600
0
null
@NotEmpty should only be used for String type attributes. For mandatory data you should use @NotNull. And it also has @Future and @Past annotations to validate whether it is a future or past date.
null
CC BY-SA 4.0
null
2023-03-04T20:29:29.893
2023-03-04T20:29:29.893
null
null
21,333,359
null
75,638,469
1
null
null
0
17
y'all! I'm trying to write a xlsx file with the xlsx package like this: ``` xlsx:: write.xlsx (x = cv, file = "./Tables/cv.xlsx", append = F, sheetName = "XXX", col.names = T, row.names = F) ``` But this error keeps showing up: ``` Error in .jcall(row[[ir]], "Lorg/apache/poi/ss/usermodel/Cell;", "c...
R | write.xlsx error in .jcall: Java Exception <no description because toString() failed>
CC BY-SA 4.0
null
2023-03-04T20:28:57.047
2023-03-04T20:28:57.047
null
null
20,290,723
[ "java", "r", "xlsx" ]
75,638,470
1
null
null
0
7
Embedded Tweets are `html/js` snippets given by Twitter for you to just add to your html, and it loads an iframe doing everything. When displaying a page on nextjs through server, it does display well. However, when using the Link client side router, the snippet is displayed without loading the iframe. So there's nothi...
Embedded tweet not displaying client-side on nextjs 13 with appDir
CC BY-SA 4.0
null
2023-03-04T20:29:08.000
2023-03-04T20:50:24.130
null
null
16,097,107
[ "next.js", "twitter" ]
75,638,476
2
null
30,857,207
0
null
You should try this css code. ``` @media only screen and (max-width:767px) { .footer{ display: none; } } ```
null
CC BY-SA 4.0
null
2023-03-04T20:30:03.257
2023-03-04T20:30:03.257
null
null
16,538,539
null
75,638,472
2
null
75,638,444
-2
null
``` function sleep(s) { return new Promise(resolve => setTimeout(() => resolve(s), s)); } async function run() { for (let i = 0; i <= 200; i++) { console.log( await sleep(i * 1000)); }; } run(); ```
null
CC BY-SA 4.0
null
2023-03-04T20:29:19.710
2023-03-04T20:29:19.710
null
null
20,493,210
null
75,638,467
1
null
null
0
9
the error is refill_get() missing 1 required positional argument: 'message' code ``` from aiogram.types import CallbackQuery, Message @dp.callback_query_handler(text_startswith="refill_choice", state="*") async def refill_way_choice(call: CallbackQuery, state: FSMContext): get_way = call.data.split(":")[1] awa...
aiogram refill_get() missing 1 required positional argument: 'message'
CC BY-SA 4.0
null
2023-03-04T20:28:37.307
2023-03-04T20:28:37.307
null
null
21,333,336
[ "python", "telegram-bot", "aiogram" ]
75,638,478
2
null
75,638,322
-1
null
Use `SingleChildScrollView` widget to `TextField`.
null
CC BY-SA 4.0
null
2023-03-04T20:30:15.287
2023-03-05T00:36:22.167
2023-03-05T00:36:22.167
16,124,033
21,280,396
null
75,638,471
2
null
75,638,470
0
null
By watching closely at the twitter script, widget.js, I saw this : ``` window.twttr.widgets.load(); ``` We are going to preload the script in the app, before trying to access these properties that may not exist yet. ``` React.useEffect(() => { const s = document.createElement("script"); s.setAttribute("src", "...
null
CC BY-SA 4.0
null
2023-03-04T20:29:08.000
2023-03-04T20:50:24.130
2023-03-04T20:50:24.130
16,097,107
16,097,107
null
75,638,481
1
null
null
0
25
I want to create a defaultdict using data from two txt files. The first txt file has the following pattern (word idf): ``` acceler 4.634728988229636 accept 2.32949254591397 access 3.0633909220278057 accid 3.9512437185814275 acclaim 4.634728988229636...
How to create a defaultdict from txt files?
CC BY-SA 4.0
null
2023-03-04T20:30:28.153
2023-03-04T22:26:11.277
null
null
21,286,166
[ "extract", "defaultdict" ]
75,638,473
1
null
null
-4
30
In Python language, I want to test several rules for a trading algorithm. I have 2 filters (to know if the conditions are good or bad for trading), 2 entry signals and 2 exit signals. I want to create a function that could test different combinations of rules together. How to do ? In the code attached as an example I h...
How to create a function that tests different criteria for a trading algorithm in Python?
CC BY-SA 4.0
null
2023-03-04T20:29:25.070
2023-03-04T20:36:45.387
2023-03-04T20:36:45.387
17,562,044
15,636,805
[ "python", "pandas", "trading", "algorithmic-trading" ]
75,638,475
1
null
null
0
5
I am starting a .NET electron app via terminal on MacOS by using .NET 7. In the process tray I can see the app itself being started, but the window is not showing. Also when trying to open the window via the system tray it indicates me "No Available Windows". The application is rather simple as it is the "default" weba...
ElectronNET application started via terminal (MacOS) is running, but window is not showing
CC BY-SA 4.0
null
2023-03-04T20:29:57.620
2023-03-04T20:29:57.620
null
null
9,327,028
[ ".net", "macos", "electron" ]
75,638,483
2
null
75,638,208
0
null
add this below your tuner search: ``` # Get the optimal hyperparameters best_hps=tuner.get_best_hyperparameters(num_trials=1)[0] print(f""" The hyperparameter search is complete. The optimal number of units in the first densely-connected layer is {best_hps.get('units')} and the optimal learning rate for the optimizer ...
null
CC BY-SA 4.0
null
2023-03-04T20:31:04.963
2023-03-04T20:43:44.243
2023-03-04T20:43:44.243
21,046,803
21,046,803
null
75,638,477
1
null
null
0
8
I want to use azure redis cache for caching while using spring boot with cosmos DB. pom.xml contains below dependencies ``` <artifactId>spring-boot-starter-data-redis-reactive</artifactId> <artifactId>spring-boot-starter-webflux</artifactId> <artifactId>spring-cloud-azure-starter-data-cosmos</artifactId> ...
How to serialize Object when using spring data redis reactive with azure cosmos db
CC BY-SA 4.0
null
2023-03-04T20:30:13.730
2023-03-04T20:30:13.730
null
null
7,236,891
[ "spring-boot", "azure-cosmosdb", "azure-caching" ]
75,638,485
2
null
75,638,331
0
null
Taking a look at the source code, ``` def fetchall(self) -> Sequence[Row[_TP]]: """A synonym for the :meth:`_engine.Result.all` method.""" return self._allrows() ``` fetchall just returns self._allrows() And this is the function signature of self._allrows: ``` (method) def _allrows() -> List[Row[_TP@R...
null
CC BY-SA 4.0
null
2023-03-04T20:32:23.747
2023-03-04T20:32:23.747
null
null
4,979,317
null
75,638,482
2
null
75,638,445
2
null
> In what real life case would you need `char *c = "Hello, world!";` more than `char c[] = "Hello, world!";` The difference is that you can change the first `c` to point to another string literal, but you can't do that with the second `c`. Consider: ``` const char *c = "Hello!"; if (some_condition) c = "Goodbye!"; if (...
null
CC BY-SA 4.0
null
2023-03-04T20:30:59.290
2023-03-04T20:40:46.747
2023-03-04T20:40:46.747
50,617
50,617
null
75,638,479
1
null
null
-1
13
> I am working in a flask App, and I am having problem with the Login. After creating a new account and adding it to the sqlite database, and I try to login, the login seems to accept any password that I provide. Also, the `current_user.is_authenticated` method is not working bello is all the code related to the login ...
Flask login and "current_user.is_authenticated" not working
CC BY-SA 4.0
null
2023-03-04T20:30:20.917
2023-03-04T20:32:54.727
2023-03-04T20:32:54.727
17,562,044
17,588,557
[ "python", "flask", "flask-sqlalchemy" ]
75,638,488
2
null
75,601,444
0
null
My suggestion to you is to have a look at: ["A human-readable regular expression module for Python"](https://github.com/asweigart/humre). Available on [Github](https://alsweigart.com/) in the [humre repository](https://github.com/asweigart/humre). A module developed by [Al Sweigart](https://alsweigart.com/). As an ex...
null
CC BY-SA 4.0
null
2023-03-04T20:32:44.733
2023-03-04T20:32:44.733
null
null
21,291,099
null
75,638,480
1
null
null
0
12
I'm building a flutter web app (debugging using chrome) and in it I have to make SFTP calls to pull files from a host server. My code breaks at: ``` final socket = await SSHSocket.connect(<url>, <port>); ``` I've used many different packages to try to connect, the current one I am using is dartssh2. According to the d...
Flutter Web: SFTP returns "UnimplementedError: Native socket is not supported on web"
CC BY-SA 4.0
null
2023-03-04T20:30:21.197
2023-03-04T20:30:21.197
null
null
18,797,867
[ "flutter", "dart", "sftp" ]
75,638,486
1
75,638,696
null
1
34
I'm only learning Rust and I'm stumbling upon some stuff, as all, I suppose. And this one I cannot find an answer on my own and I've tried. What I'm doing is playing around message stream abstraction and it's going fine unless I'd know how to write this test: ``` #[test] fn take_1() { let mut delive...
Rust closure and value lifetimes
CC BY-SA 4.0
null
2023-03-04T20:32:26.120
2023-03-04T21:16:18.710
2023-03-04T21:05:06.777
5,888,075
5,888,075
[ "rust", "closures" ]
75,638,490
1
null
null
0
4
I have one app.conf file and conf have menu-name with subscribe-types when subscribe-types is true then menu item show. Like we have to filter the conf if subscribe-types is true then store the menu name. Using language Java ``` App: { subscribes_types { attributes = [ { menu-name: Home, ...
Using .conf file (Hocon) filter and store menu when subscribe true
CC BY-SA 4.0
null
2023-03-04T20:33:21.137
2023-03-04T20:33:21.137
null
null
15,990,842
[ "java", "hocon" ]
75,638,492
1
null
null
-3
14
im trying to right a chat between a server and multipule clients. can someone please show me how to write a correct code instead of this one for using the timeout key? ``` ready_to_read, ready_to_write, in_error,time_out = select.select([my_socket], [], [], timeout = 1) ^^^this doesnt work :( ``` and also , how can i ...
select method in python - timeout
CC BY-SA 4.0
null
2023-03-04T20:33:41.593
2023-03-04T20:40:00.577
2023-03-04T20:40:00.577
642,070
21,333,352
[ "python", "select", "timeout", "msvcrt" ]
75,638,491
2
null
75,638,203
0
null
You are ordering by a calculated value which is not stored in the table, and then calculating an offset into that list. The DBMS has to calculate the order of all the items you are skipping over each time. (Looking at your query, it's not even clear that your sort order is stable, and not giving you the same row in dif...
null
CC BY-SA 4.0
null
2023-03-04T20:33:26.647
2023-03-04T23:09:47.247
2023-03-04T23:09:47.247
157,957
157,957
null
75,638,484
2
null
75,632,281
1
null
It would more in guess territory then something I can prove but from my experience multiple `SomeInsert`'s with the same context look a bit suspicious. EF Core performs insert/update operation relying on [tracking](https://learn.microsoft.com/en-us/ef/core/change-tracking/) and even if you use `AsNoTracking` new entrie...
null
CC BY-SA 4.0
null
2023-03-04T20:31:53.913
2023-03-05T00:24:17.877
2023-03-05T00:24:17.877
2,501,279
2,501,279
null
75,638,453
1
null
null
0
18
It's been a long road, but I had 4 separate python scripts I wanted to combine as one. This is working and is listed below: ``` import gspread import requests from bs4 import BeautifulSoup import pandas as pd from oauth2client.service_account import ServiceAccountCredentials # Set up credentials and authorize the cl...
How to combine creds.json file into python script and create a gui?
CC BY-SA 4.0
null
2023-03-04T20:25:45.230
2023-03-04T21:01:31.917
2023-03-04T20:54:59.557
19,425,874
19,425,874
[ "python", "pandas", "user-interface", "python-requests", "credentials" ]
75,638,493
1
null
null
0
10
i creadted a todo list with react js, and in my project, getItem from LocalStorage doesnt work, it saves Item in localstorage but dosent Show Items from localstorage after refresh page. and after refresh page localstorage is empty. my code: ``` useEffect(() => { getTodoFromLocal(); }, [] ); useEffect(()=>{ ...
LocalStorage in my React project doesent work
CC BY-SA 4.0
null
2023-03-04T20:33:44.197
2023-03-04T20:36:47.733
2023-03-04T20:35:10.443
5,019,992
5,019,992
[ "reactjs", "local-storage" ]
75,638,495
1
null
null
1
38
Does Javascript have a container which functions like an ordered set? Is there such a thing which permits duplicate values? I want to be able to insert objects into a container using something like an `operator<`. I don't know if it is possible to define an `operator<` as part of a Javascript object. For example, if th...
Javascript - An ordered container of objects?
CC BY-SA 4.0
null
2023-03-04T20:33:57.343
2023-03-04T22:14:13.897
null
null
893,254
[ "javascript", "node.js" ]
75,638,487
2
null
75,637,441
0
null
Not sure if this is quite what you're looking for, but the idea here is to create a string for a group_option that would be identical to a matching group_option (without being identical to a non-matching one) so that they can be compared in a fairly straight forward way. ``` let dataCart = [{"id":"001","name":"Product ...
null
CC BY-SA 4.0
null
2023-03-04T20:32:31.957
2023-03-04T20:38:10.993
2023-03-04T20:38:10.993
14,454,939
14,454,939
null
75,638,497
1
75,639,424
null
0
20
How can I change only one value of a key in a map ? I have the following code: ``` const userMap_secretkey = new Map<number, [string | undefined, string | undefined, number, boolean] >(); ``` Lets say I have an entry like this: (12345, [isok, isnotok, 2, false) Hoe can I change only the last value from false to true ?...
How to change only one value of a key, in a map, using Typescript
CC BY-SA 4.0
null
2023-03-04T20:34:44.847
2023-03-04T23:55:52.623
null
null
21,333,354
[ "typescript", "dictionary" ]
75,638,499
2
null
75,638,126
1
null
You haven't copied the examples correctly. You need to use a `+` to add the components to the plot. You are using `%>%`, which doesn't make sense in this context. ``` library(survival) library(ggplot2) library(ggsurvfit) p <- survfit2(Surv(time, status)~sex, data=lung) ggsurvfit(p, type = "survival") + add_censor_...
null
CC BY-SA 4.0
null
2023-03-04T20:34:51.403
2023-03-04T20:34:51.403
null
null
12,500,315
null
75,638,494
1
null
null
0
11
I know I can easily rewrite numpy dot product in cupy dot product by using corresponding API: ``` import numpy as np import cupy as cp arr1 = np.array([[1, 2], [3, 4]]) arr2 = np.array([[5, 6], [7, 8]]) np.dot(arr1, arr2) arr1_ = cp.asarray(arr1) arr2_ = cp.asarray(arr2) cp.dot(arr1_, arr2_) ``` I [read](https://tow...
Cupy API and elementwise kernel for faster neural network
CC BY-SA 4.0
null
2023-03-04T20:33:50.557
2023-03-04T20:33:50.557
null
null
6,357,916
[ "python", "numpy", "neural-network", "cupy" ]
75,638,500
1
null
null
-1
7
This error is coming from the line: `outputDelta = outputError * SigmoidDerivative(forward[-1 - i])` The error: ValueError: operands could not be broadcast together with shapes (4,3) (4,10) I understand it is saying the shapes are different, but when I print: `print(outputError.shape, SigmoidDerivative(forward[-1 - i])...
Python Error in Backpropagation Function, error: ValueError: operands could not be broadcast together with shapes (4,3) (4,10)
CC BY-SA 4.0
null
2023-03-04T20:34:53.083
2023-03-04T22:21:23.023
2023-03-04T22:21:23.023
286,934
19,779,873
[ "python", "artificial-intelligence" ]
75,638,498
1
null
null
0
10
I want to fit a `gamma` distribution and get `cdf` from nd DataArray `test_data` below. Currently, I can do it with numpy.apply_along_axis function, but failed to implement on xarray.apply_ufunc(). I am not sure why it happened. Here is sample code. ``` import xarray as xr import numpy as np import pandas as pd import ...
How to calculate cdf using scipy and xarray
CC BY-SA 4.0
null
2023-03-04T20:34:45.363
2023-03-04T22:13:33.037
2023-03-04T22:13:33.037
7,265,114
7,265,114
[ "python-3.x", "scipy", "numpy-ndarray", "python-xarray" ]
75,638,506
2
null
75,635,083
0
null
The order of RegEx `location` blocks is important, because the first RegEx match is used: ``` # Lowercase RegEx matches first location ~ ^/foobar/ { return 200 OK; } # Case-insensitive match is otherwise used location ~* ^/foobar/(.*) { return 301 /foobar/$1; } ```
null
CC BY-SA 4.0
null
2023-03-04T20:35:52.383
2023-03-04T20:35:52.383
null
null
4,035,845
null
75,638,489
2
null
75,633,399
0
null
A [numeric enum](https://www.typescriptlang.org/docs/handbook/enums.html#numeric-enums) is an object containing key-value pairs, where the keys are strings and the values are numbers. It also has [reverse mappings](https://www.typescriptlang.org/docs/handbook/enums.html#reverse-mappings) where the keys are numbers (we...
null
CC BY-SA 4.0
null
2023-03-04T20:33:03.690
2023-03-04T20:33:03.690
null
null
2,887,218
null
75,638,501
2
null
75,638,334
1
null
it is not always necessary to use it for a monorepo with Angular and NestJS projects. You can set up your projects without using Nx, but Nx can make it easier to manage dependencies and build/deploy your projects. To add a NestJS server to your Angular Workspace,create a new project in the projects directory,like you ...
null
CC BY-SA 4.0
null
2023-03-04T20:35:00.233
2023-03-04T20:35:00.233
null
null
13,518,915
null
75,638,504
2
null
75,629,763
0
null
The problem is that you wrote the `MarshalYAML` method for a pointer receiver, so you can call this method on a pointer type, meanwhile you defined the `URI` attribute of your `A` on `Configuration` struct, as a non pointer ( based on the playground link you pasted ). So you have to either change the `URI` attribute ty...
null
CC BY-SA 4.0
null
2023-03-04T20:35:35.447
2023-03-04T20:35:35.447
null
null
1,185,148
null
75,638,496
2
null
75,637,187
0
null
Add `position: fixed` and `bottom: 0` and `left: 0` to your `footer` class in `CSS` code, and check if the problem still occurs: ``` div.footer { width: 100vw; height: 65vh; margin: 0px; padding: 0px; background-size: 100% 100%; } .footer { margin: 0px; padding: 0px; height: auto; ...
null
CC BY-SA 4.0
null
2023-03-04T20:34:39.007
2023-03-04T20:39:52.363
2023-03-04T20:39:52.363
17,925,361
17,925,361
null
75,638,508
2
null
75,638,322
0
null
1. Hope you are using this in Column, if not then first wrap it in Column and then wrap this Column with SingleChildScrollView 2. In Scaffold try this property: ``` return Scaffold( resizeToAvoidBottomInset: true, body: // Your content here ); ```
null
CC BY-SA 4.0
null
2023-03-04T20:36:32.030
2023-03-05T00:37:30.463
2023-03-05T00:37:30.463
16,124,033
15,826,623
null
75,638,505
1
null
null
-1
17
What I would like to do is that the user could pick a folder where my application will be able to save some configuration files, to do this I simply used the `FilePicker.platform.getDirectoryPath();` line and when the user click on a button some files are generated, to do this I added the following lines in my AndroidM...
How to create files in a user-selected folder
CC BY-SA 4.0
null
2023-03-04T20:35:44.817
2023-03-04T20:35:44.817
null
null
14,406,240
[ "android", "ios", "flutter", "mobile" ]
75,638,509
1
null
null
-1
12
I have recently watched some 3blue1brown streams and have noticed that he uses some sort of "command prompt-esque" overlay ([Screenshot here](https://i.stack.imgur.com/x4Cn5.png)) to demonstrate python code quickly (note that he has to specify what language he's using so its probably not python exclusive) Does anybody ...
Overlayable Transparent Command prompt / Python Interpreter
CC BY-SA 4.0
null
2023-03-04T20:36:32.483
2023-03-04T20:36:32.483
null
null
18,191,647
[ "python", "cmd", "overlay", "interpreter", "manim" ]
75,638,510
2
null
41,966,454
0
null
See the overall description of the issue causing the circular dependency here: [https://www.baeldung.com/spring-circular-view-path-error](https://www.baeldung.com/spring-circular-view-path-error) In your case, I guess, the class overriding the `InternalResourceView` was not yet available after just adding a new depend...
null
CC BY-SA 4.0
null
2023-03-04T20:36:45.810
2023-03-04T20:36:45.810
null
null
1,534,456
null
75,638,507
1
null
null
0
17
So, I've impemented my synchronous batch normalization layer. I've tried to test it by running on differenet set of parameters by this way: each mp.Process runs a function, which makes forward and backward passes and store output and grad values in a common mp.Queue ( `queue.put((out.detach().numpy(), grad.detach().num...
Is mp.Queue that limited in memory?
CC BY-SA 4.0
null
2023-03-04T20:35:55.660
2023-03-05T00:10:43.860
null
null
21,206,063
[ "asynchronous", "multiprocessing", "queue", "python-multiprocessing", "batch-normalization" ]
75,638,514
2
null
75,638,445
0
null
In C, pointers are needed for various reasons. If you start out with programming, you will at first do a lot of things that can all be done on the stack (a.k.a. not using `malloc()`) However, as the programs get more complex, you will get to need it. You will need to allocate to the heap, which is to say use `malloc()`...
null
CC BY-SA 4.0
null
2023-03-04T20:37:25.080
2023-03-04T20:50:49.870
2023-03-04T20:50:49.870
18,189,817
18,189,817
null
75,638,516
2
null
75,638,383
0
null
The way I do it is to delete the node_modules folder, remove what I don't want to have in the package.json and delete the package-lock.json. Then I run npm install again and it generates a new package-lock.json and the node_modules folder will contain everything remaining in the package.json.
null
CC BY-SA 4.0
null
2023-03-04T20:37:51.083
2023-03-04T20:37:51.083
null
null
19,512,665
null
75,638,512
2
null
75,637,820
0
null
You could make the value of `r` a [tweened](https://svelte.dev/tutorial/tweened) value and then make `bez` a reactive declaration instead of setting it in your `next` function. This way you're not relying on CSS to animate the transition of values and instead smoothly updating the values yourself. You can also lose all...
null
CC BY-SA 4.0
null
2023-03-04T20:37:07.197
2023-03-04T20:37:07.197
null
null
7,657,915
null
75,638,503
1
null
null
0
47
I have a variety of derived class objects stored in a long array or vector. Each object in the vector is passed to a process that calls several of the object's member functions. There will probably be cache misses when consecutive objects in the vector have different derived types, but because VTables seem to be tied t...
Design patterns to mitigate cache misses in runtime polymorphism in C++
CC BY-SA 4.0
null
2023-03-04T20:35:04.263
2023-03-05T00:27:33.277
null
null
14,068,831
[ "c++", "caching", "polymorphism" ]
75,638,513
1
75,638,572
null
0
28
I have two arrays like this ``` const Arr1 = [ { KeyToMatch: { Cl: 2, Ro: 5, Ge: 1, }, Image: "image.jpg", Name: "example no 1", }, { KeyToMatch: { Cl: 3, Ro: 1, Ge: 2, }, Image: "image2.jpg", Name: "example no 2", }, { KeyToMatch: { ...
Create new array by comparing two different arrays in javascript
CC BY-SA 4.0
null
2023-03-04T20:37:19.020
2023-03-04T21:04:23.917
null
null
7,481,778
[ "javascript", "arrays" ]
75,638,518
1
null
null
-3
27
I have the data in weekly Purchase forecast & would like to consolidate that to monthly forecast.[enter image description here](https://i.stack.imgur.com/bV6Ke.png) --- Sample Data Article code|WEEK 9|WEEK 10|WEEK 11|WEEK 12|WEEK 13|WEEK 14|WEEK 15|WEEK 16|WEEK 17|WEEK 18|WEEK 19 ABC|10|20|30|40|50|60|70|80|90|100|1...
consolidate weekly data into month dynamically
CC BY-SA 4.0
null
2023-03-04T20:38:23.520
2023-03-04T22:23:14.867
2023-03-04T22:23:14.867
21,333,365
21,333,365
[ "sql-server" ]
75,638,520
2
null
75,637,743
0
null
Just replace class name to match your code. ``` // first document.querySelectorAll(".slick-active")[0] //last [...document.querySelectorAll(".slick-active")].at(-1) ``` Then you can change CSS if that is the plan.
null
CC BY-SA 4.0
null
2023-03-04T20:38:55.237
2023-03-04T20:44:10.573
2023-03-04T20:44:10.573
19,644,469
19,644,469
null
75,638,519
1
null
null
0
17
In continuation of my previous question [How to extract all Github Secrets to server virtual enviroments?](https://stackoverflow.com/questions/75637863/how-to-extract-all-github-secrets-to-server-virtual-enviroments), I found that even if I pass manually my local `.env` file to the web server, it is overwritten after m...
How to use .env file with Github Actions without autodeleting?
CC BY-SA 4.0
null
2023-03-04T20:38:45.733
2023-03-05T04:16:12.650
2023-03-05T04:16:12.650
7,670,262
8,450,098
[ "github", "github-actions", "github-api" ]
75,638,521
1
null
null
0
10
I'm building an app that requires moderation as children will be using it. I was able to moderate or filter the response in the message using a prompt but for extra safety I'd like to use the new Moderation model 'text-moderation-001' found here: [https://platform.openai.com/docs/guides/moderation/quickstart](https://p...
OpenAI's 3.5 Turbo API, How to use moderation end point without having to make two API calls or increase speed?
CC BY-SA 4.0
null
2023-03-04T20:38:58.977
2023-03-04T20:38:58.977
null
null
14,302,879
[ "api", "openai-api", "chatgpt-api" ]
75,638,517
1
null
null
0
6
I have the following remap in lua: ``` vim.keymap.set('n', '<leader><leader>', ":/<++><CR>ca>") ``` I want this remap to jump to the next `<++>` and remove it and put me in insert mode. Essentially `<++>` is a placeholder mark that I can put in templates so I can quicly use `<leader><leader>` to jump at the placeholde...
Vimscript remap to replace placeholder mark works only if cursor appears before the mark but not when it appears after the mark
CC BY-SA 4.0
null
2023-03-04T20:38:18.680
2023-03-04T20:38:18.680
null
null
4,329,348
[ "vim", "lua", "neovim" ]
75,638,525
1
null
null
-1
37
I'm trying to write a function that takes a number, turns it into a list and returns it in reverse order. I'm using list.reverse() but its returning 'none' no matter what I try. I've read all the documentation, and checked this site, copied the syntax etc. It all looks correct from what I've found, but it still returns...
list.reverse() returns none no matter what I try
CC BY-SA 4.0
null
2023-03-04T20:40:10.810
2023-03-04T20:46:15.267
2023-03-04T20:43:47.163
1,426,065
20,498,118
[ "python" ]
75,638,515
2
null
75,638,301
0
null
# Issue You are importing the `BrowserRouter` as `Route` and improperly using it. ``` import { BrowserRouter as Route, Routes } from 'react-router-dom'; ``` # Solution Import and router and render it higher in the ReactTree than any component that is trying to access the routing context value it provides. Import...
null
CC BY-SA 4.0
null
2023-03-04T20:37:50.110
2023-03-04T20:42:57.003
2023-03-04T20:42:57.003
8,690,857
8,690,857
null
75,638,523
1
null
null
0
7
I am building my css files using tailwindcss, but it is failing when running on a Digital Ocean droplet. It works fine locally. ``` ... "scripts": { "//watch": "use in local environment for live updates", "watch": "tailwindcss -i ../config/build/input.css -o ../static/css/output.css --watch", "//build": ...
tailwindcss build fails with "killed"
CC BY-SA 4.0
null
2023-03-04T20:39:33.193
2023-03-04T20:39:33.193
null
null
8,147,165
[ "css", "tailwind-css", "digital-ocean", "npm-scripts" ]
75,638,529
1
null
null
0
7
i am facing an error > ERROR in ./src/pages/components/Messenger.jsx 5:0-39 Module not found: Error: Can't resolve 'emoji-mart/css/emoji-mart.css' in 'F:\job assignments\Chat-box project\client\src\pages\components' i already installed emoji-mart in my project already tried this ``` import 'emoji-mart/dist/emoji-mart.c...
need help in resolving emoji-mart.css error
CC BY-SA 4.0
null
2023-03-04T20:40:41.557
2023-03-04T21:34:02.443
2023-03-04T21:34:02.443
4,420,967
21,333,348
[ "reactjs" ]
75,638,527
2
null
54,482,633
0
null
Just wanted to leave this here for anyone in the future. I'm trying to launch a Python-Flask app with a Spacy model in it into a Docker container and was having trouble installing the packages using pip. Turns out, from this post gcc wasn't installed properly so some basic dependencies were failing. ``` FROM python:3.7...
null
CC BY-SA 4.0
null
2023-03-04T20:40:24.180
2023-03-04T20:40:24.180
null
null
19,489,923
null
75,638,530
1
75,638,812
null
0
19
If you take example of any opensource package, software, etc. You will find many courses to learn how to use them. But where are the courses, books, material, etc to get the ability to understand the internal codebase of any popular opensource repo and get the ability to write such files. I know these are not created i...
How to increase your intelligence to write and understand great complicated code
CC BY-SA 4.0
null
2023-03-04T20:40:46.413
2023-03-04T21:35:26.713
null
null
13,272,777
[ "open-source" ]
75,638,522
2
null
75,632,801
0
null
I found a cheap fix. I noticed that when I deploy the project on gh-pages, the app's body is not loaded. Meaning all the components within the were not loaded when you launched the app (only in the local host it works). So what I did was add a navbar on top of the segment, and inside of the , I have the link to the h...
null
CC BY-SA 4.0
null
2023-03-04T20:39:22.270
2023-03-04T20:39:22.270
null
null
6,361,922
null
75,638,531
1
null
null
0
4
I'm currently working on a project that requires the user to provide input using either a text-based method or a voice-based method. I'm struggling to figure out how to simultaneously run two functions that can identify which input method the user has chosen. For text-based input, the user simply needs to press any key...
How to Implement Dual Input Methods for User Interaction
CC BY-SA 4.0
null
2023-03-04T20:40:50.370
2023-03-04T20:40:50.370
null
null
16,469,825
[ "python-3.x", "assistant" ]
75,638,524
2
null
75,632,488
1
null
Yet, you can make your case more dynamic as looping both `textFields` object and `access_id` array independently through separating by common factors which come from the values following underscores within the keys of the object versus components of the array using the method below as the transformation spec ``` [ { ...
null
CC BY-SA 4.0
null
2023-03-04T20:39:39.870
2023-03-04T20:39:39.870
null
null
5,841,306
null
75,638,532
2
null
75,638,232
0
null
I think this is a good opportunity to showcase the new `tidyr::separate_wider_regex`. In this new alternative to `extract`, we have a `patterns` argument: a vector with optionaly named elements. Unnamed elements are discarded, and named elements are extracted into columns with the same name. Feels like a good alternati...
null
CC BY-SA 4.0
null
2023-03-04T20:40:58.050
2023-03-04T22:29:46.853
2023-03-04T22:29:46.853
13,972,333
13,972,333
null
75,638,534
1
null
null
0
12
Noob question here but something thats been really confusing me as I work with Jupyter Notebooks. Please compare and contrast Kernels vs Virtual Environments? When installing python libraries, is the installation done to the Kernel or the Virtual Environment? Does a Kernel exist within the Virtual Environment? Or does ...
Kernels vs Virtual Environments
CC BY-SA 4.0
null
2023-03-04T20:41:29.537
2023-03-04T20:41:29.537
null
null
20,063,538
[ "azure", "kernel" ]
75,638,533
1
null
null
0
12
I am looking for Micro app architecture reference for flutter mobile application. Preferably a ready to use github project with explanation would really help. Found [https://pub.dev/packages/flutter_micro_app](https://pub.dev/packages/flutter_micro_app) library but not sure if this is the right approach and the no of d...
Micro Apps in Flutter
CC BY-SA 4.0
null
2023-03-04T20:41:03.187
2023-03-04T20:41:03.187
null
null
3,791,617
[ "flutter" ]
75,638,528
1
null
null
0
23
This is my code ``` .btn-transparent { background-color: transparent; border: 2px solid rgba(255, 255, 255, 0.6); display: inline-block; padding: 14px 35px; cursor: pointer; } .btn-transparent:hover { transition: 250ms; color: #fff; border-color: #fff; } #ip { font-size: 16px; letter-spacing: 1px;...
Change text on button when hover then copies a text into clipboard when click and the text will change to something and goes back
CC BY-SA 4.0
null
2023-03-04T20:40:31.490
2023-03-04T20:58:05.127
2023-03-04T20:58:05.127
616,443
21,333,370
[ "javascript", "html", "css" ]
75,638,526
1
75,639,290
null
0
18
Excuse me if this is something "stupid" or if I'm doing something wrong, but it's the first time I ever post here and I'm actually trying to learn this thing and be clear in my questoin. First time I'm working with jinja/templates and I was trying to create a self-populating status page. Something like this: `home.html...
Isolate href from previous calls inside jinja template
CC BY-SA 4.0
null
2023-03-04T20:40:23.903
2023-03-04T23:30:46.160
2023-03-04T23:30:46.160
400,617
8,867,277
[ "python", "html", "jinja2" ]
75,638,538
1
null
null
0
8
I trying to read data from db and i trying to read like usiing this childs: ``` child("User").child(emaildb). ``` But how i can get name of this child: [](https://i.stack.imgur.com/mXRoM.png) this child created automatly after pushing data into db
How i can get uid in firebase db?
CC BY-SA 4.0
null
2023-03-04T20:42:15.853
2023-03-04T21:45:48.447
2023-03-04T21:45:48.447
209,103
21,260,391
[ "java", "database", "firebase-realtime-database" ]
75,638,535
1
null
null
0
21
I've a question how to overwrite styles depends on main class using scss. For an example we have a component app.component.html ``` <div [ngClass]="variable === 'mobile' ? 'container-fluid user' : 'container'"> <child-component></app-components> </div> ``` child-component.html ``` <h1 class="custom-heading">Test</h...
Overwrite styles depends on root class
CC BY-SA 4.0
null
2023-03-04T20:41:46.040
2023-03-04T20:42:21.713
2023-03-04T20:42:21.713
21,333,399
21,333,399
[ "html", "css", "angular", "sass" ]
75,638,537
1
null
null
0
5
Currently I have simple setup nginx server that point to another server with running docker container[](https://i.stack.imgur.com/Sad0T.png) I want to move to docker swarm mode but I'm not sure that I understand it right. I want add cluster with 2 servers.1 manager one worker Do I have to set nginx to point to manager...
Can manager node balance instead of nginx?
CC BY-SA 4.0
null
2023-03-04T20:42:15.473
2023-03-04T20:42:15.473
null
null
5,806,811
[ "docker-swarm" ]
75,638,539
1
null
null
0
13
It's a music app, and the picker used to play the scrolling sound, which I liked, but on the latest OS updates it stopped. Tried the keyboard sound settings, didn't work. Maybe something I'm missing in the settings, in the storyboard or here? ``` @interface ViewController () { NSArray *_pickerData; } ... - (void...
UIPickerView not playing the scrolling sound
CC BY-SA 4.0
null
2023-03-04T20:42:23.763
2023-03-04T21:34:22.503
2023-03-04T21:34:22.503
20,287,183
2,499,211
[ "ios", "objective-c", "uipickerview" ]
75,638,540
2
null
75,633,734
0
null
Not sure about this but, in schedule trigger excluding certain months is not supported as of now. You can of course try having one schedule trigger for each of these, which would be the standard approach One thing to try however is maybe you could exclude the months in the json in the schedule property see if it works ...
null
CC BY-SA 4.0
null
2023-03-04T20:42:35.917
2023-03-04T22:51:40.533
2023-03-04T22:51:40.533
11,677,472
11,677,472
null
75,638,548
1
null
null
-2
11
I am trying to use the “A” layer to clip the “B” data. B_clipped=st_intersection(B,A) This is what I have, but it won't run. I am new to coding and unsure how to use A to clip B.
Use one layer to clip another?
CC BY-SA 4.0
null
2023-03-04T20:43:17.487
2023-03-04T20:43:17.487
null
null
21,333,414
[ "clipping" ]
75,638,536
1
null
null
0
21
I encountered this error while following the instructions of the Road to Learn React book. I'm trying to add "remove" buttons that will remove certain info and in the end render the updated list. This should be super basic but I couln't figure out what I did wrong! Here's my code: ``` import React, {Component} from 're...
Uncaught TypeError: Cannot read properties of undefined (reading 'onDismiss')
CC BY-SA 4.0
null
2023-03-04T20:41:55.893
2023-03-04T21:27:13.880
2023-03-04T20:51:40.213
23,528
21,333,391
[ "javascript", "reactjs" ]
75,638,545
1
null
null
0
49
Not getting expected output by using the synchronized keyword in java I tried to implement thread synchronization using synchronized keyword in java but am not getting the expected output. The final value of variable cnt should be 20,000 but it's not the case. ``` package MultiThreading; class Runner extends Thread {...
Synchronized keyword in not giving expected result in java
CC BY-SA 4.0
null
2023-03-04T20:43:01.560
2023-03-05T03:27:58.947
2023-03-04T23:13:16.187
6,395,627
21,333,387
[ "java", "multithreading", "synchronized" ]
75,638,544
1
null
null
0
15
I tried to click on target database, which had a separate table (separate from all the tables stored in the `.BAK` backup file). How can I restore the backup on this target database? I tried restoring it, but the only way I see it's possible is to overwrite the target database with the backup, resulting in the loss of ...
How to append a backup to an existing database in Azure Data Studio (SQL Server 2019)?
CC BY-SA 4.0
null
2023-03-04T20:42:56.823
2023-03-04T22:01:06.623
2023-03-04T22:01:06.623
13,302
20,097,526
[ "sql-server", "sql-server-2019", "azure-data-studio" ]
75,638,546
2
null
75,637,709
0
null
"Sleep" in the processlist means the client is connected, but not executing a query at that moment. This is normal and expected when you use a connection pool. The pool opens N connections, for a pool size of N, then holds them until some client app thread requests one. The db name is the default database, which is cha...
null
CC BY-SA 4.0
null
2023-03-04T20:43:06.737
2023-03-04T20:49:05.397
2023-03-04T20:49:05.397
20,860
20,860
null
75,638,551
1
null
null
0
20
Please dont be harsh in the comments I am a 13 year old and only have less than a year of experience. Here the problem: I am trying to make a simple (bubble) sorting algorithm. The algorithm is working ok, but there is something that is making me mad. How can I do this? (explain in simple CS terms pls) :) I don't want ...
New user : how to have parameters outside of a function
CC BY-SA 4.0
null
2023-03-04T20:44:29.120
2023-03-04T20:44:29.120
null
null
21,333,402
[ "python" ]
75,638,553
2
null
75,638,383
0
null
Run also ``` npm uninstall @fortawesome/fontawesome-svg-core npm uninstall @fortawesome/free-brands-svg-icons npm uninstall @fortawesome/free-regular-svg-icons npm uninstall @fortawesome/free-solid-svg-icons ```
null
CC BY-SA 4.0
null
2023-03-04T20:44:33.913
2023-03-04T20:44:33.913
null
null
12,632,699
null
75,638,552
2
null
75,638,097
0
null
Mat-tab sets the visibility: hidden CSS property on the hidden tabs. So technically, all the components are loaded in the DOM. That's why the ngAfterViewInit lifecycle gets initiated for all the components, including app-approve-group. One way to resolve this is when the tabIndex is the tabIndex of the app-approve-grou...
null
CC BY-SA 4.0
null
2023-03-04T20:44:30.160
2023-03-04T20:44:30.160
null
null
15,899,495
null
75,638,547
1
null
null
0
8
I'm encountering a warning when running a rolling OLS regression using the answer to this question, [Rolling OLS Regressions and Predictions by Group](https://stackoverflow.com/questions/72119449/rolling-ols-regressions-and-predictions-by-group), modified for my structurally similar data. The answer to that question wa...
Troubleshooting RuntimeWarning in Python Rolling Regression
CC BY-SA 4.0
null
2023-03-04T20:43:12.057
2023-03-04T20:43:12.057
null
null
19,454,613
[ "python", "group-by", "statsmodels", "rolling-computation" ]
75,638,557
2
null
45,616,548
0
null
I am writing this answer to check my understanding as well. - - With an Abstract class you can share state, on the other hand with an Interface you can share behaviour. e.g Imaging you have a shape class that has a default colour, common for all shapes, but each shape can have different implementation of the 'area', '...
null
CC BY-SA 4.0
null
2023-03-04T20:45:17.800
2023-03-04T20:45:17.800
null
null
8,293,694
null
75,638,554
2
null
75,638,456
1
null
SQLite supports `FULL OUTER JOIN` since [version 3.39.0](https://sqlite.org/changes.html). First you must aggregate inside each of the tables and then do a `FULL` join on the aggregated results: ``` WITH cte_A AS (SELECT year_A, SUM(amount_A) AS sum_A FROM T_A GROUP BY year_A), cte_B AS (SELECT year_B, SUM(amount_...
null
CC BY-SA 4.0
null
2023-03-04T20:44:40.187
2023-03-04T20:55:56.373
2023-03-04T20:55:56.373
10,498,828
10,498,828
null
75,638,556
1
null
null
0
10
I am trying to save a location for all users and then search for all users within N miles of a given location. I am storing all users in SQL Server and accessing the database via Entity Framework. Based on Google search answers for this are all over the place. The most recent seems to be [this one](https://learn.micros...
How can I find all people within N miles of a location (Entity Framework)
CC BY-SA 4.0
null
2023-03-04T20:45:10.020
2023-03-04T22:00:25.600
2023-03-04T22:00:25.600
13,302
509,627
[ "entity-framework", "geocoding", "nettopologysuite" ]