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,621,159
1
null
null
0
48
I'm using jetpack compose, and I have a screen that is represented as a sealed class, and it can be one of three possible values: Loading, Error and DataLoaded. Now DataLoaded is a data class with multiple fields, and I have a LaunchedEffect block and I want to run some logic ONLY when a particular field changes. I hav...
Using LaunchedEffect with data class field as key
CC BY-SA 4.0
null
2023-03-02T21:50:42.503
2023-03-04T19:41:28.120
null
null
11,948,234
[ "android", "android-jetpack-compose", "android-jetpack" ]
75,621,166
1
null
null
0
10
I'm trying to use Nixpacks. But it seems like something is missing from the instructions? According to [https://nixpacks.com/docs/getting-started](https://nixpacks.com/docs/getting-started) ...after installation, if I type in as little as "nixpacks build ." it should produce an image. Instead, I get something like the ...
Trouble understanding the Nixpacks CLI
CC BY-SA 4.0
null
2023-03-02T21:51:52.137
2023-03-02T21:51:52.137
null
null
4,186,251
[ "nix", "railway" ]
75,621,169
2
null
75,615,302
1
null
The reason you are getting an empty list is because your css selector is incorrect. When using css selectors words seperated by spaces in the class attribute should be seperated by periods in the selector. for example: ``` >>> response.css('h1.headline.mb-3.fw-bolder').getall() ['<h1 class="headline mb-3 fw-bolder">Be...
null
CC BY-SA 4.0
null
2023-03-02T21:52:07.773
2023-03-02T21:52:07.773
null
null
17,829,451
null
75,621,176
1
null
null
0
15
I would like to understand the key aspects of Device provisioning vs Commissioning in Cloud computing. Could someone please elaborate in simple language to understand difference of what device provisioning refers to and what does Commissioning refers to with respect to IOT devices.
Device provisioning vs Device Commissioning
CC BY-SA 4.0
null
2023-03-02T21:52:59.233
2023-03-03T01:54:28.273
null
null
6,728,563
[ "azure-iot-edge", "azure-iot-dps" ]
75,621,172
2
null
75,619,746
1
null
Using Office automation on the server-side (Asp.net) is not really a good idea. If you deal with open XML documents only you may consider using the Open XML SDK instead, see [Welcome to the Open XML SDK 2.5 for Office](https://learn.microsoft.com/en-us/office/open-xml/open-xml-sdk) for more information. Otherwise, cons...
null
CC BY-SA 4.0
null
2023-03-02T21:52:37.590
2023-03-02T21:52:37.590
null
null
1,603,351
null
75,621,177
1
null
null
-1
18
I am running into issues with the OffloadChecksum test in the WHQL test. I want to be able to classify that traffic on the NIC so I can monitor stats etc. Is there a way to distinguish WHQL traffic, e.g. via specific UDP ports or application-layer protocol identification?
how to classify Whql traffic on Windows
CC BY-SA 4.0
null
2023-03-02T21:53:16.090
2023-03-03T00:29:27.823
2023-03-03T00:29:27.823
9,307,322
9,307,322
[ "windows", "server", "windows-server" ]
75,621,178
1
null
null
-2
12
I've been asked to provide some guidance in regards to standards for the dev org. Part of that will involve responsive design guidelines/standards. I have a little bit of responsive design implementation experience. And as a general user of a website, I'm savvy enough to be able to identify poorly implemented respon...
can you recommend any responsive design guideline docs and/or tools for use as standards in a dev org?
CC BY-SA 4.0
null
2023-03-02T21:53:21.540
2023-03-02T21:59:04.470
2023-03-02T21:59:04.470
9,173,787
9,173,787
[ "responsive-design", "responsive", "user-experience", "responsive-images" ]
75,621,180
1
null
null
0
13
I have really tried everything to make a Github website and failed, so I'm asking for help from stack overflow. I've set my working directory to the folder "docs" to my [github website page](https://github.com/djceebs/djceebs.github.io), which won't work despite the docs folder appearing in my local Rstudio and being a...
How to fix github pages output directory error?
CC BY-SA 4.0
null
2023-03-02T21:53:25.997
2023-03-02T21:53:25.997
null
null
19,536,418
[ "git", "github", "github-pages" ]
75,621,181
1
75,621,379
null
0
25
I'm trying to use visual studio code to search our code base for SQL statements table declarations are missing the schema using a regex expression. So far I've got this ``` (from|inner join|left join)((\s|\r|\r\n)*)(dbo|sys) ``` which selects where the schema is included, but I'm having trouble excluding where the sch...
How can I write a regex search for SQL statements missing a table schema in VS Code?
CC BY-SA 4.0
null
2023-03-02T21:53:39.530
2023-03-02T22:29:06.937
2023-03-02T22:22:24.737
11,107,541
3,372,001
[ "regex", "visual-studio-code" ]
75,621,163
1
null
null
1
33
``` public SecurityToken GenerateJwt(ApiInfo? apiInfo, AccountModel.AccountDetails input) { var authClaims = new List<Claim> { new Claim(ClaimTypes.Name, input.Name), new Claim(JwtRegisteredClaimNames.Jti, Guid.NewGuid().ToString()), }; //foreach (var userRole in userRoles) //{ // ...
I am able to hit the API even after the token expires
CC BY-SA 4.0
null
2023-03-02T21:51:25.207
2023-03-04T09:23:08.277
2023-03-02T22:20:05.993
7,329,832
16,711,559
[ "c#", "asp.net-core", "authentication", "jwt" ]
75,621,182
2
null
75,620,512
1
null
I think easiest way would be spawn X `calculate()` tasks and then using `asyncio.gather()` to wait for the results (of course, using `asyncio.Semaphore` to limit concurrency to not DDOS the API server): ``` import asyncio import pandas as pd sem = asyncio.Semaphore(2) # limit concurrency to 2 (to not hammer the API s...
null
CC BY-SA 4.0
null
2023-03-02T21:53:43.047
2023-03-02T21:53:43.047
null
null
10,035,985
null
75,621,179
1
null
null
0
14
I am trying to execute the lending call function from [this Smart Contract](https://bscscan.com/address/0x1C4E9F87c7F2bCd80c89A1999d776461d41545b9#code). The following code is JavaScript using Ethers.js to make the integration with the Smart Contract. ``` const contractAddress = "0x1C4E9F87c7F2bCd80c89A1999d776461d4154...
Smart Contract Invalid Signature Solidity
CC BY-SA 4.0
null
2023-03-02T21:53:25.023
2023-03-02T22:11:34.373
null
null
7,388,775
[ "ethereum", "blockchain", "solidity", "smartcontracts" ]
75,621,175
2
null
75,616,966
0
null
The problem comes from the way you load the dataset name/value pairs to `matrix_dict`. You have to create 1 dictionary to hold all of the dataset name/value pairs for each group, then assign that to the appropriate `(i,j)` index in `matrix_dict`. I modified your code to demonstrate how I think you want this to work. It...
null
CC BY-SA 4.0
null
2023-03-02T21:52:57.383
2023-03-02T21:52:57.383
null
null
10,462,884
null
75,621,187
2
null
42,379,660
0
null
My RecyclerView would entirely redraw itself when I notified it that just one item had changed (NotifyItemChanged). I used the following: ``` val binding = ExRvItemBinding.inflate(layoutInflater) setContentView(binding.root) (binding.childRvId.itemAnimator as SimpleItemAnimator).supportsChangeAnimati...
null
CC BY-SA 4.0
null
2023-03-02T21:54:25.373
2023-03-02T21:54:25.373
null
null
18,254,048
null
75,621,174
1
null
null
-2
20
I have a data frame like this- > | Column A | Column B | Column C | Column D | Column E | Column F | | -------- | -------- | -------- | -------- | -------- | -------- | | Orange | Orange | Grape | Grape | Grape | Grape | | Cell 3 | Cell 4 | Cell 5 | Cell 6 | Cell 7 | Cell 8 | | ... | ... | ... | ... | ... | ... | ...
How to slice python pandas dataframe by column values
CC BY-SA 4.0
null
2023-03-02T21:52:39.707
2023-03-02T21:52:39.707
null
null
19,998,832
[ "python", "pandas", "dataframe", "slice" ]
75,621,185
1
null
null
0
10
``` export function configurePaste(editor: any) { editor.plugins.get( 'ClipboardPipeline' ).on( 'contentInsertion', ( evt:any, data:any ) => { setTimeout(() => { const r = strip_tags(editor.getData()); editor.setData(r); // set cursor at end of content }) }); } ``` The iss...
Ckeditor 5 + angular , Set cursor position at end of content after paste
CC BY-SA 4.0
null
2023-03-02T21:54:03.307
2023-03-02T21:54:03.307
null
null
3,264,939
[ "angular", "ckeditor5" ]
75,621,191
2
null
75,620,440
0
null
``` list = ['a-1','b-1','c-1','d-1'] ``` Join your list to get the string value concatenated with `,` ``` lst = ','.join(list) ``` Use string interpolation and use your joined lst here: ``` df = spark.sql(f"select * from my_table WHERE Id IN {lst}") ```
null
CC BY-SA 4.0
null
2023-03-02T21:54:47.430
2023-03-02T21:54:47.430
null
null
7,632,695
null
75,621,190
2
null
56,069,907
0
null
From the command line, you can echo escape characters like ``` echo -e "\033\];new title\a" ``` which will result in the tab title change, for example: [](https://i.stack.imgur.com/p5mAQm.png) This is working for iterm2, Build 3.4.19
null
CC BY-SA 4.0
null
2023-03-02T21:54:44.753
2023-03-02T21:54:44.753
null
null
178,800
null
75,621,189
2
null
34,775,712
0
null
Use [AssemblyInformationalVersionAttribute.InformationalVersion](https://learn.microsoft.com/en-us/dotnet/api/system.reflection.assemblyinformationalversionattribute.informationalversion?view=net-7.0#system-reflection-assemblyinformationalversionattribute-informationalversion). e.g.: ``` const string NewtonsoftNuGetId ...
null
CC BY-SA 4.0
null
2023-03-02T21:54:38.733
2023-03-02T21:54:38.733
null
null
4,370,146
null
75,621,183
1
null
null
0
8
I'm working with a jsp (Java servlet page) file in AEM (Adobe Experience Manager) using the CRXDE IDE and I have received an object from a Java database API called pciList. This looks like: `pciList = dbHelper.executeQuery(personnelContactInformation.getDataSource(), personnelContactInformation.getSelectQuery(pciCriter...
How to view jsp object keys in AEM
CC BY-SA 4.0
null
2023-03-02T21:53:50.283
2023-03-02T21:53:50.283
null
null
19,206,737
[ "jsp", "aem" ]
75,621,184
1
null
null
0
4
In the following code (I have also explained in the comments what is the issue). Basically I am trying to say on any instance of this class, when getReading() is called, then return something. But the given().willReturn() only works on the instance level. Wanted to know what is the way to acheive calling it more common...
Unit test - call getters on any instance of the class will return something
CC BY-SA 4.0
null
2023-03-02T21:53:50.590
2023-03-02T21:53:50.590
null
null
3,685,408
[ "mockito" ]
75,621,195
2
null
75,621,157
1
null
If dataclass doesn't satisfy your requirements, try [recordclass](https://pypi.org/project/recordclass/), literally a mutable named tuple.
null
CC BY-SA 4.0
null
2023-03-02T21:55:05.693
2023-03-02T21:55:05.693
null
null
19,962,393
null
75,621,188
1
null
null
0
14
I'm running maven-3-openjdk-17 as docker ci in Gitlab. When I try to create a file in the root folder I get "permisions denied" but this doesn't make sense since I'm already root. Here's a short test: ``` $ whoami root $ pwd /builds/sd/... $ ls -ahl /root dr-xr-x--- 1 root root 4.0K Mar 2 18:54 root $ touch here $ t...
Gitlab CI Docker shell command results in permissions denied as root
CC BY-SA 4.0
null
2023-03-02T21:54:37.157
2023-03-02T21:54:37.157
null
null
11,927,762
[ "docker", "maven", "gitlab", "gitlab-ci", "maven-3" ]
75,621,199
1
null
null
0
6
I have followed this tutorial [here](https://developers.google.com/ar/develop/java/geospatial/codelab) for creating an android app that shows geospatial anchors using arcore. I completed that successfully. But when I try tapping a location farther away, the resulting image on the screen is smaller (or bigger) depending...
How to ignore distance when rendering a GeoSpatial anchor with ARCore
CC BY-SA 4.0
null
2023-03-02T21:56:31.200
2023-03-02T21:56:31.200
null
null
3,788,955
[ "arcore" ]
75,621,198
2
null
72,919,950
0
null
Migrating from CardElement to PaymentElement can be a pain in the ass if you try to follow stripe documentation. Your case may be different but if is there anyone trying to migrate from CardElement to PaymentElement, there are some points to note. Most of the time problem is the price you want to charge is not constant...
null
CC BY-SA 4.0
null
2023-03-02T21:56:01.823
2023-03-02T21:56:01.823
null
null
16,125,156
null
75,621,196
2
null
75,620,439
2
null
In your case `FileTypes` determines what is the resulting type and it is always related to a specific type, so it makes sense to parameterize it as well. Then it is used as the "source" of `T`: ``` class FileMarshallerFactory { @Suppress("UNCHECKED_CAST") internal fun <T> createMarshaller(fileType: FileTypes<T...
null
CC BY-SA 4.0
null
2023-03-02T21:55:39.353
2023-03-02T22:09:17.560
2023-03-02T22:09:17.560
448,875
448,875
null
75,621,200
2
null
75,617,688
0
null
Solution I have found for illustative purpose. Very similar to Mozway one but not taking into account the SAM / SAMANTHA problem exposed. ``` import pandas as pd fct = pd.DataFrame({'NUMBIL':[858, 863, 870, 871, 872, 880, 881], 'DATE':['01/01/23', '01/01/23', '01/01/23', '07/01/23', '07/01/23', '08/...
null
CC BY-SA 4.0
null
2023-03-02T21:56:45.760
2023-03-02T21:56:45.760
null
null
13,460,543
null
75,621,201
2
null
33,958,691
-1
null
The `.gitconfig` file may not exist when you first install git. In that case, you'll need to create it. On mac ``` $ vim ~/.gitconfig ``` and then ``` $ source ~/.gitconfig ``` and it should then be globally available.
null
CC BY-SA 4.0
null
2023-03-02T21:56:54.373
2023-03-02T21:56:54.373
null
null
3,288,258
null
75,621,197
2
null
75,620,463
0
null
If you want to do more coding in Java, I would recommend that you don't work with manual compilation and execution, but use a build system like [Gradle](https://gradle.org) or [Maven](https://maven.apache.org) Both follow the "Convention over Configuration" approach, Maven more than Gradle, that means you have to place...
null
CC BY-SA 4.0
null
2023-03-02T21:55:54.177
2023-03-02T21:55:54.177
null
null
2,846,138
null
75,621,203
2
null
72,673,150
1
null
You can find cross-compilation instructions and unofficial MongoDB binaries on Github [here](https://github.com/themattman/mongodb-raspberrypi-binaries).
null
CC BY-SA 4.0
null
2023-03-02T21:57:05.680
2023-03-02T21:57:05.680
null
null
1,015,820
null
75,621,192
2
null
56,988,691
1
null
You were apparently using Python2 back in 2019, I will still answer your question but using Python3 because I think it will be more helpful to people ending up here. When using the TPROXY feature of the Linux kernel, in order to get the destination address of an incoming datagram, you must use the low level primitive `...
null
CC BY-SA 4.0
null
2023-03-02T21:54:48.443
2023-03-02T22:14:40.657
2023-03-02T22:14:40.657
6,347,079
6,347,079
null
75,621,208
1
null
null
-1
13
I am familiar with the Yocto project on the application level but now I am going to choose Yocto Project for my embedded device which will not have a screen or GUI interface stage. I am not sure how effective the Yocto Project is for headless embedded devices. I tried to look some examples for the device from the Yocto...
Is it Yocto project is good for Headless embedded devices?
CC BY-SA 4.0
null
2023-03-02T21:57:36.180
2023-03-02T21:57:36.180
null
null
18,980,634
[ "embedded-linux", "yocto" ]
75,621,207
2
null
75,620,865
0
null
Check out bookmarks. You can add a bookmark to any report item and add a bookmark link to any item that has an Action property, for example, a text box, an image, or a calculated series in a chart. [](https://i.stack.imgur.com/Ohc0I.jpg) [https://learn.microsoft.com/en-us/sql/reporting-services/report-design/add-a-book...
null
CC BY-SA 4.0
null
2023-03-02T21:57:23.617
2023-03-02T21:57:23.617
null
null
9,059,424
null
75,621,202
2
null
75,619,651
1
null
Edit your network settings in `/etc/containers/net.d/podman-default-kube-network.conflist` Change this line ``` "dns_enabled": false, ``` To this: ``` "dns_enabled": true, ``` Then reboot and up your yaml and try to resolve this: ``` postgres_pgadmin-container_1 ``` Or maybe this: ``` postgres_postgres_1 ``` ## Ed...
null
CC BY-SA 4.0
null
2023-03-02T21:57:01.740
2023-03-03T06:41:57.540
2023-03-03T06:41:57.540
21,017,967
21,017,967
null
75,621,194
1
null
null
0
14
I have spent at least six hours of today trying to solve a seemingly easy problem. I am trying to either add or update an object that is in an array of subdocuments, based on the value of a field `price_level`. Here is my schema: ``` import mongoose, { Schema } from 'mongoose'; const orderBookSchema = new Schema({ ...
MongoDB with mongoose: can't prevent duplicates
CC BY-SA 4.0
null
2023-03-02T21:54:58.780
2023-03-02T22:09:00.130
null
null
343,159
[ "node.js", "mongodb", "mongoose" ]
75,621,206
1
null
null
0
8
We need to generate e-invoices in Odoo that comply with the Peppol BIS Billing 3.0 standard that is used in Luxembourg for e-factoration. When we activate the Peppol BIS Billing 3.0 Protocol under Accounting > Configuration > Journals > Customer Invoices we get in addition to the generated PDF invoive the XML represe...
Odoo Customer Peppol EndpointID in Peppol BIS Billing 3.0
CC BY-SA 4.0
null
2023-03-02T21:57:19.110
2023-03-02T21:57:19.110
null
null
2,870,717
[ "odoo-15", "peppol" ]
75,621,210
1
null
null
0
34
Would you have any suggestions of finding M x N matrices in the original matrix using MATLAB that have non-zero values and also more than one row and column (M > 1 & N > 1). Example: Main matrix: ``` 0 10 1 4 0 6 0 17 16 0 18 2 5 1 18 0 20 20 9 12 16 10 0 11 5 6 7 0 13 0 8 ...
Finding MxN matrices with a non-zero values within a "large" matrix (MATLAB)
CC BY-SA 4.0
null
2023-03-02T21:57:48.867
2023-03-03T14:59:33.797
2023-03-03T14:59:33.797
7,328,782
12,250,497
[ "matlab", "matrix" ]
75,621,209
2
null
75,617,038
0
null
I don't think someone will answer this for many reasons: - - - - And I'm not saying this to upset you, but rather help you how to make a better question. I also tried to find some examples that are not what you expect, but that have a similar context (a fab that reveals other buttons once you click it). [https://www....
null
CC BY-SA 4.0
null
2023-03-02T21:57:40.190
2023-03-02T21:57:40.190
null
null
3,590,155
null
75,621,213
2
null
75,617,153
0
null
You can use the following sequence of calls to get all shapes for a slide: ``` const shapes = context.presentation.slides.getItemAt(0).shapes; ``` For example, the following code shows how to delete shapes: ``` await PowerPoint.run(async (context) => { // Delete all shapes from the first slide. const sheet = c...
null
CC BY-SA 4.0
null
2023-03-02T21:58:23.903
2023-03-02T21:58:23.903
null
null
1,603,351
null
75,621,215
1
null
null
-3
8
Is anyone out there using a Red Hat Linux 8 Xerces-c 3.2 version? If so what transcoder is optimum? I'm having transcoding issue with Xerces 3.2. I am having callbacks fire but the startElement () localname is coming back empty on the callback. I've set locale & even tried setting XMLPlatformUtils::Initialize ("en_US.U...
What is best transcoder to build with for RHEL8?
CC BY-SA 4.0
null
2023-03-02T21:58:25.930
2023-03-02T21:58:25.930
null
null
5,024,817
[ "xerces", "rhel8" ]
75,621,217
2
null
75,619,724
0
null
Please do not blame me for my answer. I just suggested some approx solution. I can suggest a bash solution for this ``` cat in.csv | awk 'BEGIN { prev_line="" } /\|/ { print prev_line; prev_line=$0 } !/\|/ { prev_line = prev_line" "$0 } END { print prev_line }' > file.out; ``` but this solution returns ``` fruit|colou...
null
CC BY-SA 4.0
null
2023-03-02T21:58:28.300
2023-03-02T21:58:28.300
null
null
18,032,908
null
75,621,218
1
null
null
-1
14
The two applications stop not seeing each other with redis because the session is created every time I run the function and is not saved in app2 I tested two applications in adonis js with redis I made the connection in both applications with redis and configured the session with the same name in both applications but ...
How can I create two applications in adonis js to consume the same session?
CC BY-SA 4.0
null
2023-03-02T21:58:29.870
2023-03-03T05:55:54.107
2023-03-03T05:55:54.107
11,107,541
21,052,379
[ "javascript", "adonis.js" ]
75,621,186
1
null
null
0
19
Good day, community. I am developing a registration module with React and Suspabase. I have a form where the user selects an image and it is saved correctly in a supabase bucket. Now I want to make the image show to the user once it is saved in the database that went up, I really don't have much idea how to do this I'v...
How to display an image that is stored in a database with React and Supabase?
CC BY-SA 4.0
null
2023-03-02T21:54:04.433
2023-03-02T21:54:04.433
null
null
19,028,747
[ "javascript", "reactjs", "supabase", "supabase-database" ]
75,621,216
1
null
null
0
10
During testing I have this error: `console.error Error: Uncaught [Error: useNavigate() may be used only in the context of a <Router> component.]` I was looking for solutions and everyone said to use BrowserRouter - I use it, but the error still occurs. Can anyone give a hint what I'm doing wrong? index.js: ``` import R...
[Error: useNavigate() may be used only in the context of a <Router> component.]
CC BY-SA 4.0
null
2023-03-02T21:58:26.090
2023-03-02T21:58:26.090
null
null
8,679,153
[ "reactjs", "jestjs", "react-testing-library" ]
75,621,220
1
null
null
0
14
I'm experimenting with table partitions based on data timestamp, which creates a lot of extents. I've tried setting `LoopPeriod` to 1 minute, to observe the cluster behavior, but it seems to have a 10 minute minimum. Is that right? 10 minutes is the minimum LoopPeriod for Extents Merge policy?
Is there a minimum LoopPeriod for for the Extents Merge Policy?
CC BY-SA 4.0
null
2023-03-02T21:58:52.750
2023-03-02T22:09:26.093
null
null
25,612
[ "azure-data-explorer" ]
75,621,219
1
null
null
0
16
I am trying to create a class that inherits from the Table class as follows: ``` import os from sqlalchemy import Column, DateTime, Integer, MetaData, String, Table, Text class DevicesTable(Table): _name = 'devices' def __init__(self): Table.__init__(self, self._name, MetaData(schema=os.env...
AttributeError: 'DevicesTable' object has no attribute '_columns'"
CC BY-SA 4.0
null
2023-03-02T21:58:31.133
2023-03-02T22:15:33.443
2023-03-02T22:15:33.443
17,107,961
17,107,961
[ "python", "inheritance", "sqlalchemy" ]
75,621,214
1
75,626,077
null
0
30
I am unable to reactively update ApexCharts using the Vue 3 Composition API. I have been going around in circles. I can update the options and they will write to the div in the example below when you click the button, but the ApexChart does not update. I have had success updating the series data, just not the options. ...
ApexChart chartOptions not updating in Vue3 Composition API
CC BY-SA 4.0
null
2023-03-02T21:58:25.940
2023-03-03T10:47:49.353
null
null
21,314,142
[ "javascript", "vuejs3", "vue-composition-api", "apexcharts" ]
75,621,221
1
null
null
0
4
I have a database which can be extract to csv file and wanna to manipulate this data in Python (using geopandas) with the objetive to create a Geometry column using this data (as example) as MULTYPOLIGON. [{"lng":-56.68474941253663,"lat":-13.161902260803777},{"lng":-56.68524293899536,"lat":-13.56160722969091},{"lng":-5...
How can I elaborate a Geometru Column if already have longitude and latitudes?
CC BY-SA 4.0
null
2023-03-02T21:58:55.980
2023-03-02T21:58:55.980
null
null
21,322,093
[ "python", "jupyter-notebook", "jupyter", "geospatial" ]
75,621,223
2
null
75,617,755
0
null
I found it. The tooltip element was stored somewhere else in the DOM. I searched the DOM for the text of the hover message and found it. Then I simply had to make the mouse move to that button and then create the xpath to the tooltip element that was not "closed" and contained the text.
null
CC BY-SA 4.0
null
2023-03-02T21:59:04.923
2023-03-02T21:59:04.923
null
null
8,408,147
null
75,621,226
2
null
75,616,685
-1
null
I found the answer. I have misunderstand the way nestjs works, in my code, as hardillb says, you must provide an url to an existing (running) broker, nextjs will not start a broker for you. To have my own broker in the backend as I would like, I could use something like aedes ([https://github.com/moscajs/aedes](https:/...
null
CC BY-SA 4.0
null
2023-03-02T22:00:04.483
2023-03-02T22:00:04.483
null
null
14,505,900
null
75,621,212
1
null
null
0
20
### Update: So I am carefully comparing the working github starter with mine now, and I found the exact first line of code where the two states of our programs differ about databases: in sqlite.service.ts in openDatabase(...): ``` db = await this.sqliteConnection .createConnection(dbName, encrypted, mode, ve...
@capacitor-community/sqlite: Error: Query failed: SelectSQL: queryAll: no such table: sqlite_sequence when intializing app (web mode)
CC BY-SA 4.0
null
2023-03-02T21:58:14.917
2023-03-04T11:42:20.183
2023-03-03T10:16:25.857
20,009,330
20,009,330
[ "sql", "angular", "sqlite", "ionic-framework", "capacitor" ]
75,621,224
1
null
null
-1
22
We have a firebase function that is triggered on `.onWrite` event. When several users begin running this function, it creates wrong behavior. One instance of the function doesn't complete and another starts, as a result we obtain chaos. How to start the new execution of the firebase function until the previous one ends...
How to start new instance of running of the concrete firebase function after the previous one finished?
CC BY-SA 4.0
null
2023-03-02T21:59:13.520
2023-03-03T09:07:02.317
2023-03-03T09:07:02.317
7,856,586
7,856,586
[ "javascript", "firebase", "google-cloud-platform", "google-cloud-functions" ]
75,621,225
2
null
75,621,164
1
null
With [pd.concat](https://pandas.pydata.org/docs/reference/api/pandas.concat.html) and augmenting the initial dataframes with dict keys: ``` df = pd.concat([df.assign(Team=[k] * df.index.size) for k, df in d.items()], axis=0, ignore_index=True) ``` --- ``` Age Weight Team 0 5 5 A 1 5 ...
null
CC BY-SA 4.0
null
2023-03-02T21:59:19.407
2023-03-02T21:59:19.407
null
null
3,185,459
null
75,621,228
1
null
null
0
20
I have an issue when making a map with R using `sf`. I need to use a LAEA projection (CRS 3035), but one of my horizontal line is straight whereas it should be curved (the one in the middle): [](https://i.stack.imgur.com/ToASp.png) I understand that the issue comes from the way I have created my custom polygon in QGIS:...
Increase number of nodes defining polygon for correct projection
CC BY-SA 4.0
null
2023-03-02T22:00:26.103
2023-03-03T18:20:59.323
null
null
5,205,394
[ "r", "sf", "qgis" ]
75,621,231
1
null
null
0
14
I have the correct settings to get static files live, but no static files work even though I do collectstatic My Settings.py: ``` `STATIC_URL = '/static/' MEDIA_URL = '/media/' STATIC_ROOT = os.path.join(BASE_DIR,'staticfiles/') MEDIA_ROOT = os.path.join(BASE_DIR,'media/')` ``` Debug is False
Static files not appearing when going live django project
CC BY-SA 4.0
null
2023-03-02T22:01:22.087
2023-03-03T06:25:35.633
2023-03-02T22:01:53.187
21,291,597
21,291,597
[ "python", "django" ]
75,621,211
1
null
null
0
17
This is my first question, so I hope I didn't miss anything :) In my project I encounter this issue: when I try to use an Android clipboard it appears with really big padding. I know that in API 33 Android added a new clipboard, so I also tried it on API level 30 - still this problem. [screen_1](https://i.stack.imgur.c...
Android clipboard popup window is too large
CC BY-SA 4.0
null
2023-03-02T21:58:08.227
2023-03-02T22:33:48.630
2023-03-02T22:33:48.630
21,322,062
21,322,062
[ "android", "kotlin", "popup" ]
75,621,229
2
null
75,621,105
0
null
First make a long list of all your name pairs. I added the correct names too, otherwise those aren't matched. Then we can do a simple join. Using `dplyr` and `tidyr`: ``` library(tidyverse) Names_long <- pivot_longer(Names, -IOCSpecies, values_to = 'binSpecies') %>% select(-name) %>% bind_rows(data.frame(IOCSpec...
null
CC BY-SA 4.0
null
2023-03-02T22:00:30.480
2023-03-02T22:00:30.480
null
null
4,341,440
null
75,621,233
1
null
null
-1
18
Hi guys I have a requeriment where a user with an admin claim wants to impersonate any user in our application ``` public async Task CreateImpersonateAsync(Guid userId) { await _signInManager.SignOutAsync(); var user = await _userRepository.GetAsync(userId); await _signInManager.SignInAsync(...
How to "properly" impersonate a user (identityserver4)
CC BY-SA 4.0
null
2023-03-02T22:01:34.680
2023-03-02T22:01:34.680
null
null
19,883,109
[ "c#", ".net-core", "identityserver4" ]
75,621,227
1
null
null
0
24
Within Looker Studio, I'm trying to blend data from two different sources of data. The first source is Google Ads and the other source is a Google Spreadsheet. The join condition is based on the date, which seems to work. Meaning, it presents the data from both sources or both sides. [](https://i.stack.imgur.com/05GX5....
Group by month on blended data in Looker Studio
CC BY-SA 4.0
null
2023-03-02T22:00:11.930
2023-03-03T16:33:38.230
2023-03-03T16:33:38.230
4,451,823
4,451,823
[ "google-data-studio", "looker-studio" ]
75,621,234
2
null
74,690,033
0
null
I have the following code in a few projects and it seems to still workin Visual Studio 2022. I have a Web.Base.config (and configuration) and I set the default values in there. I then add a configuration and a Web.{ConfigurationName}.config for each environment. During Build and Publish, it overwrites the Web.config f...
null
CC BY-SA 4.0
null
2023-03-02T22:01:41.687
2023-03-02T22:01:41.687
null
null
4,538,701
null
75,621,235
2
null
75,619,386
0
null
the url for you image depends where you have placed your image. ## public folder if the image was placed into the public folder: e.g. `project/public/img/brand/gwsymsjpg.jpg` then you can access it with `asset('img/brand/gwsymsjpg.jpg')` ## storage folder if the image was placed into the storage folder: e.g. `pro...
null
CC BY-SA 4.0
null
2023-03-02T22:01:47.397
2023-03-02T22:01:47.397
null
null
16,897,480
null
75,621,241
2
null
1,669,946
0
null
If you are trying to capture selheight and seltop on the current form you could try capturing them in the MouseUp and KeuUp event and save them in a form level variable.
null
CC BY-SA 4.0
null
2023-03-02T22:02:28.967
2023-03-02T22:02:28.967
null
null
6,423,265
null
75,621,240
2
null
75,619,953
1
null
Here is one way to do it: ``` out = None for col in [col for col in df.columns if col.endswith('_id')]: if out is None: out = ( df.groupby(col).agg(list) .applymap(lambda x: 'NaN_SENTINEL' if x==[np.nan] else x) ) for col2 in [col2 for col2 in out if col2.endswith('_id')]: ou...
null
CC BY-SA 4.0
null
2023-03-02T22:02:15.220
2023-03-02T22:37:10.990
2023-03-02T22:37:10.990
18,135,454
18,135,454
null
75,621,205
1
null
null
-2
27
I've been trying to fit my JPanel inside a JScrollPane for a JavaSwing application I've been steadily working on as part of my attempt to learn JavaSwing. However, the JScrollPane appears to be extending offscreen vertically, and I'm not sure how to make it constrained by the bottom of the window. There are buttons and...
How do I force this JScrollPane to scroll through my JPanel without going off screen?
CC BY-SA 4.0
null
2023-03-02T21:57:14.360
2023-03-02T22:21:57.393
2023-03-02T22:21:57.393
522,444
21,321,979
[ "java", "swing", "layout", "jscrollpane" ]
75,621,239
2
null
75,620,956
0
null
`break` breaks the while loop, so you should use it only when you want it to end before the while condition is met. In your program, you do the opposite, you break the loop precisely when you want it to continue looping. Here's a minimum example where I want the loop to be broken only when the answer is wrong (it's up ...
null
CC BY-SA 4.0
null
2023-03-02T22:02:14.787
2023-03-02T22:07:51.640
2023-03-02T22:07:51.640
15,032,126
15,032,126
null
75,621,243
2
null
75,621,156
1
null
When you find the smaller node, insert the new value and then break out of the loop. If you don't find anything lower, use `add()` to add the new value to the beginning of the list. The `else:` block of a loop is executed when the loop ends normally instead of from `break`. ``` def find(self, value): current = self...
null
CC BY-SA 4.0
null
2023-03-02T22:02:31.613
2023-03-02T22:02:31.613
null
null
1,491,895
null
75,621,247
2
null
75,578,502
1
null
The `default` device likely refers to PulseAudio or PipeWire, which have their own configuration. Add the `-v` option to `aplay` to find out.
null
CC BY-SA 4.0
null
2023-03-02T22:02:47.913
2023-03-02T22:02:47.913
null
null
11,654
null
75,621,222
2
null
75,620,911
3
null
Your implementation of `operator<` only returns `true` if `this->x < point.x` `and` `this->y < point.y`, which is clearly not comparing the distances to origo: ``` constexpr bool Point::operator<(const Point& point) const { // made it constexpr return (((point.x) < (x))&& (point.y)<(y)); } constexpr Point a{1., 0....
null
CC BY-SA 4.0
null
2023-03-02T21:58:58.537
2023-03-05T05:10:55.213
2023-03-05T05:10:55.213
7,582,247
7,582,247
null
75,621,236
1
null
null
0
88
After installing CKEditor5 alongside other necessary packages, I configure my vite.config.js based on this [document](https://ckeditor.com/docs/ckeditor5/latest/installation/frameworks/vuejs-v3.html#configuring-viteconfigjs). ``` import { defineConfig } from 'vite'; import laravel from 'laravel-vite-plugin'; import vue...
CKEditor is not showing in Laravel 9 with Vite + Vue3 Project
CC BY-SA 4.0
null
2023-03-02T22:01:53.783
2023-03-02T22:01:53.783
null
null
10,440,865
[ "vuejs3", "vite", "laravel-9", "ckeditor5" ]
75,621,245
1
null
null
0
34
I am trying to solve a system of 4 exponential equations with two variables. However If I use fsolve python will only allow me two use as many equations as I have variables. But as I have infinitely many pairs of solutions (if only two equations are used) and I need to find the pair of variables that fits not only two ...
How to solve an overdetermined non linear set of equations numerically in python?
CC BY-SA 4.0
null
2023-03-02T22:02:43.920
2023-03-05T04:04:26.330
2023-03-03T16:13:16.773
21,056,350
21,056,350
[ "python", "scipy", "equation-solving", "nonlinear-equation", "fsolve" ]
75,621,246
2
null
75,606,733
0
null
You can solve this numerically using two calls to [integral](https://www.mathworks.com/help/matlab/ref/integral.html) like this: ``` g=@(x)exp(-x.^2); h=@(y)y.^2; a=20; z=integral(@(y)h(y).*exp(integral(g,0,y)),0,a,'ArrayValued',true); ``` You need to use the ['ArrayValued'](https://www.mathworks.com/help/matlab/ref/i...
null
CC BY-SA 4.0
null
2023-03-02T22:02:44.390
2023-03-02T22:07:59.560
2023-03-02T22:07:59.560
2,278,029
2,278,029
null
75,621,238
1
75,621,362
null
0
19
I have wide df with multiple measurements. I would like to change wide to long. How should I do this. I know how to do 2 cols, but not multiples. Could someone guide me on this? Input on the top, and ideal output on the bottom: [](https://i.stack.imgur.com/hHdD4.png) [](https://i.stack.imgur.com/EEkyC.png) ``` df<-stru...
how to put multiple cols into long format base on suffix of variable names
CC BY-SA 4.0
null
2023-03-02T22:02:05.700
2023-03-02T22:19:50.690
null
null
13,631,281
[ "r" ]
75,621,248
1
null
null
-2
45
I have an application running on .NET 5. We have a configuration file which looks like this ``` { "Config1" : { "k1" : "v1", "k2" : "v2" ........... }, "Config2" : { "k3" : "v3", "k4" : "v4" } } ``` Using a singleton object to load the configuration as ``` services.Configure<Config1...
Dynamically update config in ASP.NET Core 5 application
CC BY-SA 4.0
null
2023-03-02T22:02:48.350
2023-03-03T15:26:50.243
2023-03-03T05:10:05.810
13,302
3,109,263
[ "c#", "asp.net-core-mvc", "asp.net-core-webapi", "asp.net-core-5.0" ]
75,621,242
2
null
75,620,330
0
null
I think your example is oversimplified. Your result looks like `C` and `D` columns sorted by `C` ascending. But looking to your other question I guess it is not the case. Would suggest to make a unique "master" list of titles and then use `VLOOKUP` to match from all your lists. You can make unique list by copying all ...
null
CC BY-SA 4.0
null
2023-03-02T22:02:31.317
2023-03-02T22:15:15.340
2023-03-02T22:15:15.340
11,222,393
11,222,393
null
75,621,256
1
null
null
0
16
Any idea how to trace a memory leak in `UIDeviceWhiteColor` as per the profiler? Ideally it would be great to point to the code. I have a break on every instance of anything with white in it and no luck. [](https://i.stack.imgur.com/0aAJf.png)
Memory leak in UIDeviceWhiteColor
CC BY-SA 4.0
null
2023-03-02T22:04:46.297
2023-03-02T22:04:46.297
null
null
1,209,621
[ "ios", "swift", "memory-leaks", "profiler", "xcode14" ]
75,621,250
1
null
null
0
23
I'm working with AWS `CodePipelines` and `CodeBuild` (through the `CodeBuildAction` construct). Within my pipeline, I have multiple stages each with N number of actions. I end up having multiple `CodeBuild` instances across all my stages. This ends up making the pipeline take much longer than I think it should (provisi...
Re-use CodeBuild instance in CodePipeline
CC BY-SA 4.0
null
2023-03-02T22:03:09.627
2023-03-03T14:53:24.947
2023-03-03T14:53:24.947
6,327,846
6,327,846
[ "amazon-web-services", "aws-codepipeline", "aws-codebuild" ]
75,621,255
1
null
null
1
26
This is my data stored in MongoDB: ``` { "experience":{ "pastProjects":[ { "1":[ { "title":"One" } ] }, { "2":[ { "title:":"TWO" } ] ...
Graphql : issue constructing query on array of objects
CC BY-SA 4.0
null
2023-03-02T22:04:30.423
2023-03-03T17:07:52.487
null
null
3,135,427
[ "mongodb", "mongoose", "graphql" ]
75,621,254
1
75,623,282
null
0
13
I have this query: ``` range_query = { "query": { "bool": { "must": [ { "match": { "type": DEFAULT_LOG_TYPE }, "match": { "namespace": n...
elasticsearch.exceptions.RequestError: RequestError(400, 'parsing_exception', 'request does not support [_source]')
CC BY-SA 4.0
null
2023-03-02T22:04:23.280
2023-03-03T04:49:50.997
null
null
20,463,443
[ "elasticsearch", "elastic-stack" ]
75,621,249
2
null
70,195,551
0
null
I had to solve this problem my self. I created a `PLSQL` function that extract the column data from table creation DDL in current schema/user. Than rebuilds an `alter table` command. The function return the required DDL statement to add the specified column. ### Function code: get_column_ddl ``` CREATE OR REPLACE FU...
null
CC BY-SA 4.0
null
2023-03-02T22:02:58.123
2023-03-03T08:00:37.433
2023-03-03T08:00:37.433
6,266,192
6,266,192
null
75,621,251
1
null
null
-2
26
I do not understand how to get rid of LNK2005 error when building a program in MSVC 2019 which uses boost 1.80 spirit. I tried to play with several examples from spirit qi. The problem appears in 2 cpp files. I reduced to the minimum reproducible example and found that the culprit is ``` #include <boost/phoenix/stl.hpp...
Why error LNK2005 appears when linking 2 cpp files including /boost/phoenix/stl.hpp?
CC BY-SA 4.0
null
2023-03-02T22:03:12.323
2023-03-03T12:01:47.997
2023-03-03T12:01:47.997
15,964,481
15,964,481
[ "c++", "visual-studio", "boost", "boost-spirit-qi" ]
75,621,261
1
null
null
0
21
I have an LI that contains only an image, set to around 100px tall. I have alphabetic markers on this list, but they are positioned at the base of the image, near the bottom left corner; can I position them straight above that, near the top left corner, instead? [](https://i.stack.imgur.com/RRYpD.png)
how to position a list marker to the top instead of baseline?
CC BY-SA 4.0
null
2023-03-02T22:05:25.560
2023-03-02T23:49:18.393
null
null
5,641,201
[ "html", "css", "html-lists" ]
75,621,260
2
null
75,620,586
0
null
I would recommend that you use bisection to find the critical value. Your function for bisection could return a solution if found or None if it is not. Stop bisecting when your bounds are close enough together. e.g. if you had 1 equations `eq` that needed a parameter `v` specified and you had a guess `g` for the soluti...
null
CC BY-SA 4.0
null
2023-03-02T22:05:12.910
2023-03-02T22:05:12.910
null
null
1,089,161
null
75,621,262
2
null
75,620,783
0
null
Try using the attach method to attach the classification entity prior to setting it to the GeoLocationType entity ``` if (model.Classifications_Id > 0) { var classification = _ClassificationRepository .Find(p => p.Id == model.Classifications_Id).FirstOrDefault(); _uow.Attach(classification); model.Classifica...
null
CC BY-SA 4.0
null
2023-03-02T22:05:29.853
2023-03-02T22:05:29.853
null
null
16,129,553
null
75,621,259
1
null
null
0
49
I was recently posed a problem by a student based on assignment instructions they'd gotten elsewhere, and I don't think the requested result is possible. Perhaps the question was poorly worded. See what you think..... The instructions were to create a FUNCTION (Notably, NOT a stored proc) that returns rows based on a p...
Is it possible for a function to return rows in some cases and a scalar value in other cases?
CC BY-SA 4.0
null
2023-03-02T22:05:04.380
2023-03-04T20:58:30.757
2023-03-02T22:32:42.397
1,127,428
6,430,696
[ "sql-server", "tsql" ]
75,621,237
1
null
null
0
26
I'm trying create a basic app that recognizes speech and writes it on the screen. Here's how I want it to work: There will be a button on the screen, and I will press that button only once to 'turn on' the microphone. After that, the app will recognize whether I've started speaking. If so, it will recognize my speech a...
How can I continuous update the state of my basic flutter app?
CC BY-SA 4.0
null
2023-03-02T22:01:55.923
2023-03-02T22:01:55.923
null
null
15,306,169
[ "android", "ios", "flutter", "dart", "async-await" ]
75,621,266
2
null
75,393,798
0
null
### please read the pyrogram documentation to avoid mistakes first of all, use app.on_message to handle message. you can do that using regex example: ``` from pyrogram import Client, filters app = Client("bot", ...) @app.on_message(filters.regex(r'^/start aff_(\d+)')) def handler(client, message): number = mess...
null
CC BY-SA 4.0
null
2023-03-02T22:06:18.377
2023-03-02T22:06:18.377
null
null
13,836,911
null
75,621,267
1
null
null
-1
14
I am currently working on a web-scraping project that extracts links out of an article and I want to be able to specify the search to just the main body of text, but am running into trouble with false-positives on the navigational links at the bottom. I know that all of these false positives fall under the same specifi...
How to specify an class NOT to select with BeautifulSoup 4
CC BY-SA 4.0
null
2023-03-02T22:06:23.117
2023-03-02T22:06:23.117
null
null
20,717,275
[ "python", "beautifulsoup" ]
75,621,263
1
null
null
0
21
I am trying to write a method that when a link button is clicked, it downloads a .txt file. I have a dropdown that has two options, utf-8 (default) and utf-16. What I need is for the file to be saved as utf-16 when it is selected. However, it keeps saving the .txt file as utf-8. I do not want to have to save a copy of ...
Return a string as a response header with a text file attachment as different encoding types
CC BY-SA 4.0
null
2023-03-02T22:05:49.403
2023-03-03T05:44:34.840
2023-03-03T05:44:34.840
2,395,282
21,322,128
[ "c#", "asp.net", "utf-8", "txt", "utf-16" ]
75,621,270
2
null
75,621,049
0
null
The problem appears to be that you don't distinguish between an number of factors (where you code should work) and number of factors (where it doesn't) The number 1024 has an odd number of factors (2, 4, 8, 16, , 64, 128, 256, 512) as 32 is its and used twice. (Not 16 and 32.) 1.00012 ^ 1024 = 1.00012 ^ (32 * 32) ...
null
CC BY-SA 4.0
null
2023-03-02T22:06:33.650
2023-03-02T22:27:15.513
2023-03-02T22:27:15.513
5,771,269
5,771,269
null
75,621,269
1
null
null
0
24
I'm having trouble solving a non-linear system of equations for three unknowns when they all equal zero. Below is the system of equations: ``` [thrust + (1372026816786920195775*conj(alpha))/72057594037927936 - (1376539794479570331075*conj(del_e))/4611686018427387904 - 20500*sin(alpha) + (1122106572074213962575*conj(alp...
solving system of non linear equations with symbols in MATLAB
CC BY-SA 4.0
null
2023-03-02T22:06:29.750
2023-03-02T22:19:49.203
2023-03-02T22:19:49.203
2,278,029
21,322,170
[ "matlab", "symbolic-math" ]
75,621,257
1
null
null
0
44
I try to add a button close to inputfield via an injections script. This button is in relation with ajax php and must fill an inputfield If I include my javascript inside my file, I have no problem. But how to do that with an external javascript: Note : inputfield is inside a loop in relation with the language (en, fr ...
How to add dynamically an extern javascript button ansyer inside a php loop
CC BY-SA 4.0
null
2023-03-02T22:05:01.380
2023-03-03T14:13:14.747
2023-03-03T14:13:14.747
21,199,805
21,199,805
[ "javascript", "php", "ajax" ]
75,621,268
1
null
null
0
23
I have a Blazor Server app deployed to an Azure App Service using the built in authentication feature. Traffic comes in via Azure Front Door, and a Content-Security-Policy is set (by the front door service) using an Overwrite rule that sets Content-Security-Policy to: ``` base-uri 'self'; default-src 'self' https://*.<...
Content-Security-Policy settings when using built in Azure App Service Authentication (Easy Auth)
CC BY-SA 4.0
null
2023-03-02T22:06:26.857
2023-03-02T22:27:58.913
2023-03-02T22:07:02.110
18,901,997
18,901,997
[ "azure-active-directory", "azure-web-app-service", "content-security-policy", "azure-front-door", "easy-auth" ]
75,621,278
2
null
75,620,789
1
null
``` = "Date Range: " + Format(DateAdd(DateInterval.Month, -1, Dateserial(Year(Today), Month(Today), 1)) , "dd-MMM-yyyy") + " - " + Format(DateAdd(DateInterval.Month, 0, Dateserial(Year(Today), Month(Today), 0)), "dd-MMM-yyyy") ``` [](https://i.stack.imgur.com/OG4Wn.png)
null
CC BY-SA 4.0
null
2023-03-02T22:08:07.860
2023-03-02T22:08:07.860
null
null
9,059,424
null
75,621,277
2
null
75,338,665
0
null
For this case you need to use `catalog.listTables("<db_name>")` ``` names = [(f.name) for f in spark.catalog.listTables("<db_name>")] #show 100 rows of data from each table in the database for i in names: spark.sql(f"select * from {db_name}.{i}").show(100,False) ```
null
CC BY-SA 4.0
null
2023-03-02T22:07:50.943
2023-03-02T22:07:50.943
null
null
7,632,695
null
75,621,274
2
null
75,621,056
1
null
Yes, you can use the [range](https://developer.hashicorp.com/terraform/language/functions/range) function. This is a working example: ``` variable "prefix" { type = string default = "room" } variable "limit" { type = number default = 10 } locals { list_of_rooms = [for element in range(var.limit) : t...
null
CC BY-SA 4.0
null
2023-03-02T22:06:55.643
2023-03-02T22:37:37.517
2023-03-02T22:37:37.517
6,182,194
6,182,194
null
75,621,276
2
null
65,632,698
0
null
Since , the <Link> component should NOT have <a> child. So you cannot put the target there, instead, set it on the <Link> like: ``` <Link href="/some-route" className="some classes" target="_blank" > {children} </Link> ``` However, if you insist on using <a> inside of the Link, you need...
null
CC BY-SA 4.0
null
2023-03-02T22:07:43.587
2023-03-02T22:07:43.587
null
null
9,236,978
null
75,621,265
1
null
null
0
28
I am trying to use Azure RunBook with PowerShell to manage the call forwarding status for Teams users. I use an Azure app that has (I believe) all required Graph API permissions: [](https://i.stack.imgur.com/x77Fh.png) And is also set as Teams Administrator. The Runbook PowerShell code is as follow: ``` #Import Module...
Azure Runbook: using Set-CsUserCallingSettings throws "The stream was already consumed. It cannot be read again"
CC BY-SA 4.0
null
2023-03-02T22:06:09.280
2023-03-02T23:16:29.117
2023-03-02T23:16:29.117
1,341,244
1,341,244
[ "azure", "powershell", "microsoft-teams", "azure-runbook" ]
75,621,279
1
null
null
-2
11
I need to sort an array of JSON strings for an app. This could be either an array of numbers or an array of letters which may include special characters, so from what I've read, Intl.collator() is my only option (or at least, seems the fastest & most efficient). I've managed to get it working on iOS devices, but for An...
How to correctly use intl-collator npm package
CC BY-SA 4.0
null
2023-03-02T22:08:10.627
2023-03-02T22:08:10.627
null
null
11,865,922
[ "javascript", "reactjs", "expo", "intl", "collator" ]
75,621,282
1
null
null
0
7
I generally dont worry myself with security policies on my local machine. So for scripts that run locally, I usually set the windows execution policy to something really permissive. With my new machine, I wanted to know if there is an actual way I should handle execution policy so that every script known to man doesn...
How to properly manage Windows Execution Policy
CC BY-SA 4.0
null
2023-03-02T22:08:46.457
2023-03-02T22:08:46.457
null
null
1,342,522
[ "windows", "executionpolicy" ]
75,621,281
1
null
null
0
13
Not sure if it is the right spot for this question. I use SSMS connecting to a server (always on), then connects to the testing database – it sits in the same server where hosts production database. The problem I have been having lately is the connection gets dropped out frequently through the day. very annoying! Here ...
SSMS connection to the server drops out frequently
CC BY-SA 4.0
null
2023-03-02T22:08:22.777
2023-03-02T22:08:22.777
null
null
8,906,194
[ "sql", "database", "database-connection", "connection-timeout" ]