79498579

Date: 2025-03-10 16:29:05
Score: 1.5
Natty:
Report link

If you are in the VBA editor but not currently running a macro then you can type the following command into an Immediate window:

?ThisWorkbook.FullName
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: mulehide

79498578

Date: 2025-03-10 16:28:05
Score: 2
Natty:
Report link

I think AWS Gateway blocks many headers in the request. You'll need to make it so that it lets them through. I think it's part of the API Gateway -> method -> integration request -> HTTP headers.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Spyros Argalias

79498576

Date: 2025-03-10 16:27:04
Score: 3
Natty:
Report link

Well, how about activting an environment, to begin with?

https://www.anaconda.com/docs/tools/working-with-conda/environments#activating-an-environment

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • High reputation (-2):
Posted by: Martin Zeitler

79498569

Date: 2025-03-10 16:23:04
Score: 1.5
Natty:
Report link

Wow, I'm so tired of these hipsters. They don't totally get it either, most of them that is according to Einstein. If you can explain it to a 5 year old and all... jerks.

Hope the couple nicer guys made it clear enough (though they too were being snide). I'm tired of working with people like this at Intel, then Facebook, now their mom's house. It's so boring and expected but what should I expect, they said I would hate people after getting out of the army. Nice to see what I fought for is this, bleck... no wonder China and ever other country is whooping our butt's in the IT sphere with help like this.

Kthanksbye

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Cody Spill

79498568

Date: 2025-03-10 16:23:04
Score: 3
Natty:
Report link

sometimes you just need to stop the apps and re run the project

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Anan Alfred

79498558

Date: 2025-03-10 16:14:02
Score: 1
Natty:
Report link

As suggested in the GitHub Discussion, it was a problem with the webserver configuration. I'm using a custom docker image and nginx proxy on local. I was able to fix it by adding the header in nginx.conf:

add_header X-Inertia "true";
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: murcoder

79498542

Date: 2025-03-10 16:05:00
Score: 1.5
Natty:
Report link

How about using a ee.Join to do a join?

var point = ee.Geometry.Point([-94.73665965557193, 35.915990354302]);

print('Point Geometry:', point);
var startDate = ee.Date('2016-01-01');
var endDate = ee.Date('2016-12-31');

  
var lstDataset = ee.ImageCollection('OREGONSTATE/PRISM/AN81d')
                  .select('tmean')
                  .filterDate(startDate, endDate)
                  .filterBounds(point)
                  .map(function(image) { return image.clip(point); });
print("lstDataset", lstDataset)    

var NTTempdataset = ee.ImageCollection('NASA/VIIRS/002/VNP21A1N')
    .select("LST_1KM") // Select the LST_1KM band
    .filterDate(startDate, endDate) // Filter by date
    .filterBounds(point) // Filter by region
    .map(function(image) {
        return image
            .clip(point) // Clip to the region
            .rename("LST_1KM_Night"); // Rename the band to LST_1KM_Night
    });
print("NTTempdataset", NTTempdataset)      

var joined = ee.Join.saveBest({
  matchKey: 'other',
  measureKey: 'garbage',
  outer: true
}).apply({
  primary: lstDataset, 
  secondary: NTTempdataset, 
  condition: ee.Filter.maxDifference({
    difference: 100000000,
    leftField: 'system:time_start', 
    rightField: 'system:time_start'})
})

// Do something to these:
var withMatches = joined.filter(ee.Filter.neq('other', null))
print(withMatches.size())
// Do something else to these:
var withoutMatches = joined.filter(ee.Filter.eq('other', null))
print(withoutMatches.size())
Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): How
  • Low reputation (0.5):
Posted by: Nicholas Clinton

79498539

Date: 2025-03-10 16:01:59
Score: 1.5
Natty:
Report link

