Id int64 4 8.51M | PostTypeId int64 1 7 | AcceptedAnswerId int64 7 75.5M ⌀ | ParentId int64 4 41.8M ⌀ | Score int64 -208 27.7k | ViewCount int64 11 12.4M ⌀ | Body stringlengths 0 45k | Title stringlengths 2 150 ⌀ | ContentLicense stringclasses 3
values | FavoriteCount int64 0 225 ⌀ | CreationDate stringdate 2008-07-31 21:42:52 2011-12-14 18:48:47 | LastActivityDate stringdate 2008-08-01 12:19:17 2023-03-05 04:40:26 | LastEditDate stringdate 2008-08-01 13:54:25 2023-03-05 03:12:45 ⌀ | LastEditorUserId int64 -1 21.3M ⌀ | OwnerUserId int64 -1 21.1M ⌀ | Tags listlengths 1 6 ⌀ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
75,619,588 | 1 | null | null | 0 | 20 | I have a build pipeline for my project setup on azure.
This project has 2 branches: master and iis.
I also have 2 different pipeline yaml files for these branches.
For master branch, I want it build with yaml1. For iis branch, it needs to grab yaml2.
Most of the parts inside these yamls file are the same, except the po... | How to define different yaml for different branch in azure pipeline? | CC BY-SA 4.0 | null | 2023-03-02T18:38:26.123 | 2023-03-03T19:06:41.657 | null | null | 2,383,193 | [
"azure-devops",
"azure-pipelines-yaml"
] |
75,619,594 | 2 | null | 75,619,241 | 0 | null | If you only want to view 5 elements out of the array try this:
```
struct SwipeView: View {
@State var swipeStackThemes: [ThemedlistStock]
let block = 5 // Number of viewd elements
var body: some View {
VStack{
ZStack(alignment: .top){
Fo... | null | CC BY-SA 4.0 | null | 2023-03-02T18:38:45.717 | 2023-03-02T19:50:22.290 | 2023-03-02T19:50:22.290 | 19,880,377 | 19,880,377 | null |
75,619,596 | 2 | null | 75,548,872 | 0 | null | if you get this "is not a valid or useable ActorSystem Admin" error that means it is not able to start the "admin" actor at well-known port 1900. This "admin" actor coordinates the activities of the actors on this system, and also handle connections between local actors and actors on other systems.
You might try somet... | null | CC BY-SA 4.0 | null | 2023-03-02T18:38:54.713 | 2023-03-02T18:38:54.713 | null | null | 965,780 | null |
75,619,595 | 2 | null | 68,738,407 | 0 | null | Restoring data would be correct and simple to do if you are talking about something like a user, in which you can validate the identity with a password or some other authentication method. But if it is another table where you cannot be sure about the true identity, then the best approach would be to create a new entry.... | null | CC BY-SA 4.0 | null | 2023-03-02T18:38:46.047 | 2023-03-04T00:39:50.467 | 2023-03-04T00:39:50.467 | 15,104,639 | 15,104,639 | null |
75,619,600 | 2 | null | 3,408,805 | 0 | null | Setting the `"async"` attribute can be done with:
```
element.setAttribute("async","")
element.setAttribute("async","anystring")
```
see: [https://developer.mozilla.org/en-US/docs/Web/API/Element/setAttribute#examples](https://developer.mozilla.org/en-US/docs/Web/API/Element/setAttribute#examples)
Removing the `"async... | null | CC BY-SA 4.0 | null | 2023-03-02T18:39:09.580 | 2023-03-02T18:39:50.023 | 2023-03-02T18:39:50.023 | 14,774,006 | 14,774,006 | null |
75,619,599 | 1 | null | null | 0 | 21 | ```
interface MsgEvent {
readonly data: any; // 1 to 1 copy from MessageEvent<any>
}
interface MsgPort {
postMessage: (message: any) => void; // 1 to 1 copy from MessagePort
onmessage: ((ev: MsgEvent) => any) | null; // 1 to 1 copy from MessagePort
}
class Sup<X extends MsgPort> {
}
class C... | Typescript: Requiring matched type | CC BY-SA 4.0 | null | 2023-03-02T18:39:05.903 | 2023-03-02T18:44:18.030 | 2023-03-02T18:44:18.030 | 19,666,746 | 19,666,746 | [
"typescript"
] |
75,619,604 | 2 | null | 75,619,297 | 1 | null |
Dropdown component doesnt have searchable feature. You'll need create searchable dropdown component by combining `input` and `divs` using Javascript.
Consider the dropdown in Tenor,
https://tenor.com/
They have used combination of `div`, `anchor`,`span` and `input` to achieve the necessary result using JS.
[](https:... | null | CC BY-SA 4.0 | null | 2023-03-02T18:39:37.633 | 2023-03-02T18:39:37.633 | null | null | 16,576,319 | null |
75,619,593 | 2 | null | 68,000,871 | 0 | null | Also, check to see if your kublet is being started with the --rotate-certificates=true and the --rotate-server-certificates=true flags.
I checked this on the nodes in my cluster, and they were not set, and the kubelets on my nodes were still using one of the older certificates, rather than the one that kubeadm created ... | null | CC BY-SA 4.0 | null | 2023-03-02T18:38:44.303 | 2023-03-02T18:38:44.303 | null | null | 7,539,092 | null |
75,619,602 | 2 | null | 63,392,633 | 0 | null | If anyone is attempting this with MSAL js Angular, I was able to accomplish this with the ssoSilent method as referenced by this github issue: [https://github.com/AzureAD/microsoft-authentication-library-for-js/issues/3639#issuecomment-847430498](https://github.com/AzureAD/microsoft-authentication-library-for-js/issues... | null | CC BY-SA 4.0 | null | 2023-03-02T18:39:17.787 | 2023-03-02T18:39:17.787 | null | null | 2,860,010 | null |
75,619,601 | 1 | null | null | 0 | 24 | We have successfully implemented a auth grant flow using the Banno Authorization API OAuth2/OpendId and obtain a valid and .
Next, I am trying to use the method to sending a simple push notification to a user. This Alerts API requires the and a .
1. We’ve enabled these claims (institutionID, userID), in our Extern... | Banno Authorization API - obtaining addtional claims for Admin/Alert API thru auth grant flow | CC BY-SA 4.0 | null | 2023-03-02T18:39:13.250 | 2023-03-02T19:28:13.337 | null | null | 6,145,996 | [
"banno-digital-toolkit"
] |
75,619,606 | 1 | null | null | 0 | 26 | I have a struct that looks like this:
```
#[derive(Default)]
pub struct Restaurant<'a> {
name: String,
patrons: Vec<Box<Patron>>,
reservations: Vec<Box<Reservation<'a>>>
}
```
and then I have a function that does some stuff and creates a reservation object like so:
```
pub fn reserve_table(&self, ...) {
... | adding local variable to a vector within a struct Rust | CC BY-SA 4.0 | null | 2023-03-02T18:40:17.557 | 2023-03-02T18:42:11.297 | 2023-03-02T18:42:11.297 | 15,553,589 | 15,553,589 | [
"memory",
"rust",
"vector",
"struct",
"ownership"
] |
75,619,607 | 1 | null | null | 1 | 13 | I am currently using API Gateway as public facing then it proxies to an NLB. Clients communicate to the API Gateway via SSL like [https://api.example.com](https://api.example.com) where https scheme is required therefore making the transit from client to API Gateway as encrypted.
Now my concern is, is my proxied traffi... | API Gateway to NLB encryption in traansit | CC BY-SA 4.0 | null | 2023-03-02T18:40:19.610 | 2023-03-02T18:59:49.297 | null | null | 5,568,405 | [
"amazon-web-services",
"aws-api-gateway"
] |
75,619,611 | 1 | null | null | -1 | 11 | Okay so I have this little bit of Java code. PdfReader is a class from Itext. When it executes that second line, it just drops down into some sort of black hole within Itext and never finishes. It never throws an exception or error of any kind. It does this very rarely, but when it does happen, it causes a lot of p... | Itext 2.1.7 -- Constructor of PdfReader class causes endless waiting | CC BY-SA 4.0 | null | 2023-03-02T18:40:35.470 | 2023-03-02T18:40:35.470 | null | null | 2,316,454 | [
"java",
"error-handling",
"itext"
] |
75,619,605 | 1 | null | null | 0 | 16 | I am new to node.js and vercel.
My project works in my local computer but when i deploy it to vercel, i get the following error:
> Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'simple-concat'
imported from /var/task/node_modules/mypackage/index.js
at new NodeError (node:internal/errors:400:5)
at packageResolve (no... | Vercel Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'simple-concat' imported from /var/task/node_modules/mypackage/index.js | CC BY-SA 4.0 | null | 2023-03-02T18:40:01.923 | 2023-03-02T18:46:30.567 | 2023-03-02T18:44:21.787 | 4,569,455 | 4,569,455 | [
"node.js",
"express",
"deployment",
"node-modules",
"vercel"
] |
75,619,603 | 2 | null | 75,618,252 | 0 | null | ```
<div class="box-border flex flex-row gap-2 items-center justify-between w-full md:w-auto rounded-2xl border p-4 my-4 mx-4">
<div class="flex-shrink-0">
<div class="flex h-full flex-col items-center justify-center">
<div class="ml-50%">icon</div>
</div>
</div>
<div class="flex-grow">
<div cla... | null | CC BY-SA 4.0 | null | 2023-03-02T18:39:32.983 | 2023-03-02T18:39:32.983 | null | null | 15,478,746 | null |
75,619,610 | 2 | null | 75,615,104 | 1 | null | > don't want to use any cli/ui utility for that, I want to use java
`kafka-reassign-partitions.sh` . You can look at the source code for how it works, but this is the only way to increase replication factor since you must manually determine where to place the replicas.
| null | CC BY-SA 4.0 | null | 2023-03-02T18:40:24.337 | 2023-03-02T18:40:24.337 | null | null | 2,308,683 | null |
75,619,609 | 2 | null | 75,609,439 | 2 | null | Using `dplyover`
```
library(dplyover)
library(dplyr)
df1 %>%
transmute(over(c(1, 3), ~ sprintf('%s (%d)', .("x{.x}"),
.("x{.x+1}")), .names = "x{x_idx}"))
```
-output
```
# A tibble: 4 × 2
x1 x2
<chr> <chr>
1 red (60) blue (30)
2 green (10) red (30)
3 blue (50) red (40) ... | null | CC BY-SA 4.0 | null | 2023-03-02T18:40:22.607 | 2023-03-02T18:40:22.607 | null | null | 3,732,271 | null |
75,619,613 | 2 | null | 75,425,044 | 0 | null | ERROR in ./src/App.js 6:0-59
Module not found: Error: Can't resolve './Components/SideBar Section/Sidebar' in 'C:\Users\HP\Desktop\fruitdashboard\fruit_dashboard\src'
[enter image description here](https://i.stack.imgur.com/jSDdb.png)
| null | CC BY-SA 4.0 | null | 2023-03-02T18:40:42.300 | 2023-03-02T18:40:42.300 | null | null | 21,321,323 | null |
75,619,614 | 2 | null | 75,619,598 | 0 | null | A quick solution will be accepting and rendering null on text widget like
```
Text("${value.moviesList.data?.movies?[index].title}")
```
The error referring your `movies` is getting null. If `homeViewModel.fetchMoviesListApi();` is future, you may start using FutureProvider/FutureBuilder.
Find more about [null-safety]... | null | CC BY-SA 4.0 | null | 2023-03-02T18:40:58.590 | 2023-03-02T18:40:58.590 | null | null | 10,157,127 | null |
75,619,615 | 1 | null | null | 0 | 9 | I'm learning machine learning and when I use SGDClassifier or SVC and I want to set a precision for the model I do this way:
```
y_scores = cross_val_predict(model, X_train, y_train, cv=5, method="decision_function")
precisions, recalls, thresholds = precision_recall_curve(y_train, y_scores)
minimum_precision = 0.8 # ... | How to set 80% precision for tree based models since they do not have decision_function() | CC BY-SA 4.0 | null | 2023-03-02T18:41:01.050 | 2023-03-02T18:41:01.050 | null | null | 13,822,114 | [
"machine-learning",
"classification",
"precision",
"random-forest",
"lightgbm"
] |
75,619,612 | 1 | null | null | 0 | 27 | I know there are many similarly-phrased questions, but mine hasn't quite been answered yet.
Suppose the basic snippet below:
```
const names = {
bob: 20,
john: 25,
michael: 30
};
const result = Object.entries(names).reduce(
(acc, [name, age]) =>
acc.push(`${name} is ${age}`) && acc,
[] as string[]
... | Using arrow to return accumulator in reduce | CC BY-SA 4.0 | null | 2023-03-02T18:40:40.553 | 2023-03-02T18:59:35.287 | null | null | 2,891,356 | [
"javascript",
"typescript"
] |
75,619,598 | 1 | null | null | 0 | 17 | Receiving this error `_CastError (Null check operator used on a null value)`, tried replacing `!` with `?` but that doesn't work.
Please help me fix this issue, Thanks.
[](https://i.stack.imgur.com/XrBPH.png)
`home_screen.dart`
```
import 'package:flutter/material.dart';
import 'package:mvvm/data/response/status.dart';... | Null check operator used on a null value Cast Error Flutter | CC BY-SA 4.0 | null | 2023-03-02T18:39:03.353 | 2023-03-03T03:32:40.027 | null | null | 12,965,724 | [
"flutter",
"dart",
"exception",
"mvvm",
"null"
] |
75,619,618 | 2 | null | 75,610,958 | 2 | null | First add `EventListeners` in the `update` function. Since doing this will add 60 `EventListeners` per second. This will cause always performance issues and cause many unexpected side effects, and also is the cause of you problem.
Move the `addEventListener` code into the `create` function, than it will work.
.
| null | CC BY-SA 4.0 | null | 2023-03-02T18:41:25.563 | 2023-03-02T18:41:25.563 | null | null | 1,679,286 | null |
75,619,624 | 1 | null | null | 0 | 13 | So, we're doing some gitops style workflows and in order for Flux/Argo to see our git repos, we use PATs. But the PAT's are tied to like, my user account. And so now that we have all these processes using my PAT, I'm being rate limited:
`Your usage has exceeded our rate limiting thresholds`
Anyone else have this issu... | Your usage has exceeded our rate limiting thresholds | CC BY-SA 4.0 | null | 2023-03-02T18:42:06.063 | 2023-03-02T18:42:06.063 | null | null | 9,101,530 | [
"azure-devops"
] |
75,619,621 | 2 | null | 75,618,583 | 6 | null | To speed this up you want to think about even larger bases.
The first step would be to convert the original "base 256" into either "base 1<<32" or "base 1<<64" (depending on what your CPU is). This reduces the number of digits in the number by a factor of 4 (or 8). If byte order ("endianess") is compatible and "length ... | null | CC BY-SA 4.0 | null | 2023-03-02T18:41:42.603 | 2023-03-02T18:41:42.603 | null | null | 559,737 | null |
75,619,619 | 1 | 75,619,995 | null | 1 | 32 | My Dataframes current prinSchema looks like this:
```
root
|-- Name: string (nullable = true)
|-- val: array (nullable = true)
| |-- element: string (containsNull = true)
```
I would like to convert the `val` column to an array type holding float values, and I used
`df = df.withColumn("val", col("val").cast("arr... | cast array[string] to array[float] in pyspark | CC BY-SA 4.0 | null | 2023-03-02T18:41:26.790 | 2023-03-02T19:26:07.237 | 2023-03-02T18:49:08.773 | 848,510 | 848,510 | [
"apache-spark",
"pyspark",
"apache-spark-sql"
] |
75,619,620 | 1 | null | null | 0 | 24 | I am creating a merge sort for an assignment based on an interface I was given. (merge, mergesort, and sort). I am right there, but my brain is fried and I can't find the final issue with my code. I successfully merge the two as seen in the final "MERGE:" print, but then the final line "SORTEXAMPLE" goes back to being ... | How to return my merged array from merge() to sort()? Java merge sort algorithm | CC BY-SA 4.0 | null | 2023-03-02T18:41:40.187 | 2023-03-03T11:43:18.000 | 2023-03-03T11:43:18.000 | 466,862 | 21,321,280 | [
"java",
"merge",
"mergesort"
] |
75,619,625 | 2 | null | 75,619,254 | 2 | null | It's not possible to get the return value from a function called via `bind`. That function is being called by `mainloop` which throws away all return values. Your only choice is for the function to set a global or instance variable that can be accessed by other places in your code.
The best solution is to have a standa... | null | CC BY-SA 4.0 | null | 2023-03-02T18:42:09.973 | 2023-03-02T19:16:55.947 | 2023-03-02T19:16:55.947 | 7,432 | 7,432 | null |
75,619,630 | 1 | null | null | -3 | 8 | I install the math library and during the installation put a error and this error every time show to install other libraries I'll use the python latest version 3.11.2 please suggest me and solve this problem
I'll every time trying to install other libraries but same error put in my system
| have windows 11.i during the installing every libraries put a error in my os system , | CC BY-SA 4.0 | null | 2023-03-02T18:42:34.963 | 2023-03-02T18:42:34.963 | null | null | 19,219,057 | [
"python",
"python-3.x",
"visual-c++"
] |
75,619,629 | 1 | null | null | 0 | 20 | I'd like to open a new (Ubuntu) WSL2 session in Windows Terminal and run a command in it using a script or just a single line of code in Windows Command Prompt.
It seems pretty hard to me. I only got to this:
`wt -w 0 nt -p "Ubuntu" -d \\wsl$\Ubuntu\home`
where `-w 0` tells to create a new tab in existing WT windows (i... | Opening WSL2 distro in Windows Terminal and running a command using Command Prompt | CC BY-SA 4.0 | null | 2023-03-02T18:42:31.657 | 2023-03-02T22:36:01.850 | null | null | 20,472,275 | [
"linux",
"windows",
"wsl-2",
"windows-terminal"
] |
75,619,617 | 1 | null | null | 0 | 26 | I'm trying create my first entityFramework app for a website and I can't even create the database.
The project compiles withtout problems and everything looks fine, but when I call the "Add-migration someName" I receive this error:
> Unable to create an object of type 'ApplicationDbContext'. For the
different patterns ... | Error "Unable to create an object of type 'ApplicationDbContext'" in Add-Migration command for first time (EntityFramework Core) | CC BY-SA 4.0 | null | 2023-03-02T18:41:16.733 | 2023-03-02T22:34:32.627 | 2023-03-02T19:01:25.400 | 4,190,402 | 6,277,828 | [
"c#",
"entity-framework",
"entity-framework-core",
"backend",
"entity-framework-migrations"
] |
75,619,628 | 1 | null | null | -1 | 21 | html:
```
data = ` <img alt="data" src="/static/img/icons/icon-data.svg" class="image-fluid" data-bs-toggle="tooltip" data-bs-placement="right" data-bs-custom-class="icon-data" title="data"/> `;
```
scss:
```
.icon-data.tooltip {
.tooltip-inner {
background-color: $blue;
color: $warm-black;
}
... | Boostrap 5 tooltip arrow color | CC BY-SA 4.0 | null | 2023-03-02T18:42:27.633 | 2023-03-02T18:42:27.633 | null | null | 3,449,093 | [
"javascript",
"css",
"tooltip",
"bootstrap-5"
] |
75,619,623 | 1 | null | null | 0 | 21 | I have a React component, it can transition between different states based on mouse-events. A simplified example:
```
type Point = {x: number, y: number};
type MouseState =
| {name: "idle"}
| {name: "touched", point: Point}
| {name: "moving", originalPoint: Point, currentPoint: Point};
function MyComponent() {
... | XState: Express that a context is only relevant for certain states | CC BY-SA 4.0 | null | 2023-03-02T18:41:53.993 | 2023-03-04T17:57:55.550 | null | null | 15,245,033 | [
"xstate",
"xstate-react"
] |
75,619,632 | 1 | null | null | 0 | 39 | I been searcing for hours now. In Python I used for loop to create subplots, so I have not defined ax and fig. So i don't seem to find any solution no involving them.
```
df_june['hours']=df_june['date'].dt.hour
*df_june is dataset only for 1st of june*
for i in important_cols[1:]:
sns.lineplot(x='hours', y=i, dat... | change hour format for a plot in for loop | CC BY-SA 4.0 | null | 2023-03-02T18:42:40.310 | 2023-03-02T22:29:47.790 | null | null | 20,283,962 | [
"python",
"for-loop",
"matplotlib",
"datetime"
] |
75,619,633 | 2 | null | 75,619,387 | 0 | null | Maybe something like this?
```
Private Function GetColNum(columnLetter As String) As Integer
Dim base As Integer = Asc("A") - 1
Dim result As Integer = 0
For Each c As Char In columnLetter.ToUpper()
result = result * 26 + Asc(c) - base
Next
Return result
End Function
```
| null | CC BY-SA 4.0 | null | 2023-03-02T18:42:40.560 | 2023-03-02T18:42:40.560 | null | null | 2,566,740 | null |
75,619,634 | 2 | null | 75,619,292 | 0 | null | This is the solution I ended up going with:
```
{
$match: {
$or: [
{ items: { $exists: false } },
{ items: { $size: 0 } },
{ items: { $in: [$id] } }
]
}
}
```
| null | CC BY-SA 4.0 | null | 2023-03-02T18:42:47.003 | 2023-03-02T18:42:47.003 | null | null | 245,076 | null |
75,619,637 | 1 | 75,619,655 | null | 1 | 30 | newbie question:
I have a seemingly i simple problem, but I cannot solve it.
I want to use as.character() within a function. However it doesn't work.
The functioncall doesn't give an error, but nothing happens to the dataframe.
What am i doing wrong?
I also tried all variations using the walrus-operator := and curlycu... | as.character() within function doesn't work | CC BY-SA 4.0 | null | 2023-03-02T18:43:08.503 | 2023-03-02T18:45:36.547 | 2023-03-02T18:45:36.547 | 14,930,989 | 14,930,989 | [
"r"
] |
75,619,638 | 1 | null | null | -3 | 21 | I wanna build some decent online application to be used by the people in my company. we use DB2 as the relational database and Z/OS on mainframe as the Operating system currently and cics as the online application. I'm more than willing to learn and try hard But I need guidance on how to start and what shall I learn if... | Aiming to land a DB2 Z/OS job, Shall I learn java or cobol? and does java need jcl to be compiled on mainframe db2? | CC BY-SA 4.0 | null | 2023-03-02T18:43:10.230 | 2023-03-02T18:43:10.230 | null | null | 21,313,139 | [
"db2",
"mainframe",
"zos",
"db2-zos"
] |
75,619,631 | 1 | null | null | -1 | 37 | I have a very basic JavaFX project that is supposed to open a new window (a scene). I'm trying to Launch it on VSCode.
```
package project;
import javafx.application.Application;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.scene.Scene;
import javafx.scene.control.Button;
import java... | JavaFX project can't launch on Visual Studio Code (no build tools) | CC BY-SA 4.0 | null | 2023-03-02T18:42:36.460 | 2023-03-03T11:45:25.513 | 2023-03-03T10:32:55.497 | 19,231,317 | 19,231,317 | [
"java",
"linux",
"visual-studio-code",
"javafx"
] |
75,619,626 | 1 | null | null | 0 | 19 | I am using the Paypal Javascript SDK to add payment buttons to a website, and I'm including the OnShippingChange function to calculate sales tax for certain states/regions based on the shipping address selected in Paypal. This is done via a callback to a server-side php script. Unfortunately the sales tax is not added ... | Paypal Javascript SDK onShippingChange function not updating order amounts | CC BY-SA 4.0 | null | 2023-03-02T18:42:11.697 | 2023-03-02T20:32:11.007 | 2023-03-02T20:32:11.007 | 5,543,808 | 5,543,808 | [
"php",
"paypal",
"paypal-sandbox"
] |
75,619,639 | 2 | null | 75,619,124 | 0 | null | Using the `order` parameter of `seaborn.boxplot` function for the second boxplot should fix your overlap issue.
Here is working example that should create the figure you want
```
import seaborn as sns
import matplotlib.pyplot as plt
import pandas as pd
df_plot = pd.DataFrame([[0, 10],[0, 10.1],[0, 9.8],[1, 0.4],[1, 0... | null | CC BY-SA 4.0 | null | 2023-03-02T18:43:11.320 | 2023-03-02T18:43:11.320 | null | null | 11,080,037 | null |
75,619,643 | 2 | null | 75,570,812 | 1 | null | In Apache Age you cannot define relationship between two nodes that are belong to different graphs, But you can query Multiple graphs
Or you can use SQL to create a mapping between the nodes.
| null | CC BY-SA 4.0 | null | 2023-03-02T18:43:24.883 | 2023-03-02T18:43:24.883 | null | null | 11,724,982 | null |
75,619,627 | 2 | null | 75,617,096 | 1 | null | So you want something like this:
[](https://i.stack.imgur.com/3hwnD.gif)
SwiftUI doesn't offer a direct way to read the top row, so we have to compute it using other tools.
We need to know each row's position relative to the top of the scroll view. That means two things: getting an [Anchor](https://developer.apple.com/... | null | CC BY-SA 4.0 | null | 2023-03-02T18:42:15.450 | 2023-03-02T18:42:15.450 | null | null | 77,567 | null |
75,619,645 | 2 | null | 75,618,233 | 0 | null | So the problem here are these lines:
```
conf.set("cassandra.output.thrift.address", "127.0.0.1");
conf.set("cassandra.output.thrift.port", "9160");
```
This is designed to connect to Cassandra using the Thrift protocol on port 9160. Thrift was deprecated in the Cassandra project in version 3.0, and completely remove... | null | CC BY-SA 4.0 | null | 2023-03-02T18:43:34.883 | 2023-03-02T18:43:34.883 | null | null | 1,054,558 | null |
75,619,640 | 1 | null | null | 1 | 20 | I have a mat-table that I need to send a huge amount of data to, so I'm using server side pagination. I setup mat-paginator with the `[length]` attribute and watch for the `(page)` event to manage this.
```
<mat-table
#table
[dataSource]="dataSource"
matSort
matSortActive="id"
matSortDirection="asc"
matSort... | mat-table with server side mat-pagination, table empty after page change | CC BY-SA 4.0 | null | 2023-03-02T18:43:12.070 | 2023-03-02T18:43:12.070 | null | null | 3,935,218 | [
"angular-material"
] |
75,619,635 | 1 | null | null | 0 | 18 | I have developed a web page using laravel and now I want to communicate with an android app I´m making. I´m using retrofit but I have some problems with the APiService.
Here´s my ApiService:
```
package com.example.retrofitpruebabuena.API;
import com.example.retrofitpruebabuena.models.Alumno;
import java.util.List;
i... | Having problems using ApiService in android project using retrofit? | CC BY-SA 4.0 | null | 2023-03-02T18:42:51.703 | 2023-03-02T18:42:51.703 | null | null | 20,825,233 | [
"android",
"retrofit"
] |
75,619,642 | 1 | null | null | -2 | 6 | I tried downlaoding my software on multiple computers, out of 6 only one laptop had problem with downloading, where it can not install service.
[error](https://i.stack.imgur.com/QpX7p.png)
I tried with all accounts on laptop even with administrator. And it doesn't work anywhere.I don't understand why it works on all ot... | Can't install service - Service could not be installed. Verify that you have sufficient privileges to install system services | CC BY-SA 4.0 | null | 2023-03-02T18:43:19.050 | 2023-03-02T18:43:19.050 | null | null | 19,758,365 | [
"windows-services",
"advanced-installer"
] |
75,619,649 | 2 | null | 75,616,193 | 0 | null | A service worker is a script that runs independently in the browser background , not server side.
For using ServiceWorker in node.js use [node-service-worker](https://www.npmjs.com/package/node-service-worker)
| null | CC BY-SA 4.0 | null | 2023-03-02T18:44:00.583 | 2023-03-02T18:44:00.583 | null | null | 12,475,604 | null |
75,619,646 | 2 | null | 75,619,547 | 4 | null | You can pass a `Function` callback to `Matcher#replaceAll`.
```
Pattern pattern = Pattern.compile("\\$\\{?(\\d+)}?");
String res = pattern.matcher(str).replaceAll(mr->args[Integer.parseInt(mr.group(1))-1]);
System.out.println(res);
```
| null | CC BY-SA 4.0 | null | 2023-03-02T18:43:35.710 | 2023-03-02T18:43:35.710 | null | null | 9,513,184 | null |
75,619,650 | 2 | null | 75,616,690 | 0 | null | Try to make it a string with the word "false" lower case:
```
envelope_definition = EnvelopeDefinition( email_subject="Please sign this document sent from the Python SDK", template_id=template_id, template_roles=[signer], status="sent", envelope_id_stamping="false", )
```
| null | CC BY-SA 4.0 | null | 2023-03-02T18:44:24.090 | 2023-03-02T18:44:24.090 | null | null | 3,255,871 | null |
75,619,644 | 1 | 75,620,431 | null | 0 | 34 | I have the following code:
```
for df in dfs:
plt.plot(df['Digital'], lw=5, label='A', zorder=2)
plt.plot(df['Analog'], lw=2, linestyle='--', label='B', zorder=2)
for rowNr in np.arange(len(df)):
if df.iloc[rowNr]['Analog'] >= 0:
plt.axvline(df.index[rowNr], ymin=0.08, color='g... | Unwanted white "grid" lines using axvline | CC BY-SA 4.0 | null | 2023-03-02T18:43:31.890 | 2023-03-02T20:20:05.060 | 2023-03-02T19:00:26.630 | 13,138,364 | 20,842,507 | [
"python",
"pandas",
"matplotlib",
"time-series"
] |
75,619,652 | 2 | null | 63,754,244 | 0 | null | We ran into this issue trying to help a new developer on our team setup his development machine. The tests would show up in VS2022 TestExplorer, but running them would complete in a few ms, with the dreaded "0 passed, 0 failed, 0 skipped" result. The Output|Tests window didn't show any errors.
After a "Clean Solution",... | null | CC BY-SA 4.0 | null | 2023-03-02T18:45:03.697 | 2023-03-02T18:45:03.697 | null | null | 2,269,760 | null |
75,619,647 | 1 | null | null | 0 | 14 | In the past few years, I've moved from using code like `setTimeout` and `setInterval` to using `requestAnimationFrame`. If I want something to happen every 60s, rather than `setTimeout(..., 60000)` I would use `Date` to determine what time it'll be 60s from now, and then check the time every time `requestAnimationFrame... | Is it possible to create a timer which pauses when stopping at a breakpoint | CC BY-SA 4.0 | null | 2023-03-02T18:43:46.127 | 2023-03-02T19:11:44.227 | null | null | 1,038,564 | [
"javascript",
"animation",
"timing"
] |
75,619,641 | 2 | null | 75,618,994 | 0 | null | Perform a self-lookup with the conditions:
1. _id not equal to itself
2. members $setIsSubsetof the looked upmembers`
```
db.collection.aggregate([
{
"$lookup": {
"from": "collection",
"let": {
members: "$members",
id: "$_id"
},
"pipeline": [
{
"$match"... | null | CC BY-SA 4.0 | null | 2023-03-02T18:43:16.180 | 2023-03-03T18:19:46.440 | 2023-03-03T18:19:46.440 | 14,732,669 | 14,732,669 | null |
75,619,653 | 2 | null | 75,595,477 | 0 | null | At present you're not going to be able to get this working how you want.
The setup for the `<mgt-file-upload>` component uses a the fileUploadList property which is not exposed as an attribute as it's an object and passes a nested object that is not exposed for creation externally.
I would suggest that you open an issu... | null | CC BY-SA 4.0 | null | 2023-03-02T18:45:05.923 | 2023-03-02T18:45:05.923 | null | null | 764,456 | null |
75,619,655 | 2 | null | 75,619,637 | 1 | null | Use the `{{}}` to wrap the `COLUMN` if we want to pass unquoted argument. In addition, use `:=` if we want to evaluate the argument on the lhs
```
library(dplyr)
TestFunction <- function(DATAFRAME, COLUMN) {
DATAFRAME %>%
mutate({{COLUMN}} := as.character({{COLUMN}}))
}
```
-testing
```
> str(TestFunctio... | null | CC BY-SA 4.0 | null | 2023-03-02T18:45:29.040 | 2023-03-02T18:45:29.040 | null | null | 3,732,271 | null |
75,619,657 | 1 | null | null | 0 | 37 | I'm new to JWT and doing an exercise to understand it better.
I am in a scenario that from flutter I am sending the token from the header but the token is null and I am trying to validate that in php.
When I try to do a simple validation using some method like "is_null()","$variable == null" using conditionals, the res... | Problems validating a jwt null in php | CC BY-SA 4.0 | null | 2023-03-02T18:45:51.940 | 2023-03-03T04:07:00.297 | 2023-03-02T20:42:32.280 | 21,267,589 | 21,267,589 | [
"php",
"flutter",
"jwt"
] |
75,619,654 | 2 | null | 75,618,205 | 0 | null | Firstly, consider making the inner classes static. Additionally, add `@JsonIgnoreProperties(ignoreUnknown = true)`.
```
@Data
@AllArgsConstructor
public class EmploymentSalaryTypeResponse {
@Data
public static class Fields{
private String type;
}
@Data
@AllArgsConstructor
@NoArgsConstr... | null | CC BY-SA 4.0 | null | 2023-03-02T18:45:19.297 | 2023-03-02T18:45:19.297 | null | null | 12,706,564 | null |
75,619,659 | 1 | null | null | -1 | 22 | I have a Verizon CR1000A router, with firmware version 3.2.0.7. When I try to forward a port (25565) it makes me enter a "Fwd to" address. But it doesn't accept 127.0.0.1, or any address that I know of that would open the port to the internet.
Here is an image of the error that happens when I click "Add to List":[](htt... | Port forwarding not working after firmware update | CC BY-SA 4.0 | null | 2023-03-02T18:46:08.553 | 2023-03-02T23:14:00.877 | 2023-03-02T23:14:00.877 | 2,014,878 | 2,014,878 | [
"portforwarding",
"verizon"
] |
75,619,656 | 1 | null | null | 0 | 20 | I am relatively new in frontend, I am trying to open a new url if the button is clicked. My target is if the url is already opened in a seperate tab, then just switch to that tab. Else, open the url in a new tab and switch to it.
I have went through some documentations and stackoverflow solutions, for example [this](ht... | How to open a URL in a new tab if the same URL is not open in any tab of the browser, else focus on the existing tab | CC BY-SA 4.0 | null | 2023-03-02T18:45:29.100 | 2023-03-02T18:45:29.100 | null | null | 21,321,310 | [
"javascript",
"angular",
"typescript",
"tabs",
"window"
] |
75,619,661 | 2 | null | 75,619,519 | 2 | null | The cast operator is defined the following way
```
cast-expression:
unary-expression
( type-name ) cast-expression
```
`struct Addrr *` is a pointer type. Pointer types are always complete types. Though the pointed type `struct Addrr` is an incomplete type.
| null | CC BY-SA 4.0 | null | 2023-03-02T18:46:13.583 | 2023-03-02T18:46:13.583 | null | null | 2,877,241 | null |
75,619,662 | 2 | null | 6,426,363 | 0 | null | Many answers, but none works,
```
grep "nick-banner" *.html -R -n
```
It does not work:
```
grep: *.html: No such file or directory
```
| null | CC BY-SA 4.0 | null | 2023-03-02T18:46:13.910 | 2023-03-02T18:46:13.910 | null | null | 3,248,617 | null |
75,619,663 | 2 | null | 75,617,308 | 0 | null | For reasons I will never understand, you cannot use `H5S_ALL` in the second write command. HDF5 then applies the same offsets as you use for the file position, resulting in buffer overruns. You have to use a separate memory space descriptor. This works:
```
hid_t mspace = H5Screate_simple(1, count, count);
status = H5D... | null | CC BY-SA 4.0 | null | 2023-03-02T18:46:27.613 | 2023-03-02T18:46:27.613 | null | null | 17,167,312 | null |
75,619,664 | 1 | null | null | 0 | 56 | I was surprised to discover in the documentation for the rounding functions, e.g. `round`, that they are all S4 generics. What benefits does this grant them over being S3 generics? As best as I can tell, everything that they do can already be done equally well if not better (I think that S3 dispatch is faster than S4?)... | Why are the rounding functions S4 generics rather than S3? | CC BY-SA 4.0 | null | 2023-03-02T18:46:28.703 | 2023-03-04T00:09:26.143 | null | null | 10,319,707 | [
"r",
"rounding",
"s4",
"r-s3"
] |
75,619,665 | 2 | null | 75,619,605 | 0 | null | Here's a few things to try:
1. Make sure the package simple-concat is listed in your package.json file as a dependency.
2. Run npm install or yarn install to install all dependencies locally before you deploy to Vercel. This makes sure that all of your required packages are in the node_modules directory.
3. If simple-... | null | CC BY-SA 4.0 | null | 2023-03-02T18:46:30.567 | 2023-03-02T18:46:30.567 | null | null | 17,115,217 | null |
75,619,669 | 2 | null | 75,618,636 | 0 | null | Converting the multi-character strings to bytes and then back to integers works.
```
def char_to_int(char):
#ignore NaNs
if type(char) == float:
pass
elif len(char) == 1:
return int(ord(char))
else:
return int(int.from_bytes(char.encode(), byteorder='big'))
ft_x['keyCode'] = ft_x[... | null | CC BY-SA 4.0 | null | 2023-03-02T18:46:49.173 | 2023-03-02T18:46:49.173 | null | null | 21,320,736 | null |
75,619,667 | 2 | null | 13,756,112 | 0 | null | Instead of drawing a 3D object with a fixed thickness (which becomes apparent when you zoom in) you can just make a fixed thickness circle that stays a thin line, which is very nice for a UI overlay, just like OP example link
`absarc()` and `setFromPoints()` very useful here.
```
//Draws an orbit at 0,0 with given dist... | null | CC BY-SA 4.0 | null | 2023-03-02T18:46:33.877 | 2023-03-02T18:46:33.877 | null | null | 1,610,071 | null |
75,619,651 | 1 | 75,621,202 | null | 1 | 45 | I'm using podman 4.5-dev
I have two pods deployed using:
I specified the pods' hostnames in the files, but they won't get resolved inside the containers.
I verified that the pods are in the same network.
Is there some DNS configuration missing? Should I use a Services? The official docs lack of a precise indication a... | Podman: how to resolve the hostname of a pod deployed using Kubernetes YAML | CC BY-SA 4.0 | null | 2023-03-02T18:44:50.963 | 2023-03-03T06:41:57.540 | 2023-03-02T22:03:18.707 | 5,087,493 | 5,087,493 | [
"kubernetes",
"containers",
"microservices",
"podman",
"podspec"
] |
75,619,660 | 1 | 75,619,721 | null | 0 | 23 | I watched a tutorial about a simple snake game, after putting in the interval to update the canvas (id = "board") the first apple appears, but with the first update the whole background also turns red.
The snake (at this point just a green block) can still move.
I looked into the update function but couldnt find the fl... | red screen after second update on a snake game | CC BY-SA 4.0 | null | 2023-03-02T18:46:08.737 | 2023-03-02T18:52:53.777 | 2023-03-02T18:51:45.700 | 8,475,054 | 21,321,319 | [
"javascript"
] |
75,619,671 | 2 | null | 75,617,341 | 0 | null | The access point ARN's format should actually include the text "accesspoint/" and then you add your resource name, [like this](https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html):
```
arn:aws:s3:region:account-id:accesspoint/resource
```
| null | CC BY-SA 4.0 | null | 2023-03-02T18:46:53.597 | 2023-03-02T18:46:53.597 | null | null | 19,949,926 | null |
75,619,673 | 1 | null | null | 0 | 23 | I'm trying to select data to populate values on another sheet using specific If criteria. I want to select a value from a specific cell in the row if a specified column in that row contains a specified value and it is the last occurrence in the range of that value.
Currently trying to use the Then .Select to test and m... | VBA code to select a cell value if there is a specific value and it is the last occurrence of that value in the range? | CC BY-SA 4.0 | null | 2023-03-02T18:47:08.393 | 2023-03-02T18:52:02.083 | 2023-03-02T18:52:02.083 | 7,008,044 | 21,111,189 | [
"excel",
"vba",
"while-loop"
] |
75,619,672 | 1 | null | null | 0 | 10 | My system has Ubuntu 22.04.2 LTS
On a kernel module I have the following operations:
I have a memory mapped address stored into a variable. I add an offset to this address and store it into a new variable then print both addresses. The result doesn't make sense to me. The example code is below.
```
u32* u_addr = iorema... | Pointer arithmetic in kernel module produces invalid value | CC BY-SA 4.0 | null | 2023-03-02T18:47:02.243 | 2023-03-02T18:47:02.243 | null | null | 7,036,766 | [
"linux",
"module",
"kernel",
"pointer-arithmetic"
] |
75,619,677 | 1 | null | null | -2 | 36 | ```
abstract public class A {/*has some methods*/}
public class B extends A implements Comparable<B> {/*I implemented code for compareTo(B x) */}
public static void main(String[] args) {
A tab[] = new A [3] ;
B x = new B(/*I initialized it*/) ;
tab[0] = x ;
B y = new B(/*.....*/) ;
}
```
Why can I do ... | Why can't I do a cast for an element from an array of objects? | CC BY-SA 4.0 | null | 2023-03-02T18:47:27.130 | 2023-03-03T05:58:06.893 | 2023-03-03T05:58:06.893 | 11,107,541 | 21,086,458 | [
"java",
"oop",
"casting",
"comparable",
"compareto"
] |
75,619,670 | 1 | null | null | 0 | 24 | I'm creating a tracker that tracks how much water you have drank throughout the day, and having a telegram bot to give that info to the bot, the thing is I should send that info at 00:00 to a csv so it gets saved and I can make charts of my progression and so on, but it doesn't send all info (sends something like "0, 1... | I'm sending info to a csv wrong apparently? | CC BY-SA 4.0 | null | 2023-03-02T18:46:51.617 | 2023-03-02T18:46:51.617 | null | null | 9,293,439 | [
"python",
"csv"
] |
75,619,636 | 1 | null | null | 1 | 32 | I'm currently creating an Azure Policy that (is supposed to) deploys Microsoft Defender for Servers with Plan P1 if the current plan is different. Many subscriptions that I have currently have Microsoft Defender for Servers enabled, but use plan P2 instead of P1, so I created a policy with that should change the value... | Azure Policy DeployIfNotExists fails to change values | CC BY-SA 4.0 | null | 2023-03-02T18:42:58.290 | 2023-03-02T18:43:59.927 | 2023-03-02T18:43:59.927 | 21,321,137 | 21,321,137 | [
"azure",
"terraform-provider-azure",
"azure-policy",
"standards-compliance",
"azure-defender"
] |
75,619,680 | 1 | null | null | 0 | 46 | I want to find out where the cursor is in the terminal. For example, I want to know if the cursor is at the beginning of a new line or which position in a line it is.
I would prefer if an escape code existed for this but it's acceptable if only the windows console API has the way to accomplish this.
| How can I find out where the cursor is? | CC BY-SA 4.0 | null | 2023-03-02T18:47:40.837 | 2023-03-02T18:48:56.310 | 2023-03-02T18:48:56.310 | 21,290,559 | 21,290,559 | [
"c",
"terminal"
] |
75,619,678 | 1 | null | null | -1 | 8 | Need to know the APIS
Tried the hub and project and get buckets call
I am getting follwoing error for Hubs
"Id": null,
"HttpStatusCode": "403",
"ErrorCode": "BIM360DM_ERROR",
"Title": "Unable to get hubs from BIM360DM EMEA.",
"Detail": "You don't have permission to access this API",
"AboutLink": null,
"Source": null,
"... | I need to understand which APIs to use to download the specification files for EMEA and US region #autodesk-data-management | CC BY-SA 4.0 | null | 2023-03-02T18:47:39.420 | 2023-03-02T18:47:39.420 | null | null | 21,321,334 | [
"autodesk-data-management"
] |
75,619,676 | 2 | null | 75,617,963 | 1 | null | The previous comment is correct – the relationship between components in a TSX hierarchy isn't typed strongly enough to infer the type from the container to the children. There's also the small issue of JSX syntax abuse to define the columns ... I'm not sure how that would work.
The good news though is that you could d... | null | CC BY-SA 4.0 | null | 2023-03-02T18:47:22.977 | 2023-03-02T18:47:22.977 | null | null | 21,146,235 | null |
75,619,682 | 2 | null | 75,619,587 | 1 | null | Then you simply remove the category grouping:
```
SELECT
'Whiskey' AS Category_Name,
ROUND(SUM(sale_dollars)) AS Total_Revenue
FROM
Liquor_Sales.Iowa
WHERE
store_name = 'HY-VEE #3 / BDI / DES MOINES'
AND
category_name LIKE '%WHISK%'
```
| null | CC BY-SA 4.0 | null | 2023-03-02T18:47:53.720 | 2023-03-02T18:47:53.720 | null | null | 18,648,900 | null |
75,619,675 | 1 | null | null | -2 | 35 | I have two xml files. I want to extract elements values in xml1 and assign them to xml2.
xml1:
```
<?xml version="1.0" encoding="windows-1252"?>
<dataTemplate>
<test>John</test>
<test>Peter</test>
<test>Paul</test>
</dataTemplate>
```
I want to export the values to xml2 and it will look like this:
```
<?xml versi... | Iterating through xml and copying element values to another in xmlstarlet | CC BY-SA 4.0 | null | 2023-03-02T18:47:13.890 | 2023-03-03T20:00:31.577 | 2023-03-03T20:00:31.577 | 465,183 | 18,691,666 | [
"xmlstarlet"
] |
75,619,681 | 1 | null | null | -9 | 36 | ```
private void button1_Click(object sender, EventArgs e)
{
int number = int.Parse(EnterN.Text);
int sum = 0, reminder;
while (number > 0)
{
reminder = number % 10;
sum = sum + reminder;
number = number / 10;
}... | C# need help how to separate input integers with comma? | CC BY-SA 4.0 | null | 2023-03-02T18:47:53.030 | 2023-03-02T18:50:12.060 | 2023-03-02T18:50:12.060 | 2,308,683 | 21,321,345 | [
"c#"
] |
75,619,683 | 1 | null | null | 0 | 6 | Hi I am Working in Sprintboot application.In which I am Connecting with MongoDb. while Starting Spring Boot Application , I am getting this below Error.
```
2023-03-03 00:10:37.045 INFO 16748 --- [ngodb.net:27017] org.mongodb.driver.cluster: Exception in monitor thread while connecting to server ac-dr240hm-shard-00-02... | com.mongodb.MongoSocketReadException: Exception receiving message while Connecting Mongodb cloud | CC BY-SA 4.0 | null | 2023-03-02T18:48:08.173 | 2023-03-02T18:48:08.173 | null | null | 6,620,817 | [
"java",
"mongodb",
"spring-boot",
"apache-kafka",
"mongodb-query"
] |
75,619,688 | 2 | null | 75,612,696 | 1 | null | Try this way:
```
CREATE VIEW My_view AS
SELECT arrayJoin([1, 2, 3, 4, 5, 6, 7, 8]) AS numbers
/* or */
CREATE VIEW My_view AS
SELECT number
FROM numbers(1, 8)
```
| null | CC BY-SA 4.0 | null | 2023-03-02T18:48:23.780 | 2023-03-02T18:48:23.780 | null | null | 303,298 | null |
75,619,685 | 2 | null | 75,619,387 | 0 | null | I think you might be better off with an Enum in VB .Net. To construct it using the Const's is pretty simple if you know how to Alt drag(hold the Alt key while dragging)
1. Create an enum
2. Copy and paste all of the Const's. Looks like this, Enum MyEnum
Const colB As Integer = 2
Const colD As Integer = 4
... | null | CC BY-SA 4.0 | null | 2023-03-02T18:48:14.560 | 2023-03-02T18:48:14.560 | null | null | 66,532 | null |
75,619,689 | 2 | null | 75,058,216 | 0 | null | This bug has been fixed in DataSpell [https://youtrack.jetbrains.com/issue/DS-4251/PyCharm-2022.3-Notebooks-cant-import-modules-from-Sources-Root](https://youtrack.jetbrains.com/issue/DS-4251/PyCharm-2022.3-Notebooks-cant-import-modules-from-Sources-Root)
| null | CC BY-SA 4.0 | null | 2023-03-02T18:48:24.283 | 2023-03-02T18:48:24.283 | null | null | 20,914,080 | null |
75,619,666 | 1 | null | null | 0 | 75 | i am trying to register and authenticate user using passport.
registration form is working fine
```
throw new MongooseError('Query.prototype.exec() no longer accepts a callback');
^
MongooseError: Query.prototype.exec() no longer accepts a callback
at Function.schema.statics.findByUsername (C:\Users\ANKU... | throw new MongooseError('Query.prototype.exec() no longer accepts a callback'); MongooseError: Query.prototype.exec() no longer accepts a callback | CC BY-SA 4.0 | null | 2023-03-02T18:46:33.000 | 2023-03-03T12:29:20.347 | 2023-03-03T05:51:38.087 | 4,420,967 | 21,321,302 | [
"node.js",
"authentication",
"mongoose",
"passport.js",
"passport-local"
] |
75,619,690 | 2 | null | 75,619,423 | 1 | null | `with engine.connect() ...` rolls back when it exits. You can either commit manually:
```
with engine.connect() as connection:
connection.execute(sa.text('CALL testSProc()'))
connection.commit()
```
or use `engine.begin()`, which commits on exit:
```
with engine.begin() as connection:
connection.execute(s... | null | CC BY-SA 4.0 | null | 2023-03-02T18:48:24.757 | 2023-03-02T18:48:24.757 | null | null | 5,320,906 | null |
75,619,692 | 1 | null | null | 0 | 6 | Anyone have any experience with integrating Android Mobile Device Management solutions with their QT Application? I’ve been vetting one vendor but my application freezes every time I hit the Back Button while my application is in Kiosk Mode. I thought the issue was specific to my application but I built a trivial Andro... | QT Android application crashes when Back Button pressed while running MDM in Kiosk Mode | CC BY-SA 4.0 | null | 2023-03-02T18:48:49.680 | 2023-03-02T18:48:49.680 | null | null | 4,508,848 | [
"android",
"qt",
"mdm"
] |
75,619,687 | 1 | 75,619,818 | null | 0 | 24 | I am trying to implement a generic function that can be used on multiple buttons.
```
binding.btn1.setOnClickListener { sharedFunction()}
binding.btn2.setOnClickListener { sharedFunction()}
binding.btn3.setOnClickListener { sharedFunction()}
fun sharedFunction(p0: View){
binding.p0?.id.text = "Hello"
... | Generic function that can be called in in multiple Views | CC BY-SA 4.0 | null | 2023-03-02T18:48:18.150 | 2023-03-02T19:10:12.940 | null | null | 11,357,819 | [
"android",
"kotlin"
] |
75,619,694 | 2 | null | 49,856,754 | -1 | null | I had this same issue. In my case, this configs are working:
```
nginx.ingress.kubernetes.io/ssl-redirect: "false"
nginx.ingress.kubernetes.io/force-ssl-redirect: "false"
nginx.ingress.kubernetes.io/backend-protocol: "HTTPS"
nginx.ingress.kubernetes.io/rewrite-target: /
nginx.ingress.kubernetes.io/enable-underscores-in... | null | CC BY-SA 4.0 | null | 2023-03-02T18:49:12.937 | 2023-03-02T18:49:12.937 | null | null | 7,316,809 | null |
75,619,696 | 1 | null | null | -2 | 14 | In Power BI, I have several fields in a multi row card. When, I had a text field to the card, it moves that field to the top of the card and it changes the font and color. Attached is a photo.
[enter image description here](https://i.stack.imgur.com/25NPB.png)
| Power BI- Multi Row Card - Text field out of order | CC BY-SA 4.0 | null | 2023-03-02T18:49:20.003 | 2023-03-02T18:49:20.003 | null | null | 11,024,836 | [
"powerbi",
"powerbi-desktop"
] |
75,619,695 | 2 | null | 75,618,112 | 0 | null | In Dash, there is an option to use the following commands to use [html tages](https://dash.plotly.com/dash-html-components/h1):
```
from dash import html
html.Div([
html.H1('Hello Dash'),
html.Div([
html.H2('Introduction'),
html.P("This document provides a guide to help with the important task ... | null | CC BY-SA 4.0 | null | 2023-03-02T18:49:18.530 | 2023-03-02T18:49:18.530 | null | null | 16,733,101 | null |
75,619,691 | 2 | null | 75,619,360 | 0 | null | Remove `my_settings = {}` and `update_settings` class function.
Did you try this?
```
class PageSpider(CrawlSpider):
name = 'github'
def __init__(self, *args, **kwargs):
super(PageSpider, self).__init__(*args, **kwargs)
self.start_urls = kwargs.get('host_name')
self.allowed_domains = [self.start_urls]
... | null | CC BY-SA 4.0 | null | 2023-03-02T18:48:39.423 | 2023-03-02T18:48:39.423 | null | null | 2,308,683 | null |
75,619,701 | 1 | null | null | -4 | 23 | How can an event listener can be implemented in python?
| Implementing an event listener in Python | CC BY-SA 4.0 | null | 2023-03-02T18:50:03.077 | 2023-03-02T18:52:49.183 | 2023-03-02T18:52:49.183 | 2,308,683 | 12,452,565 | [
"python"
] |
75,619,693 | 1 | 75,620,168 | null | 1 | 23 | How can we subtract multiple ranges of type from one range of type ?
Example:
```
let str = "let <#name#> = <#value#>"
let range = str.startIndex..<str.endIndex
//the range of str is {0, 24}
//the range of <#name#> is {4, 8}
//the range of <#value#> is {15, 9}
```
How can we subtract the ranges {4, 8} and {15, 9} fr... | Subtract multiple ranges from one range | CC BY-SA 4.0 | null | 2023-03-02T18:48:50.617 | 2023-03-02T19:47:44.650 | null | null | 4,255,244 | [
"swift",
"range",
"nsrange"
] |
75,619,703 | 1 | null | null | -2 | 11 | How to write Time-out method for camunda in .Net. Can anybody put some light on this
Process of Time-out in Camunda
| Camunda Time-out for the Process | CC BY-SA 4.0 | null | 2023-03-02T18:50:12.533 | 2023-03-02T18:50:12.533 | null | null | 21,321,331 | [
".net",
"time",
"camunda",
"camunda-modeler"
] |
75,619,686 | 1 | null | null | -1 | 24 | I try to implement a such solution with docker:
- - -
In the result I need to execute job in the jenkins and this job must be able to execute `gradle build`/`gradle test` in the `/home/ec2-eser/jenkins/workspace/job-name` folder.
I have figured it out with Jenkins and my job already successfully clones the project fro... | How to create a docker-compose file to setup two images correctly? | CC BY-SA 4.0 | null | 2023-03-02T18:48:16.400 | 2023-03-02T18:53:25.673 | 2023-03-02T18:53:25.673 | 9,689,945 | 9,689,945 | [
"java",
"docker",
"jenkins",
"docker-compose"
] |
75,619,699 | 2 | null | 75,614,100 | -1 | null | Problem description on the php [docs](https://www.php.net/manual/en/function.preg-replace.php):
> When using the deprecated e modifier, this function escapes some characters (namely ', ", \ and NULL) in the strings that replace the backreferences. This is done to ensure that no syntax errors arise from backreference us... | null | CC BY-SA 4.0 | null | 2023-03-02T18:49:48.640 | 2023-03-02T18:49:48.640 | null | null | 11,051,303 | null |
75,619,705 | 1 | null | null | -3 | 13 | I have a timeseries (small dataset, ~50 datapoints) that I need to calculate the trend (trending up or down).
I see there are numerous libs available in python for this, however I am looking if there are any c++ libraries that I can use, given my codebase is in C++.
Essentially I am looking for something simpler like t... | C++ library to detect trend in a timeseries | CC BY-SA 4.0 | null | 2023-03-02T18:51:05.557 | 2023-03-02T18:51:05.557 | null | null | 2,733,735 | [
"c++",
"time-series",
"linear-regression"
] |
75,619,706 | 2 | null | 276,030 | 0 | null | The correct way to get per-thread locale info on Windows is:
```
_locale_t lct = _get_current_locale();
LogPrintf( "Main: decimal_point is '%s'", lct->locinfo->lconv->decimal_point );
LogPrintf( "Main: mon_decimal_point is '%s'", lct->locinfo->lconv->mon_decimal_point );
LogPrintf( "Main: int_curr_symbol is '%s'", lct-... | null | CC BY-SA 4.0 | null | 2023-03-02T18:51:05.710 | 2023-03-02T18:51:05.710 | null | null | 6,784,485 | null |