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,628,270 | 2 | null | 71,744,642 | 0 | null | If is not used on every level and an exception is thrown from a nested (for example thenAccept), then the exception will not be propagated up the chain to the next exceptionally handler.
This is because the method returns a CompletionStage, which is a special case of CompletionStage that does not carry a result. Whe... | null | CC BY-SA 4.0 | null | 2023-03-03T14:23:45.757 | 2023-03-03T14:23:45.757 | null | null | 4,237,157 | null |
75,628,269 | 1 | null | null | 0 | 23 | I am trying to create a Java artefact with sbt, in IntelliJ IDEA you have this option in the menu and you can easily create artifects and add arbitrary files to said artefacts.
The question is, how could you do this in sbt commandline?
What I want to do is, create a simple compiled java artifact (using the scala langua... | scala build tools (sbt) and artefacts like intelliJ | CC BY-SA 4.0 | null | 2023-03-03T14:23:41.300 | 2023-03-03T14:38:58.783 | null | null | 16,757,869 | [
"scala",
"jar",
"sbt",
"artifact"
] |
75,628,272 | 2 | null | 75,627,948 | -1 | null | you can use flexbox to make it center the page both vertically and horizontally and assign `height: 100%` to your div
```
{
display: flex;
align-items: center;
justify-content: center;
}
```
| null | CC BY-SA 4.0 | null | 2023-03-03T14:24:02.897 | 2023-03-03T14:24:02.897 | null | null | 14,932,096 | null |
75,628,266 | 2 | null | 75,626,452 | 0 | null | I suggest not to change your numeric to characters, but directly make a factor of it like this
```
df$condition <- factor(df$condition, levels = c(1, 2), labels = c("passive", "active"))
```
Or using `tidyverse` / `dyplr`
```
df %>%
mutate(condition = factor(condition, c(1, 2), c("passive", "active")))
# A tibble: ... | null | CC BY-SA 4.0 | null | 2023-03-03T14:23:01.173 | 2023-03-03T14:29:20.070 | 2023-03-03T14:29:20.070 | 10,415,749 | 10,415,749 | null |
75,628,265 | 1 | null | null | 0 | 7 | I am trying to create a simple job on Azure ML from the CLI. I tried on both Compute cluster and Compute instance targets. My code is on my local machine, and I am pushing it to the computing target, while trying to download my datasets from a blob storage under the form of a data asset.
I get the following error:
```
... | Azure ML Exception : The code snapshot was modified in blob storage, which could indicate tampering | CC BY-SA 4.0 | null | 2023-03-03T14:22:56.517 | 2023-03-03T14:22:56.517 | null | null | 21,278,942 | [
"azure-machine-learning-service"
] |
75,628,261 | 1 | null | null | 0 | 19 | ```
ava.Lang.IllegalStateException: Default FirebaseApp is not initialized in this process FoodAllergyFix.Android. Make sure to call FirebaseApp.initializeApp(Context) first.
at Java.Interop.JniEnvironment+StaticMethods.CallStaticObjectMethod (Java.Interop.JniObjectReference type, Java.Interop.JniMethodInfo method, J... | Default FirebaseApp is not initialized in this process FoodAllergyFix.Android. Make sure to call FirebaseApp.initializeApp(Context) first | CC BY-SA 4.0 | null | 2023-03-03T14:22:21.837 | 2023-03-03T14:22:21.837 | null | null | 21,303,743 | [
"c#",
"firebase",
"xamarin"
] |
75,628,274 | 1 | null | null | 0 | 6 |
```
from typing import NamedTuple
class Phone(NamedTuple):
residential: str
mobile: str
class Person(NamedTuple):
name: str
last_name: str
phone: Phone
@property
def full_name(self) -> str:
return f'{self.name} {self.last_name}'
edson = Person('Edson', 'Pimenta', Phone('1... | Is it possible to implement methods in subclass of typing.NamedTuple? And, are properties considered methods? | CC BY-SA 4.0 | null | 2023-03-03T14:24:19.297 | 2023-03-03T14:24:19.297 | null | null | 19,193,650 | [
"python-3.x",
"methods",
"properties",
"subclass",
"namedtuple"
] |
75,628,278 | 1 | null | null | -1 | 14 | Windows 11 question (I'm sorry if this isn't the correct place to post):
In Windows 10, when taking a screenshot using Snipping Tool, there was an option in the Snipping Tool menu to open the screenshot in Paint 3D.
Here is the button in Windows 10 Snipping tool that, after you took the screenshot, would open the scree... | Windows 11 how to combine snipping tool and Paint 3D | CC BY-SA 4.0 | null | 2023-03-03T14:24:35.260 | 2023-03-03T14:24:35.260 | null | null | 6,345,968 | [
"windows",
"windows-10",
"screenshot",
"windows-11"
] |
75,628,276 | 2 | null | 75,439,726 | 0 | null | Since this concerns just the one table, it is possible to convert the VO table to a single AstroPy table:
```
from astropy.io.votable import parse
import matplotlib.pyplot as plt
from astropy.io.votable import parse_single_table
table = parse_single_table("votables/star.vot").to_table() # to_table() does the trick
``... | null | CC BY-SA 4.0 | null | 2023-03-03T14:24:31.970 | 2023-03-03T14:24:31.970 | null | null | 9,769,953 | null |
75,628,271 | 1 | null | null | 0 | 20 | I have an app built with Laravel 10, Vuejs, Inertiajs and so Ziggy.
I have a problem when I try to build app for PROD with CSP nonce.
I follow the Laravel Doc ([https://laravel.com/docs/10.x/vite#content-security-policy-csp-nonce](https://laravel.com/docs/10.x/vite#content-security-policy-csp-nonce)), and I create Midd... | CSP error with Vite Build - Laravel/Inertiajs | CC BY-SA 4.0 | null | 2023-03-03T14:23:59.923 | 2023-03-03T14:23:59.923 | null | null | 5,630,506 | [
"laravel",
"vuejs3",
"vite",
"inertiajs",
"laravel-10"
] |
75,628,279 | 1 | null | null | -1 | 9 | I'm new in web3 but experimented programmer. I want to try to make my first smart contract in Solana.
I have a Phantom Solana wallet, and I want to create a smart contract that checks if my wallet have received any transaction of any token, and send the same amount of tokens received to another solana wallet. Is there ... | How to create a Solana program to constantly check wallet funds and transfer them to another wallet? | CC BY-SA 4.0 | null | 2023-03-03T14:24:52.350 | 2023-03-04T13:47:10.720 | null | null | 21,326,544 | [
"solana",
"solana-web3js",
"solana-transaction-instruction"
] |
75,628,281 | 2 | null | 52,439,551 | 0 | null | Actually the problem is here in `AndroidManifest.xml` file on `<intent-filter>`, remove any `<data>` tag inside the `<intent-filter>` block and the problem is solved.
| null | CC BY-SA 4.0 | null | 2023-03-03T14:24:55.110 | 2023-03-03T14:24:55.110 | null | null | 11,829,012 | null |
75,628,283 | 2 | null | 69,408,184 | 0 | null | I think this is the best way to do it:
```
class CategoriesListView(ListAPIView):
permission_classes = (IsAuthenticated,)
serializer_class = CategorySerializer
def get_queryset(self):
pk = self.kwargs.get(self.lookup_field)
store = get_object_or_404(Store, pk=pk)
return store.catego... | null | CC BY-SA 4.0 | null | 2023-03-03T14:25:01.157 | 2023-03-03T14:25:01.157 | null | null | 494,739 | null |
75,628,282 | 1 | null | null | 0 | 10 | I have a DA that runs on `Dialog Close` and it performs some actions on the records selected in the IG. Last action in that DA is `Submit Page` action that displays success message. The issue is that the data in the IG does not get updated until page is manually refreshed.
I tried to add region refresh action before su... | Oracle APEX: IG does not get refreshed after Submit Page | CC BY-SA 4.0 | null | 2023-03-03T14:24:56.713 | 2023-03-03T14:24:56.713 | null | null | 1,812,278 | [
"oracle-apex",
"oracle-apex21.2"
] |
75,628,277 | 2 | null | 75,626,322 | 1 | null | First of all, the `.innerHTML` returns a string, not a DOM element. So as many suggested, you should remove this.
```
var parent = document.getElementById("parent");
var title = parent.getElementById("myFrame").title;
```
```
<div id="parent">
<iframe id="myFrame" title="HEY!" srcdoc="<div id='inner'>Hello World!</di... | null | CC BY-SA 4.0 | null | 2023-03-03T14:24:33.877 | 2023-03-04T08:51:56.787 | 2023-03-04T08:51:56.787 | 1,169,519 | 18,427,893 | null |
75,628,284 | 1 | null | null | 0 | 8 | Is there any way to view every email that displays a blank email and the (typically red) info box stating "the secret key that is required to decrypt this message is not available"?
I've tried several different means of querying with the filter function but to no avail.
I have also tried searching for ways to do it on ... | How do I delete every email that returns "the secret key that is required to decrypt this message is not available"? | CC BY-SA 4.0 | null | 2023-03-03T14:25:03.763 | 2023-03-03T14:25:03.763 | null | null | 4,709,832 | [
"thunderbird"
] |
75,628,285 | 2 | null | 75,628,086 | 1 | null | You mean like this?
[](https://i.stack.imgur.com/0ylMe.png)
```
Measure =
IF(HASONEVALUE('Table'[Month]),
DIVIDE(
MAX('Table'[Discount Factor]),
CALCULATE(MAX('Table'[Discount Factor]), REMOVEFILTERS(), VALUES('Table'[Curve]), 'Table'[Month]=MAX('Table'[Month])-1),
0
)
)
```
| null | CC BY-SA 4.0 | null | 2023-03-03T14:25:06.583 | 2023-03-03T14:25:06.583 | null | null | 18,345,037 | null |
75,628,275 | 1 | null | null | 0 | 27 | it was working fine on live host earlier but now i updated my php version to 8.1 and stopped working .
But when i check it on xampp local server it is working fine .
my HTML code is :-
```
<form method="POST" id="name-form" enctype="multipart/form-data">
<div class="h4">Update Display</div>
<in... | php image upload is not working on live server with php 8.1 but working with 8.0 | CC BY-SA 4.0 | null | 2023-03-03T14:24:30.290 | 2023-03-04T12:16:29.713 | 2023-03-04T12:16:29.713 | 16,436,128 | 16,436,128 | [
"php",
"arrays",
"variables",
"php-8.1"
] |
75,628,288 | 1 | null | null | 0 | 9 | I made an Jarvis program using Python.
Now I want to run this program as default.
like when I open my computer then Jarvis should work as default.
like I should not suppose to open that program and Jarvis should run automatically.
How can I run Jarvis program as default?
| Jarvis ai as default | CC BY-SA 4.0 | null | 2023-03-03T14:25:18.353 | 2023-03-03T14:25:18.353 | null | null | 21,326,539 | [
"python",
"windows",
"artificial-intelligence"
] |
75,628,286 | 1 | null | null | 0 | 9 | I have a collection of ASCIIDOC files. I want to have a common TOC that lists all pages.
For example, if I have the following files
- - - - - - - -
I want to show a TOC like this on all of the above pages,
- - - - - - - -
Is it possible to do that?
I've tried to have a master.adoc file which has links to all these fi... | Common TOC in all pages of ASCIIDOC collection | CC BY-SA 4.0 | null | 2023-03-03T14:25:06.887 | 2023-03-03T14:31:42.010 | 2023-03-03T14:31:42.010 | 7,056,508 | 7,056,508 | [
"asciidoc",
"asciidoctor"
] |
75,628,280 | 1 | 75,628,434 | null | -2 | 39 | `
```
function bannner() {
const title = "c'est pur "
return (<h1>{title}</h1>)
}
function cart() {
const prixbedo = 10
const prixhero = 20
const prixcoc = 70
return (<div>
<h2>Panier</h2>
<ul>
<li>bedo : {prixbedo}$</li>
<li>heroïne : {pixh... | I test a website in react and my functions are not showing when I run my code | CC BY-SA 4.0 | null | 2023-03-03T14:24:54.660 | 2023-03-03T15:06:55.703 | null | null | 21,326,521 | [
"javascript",
"html",
"reactjs",
"react-native",
"react-dom"
] |
75,628,291 | 2 | null | 74,251,768 | 0 | null | [https://github.com/xlts-dev/angularjs-material-vite](https://github.com/xlts-dev/angularjs-material-vite) depends on the secret XLTS version of Angular. But it's still a goldmine of tips for using AngularJS with Vite.
(I'm migrating from Gulp!)
| null | CC BY-SA 4.0 | null | 2023-03-03T14:25:30.087 | 2023-03-03T14:25:30.087 | null | null | 3,318,517 | null |
75,628,289 | 1 | null | null | 0 | 23 | I'm trying to implement a simple query that is logically equivalent to
```
select * from (
select C.*, Row_number() OVER ( partition BY B.b_id ORDER BY C.c_id DESC ) as rn
from C
join B on B.b_id = C.b_id
join A on A.a_id = B.a_id
where A.a_id = 1234
) as subquery where rn = 1
```
In words: there a... | Using window functions in JPA | CC BY-SA 4.0 | null | 2023-03-03T14:25:20.297 | 2023-03-03T14:25:20.297 | null | null | 11,478,354 | [
"java",
"sql-server",
"jpa"
] |
75,628,287 | 1 | null | null | 0 | 6 | I have created new project using template `ASP.NET Core Web API` in Visual Studio 2022. This is simple API project and have not change anything in the template except in `program.cs'; moved out swagger outside the`if (app.Environment.IsDevelopment())`so that I can use swagger when deploy application in`Azure App Servic... | Azure DevOps Build error NETSDK1005: Assets file doesn't have a target for net7.0 | CC BY-SA 4.0 | null | 2023-03-03T14:25:17.427 | 2023-03-03T14:39:34.260 | 2023-03-03T14:39:34.260 | 1,892,256 | 1,892,256 | [
"asp.net-web-api",
"azure-devops",
".net-7.0"
] |
75,628,293 | 2 | null | 925,334 | 0 | null | The idea is to be able to specify exactly which buttons will submit the form. Without type="button", the browser chooses (usually the first one). Thus if you want to have buttons in a form that do not cause a submit, then mark them up with type="button"; all other buttons may cause a submit depending on situation.
| null | CC BY-SA 4.0 | null | 2023-03-03T14:25:32.720 | 2023-03-03T14:25:32.720 | null | null | 2,683,300 | null |
75,628,290 | 1 | null | null | 0 | 27 | I am totally new in React, I am using one component, where I have condition. I want when it shows first it should show different message, but after that on button click it should show different values.
I understand that I can put it in `componentDidUpdate()` but I am also doing some manipulation of state in `componentD... | update state of component for componentDidUpdate | CC BY-SA 4.0 | null | 2023-03-03T14:25:27.643 | 2023-03-03T14:48:35.403 | null | null | 3,427,659 | [
"reactjs"
] |
75,628,300 | 2 | null | 75,605,441 | 0 | null | Ok I was able to pinpoint the problem. Another program running a plug-in in the same software as mine used an older version of the assembly, which was loaded first, thus the runtime error. Using a local reference instead of installing RestSharp through NuGet solved the issue for me.
| null | CC BY-SA 4.0 | null | 2023-03-03T14:25:48.787 | 2023-03-03T14:30:48.210 | 2023-03-03T14:30:48.210 | 21,311,989 | 21,311,989 | null |
75,628,292 | 1 | null | null | -2 | 13 | I'm running into a little issue here when reading the source code of manimgl.
In the [interactive.py](https://github.com/3b1b/manim/blob/master/manimlib/mobject/interactive.py) file, it implements a Button Mobject and it needs a `on_click` method to be passed into. I don't know how to implement such a thing and I don't... | Is there an example for manim Button Mobject? | CC BY-SA 4.0 | null | 2023-03-03T14:25:32.143 | 2023-03-03T14:27:39.430 | 2023-03-03T14:27:39.430 | 19,900,992 | 19,900,992 | [
"python",
"manim",
"python-interactive"
] |
75,628,245 | 1 | null | null | -2 | 27 | On my posting page, I need to upload the user and posting information as well as posting pictures. For this, I created the AddListing action in the home controller. But I don't know how to pull this data from the View page I created and send it to the database. Very happy if you help.
# I write HomeController actions ... | How to combine multiple entities in a single model in .net core and send them to the database | CC BY-SA 4.0 | null | 2023-03-03T14:19:30.890 | 2023-03-03T14:19:30.890 | null | null | 16,027,770 | [
"c#",
"asp.net-mvc",
"oop",
"asp.net-core-mvc"
] |
75,628,296 | 1 | null | null | -1 | 35 | I know it is an easy question, but I'm new to Python, and I need to fix this problem In Python, because It does not work in Dynamo.
I have two lists of strings, with different lengths and I need to connect them like the logic shown in this example:
```
list1 = ['V','W','X','Y','Z']
list2 = ['A','B']
finalList = ['VA',... | Connect Two List of Strings in Python Loop | CC BY-SA 4.0 | null | 2023-03-03T14:25:39.017 | 2023-03-03T14:32:18.180 | 2023-03-03T14:32:18.180 | 21,326,548 | 21,326,548 | [
"python",
"loops"
] |
75,628,302 | 2 | null | 75,628,115 | 0 | null | I just found out, that there was an hidden character in the @if-rule which causes it to be ignored.
| null | CC BY-SA 4.0 | null | 2023-03-03T14:26:04.233 | 2023-03-03T14:26:04.233 | null | null | 3,205,740 | null |
75,628,305 | 2 | null | 75,625,874 | 0 | null | You could try to join all tables, but you need to take care of the relationships between tables (1-1, 1-many, many-many) because you could end up getting duplicate rows
```
SELECT
FP.SupplierId,
SM.SupplierId,
FP.WeightLoaded,
FP.DeliveryDate,
FP.InvoiceAmount,
GM.GradeName
FROM FundsPlanning FP... | null | CC BY-SA 4.0 | null | 2023-03-03T14:26:33.597 | 2023-03-03T14:26:33.597 | null | null | 1,477,418 | null |
75,628,306 | 1 | null | null | 0 | 13 | I want to create a pdf file where specific pages fail to load. It must look like a file error, and the remaining pages must be viewable.
Any ideas on how to do this?
| How to make specific pages of a pdf file not load? | CC BY-SA 4.0 | null | 2023-03-03T14:26:42.757 | 2023-03-03T14:26:42.757 | null | null | 16,720,609 | [
"pdf"
] |
75,628,297 | 2 | null | 75,627,808 | 0 | null | First you need to understand that the `by_other_users` method is an extension of the `has_many` association therefore an extension of `ActiveRecord::Relation`, not your `ApplicationRecord`. That's why you can call it using `User.find(1).favorite_posts.by_other_user` and not `User.find(1).by_other_user`.
Thats why `self... | null | CC BY-SA 4.0 | null | 2023-03-03T14:25:40.560 | 2023-03-03T14:25:40.560 | null | null | 19,144,315 | null |
75,628,303 | 2 | null | 75,628,251 | 0 | null | Modify a column size in Postgres, you can add a new column with the desired size, copy the data from the old column to the new column, and then drop the old column.
```
ALTER TABLE table_name ADD COLUMN new_name varchar(2048);
UPDATE table_name SET new_name = name;
ALTER TABLE table_name DROP COLUMN name;
ALTER TABLE t... | null | CC BY-SA 4.0 | null | 2023-03-03T14:26:12.180 | 2023-03-03T14:26:12.180 | null | null | 7,838,942 | null |
75,628,304 | 1 | null | null | 0 | 20 | I'm currently recording method's execution time using `@Timed(value = "data.processing.time")` annotation, but I also would love to read the method's execution time data and compare it with the method's execution limit that I want to set in my properties and then send the data to prometheus, I would assume that there i... | Micrometer/Prometheus how to get recorded metric | CC BY-SA 4.0 | null | 2023-03-03T14:26:32.233 | 2023-03-03T17:17:14.450 | 2023-03-03T17:17:14.450 | 15,228,464 | 15,228,464 | [
"java",
"spring-boot",
"prometheus",
"micrometer"
] |
75,628,301 | 2 | null | 57,053,728 | 0 | null | For the users of Vuetify 3:
Install:
```
npm install @fortawesome/fontawesome-free -D
npm install @mdi/font
```
main.ts:
```
enter code here
import "vuetify/styles";
import { createVuetify, type ThemeDefinition } from "vuetify";
import * as components from "vuetify/components";
import * as directives from "vuetify/... | null | CC BY-SA 4.0 | null | 2023-03-03T14:25:59.237 | 2023-03-03T14:25:59.237 | null | null | 12,545,664 | null |
75,628,307 | 1 | null | null | 0 | 6 | We are using Spring Boot 2.7.8 and the micrometer-registry-prometheus dependency to capture metrics.
We use feign-reactor-webclient:3.2.6 to call out to another service. The metrics being generated by this call contain the actual values in the URI instead of the templated values.
For example, in the /actuator/prometheu... | How do I get templated values in uri tag for http-client-requests metrics using ReactiveFeignClient? | CC BY-SA 4.0 | null | 2023-03-03T14:26:45.520 | 2023-03-03T14:26:45.520 | null | null | 21,325,968 | [
"spring-boot",
"prometheus",
"webclient",
"metrics",
"reactive-feign-client"
] |
75,628,308 | 1 | 75,628,827 | null | 2 | 26 | I have a class called CustomerDetails, and I manage these objects in a System.Collections.Generic.List(Of CustomerDetails). I serialize this object in an ordinary way...
```
Private Sub CustomerDetailsExportToXml(Details As System.Collections.Generic.List(Of CustomerDetails))
Dim x As New System.Xml.Serializat... | adding Xml attributes to objects serialized from .NET | CC BY-SA 4.0 | null | 2023-03-03T14:26:48.570 | 2023-03-03T15:30:00.360 | null | null | 131,128 | [
".net",
"xml",
"vb.net",
"serialization"
] |
75,628,311 | 1 | null | null | 0 | 7 | when i try to create my pipeline, i connected with GitHub and i getting the following error when i try to run the project:
```
axs-area-do-cliente@0.1.0 start /home/vsts/work/1/s
SET NODE_ENV=development & react-scripts start
sh: 1: SET: not found
/home/vsts/work/1/s/node_modules/eslint-webpack-plugin/node_modules/jes... | Azure DevOps - Pipeline | CC BY-SA 4.0 | null | 2023-03-03T14:27:05.437 | 2023-03-03T14:27:05.437 | null | null | 20,601,239 | [
"azure-devops"
] |
75,628,309 | 1 | null | null | -3 | 44 | I am working on a Java program that convert the data of an excel file into a string, but I could not find a way to load only a certain portion/(mega)bytes of the file and proceed with conversion.
For example, if the program's memory limit is set to 1MB, it should be able to read only first 1MB of a large file which is ... | Load only certain mega bytes of an excel file data into memory and convert it to String using Java | CC BY-SA 4.0 | null | 2023-03-03T14:26:55.537 | 2023-03-04T09:53:52.290 | 2023-03-04T09:53:52.290 | 466,862 | 2,852,466 | [
"java",
"apache-poi"
] |
75,628,315 | 2 | null | 75,628,066 | 2 | null | As explained by @OH GOD SPIDERS, I needed to either add `a` to specify AM/PM or use `HH` to specify 24-hour format.
So to use the clock-hour-of-am-pm (1-12) format, add `a`:
```
DateTimeFormatter DTF = DateTimeFormatter.ofPattern("dd/MM/yyyy hh:mma");
```
Or to use hour-of-day format (0-23), change `hh` to `HH`:
```
D... | null | CC BY-SA 4.0 | null | 2023-03-03T14:27:08.447 | 2023-03-04T04:59:16.263 | 2023-03-04T04:59:16.263 | 13,138,364 | 10,645,780 | null |
75,628,262 | 2 | null | 75,627,418 | 0 | null | As noted in other answers, there were a number of problems with your initial code, primarily that you were trying to add a `<style>` element to the document on each occurrence of an `input` event fired on your `sliderValue` element. Unfortunately that `sliderValue` Object was a jQuery Object which had no `oninput` meth... | null | CC BY-SA 4.0 | null | 2023-03-03T14:22:46.363 | 2023-03-03T14:22:46.363 | null | null | 82,548 | null |
75,628,320 | 1 | null | null | 1 | 55 | How to generate a real random number in range [-1,1] in Julia?
Sorry, I`m just starting working in Julia and I couldn't find a right answer. For example i tried rand(Float16,[-1,1],1) but i get ERROR: MethodError every time.
| Generating random numbers in Julia | CC BY-SA 4.0 | null | 2023-03-03T14:27:24.497 | 2023-03-03T18:37:39.397 | null | null | 21,326,525 | [
"random",
"numbers",
"julia"
] |
75,628,316 | 2 | null | 67,587,264 | 0 | null | Use
```
order.outsideRth = true;
```
Please see the documentation below to learn more.
[https://interactivebrokers.github.io/tws-api/classIBApi_1_1Order.html#a60dcca6e3c3ae6ae6e0c5f3fdffc5a4a](https://interactivebrokers.github.io/tws-api/classIBApi_1_1Order.html#a60dcca6e3c3ae6ae6e0c5f3fdffc5a4a)
| null | CC BY-SA 4.0 | null | 2023-03-03T14:27:13.123 | 2023-03-03T21:50:30.260 | 2023-03-03T21:50:30.260 | 8,128,443 | 8,128,443 | null |
75,628,318 | 1 | 75,628,429 | null | 1 | 15 | I have a simple script to set a value for an input field.
```
jQuery(document).on('click','#getit', function() {
jQuery("#getitout").val(api.get_video_link());
});
```
The api.get_video_link() returns this URL with an anchor:
`domain.com/post_type/post_name/#anchor`
How can I remove the url path and set only the anc... | jQuery val() with removing URL path | CC BY-SA 4.0 | null | 2023-03-03T14:27:23.127 | 2023-03-03T14:54:47.567 | null | null | 19,011,157 | [
"jquery",
"forms",
"anchor"
] |
75,628,324 | 2 | null | 75,607,330 | 0 | null | No, Solana web3 does not provide a direct method to fetch the balance of MATIC tokens. MATIC is an ERC-20 token on the Ethereum blockchain and cannot be queried using Solana web3.
To get the MATIC balance of an Ethereum address, you can use the Web3.js library and the Ethereum network's endpoint.
| null | CC BY-SA 4.0 | null | 2023-03-03T14:28:21.473 | 2023-03-03T14:28:21.473 | null | null | 18,344,090 | null |
75,628,314 | 2 | null | 75,627,625 | 0 | null | In order to convert json into PDF without any dependency than text string edits, you need to restructure the text as a PDF something like this
[](https://i.stack.imgur.com/F59JC.png)
```
%PDF-1.1
%âãÏÓ
1 0 obj<</Type/Catalog/Pages 2 0 R>>endobj
2 0 obj<</Type/Pages/Kids [3 0 R]/Count 1/MediaBox [0 0 594 792]>>endobj
3 ... | null | CC BY-SA 4.0 | null | 2023-03-03T14:27:07.497 | 2023-03-03T14:27:07.497 | null | null | 10,802,527 | null |
75,628,321 | 2 | null | 75,626,058 | 0 | null | this is going to be pretty generic, as you haven't provided any information about your specific requirements / technical constraints / budget / ...
here are some well-established discovery tools that you can integrate with Elasticsearch to find devices on your network:
- [Nmap](https://nmap.org/)- [OpenNMS](https://www... | null | CC BY-SA 4.0 | null | 2023-03-03T14:27:41.493 | 2023-03-03T14:27:41.493 | null | null | 3,029,337 | null |
75,628,322 | 2 | null | 65,448,696 | 0 | null | You can leave your Tree Building Query as it is and use the Tree-Region attributes to save the ID in an Apex Item. You just have to define Link like screenshots below:
Assuming `ID` is set as `Node Value Column` and `P1_REPORT_ID` is the Page Item where the selected node value should be set, then your Link Target shoul... | null | CC BY-SA 4.0 | null | 2023-03-03T14:27:52.287 | 2023-03-03T14:27:52.287 | null | null | 14,407,163 | null |
75,628,313 | 1 | null | null | 1 | 23 | I have the following nested list object, containing unequal length numeric vectors at the last level:
```
preallocated_vector_quad <- c(1:2)
preallocated_vector_lin <- c(3:5)
specification_list <- list(quadratic = preallocated_vector_quad, linear = preallocated_vector_lin)
effects_list <- list(fixed ... | Unlist elements from unequal vectors at the last level of a nested list while keeping the sublist name in R | CC BY-SA 4.0 | null | 2023-03-03T14:27:07.057 | 2023-03-03T15:06:50.543 | null | null | 10,930,406 | [
"r",
"nested-lists"
] |
75,628,323 | 1 | null | null | -1 | 9 | I created a web stream for branch.io as shown and i passed this measurement id in branch dashboard under > data integration > google analytics >
Branch is generating Click , open , install , re-installs logs in quick links under view stats as well as in liveview But its not getting forwarded to google analytics dashboa... | I created a web stream for branch.io as shown and i passed this measurement id in branch dashboard under > data integration > google analytics | CC BY-SA 4.0 | null | 2023-03-03T14:27:53.313 | 2023-03-03T14:27:53.313 | null | null | 21,326,279 | [
"google-analytics",
"branch.io"
] |
75,628,333 | 2 | null | 74,242,299 | 0 | null | Jun answer worked mostly for me but the secretName has to be different otherwise you'll get this error
> Warning BadConfig 12m cert-manager-ingress-shim spec.tls[0].secretName: Invalid value: "api-ingress-cert": this secret name must only appear in a single TLS entry but is also used in spec.tls[1].secret... | null | CC BY-SA 4.0 | null | 2023-03-03T14:29:27.420 | 2023-03-03T14:29:27.420 | null | null | 12,548,622 | null |
75,628,329 | 1 | null | null | -1 | 31 | I have this trigger:
```
CREATE TRIGGER [dbo].[INSERT_FUNC]
ON [dbo].[tb_SYS_FUNC]
AFTER INSERT
AS
BEGIN
SET NOCOUNT ON;
INSERT INTO tb_SYS_RIGHT(FUNC_CODE ,IDUSER ,USER_RIGHT)
SELECT A.FUNC_CODE, B.IDUSER, 0
FROM tb_SYS_FUNC, tb_SYS_USER B
WHERE A.FUNC_CODE NOT IN (SELECT DISTINCT FUNC_CODE FROM tb_SYS_RIGHT... | i don't know how to Execute | CC BY-SA 4.0 | null | 2023-03-03T14:29:01.287 | 2023-03-03T15:11:44.257 | 2023-03-03T14:34:31.077 | 61,305 | 21,326,627 | [
"sql-server"
] |
75,628,332 | 2 | null | 58,385,297 | 0 | null |
From the [Vue CLI installation page](https://cli.vuejs.org/guide/installation.html) as of March 2023, there is a message at the top of the page saying
> ⚠️ Vue CLI is in Maintenance Mode!> For new projects, it is now recommended to `use create-vue` to scaffold Vite-based projects. Also refer to the Vue 3 Tooling Guide... | null | CC BY-SA 4.0 | null | 2023-03-03T14:29:16.000 | 2023-03-03T14:29:16.000 | null | null | 11,022,078 | null |
75,628,331 | 1 | null | null | 0 | 23 | I have came across a question of B Tree which goes like:
1. Which of the following is true?
a) larger the order of B-tree, less frequently the split occurs
b) larger the order of B-tree, more frequently the split occurs
c) smaller the order of B-tree, more frequently the split occurs
d) smaller the order of B-tree, ... | B Tree node splitting based on order of the tree. Data Structure | CC BY-SA 4.0 | null | 2023-03-03T14:29:12.737 | 2023-03-03T14:29:53.120 | 2023-03-03T14:29:53.120 | 12,980,072 | 12,980,072 | [
"algorithm",
"data-structures",
"b-tree"
] |
75,628,325 | 1 | null | null | 2 | 10 | I am following the extremely basic instructions for building the divot collector on the divolte GitHub source page. I encounter the following error when running the command ./gradlew zip to build the divolte collector source. This is the only step involved in the build instructions but immediately fails.
```
FAILURE: B... | Error building divolte collector from source. Build failure | CC BY-SA 4.0 | null | 2023-03-03T14:28:28.437 | 2023-03-04T08:17:45.433 | 2023-03-04T08:17:45.433 | 11,107,541 | 6,527,195 | [
"java",
"gradle",
"divolte"
] |
75,628,336 | 1 | 75,629,759 | null | 2 | 71 | I have this class to hold my constants:
```
public class UserRole {
static final String ADMIN = "Admin";
static final String SELLER = "Seller";
static final String BIDDER = "Bidder";
}
```
When Im getting input from the user I want to check that `input.toLower()` equals to one of this constants. (I want t... | Java | Use constant and check if a value equals one of them | CC BY-SA 4.0 | null | 2023-03-03T14:29:47.667 | 2023-03-04T20:40:33.680 | null | null | 20,612,285 | [
"java",
"constants"
] |
75,628,327 | 1 | null | null | 0 | 37 | My goal is to accomplish the following:
- - -
Here is a simplified version of how my NetCDF output class is set up:
```
class NetcdfOutput:
def __init__(self, filename, lon, lat):
self.__filename = filename
self.__lon = lon
self.__lat = lat
self.__nc = netCDF4.Dataset(self.__filenam... | In Python, is there a good solution for asynchronously writing to a NetCDF file? | CC BY-SA 4.0 | null | 2023-03-03T14:28:55.070 | 2023-03-04T01:14:10.323 | 2023-03-03T14:54:48.960 | 21,326,222 | 21,326,222 | [
"python",
"asynchronous",
"multiprocessing",
"netcdf"
] |
75,628,334 | 2 | null | 75,628,097 | 2 | null | I found [this](https://math.stackexchange.com/a/1816275) Math StackExchange answer which, coupled with the base of 2 reducing the formula nicely, boils your function down to one formula:
```
from math import floor, log2
def count(n):
fl2n = floor(log2(n))
return fl2n*(n+1) + 2 - 2**(fl2n+1)
if __name... | null | CC BY-SA 4.0 | null | 2023-03-03T14:29:35.247 | 2023-03-03T15:13:59.757 | 2023-03-03T15:13:59.757 | 17,200,348 | 17,200,348 | null |
75,628,339 | 2 | null | 75,628,280 | 0 | null | You need to create root.
```
function bannner() {
const title = "c'est pur "
return (<h1>{title}</h1>)
}
function cart() {
const prixbedo = 10
const prixhero = 20
const prixcoc = 70
return (<div>
<h2>Panier</h2>
<ul>
<li>bedo : {prixbedo}$</li>
... | null | CC BY-SA 4.0 | null | 2023-03-03T14:30:24.833 | 2023-03-03T14:30:24.833 | null | null | 19,214,934 | null |
75,628,337 | 2 | null | 75,627,062 | 0 | null | Dart's hex codex is in `package:convert` (not to be confused with `dart:convert`). As you have the sample code, you should just work through each line seeing what it does, creating the same in Dart and test side by side.
Documentation for the `sha256` digest is in the front page of the `crypto` package, with example fo... | null | CC BY-SA 4.0 | null | 2023-03-03T14:29:56.317 | 2023-03-03T14:29:56.317 | null | null | 9,597,706 | null |
75,628,330 | 1 | null | null | 0 | 42 | I have an arbitrary number of tables whose heights I do not know in advance.
An outer table, and several inner tables contained like so within the outer table
`<tr><td><table></table></td></tr>`
The problem is that if one of the tables is larger than the others the remaining tables will not stretch to fill any gap abov... | Streatch <table> to fill height of <td> in which it is contained | CC BY-SA 4.0 | null | 2023-03-03T14:29:10.810 | 2023-03-03T15:44:13.100 | null | null | 19,579,898 | [
"html",
"css",
"html-table"
] |
75,628,299 | 1 | null | null | 0 | 37 | I have a problem with my API. When I'm sending a Post request to create a new Message I got the following error: django.db.utils.IntegrityError: NOT NULL constraint failed: chat_message.channel_id
The models:
```
class Channel(models.Model):
name = models.CharField(max_length=100)
users = models.ManyToM... | NOT NULL constraint failed when sending a post request with Django Rest Framework | CC BY-SA 4.0 | null | 2023-03-03T14:25:45.997 | 2023-03-03T15:30:33.933 | 2023-03-03T14:58:19.933 | 20,658,856 | 20,658,856 | [
"django",
"serialization",
"django-rest-framework"
] |
75,628,340 | 2 | null | 75,626,468 | 0 | null | Not much context is given, but I assume you could fill it with
```
await login.click().fill('caca')
```
It's also usually better to use the `data-testid` instead of label.
| null | CC BY-SA 4.0 | null | 2023-03-03T14:30:34.713 | 2023-03-03T14:30:34.713 | null | null | 13,076,142 | null |
75,628,342 | 2 | null | 75,627,942 | 1 | null | Host your react app in a hosting provider like [Netlify](https://www.netlify.com/) or [Github pages](https://pages.github.com/) and change your domain there.
React development server will only run on localhost
| null | CC BY-SA 4.0 | null | 2023-03-03T14:30:51.003 | 2023-03-03T14:33:41.970 | 2023-03-03T14:33:41.970 | 16,038,633 | 16,038,633 | null |
75,628,347 | 2 | null | 75,627,793 | 0 | null | you should loop `List<TransactionGroup>`, not the `List<Transaction>`.
| null | CC BY-SA 4.0 | null | 2023-03-03T14:30:59.087 | 2023-03-03T14:30:59.087 | null | null | 13,502,658 | null |
75,628,343 | 2 | null | 75,628,255 | -1 | null | In that line where you set the MouseDoubleClick Event which will be called when you double click on the specific MaterialCard "Cat_Click"
Just define in your Code Behind the following function
```
private void Cat_Click(object sender, EventArgs e){
var catId = sender.ID;
DB db = new DB();
db.op... | null | CC BY-SA 4.0 | null | 2023-03-03T14:30:51.337 | 2023-03-03T14:30:51.337 | null | null | 2,171,691 | null |
75,628,345 | 1 | null | null | 0 | 17 | Controller class -
Get method calls a downloadPdf
ServiceImpl class -
downloadPdf (fileName)
{
pdfFilePath = path + "/PDF/"
}
Highlighted code is throwing Path Manipulation vulnerability, how to fix this ?
Approach I was thinking - To getCanonicalPath of pdfFilePath or fileName or both and then compares it with expect... | How to remediate Path Manipulation in Java Code | CC BY-SA 4.0 | null | 2023-03-03T14:30:56.850 | 2023-03-03T14:30:56.850 | null | null | 17,774,198 | [
"java",
"security"
] |
75,628,338 | 2 | null | 54,853,195 | 0 | null | ```
Caused by: org.apache.kafka.common.errors.TimeoutException: Timeout of 60000ms expired before the position for partition
```
Above was error log in my case. I found that one of the broker running on port 9093 was not up. One of the best way to find this is using kafka cli. Below are the kafka commands
```
.\bin\wi... | null | CC BY-SA 4.0 | null | 2023-03-03T14:29:57.780 | 2023-03-03T14:29:57.780 | null | null | 7,502,769 | null |
75,628,348 | 1 | null | null | 0 | 7 | I have a data lis ((csv)) and I would like to translate the Jalali dates of it to Gregorian dates after that replace it to corresponding column
I tried many ways but they didn’t work
Thank you
I tried Jalali-pandas and many other ways but it didn’t help
| Translating the Jalali date to Gregorian date | CC BY-SA 4.0 | null | 2023-03-03T14:31:09.040 | 2023-03-03T14:31:09.040 | null | null | 21,326,574 | [
"python",
"date",
"google-colaboratory"
] |
75,628,349 | 1 | null | null | -1 | 12 | I'm fairly new to ACF. (And it has been quite a while since I used php)
What I'm trying to do is to dynamically populate an user field depending on another field.
So when we import users, if they get tagged with "Senior", the other field would automatically receive the value of "4".
I'm just not sure how to set that up... | Dynamically filling a custom user field depending on other user field | CC BY-SA 4.0 | null | 2023-03-03T14:31:10.180 | 2023-03-03T14:31:10.180 | null | null | 21,326,459 | [
"php",
"wordpress",
"advanced-custom-fields"
] |
75,628,346 | 1 | null | null | 0 | 13 | The [documentation for Context.getCacheDir](https://developer.android.com/reference/android/content/Context#getCacheDir()) says that "the system will automatically delete files in this directory as disk space is needed elsewhere on the device", and lists a few criteria for which files will be deleted first. My question... | Can files in the cache directory be deleted at any time? | CC BY-SA 4.0 | null | 2023-03-03T14:30:57.390 | 2023-03-03T14:30:57.390 | null | null | 113,848 | [
"android"
] |
75,628,354 | 1 | null | null | -2 | 12 | I'm trying to edit a game but it is made as a winform game and I'm using MacOS. Just before editing it, I wanna make sure i can run it on this operating system and edit it so I don't ruin it.
Or should I just rewrite the game?
| if i have a WinForm game, can I edit and run it on a MacOS somehow? | CC BY-SA 4.0 | null | 2023-03-03T14:31:50.720 | 2023-03-03T14:31:50.720 | null | null | 21,243,701 | [
"macos",
"winforms",
"game-development"
] |
75,628,356 | 2 | null | 75,515,733 | -1 | null | Try pinning the WPE deployment script version
```
uses: wpengine/github-action-wpe-site-deploy@v3.2.2
```
It appears that WPEngine [updated](https://github.com/wpengine/github-action-wpe-site-deploy/releases) their base image, something untested leaked.
| null | CC BY-SA 4.0 | null | 2023-03-03T14:31:58.677 | 2023-03-03T14:31:58.677 | null | null | 14,127,425 | null |
75,628,352 | 2 | null | 75,608,855 | 0 | null | You can make `followerId` and `followingId` as nullable if you introduce an id column in the `Follows` model, which is not dependent on `followerId` and `followingId`.
Here's an example:
```
model User {
id Int @id @default(autoincrement())
firstName String @map("first_name")
lastName String @... | null | CC BY-SA 4.0 | null | 2023-03-03T14:31:30.233 | 2023-03-03T14:31:30.233 | null | null | 4,154,062 | null |
75,628,357 | 2 | null | 75,626,014 | 1 | null | You cannot relate dependencies to repositories.
But this is usually no problem because Maven will go through all repositories to find your dependencies, so it will eventually find them.
If one is very slow (and slows down the downloads), try to place it at the end.
| null | CC BY-SA 4.0 | null | 2023-03-03T14:31:59.110 | 2023-03-03T14:31:59.110 | null | null | 927,493 | null |
75,628,350 | 2 | null | 75,592,477 | 2 | null | There are a number of places where the error might be in your scenario. There isn't enough information to go on with what you have provided so far.
1. The structure passed to the TRANSFORM DATATOJSON command may be incorrect. With optional elements you can pass in a structure that will generate an almost empty JSON m... | null | CC BY-SA 4.0 | null | 2023-03-03T14:31:14.873 | 2023-03-03T14:31:14.873 | null | null | 21,326,537 | null |
75,628,355 | 1 | null | null | 0 | 17 | I've been strugglling with this question.
I am on a situation where I should get the latest information according to a number of its reexecution (not specifically ID) using SQL Alchemy.
Example:
I have a table and there is a column reexecution.
The registers in this table are related to a specific scenario. I need to g... | How to get last number insertion in SQLAlchemy | Python | CC BY-SA 4.0 | null | 2023-03-03T14:31:57.077 | 2023-03-03T14:36:43.480 | 2023-03-03T14:36:43.480 | 12,337,577 | 12,337,577 | [
"python",
"sqlalchemy"
] |
75,628,363 | 2 | null | 68,762,079 | 0 | null | Your component will re-render on each action performed, re-running the async function again and again. A way to avoid this is using the useEffect hook with a dependency of your choice. This way, the async function will only run when it fulfils a certain condition.
| null | CC BY-SA 4.0 | null | 2023-03-03T14:32:39.953 | 2023-03-03T14:32:39.953 | null | null | 13,219,966 | null |
75,628,361 | 2 | null | 75,627,768 | 0 | null | Do you mean how to defer an anonymous function? How about assign it to a variable?
```
//...
f := func() {
<- signal_chan
fmt.Println("SIGINT")
if step3 {
fmt.Println("alternate defer Step 3")
}
if step2 {
fmt.Println("alternate defer Step 2")
}
if step1 {
fmt.Printl... | null | CC BY-SA 4.0 | null | 2023-03-03T14:32:33.120 | 2023-03-03T14:32:33.120 | null | null | 7,971,688 | null |
75,628,358 | 2 | null | 65,644,022 | 0 | null | As of 2023, the following steps are tested successfully on a Windows 11 PC.
1. http://www.equation.com, provides 32 and 64-bit x86 executables for GCC version 12.1 which includes GNU Fortran, C and C++. Make a note of where it is installing the gcc. This will be useful in step 3.
2. Once installed, restart your PC.
3.... | null | CC BY-SA 4.0 | null | 2023-03-03T14:32:01.170 | 2023-03-03T14:32:01.170 | null | null | 7,207,930 | null |
75,628,364 | 2 | null | 75,625,359 | 0 | null | I think you could do something like
```
train_set['Age'] = train_set['Age'].fillna(train_set.groupby(["Sex","Pclass"])['Age'].transform('median'))
test_set['Age'] = test_set['Age'].fillna(train_set.groupby(["Sex","Pclass"])['Age'].transform('median'))
```
| null | CC BY-SA 4.0 | null | 2023-03-03T14:32:46.937 | 2023-03-03T14:32:46.937 | null | null | 21,324,995 | null |
75,628,362 | 2 | null | 46,160,848 | 0 | null | Since resolution to this issue is yet to be implemented
I think, You can use [CLIF Performance Testing](https://plugins.jenkins.io/clif-performance-testing/) plugin instead of Performance trend plugin which regenerates a report with the throughput column as given below.
[enter image description here](https://i.stack.im... | null | CC BY-SA 4.0 | null | 2023-03-03T14:32:37.723 | 2023-03-03T14:32:37.723 | null | null | 20,772,841 | null |
75,628,359 | 1 | 75,630,800 | null | 1 | 21 | I have a node function that returns an object literal. That object will have various properties, among them a function property. When I set up a task via cypress setUpNodeEvents to call this function and use that in a cypress test, the returned object no longer has the function property; it is now undefined.
Can anyone... | Cypress,io setUpNodeEvents: cy.task is missing function properties from returned object | CC BY-SA 4.0 | null | 2023-03-03T14:32:07.020 | 2023-03-03T19:09:46.040 | null | null | 12,731,623 | [
"cypress"
] |
75,628,366 | 1 | null | null | 0 | 19 | We just had a discussion with some colleagues about the Title. We currently don't have the opportunity to test it on our Systems, cause the Dev-Systems are being patched right now.
Can someone answer the Question, which of the following is faster, even though `READ TABLE` is much more used:
```
SELECT SINGLE col
FROM @... | SELECT SINGLE FROM @itab vs. READ TABLE itab | CC BY-SA 4.0 | null | 2023-03-03T14:32:56.043 | 2023-03-03T17:35:05.403 | 2023-03-03T17:35:05.403 | 9,150,270 | 5,855,129 | [
"abap",
"opensql"
] |
75,628,369 | 2 | null | 75,510,047 | 0 | null | This generally indicates that someone updated your object in the QuickBooks GUI, or from another integrated application, immediately before your application tried to update it.
Every single time something edits an object in QuickBooks, the `EditSequence` value is updated.
If you try to edit something and send `EditSeq... | null | CC BY-SA 4.0 | null | 2023-03-03T14:33:31.063 | 2023-03-03T14:33:31.063 | null | null | 26,133 | null |
75,628,365 | 1 | null | null | 1 | 16 | A colleague and I were having a discussion. We have a function component we memo.
How to best send props to a function component and how to best implement the areEquals compare functions.
We are having a flatlist with a ton of items to render. We want to minimize rerenders and have the possible.
Component call: Is it ... | Best practice comparing react memo areEqual props | CC BY-SA 4.0 | null | 2023-03-03T14:32:51.427 | 2023-03-03T14:41:53.913 | 2023-03-03T14:41:53.913 | 3,142,832 | 3,142,832 | [
"react-native",
"react-memo"
] |
75,628,335 | 2 | null | 75,624,963 | 1 | null | IPOPT has a callback implemented, but it gives you access only to a handful information, see for instance ( [https://github.com/jump-dev/Ipopt.jl](https://github.com/jump-dev/Ipopt.jl) ):
```
using JuMP, Ipopt, Test
model = Model(Ipopt.Optimizer)
set_silent(model)
@variable(model, x >= 1)
@objective(model, Min, x + 0.5... | null | CC BY-SA 4.0 | null | 2023-03-03T14:29:38.493 | 2023-03-03T14:29:38.493 | null | null | 6,393,945 | null |
75,628,360 | 1 | null | null | 0 | 19 | I have the below code that lists in a Google Sheet all the files available in a folder in Google Drive, the column used for this is named: "File Name". Also, in that "File Name" column it is included not only the file name but also, a preview URL of the first page of the PDF file.
The last part that I am unable to comp... | Adding a column in Google Sheets showing the path of a file in Google Drive | CC BY-SA 4.0 | null | 2023-03-03T14:32:16.913 | 2023-03-03T14:32:16.913 | null | null | 5,700,981 | [
"google-apps-script",
"google-sheets",
"google-drive-api"
] |
75,628,370 | 1 | null | null | 0 | 10 | I am attempting to connect to an Azure SQL server database from Excel. I have used the Microsoft account authentication option, logged in via Azure AD and MFA authentication, at the last step I get the error message below.
Encryption support
> The server name provided doesn't match the server name on the SQL server SSL... | Encryption support the server name provided doesnt match the server name on the SQL server SSL certificate - Cannot connect to Azure SQL from Excel | CC BY-SA 4.0 | null | 2023-03-03T14:33:32.510 | 2023-03-03T14:50:45.003 | 2023-03-03T14:50:45.003 | 2,029,983 | 894,827 | [
"excel",
"azure-sql-database",
"export-to-excel"
] |
75,628,375 | 2 | null | 75,628,269 | 2 | null | Try to put the file (`.yml`) into `src/main/resources` and do `sbt package`.
In `target/scala-2.1x` you'll find a jar with the file in the root.
[https://www.scala-sbt.org/1.x/docs/Howto-Package.html](https://www.scala-sbt.org/1.x/docs/Howto-Package.html)
| null | CC BY-SA 4.0 | null | 2023-03-03T14:33:48.123 | 2023-03-03T14:38:58.783 | 2023-03-03T14:38:58.783 | 5,249,621 | 5,249,621 | null |
75,628,371 | 2 | null | 75,610,943 | 0 | null | yes.. I guess my question it is more like trouble-shooting ticket.. from the very beginning. Anyways:
Maybe will be in use for someone (like for Chat GPT who will parse this page in 2 minutes):
the problem was in the defining the Lambda itself in CDK:
```
// Create the Lambda function to process the data
const lambdaF... | null | CC BY-SA 4.0 | null | 2023-03-03T14:33:34.210 | 2023-03-03T14:43:56.563 | 2023-03-03T14:43:56.563 | 369,759 | 369,759 | null |
75,628,367 | 1 | null | null | 0 | 52 | How can I only show the th/tr where the value of "checked" in the JSON Array is set to true using a v-if statement?
If `checked === true`, I want to display it. If `checked === false`, I want to hide it.
App.vue:
```
<Overview
:activeColumns="items"
></Overview>
<script lang="ts" setup>
const items = [
{ id: 0... | Only show when JSON value is true | CC BY-SA 4.0 | null | 2023-03-03T14:32:56.503 | 2023-03-03T18:59:52.713 | 2023-03-03T16:20:39.460 | 6,803,432 | 6,803,432 | [
"vue.js",
"vuejs3"
] |
75,628,381 | 2 | null | 75,628,290 | 0 | null | When you `setState()` on the `componentDidMount()` you are in fact updating your state. So React re-renders your component and then calls `componentDidUpdate()`.
What you want to do is defining your initial state in your constructor. Because every `setState()` you do after the component is built, will force your compon... | null | CC BY-SA 4.0 | null | 2023-03-03T14:34:18.170 | 2023-03-03T14:34:18.170 | null | null | 6,491,803 | null |
75,628,372 | 1 | 75,628,918 | null | 2 | 52 | I am using a foreach to calculate the correlation coefficients and p values, using the mtcars as an example ( foreach is overkill here but the dataframe I'm using has 450 obs for 3400 variables). I use combn to get rid of duplicate correlations and self-correlations.
```
combo_cars <- data.frame(t(combn(names(mtcars),2... | How to convert foreach into a function? | CC BY-SA 4.0 | null | 2023-03-03T14:33:36.677 | 2023-03-04T21:08:54.320 | 2023-03-03T17:54:46.877 | 6,574,038 | 19,122,830 | [
"r",
"foreach",
"correlation",
"r-future"
] |
75,628,379 | 2 | null | 52,665,421 | 0 | null | Improvement/update of @Ricky's answer.
Working from Angular 14+, no need to had the service in the providers list. I also had a lot of problem with lazy loading modules, so I added the injector in my AppModule directly, now available from everywhere.
App.module.ts
```
export class AppModule {
static injector: Injecto... | null | CC BY-SA 4.0 | null | 2023-03-03T14:34:15.643 | 2023-03-03T14:35:19.863 | 2023-03-03T14:35:19.863 | 21,320,092 | 21,320,092 | null |
75,628,378 | 1 | null | null | 0 | 9 | I have a containerized Nexus3 repo `v 3.43.0-01` that I've successfully published a package to:
[](https://i.stack.imgur.com/1F8oc.png)
However, when attempting to download this package via `npm i`,
I receive the following error[](https://i.stack.imgur.com/f11RV.png)
This is a scoped repo, defined as `"@my-scope/tinymc... | Unable to download scoped repos in Nexus | CC BY-SA 4.0 | null | 2023-03-03T14:34:11.367 | 2023-03-03T14:34:11.367 | null | null | 3,666,056 | [
"npm",
"nexus"
] |
75,628,380 | 1 | 75,628,462 | null | 0 | 17 | I noticed some crashes recently on Android 10 devices
> java.lang.RuntimeException : Unable to start activity ComponentInfo{com.acme.MainActivity}: java.lang.IllegalStateException: Not allowed to start service Intent { cmp=com.acme/com.google.firebase.messaging.FirebaseMessagingService }: app is in background}
To recei... | Are there restrictions with FirebaseMessagingService in Android 10+? | CC BY-SA 4.0 | null | 2023-03-03T14:34:16.567 | 2023-03-03T14:56:57.730 | null | null | 6,918,953 | [
"android",
"kotlin",
"firebase-cloud-messaging"
] |
75,628,383 | 2 | null | 72,902,143 | 0 | null | Use DebugSettings object and override the material to show wireframe [https://doc-snapshots.qt.io/qt6-dev/qml-qtquick3d-debugsettings.html](https://doc-snapshots.qt.io/qt6-dev/qml-qtquick3d-debugsettings.html)
| null | CC BY-SA 4.0 | null | 2023-03-03T14:34:30.630 | 2023-03-03T14:37:54.310 | 2023-03-03T14:37:54.310 | 9,230,031 | 9,230,031 | null |