Inline Utility IPs were added in Vivado 2024.2 (I can't see reference to them in 2024.1).

Vivado claims that using these reduces disk usage. I haven't used these yet, but it suggests that they don't get an Out of Context run anymore, and are instead folded into the top level Verilog / VHDL source file that is generated:

https://docs.amd.com/r/en-US/ug994-vivado-ip-subsystems/Inline-HDL

2024.2 and newer will automatically prompt to migrate to these when you open an older project:

https://docs.amd.com/r/en-US/ug994-vivado-ip-subsystems/Migrating-Utility-IPs-to-Inline-HDL

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Dominic Walters

79498535

Date: 2025-03-10 15:59:59
Score: 1
Natty:
Report link

With @chrisaycock answer, I got this working in FreeBSD 4.9 and 14.0 with additional headers.

#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <ifaddrs.h>
#include <stdio.h>

int main()
{
    struct ifaddrs *ifap, *ifa;
    struct sockaddr_in *sa;
    char *addr;

    getifaddrs(&ifap);
    for (ifa = ifap; ifa; ifa = ifa->ifa_next) {
        if (ifa->ifa_addr && ifa->ifa_addr->sa_family == AF_INET) {
            sa = (struct sockaddr_in *) ifa->ifa_addr;
            addr = inet_ntoa(sa->sin_addr);
            printf("Interface: %s\tAddress: %s\n", ifa->ifa_name, addr);
        }
    }

    freeifaddrs(ifap);
    return 0;
}
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @answer
  • Low reputation (1):
Posted by: ordinary_guy

79498518

Date: 2025-03-10 15:54:58
Score: 0.5
Natty:
Report link

I solved the problem with UNBOUND BREAKPOINTS by removing --turbopack from package.json in the scripts section.

PRINTSCREEN

Reasons:
  • Whitelisted phrase (-2): I solved
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: André Ruan

79498517

Date: 2025-03-10 15:54:58
Score: 1.5
Natty:
Report link

Solved inverting the order of updating the layout and the sleep in the update_layout() method of the _Welcome_ class:

#update the page
self.update()
time.sleep(0.05)
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: eljamba

79498508

Date: 2025-03-10 15:49:57
Score: 1
Natty:
Report link

The **"Internal server error"** might be occurring due to the below reasons:

Firstly, make sure that a service endpoint delegation is properly configured between the Function App and the virtual network subnet before integrating them.

Add below service endpoints block under virtual network configuration. If you are using an existing vnet from the portal, you can add it directly over there.

```bash
serviceEndpoints: [
{
service: 'Microsoft.Storage'
locations: [ location ]
}
{
service: 'Microsoft.Web'
}
]
```
Refer [SO](https://stackoverflow.com/a/79290455/19785512) worked by me for the relevant issue.

Also, check the available regions for deploying a flex consumption plan function app and deploy it those regions accordingly.

`az functionapp list-flexconsumption-locations`

![enter image description here](https://i.imgur.com/aXhGFe5.png)

*Modified Bicep code:*

```bash
param location string = 'eastus'
param functionPlanName string = 'asp-japroduct'
param functionAppName string = 'jahappprod'
param functionAppRuntime string = 'dotnet-isolated'
param functionAppRuntimeVersion string = '8.0'
param storageAccountName string = 'mystorejahst'
param logAnalyticsName string = 'worksjah'
param applicationInsightsName string = 'virtualinshg'
param maximumInstanceCount int = 100
param instanceMemoryMB int = 2048
param resourceNameNsgBusiness string = 'nsg-business-enb'
param vnetResourceName string = 'vnetlkenvironment'
param vnetAddressPrefix string = '10.0.0.0/16'
param subnetPrefixBusiness string = '10.0.1.0/24'
param resourceNameSubnetBusiness string = 'subnet--business'
var resourceToken = toLower(uniqueString(subscription().id, resourceGroup().name, location))
var deploymentStorageContainerName = 'app-package-${take(functionAppName, 32)}-${take(resourceToken, 7)}'
var storageRoleDefinitionId = 'b7e6dc6d-f1e8-4753-8033-0f276bb0955b'
resource nsgBusiness 'Microsoft.Network/networkSecurityGroups@2024-01-01' = {
name: resourceNameNsgBusiness
location: location
}
resource vnet 'Microsoft.Network/virtualNetworks@2024-01-01' = {
name: vnetResourceName
location: location
properties: {
addressSpace: {
addressPrefixes: [
vnetAddressPrefix
]
}
enableDdosProtection: false
enableVmProtection: false
}
}
resource subnet 'Microsoft.Network/virtualNetworks/subnets@2024-03-01' = {
parent: vnet
name: resourceNameSubnetBusiness
properties: {
addressPrefix: subnetPrefixBusiness
networkSecurityGroup: {
id: nsgBusiness.id
}
privateEndpointNetworkPolicies: 'Enabled'
privateLinkServiceNetworkPolicies: 'Enabled'
serviceEndpoints: [
{
service: 'Microsoft.Storage'
locations: [ location ]
}
{
service: 'Microsoft.Web'
}
]
}
}

resource logAnalytics 'microsoft.operationalinsights/workspaces@2021-06-01' = {
name: logAnalyticsName
location: location
properties: {
retentionInDays: 30
features: {
searchVersion: 1
}
sku: {
name: 'PerGB2018'
}
}
}

resource applicationInsights 'Microsoft.Insights/components@2020-02-02' = {
name: applicationInsightsName
location: location
kind: 'web'
properties: {
Application_Type: 'web'
WorkspaceResourceId: logAnalytics.id
}
}

resource storageAccount 'Microsoft.Storage/storageAccounts@2023-01-01' = {
name: storageAccountName
location: location
sku: {
name: 'Standard_LRS'
}
kind: 'StorageV2'
properties: {
accessTier: 'Hot'
allowSharedKeyAccess: false
publicNetworkAccess: 'Enabled'
}
}

resource storageAccountName_default 'Microsoft.Storage/storageAccounts/blobServices@2023-01-01' = {
parent: storageAccount
name: 'default'
}

resource storageAccountName_default_deploymentStorageContainer 'Microsoft.Storage/storageAccounts/blobServices/containers@2023-01-01' = {
parent: storageAccountName_default
name: deploymentStorageContainerName
properties: {
publicAccess: 'None'
}
}

resource functionPlan 'Microsoft.Web/serverfarms@2023-12-01' = {
name: functionPlanName
location: location
kind: 'functionapp'
sku: {
tier: 'FlexConsumption'
name: 'FC1'
}
properties: {
reserved: true
}
}

resource functionApp 'Microsoft.Web/sites@2023-12-01' = {
name: functionAppName
location: location
kind: 'functionapp,linux'
identity: {
type: 'SystemAssigned'
}
properties: {
serverFarmId: functionPlan.id
functionAppConfig: {
deployment: {
storage: {
type: 'blobContainer'
value: 'concat(storageAccount.properties.primaryEndpoints.blob, deploymentStorageContainerName)'
authentication: {
type: 'SystemAssignedIdentity'
}
}
}
scaleAndConcurrency: {
maximumInstanceCount: maximumInstanceCount
instanceMemoryMB: instanceMemoryMB
}
runtime: {
name: functionAppRuntime
version: functionAppRuntimeVersion
}
}
siteConfig: {
appSettings: [
{
name: 'AzureWebJobsStorage__accountName'
value: storageAccountName
}
{
name: 'APPLICATIONINSIGHTS_CONNECTION_STRING'
value: applicationInsights.id
}
]
}
}
}

resource Microsoft_Storage_storageAccounts_storageAccountName_storageRoleDefinitionId 'Microsoft.Authorization/roleAssignments@2020-04-01-preview' = {
scope: storageAccount
name: guid(storageAccount.id, storageRoleDefinitionId)
properties: {
roleDefinitionId: resourceId('Microsoft.Authorization/roleDefinitions', storageRoleDefinitionId)
principalId: functionApp.identity.principalId
}
}
param deployTime string = utcNow('u')

var serviceSasToken = storageAccount.listServiceSas(
storageAccount.apiVersion, {
signedResource: 'b'
signedPermission: 'rl'
canonicalizedResource: string('/blob/${storageAccountName}/artifacts')
signedExpiry: dateTimeAdd(deployTime, 'PT1H')
}
).serviceSasToken

var artifactUrl = 'https://${storageAccountName}.blob.${environment().suffixes.storage}/artifacts/${deploymentStorageContainerName}?${serviceSasToken}'

resource functionOneDeploy 'Microsoft.Web/sites/extensions@2024-04-01' = {
parent: functionApp
name: 'onedeploy'
properties: {
packageUri: artifactUrl
remoteBuild: false
}
}
```
*Deployment succeeded:*

![enter image description here](https://i.imgur.com/LHrbgq9.png)

![enter image description here](https://i.imgur.com/xNp1xqX.png)

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Blacklisted phrase (1): enter image description here
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • High reputation (-1):
Posted by: Jahnavi

79498495

Date: 2025-03-10 15:44:56
Score: 4
Natty:
Report link

Sorry this is put as an answer as I can't comment due to the rep requirement, but I think you need to use the GraphQL API instead of REST.

Reasons:
  • RegEx Blacklisted phrase (1): can't comment
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: beepyDev

79498462

Date: 2025-03-10 15:32:53
Score: 1
Natty:
Report link

Here's a single formula that works using BYROW.

=BYROW(A2:D4,LAMBDA(r,TEXTJOIN(",",1,MAP(UNIQUE(TOCOL(r)),LAMBDA(_,IF(COUNTIF(r,_)>1,COUNTIF(r,_),))))))
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: bricks96

79498460

Date: 2025-03-10 15:32:53
Score: 2.5
Natty:
Report link

The issue had nothing to do with using htmx incorrectly, I'm posting this as an answer in case someone has this bizzare issue as well.

There were 4 scripts sourced in the layout, among them htmx.js... Additionally, there was a small script sourced in the view from which the form is submitted. I use that to toggle a modal: <script src=~/js/modal.js" />.

Get this: This script prevented htmx.js (but not any of the other scripts) from loading. The fix? Changed it to <script src=~/js/modal.js"></script>

Since self-closing script tags are not allowed in html, everything up to the </script> of the htmx script was ignored. Somehow the modal.js script was completely intact and a bunch of missing closing tags for various divs and main were not an issue.

Reasons:
  • RegEx Blacklisted phrase (1.5): fix?
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: dave

79498458

Date: 2025-03-10 15:31:53
Score: 0.5
Natty:
Report link

I figured it out. I just needed to replace @Data with @Getter and @Setter and I didn't needed to override equals(), hashcode() or toString().

Reasons:
  • Whitelisted phrase (-2): I figured it out
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: chuchodal freder

79498453

Date: 2025-03-10 15:29:52
Score: 0.5
Natty:
Report link

To fix the issue, update your .attr() method to include:

.attr({
    zIndex: 4,
    fill: 'black', 
    stroke: 'white', 
    "stroke-width": 0.75
})

Demo:
https://jsfiddle.net/BlackLabel/ycxvfpoe/

Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • High reputation (-1):
Posted by: magdalena

79498447

Date: 2025-03-10 15:26:52
Score: 0.5
Natty:
Report link

It turns out the latest androidbrowserhelper-billing version(1.0.0-alpha11) only supports android billing version 6. The latest version is 7 and not compatible with the browser helper version.

I had to downgrade the android billing version to v6 and now it works.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • High reputation (-1):
Posted by: Gareve

79498446

Date: 2025-03-10 15:26:51
Score: 7 🚩
Natty:
Report link

I didn't find the ".git" folder on my project. I can see the ".gitattributes" and ".gitignore". please help me

Reasons:
  • Blacklisted phrase (1): help me
  • RegEx Blacklisted phrase (3): please help me
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Teja Reddy

79498444

Date: 2025-03-10 15:25:51
Score: 3.5
Natty:
Report link

Found solution add

let sliderMinValue = document.getElementById(“slider-1”).min;

than you can use

percent1 = Math.round( 100 * ( ( sliderOne.value – sliderMinValue ) / ( sliderMaxValue – sliderMinValue ) ) ) – 0.5;
percent2 = Math.round( 100 * ( ( sliderTwo.value – sliderMinValue ) / ( sliderMaxValue – sliderMinValue ) ) ) + 0.5;

But there is another problem. It does not work on mobile. Do you have any advice please?

Reasons:
  • Whitelisted phrase (-1.5): you can use
  • RegEx Blacklisted phrase (2.5): Do you have any
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Tomáš Rejka

79498442

Date: 2025-03-10 15:25:51
Score: 1.5
Natty:
Report link

When creating a new conda venv as per your explaination within PyCharm, you should set the type to conda and set the path to conda.exe , and not python.exe .

enter image description here

Alternatively, you can create a new conda environment with the Command Line and chose it in PyCharm with "select existing". Again, you have to set the type to Conda , specify the path to conda.exe and can then select the existing environment from the dropdown.

enter image description here

Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Starts with a question (0.5): When
  • Low reputation (0.5):
Posted by: xArbisRox

79498439

Date: 2025-03-10 15:23:50
Score: 3
Natty:
Report link

you have to be more specific if I am going to help you with rofi, now whats rofi, you have to be more specific if that specificity is in a topic that I don't know what it is, is it like toffee?? i know toffee, that sounds yummy, but not specific!!!

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Kirk Server

79498437

Date: 2025-03-10 15:23:50
Score: 0.5
Natty:
Report link

NOTE : Most automated snapshots are stored in the cs-automated repository. If your domain encrypts data at rest, they're stored in the cs-automated-enc repository.

RUN these commands to restore automated snapshots taken by aws opensearch

just login into your aws elastic search domain
run command

  1. curl -XGET '_snapshot?pretty' ==> this will list all repos in my case it is cs-automated-enc where aws opensearch stores all automated snapshots

  2. curl -XGET 'domain-endpoint/_snapshot/repository-name/_all?pretty' ==> in repository-name put your repo name like in my case it is cs-automated-enc .

  3. curl -XPOST '_snapshot/repository-name/snapshot-name/_restore' ==> run this command to restore snapshot from repo.

  4. RESTORE a specific index from snapshot : 
    
  5. POST _snapshot/my_repository/my_snapshot_2099.05.06/_restore
    {
      "indices": "my-index,logs-my_app-default"
    }
    
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: atul bhandari

79498432

Date: 2025-03-10 15:20:49
Score: 3.5
Natty:
Report link

You are here trying to use snmalloc with LLVM_INTEGRATED_CRT_ALLOC on Windows but facing issue a fatal error:

fatal error: snmalloc/snmmlloc.h: No such file or directory

If possible please share your cmake command.
correct cmake as per me would be

Correct CMake Command

cmake -G "Visual Studio 17 2022" -A x64 -DLLVM_INTEGRATED_CRT_ALLOC="D:\git\snmalloc" <other-cmake-options>

Try a Clean Build

Delete CMakeCache.txt and CMakeFiles before retrying:

  1. rm -rf CMakeCache.txt CMakeFiles CopyEdit
    

Enable Verbose Output to Debug

cmake --trace-expand
cmake --debug-output
make VERBOSE=1

Also, you can check the CMakeCache.txt

LLVM_INTEGRATED_CRT_ALLOC:PATH=D:/git/snmalloc

This line should be present

I will also suggest if possible please start using wsl on windows for Linux build.

Reasons:
  • RegEx Blacklisted phrase (2.5): please share your
  • RegEx Blacklisted phrase (1): I will also suggest if possible please
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: abhinav tiwari

79498427

Date: 2025-03-10 15:18:49
Score: 4
Natty:
Report link

How did you come to this conclusion? "Somehow this generates an error when Googlebot tries to index the pages and the error causes the Nuxt client-side code to show the 404 page."

We're currently having the same issue after upgrading Nuxt 3.9.3 to Nuxt 3.15.4 and upgrading major versions;

"@nuxtjs/i18n": "9.1.5",
"@nuxtjs/sitemap": "^7.2.4",
Reasons:
  • Has code block (-0.5):
  • Me too answer (2.5): having the same issue
  • Contains question mark (0.5):
  • Starts with a question (0.5): How did you
  • Low reputation (1):
Posted by: Jordy ten Den

79498425

Date: 2025-03-10 15:17:48
Score: 0.5
Natty:
Report link

You would need to use a global because lwgeom_set_handlers belongs to the global context, i.e. it is not part of an object that can have it's own separate state.

Consider this workflow:

A:

  1. we decide to use pool_1 to allocate memory; this is SomeInfo pool_1

  2. call lwgeom_set_handlers to use allocator pointing to pool_1

  3. lwgeom now does a bunch of stuff and want to allocate 12 objects, it will call the allocator set above and 12 objects get allocated form pool_1

B:

  1. now we want to use pool_2

  2. call lwgeom_set_handlers to use allocator pointing to pool_2

  3. lwgeom need to allocate 4 objects and does that with above allocator from pool_2

Implementation:

A:

  1. assign active_pool = &pool_1;

  2. do stuff with lwgeom library that requires allocation

B:

  1. create pool_2 in case it was not created above

  2. assign active_pool = &pool_2;

  3. do stuff with lwgeom library that requires allocation

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: saintMath

79498418

Date: 2025-03-10 15:15:48
Score: 2.5
Natty:
Report link

use npm install mammoth --save

<ngx-doc-viewer [url]="docBlob" viewer="mammoth">

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Sri Vallapu

79498404

Date: 2025-03-10 15:11:47
Score: 0.5
Natty:
Report link

There are a lot of background colors that you can modify. Check your Styles.xaml.

below is a sample.

<Style TargetType="Page" ApplyToDerivedTypes="True">
        <Setter Property="BackgroundColor" Value="{AppThemeBinding Light={StaticResource BackgroundColor}, Dark={StaticResource Black}}" />
</Style>
    
<Style TargetType="Shell" ApplyToDerivedTypes="True">
        <Setter Property="Shell.BackgroundColor" Value="{AppThemeBinding Light={StaticResource Primary}, Dark={StaticResource Gray950}}" />
</Style>

<Style TargetType="NavigationPage">
        <Setter Property="BarBackgroundColor" Value="{AppThemeBinding Light={StaticResource Primary}, Dark={StaticResource Gray950}}" />
</Style>

<Style TargetType="TabbedPage">
        <Setter Property="BarBackgroundColor" Value="{AppThemeBinding Light={StaticResource White}, Dark={StaticResource Gray950}}" />
</Style>

Is this what are you looking for?

Hope that helps!

Reasons:
  • Whitelisted phrase (-1): Hope that helps
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: Isidoros Moulas

79498398

Date: 2025-03-10 15:09:46
Score: 0.5
Natty:
Report link
mylist = ['a', 'b', 'c']
multiplicity = {0: 3, 2: 2}

result_list = []
for i in range(len(mylist)):
    num_repetions = multiplicity.get(i, 1)
    for _ in range(num_repetions):
        result_list.append(mylist[i])

print(result_list)

Outputs ['a', 'a', 'a', 'b', 'c', 'c']

The code describes itself.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Ammar

79498394

Date: 2025-03-10 15:07:46
Score: 1.5
Natty:
Report link

Did you try to change what the error expects? I mean the incorrect value of the field "method" in the export.plist, possible values are: app-store, ad-hoc, enterprise, development.

Reasons:
  • Whitelisted phrase (-2): Did you try
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (1):
Posted by: Ledokol

79498389

Date: 2025-03-10 15:06:45
Score: 1
Natty:
Report link

Looking at your error "Could not convert socket to TLS", you're having a TLS negotiation issue with your SMTP server. Here's how to fix it:

Try a different port with proper TLS settings:

prop.put("mail.smtp.port", "587"); // for STARTTLS

Or just copy/paste this:

@PostConstruct
public void initProperties() {
    prop.put("mail.smtp.auth", "true");
    prop.put("mail.smtp.starttls.enable", "true");
    prop.put("mail.smtp.host", "live.smtp.mailtrap.io");
    prop.put("mail.smtp.port", "587");
}

// In your Authenticator:
return new PasswordAuthentication("username", "password");

Disclaimer: I've crafted the answer based on this tutorial.

Reasons:
  • Blacklisted phrase (1): this tutorial
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: ap ye

79498368

Date: 2025-03-10 15:00:44
Score: 1
Natty:
Report link

You can run the command for manual formatting in terminal. But this is not the solution to the problem.

dart format .
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Heike Heinrich

79498367

Date: 2025-03-10 14:59:44
Score: 2.5
Natty:
Report link

Now, we can just create a blue-green deployment. The new green instance should be of lower size(desired) and you can just switch over with your current configuration and reduces size of the disk. No need for dump and restore also.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Nikhil Y N

79498365

Date: 2025-03-10 14:58:43
Score: 0.5
Natty:
Report link

Similar to the problem the guy faced i faced the issue with next/navigation package, it would give me cannot find module or its corresponding types,

what worked for me was giving it the extension '.js'

whilst importing you can just type import and any function name VS code will give a suggestion from where you want to import the function. Just look at the extension and add it at the end of the import statement.

import { useRouter, useSearchParams } from "next/navigation.js";

Reasons:
  • Whitelisted phrase (-1): worked for me
  • No code block (0.5):
  • Low reputation (1):
Posted by: Moksh Jain

79498363

Date: 2025-03-10 14:58:43
Score: 3.5
Natty:
Report link

We're having the same issue. Code that worked on Windows 10 is now not working in Windows 11. In addition, I see that MS sample code for implementing custom dictionaries in GitHub isn't working: https://github.com/microsoft/WPF-Samples/archive/refs/heads/main.zip with the project in Documents/Spell Checking/CustomDictionaries.

In the past in Windows 10 we saw problems where new words in a custom dictionary weren't being recognized due to temporary .dic files building up in the %TEMP%\wpf folder. But clearing these files is no longer fixing the problem. We've also tried clearing Registry entries in Computer\HKEY_CURRENT_USER\Software\Microsoft\Spelling\Dictionaries to no avail.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Me too answer (2.5): having the same issue
  • Low reputation (1):
Posted by: garzooma

79498362

Date: 2025-03-10 14:58:43
Score: 1
Natty:
Report link

As much as I have seen, if you tamper with the files of a .pkpass, Apple Wallet will refuse to open you pass since it "sees" that the checksum of files are different. Although the manifest should do this for you, the signature file also includes the original manifest of the .pkpass. Thus, even if you update the checksums of your files in the manifest file, Apple should still see that the pass has been modified.

I saw that when you adapt the checksums files, Google Wallet will open the altered .pkpass but Apple Wallet won't.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: K e i o

79498359

Date: 2025-03-10 14:57:43
Score: 1
Natty:
Report link

Circular Reference:

Solutions:

  1. Override equals() and hashCode() Carefully:

    • Avoid including relationships (especially bidirectional ones) that can cause cyclic calls in equals() and hashCode(). Use only immutable and unique fields (like the ID).
  2. Fix in News and NewsReactions:

    • Modify both classes to override equals() and hashCode() using only the id field
Reasons:
  • Blacklisted phrase (1): StackOverflow
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: cjia

79498350

Date: 2025-03-10 14:52:42
Score: 1
Natty:
Report link

Looking at pandas.read_sql official documentation it says:

ADBC provides high performance I/O with native type support, where available. Using SQLAlchemy makes it possible to use any DB supported by that library. If a DBAPI2 object, only sqlite3 is supported. The user is responsible for engine disposal and connection closure for the ADBC connection and SQLAlchemy connectable; str connections are closed automatically. See here.

Since you are using SQLAlchemy it handles the closure automatically.

Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Pablo Grande

79498340

Date: 2025-03-10 14:49:41
Score: 1.5
Natty:
Report link

Empty columns and rows can be removed via the suppress option on the crosstab container. If the entire row and or column is empty, missing or zero the supress will remove them from all outputs without the need of JS.

https://www.ibm.com/docs/en/cognos-analytics/11.1.0?topic=cells-use-cognos-analytics-suppression

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Daniel Wagemann

79498336

Date: 2025-03-10 14:48:41
Score: 1.5
Natty:
Report link

To use an array in the WHERE clause, IN (), you need to create as many "?" as there are items in the array. A simple foreach or for loop before the SELECT clause will do. In the loop, for each item in the array, you will add "?" to a string $numberOfItems. So, if there are 4 items in the array, the string will look like this: ?, ?, ?, ?

In place of WHERE code IN (?), it will be WHERE code IN ($numberOfItems), which is equivalent to WHERE code IN (?, ?, ?, ?).

Reasons:
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: yellow_melro

79498324

Date: 2025-03-10 14:43:40
Score: 2.5
Natty:
Report link

For me, the problem was the "includes" array in the tsconfig.json file. The file (in my case a playwright config file) that was throwing the import.meta error was not being picked up. This may seem obvious, but when the error itself points out a module resolution issue, you may forget to check here.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: ashblox

79498306

Date: 2025-03-10 14:35:38
Score: 1
Natty:
Report link

The option server_round_robin in pgbouncer controls this behavior. Set it to 1 to make it balance the backend connections instead of LIFO them.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Single line (0.5):
Posted by: roktechie

79498295

Date: 2025-03-10 14:31:37
Score: 3.5
Natty:
Report link

This github Link on the issue works for me:

[link](github.com/cph-cachet/flutter-plugins/issues/908)

Reasons:
  • Whitelisted phrase (-1): works for me
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Clover99

79498294

Date: 2025-03-10 14:31:37
Score: 0.5
Natty:
Report link

I tried to resolve it "natively" too, but it seems that dropPreviewParametersForRowAt is not called when you are doing drag&drop in the same table view.

Btw, dragPreviewParametersForRowAt is working fine I set something like:

func tableView(_ tableView: UITableView, dragPreviewParametersForRowAt indexPath: IndexPath) ->
UIDragPreviewParameters? {
    let parameters = UIDragPreviewParameters()
    parameters.backgroundColor = .appClear
    
    if let cell = tableView.cellForRow(at: indexPath) {
        parameters.visiblePath = UIBezierPath(roundedRect: cell.bounds, cornerRadius: 10)
    }
    return parameters
}

and dragged cell was nicely rounded.

For the dropping preview, I went with custom view, like so:

Custom Highlight View
final class DragDropHighlightView: UIView {
    
    override init(frame: CGRect) {
        super.init(frame: frame)
        setupView()
    }
    
    required init?(coder: NSCoder) {
        super.init(coder: coder)
        setupView()
    }
    
    private func setupView() {
        isHidden = true
        layer.cornerRadius = 10
        layer.borderColor = UIColor.appSystemBlue.cgColor
        layer.borderWidth = 2
        backgroundColor = .appSystemBlue.withAlphaComponent(0.1)
    }
    
    func setHighlighted(_ highlighted: Bool) {
        isHidden = !highlighted
    }
}

Laying out Highlight View in Table Cell
class AppTableViewCell: UITableViewCell {
    
    // Your other UI and business logic properties...
    //
    //

    private let dragDropHighlightView = DragDropHighlightView()
    
    override init(style: UITableViewCell.CellStyle, reuseIdentifier: String?) {
        super.init(style: .subtitle, reuseIdentifier: reuseIdentifier)
        setupLayout()
        // Your other setup methods
    }
    
    required init?(coder: NSCoder) {
        super.init(coder: coder)
        setupLayout()
    }
    
    // Public method for showing/hiding the highlight view
    func setDragDropHighlighted(_ highlighted: Bool) {
        dragDropHighlightView.setHighlighted(highlighted)
        backgroundColor = highlighted ? .clear : .appSecondarySystemGroupedBackground
    }

    private func setupLayout() {
       // Your other layout setup here
        
       // Using TinyConstraints SDK for Auto Layout
       // Pinning to the edges of the cell our highlight view 
       contentView.addSubview(dragDropHighlightView)
       dragDropHighlightView.edgesToSuperview()
    }
}

My Logic when to show/hide DragDropHighlightView

In the file where I have the Table View I have this property

private var highlightedCell: AppTableViewCell? {
    didSet {
        oldValue?.setDragDropHighlighted(false)
        highlightedCell?.setDragDropHighlighted(true)
    }
}

And at occasions where I need to deselect the cell, I set the property to nil and where I want to actually highlight the cell I set the property with the table cell type. For some more insights see below:

☝️ UITableViewDragDelegate

Hide at (highlightedCell = nil)

func tableView(_ tableView: UITableView, dragSessionDidEnd session: any UIDragSession)

🎯 UITableViewDropDelegate

Hide at highlightedCell = nil:

func tableView(_ tableView: UITableView, dropSessionDidExit session: any UIDropSession)

func tableView(_ tableView: UITableView, performDropWith coordinator: any UITableViewDropCoordinator)

Show at & Hide at:

func tableView(_ tableView: UITableView, dropSessionDidUpdate session: any UIDropSession, withDestinationIndexPath destinationIndexPath: IndexPath?)

guard let indexPath = destinationIndexPathelse {
    // Here I do some extra checks whether I am out of my model's array bounds
    highlightedCell = nil
    return UITableViewDropProposal(operation: .cancel)
}
// Highlight the destination cell
if let cell = tableView.cellForRow(at: indexPath) as? AppTableViewCell {
    highlightedCell = cell
}

So the drop session update can look like this:

func tableView(_ tableView: UITableView, dropSessionDidUpdate session: any UIDropSession, withDestinationIndexPath
destinationIndexPath: IndexPath?) -> UITableViewDropProposal {
  
    guard let indexPath = destinationIndexPath,
          indexPath.section < tableSections.count, // Do the additional check in order to NOT move out of array and crash the app.
          indexPath.row < tableSections[indexPath.section].cells.count else {
        return cancelDropOperation()
    }
    
    let destinationCell = tableSections[indexPath.section].cells[indexPath.row]
 
    // Check if source and destination are the same BUT
    // ⚠️ WARNING Not working though. 🤷
    if let dragItems = session.items.first,
       let sourceFileCell = dragItems.localObject as? FilesCell,
       sourceFileCell.fileURL == destinationFileCell.fileURL {
        highlightedCell = nil
        return UITableViewDropProposal(operation: .cancel)
    }
    
    // Highlight the destination cell
    if let cell = tableView.cellForRow(at: indexPath) as? AppTableViewCell {
        highlightedCell = cell
    }
    return UITableViewDropProposal(operation: .move, intent: .insertIntoDestinationIndexPath)
}

⚠️ WARNING

What I was not able to figure out yet is that when you hover with dragged cell above itself, the highlight view will not disappear and will remain at the last "valid" indexPath, so it's not the best UX. I haven't came up with working logic yet how to compare indexPath of dragged cell with indexPath of "destination" cell.

Reasons:
  • Blacklisted phrase (0.5): I need
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: peetadelic

79498281

Date: 2025-03-10 14:27:36
Score: 1
Natty:
Report link

As usual, I needed to post the question on StackOverflow to find the issue myself one minute later.

The issue was in the linker script: when I removed these two lines I've got the correct first-level handler in place, and my hardware jumped to it upon an IRQ:

_vector_table = ORIGIN(REGION_TEXT) + 0x12340;
_start_trap = ORIGIN(REGION_TEXT) + 0x12340;

Obviously, the drawback is that now I have to rely on linker to locate the handlers, but at least it works somehow. Initially I wanted it to be always at location 0x12340, so that I could put a breakpoint there without doing any math.

It turned out that if I do not define these symbols explicitly in the linker script, I can still define them as extern in my code and it works fine. Below is an example of my overloaded _setup_interrupts :

use riscv::register;

#[unsafe(no_mangle)]
pub extern "Rust" fn _setup_interrupts() {
    unsafe {
        let vectored = false;
        let mtvec = if vectored {
            unsafe extern "C" {
                fn _vector_table();
            }
            let mut mtvec = register::mtvec::Mtvec::from_bits(_vector_table as usize);
            mtvec.set_trap_mode(register::stvec::TrapMode::Vectored);
            mtvec
        } else {
            unsafe extern "C" {
                fn _start_trap();
            }
            let mut mtvec = register::mtvec::Mtvec::from_bits(_start_trap as usize);
            mtvec.set_trap_mode(register::stvec::TrapMode::Direct);
            mtvec
        };

        register::mtvec::write(mtvec);
        ...
    }
}
Reasons:
  • Blacklisted phrase (0.5): I need
  • Blacklisted phrase (1): StackOverflow
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Valeriy Kazantsev

79498279

Date: 2025-03-10 14:26:35
Score: 6.5 🚩
Natty: 5
Report link

Is it possible to define different primary color set for dark and light mode in app.config.ts ? How it is done?

Reasons:
  • Blacklisted phrase (1): Is it possible to
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): Is it
  • Low reputation (1):
Posted by: Rator99

79498266

Date: 2025-03-10 14:20:34
Score: 2
Natty:
Report link

These lines are based on the device's vsync period (desired framerate), usually 16ms (60fps)
And represent a percentage of this period:
Green - 80%
Yellow - 100%
Red - 150%

so for 60fps they are
Green - ~13ms (~78fps)
Yellow - 16ms (60fps)
Red - 24ms (~41fps)

Source:
https://android.googlesource.com/platform/frameworks/base/+/refs/heads/main/libs/hwui/FrameInfoVisualizer.cpp?pli=1#41

so the official documentation is outdated

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Dima Spektor

79498257

Date: 2025-03-10 14:16:33
Score: 1.5
Natty:
Report link

The scene renders fine as long as there is no tag being rendered at all.

This is a little bit unclear...

Generally, is there any specific reason for importing Mesh, BoxGeometry, and MeshLambertMaterial from Three.js and trying to use them directly, instead using primitives provided by R3F (i.e.<mesh>, <boxGeometry>, <meshLambertMaterial>)?

Pay attention to the capitalization of the letters in the components...

https://r3f.docs.pmnd.rs/getting-started/your-first-scene#the-result

This template should works fine, if you still get issues, please provide sandbox.

import React, {Suspense} from 'react';     
// import Button from '../components/Button';
import { Canvas } from '@react-three/fiber';
// import CanvasLoader from '../components/CanvasLoader';
// import { Model } from '../components/Model';
import { OrbitControls } from '@react-three/drei';

const HeroSec = () => { 
  return (
    <Canvas>
      <ambientLight args={[2, 2, 5]} intensity={1} color="#ffffff" />
      <directionalLight args={[0, 0, 10]} intensity={1} color="#ffffff" />
      <OrbitControls /> 
      
      <mesh>
        <boxGeometry args={[2, 2, 2]} />
        <meshLambertMaterial color="#ff0357" />
      </mesh>
    </Canvas>
  );
}
export default HeroSec
Reasons:
  • Blacklisted phrase (1): is there any
  • RegEx Blacklisted phrase (2.5): please provide
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • High reputation (-1):
Posted by: Łukasz Daniel Mastalerz

79498254

Date: 2025-03-10 14:15:33
Score: 1.5
Natty:
Report link

you need define a variable "location" { //whatever goes here, check documentation} somewhere in your terraform so that the tfvars can reference it

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: TheWalkingMalteser

79498248

Date: 2025-03-10 14:12:32
Score: 0.5
Natty:
Report link

cause: mqtt_browser_client was using dart:js_interop which can't be run on a android platform
It was due to mqtt_browser_client my app runs on web and app as well so I implemented mqtt_browser_client for web before clean and upgrade everything was working fine but after that libraries got updated and I was stuck with this bug, I removed all the occurrences of mqtt_browser_client from my app and it starts work again

Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Aman Singhal

79498244

Date: 2025-03-10 14:10:31
Score: 2
Natty:
Report link

You seem to be using some v3 configs with some v4 configs at the same time.

Considering you want to use latest tailwindcss v4 with vite, you do not need to handle PostCSS manually.

Uninstall PostCSS, delete the PostCSS file and follow the steps here.

Your vite file seems to be correct.

Your index.css can lose the old v3 @tailwind directives in favour of the new @import "tailwindcss";

Reasons:
  • No code block (0.5):
  • User mentioned (1): @tailwind
  • User mentioned (0): @import
  • Low reputation (0.5):
Posted by: Frox

79498243

Date: 2025-03-10 14:10:31
Score: 3.5
Natty:
Report link

How does @AppStorage store values on a Mac platform?

Well, if you look up "AppStorage" in Apple's documentation the very first thing it says is:

A property wrapper type that reflects a value from UserDefaults and invalidates a view on a change in value in that user default.

So @AppStorage saves any values so tagged in UserDefaults.

However, after much reading I am given to believe that SwiftUI recreates (redraws?) views frequently.

Yes, but a "view" in SwiftUI isn't the same as a view in AppKit or UIKit -- it's a tiny structure that can be created with very little work.

Does this mean that @AppStorage is reading the preference values from my hard drive frequently?

Probably not. UserDefaults works like a persistent dictionary, but that doesn't mean that it either reads or writes from/to disk every time you access it. You shouldn't assume anything more than what the documentation for that class tells you, but in the past you could call the synchronize() to ensure that any updates were written out, which suggests that UserDefaults does some smart caching of data to reduce disk access. (The docs now say not to call synchronize(), so don't.)

If this is the case, it seems that I should store a copy of the preferences locally, maybe in the app environment as well. Does @AppStorage keep any sort of local copy while the app is running or is it strictly reading form disk?

You are vastly overthinking this. Does your app have a performance problem that you can trace to UserDefaults or AppStorage? If no, stop worrying about it. And if you think you have such a performance problem, be sure to verify that via Instruments or other profiling.

As these values are user options, I don't anticipate that they will be changed all that often.

Then what are you worrying about?

Does anyone have any idea if @AppStorage is disk only storage & retrieval or if there is some local copy lurking around as I run the app?

I have an idea that it's not "disk only" in the sense that even a small amount of profiling will show you that UserDefaults is fast and efficient. Also, it's a class that practically every application on any of Apple's several platforms uses, and one that has been around since the late 1980's (as part of NextStep), so it's something that you can rely on.

Is this even really an issue?

No. Stop worrying.

Reasons:
  • RegEx Blacklisted phrase (3): Does anyone have any idea
  • RegEx Blacklisted phrase (0.5): any updates
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • User mentioned (1): @AppStorage
  • User mentioned (0): @AppStorage
  • User mentioned (0): @AppStorage
  • User mentioned (0): @AppStorage
  • Starts with a question (0.5): How do
  • High reputation (-2):
Posted by: Caleb

79498238

Date: 2025-03-10 14:09:31
Score: 3
Natty:
Report link

Yes, I've encountered the same problem. The purchase of telegram premium helped. This is the only way to get around this 2GB limit.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Bishon

79498237

Date: 2025-03-10 14:07:31
Score: 1
Natty:
Report link

I had a different, but possibly the same root cause. To sort the INDEX issue the only thing that worked was adding a new Date column which was something like [DateSmall] = CAST(DATETIME2 AS Date) So removing TIME. Of course this creates new issues, such as UTC vs local dates, but it did solve teh performance issue.

PS I did try tackling it as an ASCENDING KEY problem, which helped somewhat but only if I updated Stats with Full scan, which on a table with over 3 million inserts per day that wasn't really viable.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: David Singleton

79498236

Date: 2025-03-10 14:07:31
Score: 1.5
Natty:
Report link

It is clear to me that, as sarvesheri says, it is a bug.  However, it didn´t seem quite right that the bug is not consistent: The two givens are defined in the same block. But when the main argument is an A everything goes well; when it is a LocalDate it gives an error.

Nevertheless, I have found out that the situation is not the same because class A is defined within object Ex13 and LocalDate is not.  If I modify the first code example and put class A outside object Ex13 I also get an error.  That is, if the class is defined outside the object, as LocalDate is in the first place, the given FromString is not detected.

Reasons:
  • RegEx Blacklisted phrase (1): I also get an error
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: flafora

79498228

Date: 2025-03-10 14:06:31
Score: 0.5
Natty:
Report link

Old post, but still...
Java 21 has a new interface SequencedCollection which is extended by List and many other types. It has getLast() method.

As well as other useful methods:

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: deniss-s

79498220

Date: 2025-03-10 14:03:30
Score: 5.5
Natty: 5.5
Report link

i don't know if u could resolve this issue. If so, how did u do it?

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Vitor Alves

79498219

Date: 2025-03-10 14:03:29
Score: 3
Natty:
Report link

Find this simpler one for ALL emojis

  const removeEmojisFromText = (text: string) => text.replace(/\p{Extended_Pictographic}/gu, "")

source: https://stackoverflow.com/a/64007175

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Nicolas Sturm

79498218

Date: 2025-03-10 14:02:29
Score: 3
Natty:
Report link

For me, I had inadvertently set URL Rewrite rules within the application, and I had only to remove the rules, even if they don't appear on the web.config file.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Ulises Moreno

79498203

Date: 2025-03-10 13:57:28
Score: 0.5
Natty:
Report link

I don't know if you are still confused about this, but the CSAPP official errata has corrected this error:

p. 153, Solution to Problem 2.32. The sentence starting on third line should state “In fact, the opposite is true: tsub_ok(x, TMin) should yield 1 when x is negative and 0 when it is nonnegative.”

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: StaY_Hungry

79498199

Date: 2025-03-10 13:55:27
Score: 1.5
Natty:
Report link

Was able to confirm with an MS PowerBI support engineer that with a premium per user license you are limited to 1 request every 5 minutes for exporting paginated reports. This information can also be found here (I missed it - other articles alluded to a 120 request / minute limit)

https://learn.microsoft.com/en-us/power-bi/developer/embedded/export-paginated-report#concurrent-requests

The engineer said there are requests in to have this changed. I'm not sure how the expect people to adopt power BI, forcing them to by at least a P1 capacity at $60k/year to export some reports. I can do all of that basically for free with SSRS right now.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: PlasmaX

79498191

Date: 2025-03-10 13:52:27
Score: 0.5
Natty:
Report link

As mentioned by other answers, you should add this to your settings.json:

"python.languageServer": "Pylance"

Pylance is not supported on unnofficial builds, so you can install it manually by going to extensions > click on the 3 dots > click on Install from VSIX, and select the downloaded file.

https://marketplace.visualstudio.com/_apis/public/gallery/publishers/ms-python/vsextensions/vscode-pylance/2023.6.40/vspackage

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: gravlax

79498175

Date: 2025-03-10 13:49:26
Score: 1
Natty:
Report link

The problem is using .cuda() to move the model to the GPU when loading the model using the BitsAndBytesConfig. I was able to get the error to go away by using the device_map argument when loading the model, e.g.,

model = AutoModelForCausalLM.from_pretrained(
    "ThetaCursed/Ovis1.6-Gemma2-9B-bnb-4bit",
    trust_remote_code=True,
    device_map='auto',
    **kwargs
)
Reasons:
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Tom

79498170

Date: 2025-03-10 13:48:26
Score: 0.5
Natty:
Report link

Algo que podrías hacer es utilizar un color transparentoso en lugar de darle opacidad al body, así evitas lo que te está pasando y llegas al resultado que deseas.

body { 
  background-image: url('https://images.unsplash.com/photo-1739538475083-43bbf5c47646?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3wzMjM4NDZ8MHwxfHJhbmRvbXx8fHx8fHx8fDE3NDE2MDkzMDB8&ixlib=rb-4.0.3&q=80&w=400');
  background-repeat : no-repeat ;
  background-position : center;
  background-size: contain;
  /* Elimina la opacidad del body, ya que es heredada */
}

.outer { 
  width:60%;
  height: 400px;
  margin:auto;
  padding-top: 2rem;
  /* Establece para los contenedores que son translúcidos, su color de fondo con su nivel de transparencia, para evitar afectar sus hijos */
  background-color: rgb(255, 255, 255, 0.8)
}

.inner {
  width:30%;
  height:50%;
  margin:auto;
  text-align:center;
  display:flex;
}

.top { 
  position:sticky;
  top:0;
  z-index:1;
  height: 3rem;
  width:40%;
  margin: auto;
  margin-top: 0.1rem;
  margin-bottom: 0.1rem;
  font-size:200%;
  background : white;
  text-align: center;
}

.left {
  float:left ;
  padding-left:1rem;
  padding-right:1rem;
}
  <body>
  <div class='top'>
    This is the top
  </div>
  <div class='outer'>
    <div class='inner'>
      <div class='left'>
        Inner
      </div>
      <div class='left'>
        <img height=200px; width=200px;
           src='https://images.unsplash.com/photo-1739961097716-064cb40a941e?rop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3wzMjM4NDZ8MHwxfHJhbmRvbXx8fHx8fHx8fDE3NDE2MTEzNzh8&ixlib=rb-4.0.3&q=80&w=400' alt=''>
      </div>
    </div>
  </div>
</body>

Reasons:
  • Blacklisted phrase (1): está
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Estiven Montoya Torres

79498166

Date: 2025-03-10 13:46:25
Score: 4
Natty: 5
Report link

The answer with most vote just works like charm. Thanks for the help

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: StackOverSlow

79498163

Date: 2025-03-10 13:45:25
Score: 3.5
Natty:
Report link

As predicted by  cristian-vargas in the comments, upgrading to R version 4.4.3 fixed the issue!

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Vincent

79498154

Date: 2025-03-10 13:42:24
Score: 3
Natty:
Report link

for html simply <del> latinized </del> works.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: genome

79498148

Date: 2025-03-10 13:38:23
Score: 0.5
Natty:
Report link

One more reason for this crash is described here:

// Check to see if the service had been started as foreground, but being
// brought down before actually showing a notification.  That is not allowed.

So make sure that you don't stop your foreground service immediately right after starting it.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Andrei K.

79498146

Date: 2025-03-10 13:37:22
Score: 14 🚩
Natty: 6
Report link

I'm having the same issue. Did you find any solution?

Bump

Reasons:
  • Blacklisted phrase (1.5): any solution
  • RegEx Blacklisted phrase (3): Did you find any solution
  • RegEx Blacklisted phrase (2): any solution?
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I'm having the same issue
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: HelpNeeder

79498120

Date: 2025-03-10 13:26:20
Score: 1
Natty:
Report link

The solution you currently have would assume the day's half is at 12:00.

With that assumption in mind you could also take the diff in hours and apply modulo 24 over them (120%24 -> 12).

If the value resulted is exactly 12 than you can consider it half day, but by using this you will only allow splitting the day in to halves.

I'd recommend using a different mechanism for the hours off.

Calculate the full days + compute the working hours that you want to take off afterwards.

Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Gabi Dj

79498119

Date: 2025-03-10 13:26:20
Score: 3
Natty:
Report link

I already get this problem to do real time soft robotics simulation on SOFA framework.

I've made some git repository to store and share the code to do so (both contain the same code) :

https://github.com/pchaillo/MeshPipeline/tree/main

https://framagit.org/pchaillo/stl2vtk

Feel free to give a look if it may help you for your conversions !

Reasons:
  • Contains signature (1):
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: pchaillo

79498118

Date: 2025-03-10 13:26:20
Score: 1.5
Natty:
Report link

Thanks to Stephen Quan answer I managed this, but my label should looks like:

<Label Text="{extension:Translate BindingContext={Binding Path=BindingContext, Source={x:Reference MyContainerName}, x:DataType=myViewModel:MyViewModel}, 
        Name={Binding MyName}}"/>
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: infinitesimal

79498113

Date: 2025-03-10 13:24:20
Score: 0.5
Natty:
Report link

The action you’re using expects that MS WebDeploy V3 is installed at C:\Program Files (x86)\IIS\Microsoft Web Deploy V3

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • High reputation (-2):
Posted by: bryanbcook

79498104

Date: 2025-03-10 13:21:19
Score: 10.5
Natty: 8.5
Report link

I have the same problem, how you resolved it??

Reasons:
  • Blacklisted phrase (1): I have the same problem
  • RegEx Blacklisted phrase (1.5): resolved it??
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I have the same problem
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: antonio romano

79498103

Date: 2025-03-10 13:21:17
Score: 9 🚩
Natty:
Report link

Did you manage to find a solution? Am I experiencing the same problem?

Reasons:
  • RegEx Blacklisted phrase (3): Did you manage to find a solution
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (1):
Posted by: user19161117

79498098

Date: 2025-03-10 13:19:17
Score: 3.5
Natty:
Report link

I bought an iPhone 16 on https://www.foxtrot.com.ua/ and I had no problems with GPS

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Ola Bilenko

79498088

Date: 2025-03-10 13:16:17
Score: 1
Natty:
Report link

meswhere.myshopify.com

This happens often. You can get through by


Increase Message Size Limits

Optimize Message Size: If possible, split large messages into smaller chunks or compress the data.
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Mercy Jacobs

79498086

Date: 2025-03-10 13:14:16
Score: 4
Natty:
Report link

Well i used curl and included my session cookie, that worked for now :)

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Robert Petersson

79498083

Date: 2025-03-10 13:13:16
Score: 0.5
Natty:
Report link

unnest with ORDINALITY and ORDER BY, will still NOT preserve order. If any elements are null, they will get pushed to the bottom.

This method however WILL preserver order

ARRAY(
    SELECT v_users_basic[i].user_id
    FROM generate_subscripts(v_users_basic, 1) AS i
    ORDER BY i
)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Sachin

79498080

Date: 2025-03-10 13:11:15
Score: 1.5
Natty:
Report link

In the authentication library, when a 401 error occurs, certain default flows (e.g., automatic redirects or error handling) might trigger, which can disrupt your application’s process. To resolve this, I recommend writing a custom authentication middleware to handle 401 errors explicitly. This allows you to control the logic (e.g., token refresh, redirects, or API calls) without relying on the library’s default behavior, ensuring the process remains stable

Reasons:
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Cavid Haciyev

79498079

Date: 2025-03-10 13:11:15
Score: 3.5
Natty:
Report link

avete risolto io non riesco eliminare la vpc con blackhole...grazie

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Franco Demaria

79498070

Date: 2025-03-10 13:07:15
Score: 1.5
Natty:
Report link

As the error suggests llm is not declared correctly.
Use something like this to first make a proper llm object.

llm = ChatOpenAI(temperature=1, model_name=use_model)
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Filmic

79498061

Date: 2025-03-10 13:05:14
Score: 2.5
Natty:
Report link

The problem was this line:

builder.Port(587, true)

Is should be:

builder.Port(587, false)

Setting this to true means the endpoint is secure by default and in which case it will try to update the connection to SSL when the client connects rather than waiting for the client to issue a STARTTLS command.

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • High reputation (-1):
Posted by: Don Chambers

79498057

Date: 2025-03-10 13:01:13
Score: 2
Natty:
Report link

I faced the same situation. Here's what will help:
Check the app dashboard for any steps missing.
Check the images attached. In my case the image size was incorrect.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Deepak Saini

79498047

Date: 2025-03-10 12:53:11
Score: 0.5
Natty:
Report link

Vaadin 24.6.6 does not work with Spring Boot 3.2, you need to use at least Spring Boot 3.4.

https://github.com/vaadin/platform/releases/tag/24.6.0

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • High reputation (-2):
Posted by: Tatu Lund

79498046

Date: 2025-03-10 12:53:11
Score: 2
Natty:
Report link

I think the implementation is close to the expected behavior, but needs some improvements:

ellipsis handling: The text-overflow: ellipsis; replace with white-space: nowrap; and overflow: hidden;.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Nabi bux

79498038

Date: 2025-03-10 12:49:11
Score: 3.5
Natty:
Report link

There is an extension does this: Text Search Pro, it's on firefox as well.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Yang Qiwei

79498032

Date: 2025-03-10 12:46:10
Score: 2
Natty:
Report link

Simple answer:

use alignSelf: 'stretch' on the container View.

Worked for me.

Reasons:
  • Whitelisted phrase (-1): Worked for me
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Ashish Gautam

79498023

Date: 2025-03-10 12:44:09
Score: 2
Natty:
Report link

First of all , if your app is getting crashed : Please use Logcat to check find the exact source of crash (select crash in package)
Secondly , based on how you described the whole scenario , can you please check your manifest file. Have you mentioned the home page or the screen which comes next after your splash screen? If yes , please check if your second screen also has the intent filter like splash screen. Remove the intent filter if it is present in the second screen too.

Reasons:
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Sati Anshul

79498021

Date: 2025-03-10 12:43:09
Score: 1
Natty:
Report link

The answer in my case was a different name of tsconfig.json.
If name of config is not tsconfig.json exactly it should be specified in File - Settings - Languages and Frameworks - Typescript - Options
Then add -p yourTsConfig.json in the Options field as pointed here

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: pav

79498010

Date: 2025-03-10 12:40:08
Score: 1
Natty:
Report link

Possibly this is broken again in 1.98.0, which I suspect it might be since I'm seeing the issue again on this version. However, disabling the setting described above does seem to clear it up until it's sorted out again.

Disable this setting: `Terminal › Integrated: Gpu Acceleration`
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Idleness

79498001

Date: 2025-03-10 12:37:08
Score: 1
Natty:
Report link

The easiest way how to retrieve the localized name is to create a new Security Identifier with corresponding Sid and then retrieve the name.

(New-Object System.Security.Principal.SecurityIdentifier "S-1-5-18").Translate([System.Security.Principal.NTAccount]).Value
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: lijevosmetalo

79497998

Date: 2025-03-10 12:35:08
Score: 0.5
Natty:
Report link

After going through a lot of forums, I found out that there is no direct SAML ToolKit provided by Microsoft.

The Facebook, Google Authentication you are talking about uses a different protocol called OAuth/OpenID connect.

Most of the Identity providers have now moved to this standards but still people do choose SAML for conveniency. So in this cases you might need to write a solution on your own (which I won't recommend as it gets too complex and is a security concern).

You may opt for existing library solutions, You can choose any open-source or commercial solution like miniOrange, Sustainsys

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Achal Parikh

79497994

Date: 2025-03-10 12:34:07
Score: 1.5
Natty:
Report link
<Grid ColumnSpacing="10" RowSpacing="10">

https://learn.microsoft.com/en-us/uwp/api/windows.ui.xaml.controls.grid.columnspacing?view=winrt-26100

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • Has code block (-0.5):
  • Has no white space (0.5):
  • High reputation (-1):
Posted by: Austin France

79497980

Date: 2025-03-10 12:29:06
Score: 0.5
Natty:
Report link

You either have to pass the timeslice argument (mediaRecorder.start(1000);) to make it fire the event periodically;
or to explicitly call mediaRecorder.requestData(). to trigger the event.

Calling mediaRecorder.stop() will also fire the dataavailable event.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: WofWca

79497978

Date: 2025-03-10 12:27:06
Score: 0.5
Natty:
Report link
select empid, lastname
from HR.Employees
where lastname COLLATE Latin1_General_Cs_AS = LOWER(lastname);

In this problem I wanna to find last names in which starts with lower case letter so,

I use from COLLATE that is Case sensitive(Cs) and Accent sensitive (As).

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Samane

79497977

Date: 2025-03-10 12:26:06
Score: 0.5
Natty:
Report link

As a user of Snakemake on SLURM, I found for myself that the job grouping feature is not really designed for, or useful for, what you are trying to do. In a standard SLURM setup, if you have a cluster with, say, 4 nodes where each node has 16 cores, then you can submit 100 single-core jobs and SLURM will run 64 jobs immediately (sending 16 to each node) and then start each of the remaining 36 as soon as a core is free. This is how Snakemake expects to interact with SLURM, letting SLURM allocate the individual CPU cores.

It seems like your SLURM setup is locked into --exclusive mode such that each job assigns a full node, even if the job only needs a single core. Is this correct? Is there any way you can alter the SLURM configuration or add a new partition that allows 1-core jobs? Or is that not a possibility?

My own reason for grouping the jobs was to reduce the number of individual short tasks sent to SLURM to reduce load on the SLURMD controller. In the end I re-wrote my Snakefile to explicitly process the inputs in batches. To do this, I made a Python script that runs before the Snakemake workflow and determines the number of batches and what inputs are in what batch, and saves the result as JSON. Then I use this information within a Snakemake input function to assign multiple inputs files to each batch job. It's effective, but complex, and not workable as a general solution.

Reasons:
  • Blacklisted phrase (1): Is there any
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Tim Booth

79497974

Date: 2025-03-10 12:25:05
Score: 0.5
Natty:
Report link

Unfortunately, single consumer + multithreaded workers is a good exercise but only.

Under real conditions, this is not a reliable model because :

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Simon

79497968

Date: 2025-03-10 12:21:04
Score: 0.5
Natty:
Report link

I fixed this issue.

Apparently you need to add the scope media.write. to your login and use a user token… then re-log in to get a new token. that should fix that part. the endpoint is /2/media/upload.

Reasons:
  • Whitelisted phrase (-2): I fixed
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Mridula vats

79497966

Date: 2025-03-10 12:20:04
Score: 1.5
Natty:
Report link

I've just seen this many years later and to me it doesn't make sense and should be simple. Those IDs are just a surrogate key in let's say dbo.transactions.

The system absolutely <HAS> to have a way those amounts and IDs belong to certain clients otherwise how can you determine who made them? The amounts <MUST> belong to different people because sequential IDs can only be for surrogate [internal] use.

Therefore you must be able to join back, and find the client for each amount.

Therefore you join to the table that shows the client, SELECT INTO #WorkTable, and once you have the clients it's a simple SUM(), GROUP BY.

If those IDs are not unique, then they already represent a client and the same thing applies.

My gut feeling is there should always be a GROUP BY possible here? Otherwise you couldn't know which client the amounts belong to?

You have to know what client the amounts belong to - hence you can group them in a temp table.

My £0.2 pence. Peace

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: GMan_LDN