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,617,316 | 2 | null | 30,821,125 | 0 | null | I just got a similar error. A working form started to fail on the @html.AntiForgeryToken().
It turned out to be one of the lines of html I added:
<a href=# onclick="@(Html.Raw(String.Format("EditCrops({0})",@ViewBag.ContactId)))">Alternate Contacts
When I commented out this line of html, it worked again.
| null | CC BY-SA 4.0 | null | 2023-03-02T15:06:53.150 | 2023-03-02T15:06:53.150 | null | null | 4,215,128 | null |
75,617,310 | 1 | null | null | 0 | 26 | Having A Lazy column on which item can be deleted by dragging the item from end to start.
It is dragging when item is not deleted but the item that takes the place of deleted stop dragging.
```
@Composable
fun DraggableCardComplex(
isRevealed: Boolean = false,
product: order, onClick: () -> Unit,
offset: Float = CARD_O... | Composable is not dragging after deletion of item lazyColumn | CC BY-SA 4.0 | null | 2023-03-02T15:06:26.263 | 2023-03-03T12:14:31.137 | null | null | 8,279,321 | [
"android",
"animation",
"android-jetpack-compose",
"offset",
"drag"
] |
75,617,315 | 2 | null | 75,617,314 | 0 | null | At the moment it is not possible to do that. You could click on each node and click "Expand" but that would take time and it is not efficient at all.
A possible workaround is with Cypher. let's say you have a Cypher query that returns nodes and edges that are your base for the graph view, e.g.
This is on a [Pandora Pap... | null | CC BY-SA 4.0 | null | 2023-03-02T15:06:39.683 | 2023-03-02T15:06:39.683 | null | null | 20,192,988 | null |
75,617,319 | 2 | null | 58,433,248 | 0 | null | `Error: spawn node_modules/webpack/bin/webpack.js EACCES` indicates that this same file has no execution rights. I had the same error, and when I added the execution rights it worked.
| null | CC BY-SA 4.0 | null | 2023-03-02T15:07:04.720 | 2023-03-02T15:07:04.720 | null | null | 1,768,033 | null |
75,617,321 | 1 | 75,617,747 | null | 0 | 37 | Hi I'm a beginner on Flutter is there any way to initialize a varirable with another variable that's declared above it ?
| is there any way to initialize a varirable with another variable that's declared above it? | CC BY-SA 4.0 | null | 2023-03-02T15:07:12.763 | 2023-03-02T15:45:41.400 | 2023-03-02T15:12:54.017 | 10,157,127 | null | [
"flutter",
"dart"
] |
75,617,322 | 1 | null | null | 0 | 31 | I have an apache server running on a kubernetes pod. I have a requirement where the API running on the web-server has to SSH into a Linux server that is independent/not related to the kubernetes cluster.
Usually, if the apache server runs on a linux server, for the process to SSH into a different linux server, i use S... | How to SSH from a Kubernetes pod into a server | CC BY-SA 4.0 | null | 2023-03-02T15:07:19.157 | 2023-03-03T13:25:05.667 | null | null | 13,607,374 | [
"linux",
"kubernetes",
"ssh"
] |
75,617,317 | 2 | null | 75,616,872 | 0 | null | I think there is a problem with your CSS-selector. I personally prefer XPATH. Moreover, `img` elements don't have text (as far as I know). You can get the `alt` attribute instead:
```
import pandas as pd
import time
from selenium import webdriver
from selenium.webdriver.support import expected_conditions as EC
from sel... | null | CC BY-SA 4.0 | null | 2023-03-02T15:06:56.117 | 2023-03-02T15:06:56.117 | null | null | 13,525,512 | null |
75,617,320 | 2 | null | 75,427,186 | 0 | null | Add [JSON JMESPath Extractor](https://jmeter.apache.org/usermanual/component_reference.html#JSON_JMESPath_Extractor) as a child of the request which returns the above JSON and configure it like:
[](https://i.stack.imgur.com/ubimT.png)
This way you will be able to see the following [JMeter Variables](https://jmeter.apac... | null | CC BY-SA 4.0 | null | 2023-03-02T15:07:08.977 | 2023-03-02T15:07:08.977 | null | null | 2,897,748 | null |
75,617,325 | 2 | null | 75,616,188 | 2 | null | Extending the answer provided by @jeffdill2 and your understanding.
Yes, the method `sign_in(:user, self.current_user_token.user)` returns `true` and you are assigning it to `self.current_user` due to which any methods you are expecting to use on the user object would not work.
You can update the logic as below and che... | null | CC BY-SA 4.0 | null | 2023-03-02T15:07:29.083 | 2023-03-02T15:07:29.083 | null | null | 20,998,339 | null |
75,617,318 | 2 | null | 2,007,526 | -1 | null | I stumbled upon `<<` and `>>` during a CodeWars-kata, and to add to previous answers about bit shifting, when using Godbolt's this operation apparently compiles to the same code as `n * 2`.
In C#:
```
class Program
{
static int Multiply(int num) => num * 2;
static int BitShift(int num) => num << 1;
}
```
Com... | null | CC BY-SA 4.0 | null | 2023-03-02T15:06:59.347 | 2023-03-02T15:06:59.347 | null | null | 7,446,401 | null |
75,617,326 | 2 | null | 75,464,974 | 0 | null | My guess is that there's a file somewhere in your project directory that gets updated continually. webpack detects the updates and rebuilds your project each time.
Here are some ways to test this theory:
1. Download a file watcher application and point it at your project directory to see if/which files are being modif... | null | CC BY-SA 4.0 | null | 2023-03-02T15:07:31.280 | 2023-03-02T15:07:31.280 | null | null | 21,315,641 | null |
75,617,324 | 2 | null | 63,503,362 | 0 | null | Bit of an old post, but I've just started on pbiviz and typescript and had to work this out, so hopefully this helps others who come by
You can reference objects from the dataview using find
For example:
```
let days = dataView.categorical.values.find(value => value.source.roles.days === true);
let diametrs = dataView.... | null | CC BY-SA 4.0 | null | 2023-03-02T15:07:25.930 | 2023-03-02T15:07:25.930 | null | null | 19,921,869 | null |
75,617,328 | 1 | null | null | 0 | 19 | ```
public class MyDto
{
[Range(0, int.MaxValue)]
public int Id { get; set; }
}
```
For some reason Swagger shows 2147483647 for `Id` when I click `Try it!`, how to prevent that and just show 0?
| How to prevent Swagger from showing 2147483647 for int property and just show 0? | CC BY-SA 4.0 | null | 2023-03-02T15:07:40.380 | 2023-03-02T15:17:09.253 | null | null | 1,123,020 | [
"asp.net-core",
"swagger"
] |
75,617,313 | 2 | null | 68,907,414 | 1 | null | Very interesting question you have, thanks!
I implemented from scratch fully working Python solution based on following algorithms: [Sieve of Eratosthenes](https://en.wikipedia.org/wiki/Sieve_of_Eratosthenes) (fast generation of primes), [Miller-Rabin Probablity Test](https://en.wikipedia.org/wiki/Miller%E2%80%93Rabin_... | null | CC BY-SA 4.0 | null | 2023-03-02T15:06:38.780 | 2023-03-02T17:57:09.910 | 2023-03-02T17:57:09.910 | 941,531 | 941,531 | null |
75,617,327 | 1 | null | null | 0 | 23 | When I merge java code in intellj it seperate things into 3 tab vertical window with a tab for local changes, result and develop. This uses up a huge amount of screen real estate and is impossible to see all the code at once. It would be much preferable to have a 1 screen vertical layout, with the options then choose w... | Change Layout for IntellJ Git Merge/ Resolve conflicts to 1 page vertical view | CC BY-SA 4.0 | null | 2023-03-02T15:07:38.837 | 2023-03-03T17:00:49.310 | null | null | 14,891,347 | [
"java",
"intellij-idea",
"intellij-14"
] |
75,617,329 | 2 | null | 68,973,857 | 0 | null | try to check if you missed this
you should add it as in documentation:
```
[[local|localrc]]
ADMIN_PASSWORD=secret
DATABASE_PASSWORD=$ADMIN_PASSWORD
RABBIT_PASSWORD=$ADMIN_PASSWORD
SERVICE_PASSWORD=$ADMIN_PASSWOR
```
| null | CC BY-SA 4.0 | null | 2023-03-02T15:07:48.720 | 2023-03-02T15:07:48.720 | null | null | 4,737,612 | null |
75,617,330 | 2 | null | 48,107,191 | 0 | null | Try to use any of the following option:
- Python HTML parser```
soup_object= BeautifulSoup(markup,"html.parser")
```
- C dependent parser```
pip install lxml
soup_object= BeautifulSoup(markup,'lxml')
```
or```
pip install html5lib
soup_object= BeautifulSoup(markup,'html5lib')
```
| null | CC BY-SA 4.0 | null | 2023-03-02T15:07:49.223 | 2023-03-02T15:07:49.223 | null | null | 7,103,882 | null |
75,617,323 | 1 | null | null | -1 | 20 | I have a very common scenario, a home page component which takes a prop 'isSignedIn' and either renders it's own content, a sign in form, or if isSignedIn is true, then redirects the user to another page.
I wanted to create a simple test(React 18/jest/RTL) to verify the user is either redirected or content is displaye... | What is the correct way to test react router navigation when triggered from a useEffect hook? | CC BY-SA 4.0 | null | 2023-03-02T15:07:19.803 | 2023-03-02T20:30:21.423 | 2023-03-02T20:30:21.423 | 333,276 | 333,276 | [
"reactjs",
"jestjs",
"react-testing-library"
] |
75,617,332 | 1 | null | null | -1 | 36 | I would like to change this :
```
<a class="disabled">Import</a>
```
Into this :
```
<a href="javascript:importCsv();">Import</a>
```
So I make this code, I'am new to tampermonkey and JS :
```
// ==UserScript==
// @name CSV Import
// @namespace http://tampermonkey.net/
// @version 0.1
// @description ... | Tampermonkey script to change one line of code | CC BY-SA 4.0 | null | 2023-03-02T15:07:54.910 | 2023-03-02T15:32:30.437 | 2023-03-02T15:22:31.820 | 21,319,851 | 21,319,851 | [
"javascript",
"tampermonkey"
] |
75,617,334 | 1 | 75,617,478 | null | 0 | 14 | I want to list all images that have `v1` tag. I used the following command
```
ibmcloud cr images
```
but, this command list all images.
| List all images with a special tag in IBM Cloud | CC BY-SA 4.0 | null | 2023-03-02T15:08:03.193 | 2023-03-02T15:22:43.797 | null | null | 7,826,774 | [
"docker",
"kubernetes",
"ibm-cloud"
] |
75,617,335 | 1 | 75,617,668 | null | 0 | 50 | I'm new to Android development.
I'm making a qr code scanning application, I'm trying to filter the scan data and see if it's a link, but I don't know how to do this because I'm very new to kotlin. Does anyone have a solution for this question?
I want to filter the browsing data, if there is "https" in the scan result,... | How to filter string array (Kotlin) | CC BY-SA 4.0 | null | 2023-03-02T15:08:08.517 | 2023-03-03T15:23:10.883 | null | null | 20,020,083 | [
"android",
"kotlin"
] |
75,617,339 | 2 | null | 75,612,316 | 0 | null | We can acheive this by getting height of the page and mulitplying the barpercentage with no of the labels. It will get us percentage which we can convert to px with help of height and then set that height to parent container of canvas.
```
var h = $('body').height() * ((1 * data.labels.length)/100);
t.section.find("#"+... | null | CC BY-SA 4.0 | null | 2023-03-02T15:08:43.400 | 2023-03-02T15:08:43.400 | null | null | 17,251,679 | null |
75,617,336 | 1 | null | null | 0 | 10 |
Unable to connect to server: connection to server at "use1aprdspgdevws3.cpqbxulq89lf.us-east-1.rds.amazonaws.com* (100.64.1.12), port 5432 failed: server closed the connection unexpectedly ×
This probably means the server terminated abnormally before or while processing the request.
I'm using Azure Virtual Desktop as ... | Unable to connect to server: connection to server at "use1aprdspgdevws3.cpqbxulq89lf.us-east-1.rds.amazonaws.com* | CC BY-SA 4.0 | null | 2023-03-02T15:08:28.270 | 2023-03-02T15:10:03.833 | 2023-03-02T15:10:03.833 | 9,071,703 | 9,071,703 | [
"postgresql",
"pgadmin-4"
] |
75,617,337 | 2 | null | 75,615,114 | 7 | null | You can find demos for the new ToolsAPI for the IDE editor on GitHub:
[https://github.com/Embarcadero/RADStudio11Demos/tree/main/Object%20Pascal/ToolsAPI/Editor%20Demos](https://github.com/Embarcadero/RADStudio11Demos/tree/main/Object%20Pascal/ToolsAPI/Editor%20Demos)
| null | CC BY-SA 4.0 | null | 2023-03-02T15:08:31.540 | 2023-03-02T16:06:01.750 | 2023-03-02T16:06:01.750 | 65,863 | 189,103 | null |
75,617,340 | 1 | null | null | 0 | 5 | Iam just wonder about what is the real benefit from naming a machine, for example if I have a server for a specific domain `mydomain.com` then why I need to name the machine `mymachine.mydomain.com` ?
I ask this because if we consider I bought a domain which is `mydomain.com` then I can give just my IPs addresses to th... | Server Machine Name usecase | CC BY-SA 4.0 | null | 2023-03-02T15:08:47.010 | 2023-03-02T15:08:47.010 | null | null | 17,396,176 | [
"http",
"https",
"dns",
"hostname",
"nameservers"
] |
75,617,333 | 1 | null | null | 0 | 38 | I have a text file that I am fixing its formatting,
I am trying to detect the line breakers \n and replace it with white space if there is now WSH word after it but kind of stuck of how to read a bunch of bytes then convert it to string while trying to read the char \n itself
maybe something like
```
using (StreamReade... | c# How to detect if a byte is a line break and replace it with a space | CC BY-SA 4.0 | null | 2023-03-02T15:07:58.670 | 2023-03-02T16:37:24.140 | 2023-03-02T16:37:24.140 | 20,206,368 | 20,206,368 | [
"c#",
"string",
"stream",
"byte",
"text-files"
] |
75,617,342 | 2 | null | 75,610,406 | 0 | null | The question is honestly confusing. But based on your desired output I am going to assume that you want to pivot your dataframe so that the channels are columns and the dates are the index.
If for each channel, each date appears only once, this should work:
```
df.set_index(['Channel', 'Date'])['Spend'].unstack('Channe... | null | CC BY-SA 4.0 | null | 2023-03-02T15:08:53.790 | 2023-03-02T15:08:53.790 | null | null | 19,749,937 | null |
75,617,343 | 1 | null | null | 0 | 16 | When I inspect my page I notice the following warning - I know the module it relates to but don't know specifically what to look for in it - anyone know and able to help guide me to the actual error - ie is it a missing ' or something?
Thanks...
```
Uncaught Error: Syntax error, unrecognized expression: /delivery-info/... | Uncaught Error: Syntax error, unrecognized expression: error (custom module) | CC BY-SA 4.0 | null | 2023-03-02T15:08:56.490 | 2023-03-02T15:08:56.490 | null | null | 7,119,843 | [
"jquery",
"wordpress",
"syntax",
"expression"
] |
75,617,344 | 2 | null | 75,616,877 | 0 | null | Generally a map function is very efficient in cases like this. Try using
```
from jax import lax
from jax import numpy as jnp
xs = [jnp.zeros((1, 3)), jnp.zeros((3, 2, 3))] # iterable with different shape elements
ys = [jnp.ones((1, 3)), jnp.ones((3, 2, 3))] # iterable with different shape elements
def f(x, y):
... | null | CC BY-SA 4.0 | null | 2023-03-02T15:09:04.547 | 2023-03-02T15:09:04.547 | null | null | 468,807 | null |
75,617,348 | 1 | null | null | -2 | 19 | I see a few research papers out there that explain how to automatically generate (unsupervised) construct an ontology learning engine, and some software packages that are available, but not any good end to end python code that illustrates ontology learning from end (raw text files) to end (ontology hierarchies.
thank y... | Can anyone point me to some good end to end ontology learning python examples? | CC BY-SA 4.0 | null | 2023-03-02T15:09:46.157 | 2023-03-02T15:09:46.157 | null | null | 20,138,711 | [
"python",
"machine-learning",
"nlp",
"ontology"
] |
75,617,352 | 2 | null | 27,853,571 | 0 | null | For DockerDesktop on MacOS:
"docker system prune -a" cleans up containers and images.
For more cleaning, I had to go to the DockerDesktop task bar icon, to the menu TroubleShoot, and run "Clean / Purge data".
| null | CC BY-SA 4.0 | null | 2023-03-02T15:10:01.567 | 2023-03-02T15:10:01.567 | null | null | 9,847,955 | null |
75,617,350 | 1 | null | null | 0 | 16 | I have error like bellow, when i initialize new next js 13, i see flash during page render and then removes body content 'has been removed', i noticed it occures only in dev mode
edit: I also see, this errors also show when i try open my older projects
[](https://i.stack.imgur.com/aAt9v.png)
I was reading about compone... | Hydration error after initialize Next.js 13 only with app directory | CC BY-SA 4.0 | null | 2023-03-02T15:09:57.347 | 2023-03-02T15:22:54.987 | 2023-03-02T15:22:54.987 | 17,208,196 | 17,208,196 | [
"next.js",
"next"
] |
75,617,345 | 1 | null | null | 0 | 23 | I generate an isolation-by-distance among populations graph with R. On this kind of graph, you have on the x-axis a geographical distance and on the y-axis a genetic distance separating a pair of populations (ie each point corresponds to a pair of populations separated by a certain geographic distance and a certain gen... | How to colour the points of a plot generated with matrices? | CC BY-SA 4.0 | null | 2023-03-02T15:09:09.003 | 2023-03-02T15:44:15.030 | null | null | 21,319,886 | [
"r",
"matrix",
"plot",
"colors",
"conditional-statements"
] |
75,617,351 | 2 | null | 61,771,129 | 0 | null | For completion I'm answering this question so everyone who finds this hopefully will be helped.
Although Mixer doesn't exist anymore this problem can also occur for using XBOX clips (talking off my own experience) taken on 120fps, but also anything else on different fps recorded then what you wanna put out in Premiere... | null | CC BY-SA 4.0 | null | 2023-03-02T15:10:00.973 | 2023-03-02T15:10:00.973 | null | null | 2,170,336 | null |
75,617,331 | 1 | null | null | 0 | 9 | I followed VTK hello world for android and the screen is blank, nothing is rendered.
When I replace the call to c++ with a glClear in java the screen is correctly cleared with glClearColor, so the opengl context exists and works, but when I use the vtk c++ render function it shows a black, blank screen, even if vtkRend... | VTK-master not rendering in android | CC BY-SA 4.0 | null | 2023-03-02T15:07:53.223 | 2023-03-02T15:21:54.593 | 2023-03-02T15:21:54.593 | 18,382,922 | 18,382,922 | [
"android-ndk",
"vtk"
] |
75,617,353 | 2 | null | 61,665,104 | 0 | null | As a workaround you can introduce
```
public class RequestDto
{
public string Code {get;set;}
}
```
and then bind this dto using [FromQueryAttribute](https://learn.microsoft.com/en-us/dotnet/api/microsoft.aspnetcore.mvc.fromqueryattribute) in controller action method
FluentValidation will be able to validate the `... | null | CC BY-SA 4.0 | null | 2023-03-02T15:10:07.680 | 2023-03-02T15:11:30.037 | 2023-03-02T15:11:30.037 | 21,320,028 | 21,320,028 | null |
75,617,341 | 1 | null | null | 0 | 21 | I use boto3 to write data in S3 ()
```
s3.put_object(Body=open("/tmp/file.csv", "rb"), Bucket="arn:aws:s3:eu-west-1:123456789123:foo-bar-staging", Key="foo_barr/to_process/1234.csv", ACL='bucket-owner-full-control')
```
I have this error:
```
[ERROR] ParamValidationError: Parameter validation failed:
Invalid ARN: Unre... | Boto - S3 client put with Invalid ARN: Unrecognized format | CC BY-SA 4.0 | null | 2023-03-02T15:08:47.983 | 2023-03-02T20:34:23.237 | 2023-03-02T20:34:23.237 | 174,777 | 3,535,537 | [
"amazon-web-services",
"amazon-s3",
"boto3"
] |
75,617,347 | 1 | null | null | 0 | 39 | I working with a Laravel API and React SPA. My react app is calling my api with axios.
With a local environnement, there is no problem. But when I try with my production environment, I always get a CORS error. I need help
I already try to use a middleware like this :
```
<?php
namespace App\Http\Middleware;
use Closu... | Access to XMLHttpRequest CORS between LARAVEL & React | CC BY-SA 4.0 | null | 2023-03-02T15:09:16.793 | 2023-03-03T11:11:41.557 | 2023-03-03T11:11:41.557 | 21,319,962 | 21,319,962 | [
"reactjs",
"laravel",
"axios",
"cors"
] |
75,617,360 | 2 | null | 75,617,321 | 1 | null | You can do lazy initialization by adding `late` on second variable declaration like
```
Foo foo = Foo();
late int data= foo.value;
```
| null | CC BY-SA 4.0 | null | 2023-03-02T15:11:27.483 | 2023-03-02T15:11:27.483 | null | null | 10,157,127 | null |
75,617,354 | 1 | null | null | 1 | 21 | I'm a beginner to python, so please be caution with me.
I'm trying to find this on a Website:
```
<div class="price">$ 1.67<span class="discount">-19.71%</span></div>
```
I'm using Selenium like this:
```
#chromedriver
headers = {"User-Agent": 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like ... | Can't find a div-name with Selenium in Pyhon, NoSuchElementException | CC BY-SA 4.0 | null | 2023-03-02T15:10:11.973 | 2023-03-02T21:10:16.397 | null | null | 21,225,395 | [
"python",
"html",
"selenium-webdriver",
"fetch"
] |
75,617,363 | 1 | null | null | 0 | 5 | I'm using the [AndroidUSBCamera](https://github.com/jiangdongguo/AndroidUSBCamera) for connecting with a UVC camera over USB and for some reason the camera preview get freezes sometimes it releases and sometimes it freezes into I restart the app.
I think this happened because the buffer is getting locked and unlocked r... | Camera preview stuck | CC BY-SA 4.0 | null | 2023-03-02T15:11:41.877 | 2023-03-02T15:11:41.877 | null | null | 21,042,063 | [
"android",
"android-camera",
"uvc",
"android-usb"
] |
75,617,361 | 2 | null | 75,617,328 | 0 | null | Swagger uses the data annotations in your C# code to generate the documentation for your API. The `[Range(0, int.MaxValue)]` attribute tells Swagger that the Id property can have any value between 0 and the maximum value of an int.
To specify a default value for the Id property, you can use the [[DefaultValue]](https:/... | null | CC BY-SA 4.0 | null | 2023-03-02T15:11:35.233 | 2023-03-02T15:17:09.253 | 2023-03-02T15:17:09.253 | 5,649,561 | 5,649,561 | null |
75,617,364 | 2 | null | 69,297,525 | 0 | null | Spring boot: 2.7.9 and its embedded tomcat which is above 9.0.0.
I noticed that `server.servlet.contextPath=/my-path` does not work and it picks the executable jar file name which gradle builds. I mean the name of the jar file when we build it (it will get deployed in a openjdk:11-jre-slim container to aws fargate).
Th... | null | CC BY-SA 4.0 | null | 2023-03-02T15:11:42.597 | 2023-03-02T15:11:42.597 | null | null | 1,467,744 | null |
75,617,358 | 1 | null | null | 0 | 9 | I'm developing an app that sends data to Firebase RealTime db.
App must work offline too, so with disk persistence mechanism that this db has, any modification in db will be done after connection is reestablished.
The problem I found is that user has to start the app again in order to trigger pending instructions to db... | Trigger local notification when app is killed | CC BY-SA 4.0 | null | 2023-03-02T15:11:09.220 | 2023-03-02T15:11:09.220 | null | null | 13,085,696 | [
"android",
"firebase-realtime-database",
"notifications"
] |
75,617,307 | 1 | null | null | 0 | 19 | I have an array of questions, each containing underscores at different positions like this:
1. Newton’s __________ Law of Motion states
2. __________ is the product of an object’s mass and velocity.
etc.
My task is to display each question to the user, replacing the underscores with an input box such that they can i... | Why is Angular's Renderer2 producing the wrong results? | CC BY-SA 4.0 | null | 2023-03-02T15:05:55.903 | 2023-03-02T20:08:53.637 | 2023-03-02T16:12:01.053 | 5,618,611 | 5,618,611 | [
"angular"
] |
75,617,366 | 2 | null | 75,605,292 | 0 | null | The reason PostgreSQL needs both a WAL buffer and WAL segment files is that it provides a mechanism for both fast write and reliable persistence.The WAL buffer allows database to quickly log changes to memory without waiting for the slower disk I/O operations which can improve performance. The WAL segment files, provid... | null | CC BY-SA 4.0 | null | 2023-03-02T15:12:18.537 | 2023-03-02T15:12:18.537 | null | null | 11,724,982 | null |
75,617,367 | 1 | null | null | 0 | 10 | When using springdoc-openapi-ui 1.6 in a spring boot 2.7 project, the handler mappings for the `/v3/api-docs` and `/swagger-ui.html` urls have different precedences.
While working on a project that uses spring-integration-http, I noticed that its inbound components has:
- `/v3/api-docs`- `/swagger-ui.html`
In other wor... | Change the precedence of the swagger-ui.html handler mapping | CC BY-SA 4.0 | null | 2023-03-02T15:12:20.750 | 2023-03-02T15:12:20.750 | null | null | 5,873,923 | [
"spring-boot",
"springdoc",
"springdoc-openapi-ui"
] |
75,617,359 | 1 | null | null | 1 | 7 | I have a uiOutput that is dependent on what option the user selects but this does not display when I run the app.
Please see an extract of the app below.
```
text_analytics_UI <- function(id, label = "Name") {
ns <- NS(id)
tagList(
useShinyjs(),
fluidRow(
radioButtons("typeRadio", "C... | My renderUI not working within Shiny module | CC BY-SA 4.0 | null | 2023-03-02T15:11:15.293 | 2023-03-02T16:03:22.743 | null | null | 12,400,326 | [
"shiny",
"module",
"renderui"
] |
75,617,368 | 1 | null | null | 0 | 18 | Getting into using OpenAPI and Swagger for API documentation.
When running the asp.NET core API project locally, Visual Studio pops up a Swagger editor window where a developer can view the endpoints and send requests to them. Requests and responses work correctly this way.
Now, using a different Swagger editor such as... | VS SwaggerUI Popup Recieves Response, Other SwaggerUI Clients Don't | CC BY-SA 4.0 | null | 2023-03-02T15:12:21.693 | 2023-03-03T02:25:52.753 | 2023-03-03T02:25:52.753 | 11,107,541 | 21,319,935 | [
"asp.net-core",
"visual-studio-code",
"openapi",
"swagger-editor"
] |
75,617,372 | 1 | null | null | 0 | 15 | I'm developing a web-based system which needs to integrate with several backends, including a Microsoft Exchange server (as well as a few others). The system runs in an air-gapped intranet, so everything is on-prem, no cloud. We've not yet decided whether we're going to develop using Node.js or PHP, but it won't be ASP... | Pass HTTP-NTLM authentication token through script to Exchange | CC BY-SA 4.0 | null | 2023-03-02T15:12:51.407 | 2023-03-02T15:12:51.407 | null | null | 1,996,662 | [
"authentication",
"iis",
"passwords",
"exchange-server",
"ntlm"
] |
75,617,371 | 1 | 75,617,600 | null | 1 | 18 | Following the [Key Remapping example on the typescript documentation](https://www.typescriptlang.org/docs/handbook/2/mapped-types.html#key-remapping-via-as), is there a way to inherit property annotations of the initial Type ?
```
type Prefix<Type, str extends string> = {
[Property in keyof Type as `${str}${Capital... | How to inherit property annotations in Mapped Types with key remapping? | CC BY-SA 4.0 | null | 2023-03-02T15:12:36.827 | 2023-03-02T15:32:56.730 | null | null | 6,040,732 | [
"typescript",
"types",
"annotations",
"jsdoc"
] |
75,617,356 | 1 | null | null | -1 | 18 | I have sign-up, sign-in and account pages. When I correctly sign-up, i have ROLE_USER. But after sign-in page i have 403 error on my account page. When I just write localhost:8080/account i can enter account page. But after sign-in i have 403 error and don't know why. My user saves with ROLE_USER in db but I have 403 e... | Why I have 403 error only after sign-in page? | CC BY-SA 4.0 | null | 2023-03-02T15:10:51.020 | 2023-03-02T15:10:51.020 | null | null | 21,173,829 | [
"spring",
"spring-boot",
"spring-mvc",
"spring-security"
] |
75,617,373 | 1 | null | null | 0 | 6 | I'm trying to understand the following from [Mastering Shiny](https://mastering-shiny.org/action-dynamic.html?q=freeze#freezing-reactive-inputs) in regards to `freezeReactiveValue()`:
> Note that there’s no need to “thaw” the input value; this happens automatically after Shiny detects that the session and server are on... | What does it mean to have the session and server in sync? | CC BY-SA 4.0 | null | 2023-03-02T15:12:55.340 | 2023-03-02T15:12:55.340 | null | null | 12,393,826 | [
"shiny"
] |
75,617,376 | 1 | null | null | 0 | 12 | I am trying to use the S3FileTransformOperator with a file `transform.sh` but I keep hitting a Permission Denied error, more specifically `PermissionError: [Errno 13] Permission denied: '/home/airflow/gcs/plugins/some_plugin/scripts/transform.sh'`
This seems to work both locally and in my self managed Airflow environme... | S3FileTransformOperator Permission Denied Error in Cloud Composer On a Script | CC BY-SA 4.0 | null | 2023-03-02T15:13:08.693 | 2023-03-02T15:13:08.693 | null | null | 9,291,262 | [
"airflow",
"google-cloud-composer"
] |
75,617,381 | 2 | null | 75,384,958 | 0 | null | Recently ran into the above error, maybe the thread here helps --> [https://github.com/facebook/prophet/issues/2354](https://github.com/facebook/prophet/issues/2354)
| null | CC BY-SA 4.0 | null | 2023-03-02T15:13:35.207 | 2023-03-02T15:13:35.207 | null | null | 639,536 | null |
75,617,383 | 2 | null | 75,617,199 | 0 | null | I'd probably take the list of lists and flatten them into one list.
```
# flatten list of lists
ls = [['3aa', '1ss', '2bb'], ['4aa', '5bb'], ['3nn', '9mm', '6cc']]
# iterate through list of lists in a nested loop
flat_ls = []
for i in ls:
for j in i:
flat_ls.append(j)
Table.objects.filter(category__in=fl... | null | CC BY-SA 4.0 | null | 2023-03-02T15:13:35.903 | 2023-03-02T15:13:35.903 | null | null | 11,869,714 | null |
75,617,377 | 1 | 75,621,326 | null | 0 | 42 | In a Databricks SQL endpoint, the SQL like with range operator is not working.
Ex1:-
with Cte_Members AS
( Select '1A' as Memid
union all
Select '2B' as Memid
union all
Select '3C' as Memid
union all
Select 'DD' as Memid
)
select * from Cte_Members where Memid like '[0-9]%'
Result:- 0 records
Ex2:-
with Cte_Members AS
... | Using SQL like with range operator in Databricks | CC BY-SA 4.0 | null | 2023-03-02T15:13:10.893 | 2023-03-03T14:07:32.720 | null | null | 3,309,219 | [
"databricks",
"azure-databricks",
"sql-like",
"databricks-sql"
] |
75,617,385 | 1 | null | null | -2 | 24 | A Python function to print variables and their values is
```
def print_all_vars(fmt_name="%10s"):
for key, value in globals().copy().items():
if not key.startswith("__") and not str(value).startswith("<"):
print(fmt_name%key, value, sep=": ")
two = 2
name = "Ed"
pi = 3.14
print_all_vars()
```
... | Python function to print variable names and values in caller | CC BY-SA 4.0 | null | 2023-03-02T15:13:41.343 | 2023-03-02T15:13:41.343 | null | null | 528,369 | [
"python"
] |
75,617,382 | 2 | null | 75,616,926 | 1 | null | > ```
RewriteCond %{QUERY_STRING} ^category=([0-9]*)&page=1
RewriteRule ^(.*)category=([0-9]*)&page=1$ https://www.example.com/?category=([0-9]*)%1 [R=302,L]
```
The `RewriteRule` (first argument) matches against the URL-path only, not the query string. You are already matching the query string in the `RewriteCond` ... | null | CC BY-SA 4.0 | null | 2023-03-02T15:13:35.813 | 2023-03-02T15:18:58.833 | 2023-03-02T15:18:58.833 | 369,434 | 369,434 | null |
75,617,379 | 1 | 75,617,451 | null | 0 | 19 | I have two elements within a VStack where I would like to line up the boxes equally. I don't understand why they aren't lining up equally as they have the same paddings as one another.
```
VStack(alignment: .leading) {
HStack{
Text("Measurement: ")
.padding(.trailing, 20)... | Align elements equally in VStack | CC BY-SA 4.0 | null | 2023-03-02T15:13:22.717 | 2023-03-02T15:20:15.780 | null | null | 8,023,463 | [
"swift",
"swiftui"
] |
75,617,375 | 2 | null | 75,616,653 | 3 | null | > `size_t``typedef`
No, because although `typedef` is how can define type aliases in code, nothing requires the headers provided by the implementation to use that mechanism to "define" a type. The standard library headers are not even required to be actual files at all (though usually they are). They could, for exa... | null | CC BY-SA 4.0 | null | 2023-03-02T15:13:05.883 | 2023-03-02T15:34:12.627 | 2023-03-02T15:34:12.627 | 2,402,272 | 2,402,272 | null |
75,617,388 | 1 | null | null | 0 | 13 | I want to understand if it's possible to use SSH certificates to sign in to VMs using libssh2
I'm using libssh2_userauth_publickey_fromfile function to authenticate to VM using signed public certificate and I keep getting this error "Public key authentication failed: Username/PublicKey combination invalid".
I also see ... | Does libssh2 library support SSH certificate based authentication? | CC BY-SA 4.0 | null | 2023-03-02T15:13:44.040 | 2023-03-02T15:13:44.040 | null | null | 14,337,934 | [
"rsa",
"ssh-keys",
"libssh2"
] |
75,617,389 | 1 | null | null | 0 | 5 | I have this code snippet in Fabric js where am trying to load image in the canvas. I have a windows where am getting the coordinates and using them to crop image. Once image is cropped and save button clicked, the cropped image should be loaded on the canvas. The issue am currently facing is that cropped image is being... | Loading Cropped Image in the Canvas using Fabric js | CC BY-SA 4.0 | null | 2023-03-02T15:13:48.850 | 2023-03-02T15:13:48.850 | null | null | 16,884,096 | [
"fabric"
] |
75,617,365 | 1 | null | null | 2 | 52 | I'm on a scholar map project. The objective here is to send students to the nearest school possible. But we have really limited place so we need to deal with it. I will mention here the conditions that I want, the data as an example,the desired result, the code that I have put in place which only works partially and th... | Python, pandas iteration from school to student by distance | CC BY-SA 4.0 | null | 2023-03-02T15:11:57.053 | 2023-03-02T18:27:42.597 | null | null | 19,102,680 | [
"python",
"pandas",
"dataframe",
"loops"
] |
75,617,386 | 1 | null | null | 1 | 44 | I have strings inside XML that contain low-order ASCII. Specifically, the EDI contains special characters like char(28), char(29), char(30) (aka File Separator/Group Separator/Record Separator). The way the devs encode it in the XML string, these characters get changed to "", where the x1C is the hex representat... | Using T-SQL Xquery to extract data from XML with low-ascii represented like "&#x1E"? Or just use T-SQL? | CC BY-SA 4.0 | null | 2023-03-02T15:13:42.077 | 2023-03-02T19:05:14.350 | 2023-03-02T19:05:14.350 | 2,029,983 | 484,385 | [
"sql-server",
"xml",
"xquery",
"xquery-sql"
] |
75,617,390 | 2 | null | 75,615,854 | 0 | null | If two part name is not hard requirement then [USE SCHEMA](https://docs.snowflake.com/en/sql-reference/sql/use-schema) should suffice:
> Specifying a database and schema for a user session enables using unqualified object names in SQL statements and queries.
```
USE DATABASE <db_name>;
USE SCHEMA PUBLIC;
SELECT *
FRO... | null | CC BY-SA 4.0 | null | 2023-03-02T15:14:06.943 | 2023-03-02T15:14:06.943 | null | null | 5,070,879 | null |
75,617,399 | 1 | null | null | 0 | 17 | We want to clean up some dead tuples from tables in our application PostgreSql RDS instance. So we are planning to run "Vacuum" command (not Vacuum full) on live DB after taking a Snapshot. Does this have any impact on the application? Do we need to have an application downtime to carry out this activity?
Option 1: Vac... | can I run vacuum on live Postgresql database | CC BY-SA 4.0 | null | 2023-03-02T15:14:46.817 | 2023-03-02T15:14:46.817 | null | null | 1,048,486 | [
"postgresql",
"amazon-rds",
"vacuum"
] |
75,617,387 | 2 | null | 75,614,129 | 1 | null | Something like this?
```
db.createCollection(
"collection",
{
validator: {
$jsonSchema: {
bsonType: 'object',
properties: {
data: {
bsonType: 'object',
additionalProperties: false,
required: [
'dataFieldOne'
],
properties: {
index: {
... | null | CC BY-SA 4.0 | null | 2023-03-02T15:13:42.490 | 2023-03-02T15:13:42.490 | null | null | 646,591 | null |
75,617,392 | 1 | 75,617,891 | null | 0 | 22 | I have multiple triggers on my htmx.
```
<input list="users_list" type="text" name="user_name" class="search-bar" placeholder="Username"
id="user_search_bar"
value=""
hx-trigger="keyup delay:500ms, change"
x-headers='{"X-CSRFToken": "{{ csrf_token }}"}'
hx-post="{% url 'search_user' %}"
hx-targe... | Multiple targets for Htmx | CC BY-SA 4.0 | null | 2023-03-02T15:14:13.740 | 2023-03-02T15:57:51.217 | null | null | 9,606,828 | [
"javascript",
"html",
"htmx"
] |
75,617,396 | 1 | null | null | 0 | 7 | I installed angular universal so my site can be indexed by google and I've had endless errors since, my most recent one is below and I'm simply just running `ng build` at this point.
```
✔ Browser application bundle generation complete.
./src/styles.scss - Error: Module build failed (from ./node_modules/sass-loader/di... | Error after installing @nguniversal/express-engine | CC BY-SA 4.0 | null | 2023-03-02T15:14:37.553 | 2023-03-02T15:14:37.553 | null | null | 6,376,383 | [
"angular",
"webpack",
"sass-loader"
] |
75,617,391 | 1 | null | null | 0 | 17 | I am trying to take a whole paragrapgh and find the postives, neutrals, and negatives of it. I found something on the site.
Link to this is: [Python -extract positive words from a string using sentiment vader](https://stackoverflow.com/questions/43646877/python-extract-positive-words-from-a-string-using-sentiment-vader... | How to get Postive/Negative/Neutral words from a paragrah? | CC BY-SA 4.0 | null | 2023-03-02T15:14:08.523 | 2023-03-03T12:23:22.117 | 2023-03-02T15:40:40.210 | 3,080,723 | 20,501,054 | [
"python",
"nlp",
"nltk",
"sentiment-analysis"
] |
75,617,404 | 2 | null | 74,792,476 | 0 | null | If you use yarn you could do something like `yarn --cwd frontend start`
| null | CC BY-SA 4.0 | null | 2023-03-02T15:15:06.280 | 2023-03-02T15:15:06.280 | null | null | 21,320,046 | null |
75,617,400 | 1 | null | null | 0 | 23 | I'm using IntelliJ IDEA Community edition and i previously used to read decompiled source code with javadoc simply by clicking CTRL + ClassName or methodName or so.
But i have messed up with some settings which i don't remember and therefore can't find it again and now decompiled classes just show me the code with no j... | How to include javadoc into a decompiled code in IntelliJ IDEA? | CC BY-SA 4.0 | null | 2023-03-02T15:14:49.627 | 2023-03-02T15:14:49.627 | null | null | 8,615,942 | [
"java",
"intellij-idea",
"javadoc"
] |
75,617,394 | 1 | 75,617,700 | null | 1 | 22 | I am trying to change the standard `popups` provided with Folium and make these work with a `for loop`. I am using Django.
I succeeded on change the html, following a few tutorials.
However I am struggling to understand how to call the variables in the html.
Quite simply I have a map with a list of locations. If the us... | How to customise Folium html popups in a for loop in python using .format()? | CC BY-SA 4.0 | null | 2023-03-02T15:14:33.487 | 2023-03-02T15:41:52.307 | 2023-03-02T15:41:52.307 | 17,562,044 | 19,003,861 | [
"python",
"django",
"django-views",
"django-templates",
"django-queryset"
] |
75,617,406 | 2 | null | 55,933,956 | 0 | null | You can do it by casting it as string:
```
f"{str(*l)}"
```
| null | CC BY-SA 4.0 | null | 2023-03-02T15:15:14.763 | 2023-03-02T15:15:14.763 | null | null | 9,910,846 | null |
75,617,405 | 2 | null | 75,617,224 | 1 | null | You should find a Node named "InputArguments" (and another one OutputArguments) under you Method Node.
Check the value of this Node, it will help you understand what are the parameters you need to give.
Here an example with the GetMonitoredItems Method Node which is taking 1 parameter (Array[1]) as InputArguments and i... | null | CC BY-SA 4.0 | null | 2023-03-02T15:15:08.607 | 2023-03-02T15:15:08.607 | null | null | 1,716,583 | null |
75,617,398 | 1 | null | null | 0 | 31 | I have a raw HTML that I want to render in a React component. When I open the HTML file, the display is correct but when the same HTML is rendered by React using dangerouslySetInnerHTML, the display changes.
Here is an example:
```
const root = ReactDOM.createRoot(document.getElementById('root'));
txt = '<html> <head>... | Difference between HTML display and React render of same raw HTML | CC BY-SA 4.0 | null | 2023-03-02T15:14:37.670 | 2023-03-02T15:46:36.903 | 2023-03-02T15:46:36.903 | 4,869,863 | 4,869,863 | [
"reactjs"
] |
75,617,414 | 2 | null | 20,877,102 | 0 | null | How to use your code in Unity input field?
I want to try to build the Unity project when the user enter address it will show or list prediction address below input field just like Uber input address.
| null | CC BY-SA 4.0 | null | 2023-03-02T15:15:55.500 | 2023-03-02T15:15:55.500 | null | null | 20,667,326 | null |
75,617,409 | 2 | null | 75,593,340 | 0 | null | Spring Security 6 [has deprecated the usage of](https://docs.spring.io/spring-security/reference/servlet/authorization/architecture.html#_the_authorizationmanager) the `AccessDecissionManager` and `AccessDecisionVoter`.
The recommended approach is to implement an `AuthorizationManager`.
```
public class CustomAuthoriza... | null | CC BY-SA 4.0 | null | 2023-03-02T15:15:20.683 | 2023-03-04T10:15:35.523 | 2023-03-04T10:15:35.523 | 5,277,820 | 1,729,795 | null |
75,617,413 | 1 | null | null | 0 | 16 | I have trouble connecting to [https://github.com/..](https://github.com/..).
When I use git, I could use ssh or gitclone like this:
```
git config --global url."https://gitclone.com/github.com".insteadOf https://github.com
```
In this way, I could use `git clone` anywhere easily.
However, with shards, it reads depende... | How to use `shards install` with SSH or gitclone? | CC BY-SA 4.0 | null | 2023-03-02T15:15:52.773 | 2023-03-03T14:38:22.857 | null | null | 18,470,076 | [
"crystal-lang"
] |
75,617,415 | 2 | null | 75,617,266 | 1 | null | Have you checked that your `form` tag in the template contains the `enctype="multipart/form-data"` attribute? This is required to send the file uploads along. This is probably missing and then the file is "missing" from the form. Since the model and form field are not required, you don't get any validation on it, nor v... | null | CC BY-SA 4.0 | null | 2023-03-02T15:15:57.040 | 2023-03-02T15:15:57.040 | null | null | 973,537 | null |
75,617,407 | 1 | null | null | -3 | 14 | The input is my column description and I want to create the output in a new column named 'Comments' but this column will be appended dynamically by the next part of the code.
| Description | Comments |
| ----------- | -------- |
| 101783POLB-18:CANCEL ITEM M | Contains word Cancel so Abort |
| CANCEL ITEM | Contain... | Filter per word and the output to an coloumn that will be used later | CC BY-SA 4.0 | null | 2023-03-02T15:15:16.833 | 2023-03-02T15:18:08.023 | 2023-03-02T15:18:08.023 | 3,832,970 | 19,107,721 | [
"pandas",
"dataframe",
"numpy"
] |
75,617,374 | 1 | 75,617,520 | null | 1 | 13 | I've a many to many relationship with this tables
Table assets:
| id | name | other fields |
| -- | ---- | ------------ |
| 19 | asset 1 | ... |
| 20 | asset 2 | ... |
| ... | ... | ... |
Branches table:
| id | name | other fields |
| -- | ---- | ------------ |
| 1 | branch 1 | ... |
| 2 | branch 2 | ... | ... | MySQL json_object and json_arrayagg with group by not working as expected | CC BY-SA 4.0 | null | 2023-03-02T15:12:55.963 | 2023-03-02T15:26:15.737 | null | null | 2,329,296 | [
"mysql",
"mysql-json"
] |
75,617,416 | 1 | null | null | 1 | 18 | I have two modules in my Kotlin Multiplatform project
- shared- lib
where "lib" module has API dependency on "shared" module.
```
sourceSets {
all {
dependencies {
api(project(":shared"))
}
}
...
}
```
I am using legacy compiler (project is quite huge, cannot migrate to IR easil... | Kotlin Multiplatform generate single JS from multiple modules | CC BY-SA 4.0 | null | 2023-03-02T15:16:04.753 | 2023-03-02T15:16:04.753 | null | null | 19,263,624 | [
"kotlin",
"kotlin-multiplatform"
] |
75,617,403 | 1 | null | null | 0 | 13 | I'm trying to intercept any httpError 401 and resending the Request again with an updated Auth Token. Similair to the following Problem: [Angular 4 Interceptor retry requests after token refresh](https://stackoverflow.com/questions/45202208/angular-4-interceptor-retry-requests-after-token-refresh)
The Main struggles I ... | How to refresh Authentication Token silently and resend HttpRequest | CC BY-SA 4.0 | null | 2023-03-02T15:15:03.787 | 2023-03-02T15:15:03.787 | null | null | 4,334,953 | [
"angular",
"observable"
] |
75,617,417 | 1 | null | null | -1 | 20 | I am trying to wait for the receipt as long as my transaction is valid.
At the moment, I use the `TransactionReceiptQuery` method in a loop, and after each 'failing' query I wait 2 seconds before retrying.
Is there a better way to wait for the receipt as long as the transaction is valid (without using a loop)? And do I... | How to avoid using a loop query to get the result for a transaction? | CC BY-SA 4.0 | null | 2023-03-02T15:16:22.610 | 2023-03-03T16:49:25.750 | null | null | 6,584,849 | [
"javascript",
"hedera-hashgraph"
] |
75,617,421 | 2 | null | 75,615,281 | 0 | null | In order for the changes to your DataSet class to be detected by the DataGrid you need to implement INotifyPropertyChanged in DataSet so that the PropertyChanged event fires when the property is changed.
| null | CC BY-SA 4.0 | null | 2023-03-02T15:16:28.987 | 2023-03-02T15:16:28.987 | null | null | 85,534 | null |
75,617,419 | 2 | null | 73,425,713 | 0 | null | You can add:
```
extension AsyncStream {
init<Sequence: AsyncSequence>(_ sequence: Sequence) where Sequence.Element == Element {
self.init {
var iterator: Sequence.AsyncIterator?
if iterator == nil {
iterator = sequence.makeAsyncIterator()
}
re... | null | CC BY-SA 4.0 | null | 2023-03-02T15:16:26.963 | 2023-03-02T15:57:38.963 | 2023-03-02T15:57:38.963 | 1,041,469 | 1,041,469 | null |
75,617,423 | 2 | null | 5,508,159 | 0 | null | In our software I changed 2000 data bindings that were using converters with datatriggers in the style. (VisibleIfTrueConverters mostly)
Unfortunately it didn't make any performance difference. Not even in ItemsControls and ListBoxes with a huge amount of controls that could be Visible or Collapsed. The view loaded 8 s... | null | CC BY-SA 4.0 | null | 2023-03-02T15:16:48.923 | 2023-03-02T15:16:48.923 | null | null | 4,209,948 | null |
75,617,420 | 1 | null | null | 0 | 16 | Mission Control shows:
- -
For id 301, the log shows:
```
[2023-03-02T14:55:45.298+0000][info ][gc,cpu ] GC(301) User=24.55s Sys=0.85s Real=0.64s
```
I have 2.59s (which would be 2.595 truncated and not rounded to 2.60) for id=303:
```
[2023-03-02T14:56:49.677+0000][info ][gc,cpu ] GC(303) User=37.38s S... | Why does Mission Control show a different GC time to the GC log for a given GC ID? | CC BY-SA 4.0 | null | 2023-03-02T15:16:27.317 | 2023-03-02T15:16:27.317 | null | null | 844,123 | [
"java",
"g1gc",
"java-mission-control"
] |
75,617,412 | 1 | 75,617,561 | null | 0 | 21 | I have a table that looks like
| ID | DATE | FIRST_NAME | H&P |
| -- | ---- | ---------- | --- |
| 12 | 2023-02-01 | JESSICA | 40 |
| 99 | 2023-02-03 | MINA | 98 |
| 12 | 2023-01-14 | JACK | 12 |
I've created another table containing these columns as columns
by doing
```
SELECT ID, OBJECT_CONSTRUCT(*) as detail... | Making json keys lowercase Snowflake | CC BY-SA 4.0 | null | 2023-03-02T15:15:52.130 | 2023-03-02T15:43:06.990 | 2023-03-02T15:41:41.763 | 12,981,397 | 12,981,397 | [
"json",
"object",
"snowflake-cloud-data-platform",
"case-sensitive",
"lowercase"
] |
75,617,418 | 1 | null | null | 0 | 25 | I want to create a registry of objects that all implement some trait. So the Registry struct has a register function. But if I declare it returning void type, I can only register one object, then borrow issue for the second one. I found a work around: the register function returns self as mutable, then I an reuse the r... | Work around borrow issue generates ugly code to implement a registry of objects. Is there another way? | CC BY-SA 4.0 | null | 2023-03-02T15:16:26.380 | 2023-03-02T15:30:28.927 | 2023-03-02T15:21:14.233 | 442,760 | 4,728,133 | [
"rust",
"registry",
"traits",
"ownership",
"borrow"
] |
75,617,424 | 1 | 75,617,633 | null | 0 | 18 | How to measure size of response data of multiple http samplers in JMeter. I need to find the individual size of all http sampler during the load, not for overall.
I am using Beanshell sampler but it is giving overall size not individual for each sampler.
```
import java.util.io.*;
import java.lang.io.*;
test = prev.get... | How to measure response size data for individual sampler during load test | CC BY-SA 4.0 | null | 2023-03-02T15:16:49.970 | 2023-03-02T15:36:00.400 | null | null | 11,857,347 | [
"jmeter",
"performance-testing",
"load-testing",
"jmeter-plugins",
"beanshell"
] |
75,617,422 | 1 | null | null | 0 | 30 | Hi I have a script that uses the following code:
```
if (longCondition or ta.crossover(secondlongentryprice, sstoploss)) and inDateRange and is_entry_session
```
For the I was using close as the candle value but it was repainting sometimes.
My programmer told me that using or as the value instead should fix the pro... | Repainting when using 'close' for crossover/under | CC BY-SA 4.0 | null | 2023-03-02T15:16:36.030 | 2023-03-03T09:40:25.913 | 2023-03-03T09:40:25.913 | 5,577,188 | 21,320,001 | [
"pine-script",
"trading",
"back-testing",
"crossover"
] |
75,617,429 | 2 | null | 68,062,057 | 0 | null | ```
$table->string('name', 1000);
```
Ref: [https://laravel.com/docs/8.x/migrations#column-method-string](https://laravel.com/docs/8.x/migrations#column-method-string)
| null | CC BY-SA 4.0 | null | 2023-03-02T15:17:25.090 | 2023-03-02T15:17:25.090 | null | null | 11,152,549 | null |
75,617,426 | 2 | null | 75,615,750 | 1 | null | So, it turns out that my Hull and Domain shaders were using Shader Model 4, when 5 is required. It is now fixed.
I also had the issue of referring to the constData struct and not the constData function, so that also sucks. Anyways, I can now render tessellated surfaces based on distance to the camera and the edge lengt... | null | CC BY-SA 4.0 | null | 2023-03-02T15:16:56.797 | 2023-03-02T15:16:56.797 | null | null | 16,878,334 | null |
75,617,431 | 2 | null | 37,023,774 | 0 | null | #use dfs
def partition(s):
result = []
n = len(s)
```
def dfs(st, so_far):
if st == n:
result.append(so_far)
return
for i in range(st, n):
dfs(i+1, so_far + [s[st:i+1]])
dfs(0, [])
return result
```
print(partition('abcd'))
| null | CC BY-SA 4.0 | null | 2023-03-02T15:17:37.850 | 2023-03-02T15:19:32.363 | 2023-03-02T15:19:32.363 | 5,212,126 | 5,212,126 | null |
75,617,428 | 1 | null | null | 0 | 28 | I have a simple ansible playbook where my `when` statement is not getting evaluated. I cannot use jinja templating I assume. I think the problem is with
```
- name: Delete mon
hosts: localhost
vars:
nondash_pods: ""
gather_facts: false
tasks:
- block:
- name: Get size and storage class of the curr... | Evaluate list element in when clause | CC BY-SA 4.0 | null | 2023-03-02T15:17:08.560 | 2023-03-02T15:23:57.747 | 2023-03-02T15:23:57.747 | 9,401,096 | 5,996,587 | [
"ansible"
] |
75,617,433 | 2 | null | 75,585,114 | 0 | null | Thank you for the solution! I found another as well by creating a new merged table via an inner join in Power Query:
[](https://i.stack.imgur.com/oxSuY.png)
[](https://i.stack.imgur.com/eSqAD.png)
[](https://i.stack.imgur.com/D4CG5.png)
| null | CC BY-SA 4.0 | null | 2023-03-02T15:17:41.040 | 2023-03-02T15:17:41.040 | null | null | 11,234,048 | null |
75,617,434 | 2 | null | 75,614,370 | 1 | null | Give the button a background color and it'll go away:
```
<button type="button" class="bg-white flex items-center rounded-md text-xs text-gray-500 underline outline-none focus:ring-1 focus:ring-indigo-500 focus:ring-offset-4">preview email</button>
```
| null | CC BY-SA 4.0 | null | 2023-03-02T15:18:10.263 | 2023-03-02T15:18:10.263 | null | null | 16,646,078 | null |